From 50da83cb23bd9b6f374a781acabdec0aa22bb598 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Fri, 17 Aug 2018 20:16:37 +0200 Subject: CheckDestinyBond -> CheckFaint Its main function is fainting the opponent and ending the move effect. Updated the comment accordingly. --- engine/battle/effect_commands.asm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'engine') 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] -- cgit v1.2.3