MV Force Action causing error with paralyzing State [Solved]

I have some bosses in my game that will perform an Action after hitting a certain percentage of their HP while I also have States in the game that can cause the Actor or Enemy inflicted to Act but have it cancelled before anything is done if the chance for it to happen is rolled. The chance calculation uses this notetag in the State:


And it seems whenever it activates during a Force Action command in the Battle Events, it makes this error show up


View attachment 363408

So is there anyway I could fix this while still keeping the State acting the same way, I wouldnt mind if the Forced Action were to ignore the Paralyze Chance but I dont want it to just remove the State from the Enemy so it doesnt break the game, I'd just want it to like ignore the whole process for any Forced Actions if possible
I FINALLY SOLVED THIS! KINDA! BUT IT WORKS NOW!
Basically it seems whenever a Force Action is triggered in a STB Battle after EVERYONE has performed an Action, the Error is caused. Force Action seems to work perfectly fine when triggered DURING the Turn as the Turn doesnt count as over till everyone finishes their Actions, and the Turn being over is what causes the Error soooo, I made the Troop Event rely on the Condition of having a Switch turned On to be able to run and then plugged in these codes(?) into the notetag of a Paralyze State!

<Custom Turn End Effect>
$gameSwitches.setValue(ID, false);
</Custom Turn End Effect>
<Custom Respond Effect>
$gameSwitches.setValue(ID, true);
</Custom Respond Effect>


Now when the Turn Ends if the Enemy has the Paralyze State, it'll turn that Switch OFF before any damage is done thus preventing the Error from occuring, then with the Custom Respond Action the Switch will be turned back ON the second an Actor damages the Enemy so that the Troop Event with the Force Action will trigger DURING the Turn rather than the Turn End as to allow everything to work!



Thank you everyone for helping me as much as yall did, i dont think I would've figured out this work around if it werent for yall! :>

Original thread: https://forums.rpgmakerweb.com/threads/force-action-causing-error-with-paralyzing-state-solved.183002/