Hello, I'm using Yanfly's battle engine scripts in RMMV. My sideview battlers are positioned opposite of standard (actors are on the left-hand side of the screen and vice-versa for enemies).
In order to make the actors face right and the enemies face left, @jjleroy on a thread a couple of years ago suggested that within Yanfly's Battle Engine core I change this:
Game_Battler.prototype.spriteFaceBackward = function() {
this.setMirror(true);
};
to this:
Game_Battler.prototype.spriteFaceBackward = function() {
this.setMirror(false);
};
I did that, and changed the corresponding spriteFaceForward code, but the issue is the battlers face the wrong way until one of the actors takes their turn - at that point all battlers (characters and enemies) face the correct direction.
I'd prefer to change facing via code instead of flipping the sprites because a) flipping sprites in a graphics editor is more work than coding and b) I want to keep the weapon animations working properly.
In order to make the actors face right and the enemies face left, @jjleroy on a thread a couple of years ago suggested that within Yanfly's Battle Engine core I change this:
Game_Battler.prototype.spriteFaceBackward = function() {
this.setMirror(true);
};
to this:
Game_Battler.prototype.spriteFaceBackward = function() {
this.setMirror(false);
};
I did that, and changed the corresponding spriteFaceForward code, but the issue is the battlers face the wrong way until one of the actors takes their turn - at that point all battlers (characters and enemies) face the correct direction.
I'd prefer to change facing via code instead of flipping the sprites because a) flipping sprites in a graphics editor is more work than coding and b) I want to keep the weapon animations working properly.