final fix

This commit is contained in:
i0brendan0 2018-06-18 00:32:36 -05:00 committed by GitHub
parent 158144f9cb
commit 57efc4b392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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