#tp
time set day
# scoreboard players add .damage_multiplier arena 10

effect give @a blindness 2 5 true

function main:game/room/random/stage/2

#reset
function main:game/reset

function main:game/room/start {"stage":2}
function main:game/wave/next {"tag":"choice_1_this"}

#tp
# time set day
# tp @a 154 -60 84 0 0
# execute as @a anchored eyes at @s positioned ^ ^-1 ^0.2 as @e[type=item_display,tag=aj.portal.root] run tp @s ^ ^ ^ ~ ~


# effect give @a blindness 2 5 true
# execute as @s at @s run summon firework_rocket ~ ~ ~ {Life:0,LifeTime:0,FireworksItem:{id:"firework_rocket",count:1,components:{fireworks:{explosions:[{shape:"star",has_trail:0b,colors:[I;16772608],fade_colors:[I;16755200]}]}}}}

# schedule function main:game/wave/stages/2/spawn 5t

# kill @e[type=armor_stand,tag=spawn_ranged]

# summon armor_stand 139 -54 103 {Invisible:1b,NoGravity:1b,Invulnerable:1b,Tags:["spawn_ranged"]}
# summon armor_stand 139 -54 65 {Invisible:1b,NoGravity:1b,Invulnerable:1b,Tags:["spawn_ranged"]}
# summon armor_stand 177 -54 65 {Invisible:1b,NoGravity:1b,Invulnerable:1b,Tags:["spawn_ranged"]}
# summon armor_stand 177 -54 103 {Invisible:1b,NoGravity:1b,Invulnerable:1b,Tags:["spawn_ranged"]}

# #sounds
# execute at @a run playsound block.beacon.activate master @a ~ ~ ~ 10 1
# execute at @a run playsound block.portal.travel master @a ~ ~ ~ 0.3 1

#reset
# function main:game/reset