Do you want to have states that can remove other states? For example, you have two types of poison states: Weak Poison, and Strong Poison.
When the Weak Poison state is applied, you lose 5% of your HP. However, when the Strong Poison is applied, you lose 10% of your HP.
Now, you also have a special case where applying strong poison state will remove the weak poison state automatically.
With this plugin, you can indicate whether your states will remove other states when they are added.
Plugin: download here (right-click, 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_OverridingStates plugin.
Once it is in your list of plugins, turn the plugin on.
To have a state override or remove another state when it is added, go to your states database and in the note box, write this note-tag:
<override state: STATE_ID>
Where the STATE_ID is the ID of the state that it will override when added.
A single state can override multiple states. Simply add more note-tags.