shithub: pokered

Download patch

ref: ad56942dfcd40871da5a2e49ca379d76df7503a4
parent: 0fd9df7ca4ac7bdf897e00667be31c083367f800
author: Bryan Bishop <kanzure@gmail.com>
date: Mon Jan 2 21:20:07 EST 2012

ViridianMart_h map header asm

hg-commit-id: 97eebeae3da5


--- a/pokered.asm
+++ b/pokered.asm
@@ -157,7 +157,7 @@
 	dw BluesHouse_h
 	dw OaksLab_h
 	dw $4251
-	dw $5462
+	dw ViridianMart_h
 	dw $5540
 	dw $557d
 	dw $4897
@@ -2182,9 +2182,9 @@
 	db BANK(BluesHouse_h)
 	db BANK(OaksLab_h)
 	db $11
+	db BANK(ViridianMart_h)
 	db $07
 	db $07
-	db $07
 	db $1D
 	db $07
 	db $17
@@ -5741,7 +5741,17 @@
 
     dw $540a ; objects
 
-INCBIN "baserom.gbc",$1CB0E,$20000 - $1CB0E
+INCBIN "baserom.gbc",$1CB0E,$1D462-$1CB0E
+
+ViridianMart_h: ; 0x1d462 to 0x1d46e (12 bytes) (bank=7) (id=42)
+    db $02 ; tileset
+    db $04, $04 ; dimensions (y, x)
+    dw $5530, $54e0, $546e ; blocks, texts, scripts
+    db $00 ; connections
+
+    dw $550a ; objects
+
+INCBIN "baserom.gbc",$1D46E,$20000-$1D46E
 
 SECTION "bank8",DATA,BANK[$8]
 INCBIN "baserom.gbc",$20000,$4000