summaryrefslogtreecommitdiff
path: root/engine/battle/effect_commands/protect.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/effect_commands/protect.asm')
-rw-r--r--engine/battle/effect_commands/protect.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/effect_commands/protect.asm b/engine/battle/effect_commands/protect.asm
index 568ac00f8..6c65e0ed1 100644
--- a/engine/battle/effect_commands/protect.asm
+++ b/engine/battle/effect_commands/protect.asm
@@ -16,11 +16,11 @@ BattleCommand_Protect: ; 37618
ProtectChance: ; 3762c
- ld de, PlayerProtectCount
+ ld de, wPlayerProtectCount
ld a, [hBattleTurn]
and a
jr z, .asm_37637
- ld de, EnemyProtectCount
+ ld de, wEnemyProtectCount
.asm_37637
call CheckOpponentWentFirst