Making item unusable if no member is knockout.

Hey,

I am so confused. If theres an item that can revives party memeber during battle and menu.

123.png

Theres nothing wrong in the menu.
During battle, the reviving item can be used(and highlighted) even if NO MEMBER is dead.

321.png

Thus, how to make the item un-useable and un-highlighted if no party member is dead?

Thank you.
Yanfly’s Item Requirements is what you need. Simply set the items condition to require knockout.

Original thread: https://forums.rpgmakerweb.com/threads/making-item-unusable-if-no-member-is-knockout.125708/