fix labels for and rename GetBattleVarPair to GetBattleVar

This commit is contained in:
yenatch
2013-10-11 03:04:21 -04:00
parent 946a213f09
commit 0ead58cdaa
6 changed files with 245 additions and 245 deletions

View File

@@ -66,7 +66,7 @@ BattleCommand54: ; 37588
jr nz, .failed
ld a, BATTLE_VARS_SUBSTATUS1_OPP
call GetBattleVarPair
call _GetBattleVar
bit 1, [hl]
jr nz, .failed

View File

@@ -7,7 +7,7 @@ BattleCommand5a: ; 3766f
ret c
ld a, BATTLE_VARS_SUBSTATUS1
call GetBattleVarPair
call _GetBattleVar
set SUBSTATUS_ENDURE, [hl]
call Function0x37e01

View File

@@ -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