States duration not changing when Force Action command is used

Hi all,
I've been having an issue in my project where using a Force Action command, either through a common event called by a skill or by a battle event, for that turn it won't tick down the duration of any states active on any of the characters in battle (enemy and ally).
The only plugin I'm using is yanfly's YEP_Skillcore
EDIT: I've added yanfly's Skills and Buffs core to use notetags to fix it but I haven't had any luck

Anyone know any ways to fix this?
If you're using Yanfly Battle Core, I think you comment out the line in the plugin with //:

Game_BattlerBase.prototype.isBypassUpdateTurns = function() {
// if ($gameTroop.isEventRunning()) return true;
return false;
};

If you're using just the base engine, maybe add the scripts after the force action. That $gameActors.actor(1) is a reference to actor 1, you can change it in troop events to which actor you want, for common events in battle the reference is like BattleManager._subject But yeah, I guess this ticks down all states, not just action based. If you want more control, you'll need other solutions. Anyway, I didn't check this very thoroughly.

$gameActors.actor(1).updateStateTurns();
$gameActors.actor(1).updateBuffTurns();
$gameActors.actor(1).removeStatesAuto(1);
$gameActors.actor(1).removeStatesAuto(2);
$gameActors.actor(1).removeBuffsAuto();


EDIT:
LMAO, I realized I actually might have confused myself about how those state turn reductions work vs. the removal timings. Maybe you can just in the base engine also check out the conditional about it being forced. Anyway, you can try that above stuff.

Original thread: https://forums.rpgmakerweb.com/threads/states-duration-not-changing-when-force-action-command-is-used.180503/