is_shooting
or can_shoot
? I don't see why change the variable if it does nothing...
so, maybe that along with the can_shoot_rocket
variable... and otherwise, maybe it just needs an intermediate/reset animation, or set animation frame to zero, or just stop the animation.