I want to remove a state (actually two states) when another state is removed. Is there someway (using Yanfly scripts) that I can have it so that State A and B are removed from the Actor/Enemy if State C is removed. What code do I use?
Simple JS Question
Javascript/Plugin SupportThere is a YEP BuffStatesCore note tag.
Put this into a state. When that state will be removed it will trigger this note tag.
<Custom Remove Effect>
user.removeState(ID);
user.removeState(ID);
</Custom Remove Effect>
Put this into a state. When that state will be removed it will trigger this note tag.
<Custom Remove Effect>
user.removeState(ID);
user.removeState(ID);
</Custom Remove Effect>
Thank you, Wayne.
Original thread: https://forums.rpgmakerweb.com/threads/simple-js-question.80227/