mirror of https://github.com/pret/pokecrystal.git
Fix
I did a dumb and used the wrong check instruction. Should actually work.
This commit is contained in:
parent
0e45563497
commit
a99adb0e5a
|
@ -295,7 +295,7 @@ CheckHiddenOpponent: ; 37daa
|
||||||
; Uncomment the lines below to fix.
|
; Uncomment the lines below to fix.
|
||||||
; ld a, BATTLE_VARS_SUBSTATUS5_OPP
|
; ld a, BATTLE_VARS_SUBSTATUS5_OPP
|
||||||
; call GetBattleVar
|
; call GetBattleVar
|
||||||
; bit SUBSTATUS_LOCK_ON, a
|
; and 1 << SUBSTATUS_LOCK_ON
|
||||||
; ret z
|
; ret z
|
||||||
ld a, BATTLE_VARS_SUBSTATUS3_OPP
|
ld a, BATTLE_VARS_SUBSTATUS3_OPP
|
||||||
call GetBattleVar
|
call GetBattleVar
|
||||||
|
|
|
@ -9711,7 +9711,7 @@ CheckHiddenOpponent: ; 37daa
|
||||||
; Uncomment the lines below to fix.
|
; Uncomment the lines below to fix.
|
||||||
; ld a, BATTLE_VARS_SUBSTATUS5_OPP
|
; ld a, BATTLE_VARS_SUBSTATUS5_OPP
|
||||||
; call GetBattleVar
|
; call GetBattleVar
|
||||||
; bit SUBSTATUS_LOCK_ON, a
|
; and 1 << SUBSTATUS_LOCK_ON
|
||||||
; ret z
|
; ret z
|
||||||
ld a, BATTLE_VARS_SUBSTATUS3_OPP
|
ld a, BATTLE_VARS_SUBSTATUS3_OPP
|
||||||
call GetBattleVar
|
call GetBattleVar
|
||||||
|
|
Loading…
Reference in New Issue