New guy here, couldn't find an answer to this one..
I saw a script for a button mash- type of minigame, and wanted to implement that in battle as a beam struggle.
This is done as a common Event. Works perfectly as I'd hope on map, but in battle the check for button being pressed doesn't seem to work. The variable just drops down to zero and that's the end of that, no matter how much I mash the button.
Can anyone tell me if I'm missing something or if it's just plain and simple impossible to have a button mashing done this way in a battle?
Here's the Event I'm using:

Thank you very much in advance
I saw a script for a button mash- type of minigame, and wanted to implement that in battle as a beam struggle.
This is done as a common Event. Works perfectly as I'd hope on map, but in battle the check for button being pressed doesn't seem to work. The variable just drops down to zero and that's the end of that, no matter how much I mash the button.
Can anyone tell me if I'm missing something or if it's just plain and simple impossible to have a button mashing done this way in a battle?
Here's the Event I'm using:

Thank you very much in advance