Files
Superproject1/js/plugins/FixGuardMotion.js
alexpolo1 9b37614c57 3
3
2023-04-11 22:11:31 +02:00

17 lines
460 B
JavaScript

(function() {
var _Sprite_Actor_refreshMotion
= Sprite_Actor.prototype.refreshMotion;
Sprite_Actor.prototype.refreshMotion = function() {
var actor = this._actor,
motionGuard = Sprite_Actor.MOTIONS['guard'];
if (actor) {
if (this._motion === motionGuard && !BattleManager.isInputting()) {
return;
}
_Sprite_Actor_refreshMotion.call(this);
}
};
}());