//=========================================
//Caethyril suggestion on how to tweak animationWait when idle
//=========================================
const P = "_halfAnimWait";
void (function(alias) {
Game_CharacterBase.prototype.animationWait = function() {
return alias.apply(this, arguments) / (P in this ? 2 : 1);
};
})(Game_CharacterBase.prototype.animationWait);
void (function(alias) {
Game_CharacterBase.prototype.resetPattern = function() {
alias.apply(this, arguments);
this[P] = true; // half anim wait until further notice
};
})(Game_CharacterBase.prototype.resetPattern)
void (function(alias) {
Game_CharacterBase.prototype.updatePattern = function() {
delete this[P]; // revert to normal anim wait
alias.apply(this, arguments);
};
})(Game_CharacterBase.prototype.updatePattern);
//=========================================
//Caethyril suggestion on how to tweak animationWait when idle
//=========================================