execute at @s positioned ~ ~ ~4 run fill ~-8 128 ~ ~12 142 ~ minecraft:gray_concrete_powder replace #suhc:turntoash
execute at @s positioned ~ ~ ~4 run fill ~-8 128 ~ ~12 142 ~ minecraft:air replace minecraft:weeping_vines_plant
execute at @s positioned ~ ~ ~4 run fill ~-8 128 ~ ~12 142 ~ minecraft:air replace minecraft:weeping_vines
execute at @s positioned ~ ~ ~4 run fill ~-10 128 ~ ~12 128 ~ minecraft:obsidian replace minecraft:lava

execute at @s positioned ~ ~ ~4 run fill ~-8 140 ~ ~11 141 ~ minecraft:air replace minecraft:end_gateway


execute at @s run execute as @e[tag=WallMove,distance=..30] run execute at @s run tp @s ~ ~ ~-.33 180 0
execute at @s run execute as @e[tag=WallMove,distance=..30] run execute at @s run tp @s ~ ~ ~-.33 180 0
execute at @s positioned ~ ~ ~4 run fill ~-8 128 ~ ~12 142 ~ minecraft:gray_concrete_powder replace #suhc:turntoash
execute at @s run execute as @e[tag=WallMove,distance=..30] run execute at @s run tp @s ~ ~ ~-.33 180 0


execute at @s[scores={AttackTimer=535}] run playsound minecraft:entity.skeleton_horse.death hostile @a[distance=..125] ~ ~5000 ~ 500 0.75 1
execute at @s[scores={AttackTimer=565..589}] run execute at @e[type=armor_stand,name=CadeyrnFight] positioned ~18 ~12 ~-28 run particle dust 1 0 1 1 ~ ~ ~ 3.5 1 0 1 60 force

execute at @s[scores={AttackTimer=599}] run execute as @e[tag=WallMove,distance=..50] run execute at @s run tp @s ~-35 ~ ~ 0 0
execute at @s[scores={AttackTimer=599}] run execute as @e[tag=WallMove,distance=..50,type=!armor_stand,type=!falling_block] run execute at @s run tp @s ~ ~ ~5 0 0