shithub: pokered

Download patch

ref: 3174f3f124d114e16f33a26089baec4505ecd3a1
parent: c6e1e5817655a964d7dbf4154522f7264bc1c6f0
author: Bryan Bishop <kanzure@gmail.com>
date: Mon Jan 2 18:38:57 EST 2012

lavender town map header asm

hg-commit-id: bfcae8d74c18


--- a/pokered.asm
+++ b/pokered.asm
@@ -5039,7 +5039,33 @@
 
     dw $4786 ; objects
 
-INCBIN "baserom.gbc",$18786,$18E5B-$18786
+INCBIN "baserom.gbc",$18786,$18998-$18786
+
+LavenderTown_h: ; 0x18998 to 0x189ba (34 bytes) (bank=6) (id=5)
+    db $00 ; tileset
+    db $12, $14 ; dimensions (y, x)
+    dw $4a3f, $586f, $57a1 ; blocks, texts, scripts
+    db NORTH | EAST ; connections
+
+    ; connections data
+
+    db $11 ; some map
+    dw $410f, $c6f0 ; pointers (connected, current) (strip)
+    db $0a, $0a ; bigness, width
+    db $23, $f6 ; alignments (y, x)
+    dw $c809 ; window
+
+    db $16 ; some map
+    dw $455f, $c7b5 ; pointers (connected, current) (strip)
+    db $09, $1e ; bigness, width
+    db $f8, $00 ; alignments (y, x)
+    dw $c70d ; window
+
+    ; end connection data
+
+    dw $49ba ; objects
+
+INCBIN "baserom.gbc",$189BA,$18E5B-$189BA
 
 PalletTownScript:
 	ld a,[$D74B]