
# -> Reset existence check
scoreboard players set #or.player_downed_exists OverlyRealistic.General.ArbitraryData 0

# -> Operate on players
execute as @a[tag=OverlyRealistic.Player.IsDowned] at @s run \
    function overly_realistic:general/downing/downing_main_1t_local

# -> Operate help particle timer
scoreboard players add #or.player_help_particle_time OverlyRealistic.General.ArbitraryData 1
execute if score #or.player_help_particle_time OverlyRealistic.General.ArbitraryData matches 8 run \
    scoreboard players set #or.player_help_particle_time OverlyRealistic.General.ArbitraryData 0

# -> Loop
execute if score #or.player_downed_exists OverlyRealistic.General.ArbitraryData matches 1 run \
    schedule function overly_realistic:general/downing/downing_main_1t 1t append
