execute at @s[scores={jjc_202=1,jjc_505=1}] run tag @e[distance=..100,tag=jjc_type_pt,tag=!jjc_zs] add jjc_pt_down
execute at @s[scores={jjc_202=1,jjc_505=1}] run tag @e[distance=..100,tag=jjc_type_pt,tag=!jjc_zs] add jjc_pt_down_fast
execute at @s[scores={jjc_202=1,jjc_505=1}] as @e[type=marker,tag=jjc_spikes,distance=..1] at @s run function colosseum_of_fools:e/spikes/kill
execute at @s[scores={jjc_202=1,jjc_606=10..,jjc_mobs_count=..0}] run function colosseum_of_fools:ks/next_row

execute at @s[scores={jjc_202=2,jjc_505=1}] run function colosseum_of_fools:e/sgl/yr2
execute at @s[scores={jjc_202=2,jjc_606=10}] run summon pig ~ ~2 ~ {Age:-10000,Tags:["jjc_pig","jjc_mob"],active_effects:[{id:"resistance",amplifier:3b,duration:-1}]}

execute at @s[scores={jjc_202=2,jjc_505=100..}] run data merge entity @n[distance=..200,type=pig,tag=jjc_pig] {TicksFrozen:140}
execute at @s[scores={jjc_202=2,jjc_505=120}] run data merge entity @n[distance=..200,type=pig,tag=jjc_pig] {Motion:[0d,0.4d,0d]}
execute at @s[scores={jjc_202=2,jjc_505=120}] at @n[distance=..200,type=pig,tag=jjc_pig] run playsound entity.pig.ambient hostile @a[distance=..200] ~ ~1 ~
execute at @s[scores={jjc_202=2,jjc_505=140}] run data merge entity @n[distance=..200,type=pig,tag=jjc_pig] {Motion:[0d,0.4d,0d]}
execute at @s[scores={jjc_202=2,jjc_505=140}] at @n[distance=..200,type=pig,tag=jjc_pig] run playsound entity.pig.ambient hostile @a[distance=..200] ~ ~1 ~

execute at @s[scores={jjc_202=2,jjc_505=160}] at @n[distance=..200,type=pig,tag=jjc_pig] run summon zoglin ~ ~ ~ {active_effects:[{id:"minecraft:nausea",duration:200}]}
execute at @s[scores={jjc_202=2,jjc_505=160}] at @n[distance=..200,type=pig,tag=jjc_pig] run playsound entity.hoglin.converted_to_zombified hostile @a
execute at @s[scores={jjc_202=2,jjc_505=160}] at @n[distance=..200,type=pig,tag=jjc_pig] run particle explosion_emitter ~ ~0.5 ~ 0 0 0 0 1 normal
execute at @s[scores={jjc_202=2,jjc_505=160}] as @n[distance=..200,type=pig,tag=jjc_pig] run tp @s ~ ~-1000 ~
execute at @s[scores={jjc_202=2,jjc_606=160..}] if entity @e[type=zoglin,distance=..100] run scoreboard players set @e[type=#colosseum_of_fools:guanzhong,tag=jjc_guanzhong,distance=..100] jjc_303 1

tag @s[scores={jjc_202=2,jjc_606=180..,jjc_mobs_count=..0}] add jjc_next