mirror of
https://github.com/pret/pokered.git
synced 2024-10-24 07:25:21 +00:00
0ad1153f16
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
10 lines
431 B
NASM
Executable file
10 lines
431 B
NASM
Executable file
PewterCity_h: ; 0x18554 to 0x18576 (34 bytes) (bank=6) (id=2)
|
|
db OVERWORLD ; tileset
|
|
db PEWTER_CITY_HEIGHT, PEWTER_CITY_WIDTH ; dimensions (y, x)
|
|
dw PewterCityBlocks, PewterCityTextPointers, PewterCityScript ; blocks, texts, scripts
|
|
db SOUTH | EAST ; connections
|
|
SOUTH_MAP_CONNECTION PEWTER_CITY, ROUTE_2, 5, 0, Route2Blocks
|
|
EAST_MAP_CONNECTION PEWTER_CITY, ROUTE_3, 4, 0, Route3Blocks
|
|
dw PewterCityObject ; objects
|
|
|
|
db $0
|