summaryrefslogtreecommitdiff
path: root/engine/battle
AgeCommit message (Collapse)Author
2022-04-08Use NUM_BATTLE_STATS instead of raw numbersHEADmasterRangi
2022-03-14Build the Virtual Console patches with `make gold_vc` and `make silver_vc` (#74)vulcandth
2022-02-15Use constants for PartyAttr in move_effects/thief.asmmid-kid
2022-01-10Better comments for enemy health percentage codeRangi
2022-01-08Identify why five of six enemy mon base stats are copiedRangi
2021-11-23Use ~X instead of $ff ^ XRangi
2021-09-26Use EFFECTIVE constant for 1.0× battle damageRangi
2021-06-20Fixing comments in BattleCommand_TeleportRangi
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-05Verify data table sizes with table_width and assert_table_length macrosRangi
It also uncovered some off-by-one issues with defining some constants. A few structs now use rsreset/_RS to define their offset constants.
2021-01-09Rename GetFarHalfword to GetFarWordRangi
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"
2020-12-08grey -> grayRangi
2020-12-07Document AI_Smart_Conversion2 bugRangi
2020-11-17Resolve some "???" commentsRangi
2020-11-09Terser damage calculation constantsRangi
2020-11-03Identify remaining uses of wBuffer1-6 as general-purpose HP buffersRangi
2020-11-03Identify some more uses of wBuffer1-6Rangi
2020-11-03Identify more uses of wBuffer1-6Rangi
2020-11-03More syncing with pokecrystalRangi
2020-11-01Make some labels more consistentRangi
2020-10-29Updates to more closely sync with pokecrystalRangi
2020-10-29Identify the remaining 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 #60 from mid-kid/masterRangi
Rub a dub dub, thanks for the grub
2020-08-11Identify some time-related dataRangi
2020-08-05Use TRUE for hCGBPalUpdatemid-kid
2020-07-21Use LOAD/ENDL for OAM DMA code in HRAM (requires rgbds 0.4.1)Rangi
2020-07-05Use MAX_NEUTRAL_DAMAGE in BattleCommand_DamageCalcRangi
Also make .gitignore consistent with pokered
2020-06-29Identify more unnamed labelsRangi