I did a dumb and used the wrong check instruction. Should actually work.
This commit is contained in:
i0brendan0 2018-02-20 01:48:22 -06:00
parent 0e45563497
commit a99adb0e5a
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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