summaryrefslogtreecommitdiff
path: root/engine/battle/effect_commands.asm
diff options
context:
space:
mode:
authori0brendan0 <i0brendan0@github.com>2018-02-20 01:48:22 -0600
committeri0brendan0 <i0brendan0@github.com>2018-02-20 01:48:22 -0600
commita99adb0e5affbb8ef5aa8ded07043801665efd9e (patch)
tree77605a153468a0725150fce1fcf309ccbfdd0470 /engine/battle/effect_commands.asm
parent0e455634975b12504e643d2620889935a03df83b (diff)
Fix
I did a dumb and used the wrong check instruction. Should actually work.
Diffstat (limited to 'engine/battle/effect_commands.asm')
-rw-r--r--engine/battle/effect_commands.asm2
1 files changed, 1 insertions, 1 deletions
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