scoreboard players add @s jjc_303 1
execute at @s[scores={jjc_303=1..}] run fill ~-16 ~ ~-16 ~16 ~ ~16 pointed_dripstone replace light[level=1]
execute at @s[scores={jjc_303=..100}] unless entity @n[distance=..200,type=marker,tag=jjc_walls_2] unless entity @n[distance=..200,type=marker,tag=jjc_walls_3] at @e[distance=..100,type=marker,tag=jjc_sg_d] run particle cloud ~ ~0.5 ~ 2 0 2 0 1 normal
execute at @s[tag=jjc_spikes2,scores={jjc_303=..100}] run particle cloud ~ ~0.5 ~ 2 0 2 0 1 normal
execute at @s[scores={jjc_303=..100}] at @e[distance=..100,type=marker,tag=jjc_sg_z] run particle cloud ~ ~0.5 ~ 2 0 2 0 1 normal
execute at @s[scores={jjc_303=100}] run particle cloud ~ ~0.5 ~ 16 0 16 0.1 500 normal
execute at @s[scores={jjc_303=..100}] if entity @n[distance=..200,type=block_display,tag=jjc_type_pt,tag=!jjc_walls] positioned ~-17 ~ ~-17 run effect give @a[dx=33,dz=33,dy=1] jump_boost 1 5 false
execute at @s[tag=jjc_spikes2,scores={jjc_303=..100}] positioned ~-17 ~ ~-17 run effect give @a[dx=33,dz=33,dy=1] jump_boost 1 5 false
execute at @s[scores={jjc_303=100}] as @e[type=marker,tag=jjc_sg,distance=..40,limit=20,sort=random] at @s run playsound block.pointed_dripstone.place block @a[distance=..200] ~ ~0.5 ~ 4 1
execute at @s[scores={jjc_303=100..}] run fill ~-16 ~ ~-16 ~16 ~1 ~16 pointed_dripstone replace light[level=1]
execute at @s[tag=jjc_spikes2,scores={jjc_303=..100}] run fill ~-8 ~ ~-16 ~8 ~ ~8 pointed_dripstone replace #colosseum_of_fools:air
execute at @s[tag=jjc_spikes2,scores={jjc_303=100..}] run fill ~-8 ~ ~-16 ~8 ~1 ~8 pointed_dripstone replace #colosseum_of_fools:air
execute at @s[scores={jjc_303=100..}] unless entity @n[distance=..200,type=marker,tag=jjc_spikes,tag=jjc_spikes2,scores={jjc_303=..100}] positioned ~-17 ~ ~-17 as @a[dx=33,dz=33,dy=1,nbt={OnGround:1b,HurtTime:0s},predicate=colosseum_of_fools:on_spikes] at @s run damage @s 5 stalagmite
execute at @s[scores={jjc_303=100..}] unless entity @n[distance=..200,type=marker,tag=jjc_spikes,tag=jjc_spikes2,scores={jjc_303=..100}] positioned ~-17 ~ ~-17 as @a[dx=33,dz=33,dy=1,nbt={OnGround:1b,HurtTime:10s},predicate=colosseum_of_fools:on_spikes] at @s run function colosseum_of_fools:e/spikes/tp
execute at @s[scores={jjc_303=100..}] unless entity @n[distance=..200,type=marker,tag=jjc_spikes,tag=jjc_spikes2,scores={jjc_303=..100}] positioned ~-17 ~ ~-17 as @e[dx=33,dz=33,dy=1,nbt={OnGround:1b,HurtTime:0s},type=!player,type=!#colosseum_of_fools:fly,predicate=colosseum_of_fools:nov,predicate=colosseum_of_fools:on_spikes] at @s run damage @s 8 generic
execute at @s[scores={jjc_303=100..}] run kill @e[type=item,nbt={Item:{id:"minecraft:pointed_dripstone",count:1},Age:1s},distance=..100]
execute at @s[scores={jjc_303=1..}] if entity @n[distance=..200,type=block_display,tag=jjc_type_pt,tag=!jjc_walls] positioned ~-17 ~2 ~-17 run effect give @a[dx=33,dz=33,dy=0,nbt={OnGround:0b},predicate=colosseum_of_fools:on_spikes] slow_falling 1 0 false
execute at @s[scores={jjc_303=1..}] if entity @n[distance=..200,type=block_display,tag=jjc_type_pt,tag=!jjc_walls] positioned ~-17 ~2 ~-17 run effect clear @a[dx=33,dz=33,dy=0,nbt={OnGround:1b}] slow_falling