mirror of
https://github.com/pret/pokered.git
synced 2024-10-24 15:27:10 +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
8 lines
404 B
NASM
Executable file
8 lines
404 B
NASM
Executable file
CeladonCity_h: ; 18000 (6:4000)
|
|
db OVERWORLD ; tileset
|
|
db CELADON_CITY_HEIGHT, CELADON_CITY_WIDTH ; dimensions (y, x)
|
|
dw CeladonCityBlocks, CeladonCityTextPointers, CeladonCityScript ; blocks, texts, scripts
|
|
db WEST | EAST ; connections
|
|
WEST_MAP_CONNECTION CELADON_CITY, ROUTE_16, 4, 0, Route16Blocks
|
|
EAST_MAP_CONNECTION CELADON_CITY, ROUTE_7, 4, 0, Route7Blocks, 1
|
|
dw CeladonCityObject ; objects
|