execute as @s store result score @s KyuTime run time query daytime

execute as @s[tag=!IsNightKyu] run execute if entity @s[scores={KyuTime=12450..18599}] run execute if entity @s[scores={DayQ2=1..}] run function zzzzdonotuse:daytimer/nightstuff

##don't run the day stuff on Day 1 - this is done manually at the start of SUHC
execute as @s[tag=!IsDayKyu] run execute if entity @s[scores={KyuTime=5..10000}] run execute as @e[scores={DayQ2=1..},type=armor_stand,name=DayQ] run function zzzzdonotuse:daytimer/daytimermain
execute as @s[tag=!IsDayKyu] run execute if entity @s[scores={KyuTime=22300..25000}] run execute as @e[scores={DayQ2=1..},type=armor_stand,name=DayQ] run function zzzzdonotuse:daytimer/daytimermain


#lantern event
execute as @s[tag=LanternEventDay] run execute if entity @s[scores={KyuTime=11500..15000}] run function zzzzdonotuse:randomevent/lanterns/lanterneventnightstart




#execute as @s[tag=!IsNightKyu] run execute if predicate suhc:nightstart run function zzzzdonotuse:daytimer/nightstuff