shithub: pokered

Download patch

ref: fff8bbcf531dd0a44273aec4e9a66fd56006bbe4
parent: 8a1b1591db226152c2e85a71965dd2aa19cc1b15
author: Bryan Bishop <kanzure@gmail.com>
date: Mon Jan 2 22:01:52 EST 2012

SaffronHouse1_h map header asm

hg-commit-id: 105bb812fcc3


--- a/pokered.asm
+++ b/pokered.asm
@@ -294,7 +294,7 @@
 	dw $4c65
 	dw $4d51
 	dw $5001
-	dw $5dd1
+	dw SaffronHouse1_h
 	dw $53fd
 	dw $5442
 	dw $5529
@@ -2319,7 +2319,7 @@
 	db $17
 	db $17
 	db $17
-	db $07
+	db BANK(SaffronHouse1_h)
 	db $17
 	db $17
 	db $17
@@ -5903,7 +5903,17 @@
 
     dw $5d9b ; objects
 
-INCBIN "baserom.gbc",$1DD88,$20000-$1DD88
+INCBIN "baserom.gbc",$1DD88,$1DDD1-$1DD88
+
+SaffronHouse1_h: ; 0x1ddd1 to 0x1dddd (12 bytes) (bank=7) (id=179)
+    db $08 ; tileset
+    db $04, $04 ; dimensions (y, x)
+    dw $41de, $5de0, $5ddd ; blocks, texts, scripts
+    db $00 ; connections
+
+    dw $5e04 ; objects
+
+INCBIN "baserom.gbc",$1DDDD,$20000-$1DDDD
 
 SECTION "bank8",DATA,BANK[$8]
 INCBIN "baserom.gbc",$20000,$4000