(RESOLVED) Make Victory Animations Stay on Final Frame

Is there any way for me to add this function at the moment?

If a mod feels this belongs in plugin support, please inform me.

EDIT: I resolved it and have the code if anybody wants it. In rpg_sprites.js, find the line Sprite_Actor.prototype.updateMotionCount = function() { and where the "else if statements are" add
} else if (this. pattern = 13) {
this.pattern = (this.pattern + 1) % 4;
Thank you!

The HF sprites look kinda silly looping endlessly.
The text has a small error, it needs to read:

} else if (this._pattern = 13) {
this._pattern = (this._pattern + 1) % 4;

And to help others, still make sure you change the victory loop to false

Original thread: https://forums.rpgmakerweb.com/threads/resolved-make-victory-animations-stay-on-final-frame.82496/