scoreboard players set .points arena 0
# function main:settings/kill
kill @e[type=#main:not_enemies_not_player,tag=!smithed.entity]

tag @a add choice
tag @a remove boss_battle
tag @a remove fountain_room

execute if score .stage arena matches 1 run function main:game/stage_end/spawn_portals {"reward_xyz":"57.9 -59 85"}
execute if score .stage arena matches 3 run function main:game/stage_end/spawn_portals {"reward_xyz":"157 -60 84"}
execute if score .stage arena matches 2 run function main:game/stage_end/spawn_portals {"reward_xyz":"157.9 -58 185"}
execute if score .stage arena matches 4 run function main:game/stage_end/spawn_portals {"reward_xyz":"164 -59 -24"}

execute as @e[type=armor_stand,tag=reward_portal] at @s run function main:game/stage_end/start_1