shithub: pokered

Download patch

ref: 4539e128dc59053628b6cd528cd1edada23b08ca
parent: 1011fa55f1bdf799e4e07a96d9816621fdb4cbd3
author: stag019 <stag019@gmail.com>
date: Mon Mar 26 18:15:03 EDT 2012

The save sound from Pokemon Red, and Pokemon Blue.

hg-commit-id: 853da1329134


--- a/main.asm
+++ b/main.asm
@@ -74777,7 +74777,146 @@
 
 SECTION "bank1F",DATA,BANK[$1F]
 
-INCBIN "baserom.gbc",$7C000,$4000
+INCBIN "baserom.gbc",$7C000,$7C45E-$7C000
+
+IF _RED
+UnknSong_md_7c45e: ;0x7C45E
+	mus_duty duty50
+		mus_note noteD, note4_16
+
+	db $f4
+
+		mus_note noteC, note16
+		mus_note noteC, note2
+		mus_note noteD, note4
+
+	mus_octave oct3
+		mus_note noteG#, note16
+		mus_note noteC, note4_8_16
+		mus_note noteD, note4
+
+	mus_octave oct3
+		mus_note noteRst, note16
+
+		mus_note noteC, note4_8_16
+		mus_note noteD, note4
+
+	mus_octave oct3
+		mus_note noteC, note16
+		mus_note noteC, note2
+		mus_note noteD, note8_16
+
+	mus_octave oct3
+		mus_note noteA#, note16
+		mus_note noteC, note2
+
+	mus_end
+UnknSong_md_7c475: ;0x7C475
+	mus_duty duty50
+		mus_note noteD, note4_16
+		mus_note noteC, note2_16
+		mus_note noteC, note16
+		mus_note noteC, note16
+		mus_note noteD, note4
+
+	db $d4
+
+		mus_note noteC, note8
+		mus_note noteC, note2
+		mus_note noteD, note4
+		mus_note noteRst, note4_16
+
+		mus_note noteG#, note8
+		mus_note noteC, note4_8_16
+		mus_note noteD, note4
+		mus_note noteRst, note4_16
+
+		mus_note noteRst, note8
+
+		mus_note noteC, note4_8_16
+		mus_note noteD, note4
+		mus_note noteRst, note4_16
+
+		mus_note noteC, note8
+		mus_note noteC, note2
+		mus_note noteD, note8_16
+		mus_note noteRst, note4_16
+
+		mus_note noteA#, note8
+		mus_note noteC, note2
+
+	mus_end
+ENDC
+IF _BLUE
+UnknSong_md_7c45e: ;0x7C45E
+	mus_duty duty50
+		mus_note noteD, note4
+
+	mus_octave oct3
+		mus_note noteC, note16
+		mus_note noteC, note4_8_16
+		mus_note noteD, note4
+
+	mus_octave oct3
+		mus_note noteG#, note16
+		mus_note noteC, note4_8_16
+		mus_note noteD, note4
+
+	mus_octave oct3
+		mus_note noteRst, note16
+
+		mus_note noteC, note4_8_16
+		mus_note noteD, note4
+
+	mus_octave oct3
+		mus_note noteC, note16
+		mus_note noteC, note2
+		mus_note noteD, note1
+
+	db $f2
+
+	mus_octave oct7
+		mus_note noteC, note2
+
+	mus_end
+UnknSong_md_7c475: ; 0x7C475
+	mus_duty duty50
+		mus_note noteD, note4
+		mus_note noteC, note2_16
+		mus_note noteC, note16
+		mus_note noteC, note16
+		mus_note noteD, note4
+		mus_note noteRst, note4_16
+
+		mus_note noteC, note8
+		mus_note noteC, note4_8_16
+		mus_note noteD, note4
+		mus_note noteRst, note4_16
+
+		mus_note noteG#, note8
+		mus_note noteC, note4_8_16
+		mus_note noteD, note4
+		mus_note noteRst, note4_16
+
+		mus_note noteRst, note8
+
+		mus_note noteC, note4_8_16
+		mus_note noteD, note4
+		mus_note noteRst, note4_16
+
+		mus_note noteC, note8
+		mus_note noteC, note2
+		mus_note noteD, note1
+
+	db $d2
+
+	mus_octave oct6
+		mus_note noteC, note2
+
+	mus_end
+ENDC
+
+INCBIN "baserom.gbc",$7C490,$80000-$7C490
 
 SECTION "bank20",DATA,BANK[$20]