summaryrefslogtreecommitdiff
path: root/engine/battle
AgeCommit message (Collapse)Author
2019-01-12Say "BANK(Foo) ; aka BANK(Bar)" to clarify that Foo and Bar share a bankRangi
2019-01-06Consistent formatting in Function_SetEnemyMonAndSendOutAnimation and ↵Rangi
BattleStartMessage
2019-01-05Document a bugfix: 1/256 failure rate for 100% effect chanceRangi
2018-12-31Use battle menu flagsRangi
2018-12-26Fix comments around BANK() statementsmid-kid
Found a couple BANK()s that reference multiple labels.
2018-12-23Fix issue #581 (random stuff ax6 noticed)Rangi
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-09-16wMonStatusFlags -> wDebugFlagsmid-kid
2018-09-09Use existing bigdw macroRangi
2018-09-09Use 0/1/2/3 for palettes, and rgbds opt feature for battle transition graphicRangi
2018-08-26; fallthroughRangi
2018-08-26spaces->tab, and remove redundant commentRangi
2018-08-26hQuotient is a four-byte buffer (fixes #558)Rangi
2018-08-25hLabel - $ff00 -> LOW(hLabel)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-08-07Fix more uses of EFFECTIVEmid-kid
2018-08-07Fix constants in BattleCommand_MirrorCoatmid-kid
2018-07-29No wCurMove alias for wCurSpeciesRangi
2018-07-29Make reviewed fixes; standardize on " + "Rangi
2018-07-29Improve wTrainerHUDTiles usageRangi
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-24MON_STAT_EXP - 1 → MON_EXP + 2Rangi
2018-07-23StringCmp → CompareBytes; CompareLong → CompareBytesLongRangi
hStringCmpString[1/2] → h[EnemyMon/PartyMon1]Speed
2018-07-22ANIM_MON_UNUSED → ANIM_MON_HOFRangi
2018-07-21Merge branch 'master' of hyperdriveguy/pokecrystalIIMarckus
2018-07-20Add Counter and Mirror Coat bugfixHyperdriveguy
2018-07-18Fix misnamed character codesmid-kid
Some character codes were erroneously named after their text command counterparts. This has caused a lot of confusion with naming their functions and with other things. I've also removed the `dict2` macro and expanded the `dict` macro. This really isn't something we should be doing for macros but I can't deny it looks a lot neater than repeated code.
2018-07-18Remove some more address commentsmid-kid
2018-07-16Fewer uses of 'Thing2 - Thing1' for sizeof(Thing)Rangi
2018-07-11Replace more hex values with constants or decimalRangi
2018-07-04Miscellaneous reorganization fixesRangi
2018-06-25Use specific constants for overwritten text tilesRangi
2018-06-25Keep more data/ INCLUDEs with relevant routinesRangi
2018-06-25No space between labels and bodiesRangi
2018-06-25Single newline at the end of filesRangi
2018-06-25Remove more triple newlinesRangi
2018-06-24Fix triple newlines left over from removing address commentsRangi
2018-06-24Remove more address commentsRangi
2018-06-25Remove even more address commentsmid-kid
That should be all of them this time