summaryrefslogtreecommitdiff
path: root/macros
AgeCommit message (Collapse)Author
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.
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-16Fix issues in reviewmid-kid
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
2018-11-21Use ANIM_GFX constants for battle animationsmid-kid
2018-11-21Define first_music_cmdmid-kid
This replaces the uses of $d0 in the audio engine with proper constants.
2018-11-20Cosmetic fixesmid-kid
2018-11-18Resolve issue #575: Rename text commandsRangi
2018-11-11Merge pull request #573 from mid-kid/masterRangi
text_jump → text_far
2018-11-11Clarify LEGACY supportmid-kid
2018-11-05text_jump → text_farmid-kid
The previous name for this was rather misleading. It isn't an actual jump like you'd expect the `jp` instruction to behave as. Instead, it behaves more like a `farcall`. This also makes it consistent with its current command ID name of `TX_FAR`.
2018-10-11Stop using __enum__ + 3mid-kid
Abuse __enumdir__ instead, for better readability.
2018-09-09Use existing bigdw macroRangi
2018-08-31Fix #537: Palettes generated from PNGs use .gbcpal directly.Rangi
This avoids overwriting a .pal file from a .png with the same name. It also prevents people from trying to edit generated .pal files.
2018-08-25Use labels instead of constants for HRAMRangi
Use explicit ldh instruction to access HRAM locations, don't rely on optimizing ld
2018-08-17CheckDestinyBond -> CheckFaintmid-kid
Its main function is fainting the opponent and ending the move effect. Updated the comment accordingly.
2018-07-28anim_ret_command is an index in a table after allmid-kid
For some reason I thought BattleAnim_Ret was never used, due to how the battle anim loop would be exited early from. It seems I was wrong. Removing commands before anim_ret without it being part of the `enum` seems to break things.
2018-07-18Clean up TX_ commandsmid-kid
Some of the TX_ commands didn't use the TX_ prefix for their constants, and the label names were inconsistent. I've chosen to adopt the `TextCommand_` prefix as opposed to `Text_`, as it has a clear difference in namespace compared to the possibly-used `Text_` namespace for actual dialogue text.
2018-07-18Fix anim_ret_commandmid-kid
2018-07-08Remove extra parenthesesRangi
2018-06-24Fix triple newlines left over from removing address commentsRangi
2018-06-24Remove all address commentsmid-kid
2018-06-04Use structure constants for channel_structmid-kid
2018-05-23Start improving sprite movement engine (to do: identify bit flags)Rangi
Introduce maskbits N[, S]: optionally shift the bitmask
2018-05-11Merge pull request #512 from pret/warningsyenatch
fix lb/ln and "left shift of negative value" warning