script call for every menu command?

Hi everyone

I want to make a custom menu with engines (common event) and own images.


Do you know where I can find script calls for each menu?


Script call to open states, load game, save game, items, exit game (On RPG Maker VX Ace)


Thank you
A lot of them are in Game_Interpreter methods, but if you look at Scene_Map and Scene_Menu you can look up the calling implementations for any other scene in the game.
There are Scriptcall lists or Script equivalents for the Event commands.

Here is the Scriptcall Collection:
And here is a loose collection Thread:

There are also some for every Menu, like Item Menu, Safe Menu, Load Menu...iam not sure if they are in that lists, but if not just tell us which one exactly and we can maybe help, also you could ask directly in the second Linked Thread.

Edit: Here are 2:
SceneManager.call(Scene_Load)
SceneManager.exit
You can use these in Eventcommand Script, you find it on 3rd Page of the Eventcommands.

Edit2:
Here one extra, i had to search different threads and ask people for help to get this running.
Its more than 4 Choices, and the selected one gets safed as number in a variable for use in conditional Branch.
Code:
$game_message.face_name = 'Actor1'
$game_message.face_index = 0
$game_message.background = 0
$game_message.position = 2
$game_message.add("Choose your Style")
params = []
choices = []
choices.push("Warrior")
choices.push("Magician", "Knight", "Archer")
choices.push("Mergent", "Chuck Norris", "Eric Cartman", "MacGyver")
params.push(choices)
params.push(2) #(If Cancel: 0=Disallow/1,2...=Uses specified answer if cancel is selected(not sure if it #starts with 0 or 1 to count)
setup_choices(params)
wait_for_message
$game_variables[1] = @branch[@indent]
Conditional Branch if Variable1 is 1
change actor1 to warrior class
...

You could just copy paste this. Its helpful in case you Event your own Title Screen or other stuff.
You did not ask for this one in particular, i just guessed it might be interesting aswell.
Edit: Its not very flexible and a Script might be better, but for a Prototype Project this might be enough.
Could you maybe clarify a bit what you want? Do you want to make a menu like when you click Show Choices from the event creation screen (so it'd appear over the Text Box)? Or are you looking to replace the menu you get to by pressing the escape key (like the Game Menu)? The answer is fairly different, depending on what you want, and if you are looking to replace the Escape\Game Menu, I am curious why. The commands you listed are all already there, so you're potentially signing up for a lot of work to replicate existing functionality. There might be an easier way to achieve what you want.
Hey, I've got a similar question: Is there a way to change what Menu>Formation button calls? I want to use Galvs Army Manager and when I press the Formation button it should leave to script scene. Thanks for any info
@ddejan90 you should make a new thread as you are necro posting.
In the new thread you should make please state what scripts (if any) you are using for the menu scene, even if it default, just say default.
This will matter in how the script call is made where.

Original thread: https://forums.rpgmakerweb.com/threads/script-call-for-every-menu-command.123506/