2022-06-06 14:25:42 -07:00
|
|
|
MACRO spawn
|
2017-12-28 11:31:25 -08:00
|
|
|
; map, x, y
|
2018-02-03 13:58:49 -08:00
|
|
|
map_id \1
|
2017-12-11 10:47:58 -08:00
|
|
|
db \2, \3
|
|
|
|
ENDM
|
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
SpawnPoints:
|
2023-07-25 06:33:08 -07:00
|
|
|
; entries correspond to SPAWN_* constants (see constants/map_data_constants.asm)
|
2021-03-03 19:22:41 -08:00
|
|
|
table_width 4, SpawnPoints
|
2017-12-11 10:47:58 -08:00
|
|
|
|
2023-07-25 06:33:08 -07:00
|
|
|
spawn LEVEL_1_MAP_1, 3, 3 ; SPAWN_LEVEL_1
|
|
|
|
; spawn LEVEL_2_MAP_1, 5, 3 ; SPAWN_LEVEL_2
|
2023-09-02 15:22:23 -07:00
|
|
|
if DEF(_DEBUG)
|
2023-10-17 09:27:28 -07:00
|
|
|
spawn DEBUGLEVEL_1_MAP_1, 3, 3 ; SPAWN_DEBUGLEVEL_1
|
|
|
|
spawn DEBUGLEVEL_2_MAP_1, 3, 3 ; SPAWN_DEBUGLEVEL_2
|
|
|
|
spawn DEBUGLEVEL_3_MAP_1, 3, 3 ; SPAWN_DEBUGLEVEL_3
|
|
|
|
spawn DEBUGLEVEL_4_MAP_1, 3, 3 ; SPAWN_DEBUGLEVEL_4
|
|
|
|
spawn DEBUGLEVEL_5_MAP_1, 2, 4 ; SPAWN_DEBUGLEVEL_5
|
2023-09-02 15:22:23 -07:00
|
|
|
endc
|
2017-12-11 10:47:58 -08:00
|
|
|
spawn N_A, -1, -1
|
2021-03-03 19:22:41 -08:00
|
|
|
|
|
|
|
assert_table_length NUM_SPAWNS + 1
|