# Title
summon armor_stand 0 18 35 {CustomName:'[{"text":">> BATTLE <<","color":"gold","bold":"true"}]',Tags:["unspellable","tutorial_obj"]}

# Text
summon armor_stand 0 15.75 32 {CustomName:'[{"text":"Rooms spawn enemies upon entering "}]',Tags:["unspellable","tutorial_obj"]}
summon armor_stand 0 15.5 32 {CustomName:'[{"text":"and gates close."}]',Tags:["unspellable","tutorial_obj"]}
summon armor_stand 0 15.25 32 {CustomName:'[{"text":"Completing it rewards you with drops."}]',Tags:["unspellable","tutorial_obj"]}

# Gate
summon area_effect_cloud 0 12 38 {Tags:["gate","unspellable","tutorial_obj","N"],Duration:36000000}
summon area_effect_cloud 0 12 51 {Tags:["gate","unspellable","tutorial_obj","S"],Duration:36000000}

# Center
summon area_effect_cloud 0 12 44 {Tags:["center","middle","unspellable","tutorial_obj"],Duration:36000000}
summon area_effect_cloud 0 12 44 {Tags:["drop_mark","unspellable","tutorial_obj"],Duration:36000000}
execute positioned 0 12 44 run scoreboard players set @e[distance=..0.5,tag=center,limit=1] room_state 1

# Mobs
summon area_effect_cloud -2 12 44 {Tags:["mob","filled","basic_slime","unspellable","tutorial_obj","w1"],Duration:36000000}
summon area_effect_cloud 3 12 47 {Tags:["mob","filled","basic_slime","unspellable","tutorial_obj","w1"],Duration:36000000}
