scoreboard players set .weapon_animation archer 0
scoreboard players set .rc_hold_animation archer 0
scoreboard players set .rc_release_animation archer 0
scoreboard players set .rc_animation archer 25

execute if score .arrow archer matches 1 if score .storm_cooldown_s archer matches ..0 run function main:mechanics/animation/start {"frames":236,"start":"80"}
execute if score .arrow archer matches 2 if score .gale_cooldown_s archer matches ..0 run function main:mechanics/animation/start {"frames":236,"start":"120"}
execute if score .arrow archer matches 3 if score .thundering_cooldown_s archer matches ..0 run function main:mechanics/animation/start {"frames":236,"start":"160"}

execute if score .arrow archer matches 0 run function main:mechanics/animation/start {"frames":236,"start":"0"}
execute if score .arrow archer matches 1 if score .storm_cooldown_s archer matches 1.. run function main:mechanics/animation/start {"frames":236,"start":"0"}
execute if score .arrow archer matches 2 if score .gale_cooldown_s archer matches 1.. run function main:mechanics/animation/start {"frames":236,"start":"0"}
execute if score .arrow archer matches 3 if score .thundering_cooldown_s archer matches 1.. run function main:mechanics/animation/start {"frames":236,"start":"0"}

tag @s add archer_rc