How to only show knockout actors in a show choices event?

Hi i'm trying to make an NPC who can revive knocked out party members.
I was wondering if there was an easier way to show only knockout party members in a show choices event.
Right now i've solved it by having alot of IF statements for every possible combination.
I would make the NPC as follows:
Code:
...
If Actor 1 has state 1:
//Nothing
Else: hide_choice 1

If Actor 2 has state 1:
//Nothing
Else: hide_choice 2
...
ShowText: Who to heal?
Show Choice: Actor 1, Actor 2, ...
  Actor 1:
    RecoverAll: Actor 1
  Actor 2:
    Recover All: Actor 2
...
utilizing himework's hidden choice condition plugin (https://himeworks.com/2015/11/hidden-choice-conditions/)
If you have more than 6 actors you can also use himework' large choices plugin (https://himeworks.com/2015/10/large-choices-mv/).
I would make the NPC as follows:
Code:
...
If Actor 1 has state 1:
//Nothing
Else: hide_choice 1

If Actor 2 has state 1:
//Nothing
Else: hide_choice 2
...
ShowText: Who to heal?
Show Choice: Actor 1, Actor 2, ...
  Actor 1:
    RecoverAll: Actor 1
  Actor 2:
    Recover All: Actor 2
...
utilizing himework's hidden choice condition plugin (https://himeworks.com/2015/11/hidden-choice-conditions/)
If you have more than 6 actors you can also use himework' large choices plugin (https://himeworks.com/2015/10/large-choices-mv/).

This is exactly what i was looking for. Thank you very much!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-only-show-knockout-actors-in-a-show-choices-event.142741/