execute unless score .stun_immunity boss matches 1.. if score .stun boss matches 1.. run function main:game/mobs/ai/id/id13/stun
execute if score .stun boss matches ..0 run tag @s remove stun
execute if score .stun_immunity boss matches 1.. run scoreboard players remove .stun_immunity boss 1

execute if score .stop boss matches 1.. run scoreboard players remove .stop boss 1
execute if score .attack_is_playing boss matches 1.. run scoreboard players remove .attack_is_playing boss 1

execute if score .cooldown boss matches 1.. run scoreboard players remove .cooldown boss 1

execute if score .cooldown_far boss matches 1.. run scoreboard players remove .cooldown_far boss 1
execute if score .cooldown_run boss matches 1.. run scoreboard players remove .cooldown_run boss 1

execute if score .cooldown_attack_string boss matches 1.. run scoreboard players remove .cooldown_attack_string boss 1

execute if score .cooldown_ground_pound boss matches 1.. run scoreboard players remove .cooldown_ground_pound boss 1

execute if score .cooldown_jump_attack boss matches 1.. run scoreboard players remove .cooldown_jump_attack boss 1

execute if score .cooldown_throw boss matches 1.. run scoreboard players remove .cooldown_throw boss 1

execute if score .duration_run boss matches 1.. run scoreboard players remove .duration_run boss 1

execute if score .far boss matches 1.. run scoreboard players remove .far boss 1