mirror of https://github.com/pret/pokecrystal.git
final change
This commit is contained in:
parent
57efc4b392
commit
6e62eabb42
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue