If the question isn't clear from the title, it's because I did not know how to make a clear title for what I'm about to ask. I know that if you use a NoKo flag in -2, it will hold your life at 0, and you will be automatically KO'd after the noko ends, if you turn it off and on. You can use a selfstate with a lifeset whilst the NoKo is active to create a resurrection effect, where it looks like p1 has been KO'd by p2, but comes back from the dead.
The problem is that some OHKO's are so quick that they will bypass right through it and kill p1 before the NoKo and SelfState are activated, making p1 KO'd first, and SelfStating after, because the SelfState will still happen.
I feel like that the reason that some OHKO's slip past my resurrection method is because I rely too heavily on that NoKo flag to prevent the KO signal from happening whilst life is at 0. I've observed another character called Fallen-Sanae, and when she is on simultaneous mode with a teammate, she will only die if her teammate dies, she will not be KO'd if her teammate is still alive.
I tried to look at her code. It seems her Statedef 5150 is changed so that it looks like this:
Of course, you can't just not have a Statedef 5150, but getting rid of everything and putting a null there keeps your character functioning whilst effectively "getting rid of" that state. I tried to copy this to no avail. It seems that was not the reason she could keep fighting whilst she had no life left in simul mode.
I think it's because of a helper. She's using a helper, or a combination of helper(s) and the NoKo flag to achieve being able to stay "alive" whilst her life is at 0.
Whether or not the NoKo flag holds p1s life at 0 or 1 is kind of irrelevent, because once the NoKo ends p1 still dies. In most cases, the SelfState is triggered in time to LifeSet p1 so that it doesn't die, however, if p2 is good enough then the KO signal happens before the SelfState, resulting in a dead p1 with a life value of 350, which is just unappealing.
If there's a way to use helpers to prevent death from happening while p1's life is at 0, so that they can SelfState uninterrupted, I'd like to know how, if that's not how it works, then I'd like to know how it does work if possible. I only think that it's helper related because I don't see any other way, and because I still don't fully understand how they work.