Maybe 30 is too fast? 120 is default, 1000 = 1 second.
yes, thank you very much it worked. nicely done, here is the result.
edit: Suggestion
Alright, some of you are probably noticed
"Why the cockroach doesn't turn back to normal sprite and stays frozen?", it is because the game needs a proposed plugin parameter
<cEonEnd: X> for this to happen. In my case whenever the enemy gets frozen, with
<cEonStart: 2> added to the enemy notetag, it will add the "Frozen state" to the enemy. What this does is call common event 002 to change the target events self switch to self switch E to "on." and when it is on the enemy changes it's sprite to Frozen sprite whenever it get's afflicted with the frozen state.
If we had
<cEonEnd: 2> that would remove the Frozen state whenever the state
expires OR gets removed(important), I could revert the sprite back to the Cockroach sprite by simply turning off the self switch E for that event.
If the basic editor self switch A B C D, is not enough in the case of wanting more than 4 states, we could probably use Yanfly's advanced self switches to get more self switches but I haven't tried it yet. So... that's my proposed;
"Advanced state animations" for this game, there are probably many more ways it work but so far that's what I've thought out.
Also, sorry it took a month to propose this, was busy with other things...