ref: a99adb0e5affbb8ef5aa8ded07043801665efd9e
parent: 0e455634975b12504e643d2620889935a03df83b
author: i0brendan0 <i0brendan0@github.com>
date: Mon Feb 19 20:48:22 EST 2018
Fix I did a dumb and used the wrong check instruction. Should actually work.
--- a/docs/bugs_and_glitches.md
+++ b/docs/bugs_and_glitches.md
@@ -295,7 +295,7 @@
; 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
--- a/engine/battle/effect_commands.asm
+++ b/engine/battle/effect_commands.asm
@@ -9711,7 +9711,7 @@
; 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