# N
execute if score rotation map matches 180 positioned ~ ~ ~-47 if entity @e[distance=..2,tag=mapped] at @e[tag=drop_mark,distance=..23,sort=nearest,limit=1] run function game:map/tp
# S
execute if score rotation map matches 0 positioned ~ ~ ~47 if entity @e[distance=..2,tag=mapped] at @e[tag=drop_mark,distance=..23,sort=nearest,limit=1] run function game:map/tp
# E
execute if score rotation map matches 270 positioned ~47 ~ ~ if entity @e[distance=..2,tag=mapped] at @e[tag=drop_mark,distance=..23,sort=nearest,limit=1] run function game:map/tp
# W
execute if score rotation map matches 90 positioned ~-47 ~ ~ if entity @e[distance=..2,tag=mapped] at @e[tag=drop_mark,distance=..23,sort=nearest,limit=1] run function game:map/tp

particle cloud ~ ~.8 ~ .4 .8 .4 .1 15 force
particle smoke ~ ~.8 ~ .4 .8 .4 .1 15 force

scoreboard players set @s cast 0
