Hey look, people are depending on me!
* Goodnight gleams with pride
Of course, I can't write a universal code that will work with every different movement system, but chances are that yours has these three things:
1) A variable that says whether or not you're charging the sword
2) A variable that keeps track of which way you're facing
3) A piece of code that changes the sprite depending on which way you're facing
First, add a condition before every line that changes the "facing" variable when you start moving, so that it only changes if you're NOT charging. That will keep Link facing the same direction.
Then go to the sprite-changing code and add some extra lines so that: if you ARE charging, use the sword-holding movement sprites, and if not, use the regular sprites.
And that is how we eat a turkey.