aboutsummaryrefslogtreecommitdiffstats
path: root/data/mapHeaders/Route20.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 15:25:43 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 15:49:12 -0400
commit710c3275fc6a4caeeff3ad89c029a05984cf8388 (patch)
tree1e2b6449134ef7766ee110af7f7382d9e1c04952 /data/mapHeaders/Route20.asm
parentSplit up engine/events/hidden_object_functions (diff)
downloadpokeyellow-710c3275fc6a4caeeff3ad89c029a05984cf8388.tar.gz
pokeyellow-710c3275fc6a4caeeff3ad89c029a05984cf8388.tar.xz
pokeyellow-710c3275fc6a4caeeff3ad89c029a05984cf8388.zip
Simplify map connections
To do: Polished Map support for detecting the tileset
Diffstat (limited to 'data/mapHeaders/Route20.asm')
-rwxr-xr-xdata/mapHeaders/Route20.asm15
1 files changed, 5 insertions, 10 deletions
diff --git a/data/mapHeaders/Route20.asm b/data/mapHeaders/Route20.asm
index 03455c54..3495b785 100755
--- a/data/mapHeaders/Route20.asm
+++ b/data/mapHeaders/Route20.asm
@@ -1,10 +1,5 @@
-Route20_h::
- db OVERWORLD ; tileset
- db ROUTE_20_HEIGHT, ROUTE_20_WIDTH ; dimensions (y, x)
- dw Route20_Blocks ; blocks
- dw Route20_TextPointers ; texts
- dw Route20_Script ; scripts
- db WEST | EAST ; connections
- WEST_MAP_CONNECTION ROUTE_20, CINNABAR_ISLAND, 0, 0, CinnabarIsland_Blocks
- EAST_MAP_CONNECTION ROUTE_20, ROUTE_19, -3, 15, Route19_Blocks
- dw Route20_Object ; objects
+
+ map_header Route20, ROUTE_20, OVERWORLD, WEST | EAST
+ connection west, CinnabarIsland, CINNABAR_ISLAND, 0
+ connection east, Route19, ROUTE_19, -18
+ end_map_header