Thank you for the information.
So this action sequence is supposed to make the user turn forward and backward without applying the effects of the skill, yes? Indeed, it works in the case of static enemy battlers when Animated Sideview Enemies is turned OFF. When turned ON, it doesn't work with static enemy battlers but it does work with animated sideview enemy battlers taken from the img\sv_actors folder.
I started a new RMMV project specifically for this thread. Excluding the patch plugin below, I only used the following plugins installed in order:
- YEP_CoreEngine
- YEP_BattleEngineCore
- YEP_X_ActSeqPack2
- YEP_X_AnimatedSVEnemies
I replaced the default attack skill with your action sequence notetags. So far, with the patch below installed, upon using the attack skill the static enemy battler can turn its face backward. This is the same behavior observed earlier with just Action Sequence Pack 2 turned ON with Animated Sideview Enemies turned OFF. The action sequence still works properly with animated sideview enemy battlers taken from the img\sv_actors folder.
For good measure I also tested a scenario where the static enemy battler has the <Floating> notetag. It will still properly perform the action sequence while simultaneously floating.
Kindly create a blank javascript (.js) file and install it immediately after YEP_X_AnimatedSVEnemies in your plugin list. Then just copy and paste the code below within that JS file.
Spoiler: Tentative YEP_X_AnimatedSVEnemies Patch Plugin Version 1.00
JavaScript:
if (Imported.YEP_X_AnimatedSVEnemies) {
Sprite_Enemy.prototype.updateScale = function() {
if (!this._svBattlerEnabled) {// for enemy sprites taken from img\sv_enemies
var mirror = this.scale.x > 0 ? 1 : -1;
this.scale.x = this._enemy.spriteScaleX();
this.scale.x = Math.abs(this.scale.x) * mirror;
} else {// for enemy sprites taken from img\sv_actors
this.scale.x = this._enemy.spriteScaleX();
}
this.scale.y = this._enemy.spriteScaleY();
if (this._stateIconSprite) {
var safe = 1 / 100000;
var sprite = this._stateIconSprite;
sprite.scale.x = 1 / Math.max(safe, Math.abs(this.scale.x));
sprite.scale.y = 1 / Math.max(safe, Math.abs(this.scale.y));
}
};
}
Please test the above code for potential bugs.