shithub: pokered

Download patch

ref: a7dca30971a049a525e33bc43eaf2b18ce899c5e
parent: 242b2e05cf30bc47a53167baf6bd3134d1f47d18
author: SatoMew <SatoMew@users.noreply.github.com>
date: Sun Nov 29 16:10:36 EST 2020

Identify what became GSC's Key Item fanfare

--- a/audio.asm
+++ b/audio.asm
@@ -411,7 +411,7 @@
 SECTION "Music 2", ROMX
 
 INCLUDE "audio/sfx/pokeflute_ch5_ch6.asm"
-INCLUDE "audio/sfx/unused2_2.asm"
+INCLUDE "audio/sfx/unreferenced_fanfare.asm"
 INCLUDE "audio/music/gymleaderbattle.asm"
 INCLUDE "audio/music/trainerbattle.asm"
 INCLUDE "audio/music/wildbattle.asm"
--- /dev/null
+++ b/audio/sfx/unreferenced_fanfare.asm
@@ -1,0 +1,57 @@
+; This corresponds to SFX_KEY_ITEM in pokegold and pokecrystal.
+SFX_Unused2_Ch5:
+	execute_music
+	tempo 256
+	volume 7, 7
+	vibrato 6, 2, 6
+	duty_cycle 2
+	toggle_perfect_pitch
+	note_type 6, 11, 1
+	octave 3
+	note G#, 2
+	note G#, 2
+	note_type 6, 11, 3
+	note G#, 2
+	note B_, 2
+	octave 4
+	note E_, 8
+	sound_ret
+
+
+SFX_Unused2_Ch6:
+	execute_music
+	vibrato 8, 2, 7
+	duty_cycle 2
+	note_type 6, 12, 1
+	octave 4
+	note E_, 2
+	note E_, 1
+	note E_, 1
+	note_type 6, 12, 3
+	note E_, 2
+	note G#, 2
+	note B_, 8
+	sound_ret
+
+
+SFX_Unused2_Ch7:
+	execute_music
+	note_type 6, 1, 0
+	octave 4
+	note B_, 1
+	rest 1
+	note_type 3, 1, 0
+	note B_, 1
+	rest 1
+	note B_, 1
+	rest 1
+	note_type 6, 1, 0
+	note B_, 1
+	rest 1
+	octave 5
+	note E_, 1
+	rest 1
+	octave 4
+	note B_, 4
+	rest 4
+	sound_ret
--- a/audio/sfx/unused2_2.asm
+++ /dev/null
@@ -1,56 +1,0 @@
-SFX_Unused2_Ch5:
-	execute_music
-	tempo 256
-	volume 7, 7
-	vibrato 6, 2, 6
-	duty_cycle 2
-	toggle_perfect_pitch
-	note_type 6, 11, 1
-	octave 3
-	note G#, 2
-	note G#, 2
-	note_type 6, 11, 3
-	note G#, 2
-	note B_, 2
-	octave 4
-	note E_, 8
-	sound_ret
-
-
-SFX_Unused2_Ch6:
-	execute_music
-	vibrato 8, 2, 7
-	duty_cycle 2
-	note_type 6, 12, 1
-	octave 4
-	note E_, 2
-	note E_, 1
-	note E_, 1
-	note_type 6, 12, 3
-	note E_, 2
-	note G#, 2
-	note B_, 8
-	sound_ret
-
-
-SFX_Unused2_Ch7:
-	execute_music
-	note_type 6, 1, 0
-	octave 4
-	note B_, 1
-	rest 1
-	note_type 3, 1, 0
-	note B_, 1
-	rest 1
-	note B_, 1
-	rest 1
-	note_type 6, 1, 0
-	note B_, 1
-	rest 1
-	octave 5
-	note E_, 1
-	rest 1
-	octave 4
-	note B_, 4
-	rest 4
-	sound_ret