• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

How would I disable the ESC Menu

Allgamesdude

The Creator of the WIP game, Pokémon Cosmic. Looki
  • 282
    Posts
    12
    Years
    Hi all.

    Currently, I'm experimenting with a touch screen/mouse layout for my game. How would I disable the regular menu? I don't want to have to delete it, because if I want to go back to the old menu system I could just delete all of my mouse scripts. How would I disable it? Could I require it to have a switch on and never activate the switch? If so, how would I do that?


    EDIT----------------------------------------

    In addition, how would I make the actual game surrounded by a black border, where the buttons for the new menu would go?
    ----------------------------------------EDIT

    Thanks

    Pokegod
     
    Last edited:
    Look in Scene_Map
    at line 137

    This is where the start-menu is being called when you press X or esc (Input::B).

    If you add your switch to the "unless"-test, it should work. (you can add a switch by writing "$game_switches[your_id_here]")

    "unless pbMapInterpreterRunning? or $game_system.menu_disabled or $game_player.moving? or {your_condition_here}"
     
    Last edited:
    Back
    Top