aboutsummaryrefslogtreecommitdiffstats
path: root/macros/scripts (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-12-15Comment more unreferenced local labels (#550)Narishma-gb1-1/+1
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)Rangi2-12/+43
2025-01-30Fix some label typos, and add some constants instead of raw numbers (#492)Narishma-gb1-2/+2
2024-12-16Let CheckEitherEventSet reuse A like CheckBothEventsSetRangi421-1/+5
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-08-11Use the same music headers as pokecrystal (#382)Rangi1-29/+26
2022-06-06RGBDS syntax updates (#86)vulcandth5-248/+248
New MACRO and DEF syntax
2022-06-06RGBDS syntax updates (#358)vulcandth4-226/+226
New MACRO and DEF syntax
2021-11-23Use compound assignment operatorsRangi2-10/+10
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:Rangi3-42/+25
- FOR loops - {interpolation} - REDEF EQUS - \# for all macro args
2021-04-13The 'def_trainers' macro checks that trainers' event flag bits are correct ↵Rangi2-32/+17
(#318)
2021-04-08Trim extra newlines from some filesRangi1-1/+0
2021-04-08Trim extra newlines from some filesRangi1-1/+0
2021-02-23Simplify the def_warps_to macroRangi1-14/+8
2020-11-14Fix file modesdannye3-0/+0
2020-11-06Sync more with pokeredRangi1-7/+7
2020-11-04Start reorganizing pokeyellowRangi1-0/+37
2020-11-04Sync with pokereddannye4-0/+1203
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-16Define constants for audio commandsRangi1-20/+68
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-09Use const_skip and const_next macros for brevityRangi1-33/+35
2020-07-09Eliminate enum: use const instead, with case-by-case parallel const ↵Rangi1-38/+38
implementations
2020-07-07Sync coordinate macros with pokecrystalRangi2-3/+3
2020-07-07Use HIGH() and LOW()Rangi1-2/+1
2020-07-06text_linkpromptbutton -> text_waitbuttonRangi1-3/+3
Fixes #260
2020-07-06Capitalize rgbds control structures (EQU/EQUS, IF/ELIF/ELSE/ENDC, REPT/ENDR, ↵Rangi3-22/+22
MACRO/ENDM, etc)
2020-07-04Port pokecrystal's formatting of text commands and special charactersRangi1-62/+195
2020-07-04Remove remaining raw $xxxx values, and replace "+ -1" with "- 1" (supported ↵Rangi1-6/+6
by rgbds 0.4.0)
2020-07-03Organize macros/ like pokecrystalRangi4-0/+919
While doing so I replaced the StopAllMusic macro with a SFX_STOP_ALL_MUSIC constant and applied it throughout the code.