CheckDestinyBond -> CheckFaint

Its main function is fainting the opponent and ending the move effect.
Updated the comment accordingly.
This commit is contained in:
mid-kid
2018-08-17 20:16:37 +02:00
parent 79cf90ab5e
commit 50da83cb23
4 changed files with 69 additions and 67 deletions

View File

@@ -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]