summaryrefslogtreecommitdiff
path: root/battle/effects/perish_song.asm
diff options
context:
space:
mode:
Diffstat (limited to 'battle/effects/perish_song.asm')
-rw-r--r--battle/effects/perish_song.asm40
1 files changed, 0 insertions, 40 deletions
diff --git a/battle/effects/perish_song.asm b/battle/effects/perish_song.asm
deleted file mode 100644
index ac491ef6b..000000000
--- a/battle/effects/perish_song.asm
+++ /dev/null
@@ -1,40 +0,0 @@
-BattleCommand_PerishSong: ; 376c2
-; perishsong
-
-
- ld hl, PlayerSubStatus1
- ld de, EnemySubStatus1
- bit SUBSTATUS_PERISH, [hl]
- jr z, .ok
-
- ld a, [de]
- bit SUBSTATUS_PERISH, a
- jr nz, .failed
-
-.ok
- bit SUBSTATUS_PERISH, [hl]
- jr nz, .enemy
-
- set SUBSTATUS_PERISH, [hl]
- ld a, 4
- ld [PlayerPerishCount], a
-
-.enemy
- ld a, [de]
- bit SUBSTATUS_PERISH, a
- jr nz, .done
-
- set SUBSTATUS_PERISH, a
- ld [de], a
- ld a, 4
- ld [EnemyPerishCount], a
-
-.done
- call AnimateCurrentMove
- ld hl, StartPerishText
- jp StdBattleTextBox
-
-.failed
- call AnimateFailedMove
- jp PrintButItFailed
-; 376f8