Yanfly Action Sequences - Adding Multiple States with a single entry

 In my project I have my states separated into a group of positive states that can be removed, negative states that can be removed, and states that simply can't be removed at all.

I wanted to create a cure all type skill or item that removes all negative states that can be removed, and figured the best way might be through Yanfly's Action Sequence "remove state X:" command.

  I was hoping there was a way of doing a group entry, like "remove state 16...24:" or so.

As I currently have space set for about 100 negative states and was hoping I didn't have to add each number individually, nor would I have to come back each time I make a new state and add it to the list

for each cure all skill/item.
If all your states are in a group of continuous ids (like you pointed 16....24), I think it would be best if you used the skill core lunatic mode. If you use the "Before Eval" notetag, you can create a variable that cures status of id number x and repeat the process how much times you need. Maybe something like this:

Ex: for (var i = 16; i < 24; ++i) {

     target.removeState(i);

}

I'm no master in lunatic mode, maybe someone may help us here if this doesn't works 😛 but I think this idea is easier for you. Just make sure you keep all your states together or you'll have to change the formula. Then you just have to change the number (in this case the "24") for the last state in your database you want to cure.
 That works.  Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-action-sequences-adding-multiple-states-with-a-single-entry.54009/