vulcandth
6b5be9129c
RGBDS syntax updates ( #358 )
...
New MACRO and DEF syntax
2022-06-06 17:25:31 -04:00
Rangi
865d37e02a
Use compound assignment operators
2021-11-23 20:56:57 -05:00
Rangi
fc899e1906
warp_event
warp IDs start at 1, like in pokegold/pokecrystal
2021-10-05 21:02:42 -04:00
Yoann Fievez
2c4f35848b
Unify map event gen1 gen2 ( #335 )
...
* Update sign to bg_event #289
* Rename warp to warp_event
* Replace object to object_event
* Move warp macro parameter from warp x, y, id, map to warp_event x, y, map, id
2021-09-26 21:56:09 -05:00
Rangi
dd690920c9
Use rgbds 0.5.0 features:
...
- FOR loops
- {interpolation}
- REDEF EQUS
- \# for all macro args
2021-04-17 19:06:56 -04:00
Rangi
506a14084e
The 'def_trainers' macro checks that trainers' event flag bits are correct ( #318 )
2021-04-13 18:24:37 -04:00
Rangi
e1ef02430d
Simplify the def_warps_to macro
2021-02-23 12:05:03 -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
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
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
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