• 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 work with the pause menu?

lucario170

pokemon writer.
  • 27
    Posts
    14
    Years
    I want to hide the trainercard from my pause menu until certain event can some one help me with this?
    Thanks in advance :)
     
    Replace everything on line 118 of the PokemonPauseMenu script with this:

    Code:
    commands[cmdTrainer=commands.length]=$Trainer.name if $game_switches[YOUR_SWITCH_ID_HERE]

    also, replace "YOUR_SWITCH_ID_HERE" with a number representing the switch ID you want. (Turning that switch on will show the trainer card option and turning it off will not show it)
     
    Back
    Top