summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/bugs_and_glitches.md2
-rw-r--r--engine/battle/effect_commands.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/bugs_and_glitches.md b/docs/bugs_and_glitches.md
index 7a4242ece..a1693a00d 100644
--- a/docs/bugs_and_glitches.md
+++ b/docs/bugs_and_glitches.md
@@ -295,7 +295,7 @@ CheckHiddenOpponent: ; 37daa
; Uncomment the lines below to fix.
; ld a, BATTLE_VARS_SUBSTATUS5_OPP
; call GetBattleVar
- ; bit SUBSTATUS_LOCK_ON, a
+ ; and 1 << SUBSTATUS_LOCK_ON
; ret z
ld a, BATTLE_VARS_SUBSTATUS3_OPP
call GetBattleVar
diff --git a/engine/battle/effect_commands.asm b/engine/battle/effect_commands.asm
index 2cf4ac97d..12915038c 100644
--- a/engine/battle/effect_commands.asm
+++ b/engine/battle/effect_commands.asm
@@ -9711,7 +9711,7 @@ CheckHiddenOpponent: ; 37daa
; Uncomment the lines below to fix.
; ld a, BATTLE_VARS_SUBSTATUS5_OPP
; call GetBattleVar
- ; bit SUBSTATUS_LOCK_ON, a
+ ; and 1 << SUBSTATUS_LOCK_ON
; ret z
ld a, BATTLE_VARS_SUBSTATUS3_OPP
call GetBattleVar