Fix
I did a dumb and used the wrong check instruction. Should actually work.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user