execute as @s[tag=GoUp] run execute at @s run tp @s ^ ^ ^.03 ~ ~-7.5
execute as @s[tag=GoDown] run execute at @s run tp @s ^ ^ ^.03 ~ ~7.5
execute as @s[x_rotation=89..90] run function zzzzdonotuse:cadeyrn/idle/giveuptag
execute as @s[x_rotation=-90..-89] run function zzzzdonotuse:cadeyrn/idle/givedowntag
execute at @s run execute at @e[tag=!PhaseChange,distance=..3,tag=CadeyrnTP,scores={CadeyrnTimer=1..}] run tp @e[tag=CadeyrnTP,distance=..3] @s
execute at @s run execute as @e[tag=!PhaseChange,tag=CadeyrnTP,distance=..3] run execute at @s run tp @s ^ ^ ^ facing entity @p[tag=CadeyrnFightTag]