shithub: pokered

Download patch

ref: 888bf6db4ace691da9ff01a5307abe22bc572b50
parent: 76080c39787ccd0511bd38c937e45b971e056413
author: Bryan Bishop <kanzure@gmail.com>
date: Sat Jan 14 13:49:27 EST 2012

improve map headers

hg-commit-id: ccd7006b60e3


--- a/common.asm
+++ b/common.asm
@@ -36971,7 +36971,7 @@
 CinnabarGym_h: ; 0x7573e to 0x7574a (12 bytes) (id=166)
     db $16 ; tileset
     db $09, $0a ; dimensions (y, x)
-    dw $5b26, CinnabarGymTexts, CinnabarGymScript ; blocks, texts, scripts
+    dw CinnabarGymBlocks, CinnabarGymTexts, CinnabarGymScript ; blocks, texts, scripts
     db $00 ; connections
 
     dw CinnabarGymObject ; objects
@@ -37441,7 +37441,7 @@
 Lab4_h: ; 0x75d25 to 0x75d31 (12 bytes) (id=170)
     db $14 ; tileset
     db $04, $04 ; dimensions (y, x)
-    dw Lab4Blocks, $5d34, $5d31 ; blocks, texts, scripts
+    dw Lab4Blocks, Lab4Texts, Lab4Script ; blocks, texts, scripts
     db $00 ; connections
 
     dw Lab4Object ; objects
@@ -37450,7 +37450,10 @@
     jp $3c3c
 ; 0x75d34
 
-INCBIN "baserom.gbc",$75d34,$38
+Lab4Texts:
+    dw Lab4Text1, Lab4Text2
+
+INCBIN "baserom.gbc",$75d34 + 4,$38 -4
 
 Lab4Text1: ; 0x75d6c
     db $8