• 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!
  • Scottie, Todd, Serena, Kris - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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 to swap overworld functionality of X and Z?

  • 14
    Posts
    7
    Years
    • Seen Jun 14, 2018
    So, something that's always bugged me about Essentials is that in official games you run with the back button and pause with Start, but is Essentials you pause with the back button and run with Z, which functions otherwise the way Start does. Is there any way to swap these two; i.e., make X run in the overworld and Z pull up the pause menu? Thanks! =D

    Edit: SOLVED! In Essentials 17.2, the overworld button-maps are set up in Scene_Map, starting at line 185. I just swapped 'Input::A" and "Input::B". (A = Z and B = X) You also have to change it on Game_Player_Visuals at line 27.

    Thanks! XD
     
    Last edited:
    Go to PSystem_Controls and replace lines 88 and 89 with:
    Code:
        when Input::A;     return [0x58,0x1B]           # X, ESC
        when Input::B;     return [0x5A,0x57,0x59,0x10] # Z, W, Y, Shift
     
    Go to PSystem_Controls and replace lines 88 and 89 with:
    Code:
        when Input::A;     return [0x58,0x1B]           # X, ESC
        when Input::B;     return [0x5A,0x57,0x59,0x10] # Z, W, Y, Shift

    That works to completely swap buttons X and Z, but what I'm trying to do is just swap them on the overworld. The only things I want to change are to make X run and Z open the menu, but keep X as the Back button in menus and dialogue, and likewise have Z retain all of its standard functionality when not in the overworld. Does that make sense? I know this is kind of a weird request.
     
    Back
    Top