summaryrefslogtreecommitdiff
path: root/data/battle
AgeCommit message (Collapse)Author
2021-03-22Verify uneven list sizes with list_start, li, and assert_list_length macrosRangi
This was discussed in #815
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-10-28Replace many '; unused' with '; unreferenced'Rangi
2020-05-07Clean up some percentage valuesRangi
2018-11-23CalcStats -> CalcBattleStatsmid-kid
Confusingly ambiguous name
2018-08-17CheckDestinyBond -> CheckFaintmid-kid
Its main function is fainting the opponent and ending the move effect. Updated the comment accordingly.
2018-07-04Miscellaneous reorganization fixesRangi
2018-06-24Remove all address commentsmid-kid
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-28Badge type boosts make sense in data/types/Rangi
2018-01-26Move power data belongs in data/moves/Rangi
2018-01-25More battle data in data/battle/Rangi
2018-01-25Move AI data tables into data/battle/ai (mirroring engine/battle/ai) so ↵Rangi
they're more discoverable.
2018-01-22Add data/text/Rangi
2018-01-22Move type data to data/types/Rangi
2018-01-18More charmap and home/text.asm documentation for JP charsRemy Oukaour
2018-01-10Other files belong in data/battle/Remy Oukaour
2018-01-10Battle data goes in data/battle/Remy Oukaour
TreeMons, like fish groups, have constants
2017-12-26Split battle/ into data/ and engine/ componentsRemy Oukaour
2017-12-15Document one more bug/oversightRemy Oukaour
Move FleeMons table into data/