summaryrefslogtreecommitdiff
path: root/engine/battle/effect_commands/protect.asm
diff options
context:
space:
mode:
authorsurskitty <surskitty@gmail.com>2018-02-03 22:18:56 -0500
committersurskitty <surskitty@gmail.com>2018-02-03 22:18:56 -0500
commite668b6cf3a7760303edd181baa69901a94a7d653 (patch)
treeb9de2e272aceb5ca4d24830a64ee4fd87e9fb40e /engine/battle/effect_commands/protect.asm
parent2edf131b056c6d2b1ec9eb48b97fba31b0f953c7 (diff)
parentb35eb72290b964b98844afbe741bb7ede34b9ef3 (diff)
Merge branch 'master' of github.com:pret/pokecrystal
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