summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld_script.txt2
-rw-r--r--songs.mk3
-rw-r--r--sound/song_table.inc2
-rw-r--r--sound/songs/midi/mus_field13.midbin0 -> 5157 bytes
-rw-r--r--sound/songs/mus_field13.s778
5 files changed, 5 insertions, 780 deletions
diff --git a/ld_script.txt b/ld_script.txt
index 8fae16bfa..e3c763b15 100644
--- a/ld_script.txt
+++ b/ld_script.txt
@@ -834,7 +834,7 @@ SECTIONS {
sound/songs/se_curtain1.o(.rodata);
sound/songs/se_ussoki.o(.rodata);
sound/songs/mus_tetsuji.o(.rodata);
- sound/songs/mus_field13.o(.rodata);
+ sound/songs/midi/mus_field13.o(.rodata);
sound/songs/mus_kachi22.o(.rodata);
sound/songs/mus_kachi2.o(.rodata);
sound/songs/mus_kachi3.o(.rodata);
diff --git a/songs.mk b/songs.mk
index ac46d7b67..bb41c1518 100644
--- a/songs.mk
+++ b/songs.mk
@@ -156,6 +156,9 @@ $(MID_SUBDIR)/mus_fanfa4.s: %.s: %.mid
$(MID_SUBDIR)/mus_fanfa5.s: %.s: %.mid
$(MID) $< $@ -G012 -R$(STD_REVERB) -P5
+$(MID_SUBDIR)/mus_field13.s: %.s: %.mid
+ $(MID) $< $@ -G000 -R$(STD_REVERB)
+
$(MID_SUBDIR)/mus_naminori.s: %.s: %.mid
$(MID) $< $@ -G017 -R$(STD_REVERB)
diff --git a/sound/song_table.inc b/sound/song_table.inc
index 957ed6ab7..cadddf5e0 100644
--- a/sound/song_table.inc
+++ b/sound/song_table.inc
@@ -355,7 +355,7 @@ gSongTable:: @ 86B49F0
song dummy_song_header, 0, 0
song dummy_song_header, 0, 0
song mus_tetsuji, 0, 0 @ Littleroot Town Test 'TETSUJI'
- song mus_field13, 0, 0 @ GSC - Route 38
+ song mus_field13, 0, 0 @ Unused - Route 38
song mus_kachi22, 0, 0 @ Wild Pokémon Defeated
song mus_kachi2, 0, 0 @ Wild Pokémon Defeated with Intro
song mus_kachi3, 0, 0 @ Gym Leader Defeated
diff --git a/sound/songs/midi/mus_field13.mid b/sound/songs/midi/mus_field13.mid
new file mode 100644
index 000000000..387ce6a42
--- /dev/null
+++ b/sound/songs/midi/mus_field13.mid
Binary files differ
diff --git a/sound/songs/mus_field13.s b/sound/songs/mus_field13.s
deleted file mode 100644
index 4a3d8a110..000000000
--- a/sound/songs/mus_field13.s
+++ /dev/null
@@ -1,778 +0,0 @@
- .include "MPlayDef.s"
-
- .equ mus_field13_grp, voicegroup000
- .equ mus_field13_pri, 0
- .equ mus_field13_rev, reverb_set+50
- .equ mus_field13_mvl, 127
- .equ mus_field13_key, 0
- .equ mus_field13_tbs, 1
- .equ mus_field13_exg, 0
- .equ mus_field13_cmp, 1
-
- .section .rodata
- .global mus_field13
- .align 2
-
-@********************** Track 1 **********************@
-
-mus_field13_1:
- .byte KEYSH , mus_field13_key+0
- .byte TEMPO , 130*mus_field13_tbs/2
- .byte VOICE , 56
- .byte VOL , 80*mus_field13_mvl/mxv
- .byte W96
- .byte W96
-mus_field13_1_B1:
- .byte W12
- .byte VOICE , 48
- .byte N11 , Fs2 , v080
- .byte W12
- .byte Bn2
- .byte W12
- .byte En3
- .byte W12
- .byte N44 , Ds3
- .byte W48
- .byte W12
- .byte N23 , En3
- .byte W24
- .byte Ds3
- .byte W24
- .byte Cs3
- .byte W24
- .byte N11 , Bn2
- .byte W12
- .byte N17 , Ds3
- .byte W18
- .byte N05 , Bn2
- .byte W06
- .byte N44 , Fs2
- .byte W48
- .byte Bn2
- .byte W24
- .byte W24
- .byte Bn3
- .byte W72
- .byte W12
- .byte N11 , Fs2
- .byte W12
- .byte Bn2
- .byte W12
- .byte En3
- .byte W12
- .byte N44 , Ds3
- .byte W48
- .byte W12
- .byte N23 , An2
- .byte W24
- .byte Cs3
- .byte W24
- .byte En3
- .byte W24
- .byte N11 , An3
- .byte W12
- .byte N17 , Fs3
- .byte W18
- .byte N05 , An3
- .byte W06
- .byte N32 , Bn3
- .byte W36
- .byte N11 , Bn2
- .byte W12
- .byte Ds3
- .byte W12
- .byte Fs3
- .byte W12
- .byte Bn3
- .byte W12
- .byte N23 , An3
- .byte W24
- .byte Fs3
- .byte W24
- .byte N11 , En3
- .byte W12
- .byte N23 , Ds3
- .byte W24
- .byte VOICE , 56
- .byte N05 , An2 , v104
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N23 , Cs3
- .byte W24
- .byte N05 , An2
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N23 , Cs3
- .byte W24
-mus_field13_1_000:
- .byte N05 , Bn2 , v104
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N23 , Fs3
- .byte W24
- .byte PEND
- .byte PATT
- .word mus_field13_1_000
- .byte N05 , An2 , v104
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N23 , En3
- .byte W24
- .byte N05 , An2
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N23 , Gs3
- .byte W24
- .byte N05 , Bn2
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N23 , Ds4
- .byte W24
- .byte N05 , Bn2
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N23 , Fn3
- .byte W24
-mus_field13_1_001:
- .byte N05 , Bn2 , v104
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W36
- .byte PEND
- .byte PATT
- .word mus_field13_1_001
- .byte GOTO
- .word mus_field13_1_B1
- .byte FINE
-
-@********************** Track 2 **********************@
-
-mus_field13_2:
- .byte KEYSH , mus_field13_key+0
- .byte VOICE , 56
- .byte VOL , 80*mus_field13_mvl/mxv
- .byte N05 , Bn2 , v112
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W36
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N23 , Fs3
- .byte W24
-mus_field13_2_B1:
-mus_field13_2_000:
- .byte N44 , Bn3 , v112
- .byte W60
- .byte N11 , Fs3
- .byte W12
- .byte N11
- .byte W12
- .byte Bn3
- .byte W12
- .byte PEND
- .byte N23 , Cs4
- .byte W24
- .byte Bn3
- .byte W24
- .byte An3
- .byte W24
- .byte En3
- .byte W24
- .byte N92 , Fs3
- .byte W96
- .byte VOICE , 48
- .byte N68 , Ds3 , v092
- .byte W72
- .byte VOICE , 56
- .byte N23 , Fs3 , v112
- .byte W24
- .byte PATT
- .word mus_field13_2_000
- .byte N23 , Cs4 , v112
- .byte W24
- .byte Bn3
- .byte W24
- .byte Cs4
- .byte W24
- .byte En4
- .byte W24
- .byte TIE , Ds4
- .byte W96
- .byte W92
- .byte W03
- .byte EOT
- .byte W01
- .byte W24
- .byte VOICE , 48
- .byte N17 , An3 , v096
- .byte W18
- .byte N05 , En4
- .byte W06
- .byte N23 , An4
- .byte W24
- .byte Gs4
- .byte W24
-mus_field13_2_001:
- .byte N32 , Cs4 , v096
- .byte W36
- .byte Ds4
- .byte W36
- .byte N23 , En4
- .byte W24
- .byte PEND
- .byte N17 , Fs4
- .byte W18
- .byte N05 , En4
- .byte W06
- .byte N68 , Ds4
- .byte W72
- .byte N17 , Bn3
- .byte W18
- .byte N05 , Fs3
- .byte W06
- .byte N68 , Ds4
- .byte W72
- .byte W24
- .byte N17 , An3
- .byte W18
- .byte N05 , En4
- .byte W06
- .byte N23 , An4
- .byte W24
- .byte Gs4
- .byte W24
- .byte PATT
- .word mus_field13_2_001
- .byte N17 , Fs4 , v096
- .byte W18
- .byte N05 , Ds4
- .byte W06
- .byte N68 , Bn4
- .byte W72
- .byte N17
- .byte W18
- .byte N05 , Fs4
- .byte W06
- .byte N68 , Ds5
- .byte W72
- .byte VOICE , 56
- .byte N05 , Fs3 , v112
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W36
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N23
- .byte W24
- .byte GOTO
- .word mus_field13_2_B1
- .byte FINE
-
-@********************** Track 3 **********************@
-
-mus_field13_3:
- .byte KEYSH , mus_field13_key+0
- .byte VOICE , 38
- .byte VOL , 80*mus_field13_mvl/mxv
- .byte N11 , Fs1 , v112
- .byte W48
- .byte N11
- .byte W48
-mus_field13_3_000:
- .byte N11 , Fs1 , v112
- .byte W48
- .byte N11
- .byte W48
- .byte PEND
-mus_field13_3_B1:
-mus_field13_3_001:
- .byte N11 , Fs1 , v112
- .byte W12
- .byte Bn1
- .byte W12
- .byte Fs1
- .byte W12
- .byte Bn1
- .byte W12
- .byte Fs1
- .byte W12
- .byte Bn1
- .byte W12
- .byte Fs1
- .byte W12
- .byte Bn1
- .byte W12
- .byte PEND
- .byte An1
- .byte W12
- .byte Cs2
- .byte W12
- .byte Gs1
- .byte W12
- .byte Bn1
- .byte W12
- .byte Fs1
- .byte W12
- .byte An1
- .byte W12
- .byte Fs1
- .byte W12
- .byte En1
- .byte W12
- .byte Ds1
- .byte W12
- .byte Fs1
- .byte W12
- .byte Ds1
- .byte W12
- .byte Fs1
- .byte W12
- .byte Ds1
- .byte W12
- .byte Fs1
- .byte W12
- .byte Ds1
- .byte W12
- .byte Fs1
- .byte W12
- .byte PATT
- .word mus_field13_3_001
- .byte PATT
- .word mus_field13_3_001
- .byte N11 , An1 , v112
- .byte W12
- .byte Cs2
- .byte W12
- .byte Gs1
- .byte W12
- .byte Bn1
- .byte W12
- .byte Fs1
- .byte W12
- .byte An1
- .byte W12
- .byte Cs2
- .byte W12
- .byte An1
- .byte W12
- .byte PATT
- .word mus_field13_3_001
-mus_field13_3_002:
- .byte N11 , Bn1 , v112
- .byte W12
- .byte Ds2
- .byte W12
- .byte Bn1
- .byte W12
- .byte Ds2
- .byte W12
- .byte Bn1
- .byte W12
- .byte Ds2
- .byte W12
- .byte Bn1
- .byte W12
- .byte Ds2
- .byte W12
- .byte PEND
-mus_field13_3_003:
- .byte N11 , An1 , v112
- .byte W12
- .byte Cs2
- .byte W12
- .byte An1
- .byte W12
- .byte Cs2
- .byte W12
- .byte An1
- .byte W12
- .byte Cs2
- .byte W12
- .byte An1
- .byte W12
- .byte Cs2
- .byte W12
- .byte PEND
-mus_field13_3_004:
- .byte N11 , An1 , v112
- .byte W12
- .byte Cs2
- .byte W12
- .byte An1
- .byte W12
- .byte Cs2
- .byte W12
- .byte An1
- .byte W12
- .byte Cs2
- .byte W12
- .byte En2
- .byte W12
- .byte Cs2
- .byte W12
- .byte PEND
- .byte PATT
- .word mus_field13_3_002
- .byte N11 , Bn1 , v112
- .byte W12
- .byte Fs2
- .byte W12
- .byte Bn1
- .byte W12
- .byte Fs2
- .byte W12
- .byte Bn1
- .byte W12
- .byte Fs2
- .byte W12
- .byte Bn1
- .byte W12
- .byte Fs2
- .byte W12
- .byte PATT
- .word mus_field13_3_003
- .byte PATT
- .word mus_field13_3_004
- .byte PATT
- .word mus_field13_3_002
- .byte PATT
- .word mus_field13_3_001
- .byte PATT
- .word mus_field13_3_000
- .byte PATT
- .word mus_field13_3_000
- .byte GOTO
- .word mus_field13_3_B1
- .byte FINE
-
-@********************** Track 4 **********************@
-
-mus_field13_4:
- .byte KEYSH , mus_field13_key+0
- .byte VOICE , 0
- .byte VOL , 80*mus_field13_mvl/mxv
- .byte N05 , En1 , v072
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
-mus_field13_4_000:
- .byte N05 , En1 , v072
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N02
- .byte W03
- .byte N02
- .byte W03
- .byte N02
- .byte W03
- .byte N02
- .byte W03
- .byte N02
- .byte W03
- .byte N02
- .byte W03
- .byte N02
- .byte W03
- .byte N02
- .byte W03
- .byte PEND
-mus_field13_4_B1:
-mus_field13_4_001:
- .byte N05 , En1 , v072
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W12
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte N05
- .byte W06
- .byte PEND
- .byte PATT
- .word mus_field13_4_001
- .byte PATT
- .word mus_field13_4_001
- .byte PATT
- .word mus_field13_4_000
- .byte PATT
- .word mus_field13_4_001
- .byte PATT
- .word mus_field13_4_001
- .byte PATT
- .word mus_field13_4_001
- .byte PATT
- .word mus_field13_4_000
- .byte PATT
- .word mus_field13_4_001
- .byte PATT
- .word mus_field13_4_001
- .byte PATT
- .word mus_field13_4_001
- .byte PATT
- .word mus_field13_4_001
- .byte PATT
- .word mus_field13_4_001
- .byte PATT
- .word mus_field13_4_001
- .byte PATT
- .word mus_field13_4_001
- .byte PATT
- .word mus_field13_4_001
- .byte PATT
- .word mus_field13_4_001
- .byte PATT
- .word mus_field13_4_000
- .byte GOTO
- .word mus_field13_4_B1
- .byte FINE
-
-@******************************************************@
- .align 2
-
-mus_field13:
- .byte 4 @ NumTrks
- .byte 0 @ NumBlks
- .byte mus_field13_pri @ Priority
- .byte mus_field13_rev @ Reverb.
-
- .word mus_field13_grp
-
- .word mus_field13_1
- .word mus_field13_2
- .word mus_field13_3
- .word mus_field13_4
-
- .end