JS command to call a specific picture for an event?

I have an event (a character) that I want to change to a specific frame of a walk animation (one which doesn't correlate to movement at all).

Is there a JS command to directly select a frame from a set of walking animations?

Thanks in advance. 🙂
Try playing with this by slapping it into a moveroute:
this._originalPattern = X;

Edit: Change the "X" to the frame you want 😛
Try playing with this by slapping it into a moveroute:
this._originalPattern = X;

Edit: Change the "X" to the frame you want 😛

That works for 0-2 for the top three frames, but 3 and up just reverts to the standing pose, hmm...

Original thread: https://forums.rpgmakerweb.com/threads/js-command-to-call-a-specific-picture-for-an-event.78026/