diff options
author | mid-kid <esteve.varela@gmail.com> | 2018-08-17 20:16:37 +0200 |
---|---|---|
committer | mid-kid <esteve.varela@gmail.com> | 2018-08-17 20:16:37 +0200 |
commit | 50da83cb23bd9b6f374a781acabdec0aa22bb598 (patch) | |
tree | 1b7f6964cccdcd8c67d7672d2c0b52fb6a7ea28d /engine/battle/effect_commands.asm | |
parent | 79cf90ab5ec6069d2d27281e6602e85ba5310c87 (diff) |
CheckDestinyBond -> CheckFaint
Its main function is fainting the opponent and ending the move effect.
Updated the comment accordingly.
Diffstat (limited to 'engine/battle/effect_commands.asm')
-rw-r--r-- | engine/battle/effect_commands.asm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engine/battle/effect_commands.asm b/engine/battle/effect_commands.asm index 4f34b5be6..91c021a72 100644 --- a/engine/battle/effect_commands.asm +++ b/engine/battle/effect_commands.asm @@ -2363,10 +2363,12 @@ BattleCommand_SuperEffectiveText: .print jp StdBattleTextBox -BattleCommand_CheckDestinyBond: -; checkdestinybond +BattleCommand_CheckFaint: +; checkfaint -; Faint the user if it fainted an opponent using Destiny Bond. +; Faint the opponent if its HP reached zero +; and faint the user along with it if it used Destiny Bond. +; Ends the move effect if the opponent faints. ld hl, wEnemyMonHP ld a, [hBattleTurn] |