#attack
execute if score .choice boss matches 1 if score .cooldown_attack_string boss matches ..0 run return run function main:game/mobs/ai/id/id12/attack_string/start

#vertical attack
execute if score .choice boss matches 2 if score .cooldown_vertical_attack boss matches ..0 run return run function main:game/mobs/ai/id/id12/vertical_attack/start

#jump attack
execute if score .choice boss matches 3 if score .cooldown_jump_attack boss matches ..0 run return run function main:game/mobs/ai/id/id12/jump_attack/start