#By 伊吹冰瓜Winter_Suika
scoreboard objectives add jjc_main dummy
scoreboard players set #-1 jjc_main -1
scoreboard players set #512 jjc_main 512

scoreboard objectives add jjc_random dummy
scoreboard objectives add jjc_202 dummy
scoreboard objectives add jjc_303 dummy
scoreboard objectives add jjc_404 dummy
scoreboard objectives add jjc_505 dummy
scoreboard objectives add jjc_606 dummy
scoreboard objectives add jjc_707 dummy

scoreboard objectives add jjc_r0 dummy
scoreboard objectives add jjc_r1 dummy
scoreboard objectives add jjc_r2 dummy
scoreboard objectives add jjc_r3 dummy
scoreboard objectives add jjc_r4 dummy

scoreboard objectives add jjc_spider dummy
scoreboard objectives add jjc_hp dummy
scoreboard objectives add jjc_hp0 dummy
scoreboard objectives add jjc_hp2 dummy

scoreboard objectives add jjc_x1 dummy
scoreboard objectives add jjc_z1 dummy
scoreboard objectives add jjc_y1 dummy
scoreboard objectives add jjc_x2 dummy
scoreboard objectives add jjc_z2 dummy
scoreboard objectives add jjc_y2 dummy
scoreboard objectives add jjc_y0 dummy
scoreboard objectives add jjc_rot dummy
scoreboard objectives add jjc_ominous dummy
scoreboard objectives add jjc_mobs_count dummy
scoreboard objectives add jjc_damage dummy
scoreboard objectives add jjc_death deathCount
scoreboard objectives add jjc_wind_horn used:goat_horn
scoreboard objectives add jjc_ice_wand dummy
scoreboard objectives add jjc_used_bow used:bow
scoreboard objectives add jjc_soul_bow dummy
scoreboard objectives add jjc_soul dummy
scoreboard objectives add jjc_soul2 dummy
scoreboard objectives add jjc_soul_nail dummy
scoreboard objectives add jjc_x1 dummy


scoreboard objectives add jjc_portal_x dummy
scoreboard objectives add jjc_portal_y dummy
scoreboard objectives add jjc_portal_z dummy
scoreboard objectives add jjc_portal_time dummy

execute unless score Load jjc_main matches 0 run scoreboard players set ender_trap jjc_main 1
execute unless score Load jjc_main matches 0 run scoreboard players set disable_portal_activation jjc_main 0
execute unless score Load jjc_main matches 0 run scoreboard players set low_performance jjc_main 0
scoreboard players set Load jjc_main 0

schedule function colosseum_of_fools:main/1t 1t replace