final change

This commit is contained in:
i0brendan0 2018-07-21 03:36:03 -05:00 committed by GitHub
parent 57efc4b392
commit 6e62eabb42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -304,6 +304,7 @@ Fix:
CheckHiddenOpponent: ; 37daa CheckHiddenOpponent: ; 37daa
ld a, BATTLE_VARS_SUBSTATUS5_OPP ld a, BATTLE_VARS_SUBSTATUS5_OPP
call GetBattleVar call GetBattleVar
ld a, [hl]
and 1 << SUBSTATUS_LOCK_ON and 1 << SUBSTATUS_LOCK_ON
cp 1 << SUBSTATUS_LOCK_ON cp 1 << SUBSTATUS_LOCK_ON
ret z ret z