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
8 lines
400 B
NASM
Executable file
8 lines
400 B
NASM
Executable file
Route8_h: ; 0x5812d to 0x5814f (34 bytes) (id=19)
|
|
db OVERWORLD ; tileset
|
|
db ROUTE_8_HEIGHT, ROUTE_8_WIDTH ; dimensions (y, x)
|
|
dw Route8Blocks, Route8TextPointers, Route8Script ; blocks, texts, scripts
|
|
db WEST | EAST ; connections
|
|
WEST_MAP_CONNECTION ROUTE_8, SAFFRON_CITY, -3, 1, SaffronCityBlocks
|
|
EAST_MAP_CONNECTION ROUTE_8, LAVENDER_TOWN, 0, 0, LavenderTownBlocks
|
|
dw Route8Object ; objects
|