summaryrefslogtreecommitdiff
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2018-09-16 02:15:55 +0200
committermid-kid <esteve.varela@gmail.com>2018-09-16 02:15:55 +0200
commit3540b2a2d646c1a9768a37a235b20adaa651c07a (patch)
tree7f02fbe86907814774ad02fe1c4d1cd4f82d757b /engine/battle/core.asm
parent387107b29ed5871f01ccdfea179826eeef7edf00 (diff)
wMonStatusFlags -> wDebugFlags
Diffstat (limited to 'engine/battle/core.asm')
-rw-r--r--engine/battle/core.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index 9ac99c587..6f76b6c5c 100644
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -2371,8 +2371,8 @@ WinTrainerBattle:
jr nz, .skip_heal
predef HealParty
.skip_heal
- ld a, [wMonStatusFlags]
- bit 0, a
+ ld a, [wDebugFlags]
+ bit DEBUG_BATTLE_F, a
jr nz, .skip_win_loss_text
call PrintWinLossText
@@ -2921,8 +2921,8 @@ LostBattle:
ld c, 40
call DelayFrames
- ld a, [wMonStatusFlags]
- bit 0, a
+ ld a, [wDebugFlags]
+ bit DEBUG_BATTLE_F, a
jr nz, .skip_win_loss_text
call PrintWinLossText
.skip_win_loss_text