From what I can gather, is it just a variable that gets ticked when the event/character can not move?
This here Is what I imagine is ticking the counter if the event/character can not move, is this correct?
Code:
Game_CharacterBase.prototype.updateStop = function() {
this._stopCount++;
};