summaryrefslogtreecommitdiff
path: root/engine/battle
AgeCommit message (Collapse)Author
2022-04-06Use NUM_BATTLE_STATS instead of raw numbersIdain
2022-03-12Build the Virtual Console patch with `make crystal11_vc` (#882)vulcandth
Fixes #813
2022-02-15Use constants for PartyAttr in move_effects/thief.asmmid-kid
2022-01-24Document Return/Frustration bug and its fix (#872)Idain
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-01-10Better comments for enemy health percentage codeRangi
2022-01-08Identify why five of six enemy mon base stats are copied (#866)Idain
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2021-11-23Use ~X instead of $ff ^ XRangi
2021-08-16More EFFECTIVEness.IIMarckus
2021-08-16Use EFFECTIVE constant for 1.0× battle damage.IIMarckus
2021-06-20Fixing comments in BattleCommand_TeleportNescientist
2021-06-07MON_PKRUS -> MON_POKERUSRangi
2021-04-27Use {interpolation} to generate sequences of RAM labelsRangi
This makes the table_width/assert_table_length usages unnecessary, and also keeps the labels automatically up to date if the length constants change.
2021-04-26SPECIAL -> UNUSED_TYPES_ENDRangi
2021-03-22Miscellaneous cleanupRangi
2021-03-17Consistent labels for each nickname in RAMRangi
2021-03-15$11 = wTempMonStructEnd - wTempMonLevelRangi
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
2021-02-05Identify some more labelsRangi
2021-01-09Rename GetFarHalfword to GetFarWordRangi
Fixes #796
2020-12-23Remove "Buffer" suffix from two HRAM labelsRangi
2020-12-23Rename some labelsRangi
- Remove "Buffer" suffix from some byte and word quantities - Change "Ptr" to "Pointer" Fixes #789
2020-12-08grey -> grayRangi
2020-12-07Document AI_Smart_Conversion2 bug (resolves #786)Rangi
2020-11-24Use STRING_BUFFER_LENGTH for the wStringBuffersRangi
2020-11-17Resolve some "???" commentsRangi
2020-11-09Terser damage calculation constantsRangi
2020-11-03Identify remaining uses of wBuffer1-6 as general-purpose HP buffers or mobileRangi
2020-11-03Identify some more uses of wBuffer1-6Rangi
2020-11-03Identify more uses of wBuffer1-6Rangi
2020-11-03More syncing with pokegoldRangi
2020-11-01Identify some more labels, and make some more consistentRangi
2020-10-29Updates to more closely sync with pokegoldRangi
2020-10-29Identify the remaining (non-mobile) uses of another WRAM unionRangi
2020-10-28Identify more WRAM labels, and start a <X>_DummyFunction label conventionRangi
2020-10-28Replace many '; unused' with '; unreferenced'Rangi
2020-10-26Use more assertions to ensure correct code and dataRangi
2020-10-26Comment, remove, or revise many unreferenced labelsRangi
2020-10-22Identify remaining map object labelsRangi
2020-10-22Identify some more labels (a few link-related)Rangi
2020-10-21Identify remaining battle AI labelsRangi
2020-10-21Identify SwitchItemsInBag labelsRangi
Thanks to FIQ for having done so in Polished Crystal
2020-10-19Battle transition spin quadrants are like pokered's half circlesRangi
2020-10-06Update battle anim bg function comments, and identify more unnamed labelsRangi
2020-10-06Identify some unnamed labelsRangi
2020-10-05Identify more unnamed labelsRangi
2020-10-05Identify some more unnamed labelsRangi
2020-10-04Identify some more unnamed labelsRangi
2020-08-29Remove wKickCounter and wPresentPower aliases for wBattleAnimParamRangi
2020-08-18Merge pull request #756 from mid-kid/masterRangi
Rub a dub dub, thanks for the grub
2020-08-11Identify some time-related dataRangi