summaryrefslogtreecommitdiff
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
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