Custom Removal Conditions for States

I want to have a state that is removed when a percentage of the health is lost from the affected character monster (counting the percentage after having the state).

However I don't know how to access the states in order to add such a condition to the certain state I am creating...

Is there any way to create custom removal conditions for States? 
Well, Victor has a script lets to make that, you can see the details here
Thanks, I will check into it

Original thread: https://forums.rpgmakerweb.com/threads/custom-removal-conditions-for-states.40520/