summaryrefslogtreecommitdiff
path: root/macros
AgeCommit message (Collapse)Author
2021-03-11Verify script command table sizesRangi
2021-03-04Define more struct offset constants with rsreset instead of const_defRangi
This was discussed in #739
2021-03-04Verify wild data sizes with def_grass/water_wildmons and ↵Rangi
end_grass/water_wildmons macros
2021-03-04Verify data table sizes with table_width and assert_table_length macrosRangi
This was discussed in #706 It also uncovered some off-by-one issues with defining some constants. A few structs now use rsreset/_RS to define their offset constants, as discussed in #739
2020-12-23Rename some labelsRangi
- Remove "Buffer" suffix from some byte and word quantities - Change "Ptr" to "Pointer" Fixes #789
2020-12-09Require rgbds 0.4.2Rangi
This allows [\1] to work when \1 is hl, bc, or de The object file format has changed along with the version number
2020-11-09Identify wBattleAnimTemp0-3Rangi
2020-10-29Updates to more closely sync with pokegoldRangi
2020-10-26Use more assertions to ensure correct code and dataRangi
2020-10-22Identify some more labels (a few link-related)Rangi
2020-08-27Modify macros/wram.asm to match recent renamesmid-kid
2020-08-03TX_NUM -> TX_DECIMALmid-kid
2020-07-24Use def_* macros for automatic map event countsRangi
Resolves #742
2020-07-22Revert "Factor out tables into data/overworld/"Rangi
This reverts commit b5a7e7de3e6b75e95967edd28b9c2af5959cd136.
2020-07-22Factor out tables into data/overworld/Rangi
Fixes #749
2020-07-22Treat map setup commands like trade script commandsRangi
Fixes #736
2020-07-17Port pokered's more local system for trade animation scriptsRangi
Also factor out trade tilemaps
2020-07-17return → endcallback, reloadandreturn → reloadendRangi
2020-07-13Define map setup commands as macros like other script commandsRangi
2020-07-10Use const_skip and const_next macros for brevityRangi
2020-07-08Eliminate enum: use const instead, with case-by-case parallel const ↵Rangi
implementations
2020-07-06text_linkpromptbutton -> text_waitbuttonRangi
Removes support for text_waitbutton as a legacy alias for text_promptbutton.
2020-07-02Use STRCMP, not ==, to compare multi-character stringsRangi
2020-07-01Identify more labels, and use the jumptable macro when possibleRangi
2020-06-29Identify more unnamed labelsRangi
2020-06-21Remove some more raw addressesRangi
2020-06-19sound_duty became duty_cycle_patternRangi
2020-06-16Harmonize home/ with pokegoldRangi
2020-06-16Harmonize some more symbols with pokegoldRangi
2020-06-10predef_id -> lda_predef, for consistency with lda_coord and map_idRangi
2020-06-10Resolve #723: treat std scripts like specials and predefsRangi
2020-06-07wPhoneList, like wItems et al, has a terminating 0 (see ↵Rangi
PokegearPhone_DeletePhoneNumber); also fix a comment
2020-05-07Clean up some percentage valuesRangi
2020-04-23Miscellaneous updates and correctionsRangi
2020-04-04`dsprite y, ypx, x, xpx, off, attr` -> `dbsprite x, y, xpx, ypx, off, attr`Rangi
2020-04-04Move, comment, and simplify some macro definitionsRangi
2020-04-04Upgrade to rgbds 0.4.0Rangi
- fail for rgbds < 0.4.0 - `rst <Label>` - `ds <count>, <byte>` - `shift <N>` - ASCII "\r" - Sorted .sym file
2020-03-21rgbds supports 'X - 1' instead of 'X + -1'Rangi
2020-03-21Miscellaneous fixes from #694Rangi
2020-02-13Standardize on lowercase Tilemap and Attrmapmid-kid
We used to have a mixture of TileMap and and Tilemap, as well as the similar AttrMap. Standardize on one.
2020-01-06Merge branch 'master' into audio-macrosdannye
2020-01-05Update docs/music_commands.mddannye
and remove the pokered compatibility macros
2019-11-03Rename buttonsound to promptbuttonRangi
2019-09-08stereo_panning: force any non-zero arg to 1dannye
2019-09-04Add legacy audio macrosdannye
2019-09-03Use TRUE/FALSE constants for stereo_panningdannye
and use dn instead of db for volume envelope and pitch sweep
2019-09-03Rename dnote to drum_note and dspeed to drum_speeddannye
2019-09-02Update audio macros and argumentsdannye
and update related labels/constants/comments this fixes a lot of mistakes and maximizes compatibility with red
2019-05-25Define appropriate constants as EQUmid-kid
These constants are defined only once and shouldn't be redefined anyway.
2019-05-25Get rid of _CRYSTALmid-kid
Having this here is completely redundant and useless, and doesn't even work since it should use `if DEF(_CRYSTAL)` instead.