summaryrefslogtreecommitdiff
path: root/engine/battle/effect_commands.asm
AgeCommit message (Collapse)Author
2022-04-06Use NUM_BATTLE_STATS instead of raw numbersIdain
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-01-09Rename GetFarHalfword to GetFarWordRangi
Fixes #796
2020-12-23Rename some labelsRangi
- Remove "Buffer" suffix from some byte and word quantities - Change "Ptr" to "Pointer" Fixes #789
2020-11-24Use STRING_BUFFER_LENGTH for the wStringBuffersRangi
2020-11-09Terser damage calculation constantsRangi
2020-11-03Identify remaining uses of wBuffer1-6 as general-purpose HP buffers or mobileRangi
2020-11-03More syncing with pokegoldRangi
2020-10-28Replace many '; unused' with '; unreferenced'Rangi
2020-10-26Comment, remove, or revise many unreferenced labelsRangi
2020-10-21Identify SwitchItemsInBag labelsRangi
Thanks to FIQ for having done so in Polished Crystal
2020-08-29Remove wKickCounter and wPresentPower aliases for wBattleAnimParamRangi
2020-07-21Use LOAD/ENDL for OAM DMA code in HRAM (requires rgbds 0.4.1)Rangi
2020-07-13Disassemble the final English debug ROMRangi
2020-07-05Use MAX_NEUTRAL_DAMAGE in BattleCommand_DamageCalcRangi
Also make .gitignore consistent with pokered
2020-06-16Harmonize engine/{battle, battle_anims, events, games} with pokegoldRangi
2020-06-15Undo incorrect commentRangi
2020-06-15Adding 0 is pointless in CheckMimicUsedRangi
2020-06-13Label some mobile addresses, and revise some commentsRangi
2019-10-20#641 fixes and additions. (#646)mid-kid
Name a lot of text labels according to our conventions
2019-04-09TextBox -> Textboxmid-kid
Homogenizing names.
2019-03-03More consistent formattingRangi
2019-01-05Document a bugfix: 1/256 failure rate for 100% effect chanceRangi
2018-12-09Merge pull request #578 from mid-kid/masterRangi
Fixes in the animation subsystem.
2018-11-23CalcStats -> CalcBattleStatsmid-kid
Confusingly ambiguous name
2018-11-21Move BattleSideCopy to transform.asmmid-kid
2018-11-18Resolve issue #575: Rename text commandsRangi
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-21Identify BATTLEACTION_D and _E (thanks, ax6)Rangi
2018-08-26hQuotient is a four-byte buffer (fixes #558)Rangi
2018-08-25Use labels instead of constants for HRAMRangi
Use explicit ldh instruction to access HRAM locations, don't rely on optimizing ld
2018-08-17CheckDestinyBond -> CheckFaintmid-kid
Its main function is fainting the opponent and ending the move effect. Updated the comment accordingly.
2018-08-17Fix some StatUp-related labelsmid-kid
2018-08-16GetDamageStatsCritical -> CheckDamageStatsCriticalmid-kid
Clarified its usage, as the comments surrounding it were factually wrong.
2018-07-29No wCurMove alias for wCurSpeciesRangi
2018-07-29Add meaningful aliases for wd265Rangi
Introduce MONICON_* constants Introduce BATTLEPLAYERACTION_* constants
2018-07-27Crystal fixed TruncateHL_BC in single playerRangi
2018-07-27Merge branch 'master' of https://github.com/pret/pokecrystalmid-kid
2018-07-26Consistently use the diff format in bugs_and_glitchesmid-kid
2018-07-23StringCmp → CompareBytes; CompareLong → CompareBytesLongRangi
hStringCmpString[1/2] → h[EnemyMon/PartyMon1]Speed
2018-07-04Miscellaneous reorganization fixesRangi
2018-06-25No space between labels and bodiesRangi
2018-06-25Remove more triple newlinesRangi
2018-06-24Fix triple newlines left over from removing address commentsRangi
2018-06-24Remove all address commentsmid-kid
2018-06-12Note which labels are only needed for locating banks (relevant to issue #485)Rangi
2018-06-04Merge branch 'master' of https://github.com/pret/pokecrystalmid-kid
2018-06-01Miscellaneous fixes in the use of _command constants.mid-kid