shithub: pokecrystal

Download patch

ref: 1ef4b0e848091890d65d2f73e69cb776585d32b9
parent: d4074dd3853e819b6e544d296b227550772c73d1
author: yenatch <[email protected]>
date: Fri Dec 20 16:21:43 EST 2013

move blockdata into maps.asm

--- a/contents.asm
+++ b/contents.asm
@@ -74,6 +74,10 @@
 
 MAP_HEADERS               EQU $25
 
+MAPS_1                    EQU $2A
+MAPS_2                    EQU $2B
+MAPS_3                    EQU $2C
+
 MAP_SCRIPTS_1             EQU $15
 MAP_SCRIPTS_2             EQU $16
 MAP_SCRIPTS_3             EQU $17
--- a/main.asm
+++ b/main.asm
@@ -71853,20 +71853,6 @@
 INCLUDE "text/phone/extra2.asm"
 
 
-SECTION "bank2A", ROMX, BANK[$2A]
-
-INCLUDE "maps/blockdata_1.asm"
-
-
-SECTION "bank2B", ROMX, BANK[$2B]
-
-INCLUDE "maps/blockdata_2.asm"
-
-
-SECTION "bank2C", ROMX, BANK[$2C]
-
-INCLUDE "maps/blockdata_3.asm"
-
 
 SECTION "Tileset Data 5", ROMX, BANK[TILESETS_5]
 
--- a/maps.asm
+++ b/maps.asm
@@ -5,6 +5,23 @@
 INCLUDE "maps/second_map_headers.asm"
 
 
+
+SECTION "Map Blockdata 1", ROMX, BANK[MAPS_1]
+
+INCLUDE "maps/blockdata_1.asm"
+
+
+SECTION "Map Blockdata 2", ROMX, BANK[MAPS_2]
+
+INCLUDE "maps/blockdata_2.asm"
+
+
+SECTION "Map Blockdata 3", ROMX, BANK[MAPS_3]
+
+INCLUDE "maps/blockdata_3.asm"
+
+
+
 SECTION "Map Scripts 1", ROMX, BANK[MAP_SCRIPTS_1]
 
 INCLUDE "maps/GoldenrodGym.asm"