tag @s add executor
execute unless entity @s[scores={svm_ep.p.phase_awakening_lenght=1..}] run effect give @s minecraft:darkness 2 0 true
execute unless entity @s[scores={svm_ep.p.phase_awakening_lenght=1..}] run effect clear @s[scores={svm_ep.using_move=..1202}] minecraft:darkness

gamemode spectator @s[scores={svm_ep.using_move=1202..1400}]
execute as @s[scores={svm_ep.using_move=1202}] run function svm_ep:power/phase/full_phase/end


execute at @s unless entity @e[type=minecraft:area_effect_cloud,tag=svm_ep.phase_marker,distance=..40] run function svm_ep:power/phase/full_phase/tp_to_marker
execute at @s if entity @a[tag=!executor,tag=svm_ep.phase_user,scores={svm_ep.using_move=1201..1400}] run function svm_ep:power/phase/full_phase/check_with_ids

execute at @s summon minecraft:area_effect_cloud run function svm_ep:power/phase/full_phase/summon_marker



tag @s remove executor
