MV Downed state before death state

posting this here since i cant really figure out how to do this without a plugin but essentially my game has permadeath and i want to give a bit of breathing room by adding a sort of downed state that actors get instead of dying, and then after battle id flip a switch that makes it so they just get the standard death state and are removed from the party next time they die

so far ive been able to get close ish by just giving every actor a hidden state that prevents death and if they reached 0 health in battle a switch is flipped that makes it so they no longer have that state, but you can kind of exploit this by having an actor heal that character when theyre at 0 health before the turn is over and it wont register that they hit 0 health at all because it only checks inbetween turns, ideally the second they hit 0 health they get this state the same as how the death state works
You could try using moment instead of turn in the span section of your troop event. You may need to also have a switch condition so the page won't freeze your game, which will be a bunch of work to get that working right, but overall your life would be much easier if you just used yanfly's buffs and states core.
You might not need a plugin. Below is in MZ, but the little bits of script all work in MV. You will probably want to simplify some aspects.

I renamed the death state as "Dying". There is a common event called from a parallel event that removes actors with the "Dying" state. I have set the event that calls CasualtyProcess so that it happens very quickly after the battle, but you can adjust that for your own needs.

It also removes the "Dying" death state, which you probably don't need to do. [I used to use Himeworks' Party Manager to have a separate party for the dead, and move actors from one party to the other.]

During the battle, you can use a stimulant to prevent death (i.e. avoid removal from the party).

My current casualty processing event records the dead actor in an array so that they can be chosen for revival. If you are using permadeath, you won't need to do that.

Screenshot 2025-11-19 063121.png


Screenshot 2025-11-19 063135.png


The above event is called from:

Screenshot 2025-11-19 063727.png


Another approach would be for the casualty removal event to check each actor, first that they were in the party, second that they had the "Dying" (death) state. If so, remove them from the party.

Edit: Forgot to say that parallel events stop during battles, so the dead party member doesn't get removed until after the battle.

If the battle was called as part of an event, the "XXXX is dead" message can appear during the course of the rest of the event. I often have party members comment after battles that aren't random encounters. When I do so, I check that they are still alive.

I use Yanfly's Message Core plugin so I can, for example, make the first party member make a comment. For post-battle messages, I check that the the first party member is still alive (with the party) and hasn't got the "Dying" state.

Edit 2: Perhaps something like this?

Screenshot 2025-11-19 073942.png

Original thread: https://forums.rpgmakerweb.com/threads/downed-state-before-death-state.181083/