aboutsummaryrefslogtreecommitdiffstats
path: root/data/mapHeaders/lavendertown.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2015-07-18 15:20:07 -0500
committerdannye <corrnondacqb@yahoo.com>2015-07-18 15:20:07 -0500
commit0ad1153f165023220c7c2e3bb187ccc5d6ca75bd (patch)
tree3bf5ac6989cd90c87384ba00b8387e3398e2f37d /data/mapHeaders/lavendertown.asm
parentMerge pull request #104 from YamaArashi/master (diff)
downloadpokeyellow-0ad1153f165023220c7c2e3bb187ccc5d6ca75bd.tar.gz
pokeyellow-0ad1153f165023220c7c2e3bb187ccc5d6ca75bd.tar.xz
pokeyellow-0ad1153f165023220c7c2e3bb187ccc5d6ca75bd.zip
Simplify map connections
let the macros calculate the connection strip length instead of passing it as an arg don't pass map dimensions since they can be inferred from map ids todo: figure out why certain south and east connections get an extra 3 added to the connection strip length
Diffstat (limited to 'data/mapHeaders/lavendertown.asm')
-rwxr-xr-xdata/mapHeaders/lavendertown.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/mapHeaders/lavendertown.asm b/data/mapHeaders/lavendertown.asm
index 2880dc60..72952d41 100755
--- a/data/mapHeaders/lavendertown.asm
+++ b/data/mapHeaders/lavendertown.asm
@@ -3,7 +3,7 @@ LavenderTown_h: ; 0x44000 to 0x4402d (45 bytes) (bank=11) (id=4)
db LAVENDER_TOWN_HEIGHT, LAVENDER_TOWN_WIDTH ; dimensions (y, x)
dw LavenderTownBlocks, LavenderTownTextPointers, LavenderTownScript ; blocks, texts, scripts
db NORTH | SOUTH | WEST ; connections
- NORTH_MAP_CONNECTION ROUTE_10, ROUTE_10_WIDTH, ROUTE_10_HEIGHT, 0, 0, ROUTE_10_WIDTH, Route10Blocks
- SOUTH_MAP_CONNECTION ROUTE_12, ROUTE_12_WIDTH, 0, 0, ROUTE_12_WIDTH, Route12Blocks, LAVENDER_TOWN_WIDTH, LAVENDER_TOWN_HEIGHT
- WEST_MAP_CONNECTION ROUTE_8, ROUTE_8_WIDTH, 0, 0, ROUTE_8_HEIGHT, Route8Blocks, LAVENDER_TOWN_WIDTH
+ NORTH_MAP_CONNECTION LAVENDER_TOWN, ROUTE_10, 0, 0, Route10Blocks
+ SOUTH_MAP_CONNECTION LAVENDER_TOWN, ROUTE_12, 0, 0, Route12Blocks, 1
+ WEST_MAP_CONNECTION LAVENDER_TOWN, ROUTE_8, 0, 0, Route8Blocks
dw LavenderTownObject ; objects