summaryrefslogtreecommitdiff
path: root/macros/scripts
AgeCommit message (Collapse)Author
2022-01-10Don't require a boolean trainer flag for `givepoke`Rangi
Fixes #865
2021-11-23Use compound assignment operatorsRangi
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-19Use rgbds 0.5.0Rangi
2021-03-22Miscellaneous cleanupRangi
2021-03-21Clean up some macro definitionsRangi
2021-03-11Verify script command table sizesRangi
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-10-26Use more assertions to ensure correct code and dataRangi
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-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-03-21rgbds supports 'X - 1' instead of 'X + -1'Rangi
2020-03-21Miscellaneous fixes from #694Rangi
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-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.
2019-04-21"object_const_def" instead of "const_def 2"Rangi
2019-04-19Identify some more WRAM labelsRangi
2019-04-09TextBox -> Textboxmid-kid
Homogenizing names.
2019-03-10Rename some call/jump script commands to avoid confusion with jr/jp asm ↵Rangi
instructions Fixes #580
2019-03-10Rename more script commands for consistency and predictabilityRangi
Fixes #540
2019-03-03Define constants for map event sizesRangi
2019-02-17Don't use legacy macrosRangi
2019-02-16dba exists, use itRangi
2019-02-16passtoengine -> autoinputRangi
2019-02-16Document wBattleAnimFlagsmid-kid
`anim_clearsprites` was misnamed, so I renamed it to `anim_keepsprites`, and documented it in docs/battle_anim_commands.md
2019-02-15dorepeat -> dowait for oam animationsmid-kid
Having the pic animation macros be the same as the oam animation macros isn't really turning out so well... I wonder if we should split them up eventually.
2018-12-09Format music macros like movement macrosRangi
2018-12-09Merge pull request #578 from mid-kid/masterRangi
Fixes in the animation subsystem.
2018-11-25Rename "feet and head follow" commandsmid-kid
The lot of these were rather misnamed, since they're used to replace part of the player or enemy with objects for several background effects. https://github.com/pret/pokecrystal/pull/578#issuecomment-440996244