summaryrefslogtreecommitdiff
path: root/engine/battle/effect_commands.asm
AgeCommit message (Collapse)Author
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
2018-05-23Start improving sprite movement engine (to do: identify bit flags)Rangi
Introduce maskbits N[, S]: optionally shift the bitmask
2018-05-06'rept' is not indentedRangi
2018-04-05Use constants for bit/set/res moreRangi
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-04`endloop` loops back to critical itselfmid-kid
The comments seemed to specify that `endloop` loops back to the command before `critical` and executes that, which simply isn't true. It loops back to `critical` itself, and executes `critical`, before continuing on with the remaining commands.
2018-04-04Label bidefailtextmid-kid
This "unknown" battle command is actually used to give the proper fail message to bide.
2018-04-04Comment SapHealthmid-kid
Also fixed some Beat Up inconsistencies to make it more readable.
2018-02-04Consistent "X percent [+/- Y]" orderRangi
2018-02-04Sync code with wikiRangi
2018-02-03Keep documentation in sync with new WRAM labelsRangi
2018-02-03Merge branch 'master' of https://github.com/pret/pokecrystalRangi
# Conflicts: # audio/engine.asm # constants/gfx_constants.asm # constants/map_data_constants.asm # constants/pokemon_data_constants.asm # constants/sprite_constants.asm # constants/wram_constants.asm # data/maps/data.asm # engine/battle/ai/scoring.asm # engine/battle/core.asm # engine/battle/effect_commands.asm # engine/battle/misc.asm # engine/battle_anims/getpokeballwobble.asm # engine/breeding.asm # engine/buy_sell_toss.asm # engine/decorations.asm # engine/events/battle_tower/battle_tower.asm # engine/events/battle_tower/rules.asm # engine/events/buena.asm # engine/events/bug_contest/contest_2.asm # engine/events/daycare.asm # engine/events/dratini.asm # engine/events/halloffame.asm # engine/events/happiness_egg.asm # engine/events/kurt.asm # engine/events/lucky_number.asm # engine/events/magnet_train.asm # engine/events/overworld.asm # engine/events/pokerus/pokerus.asm # engine/events/print_unown.asm # engine/events/print_unown_2.asm # engine/events/unown_walls.asm # engine/item_effects.asm # engine/link.asm # engine/mon_menu.asm # engine/player_object.asm # engine/routines/playslowcry.asm # engine/scripting.asm # engine/search.asm # engine/search2.asm # engine/specials.asm # engine/start_menu.asm # engine/timeset.asm # home/battle_vars.asm # home/map.asm # maps/GoldenrodUndergroundSwitchRoomEntrances.asm # maps/IlexForest.asm # maps/KrissHouse2F.asm # maps/Route39Barn.asm # mobile/mobile_12_2.asm # mobile/mobile_40.asm # mobile/mobile_5f.asm # wram.asm
2018-01-26Move-unique effect commands consistently go in engine/battle/move_effects/Rangi
2018-01-26Move power data belongs in data/moves/Rangi
2018-01-25More battle data in data/battle/Rangi