So as the title suggest when I put $gameTemp.reserveCommonEvent(5) in the lunatic mode to run the common event which opens a yanflys common event menu ( which does not close with the x button btw only esc) it works when I press esc and when I select cancel. I see the comments event called when I press X but then it quickly closes the menu that's called (again the menu it calls does not close with x only esc.) I do know esc and x is cancel but then when doesn't that problem exist when I hit esc. Im using yanflys button commence event too. x is a completely different common event that has nothing to do with menus either.
Yanfly Quest Journal When Menu Close with X problem
RPG Maker MV SupportOriginal thread: https://forums.rpgmakerweb.com/threads/yanfly-quest-journal-when-menu-close-with-x-problem.144539/