"GHOST" state help

Hi, im wondering how to make this state.
When you die, you get prompted, "go back to city" - yes -no
If player picks yes, gets back to de city and auto revives in church.
If player picks no, he stays where he is, but, in "ghost" state, 1hp, cant attack, and i will change player graphics for a ghost graphic.
Im using Alpha ABS last build for the project. That solves the part of the "player pick yes", but i cant make the ghost state so player can stay in dungeon as a ghost.
If the dungeon is a separate map, then presumably you get in or out by transfer, or by door. I assume that the player being a ghost is done by using a ghost state. Use a condition branch with an "else" branch in the event that transfers from the dungeon to check whether the actor has the ghost state. Put the transfer in the "else" branch. If you felt like it you could put a message for when the player is a ghost, for instance "The unholy forces that make you linger upon earth imprison you within the dungeon."

Original thread: https://forums.rpgmakerweb.com/threads/ghost-state-help.124297/