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
569 B
NASM
Executable file
10 lines
569 B
NASM
Executable file
SaffronCity_h: ; 0x509a4 to 0x509dc (56 bytes) (id=10)
|
|
db OVERWORLD ; tileset
|
|
db SAFFRON_CITY_HEIGHT, SAFFRON_CITY_WIDTH ; dimensions (y, x)
|
|
dw SaffronCityBlocks, SaffronCityTextPointers, SaffronCityScript ; blocks, texts, scripts
|
|
db NORTH | SOUTH | WEST | EAST ; connections
|
|
NORTH_MAP_CONNECTION SAFFRON_CITY, ROUTE_5, 5, 0, Route5Blocks
|
|
SOUTH_MAP_CONNECTION SAFFRON_CITY, ROUTE_6, 5, 0, Route6Blocks, 1
|
|
WEST_MAP_CONNECTION SAFFRON_CITY, ROUTE_7, 4, 0, Route7Blocks
|
|
EAST_MAP_CONNECTION SAFFRON_CITY, ROUTE_8, 4, 0, Route8Blocks
|
|
dw SaffronCityObject ; objects
|