mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
94057c7726
This was discussed in #815
36 lines
1.1 KiB
NASM
36 lines
1.1 KiB
NASM
; Maps that roaming monsters can be on, and possible maps they can jump to.
|
|
; Notably missing are Route 40 and Route 41, which are water routes.
|
|
|
|
roam_map: MACRO
|
|
map_id \1
|
|
db _NARG - 1
|
|
rept _NARG - 1
|
|
map_id \2
|
|
shift
|
|
endr
|
|
db 0
|
|
list_index = list_index + 1
|
|
ENDM
|
|
|
|
RoamMaps:
|
|
list_start RoamMaps
|
|
; start map, ...other maps
|
|
roam_map ROUTE_29, ROUTE_30, ROUTE_46
|
|
roam_map ROUTE_30, ROUTE_29, ROUTE_31
|
|
roam_map ROUTE_31, ROUTE_30, ROUTE_32, ROUTE_36
|
|
roam_map ROUTE_32, ROUTE_36, ROUTE_31, ROUTE_33
|
|
roam_map ROUTE_33, ROUTE_32, ROUTE_34
|
|
roam_map ROUTE_34, ROUTE_33, ROUTE_35
|
|
roam_map ROUTE_35, ROUTE_34, ROUTE_36
|
|
roam_map ROUTE_36, ROUTE_35, ROUTE_31, ROUTE_32, ROUTE_37
|
|
roam_map ROUTE_37, ROUTE_36, ROUTE_38, ROUTE_42
|
|
roam_map ROUTE_38, ROUTE_37, ROUTE_39, ROUTE_42
|
|
roam_map ROUTE_39, ROUTE_38
|
|
roam_map ROUTE_42, ROUTE_43, ROUTE_44, ROUTE_37, ROUTE_38
|
|
roam_map ROUTE_43, ROUTE_42, ROUTE_44
|
|
roam_map ROUTE_44, ROUTE_42, ROUTE_43, ROUTE_45
|
|
roam_map ROUTE_45, ROUTE_44, ROUTE_46
|
|
roam_map ROUTE_46, ROUTE_45, ROUTE_29
|
|
assert_list_length NUM_ROAMMON_MAPS
|
|
db -1 ; end
|