summaryrefslogtreecommitdiff
path: root/engine/battle/effect_commands/spikes.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/effect_commands/spikes.asm')
-rw-r--r--engine/battle/effect_commands/spikes.asm27
1 files changed, 0 insertions, 27 deletions
diff --git a/engine/battle/effect_commands/spikes.asm b/engine/battle/effect_commands/spikes.asm
deleted file mode 100644
index 3d15e4cfd..000000000
--- a/engine/battle/effect_commands/spikes.asm
+++ /dev/null
@@ -1,27 +0,0 @@
-BattleCommand_Spikes: ; 37683
-; spikes
-
- ld hl, EnemyScreens
- ld a, [hBattleTurn]
- and a
- jr z, .asm_3768e
- ld hl, PlayerScreens
-.asm_3768e
-
-; Fails if spikes are already down!
-
- bit SCREENS_SPIKES, [hl]
- jr nz, .failed
-
-; Nothing else stops it from working.
-
- set SCREENS_SPIKES, [hl]
-
- call AnimateCurrentMove
-
- ld hl, SpikesText
- jp StdBattleTextBox
-
-.failed
- jp FailSpikes
-; 376a0