In my game, I have a character who has a skill that adds a state which increases stats and also changes her sprite. I do not have a problem with changing the sprite to the empowered state is added. My issue is more that I don't know how to revert the sprite back to normal after the state is removed.
In the way I currently have it set up, the skill, "Kitsune Form" adds the state, "God Mode" as well as the common event, "Kitsune Form Activate."
The common event changes the sprite when the skill is used.
The state removes properly when the character takes enough damage or when the battle has ended.
The sprite does not change mid-battle when the state is removed.
The "Kitsune Form Activate" common event also turns on a switch
There is a second common event called "Return To Normal" which has a conditional branch where if the character is affected by the state, the sprite is set to the transformed sprite, but if the character is not affected by the state, the sprite is set to the normal sprite.
This second event has an autorun trigger when the aforementioned switch is set to ON. The "Return To Normal" event does not seem to be working. I tried also putting a loop on the event so that it would always be checking for the state as long as the switch was on, but this also did not seem to work.
I would like to solve this issue without plugins, if at all possible. I hope I was clear enough. I will include screenshots of the skill, state, and commons events.
In the way I currently have it set up, the skill, "Kitsune Form" adds the state, "God Mode" as well as the common event, "Kitsune Form Activate."
The common event changes the sprite when the skill is used.
The state removes properly when the character takes enough damage or when the battle has ended.
The sprite does not change mid-battle when the state is removed.
The "Kitsune Form Activate" common event also turns on a switch
There is a second common event called "Return To Normal" which has a conditional branch where if the character is affected by the state, the sprite is set to the transformed sprite, but if the character is not affected by the state, the sprite is set to the normal sprite.
This second event has an autorun trigger when the aforementioned switch is set to ON. The "Return To Normal" event does not seem to be working. I tried also putting a loop on the event so that it would always be checking for the state as long as the switch was on, but this also did not seem to work.
I would like to solve this issue without plugins, if at all possible. I hope I was clear enough. I will include screenshots of the skill, state, and commons events.