Yeah, combining the two would surely make it more compact and easier to edit, if needed, and would take less processing power, I guess.
Not only that, but it would also take care of issues of synchronization. Because she's got these two parallel processes working at the same time, she can't ensure what order they happen in. She could press the key, and then the other process makes the check, but the next time, it could check before she presses the key. It's not very robust.
You should also really change the 'Input.press?' checks to 'Input.trigger?' checks. 'Input.trigger?' is much reliable than the other for these kind of things, and you don't really need the press check here.
Agreed.
And yes, to make the puzzle count all 8 buttons on that colorful keyboard (from num 1 to num 8), 8 checks are needed for the button triggers, no matter how long is the required sequence. If one button check is missing, nothing will happen when the player press that button, so no fail can trigger on that button. Finishing the puzzle is still possible if the sequence does not require that button's symbol.
Yes. Basically, you can't fail if it doesn't detect you pressing the wrong button ;P Here's a mockup I made of the eventing code because I don't have RPG Maker at hand so I just had to use paint. Apologies if this is messy.
Edit: Oh, and to make it even more robust, inside each "Input.trigger?
🙂numX)" conditional branch, do a "Jump to Label" to the conditional branch at the end of the event. So if a key press returns true, the animation happens, the sound happens, it waits 5 frames, the button is pushed on, and then you "jump to" the conditional branch at the end, to a label just before the "@button_on == true" one.