MV STB - Change the way state turns tick down

Hi, everybody.

I'm using the STB battle system, and something that always bugged me is that all states will only tick down at the end of a full turn. That means if a battler plays last and they apply a one-turn state, it leaves as soon as their turn is over which isn't good.

Can somebody help me with making it so that a state's turns only tick down at the start of the turn of whatever battler applied it?

Thanks in advance.
I've been searching high & low for just this. Can anybody weigh in?

Original thread: https://forums.rpgmakerweb.com/threads/stb-change-the-way-state-turns-tick-down.128501/