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
388 B
NASM
Executable file
8 lines
388 B
NASM
Executable file
Route2_h: ; 54000 (15:4000)
|
|
db 00 ; Tileset
|
|
db ROUTE_2_HEIGHT,ROUTE_2_WIDTH ;Height,Width blocks (1 block = 4x4 tiles)
|
|
dw Route2Blocks, Route2TextPointers, Route2Script
|
|
db NORTH | SOUTH ;Connection Byte
|
|
NORTH_MAP_CONNECTION ROUTE_2, PEWTER_CITY, -3, 2, PewterCityBlocks
|
|
SOUTH_MAP_CONNECTION ROUTE_2, VIRIDIAN_CITY, -3, 2, ViridianCityBlocks, 1
|
|
dw Route2Object ;Object Data Pointer
|