aboutsummaryrefslogtreecommitdiffstats
path: root/macros/scripts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Comment more unreferenced local labels (#550)Narishma-gb2025-12-151-1/+1
|
* Use features of RGBDS 1.0.0 (#537)Rangi2025-11-121-4/+4
|
* Check limits for warp, bg, and object eventsRangi422025-07-021-2/+6
|
* Define `MAX_WARP_EVENTS`Rangi422025-07-021-0/+2
|
* Avoid using `EQUS` when `EQU` or `MACRO` will do (#496)Rangi2025-02-272-12/+43
|
* Fix some label typos, and add some constants instead of raw numbers (#492)Narishma-gb2025-01-301-2/+2
|
* Let CheckEitherEventSet reuse A like CheckBothEventsSetRangi422024-12-161-1/+5
|
* Add macros, constants, and labels for map scripts and text (#367)vulcandth2023-07-131-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.
* Use the same music headers as pokecrystal (#382)Rangi2022-08-111-29/+26
|
* RGBDS syntax updates (#358)vulcandth2022-06-064-226/+226
| | | New MACRO and DEF syntax
* Use compound assignment operatorsRangi2021-11-232-10/+10
|
* `warp_event` warp IDs start at 1, like in pokegold/pokecrystalRangi2021-10-051-2/+2
|
* Unify map event gen1 gen2 (#335)Yoann Fievez2021-09-261-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
* Use rgbds 0.5.0 features:Rangi2021-04-173-42/+25
| | | | | | | - FOR loops - {interpolation} - REDEF EQUS - \# for all macro args
* The 'def_trainers' macro checks that trainers' event flag bits are correct ↵Rangi2021-04-132-32/+17
| | | | (#318)
* Trim extra newlines from some filesRangi2021-04-081-1/+0
|
* Simplify the def_warps_to macroRangi2021-02-231-14/+8
|
* Fix file modesdannye2020-11-143-0/+0
|
* Comments explain the def_warps_to macrosRangi2020-08-181-0/+2
|
* Implement def_warps_to in a simpler wayRangi2020-08-171-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.
* Fix keyword capitalization and indentationRangi2020-08-171-18/+17
|
* Use def_warps_to macro for automatic warp_to entriesRangi2020-08-171-0/+23
|
* Use def_* macros for automatic map event countsRangi2020-08-171-0/+30
|
* Define constants for audio commandsRangi2020-07-161-20/+68
|
* Reformat map scripts' coordinate and movement dataRangi2020-07-161-0/+8
| | | | 'dbmapcoord' has X, Y order like other coordinate-related data macros
* Don't compare strings with ==; use STRCMPRangi2020-07-141-4/+4
|
* Use a 'trainer' macro for trainers in scripts/Rangi2020-07-141-0/+21
|
* Clean up some data, using macros for multiline list entriesRangi2020-07-141-44/+6
|
* Use const_skip and const_next macros for brevityRangi2020-07-091-33/+35
|
* Eliminate enum: use const instead, with case-by-case parallel const ↵Rangi2020-07-091-38/+38
| | | | implementations
* Sync coordinate macros with pokecrystalRangi2020-07-072-3/+3
|
* Use HIGH() and LOW()Rangi2020-07-071-2/+1
|
* text_linkpromptbutton -> text_waitbuttonRangi2020-07-061-3/+3
| | | | Fixes #260
* Capitalize rgbds control structures (EQU/EQUS, IF/ELIF/ELSE/ENDC, REPT/ENDR, ↵Rangi2020-07-063-22/+22
| | | | MACRO/ENDM, etc)
* Port pokecrystal's formatting of text commands and special charactersRangi2020-07-041-62/+195
|
* Remove remaining raw $xxxx values, and replace "+ -1" with "- 1" (supported ↵Rangi2020-07-041-6/+6
| | | | by rgbds 0.4.0)
* Organize macros/ like pokecrystalRangi2020-07-034-0/+919
While doing so I replaced the StopAllMusic macro with a SFX_STOP_ALL_MUSIC constant and applied it throughout the code.