-SOLVED- Changing an over-world sprite based on a state

So I'm trying to change the player's overworld sprite to a ghost equivalent, if the party member dies, like in Earthbound. But I noticed there isn't any real option in the states to do something like that. Does anyone have any ideas?

EX:
upload_2019-8-22_16-29-17.png

Source: AVGN Earthbound
Create a common event that checks if the state is applied in the actor. If it is, change their graphic to the "ghost", and if it's not, change it back to the original.
Create a common event that checks if the state is applied in the actor. If it is, change their graphic to the "ghost", and if it's not, change it back to the original.

Ok, but how would I do that for each character, each ghost would look different based on the character that died.
The event command for changing actor sprite and for checking states are both doable by default on a per actor basis, so go make the event and you'd figure it soon enough.

Basically on your common event, you will simply do this check for each possible actor in your party.
Thanks, guys, got it to work!

Original thread: https://forums.rpgmakerweb.com/threads/solved-changing-an-over-world-sprite-based-on-a-state.112449/