pokecrystal-board/data/maps/spawn_points.asm
2023-12-14 17:13:07 +01:00

23 lines
713 B
NASM

MACRO spawn
; map, x, y
map_id \1
db \2, \3
ENDM
SpawnPoints:
; entries correspond to SPAWN_* constants (see constants/map_data_constants.asm)
table_width 4, SpawnPoints
spawn LEVEL_1_MAP_1, 3, 3 ; SPAWN_LEVEL_1
; spawn LEVEL_2_MAP_1, 5, 3 ; SPAWN_LEVEL_2
if DEF(_DEBUG)
spawn DEBUGLEVEL_1_MAP_1, 3, 3 ; SPAWN_DEBUGLEVEL_1
spawn DEBUGLEVEL_2_MAP_1, 6, 16 ; SPAWN_DEBUGLEVEL_2
spawn DEBUGLEVEL_3_MAP_1, 3, 3 ; SPAWN_DEBUGLEVEL_3
spawn DEBUGLEVEL_4_MAP_1, 4, 6 ; SPAWN_DEBUGLEVEL_4
spawn DEBUGLEVEL_5_MAP_1, 2, 4 ; SPAWN_DEBUGLEVEL_5
endc
spawn N_A, -1, -1
assert_table_length NUM_SPAWNS + 1