I'm a bit rusty with RGSS3 but I can suggest doing it with Common Events:
My RMVXA being from Steam is in the language of my operating system, which is not English, so I will try to explain it in stages.
Open the database, go to the Common Events tab.
Create a new event, switch to Parallel process.
Select a switch of your choice and name it "Call_Main_Menu".
Inside the event call the event command, go to page 3 in
"System Settings" and select the command
"Change Menu Access...", use the
Disable operation.
Now create a new event command, on page 1 under
"Flow Control" select
"Conditional Branch...".
Go to page 4 and select the
Button option and change it to
"B" and uncheck the option
"Set handling when conditions do not apply".
At this point it should look like this:
Code:
@>Change Menu Access: Disable
@>Conditional Branch: The B Button is Being Pressed
@>
: Branch End
@>
Inside this
Conditional Branch... enter a new event command, page 2,
"Music and Sounds" select the command
"Save BGM".
Now enter
"Play BGM...", select the song you want to be the theme from the menu.
Enter a new event command, page 3,
"Scene Control" select the
"Open Menu Screen" command.
Enter a new event command, page 2,
"Music and Sounds" select the command
"Replay BGM".
Code:
@>Change Menu Access: Disable
@>Conditional Branch: The B Button is Being Pressed
@>Save BGM
@>Play BGM: 'Theme Menu', 100, 100
@>Open Menu Screen
@>Replay BGM
@>
: Branch End
@>
After the introduction of the game, activate the Switch from the menu, in every cutscene event or long dialogue between characters, deactivate this Switch.