Change Event Graphic and Direction

The question:
I simply want to change an event's graphic sprite with a script call as well as the facing direction. I am calling the function on the event that is going to have its graphic changed. I am expecting something like this:
self.setGraphic($mygraphic, 0)
self._setDirection(6)

The why:
Why through script and not with the built-in "Change Graphic" and "Turn Left"? I wish to use this during a Custom Route as part of an animation, and I need the graphic to change as well as turn on the same frame. The built-in "Change Graphic" and "Turn (Direction)" have a delay that cause the animation to stutter.

My research:
Spoiler: My research:
I know you're supposed to search extensively yourself before asking on forums. So I did. Googling was a huge headache; Google thinks RPG Maker MV is a valid substitute for RPG Maker VX, and almost all searches that are actually VX turn out to be Ace.
I had a look at multiple existing scripts to try to find the syntax myself. It seems so darn basic what I need. But no dice.
I tried searching the RGSS2 specific script forums. But man, there are A LOT of posts to go through. Funnily enough it's much easier to find more complex answers like "how to change graphic when all these variables match".

What I found was this.setImage(filename, index). I believe this is for MV or some-such? I also found self.change_graphic. Not sure if this was RGSS3 or someone's custom built function.

EDIT:
Solution:

Finally got the correct syntax and functions figured out with some help.

Ruby:
self.set_graphic("$filename", 0);
self.set_direction(4)

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/change-event-graphic-and-direction.134994/