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
9 lines
475 B
NASM
Executable file
9 lines
475 B
NASM
Executable file
Route12_h: ; 0x5866d to 0x5869a (45 bytes) (id=23)
|
|
db OVERWORLD ; tileset
|
|
db ROUTE_12_HEIGHT, ROUTE_12_WIDTH ; dimensions (y, x)
|
|
dw Route12Blocks, Route12TextPointers, Route12Script ; blocks, texts, scripts
|
|
db NORTH | SOUTH | WEST ; connections
|
|
NORTH_MAP_CONNECTION ROUTE_12, LAVENDER_TOWN, 0, 0, LavenderTownBlocks
|
|
SOUTH_MAP_CONNECTION ROUTE_12, ROUTE_13, -3, 17, Route13Blocks
|
|
WEST_MAP_CONNECTION ROUTE_12, ROUTE_11, 27, 0, Route11Blocks
|
|
dw Route12Object ; objects
|