none resurecting inns and detecting the dead

I've only just got Maker MV and so far I'm getting to grips nicely with it...

I have a simple world map and I'm trying to engineer all the features I need...

In my "Inn" the bar maid (NB it should be a bar man for once!) asks if I want a bed for the night, assuming the party has enough money then there is a fade in and out (should probably play a short lullaby theme as well!) and the event does a recover all : all party

unfortunately this resurrects "dead" party members (ie zero hp) how do I avoid this (assume my event doesn't know specifically who is in the party as I'd like to change the line up a few times - I assume that's possible!)

I have a church in town when you talk to the priest I'd like him to be able to tell if there are any "dead" party members and give the option of reviving a specific member - I want to make this fairly expensive so a player might have to resurrect just 1 of 2 say, and go off and do some light grinding with just 3 party members before they can afford the next resurection

I think I can do this with conditionals on HP==0 but I'd have to check all possible party members some might not yet be in the party and it could all get a bit cumbersome and tedious, so is there a way to "loop" through each of the *current* party members
By default recover all removes all states. You could get around that by doing recover HP +999999 and recover MP +999999. That will recover all HP and MP but leave all states still present.
they don't seem to have a "state" just zero hp....?

how can a iterate through just the current party ?
0 HP adds state 1. That's how the engine knows you are dead. So that's what state is being removed.

For iterating just the current party, no clue I'm afraid. All those if actor present events also include your reserves. Maybe there's a script call you can use though?
ah "knockout" is dead!!! I see now, yeah if i can just figure out the fluid party thing I think I can work something out.... thx
Using Change HP / Change MP on Entire Party will only affect the actors who are in your party.

Original thread: https://forums.rpgmakerweb.com/threads/none-resurecting-inns-and-detecting-the-dead.86942/