summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKermalis <29823718+Kermalis@users.noreply.github.com>2018-09-28 23:54:02 -0400
committerKermalis <29823718+Kermalis@users.noreply.github.com>2018-09-28 23:54:02 -0400
commit8ab0a2aa5f31d386fdb3559420b24c5122f4696d (patch)
treef7fb5bb5f3931d4fd8e1e6f9e253a1de6979d6a6
parent2d6953b4408c92eef31355e627f8652d07d884e8 (diff)
Match mus_p_school.mid
-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_p_school.midbin0 -> 3106 bytes
-rw-r--r--sound/songs/mus_p_school.s712
5 files changed, 5 insertions, 714 deletions
diff --git a/ld_script.txt b/ld_script.txt
index e794c1d13..25ee3c8be 100644
--- a/ld_script.txt
+++ b/ld_script.txt
@@ -918,7 +918,7 @@ SECTIONS {
sound/songs/midi/mus_m_dungon.o(.rodata);
sound/songs/midi/mus_finecity.o(.rodata);
sound/songs/midi/mus_machupi.o(.rodata);
- sound/songs/mus_p_school.o(.rodata);
+ sound/songs/midi/mus_p_school.o(.rodata);
sound/songs/midi/mus_dendou.o(.rodata);
sound/songs/mus_tonekusa.o(.rodata);
sound/songs/midi/mus_maborosi.o(.rodata);
diff --git a/songs.mk b/songs.mk
index e11765ba0..90e5eb675 100644
--- a/songs.mk
+++ b/songs.mk
@@ -309,6 +309,9 @@ $(MID_SUBDIR)/mus_odamaki.s: %.s: %.mid
$(MID_SUBDIR)/mus_ooame.s: %.s: %.mid
$(MID) $< $@ -G089 -R$(STD_REVERB) -V080
+$(MID_SUBDIR)/mus_p_school.s: %.s: %.mid
+ $(MID) $< $@ -G081 -R$(STD_REVERB) -V100
+
$(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 832071701..d60c329d0 100644
--- a/sound/song_table.inc
+++ b/sound/song_table.inc
@@ -439,7 +439,7 @@ gSongTable:: @ 86B49F0
song mus_m_dungon, 0, 0 @ Mt. Pyre
song mus_finecity, 0, 0 @ Slateport City
song mus_machupi, 0, 0 @ Mt. Pyre Exterior
- song mus_p_school, 0, 0 @ Pokémon Trainer's School
+ song mus_p_school, 0, 0 @ Trainers' School
song mus_dendou, 0, 0 @ The Hall of Fame
song mus_tonekusa, 0, 0 @ Fallarbor Town
song mus_maborosi, 0, 0 @ Sealed Chamber
diff --git a/sound/songs/midi/mus_p_school.mid b/sound/songs/midi/mus_p_school.mid
new file mode 100644
index 000000000..55651dea5
--- /dev/null
+++ b/sound/songs/midi/mus_p_school.mid
Binary files differ
diff --git a/sound/songs/mus_p_school.s b/sound/songs/mus_p_school.s
deleted file mode 100644
index a3aac94fe..000000000
--- a/sound/songs/mus_p_school.s
+++ /dev/null
@@ -1,712 +0,0 @@
- .include "MPlayDef.s"
-
- .equ mus_p_school_grp, voicegroup081
- .equ mus_p_school_pri, 0
- .equ mus_p_school_rev, reverb_set+50
- .equ mus_p_school_mvl, 127
- .equ mus_p_school_key, 0
- .equ mus_p_school_tbs, 1
- .equ mus_p_school_exg, 0
- .equ mus_p_school_cmp, 1
-
- .section .rodata
- .global mus_p_school
- .align 2
-
-@********************** Track 1 **********************@
-
-mus_p_school_1:
- .byte KEYSH , mus_p_school_key+0
-mus_p_school_1_B1:
- .byte TEMPO , 116*mus_p_school_tbs/2
- .byte VOICE , 1
- .byte LFOS , 44
- .byte VOL , 87*mus_p_school_mvl/mxv
- .byte PAN , c_v+4
- .byte LFOS , 44
- .byte BENDR , 12
- .byte VOL , 96*mus_p_school_mvl/mxv
- .byte W96
- .byte W96
- .byte W96
- .byte W96
- .byte W96
- .byte W96
- .byte W96
- .byte W96
- .byte W96
- .byte W96
- .byte W96
- .byte W96
- .byte W96
- .byte W96
- .byte W96
- .byte W84
- .byte N06 , En3 , v064
- .byte W12
- .byte W60
- .byte Gn3
- .byte W24
- .byte N06
- .byte W12
- .byte W12
- .byte An3
- .byte W24
- .byte N06
- .byte W24
- .byte N06
- .byte W12
- .byte N18 , En3
- .byte W24
- .byte GOTO
- .word mus_p_school_1_B1
- .byte FINE
-
-@********************** Track 2 **********************@
-
-mus_p_school_2:
- .byte VOL , 100*mus_p_school_mvl/mxv
- .byte KEYSH , mus_p_school_key+0
-mus_p_school_2_B1:
- .byte VOICE , 1
- .byte LFOS , 44
- .byte BENDR , 12
- .byte W96
- .byte W84
- .byte N06 , Fs4 , v064
- .byte W06
- .byte Gn4
- .byte W06
- .byte An4
- .byte W12
- .byte N06
- .byte W12
- .byte N06
- .byte W06
- .byte Gn4
- .byte W06
- .byte Fs4
- .byte W06
- .byte Gn4
- .byte W06
- .byte N24 , An4
- .byte W24
- .byte N06 , Dn5
- .byte W12
- .byte En4
- .byte W06
- .byte Fs4
- .byte W06
- .byte Gn4
- .byte W12
- .byte N06
- .byte W12
- .byte N06
- .byte W06
- .byte Fs4
- .byte W06
- .byte En4
- .byte W06
- .byte Fs4
- .byte W06
- .byte N24 , Gn4
- .byte W24
- .byte N06 , Cs5
- .byte W12
- .byte Dn4
- .byte W06
- .byte En4
- .byte W06
- .byte Fs4
- .byte W12
- .byte N06
- .byte W12
- .byte N06
- .byte W06
- .byte En4
- .byte W06
- .byte Dn4
- .byte W06
- .byte En4
- .byte W06
- .byte Fs4
- .byte W12
- .byte Bn4
- .byte W12
- .byte Dn5
- .byte W12
- .byte Bn4
- .byte W12
- .byte Gn4
- .byte W24
- .byte Bn3
- .byte W12
- .byte Dn4
- .byte W12
- .byte Cs4
- .byte W12
- .byte Dn4
- .byte W12
- .byte En4
- .byte W12
- .byte Fs4
- .byte W06
- .byte Gn4
- .byte W06
- .byte An4
- .byte W12
- .byte N06
- .byte W12
- .byte N03
- .byte W03
- .byte Bn4
- .byte W03
- .byte N06 , An4
- .byte W06
- .byte Fs4
- .byte W06
- .byte Gn4
- .byte W06
- .byte N24 , An4
- .byte W24
- .byte N06 , Dn5
- .byte W12
- .byte En4
- .byte W06
- .byte Fs4
- .byte W06
- .byte Gn4
- .byte W12
- .byte N06
- .byte W12
- .byte N03
- .byte W03
- .byte An4
- .byte W03
- .byte N06 , Gn4
- .byte W06
- .byte En4
- .byte W06
- .byte Fs4
- .byte W06
- .byte N24 , Gn4
- .byte W24
- .byte N06 , Cs5
- .byte W12
- .byte Dn4
- .byte W06
- .byte En4
- .byte W06
- .byte Fs4
- .byte W12
- .byte N06
- .byte W12
- .byte N03
- .byte W03
- .byte Gn4
- .byte W03
- .byte N06 , Fs4
- .byte W06
- .byte Dn4
- .byte W06
- .byte En4
- .byte W06
- .byte Fs4
- .byte W12
- .byte Bn4
- .byte W12
- .byte Cs5
- .byte W12
- .byte Dn5
- .byte W12
- .byte En5
- .byte W12
- .byte Bn4
- .byte W12
- .byte N06
- .byte W06
- .byte Dn5
- .byte W06
- .byte N03 , Cs5
- .byte W03
- .byte Dn5
- .byte W03
- .byte N06 , Bn4
- .byte W06
- .byte Cs5
- .byte W12
- .byte Dn5
- .byte W12
- .byte En5
- .byte W24
- .byte W12
- .byte N12 , Bn4
- .byte W12
- .byte N06 , Cs5
- .byte W12
- .byte Dn5
- .byte W12
- .byte Cs5
- .byte W12
- .byte Bn4
- .byte W12
- .byte An4
- .byte W12
- .byte Gs4
- .byte W12
- .byte An4
- .byte W24
- .byte Bn4
- .byte W12
- .byte En4
- .byte W06
- .byte Bn4
- .byte W06
- .byte N48 , Cs5
- .byte W36
- .byte N06 , En3
- .byte W12
- .byte W12
- .byte N12 , Bn4
- .byte W12
- .byte N06 , Cs5
- .byte W12
- .byte Dn5
- .byte W12
- .byte En5
- .byte W12
- .byte Gn3
- .byte N06 , Bn4
- .byte W12
- .byte Cs5
- .byte W12
- .byte Gn3
- .byte N06 , Dn5
- .byte W12
- .byte Cs5
- .byte W24
- .byte Bn4
- .byte W12
- .byte N03 , Cs5
- .byte W03
- .byte Dn5
- .byte W03
- .byte N06 , Bn4
- .byte W06
- .byte N48 , An4
- .byte W48
- .byte W12
- .byte N12 , Bn4
- .byte W12
- .byte N06 , Cs5
- .byte W12
- .byte Dn5
- .byte W12
- .byte Cs5
- .byte W12
- .byte N03 , Bn4
- .byte W03
- .byte Cs5
- .byte W03
- .byte N06 , Bn4
- .byte W06
- .byte An4
- .byte W12
- .byte Gs4
- .byte W12
- .byte An4
- .byte W06
- .byte En4
- .byte W06
- .byte An4
- .byte W06
- .byte Bn4
- .byte W06
- .byte Cs5
- .byte W06
- .byte An4
- .byte W06
- .byte Cs5
- .byte W06
- .byte Dn5
- .byte W06
- .byte N48 , En5
- .byte W48
- .byte W12
- .byte N12 , Bn4
- .byte W12
- .byte N06 , Cs5
- .byte W12
- .byte Dn5
- .byte W12
- .byte En5
- .byte W12
- .byte N03 , Dn5
- .byte W03
- .byte En5
- .byte W03
- .byte N06 , Dn5
- .byte W06
- .byte Cs5
- .byte W12
- .byte Bn4
- .byte W12
- .byte Cs5
- .byte W12
- .byte An4
- .byte W12
- .byte N06
- .byte W06
- .byte Gs4
- .byte W06
- .byte An4
- .byte W06
- .byte Bn4
- .byte W06
- .byte Cs5
- .byte W06
- .byte Bn4
- .byte W06
- .byte Cs5
- .byte W06
- .byte Dn5
- .byte W06
- .byte N18 , En5
- .byte W24
- .byte GOTO
- .word mus_p_school_2_B1
- .byte FINE
-
-@********************** Track 3 **********************@
-
-mus_p_school_3:
- .byte VOL , 100*mus_p_school_mvl/mxv
- .byte KEYSH , mus_p_school_key+0
-mus_p_school_3_B1:
- .byte VOICE , 1
- .byte BENDR , 12
- .byte LFOS , 44
- .byte BENDR , 12
- .byte LFOS , 44
- .byte N06 , Dn2 , v064
- .byte W12
- .byte An2
- .byte W12
- .byte An1
- .byte W12
- .byte An2
- .byte W12
- .byte Bn1
- .byte W12
- .byte An2
- .byte W12
- .byte Cs2
- .byte W12
- .byte An2
- .byte W12
-mus_p_school_3_000:
- .byte N06 , Dn2 , v064
- .byte W12
- .byte An2
- .byte W12
- .byte An1
- .byte W12
- .byte An2
- .byte W12
- .byte Bn1
- .byte W12
- .byte An2
- .byte W12
- .byte Cs2
- .byte W12
- .byte An2
- .byte W12
- .byte PEND
- .byte PATT
- .word mus_p_school_3_000
-mus_p_school_3_001:
- .byte N06 , En2 , v064
- .byte W12
- .byte Bn2
- .byte W12
- .byte Bn1
- .byte W12
- .byte Bn2
- .byte W12
- .byte Cs2
- .byte W12
- .byte Cs3
- .byte W12
- .byte An1
- .byte W12
- .byte Cs3
- .byte W12
- .byte PEND
-mus_p_school_3_002:
- .byte N06 , Bn1 , v064
- .byte W12
- .byte Bn2
- .byte W12
- .byte As1
- .byte W12
- .byte Bn2
- .byte W12
- .byte An1
- .byte W12
- .byte Bn2
- .byte W12
- .byte Gs1
- .byte W12
- .byte Bn2
- .byte W12
- .byte PEND
-mus_p_school_3_003:
- .byte N06 , Gn1 , v064
- .byte W12
- .byte Bn2
- .byte W12
- .byte Gn1
- .byte W12
- .byte Bn2
- .byte W12
- .byte An1
- .byte W12
- .byte Cs3
- .byte W12
- .byte An1
- .byte W12
- .byte Cs3
- .byte W12
- .byte PEND
- .byte PATT
- .word mus_p_school_3_000
- .byte PATT
- .word mus_p_school_3_001
- .byte PATT
- .word mus_p_school_3_002
- .byte PATT
- .word mus_p_school_3_003
-mus_p_school_3_004:
- .byte N06 , Gn2 , v064
- .byte W12
- .byte Bn3
- .byte W12
- .byte Dn2
- .byte W12
- .byte Bn3
- .byte W12
- .byte Gn2
- .byte W12
- .byte Bn3
- .byte W12
- .byte Dn2
- .byte W12
- .byte Bn3
- .byte W12
- .byte PEND
-mus_p_school_3_005:
- .byte N06 , An2 , v064
- .byte W12
- .byte En3
- .byte W12
- .byte En2
- .byte W12
- .byte En3
- .byte W12
- .byte An2
- .byte W12
- .byte En3
- .byte W12
- .byte An2
- .byte W12
- .byte Gs2
- .byte W12
- .byte PEND
-mus_p_school_3_006:
- .byte N06 , Gn2 , v064
- .byte W12
- .byte Gn3
- .byte W12
- .byte En2
- .byte W12
- .byte Gn3
- .byte W12
- .byte Gn2
- .byte W12
- .byte Fs2
- .byte W12
- .byte Gn2
- .byte W12
- .byte Gs2
- .byte W12
- .byte PEND
- .byte An2
- .byte W12
- .byte An3
- .byte W12
- .byte En2
- .byte W12
- .byte An3
- .byte W12
- .byte An2
- .byte W12
- .byte An3
- .byte W12
- .byte En2
- .byte W12
- .byte An3
- .byte W12
- .byte PATT
- .word mus_p_school_3_004
- .byte PATT
- .word mus_p_school_3_005
- .byte PATT
- .word mus_p_school_3_006
- .byte N06 , An2 , v064
- .byte W24
- .byte En2
- .byte W24
- .byte An2
- .byte W24
- .byte N12 , An1
- .byte W12
- .byte Cs2
- .byte W12
- .byte GOTO
- .word mus_p_school_3_B1
- .byte FINE
-
-@********************** Track 4 **********************@
-
-mus_p_school_4:
- .byte VOL , 100*mus_p_school_mvl/mxv
- .byte KEYSH , mus_p_school_key+0
-mus_p_school_4_B1:
- .byte VOICE , 1
- .byte LFOS , 44
- .byte BENDR , 12
- .byte W12
- .byte N06 , Fs3 , v064
- .byte W24
- .byte N06
- .byte W24
- .byte N06
- .byte W24
- .byte N06
- .byte W12
-mus_p_school_4_000:
- .byte W12
- .byte N06 , Fs3 , v064
- .byte W24
- .byte N06
- .byte W24
- .byte N06
- .byte W24
- .byte N06
- .byte W12
- .byte PEND
- .byte PATT
- .word mus_p_school_4_000
-mus_p_school_4_001:
- .byte W12
- .byte N06 , Gn3 , v064
- .byte W24
- .byte N06
- .byte W24
- .byte N06
- .byte W24
- .byte N06
- .byte W12
- .byte PEND
- .byte PATT
- .word mus_p_school_4_000
-mus_p_school_4_002:
- .byte W12
- .byte N06 , Gn3 , v064
- .byte W24
- .byte N06
- .byte W24
- .byte An3
- .byte W24
- .byte N06
- .byte W12
- .byte PEND
- .byte PATT
- .word mus_p_school_4_000
- .byte PATT
- .word mus_p_school_4_001
- .byte PATT
- .word mus_p_school_4_000
- .byte PATT
- .word mus_p_school_4_002
-mus_p_school_4_003:
- .byte W12
- .byte N06 , Dn4 , v064
- .byte W24
- .byte N06
- .byte W24
- .byte N06
- .byte W24
- .byte N06
- .byte W12
- .byte PEND
-mus_p_school_4_004:
- .byte W12
- .byte N06 , Cs4 , v064
- .byte W24
- .byte N06
- .byte W24
- .byte N06
- .byte W24
- .byte N06
- .byte W12
- .byte PEND
-mus_p_school_4_005:
- .byte W12
- .byte N06 , Bn3 , v064
- .byte W24
- .byte N06
- .byte W24
- .byte N06
- .byte W24
- .byte N06
- .byte W12
- .byte PEND
- .byte PATT
- .word mus_p_school_4_004
- .byte PATT
- .word mus_p_school_4_003
- .byte PATT
- .word mus_p_school_4_004
- .byte PATT
- .word mus_p_school_4_005
- .byte W12
- .byte N06 , Cs4 , v064
- .byte W24
- .byte N06
- .byte W24
- .byte N06
- .byte W12
- .byte N18 , An3
- .byte W24
- .byte GOTO
- .word mus_p_school_4_B1
- .byte FINE
-
-@******************************************************@
- .align 2
-
-mus_p_school:
- .byte 4 @ NumTrks
- .byte 0 @ NumBlks
- .byte mus_p_school_pri @ Priority
- .byte mus_p_school_rev @ Reverb.
-
- .word mus_p_school_grp
-
- .word mus_p_school_1
- .word mus_p_school_2
- .word mus_p_school_3
- .word mus_p_school_4
-
- .end