#new stage
function main:settings/kill
kill @e[type=#main:not_mob,tag=arena_object]
scoreboard players add .stage arena 1
execute as @a if score .stage arena matches 1 run function main:game/start/stage/1
execute as @a if score .stage arena matches 3 run function main:game/start/stage/2
execute as @a if score .stage arena matches 2 run function main:game/start/stage/3
execute as @a if score .stage arena matches 4 run function main:game/start/stage/4
execute as @a if score .stage arena matches 5 run function main:game/start/stage/entry

#health increase per room
execute if score .stage arena matches 1 run return fail
execute if score .difficulty_level progression matches 0 run scoreboard players add .health_multiplier arena 30
execute if score .difficulty_level progression matches 1 run scoreboard players add .health_multiplier arena 50
execute if score .difficulty_level progression matches 2 run scoreboard players add .health_multiplier arena 55
execute if score .difficulty_level progression matches 3 run scoreboard players add .health_multiplier arena 60
execute if score .difficulty_level progression matches 4 run scoreboard players add .health_multiplier arena 65
execute if score .difficulty_level progression matches 5 run scoreboard players add .health_multiplier arena 70

function main:dialog/id/room/check