shithub: pokecrystal

Download patch

ref: 4d55533b730db57644fa607c666cccb289df93be
parent: f3f2adb219594daf1c68058a247836ab4ffa81c6
author: Bryan Bishop <[email protected]>
date: Mon Apr 16 09:43:27 EDT 2012

insert the first map header (manually)

--- a/main.asm
+++ b/main.asm
@@ -3869,7 +3869,23 @@
 SECTION "bank24",DATA,BANK[$24]
 INCBIN "baserom.gbc",$90000,$4000
 SECTION "bank25",DATA,BANK[$25]
-INCBIN "baserom.gbc",$94000,$4000
+INCBIN "baserom.gbc",$94000,$94034 - $94000
+
+MapHeader_0x94034: ; 0x94034
+	; bank, tileset, permission
+	db $25, $7, 3
+
+	; second map header
+	dw $5ba0
+
+	; location on world map, music, time of day, fishing group
+	db $1b, $9, 1, 1
+; had to increase the final size by 1
+; had to convert 0x->$ (duh..)
+; 0x9403d
+
+INCBIN "baserom.gbc",$9403d,$98000 - $9403d
+
 SECTION "bank26",DATA,BANK[$26]
 INCBIN "baserom.gbc",$98000,$4000
 SECTION "bank27",DATA,BANK[$27]