shithub: pokered

Download patch

ref: ed7b62c808b51580d2ae72a778a40c69a7889099
parent: 3c03ea1bc1fbb0b8c9a72f1fb51b6eba3e8dd64d
parent: da7fd359ebe20e37b3b566c056a7228e8e71d6ca
author: Bryan Bishop <kanzure@gmail.com>
date: Thu Jan 19 10:57:41 EST 2012

Merge KuroKuroiIeWa5Da/pokered (music work)

hg-commit-id: f881b73c386a


diff: cannot open b/music//null: file does not exist: 'b/music//null'
--- a/common.asm
+++ b/common.asm
@@ -2973,13 +2973,14 @@
 
 ;Pallet Town
 PalletTown_mh: ;0x822E - 0x8236
+
 db $80
-	dw $67C5 ;Channel 1
+    dw PalletTown_md_1 ;Channel 1 ($A7C5)
 db $01
-	dw $685F ;Channel 2
+	dw PalletTown_md_2 ;Channel 2 ($A85f)
 db $02
-	dw $68DE ;Channel 3
-	
+	dw PalletTown_md_3 ;Channel 3 ($A8DE)
+
 ;Pokemon Center
 Pokecenter_mh: ;0x8237 - 0x823F
 db $80
@@ -2998,7 +2999,7 @@
 db $02
 	dw $7DFA ;Channel 3
 
-;Viridian City, Pewter City, Saffron City	
+;Viridian City, Pewter City, Saffron City
 Cities1_mh: ;0x8249 - 0x8254
 db $C0
 	dw $6A76 ;Channel 1
@@ -3008,7 +3009,7 @@
 	dw $6C32 ;Channel 3
 db $03
 	dw $6CEF ;Channel 4
-	
+
 ;Cerulean City, Fuchsia City
 Cities2_mh: ;0x8255 - 0x825D
 db $80
@@ -3017,7 +3018,7 @@
 	dw $7569 ;Channel 2
 db $02
 	dw $7640 ;Channel 3
-	
+
 ;Celedon City
 Celedon_mh: ;0x825E - 0x8266
 db $80
@@ -3026,7 +3027,7 @@
 	dw $773A ;Channel 2
 db $02
 	dw $77B5 ;Channel 3
-	
+
 ;Cinnabar Island
 Cinnabar_mh: ;0x8267-0x826F
 db $80
@@ -3035,7 +3036,7 @@
 	dw $78D4 ;Channel 2
 db $02
 	dw $793D ;Channel 3
-	
+
 ;Vermillion City
 Vermillion_mh: ;0x8270 - 0x827B
 db $C0
@@ -3046,7 +3047,7 @@
 	dw $7AA6 ;Channel 3
 db $03
 	dw $7B0D ;Channel 4
-	
+
 ;Lavender Town
 Lavender_mh: ;0x827C - 0x8287
 db $C0
@@ -3057,7 +3058,7 @@
 	dw $7BAE ;Channel 3
 db $03
 	dw $7C21 ;Channel 4
-	
+
 ;SS Anne
 SSAnne_mh: ;0x8288 - 0x8290
 db $80
@@ -3066,7 +3067,7 @@
 	dw $7419 ;Channel 2
 db $02
 	dw $74CB ;Channel 3
-	
+
 ;Meet Prof. Oak
 MeetProfOak_mh: ;0x8291 - 0x8299
 db $80
@@ -3075,7 +3076,7 @@
 	dw $6FA9 ;Channel 2
 db $02
 	dw $703D ;Channel 3
-	
+
 ;Meet Rival
 MeetRival_mh: ;0x829A - 0x82A2
 db $80
@@ -3084,7 +3085,7 @@
 	dw $71BB ;Channel 2
 db $02
 	dw $7233 ;Channel 3
-	
+
 ;Guy walks you to museum
 MuseumGuy_mh: ;0x82A3 - 0x82AE
 db $C0
@@ -3095,7 +3096,7 @@
 	dw $6E6E ;Channel 3
 db $03
 	dw $6ED1 ;Channel 4
-	
+
 ;Safari Zone
 SafariZone_mh: ;0x82AF - 0x82B7
 db $80
@@ -3104,7 +3105,7 @@
 	dw $7C6A ;Channel 2
 db $02
 	dw $7C94 ;Channel 3
-	
+
 ;Pokemon Get Healed
 PkmnHealed_mh: ;0x82B8 - 0x82C0
 db $80
@@ -3113,7 +3114,7 @@
 	dw $5BC4 ;Channel 2
 db $02
 	dw $5BD2 ;Channel 3
-	
+
 ;Routes 1 and 2
 Routes1_mh: ;0x82C1 - 0x82CC
 db $C0
@@ -3124,7 +3125,7 @@
 	dw $5CD8 ;Channel 3
 db $03
 	dw $5D24 ;Channel 4
-	
+
 ;Routes 24 and 25
 Routes2_mh: ;0x82CD - 0x82D8
 db $C0
@@ -3135,7 +3136,7 @@
 	dw $5E9B ;Channel 3
 db $03
 	dw $5F08 ;Channel 4
-	
+
 ;Routes 3, 4, 5, 6, 7, 8, 9, 10, 16, 17, 18, 19, 20, 21, 22
 Routes3_mh: ;0x82D9 - 0x82E4
 db $C0
@@ -3146,7 +3147,7 @@
 	dw $607F ;Channel 3
 db $03
 	dw $6131 ;Channel 4
-	
+
 ;Routes 11, 12, 13, 14, 15
 Routes4_mh: ;0x82E5 - 0x82F0
 db $C0
@@ -3157,7 +3158,7 @@
 	dw $63C4 ;Channel 3
 db $03
 	dw $649D ;Channel 4
-	
+
 ;Indigo Plateau
 IndigoPlateau_mh: ;0x82F1 - 0x82FC
 db $C0
@@ -3169,7 +3170,21 @@
 db $03
 	dw $670F ;Channel 4
 
-INCBIN "baserom.gbc",$82FD,$C000 - $82FD
+INCBIN "baserom.gbc",$82FD,$A7C5 - $82FD
+
+; Music Data
+; The start and stop of these byte ranges were based off the theory they're lined
+; consecutively (Right up against each other).
+PalletTown_md_1:
+INCBIN "music/PalletTownCh1.md" ;0xA7C5-0xA85E (153 bytes)
+
+PalletTown_md_2:
+INCBIN "music/PalletTownCh2.md" ;0xA85F-0xA8DD (126 bytes)
+
+PalletTown_md_3:
+INCBIN "music/PalletTownCh3.md" ;0xA8DE-0xAA75 (407 bytes) ;Suspiciously Big
+
+INCBIN "baserom.gbc",$AA76,$C000 - $AA76
 
 SECTION "bank3",DATA,BANK[$3]
 
binary files /dev/null b/music/PalletTownCh1.md differ
binary files /dev/null b/music/PalletTownCh2.md differ
binary files /dev/null b/music/PalletTownCh3.md differ