summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKermalis <29823718+Kermalis@users.noreply.github.com>2018-09-28 23:56:10 -0400
committerKermalis <29823718+Kermalis@users.noreply.github.com>2018-09-28 23:56:10 -0400
commitc2d7c438474272ba92de141c16ccfa0df6428843 (patch)
tree7bfa07e62ef5bd7397ce96082dfd895d3887db51
parent8ab0a2aa5f31d386fdb3559420b24c5122f4696d (diff)
Match mus_pcc.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_pcc.midbin0 -> 2817 bytes
-rw-r--r--sound/songs/mus_pcc.s604
5 files changed, 5 insertions, 606 deletions
diff --git a/ld_script.txt b/ld_script.txt
index 25ee3c8be..927515c89 100644
--- a/ld_script.txt
+++ b/ld_script.txt
@@ -839,7 +839,7 @@ SECTIONS {
sound/songs/midi/mus_kachi2.o(.rodata);
sound/songs/midi/mus_kachi3.o(.rodata);
sound/songs/midi/mus_kachi5.o(.rodata);
- sound/songs/mus_pcc.o(.rodata);
+ sound/songs/midi/mus_pcc.o(.rodata);
sound/songs/midi/mus_nibi.o(.rodata);
sound/songs/mus_suikun.o(.rodata);
sound/songs/midi/mus_dooro1.o(.rodata);
diff --git a/songs.mk b/songs.mk
index 90e5eb675..7879af4b9 100644
--- a/songs.mk
+++ b/songs.mk
@@ -312,6 +312,9 @@ $(MID_SUBDIR)/mus_ooame.s: %.s: %.mid
$(MID_SUBDIR)/mus_p_school.s: %.s: %.mid
$(MID) $< $@ -G081 -R$(STD_REVERB) -V100
+$(MID_SUBDIR)/mus_pcc.s: %.s: %.mid
+ $(MID) $< $@ -G000 -R$(STD_REVERB) -V080
+
$(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 d60c329d0..91ca7cf9a 100644
--- a/sound/song_table.inc
+++ b/sound/song_table.inc
@@ -360,7 +360,7 @@ gSongTable:: @ 86B49F0
song mus_kachi2, 0, 0 @ Victory! (Wild Pokémon)
song mus_kachi3, 0, 0 @ Victory! (Gym Leader)
song mus_kachi5, 0, 0 @ Victory! (Wallace)
- song mus_pcc, 0, 0 @ Crystal - Pokémon Communication Center
+ song mus_pcc, 0, 0 @ Unused - Pokémon Center (2)
song mus_nibi, 0, 0 @ Unused - Viridian City
song mus_suikun, 0, 0 @ Crystal - Battle! Legendary Beasts
song mus_dooro1, 0, 0 @ Route 101
diff --git a/sound/songs/midi/mus_pcc.mid b/sound/songs/midi/mus_pcc.mid
new file mode 100644
index 000000000..15417549f
--- /dev/null
+++ b/sound/songs/midi/mus_pcc.mid
Binary files differ
diff --git a/sound/songs/mus_pcc.s b/sound/songs/mus_pcc.s
deleted file mode 100644
index e1b48bd93..000000000
--- a/sound/songs/mus_pcc.s
+++ /dev/null
@@ -1,604 +0,0 @@
- .include "MPlayDef.s"
-
- .equ mus_pcc_grp, voicegroup000
- .equ mus_pcc_pri, 0
- .equ mus_pcc_rev, reverb_set+50
- .equ mus_pcc_mvl, 127
- .equ mus_pcc_key, 0
- .equ mus_pcc_tbs, 1
- .equ mus_pcc_exg, 0
- .equ mus_pcc_cmp, 1
-
- .section .rodata
- .global mus_pcc
- .align 2
-
-@********************** Track 1 **********************@
-
-mus_pcc_1:
- .byte KEYSH , mus_pcc_key+0
- .byte TEMPO , 120*mus_pcc_tbs/2
- .byte VOICE , 1
- .byte VOL , 80*mus_pcc_mvl/mxv
- .byte N12 , En3 , v076
- .byte W12
- .byte Fn3
- .byte W12
- .byte N24 , Gn3
- .byte W24
- .byte N12
- .byte W12
- .byte An3
- .byte W12
- .byte N24 , Bn3
- .byte W24
-mus_pcc_1_B1:
-mus_pcc_1_000:
- .byte N11 , En3 , v076
- .byte W12
- .byte Cn3
- .byte W12
- .byte En3
- .byte W12
- .byte Cn4
- .byte W12
- .byte N12 , Gn3
- .byte W12
- .byte N11 , Bn3
- .byte W12
- .byte An3
- .byte W12
- .byte Gn3
- .byte W12
- .byte PEND
-mus_pcc_1_001:
- .byte N11 , An3 , v076
- .byte W12
- .byte Gn3
- .byte W12
- .byte Fn3
- .byte W12
- .byte En3
- .byte W12
- .byte Dn3
- .byte W12
- .byte En3
- .byte W12
- .byte Fn3
- .byte W12
- .byte Gn3
- .byte W12
- .byte PEND
- .byte N11
- .byte W12
- .byte Dn3
- .byte W12
- .byte Gn3
- .byte W12
- .byte Bn3
- .byte W12
- .byte N12 , Gn3
- .byte W12
- .byte N11 , An3
- .byte W12
- .byte Gn3
- .byte W12
- .byte Fn3
- .byte W12
- .byte En3
- .byte W12
- .byte Gn3
- .byte W12
- .byte An3
- .byte W12
- .byte Bn3
- .byte W12
- .byte Cn4
- .byte W12
- .byte Bn3
- .byte W12
- .byte An3
- .byte W12
- .byte Gn3
- .byte W12
- .byte PATT
- .word mus_pcc_1_000
- .byte PATT
- .word mus_pcc_1_001
- .byte N11 , Gn3 , v076
- .byte W12
- .byte Dn3
- .byte W12
- .byte Gn3
- .byte W12
- .byte N23 , Bn3
- .byte W24
- .byte N11 , An3
- .byte W12
- .byte Gn3
- .byte W12
- .byte Fn3
- .byte W12
- .byte En3
- .byte W12
- .byte Dn3
- .byte W12
- .byte Cn3
- .byte W12
- .byte Dn3
- .byte W12
- .byte En3
- .byte W12
- .byte Fn3
- .byte W12
- .byte Gn3
- .byte W12
- .byte An3
- .byte W12
- .byte En3
- .byte W12
- .byte Dn3
- .byte W12
- .byte N23 , Cn3
- .byte W24
- .byte N11 , Dn3
- .byte W12
- .byte En3
- .byte W12
- .byte Fn3
- .byte W12
- .byte Gn3
- .byte W12
- .byte An3
- .byte W12
- .byte Gn3
- .byte W12
- .byte Fn3
- .byte W12
- .byte N12 , En3
- .byte W12
- .byte N11 , Dn3
- .byte W12
- .byte En3
- .byte W12
- .byte Fn3
- .byte W12
- .byte Gn3
- .byte W12
- .byte Fn3
- .byte W12
- .byte En3
- .byte W12
- .byte N23 , Dn3
- .byte W24
- .byte N11 , Bn2
- .byte W12
- .byte Cn3
- .byte W12
- .byte Dn3
- .byte W12
- .byte Fn3
- .byte W12
- .byte En3
- .byte W12
- .byte Fn3
- .byte W12
- .byte Gn3
- .byte W12
- .byte An3
- .byte W12
- .byte N44 , Gn3
- .byte W48
- .byte N11 , Cn4
- .byte W12
- .byte Bn3
- .byte W12
- .byte N23 , An3
- .byte W24
- .byte N11 , Gn3
- .byte W12
- .byte An3
- .byte W12
- .byte Bn3
- .byte W12
- .byte Cn4
- .byte W12
- .byte Dn4
- .byte W12
- .byte Cn4
- .byte W12
- .byte N23 , Bn3
- .byte W24
- .byte N11 , An3
- .byte W12
- .byte Bn3
- .byte W12
- .byte Cn4
- .byte W12
- .byte Dn4
- .byte W12
- .byte Bn3
- .byte W12
- .byte An3
- .byte W12
- .byte N23 , Gn3
- .byte W24
- .byte N11 , Fn3
- .byte W12
- .byte Gn3
- .byte W12
- .byte An3
- .byte W12
- .byte Fn3
- .byte W12
- .byte Gn3
- .byte W12
- .byte Fn3
- .byte W12
- .byte En3
- .byte W12
- .byte Dn3
- .byte W12
- .byte Cn3
- .byte W12
- .byte Dn3
- .byte W12
- .byte En3
- .byte W12
- .byte Fn3
- .byte W12
- .byte GOTO
- .word mus_pcc_1_B1
- .byte FINE
-
-@********************** Track 2 **********************@
-
-mus_pcc_2:
- .byte KEYSH , mus_pcc_key+0
- .byte VOICE , 32
- .byte VOL , 80*mus_pcc_mvl/mxv
- .byte W60
- .byte N12 , Gn1 , v112
- .byte W12
- .byte An1
- .byte W12
- .byte Bn1
- .byte W12
-mus_pcc_2_B1:
-mus_pcc_2_000:
- .byte N11 , Cn2 , v112
- .byte W12
- .byte En2
- .byte W12
- .byte Gn1
- .byte W12
- .byte En2
- .byte W12
- .byte Cn2
- .byte W12
- .byte En2
- .byte W12
- .byte Fn2
- .byte W12
- .byte En2
- .byte W12
- .byte PEND
-mus_pcc_2_001:
- .byte N11 , Dn2 , v112
- .byte W12
- .byte Gn2
- .byte W12
- .byte Gn1
- .byte W12
- .byte Gn2
- .byte W12
- .byte Dn2
- .byte W12
- .byte Gn2
- .byte W12
- .byte Gn1
- .byte W12
- .byte Gn2
- .byte W12
- .byte PEND
-mus_pcc_2_002:
- .byte N11 , Dn2 , v112
- .byte W12
- .byte Gn2
- .byte W12
- .byte Gn1
- .byte W12
- .byte Gn2
- .byte W12
- .byte Dn2
- .byte W12
- .byte Gn2
- .byte W12
- .byte Fn2
- .byte W12
- .byte Gn2
- .byte W12
- .byte PEND
- .byte En2
- .byte W12
- .byte Gn2
- .byte W12
- .byte En2
- .byte W12
- .byte Gn2
- .byte W12
- .byte En2
- .byte W12
- .byte Gn2
- .byte W12
- .byte Gn1
- .byte W12
- .byte Gn2
- .byte W12
- .byte PATT
- .word mus_pcc_2_000
- .byte PATT
- .word mus_pcc_2_001
- .byte PATT
- .word mus_pcc_2_002
- .byte N11 , Cn2 , v112
- .byte W12
- .byte En2
- .byte W12
- .byte Gn1
- .byte W12
- .byte En2
- .byte W12
- .byte Cn2
- .byte W12
- .byte An2
- .byte W12
- .byte Gn2
- .byte W12
- .byte Fn2
- .byte W12
-mus_pcc_2_003:
- .byte N11 , En2 , v112
- .byte W12
- .byte Gn2
- .byte W12
- .byte Cn2
- .byte W12
- .byte Gn2
- .byte W12
- .byte En2
- .byte W12
- .byte Gn2
- .byte W12
- .byte Cn2
- .byte W12
- .byte Gn2
- .byte W12
- .byte PEND
-mus_pcc_2_004:
- .byte N11 , Fn2 , v112
- .byte W12
- .byte An2
- .byte W12
- .byte Cn2
- .byte W12
- .byte An2
- .byte W12
- .byte Fn2
- .byte W12
- .byte An2
- .byte W12
- .byte Cn2
- .byte W12
- .byte An2
- .byte W12
- .byte PEND
-mus_pcc_2_005:
- .byte N11 , Dn2 , v112
- .byte W12
- .byte Fn2
- .byte W12
- .byte Bn1
- .byte W12
- .byte Fn2
- .byte W12
- .byte Dn2
- .byte W12
- .byte Fn2
- .byte W12
- .byte Bn1
- .byte W12
- .byte Fn2
- .byte W12
- .byte PEND
- .byte PATT
- .word mus_pcc_2_003
- .byte PATT
- .word mus_pcc_2_003
- .byte PATT
- .word mus_pcc_2_004
- .byte PATT
- .word mus_pcc_2_005
- .byte N11 , En2 , v112
- .byte W12
- .byte Gn2
- .byte W12
- .byte Cn2
- .byte W12
- .byte Gn2
- .byte W12
- .byte En2
- .byte W12
- .byte Fn2
- .byte W12
- .byte En2
- .byte W12
- .byte Dn2
- .byte W12
- .byte GOTO
- .word mus_pcc_2_B1
- .byte FINE
-
-@********************** Track 3 **********************@
-
-mus_pcc_3:
- .byte KEYSH , mus_pcc_key+0
- .byte VOICE , 48
- .byte VOL , 80*mus_pcc_mvl/mxv
- .byte N12 , Gn3 , v092
- .byte W12
- .byte An3
- .byte W12
- .byte N24 , Bn3
- .byte W24
- .byte N12
- .byte W12
- .byte Cn4
- .byte W12
- .byte N24 , Dn4
- .byte W24
-mus_pcc_3_B1:
-mus_pcc_3_000:
- .byte N11 , Cn4 , v092
- .byte W12
- .byte Gn3
- .byte W12
- .byte Cn4
- .byte W12
- .byte N23 , Gn4
- .byte W24
- .byte Fn4
- .byte W24
- .byte N11 , En4
- .byte W12
- .byte PEND
-mus_pcc_3_001:
- .byte N11 , Dn4 , v092
- .byte W12
- .byte N32 , Bn3
- .byte W36
- .byte VOICE , 1
- .byte N11 , Gn5 , v100
- .byte W12
- .byte N12 , Dn5
- .byte W12
- .byte N23 , Dn6
- .byte W24
- .byte PEND
-mus_pcc_3_002:
- .byte VOICE , 48
- .byte N11 , Bn3 , v092
- .byte W12
- .byte Gn3
- .byte W12
- .byte Bn3
- .byte W12
- .byte N23 , En4
- .byte W24
- .byte Dn4
- .byte W24
- .byte N11 , Bn3
- .byte W12
- .byte PEND
- .byte Cn4
- .byte W12
- .byte N32 , En4
- .byte W36
- .byte N11 , En3
- .byte W12
- .byte N12 , Fn3
- .byte W12
- .byte N11 , Dn3
- .byte W12
- .byte N12 , En3
- .byte W12
- .byte PATT
- .word mus_pcc_3_000
- .byte PATT
- .word mus_pcc_3_001
- .byte PATT
- .word mus_pcc_3_002
- .byte N44 , Cn4 , v092
- .byte W48
- .byte N11 , Gn3
- .byte W12
- .byte N12 , An3
- .byte W12
- .byte N11 , Bn3
- .byte W12
- .byte N12 , Dn4
- .byte W12
-mus_pcc_3_003:
- .byte N44 , En4 , v092
- .byte W48
- .byte Gn4
- .byte W48
- .byte PEND
- .byte N11 , Fn4
- .byte W12
- .byte Gn4
- .byte W12
- .byte Fn4
- .byte W12
- .byte En4
- .byte W12
- .byte N44 , Dn4
- .byte W48
- .byte Bn3
- .byte W48
- .byte Dn4
- .byte W48
-mus_pcc_3_004:
- .byte N11 , En4 , v092
- .byte W12
- .byte Fn4
- .byte W12
- .byte En4
- .byte W12
- .byte Dn4
- .byte W12
- .byte N44 , Cn4
- .byte W48
- .byte PEND
- .byte PATT
- .word mus_pcc_3_003
- .byte N11 , Fn4 , v092
- .byte W12
- .byte En4
- .byte W12
- .byte Fn4
- .byte W12
- .byte Gn4
- .byte W12
- .byte N44 , An4
- .byte W48
- .byte N23 , Gn4
- .byte W24
- .byte N11 , Fn4
- .byte W12
- .byte En4
- .byte W12
- .byte N44 , Fn4
- .byte W48
- .byte PATT
- .word mus_pcc_3_004
- .byte GOTO
- .word mus_pcc_3_B1
- .byte FINE
-
-@******************************************************@
- .align 2
-
-mus_pcc:
- .byte 3 @ NumTrks
- .byte 0 @ NumBlks
- .byte mus_pcc_pri @ Priority
- .byte mus_pcc_rev @ Reverb.
-
- .word mus_pcc_grp
-
- .word mus_pcc_1
- .word mus_pcc_2
- .word mus_pcc_3
-
- .end