summaryrefslogtreecommitdiff
path: root/macros
AgeCommit message (Collapse)Author
2022-03-13Allow `vc_const` to work with charmap characters (necessary for pokegold)Rangi
2022-03-12Build the Virtual Console patch with `make crystal11_vc` (#882)vulcandth
Fixes #813
2022-01-10Don't require a boolean trainer flag for `givepoke`Rangi
Fixes #865
2021-11-23Use compound assignment operatorsRangi
2021-10-29Clarify documentation of maskbitsRangi
2021-06-08Rename `prioritysjump` to `sdefer`Rangi
2021-05-30Move the dbbw, dbww, and dbwww macros to legacyRangi
2021-05-09Require rgbds 0.5.1Rangi
Use some new features: \<10> macro args, SECTION UNION, SIZEOF/STARTOF, and CHARLEN/CHARSUB
2021-04-27Use {interpolation} to generate sequences of RAM labelsRangi
This makes the table_width/assert_table_length usages unnecessary, and also keeps the labels automatically up to date if the length constants change.
2021-04-19Use rgbds 0.5.0Rangi
2021-03-22Verify uneven list sizes with list_start, li, and assert_list_length macrosRangi
This was discussed in #815
2021-03-22Miscellaneous cleanupRangi
2021-03-21Clean up some macro definitionsRangi
2021-03-17Consistent labels for each nickname in RAMRangi
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