execute unless score .stun_immunity boss matches 1.. if score .stun boss matches 1.. run function main:game/mobs/ai/id/id23/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_attack boss matches 1.. run scoreboard players remove .cooldown_attack boss 1

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

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

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

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

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

execute if score .storm_duration boss matches 1.. run scoreboard players remove .storm_duration boss 1
execute if score .storm_tick boss matches 1.. run scoreboard players remove .storm_tick boss 1