How to position on the left side of the battle?

It might be a silly question but I can't find an answer to it:

By default, your characters' battler are shown on the right side of the screen and the enemies on the left. How can I do it the other way around without changing the sprites? That is, having the enemies on the right, and having my characters on the left. What's more: How can I make it work with Yanfly's plugins? I'm asking because I use animated battlers as enemies and those sprites automatically change facing to the left
The Animated SV battlers plugin inverts the enemies, so they will be actually facing right in battle. Don't worry about that.
The Animated SV battlers plugin inverts the enemies, so they will be actually facing right in battle. Don't worry about that.

Yup, that's right, but my question is: how to put my characters on the left side, and the enemies on the right side? Like, the opposite of what we usually get in RPGMV
In rpg_managers.js there should be a function for setting the sprites on the screen. Find the one that takes care of actors. Or if you are using Yanfly engine core, editing that will probably be more useful. The positioning of enemies is a similar thing.
And how can I do that? Is there any yt tutorial or something similar? I have 0 skills in scripting
A js file can be opened in any text editor.

The function for actors if setActorHome.
Spoiler: If you are using YEP Core engine, simply find that function and replace it.
Code:
if (Yanfly.Param.ReposBattlers) {
  Yanfly.Core.Sprite_Actor_setActorHome = Sprite_Actor.prototype.setActorHome;
  Sprite_Actor.prototype.setActorHome = function(index) {
      Yanfly.Core.Sprite_Actor_setActorHome.call(this, index);
      this._homeX = 30; // feel free to adjust it if needed
      this._homeY += Graphics.boxHeight - 624;
  };
};
For the monsters you just need to edit the position inside the database -> troop inside the engine.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-position-on-the-left-side-of-the-battle.82023/