Do you have a state that can be removed when you apply the same state?
For example, you use a state that adds a poison state, but when you apply the same poison state, it will cancel out the existing poison state.
This plugin allows you to create toggle-able states. When the state is added, one of two things can happen
1. If the state does not exist, then it will be added
2. If the state exists, then it will be removed
Plugin: download here (right-click and save-as)
Download the plugin and place it in the “plugins” folder in your project’s “js” folder. Then open your Plugin Manager (F10), double-click an empty row, and select the HIME_ToggleableStates plugin.
Once it is in your list of plugins, turn the plugin on.
To specify that a state can be toggled, in your database go to the states tab, find the state you want, and then write in its note-box