Brainstorm Ability.

A Japanese RPG Maker 2000 fangame, 7th Stand User, has a special command called 'Brainstorm' that can be used within certain battles. This ability triggers a cutscene that lets the player skip the rest of the battle, at the cost of the rewards they would get from it. [This is available because 7th Stand User's plot is precisely the protagonist being able to change the events of the original storyline, or let them pass as he/she desires.]

I want to do something similar in Ed, Edd n Eddy RPG, giving players the option to use cartoon logic to defeat bosses [for instance, rather than fight a giant spider legit, just build a giant fly trap or something], but I'm running into a few problems.

1: Using this ability results in a 'fail' message, as per when you miss an attack or it's nullified. I want it to not show any such messages.

2: I'm not sure how to set the timer for it. Because the first boss battle has a few events, I need to have them run before the player is capable of using the Brainstorm command. However, trying to set the events after that results in them all happening all together, and when I try to set it to specific turns, I can't then get it working right.

These are the two big problems I hit. Can anyone help me out, please?
Yanfly has an anti-fail script, that if you install it and add the appropriate notetag to your skill makes it so the message can't show for that skill. That will fix problem 1.

For problem two, maybe you could seal the skill until those events are done, then unseal it? This could be done by adding a state, then removing the state. The only problem you might run into is if the player is ko'd then revived, the state will be removed (though I think Hime has a script to get around that).
Yanfly also has a Skill Restriction script that can stop skills from being used when a certain switch is on/off: https://yanflychannel.wordpress.com/rmvxa/gameplay-scripts/skill-restrictions/
My problem hasn't been that, actually.

Perhaps i just don't understand the way the 'Span' function works, how exactly do 'Battle', 'Turn' and 'Moment' work?
Movement? There is no movement in RPG Maker VX or ACE by default during battles. Are you using a script for that?
That says "moment", not "movement" 😉
And that is a sign I need to go to bed probably 😛 . Carry on.

Original thread: https://forums.rpgmakerweb.com/threads/brainstorm-ability.40110/