summaryrefslogtreecommitdiff
path: root/battle/effects/protect.asm
diff options
context:
space:
mode:
Diffstat (limited to 'battle/effects/protect.asm')
-rw-r--r--battle/effects/protect.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/battle/effects/protect.asm b/battle/effects/protect.asm
index 80edc0d85..45e9a75d4 100644
--- a/battle/effects/protect.asm
+++ b/battle/effects/protect.asm
@@ -4,7 +4,7 @@ BattleCommand55: ; 37618
ret c
ld a, BATTLE_VARS_SUBSTATUS1
- call GetBattleVarPair
+ call _GetBattleVar
set SUBSTATUS_PROTECT, [hl]
call Function0x37e01
@@ -29,7 +29,7 @@ ProtectChance: ; 3762c
; Can't have a substitute.
ld a, BATTLE_VARS_SUBSTATUS4
- call CleanGetBattleVarPair
+ call GetBattleVar
bit SUBSTATUS_SUBSTITUTE, a
jr nz, .failed