execute as @e[type=block_display,tag=jjc_primal_aspid_zs0] at @s run data modify entity @s Rotation set from entity @n[distance=..200,type=ghast,tag=jjc_primal_aspid] Rotation

execute as @e[type=ghast,tag=jjc_primal_aspid,predicate=colosseum_of_fools:ss/player] at @s anchored eyes positioned ^ ^ ^ as @n[type=fireball,tag=!jjc_primal_aspid_j_detected,distance=..5] at @s on origin run tag @s[type=ghast,tag=jjc_primal_aspid,predicate=colosseum_of_fools:ss/player] add jjc_primal_aspid_s
execute if entity @e[type=ghast,tag=jjc_primal_aspid_s] run function colosseum_of_fools:ss/ghast/primal_aspid/2
execute as @e[type=ghast,tag=jjc_primal_aspid_s,predicate=colosseum_of_fools:ss/player] at @s anchored eyes run tag @n[distance=..200,type=fireball,tag=!jjc_primal_aspid_j_detected] add jjc_primal_aspid_j_detected