I figure Shaz is too busy to pull this off, But this was a fantastic script that allowed for evals to run whenever a state was added or remove. A lot of systems and game mechanics can be expanded with this.
http://forums.rpgmakerweb.com/index.php?/topic/18593-state-addremove-commands/ <----- Link to the script.
Basically, a notetag would allow for a specific command to run whenever a state was either added, or removed (depends on the notetag you used).
So for instance, using onadd: remove_state(2) would allow for the removal of the second state in the list when one was added. I've used one particular case where I had states raise/lower a variable that was tied to a damage formula of a particular skill. The possibilities are huge.
http://forums.rpgmakerweb.com/index.php?/topic/18593-state-addremove-commands/ <----- Link to the script.
Basically, a notetag would allow for a specific command to run whenever a state was either added, or removed (depends on the notetag you used).
So for instance, using onadd: remove_state(2) would allow for the removal of the second state in the list when one was added. I've used one particular case where I had states raise/lower a variable that was tied to a damage formula of a particular skill. The possibilities are huge.