execute at @s run summon minecraft:skeleton_horse ~3.5 ~ ~ {Rotation:[180F,0F],Tags:["DiePls","PhaseHorse","WallMove"],Invulnerable:1,NoGravity:1,Passengers:[{id:"minecraft:stray",Invulnerable:1,ArmorItems:[{id:"minecraft:netherite_boots",Count:1b},{id:"minecraft:netherite_leggings",Count:1b},{id:"minecraft:netherite_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],ActiveEffects:[{Id:14b,Amplifier:1b,Duration:0000}],Rotation:[180F,0F],Tags:["DiePls","WallMove"]}],Attributes:[{Name:generic.knockback_resistance,Base:1}]}
execute at @s run summon minecraft:skeleton_horse ~7 ~ ~ {Rotation:[180F,0F],Tags:["DiePls","PhaseHorse","WallMove"],Invulnerable:1,NoGravity:1,Passengers:[{id:"minecraft:stray",Invulnerable:1,ArmorItems:[{id:"minecraft:netherite_boots",Count:1b},{id:"minecraft:netherite_leggings",Count:1b},{id:"minecraft:netherite_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],ActiveEffects:[{Id:14b,Amplifier:1b,Duration:0000}],Rotation:[180F,0F],Tags:["DiePls","WallMove"]}],Attributes:[{Name:generic.knockback_resistance,Base:1}]}
execute at @s run summon minecraft:skeleton_horse ~-3.5 ~ ~ {Rotation:[180F,0F],Tags:["DiePls","PhaseHorse","WallMove"],Invulnerable:1,NoGravity:1,Passengers:[{id:"minecraft:stray",Invulnerable:1,ArmorItems:[{id:"minecraft:netherite_boots",Count:1b},{id:"minecraft:netherite_leggings",Count:1b},{id:"minecraft:netherite_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],ActiveEffects:[{Id:14b,Amplifier:1b,Duration:0000}],Rotation:[180F,0F],Tags:["DiePls","WallMove"]}],Attributes:[{Name:generic.knockback_resistance,Base:1}]}
execute at @s run summon minecraft:skeleton_horse ~-7 ~ ~ {Rotation:[180F,0F],Tags:["DiePls","PhaseHorse","WallMove"],Invulnerable:1,NoGravity:1,Passengers:[{id:"minecraft:stray",Invulnerable:1,ArmorItems:[{id:"minecraft:netherite_boots",Count:1b},{id:"minecraft:netherite_leggings",Count:1b},{id:"minecraft:netherite_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],ActiveEffects:[{Id:14b,Amplifier:1b,Duration:0000}],Rotation:[180F,0F],Tags:["DiePls","WallMove"]}],Attributes:[{Name:generic.knockback_resistance,Base:1}]}
execute at @s run execute as @e[tag=CadeyrnTP,distance=..5] run execute at @s run tp @s ~ ~ ~-.35 180 0
execute at @e[type=skeleton_horse,tag=PhaseHorse] run particle minecraft:crimson_spore ~ ~ ~ 0.2 0.2 0.2 0 200 force
execute at @e[type=skeleton_horse,tag=PhaseHorse] run playsound minecraft:entity.generic.explode hostile @a[distance=..125] ~ ~ ~ 5 1.5 1


execute at @e[name=CadeyrnFight] run fill ~18 ~24 ~25 ~18 ~24 ~25 minecraft:structure_block[mode=load]{name:"suhc:phasefirewall",posX:-7,posZ:2,posY:-26,rotation:NONE,mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy
execute at @e[name=CadeyrnFight] run fill ~18 ~25 ~25 ~18 ~25 ~25 redstone_block

execute at @e[type=minecraft:armor_stand,tag=PhaseFireWall] run summon armor_stand ~ ~ ~ {Tags:["DiePls","PhaseFireWall2","WallMove"],NoGravity:1b,Invulnerable:1b,Invisible:1b,Silent:1b,Silent:1b,Passengers:[{id:"minecraft:falling_block",BlockState:{Name:"minecraft:soul_fire"},Time:1}]}
kill @e[type=armor_stand,tag=PhaseFireWall]