To explain what I'm trying to do, during the Battle process, I want to add a small 'Yes/No' Command window that should pop up after the player has selected actions for all party members.
Normally, once the last actor has decided an action (attack, skill, etc.) the turn starts immediately. I would like to add a final check asking the player if they're sure they like their selection.
I managed to get this working on MV some time ago, but I have decided to upgrade to MZ, tried my old code but it didn't work, so I'm trying to rebuild it to the new convention.
But... it's not working. I've tried everything I could think of but I'm not able to get this to work in MZ. Inspector reveals the window is being created correctly, but it's not showing up at all. I feel like I'm missing something obvious, it's been a year since I last touched Javascript or RPG Maker. I attach my (wrong) code.
Can anyone tell me what am I doing wrong?
Normally, once the last actor has decided an action (attack, skill, etc.) the turn starts immediately. I would like to add a final check asking the player if they're sure they like their selection.
I managed to get this working on MV some time ago, but I have decided to upgrade to MZ, tried my old code but it didn't work, so I'm trying to rebuild it to the new convention.
But... it's not working. I've tried everything I could think of but I'm not able to get this to work in MZ. Inspector reveals the window is being created correctly, but it's not showing up at all. I feel like I'm missing something obvious, it's been a year since I last touched Javascript or RPG Maker. I attach my (wrong) code.
Can anyone tell me what am I doing wrong?