Code:
def pbStartPokemonMenu
pbSetViableDexes
@scene.pbStartScene
endscene = true
commands = []
cmdPokedex = -1
cmdPokemon = -1
cmdBag = -1
cmdTrainer = -1
cmdSave = -1
cmdOption = -1
cmdPokegear = -1
cmdDebug = -1
cmdQuit = -1
cmdEndGame = -1
Now insert this right below that:
Code:
if $game_switches[100]
Kernel.pbMessage(_INTL("The pause menu can't be accessed."))
return
end
If you turn on switch 100 now it will deny access to the pause menu until you turn it off.
You can always use another switch for this as well.