## Softlock check to run periodically from the fares_portal

tag @a[x=94,y=174,z=53,dx=3,dy=5,dz=5] add InTopCell
tag @a[x=94,y=174,z=72,dx=3,dy=5,dz=5] add InTopCell
tag @a[x=112,y=174,z=72,dx=3,dy=5,dz=5] add InTopCell
tag @a[x=112,y=174,z=53,dx=3,dy=5,dz=5] add InTopCell

execute as @a[tag=InTopCell] if entity @s[hasitem={item=ldz:morph_vanilla},scores={CurrentForce=..2}] run scoreboard players set @s CurrentForce 3
execute as @a[tag=InTopCell] unless entity @s[hasitem={item=ldz:morph_vanilla}] run tp 104 173 58 0 38
execute as @a[tag=InTopCell] unless entity @s[hasitem={item=ldz:morph_vanilla}] run playsound player.morph.vanilla.teleport @a 104 173 58 2.0
execute as @a[tag=InTopCell] unless entity @s[hasitem={item=ldz:morph_vanilla}] run particle ldz:vanilla_teleport 104 173 58


tag @a remove InTopCell