So you have a shooting animation (where he is walking) and then just a regular animation too...
Ok so, I suppose you could do this:
local variable: frame_preserve
on shoot --> set frame_preserve to player.animationframe
--> set animation to "shooting"
--> set animation frame to frame_preserve
local variable: frame_preserve2
on stop shooting --> set frame_preserve2 to player.animationframe
--> set animation to "walking"
--> set animation frame to frame_preserve2