From a99adb0e5affbb8ef5aa8ded07043801665efd9e Mon Sep 17 00:00:00 2001 From: i0brendan0 Date: Tue, 20 Feb 2018 01:48:22 -0600 Subject: Fix I did a dumb and used the wrong check instruction. Should actually work. --- engine/battle/effect_commands.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/battle/effect_commands.asm') 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 -- cgit v1.2.3