shithub: pokecrystal

Download patch

ref: b57bafd3b7ca771a51596207105a54784175cb7b
parent: a99adb0e5affbb8ef5aa8ded07043801665efd9e
author: i0brendan0 <i0brendan0@github.com>
date: Sun Feb 25 21:34:25 EST 2018

revert

--- a/engine/battle/effect_commands.asm
+++ b/engine/battle/effect_commands.asm
@@ -9708,11 +9708,6 @@
 
 CheckHiddenOpponent: ; 37daa
 ; BUG: This routine should account for Lock-On and Mind Reader.
-; Uncomment the lines below to fix.
-	; ld a, BATTLE_VARS_SUBSTATUS5_OPP
-	; call GetBattleVar
-    ; and 1 << SUBSTATUS_LOCK_ON
-    ; ret z
 	ld a, BATTLE_VARS_SUBSTATUS3_OPP
 	call GetBattleVar
 	and 1 << SUBSTATUS_FLYING | 1 << SUBSTATUS_UNDERGROUND