## These are here to account for skipping the tutorial early
execute unless score .current TutorialStage matches 7 run function admin/spawn_and_tp_fares_portal
execute unless score .current TutorialStage matches 7 run event entity @e[type=ldz:fares_portal] set_vanilla_to_true

execute if entity @p[tag=dev] run say Tutorial Complete
event entity @a set_tutorial_stage_to_0
scoreboard players set @a TutorialStage 0
scoreboard players set .current TutorialStage 0


event entity @e[type=ldz:tutorial_enderman] despawn
event entity @e[type=ldz:tutorial_ender_lord] despawn
event entity @e[family=portal_room_lever,c=1] set_power_to_true
event entity @e[family=portal_room_lever,c=1] set_invisible_to_false
event entity @e[type=ldz:magic_barrier,family=portal_room_barrier] set_barrier_to_disappear
fill 103 167 53 105 169 53 ldz:lit_air

event entity @e[type=ldz:fares_portal] set_cell_status_to_opening

# gamerule keepinventory false

event entity @a set_escape_hub_check_to_true

tag @a remove HideEndForceUI