execute unless score .stun_immunity boss matches 1.. if score .stun boss matches 1.. run function main:game/mobs/ai/id/id12/stun
execute if score .stun boss matches ..0 run tag @s remove stun
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 .far boss matches 1.. run scoreboard players remove .far 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_attack_string boss matches 1.. run scoreboard players remove .cooldown_attack_string boss 1
execute if score .cooldown_vertical_attack boss matches 1.. run scoreboard players remove .cooldown_vertical_attack boss 1
execute if score .cooldown_jump_attack boss matches 1.. run scoreboard players remove .cooldown_jump_attack boss 1
execute if score .cooldown_hideout boss matches 1.. run scoreboard players remove .cooldown_hideout boss 1
execute if score .stun_immunity boss matches 1.. run scoreboard players remove .stun_immunity boss 1