MV State Permanency

Hey everyone! I was testing my game with a state that increased defense but lowers agility, and it was meant to be a specific state while in a certain form, which would persist past multiple fights... but it looks like resting at an inn removes it, how would I set it up so that the state is permanent between battles and resting?
There's no such thing as "resting at an inn". If resting at an inn removes the state, it's because you coded it to remove the state.

This is just a guess, but does resting use the Recover All command? That command explicitly clears all states. If you don't want all states to be cleared, I'd recommend using Change HP and Change MP (and possibly Change State) instead. Alternatively, if you have only one or two states that shouldn't be cleared, you could check if they're applied before the Recover All and then reapply them after.

If that's not it, we need to see your resting event to help.
FWIW, if you have yanfly's paid plugin pack, the states category plugin has a notetag for states to be ignored by recover all

Original thread: https://forums.rpgmakerweb.com/threads/state-permanency.181879/