New Scene Script (Simple, probably)

So, I've created a new menu button. Currently, the menu button, when activated, calls a common event. The common event opens a message window and a choice box, then from the choice box, 2 other screens can be called up (PHWarehouses, for those familiar with the plugin). Unfortunately, the game isn't paused during the message/choice, like it is in the menu and PHWarehouse screen. Ideally, this part would be paused too, however, this means it needs to be a scene, and I have no idea how to make a scene. It should be a relatively small task given how little it does, so if anyone has 5-10 minutes and could whip it together, that'd be great! 


The scene would require the following features:


- It could be called up with a Plugin Call / Javascript Call (preferably a simple one, since I don't know java)


- It would display a message window, or something similar, that has a face graphic, a name box (like Yanfly's Message Core plugin), and the text body. The face image is stored in "Willowisp_Face.png", index 0.


- It would have a 3-choice choice box, "Bank" "Discard" and "Cancel"


- Each of these 3 choices would make a plugin call or set of plugin calls, or a java call like so:

  • Bank: Plugin call "PHWarehouse show <Bank Fairy>"
  • Discard: Plugin call "PHWarehouse create <Discard Fairy:100:No Valuables>" followed by Plugin Call "PHWarehouse show <Discard Fairy>" followed by Plugin Call "PHWarehouse remove <Discard Fairy>"
  • Cancel: Javascript call "SceneManager.push(Scene_Menu)" 

- And of course, it would need to suspend the game like the main menu does. 


The common event I'm currently using for it, and a screenshot of what it produces. Due to the Yanfly Menu Manager plugin restraints (because I don't know Java), all I can do is call common events, thus the script would need to be able to be called by Plugin Call or Script. 


The \n<Bank Fairy> part of the message window turns into a name box, as shown in image 2.

Spoiler
Spoiler





Capture.PNG


Capturwe.PNG

Original thread: https://forums.rpgmakerweb.com/threads/new-scene-script-simple-probably.57102/