summaryrefslogtreecommitdiff
path: root/macros/scripts
AgeCommit message (Collapse)Author
2019-11-03Rename buttonsound to promptbuttonRangi
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
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-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-06-24Fix triple newlines left over from removing address commentsRangi
2018-05-05fix-various-little-thingsmid-kid
A compilation of suggestions from the discord that don't deserve separate commits and are not questionable at all™.
2018-04-04Rename some battle commandsmid-kid
`hittarget` was misleading, as it doesn't actually "hit" the target, it only plays the animation. As such, I've renamed it to `moveanim`. `checkfaint` has nothing to do with checking if the user or target has fainted, instead, it applies wCurDamage onto the target's HP, hitting the substitute if applicable. I've renamed the command to `applydamage` and all of its subfunctions accordingly.
2018-04-04Label BattleCommand_BeatUpFailTextmid-kid
2018-04-04Label bidefailtextmid-kid
This "unknown" battle command is actually used to give the proper fail message to bide.
2018-02-25Default macro parameters use recursion; avoids repeating internal structureRangi
2018-02-25* loadmenuheader -> loadmenu (ead103d)Rangi
* objectface -> turnobject (c834bda)
2018-02-03map → map_id; map_def → map; map_data → map_attributesRangi
2018-02-02use "x + -1" not "x +- 1"Rangi
(TODO: use "x - 1" once rgbds allows it)
2018-02-02spriteface → objectface, consistent with the other script commandsRangi
2018-02-02Remove checkmorn/checkday/checknite macrosRangi
2018-02-02Script commands don't have underscoresRangi
2018-02-01warp_event x, y, map, warp_idRangi
2018-02-01More comments and macrosRangi
2018-01-31enum_start like const_defRangi
2018-01-28grep -rl warp_def . | xargs sed -i s/warp_def/warp_event/gRangi
2018-01-23MenuDataHeader → MenuHeader, MenuData2 → MenuData (might complete issue ↵Rangi
#440)
2018-01-23trainers put the class and id first: `trainer YOUNGSTER, JOEY1, ...`Rangi
2018-01-23hiddenitem, like itemball and object_event, puts the item first and the ↵Rangi
event last
2018-01-18Better TX_SOUND_* namesRemy Oukaour
2018-01-18More charmap and home/text.asm documentation for JP charsRemy Oukaour
2018-01-15Long lists of db/dw series with struct-defining macros belong in data/Remy Oukaour
2018-01-13Introduce callback, hiddenitem, conditional_event, and cmdqueue macros for ↵Remy Oukaour
map scripts