Change direction of sprite in the function drawCharacter

It's on line 454 of rpg_windows.js. I figure it has something to do with the character index numbers but I can't figure it out by brute forcing it. If anyone can give me any pointers it would be helpful. All I want is for the sprites drawn in windows to face left rater than to the front.

Original thread: https://forums.rpgmakerweb.com/threads/change-direction-of-sprite-in-the-function-drawcharacter.106531/