aboutsummaryrefslogtreecommitdiffstats
path: root/macros/scripts/maps.asm (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-11-12Use features of RGBDS 1.0.0 (#537)Rangi1-4/+4
2025-07-02Check limits for warp, bg, and object eventsRangi421-2/+6
2025-07-02Define `MAX_WARP_EVENTS`Rangi421-0/+2
2025-02-27Avoid using `EQUS` when `EQU` or `MACRO` will do (#496)Rangi1-3/+9
2025-01-30Fix some label typos, and add some constants instead of raw numbers (#492)Narishma-gb1-2/+2
2023-07-13Add macros, constants, and labels for map scripts and text (#367)vulcandth1-1/+23
This introduces `def_script_pointers`, `def_text_pointers`, and `object_const_def` macros, and applies them to all maps. Most other map labels have also been identified.
2022-06-06RGBDS syntax updates (#86)vulcandth1-86/+86
New MACRO and DEF syntax
2022-06-06RGBDS syntax updates (#358)vulcandth1-86/+86
New MACRO and DEF syntax
2021-11-23Use compound assignment operatorsRangi1-4/+4
2021-10-05`warp_event` warp IDs start at 1, like in pokegold/pokecrystalRangi1-2/+2
2021-10-05`warp_event` warp IDs start at 1, like in pokegold/pokecrystalRangi1-2/+2
2021-09-26Unify map event gen1 gen2 (#335)Yoann Fievez1-29/+29
* 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:Rangi1-34/+18
- FOR loops - {interpolation} - REDEF EQUS - \# for all macro args
2021-04-13The 'def_trainers' macro checks that trainers' event flag bits are correct ↵Rangi1-10/+17
(#318)
2021-02-23Simplify the def_warps_to macroRangi1-14/+8
2020-11-04Sync with pokereddannye1-0/+225
2020-08-18Comments explain the def_warps_to macrosRangi1-0/+2
2020-08-17Implement def_warps_to in a simpler wayRangi1-16/+12
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 indentationRangi1-18/+17
2020-08-17Use def_warps_to macro for automatic warp_to entriesRangi1-0/+23
2020-08-17Use def_* macros for automatic map event countsRangi1-0/+30
2020-07-16Reformat map scripts' coordinate and movement dataRangi1-0/+8
'dbmapcoord' has X, Y order like other coordinate-related data macros
2020-07-14Don't compare strings with ==; use STRCMPRangi1-4/+4
2020-07-14Use a 'trainer' macro for trainers in scripts/Rangi1-0/+21
2020-07-14Clean up some data, using macros for multiline list entriesRangi1-44/+6
2020-07-06Capitalize rgbds control structures (EQU/EQUS, IF/ELIF/ELSE/ENDC, REPT/ENDR, ↵Rangi1-16/+16
MACRO/ENDM, etc)
2020-07-03Organize macros/ like pokecrystalRangi1-82/+13
While doing so I replaced the StopAllMusic macro with a SFX_STOP_ALL_MUSIC constant and applied it throughout the code.
2020-07-03Simplify map connectionsRangi1-83/+90
To do: Polished Map support for detecting the tileset
2020-07-03Reorganize constants/Rangi1-0/+4
To do: add comments associating constants with data and code
2020-05-20Sync with pokereddannye1-0/+242
2018-01-29Use base 10 (note, the previous commit resolves #173)Remy Oukaour1-1/+1
2018-01-29Add warp, sign, and warp_to macros for data/mapObjects definitionsRemy Oukaour1-0/+22
2017-06-24Fix typos in commentsdannye1-1/+1
2016-07-31Split macros.asmdannye1-0/+220