# © Spark Universe, 2023
# authors: destruc7i0n
# description: run when tutorial tickingarea loaded
# called by: 

# -16 0 256 is origin of tutorial area

# testing area
fill -16 0 256 15 0 287 stone

# load spawn room, 7 block offset
execute positioned -9 1 263 run function spark/tutorial/start/load

execute as @e[type=spark:tutorial_marker] at @s run tp @s ~ -100 ~
event entity @e[type=spark:tutorial_marker] spark:despawn

# spawn main marker/pointer
summon spark:tutorial_marker 15 16 256
tag @e[x=15,y=16,z=256,c=1,type=spark:tutorial_marker] add tutorial_main

spawnpoint @a -9 2 260
tp @a -9 2 260 0 0
