The event doesn't see that I clicked a button

I'm trying to add an opening to my game, but I also want it to be skippable. Currently I'm using HIME_PreTitleEvents Plugin to make this happen, but I doubt it's a fault on the plugin.


So here is a screenshot of my event...

Spoiler
Untitled.png

I want the opening to go straight to the title screen when I press OK, but it doesn't seem to recognize it and keeps on playing the song.
The conditional branch "button press" checks if you pressed the button in that exact frame. And it only starts the waits if you don't press it, but while waiting you never check (and can't check) if the button is pressed.


Make it a loop with the conditional branch and the waits inside the loop.


Have the conditional branch only use the main segment, no else allowed.


In the main segment, place the command "break loop".


After the conditional branch, make a wait(30) or so - that is the wait time between two checks for press button, so 30 is probably the maximum - you might even go down to 15.


Then a control variable "elapsed wait", adding the wait frames to it


Last part of the loop is again a conditional branch, this time checking the elapsed wait variable - if the wait is long enough, have that also break the loop.


Then place the fadeout and return to title sequence after the loop.
@Andar Oh my god! You're amazing!

Original thread: https://forums.rpgmakerweb.com/threads/the-event-doesnt-see-that-i-clicked-a-button.74262/