summaryrefslogtreecommitdiff
path: root/macros/scripts/battle_commands.asm
AgeCommit message (Collapse)Author
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
2018-08-17CheckDestinyBond -> CheckFaintmid-kid
Its main function is fainting the opponent and ending the move effect. Updated the comment accordingly.
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-01-31enum_start like const_defRangi
2018-01-10Other files belong in data/battle/Remy Oukaour
2017-12-28endm -> ENDMxCrystal
2017-12-28Uppercase MACRO and EQU(S) according to the style guidexCrystal
2017-12-27Remove redundant data/ filename prefixesRemy Oukaour