summaryrefslogtreecommitdiff
path: root/battle/effects/foresight.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-26 17:47:05 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-26 17:47:05 -0500
commitb5417fafec7dd37cb4be391f3bd3d4541a2a381e (patch)
treea4e7d08afb2e862186a138e82c8ef4785d82786d /battle/effects/foresight.asm
parent2f98c2032fd47ada3484bfc37d590992f286d3d4 (diff)
Split battle/ into data/ and engine/ components
Diffstat (limited to 'battle/effects/foresight.asm')
-rw-r--r--battle/effects/foresight.asm23
1 files changed, 0 insertions, 23 deletions
diff --git a/battle/effects/foresight.asm b/battle/effects/foresight.asm
deleted file mode 100644
index 6f4f97cd2..000000000
--- a/battle/effects/foresight.asm
+++ /dev/null
@@ -1,23 +0,0 @@
-BattleCommand_Foresight: ; 376a0
-; foresight
-
- ld a, [AttackMissed]
- and a
- jr nz, .failed
-
- call CheckHiddenOpponent
- jr nz, .failed
-
- ld a, BATTLE_VARS_SUBSTATUS1_OPP
- call GetBattleVarAddr
- bit SUBSTATUS_IDENTIFIED, [hl]
- jr nz, .failed
-
- set SUBSTATUS_IDENTIFIED, [hl]
- call AnimateCurrentMove
- ld hl, IdentifiedText
- jp StdBattleTextBox
-
-.failed
- jp FailForesight
-; 376c2