execute if entity @s[tag=boss] run function game:room/6_room_completed/boss
execute if entity @s[tag=!shop,tag=!enemy,tag=!trapped] run function game:room/6_room_completed/holder/main
execute if entity @s[tag=shop] run function game:room/6_room_completed/shop/main

# Map
tag @s[tag=!mapped] add mapped
execute if score floor dungeon matches 1.. run function game:map/main

# coin to player
execute as @e[tag=coin] run tp @s @p
