Rangi
95ec2cf039
Verify data table and name list sizes with assertion macros
...
Fixes #312
2021-03-25 16:44:41 -04:00
Rangi
e1ef02430d
Simplify the def_warps_to macro
2021-02-23 12:05:03 -05:00
Rangi
94daf57156
The 'tmhm' macro adjusts to the number of TMs/HMs
2021-01-06 10:20:37 -05:00
dannye
66377fca32
Fix file modes
2020-11-14 20:52:10 -06:00
Rangi
d3e81422d5
Sync home and macro code with pokeyellow
2020-11-05 10:50:30 -05:00
Rangi
d5db0c3dbf
Comments explain the def_warps_to macros
2020-08-18 10:42:23 -04:00
Rangi
5e1865a7b1
Implement def_warps_to in a simpler way
...
Instead of building a semicolon-separated "array" of warp_to coordinates in _WARP_TO_BUFFER, just declare a new EQUS for each one: _WARP_TO_NUM_1, _WARP_TO_NUM_2, etc. Then have def_warps_to output and PURGE each one of them.
2020-08-17 19:39:58 -04:00
Rangi
6fa8a553cb
Fix keyword capitalization and indentation
2020-08-17 18:40:59 -04:00
Rangi
4373aafac1
Use def_warps_to macro for automatic warp_to entries
2020-08-17 18:08:54 -04:00
Rangi
e2c99f1910
Use def_* macros for automatic map event counts
2020-08-17 16:54:59 -04:00
Rangi
76289dfda0
Port dbsprite macro for OAM y,x,tile,attr data from pokecrystal
2020-07-17 15:58:06 -04:00
Rangi
7306c1dc2d
Define constants for audio commands
2020-07-16 13:25:02 -04:00
Rangi
76b882d952
Reformat map scripts' coordinate and movement data
...
'dbmapcoord' has X, Y order like other coordinate-related data macros
2020-07-16 12:32:19 -04:00
Rangi
93d0697f37
Don't compare strings with ==; use STRCMP
2020-07-14 16:07:23 -04:00
Rangi
5c0f33cb53
Use a 'trainer' macro for trainers in scripts/
2020-07-14 15:53:25 -04:00
Rangi
f37cf959c9
Clean up some data, using macros for multiline list entries
2020-07-14 13:32:09 -04:00
Rangi
3e572b6f48
Use const_skip and const_next macros for brevity
2020-07-09 14:51:48 -04:00
Rangi
676a35f76f
Eliminate enum: use const instead, with case-by-case parallel const implementations
2020-07-09 12:43:26 -04:00
Rangi
51ac538c25
Identify SPRITESTATEDATA2_ORIGFACINGDIRECTION
2020-07-07 16:57:51 -04:00
Rangi
1e593d8f8c
Remove c1x*/c2x* comments, use struct offset constants
2020-07-07 14:15:39 -04:00
Rangi
13129459f1
Sync coordinate macros with pokecrystal
2020-07-07 11:30:10 -04:00
Rangi
45ed05decf
Use HIGH() and LOW()
2020-07-07 11:10:29 -04:00
Rangi
06db7ec55b
callba/callab -> farcall/callfar; jpba/jpab -> farjp/jpfar
2020-07-06 21:18:22 -04:00
Rangi
772fcc7588
Specify the ldh instruction, don't turn ld into ldh
2020-07-06 19:03:05 -04:00
Rangi
9c2be80bf3
text_linkpromptbutton -> text_waitbutton
...
Fixes #260
2020-07-06 12:40:36 -04:00
Rangi
8a79315635
Capitalize rgbds control structures (EQU/EQUS, IF/ELIF/ELSE/ENDC, REPT/ENDR, MACRO/ENDM, etc)
2020-07-06 12:28:31 -04:00
Rangi
405889193e
TM/HM constants named after moves
2020-07-05 22:52:27 -04:00
Rangi
66ebe56adc
Port pokecrystal's base data and tmhm structure
...
To do: TM/HM constants named after moves
2020-07-05 21:59:32 -04:00
Rangi
2b2ed54bbf
Identify wSpriteStateData1 and wSpriteStateData2 offsets, like pokeyellow
2020-07-05 17:51:29 -04:00
Rangi
a77999f7f1
Logical spacing in data/sgb/sgb_palettes.asm
2020-07-05 16:15:01 -04:00
Rangi
139a28ff99
Port pokecrystal's formatting of text commands and special characters
2020-07-04 21:14:46 -04:00
Rangi
e4e0af4d67
Remove remaining raw $xxxx values, and replace "+ -1" with "- 1" (supported by rgbds 0.4.0)
2020-07-04 01:00:45 -04:00
Rangi
053afc4634
Move more code from home.asm to home/
2020-07-03 22:57:43 -04:00
Rangi
35deb77113
H_CONSTANTNAMES -> hConstantNames
2020-07-03 19:59:41 -04:00
Rangi
9878f01e29
Organize macros/ like pokecrystal
...
While doing so I replaced the StopAllMusic macro with a SFX_STOP_ALL_MUSIC constant and applied it throughout the code.
2020-07-03 16:37:47 -04:00
Rangi
710c3275fc
Simplify map connections
...
To do: Polished Map support for detecting the tileset
2020-07-03 15:49:12 -04:00
Rangi
c9c59dc343
Reorganize constants/
...
To do: add comments associating constants with data and code
2020-07-03 12:44:47 -04:00
dannye
362bba7642
Rename dnote to drum_note and dspeed to drum_speed
2019-09-03 22:36:02 -05:00
dannye
44b9a240d4
Make pitch_sweep pitch change argument consistent with the other signed magnitude arguments
2019-08-25 09:57:50 -05:00
dannye
8b0cd72a60
Finish cleaning up audio macro arguments and descriptions
...
break up arguments for stereo_panning and duty_cycle_pattern
note_type fade is signed
properly document arguments for vibrato, tempo, pitch_slide etc
2019-08-18 21:43:15 -05:00
dannye
969b43d443
Update labels to match new audio macro names
...
and synchronize engine_2 and engine_3 with engine_1
2019-08-17 14:47:16 -05:00
dannye
6574881cda
Use generic names for noise instruments
...
coming up with satisfactory names is hard, besides this will improve compatibility with crystal
2019-07-28 17:29:35 -05:00
dannye
20c4116788
Update audio macro names
...
change audio channel numbers from 0-7 back to 1-8
change all note macros back to single note macro
todo: fix comments with old macro names, update noise macros/instrument names
2019-07-27 23:21:39 -05:00
Rangi
eddcbba82f
Avoid "Warning: Left shift of negative value" from rgbds
2018-07-08 16:30:25 -04:00
Pokeglitch
01fe449837
Updated the intro
2018-06-22 23:06:05 -04:00
dannye
32c371b1d3
sfxnote parameter 1 is length, not duty
...
also bumb submodule
2018-03-19 00:18:50 -05:00
dannye
4398dde1e4
Break up sfxnote parameters into duty, volume, volume change and pitch
2018-03-16 20:35:40 -05:00
dannye
b382473f7b
Break up pitchenvelope parameters into length and pitch change
2018-03-16 18:07:41 -05:00
Eggy0
5826f25bef
Made some changes
2018-03-16 22:02:14 +01:00
Eggy0
7266657010
Update audio_macros.asm
2018-03-16 20:07:57 +01:00