summaryrefslogtreecommitdiff
path: root/macros/scripts/maps.asm
AgeCommit message (Collapse)Author
2021-11-23Use compound assignment operatorsRangi
2021-10-05`warp_event` warp IDs start at 1, like in pokegold/pokecrystalRangi
2021-09-26Unify map event gen1 gen2 (#335)Yoann Fievez
* 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-04-17Use rgbds 0.5.0 features:Rangi
- FOR loops - {interpolation} - REDEF EQUS - \# for all macro args
2021-04-13The 'def_trainers' macro checks that trainers' event flag bits are correct ↵Rangi
(#318)
2021-02-23Simplify the def_warps_to macroRangi
2020-08-18Comments explain the def_warps_to macrosRangi
2020-08-17Implement def_warps_to in a simpler wayRangi
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-17Fix keyword capitalization and indentationRangi
2020-08-17Use def_warps_to macro for automatic warp_to entriesRangi
2020-08-17Use def_* macros for automatic map event countsRangi
2020-07-16Reformat map scripts' coordinate and movement dataRangi
'dbmapcoord' has X, Y order like other coordinate-related data macros
2020-07-14Don't compare strings with ==; use STRCMPRangi
2020-07-14Use a 'trainer' macro for trainers in scripts/Rangi
2020-07-14Clean up some data, using macros for multiline list entriesRangi
2020-07-06Capitalize rgbds control structures (EQU/EQUS, IF/ELIF/ELSE/ENDC, REPT/ENDR, ↵Rangi
MACRO/ENDM, etc)
2020-07-03Organize macros/ like pokecrystalRangi
While doing so I replaced the StopAllMusic macro with a SFX_STOP_ALL_MUSIC constant and applied it throughout the code.