summaryrefslogtreecommitdiff
path: root/battle/effects/protect.asm
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2014-06-27 21:33:08 -0500
committerBryan Bishop <kanzure@gmail.com>2014-06-27 21:33:08 -0500
commit1ecfe6bd23bb9b4e1886342c082bd5c3a108abbb (patch)
tree8190d5b11ebec4505c5494baf74b339ae9c82078 /battle/effects/protect.asm
parent1fbe471b74908be6e89777857bf7407ef427225b (diff)
parentd6fbdfb8decf6231d6b43fbfcba63f9ce60308dc (diff)
Merge pull request #256 from yenatch/master
Fix predefs and battle code.
Diffstat (limited to 'battle/effects/protect.asm')
-rw-r--r--battle/effects/protect.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/battle/effects/protect.asm b/battle/effects/protect.asm
index a28c0461e..be9284135 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 _GetBattleVar
+ call GetBattleVarAddr
set SUBSTATUS_PROTECT, [hl]
call AnimateCurrentMove