Trying to create an all encompassing state like death. (VXA)

I'm trying to create an all encompassing state that is always on like the death state is.  Basically what I want is so that when my actors (this could also be applied to enemies too, though the player characters are the only ones I really care about for this) drop to a very low health percentage they gain a state I call bleeding, like in D&D.  I want to be able to apply this state so that in situations where only one or two characters are still alive and they are bleeding, meaning the entire party is almost wiped, I can cause a trigger to happen that will change the music, effects, etc... to fit the tense situation.  I tried fiddling around in the scripting (I have no previous scripting experience and was simply trying to find where the death/K.O. script was located) and copied the scripting that I found for the death situation and changed them to bleeding and set the state_id to 26, which is the state I have bleeding set at.  I thought that would work since I had copied all the script to check for the state, to display it, and to cause it, but I didn't seem to get any result from my attempts at scripting (which was the likely outcome considering my lack of experience).

I was just wondering if anyone knows how to make a secondary all-encompassing state like this, which of course will be replaced by death when the character's health hits 0.  Thanks to anyone who takes the time to read this! 😀

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-create-an-all-encompassing-state-like-death-vxa.16016/