pokecrystal-board/data/wild/roammon_maps.asm
vulcandth 3648afda16
RGBDS syntax updates (#905)
New MACRO and DEF syntax
2022-06-06 17:25:42 -04:00

36 lines
1.0 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.
MACRO roam_map
map_id \1
db _NARG - 1
rept _NARG - 1
map_id \2
shift
endr
db 0
DEF 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