for some reason VisuMZ doesn't like what I did...
From that error message, I guess VisuStella modify
realMoveSpeed to check a property or something. Presumably they set up whatever-it-is (synchronised movement target?) in
updateAnimation before calling
animationWait.
A hacky workaround could be to put that in a try-catch and use a fixed value if it fails, e.g.
JavaScript:
try {
this._animationCount = this.animationWait() >> 1;
} catch (ex) {
this._animationCount = 7;
}
HalfMove.js doesn't reset _animationCount to 0 after each (half) step.
The core scripts don't reset
_animationCount after each step, either. It's simply a counter for the frames between pattern update timings:
JavaScript:
Game_CharacterBase.prototype.animationWait = function() {
return (9 - this.realMoveSpeed()) * 3;
};
I.e. if you move faster, you step faster. Compare with distance per frame:
JavaScript:
Game_CharacterBase.prototype.distancePerFrame = function() {
return Math.pow(2, this.realMoveSpeed()) / 256;
};
I.e. frames per tile = 2 to the power of (8 - speed). As mentioned, you could override
animationWait to reduce the pattern update interval, but then I imagine you'd want more than 3 stepping frames (a.k.a. patterns) to compensate.
The actual value of
_animationCount doesn't matter unless it's in use. In other words, unless the character's pattern is heading towards an update (e.g. moving with walking animation enabled) then there's no point making any change to the counter.