diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-26 17:47:05 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-26 17:47:05 -0500 |
commit | b5417fafec7dd37cb4be391f3bd3d4541a2a381e (patch) | |
tree | a4e7d08afb2e862186a138e82c8ef4785d82786d /battle/effects/spikes.asm | |
parent | 2f98c2032fd47ada3484bfc37d590992f286d3d4 (diff) |
Split battle/ into data/ and engine/ components
Diffstat (limited to 'battle/effects/spikes.asm')
-rw-r--r-- | battle/effects/spikes.asm | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/battle/effects/spikes.asm b/battle/effects/spikes.asm deleted file mode 100644 index 3d15e4cfd..000000000 --- a/battle/effects/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 |