final fix

This commit is contained in:
i0brendan0
2018-06-18 00:32:36 -05:00
committed by GitHub
parent 158144f9cb
commit 57efc4b392

View File

@@ -305,6 +305,7 @@ CheckHiddenOpponent: ; 37daa
ld a, BATTLE_VARS_SUBSTATUS5_OPP ld a, BATTLE_VARS_SUBSTATUS5_OPP
call GetBattleVar call GetBattleVar
and 1 << SUBSTATUS_LOCK_ON and 1 << SUBSTATUS_LOCK_ON
cp 1 << SUBSTATUS_LOCK_ON
ret z ret z
ld a, BATTLE_VARS_SUBSTATUS3_OPP ld a, BATTLE_VARS_SUBSTATUS3_OPP
call GetBattleVar call GetBattleVar