How can I "force" a number of steps to increment for "Remove by Walking"?

I'd like to have some states with a long duration. However, I want there to be times when I force the clock forward, so to speak, which might cause those durations to run out if it uses up the steps.

So how do I tell it to increment the steps on a "Remove by Walking" state?
Pretty sure this needs a script call. Maybe something like this?
Code:
var extraSteps = 15;
$gameParty.members().forEach(function(actor) {
  actor.states().forEach(function(state) {
    if (state.removeByWalking && actor._stateSteps[state.id] > 0) {
      if ((actor._stateSteps[state.id] -= extraSteps) <= 0) {
        actor.removeState(state.id);
      }
    }
  });
});
Just change the number in the first line to alter the number of "fake" steps taken~
Thanks! Works like a charm!

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-force-a-number-of-steps-to-increment-for-remove-by-walking.107375/