Is it possible to change character spritesheet animation order?

Hey! I was wondering if it's possible to change the order RPG Maker MV sprites appear in spritesheet. What I mean, is that there seems to be different sprite direction order in RPG Maker 2003 characters which go from facing up, right, down and left wherein MV they go down, left, right and up.

I'm making game with the classic 2003 looking graphics and I'm asking if there is a way to make this sprite order the same as it is in 2003, or is Photoshop the only way to go.
A plugin could do this, but for maximum compatibility with other plugins I'd suggest editing the graphics themselves. 😅

That said, I think this is the relevant method:
Code:
Sprite_Character.prototype.characterPatternY = function() {
    return (this._character.direction() - 2) / 2;
};
So you could try saving the following as a .js file (Save As > File Type: All Files, File Name: whateverYouLike.js) and importing as a plugin (preferably near the top of the load order in the Plugin Manager):
Code:
Sprite_Character.prototype.characterPatternY = function() {
  switch (this._character.direction()) {
    case 2: return 2;   // down
    case 4: return 3;   // left
    case 6: return 1;   // right
    case 8: return 0;   // up
  }
};
A plugin could do this, but for maximum compatibility with other plugins I'd suggest editing the graphics themselves. 😅

That said, I think this is the relevant method:
Code:
Sprite_Character.prototype.characterPatternY = function() {
    return (this._character.direction() - 2) / 2;
};
So you could try saving the following as a .js file (Save As > File Type: All Files, File Name: whateverYouLike.js) and importing as a plugin (preferably near the top of the load order in the Plugin Manager):
Code:
Sprite_Character.prototype.characterPatternY = function() {
  switch (this._character.direction()) {
    case 2: return 2;   // down
    case 4: return 3;   // left
    case 6: return 1;   // right
    case 8: return 0;   // up
  }
};

Hey! Thanks a lot, your script works perfectly! This is exactly what I was searching for 🙂

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-change-character-spritesheet-animation-order.113163/