RPG Maker MZ v.1.8.0
Battle Scene.
Hello, i was suggest to post my problem here to get help.
So i try to edit the Walk Character Battlers Plugin from SumRndmDde. Actually it works at MZ, but come to a visual problem which the walking sprites wasn't shown at the first battle emerge, which i could fix with a preload plugin.
So the next problem i notice, the "dying/weak" effect where the walkting sprite walking animation speed runs slower is ONLY effect at the party command scene. At the decide scene to choose the action is the effect not applied.
Would someone help me please to apply this effect also at the decide scene? I tried it but don't get it to work.
I guess it's here defined:
JavaScript:
const _Sprite_Actor_motionSpeed = Sprite_Actor.prototype.motionSpeed;
Sprite_Actor.prototype.motionSpeed = function() {
if(this._battler.isWalkBattler() && (this._walkBattlerMotion === 'abnormal' ||
this._walkBattlerMotion === 'dying')) {
return _Sprite_Actor_motionSpeed.apply(this, arguments) * 2;
} else if(this._battler.isWalkBattler() && (this._walkBattlerMotion === 'escape')) {
return _Sprite_Actor_motionSpeed.apply(this, arguments) / 2;
}
return _Sprite_Actor_motionSpeed.apply(this, arguments);
};