Actor Face Graphics Changing in Battle

There was similar request in a thread from 2 years ago.
https://forums.rpgmakerweb.com/inde...-actors-face-image-depending-on-states.82032/

I didn't want to necropost however and it seemed to be somewhat unresolved. From what I could gather I would need more knowledge than I currently have to pull it off by myself.

I'm currently using http://www.yanfly.moe/wiki/Battle_Status_Window_(YEP).

The actors face graphics show up in battle, and they are just as happy as could be. Default smiles plastered on their little faces.
Even when they are inflicted with a nasty status condition or are about to keel over dead.

I have a "concerned face", a "hurt face", and a "KO Face" for each of my actors. I've attempted to create a troop event where if Actor such and such has 25% or less HP -> Change actor graphic to "hurt face". This doesn't seem to work in battle however and only takes affect after the battle has ended.

I'm looking for a way to change the displayed actor face images in mid battle and back again if necessary.

Actor 1 starts the battle with the default smiling face because he is at full health. 🙂
Oh no! He gets hit and his HP is down by half! -> Change to "Concerned face" :|
Ack! he gets hit again and now he's only at one quarter HP! ->Change to "Hurt Face." 🙁
Well shoot! He gets hit one more time and gets himself KO'd. ->Change to "KO Face." :dizzy:
But wait! Actor 3 revives him with half HP! -> Change to "Concerned Face." :|
Oh and look! Actor 2 tosses him a Potion restoring him back to full health! Well wasn't that nice of him! ->Change to "Default Happy Face". 🙂

As always, any help would be appreciated. Thanks.
You might be able to use CustomFaceImageEval from here:

https://forums.rpgmakerweb.com/inde...lugin-collection-newest-way_itemtpcost.78979/

Do you need any help with the code to set up the different conditions?
Moghunters Battle Hud can do that. But I think you can change the Actor Image when the battle starts.
And when the battle finishes. Reset the avatar images to there default face.
Do you need any help with the code to set up the different conditions?
I may. I'll see what I can figure out on my own first though. Thanks.🙂

EDIT: I got the very basics down. It is technically doing what I want it to. My issue now is I have 2 actors that have 2 different "outfits". Each one with a separate Face Image.
For example Actors A and B have the casual clothes they begin the game with and then the armor and mage robes they get afterwards. So I kind of need the same effect applied to two different faces for the same actor at different points in the game.
I'll keep at it on my end but any help would be appreciated. I think I can do something with a switch but I'm not quite sure how to code that.

EDIT EDIT: I have a switch assigned to when the actors change outfits. So I think I need to reference a switch and add that to the working code I have. So if Switch 56 is ON then Change actor images to (File name and index number) depending on health and status. Else … Insert what I already figured out.
I just am unsure how to reference switches. It wasn't one of the examples given in the help section.

Original thread: https://forums.rpgmakerweb.com/threads/actor-face-graphics-changing-in-battle.114183/