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
417 B
NASM
Executable file
8 lines
417 B
NASM
Executable file
Route21_h: ; 0x54fff to 0x55021 (34 bytes) (id=32)
|
|
db OVERWORLD ; tileset
|
|
db ROUTE_21_HEIGHT, ROUTE_21_WIDTH ; dimensions (y, x)
|
|
dw Route21Blocks, Route21TextPointers, Route21Script ; blocks, texts, scripts
|
|
db NORTH | SOUTH ; connections
|
|
NORTH_MAP_CONNECTION ROUTE_21, PALLET_TOWN, 0, 0, PalletTownBlocks
|
|
SOUTH_MAP_CONNECTION ROUTE_21, CINNABAR_ISLAND, 0, 0, CinnabarIslandBlocks, 1
|
|
dw Route21Object ; objects
|