• 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!
  • Cyndy, May, Hero (Conquest), or Wes - 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.

[Scripting Question] Limit Pokegear to Phone only

  • 25
    Posts
    9
    Years
    • Seen Feb 19, 2020
    Hey there! So I'm trying to add the phone feature to my game but I don't want the Pokegear menu to show up when I open the Pokegear. I want it to skip straight to the phone screen. I'd imagine this to be quite easy, I'm just not good enough at coding to figure what to change. Any help would be very much appreciated!
     
    In PScreen_PauseMenu find
    Code:
    elsif cmdPokegear>=0 && command==cmdPokegear
            pbFadeOutIn(99999){
              scene = PokemonPokegear_Scene.new
              screen = PokemonPokegearScreen.new(scene)
              screen.pbStartScreen
              @scene.pbRefresh
            }
    and change it to
    Code:
    elsif cmdPokegear>=0 && command==cmdPokegear
            pbFadeOutIn(99999){
              PokemonPhoneScene.new.start
              @scene.pbRefresh
            }
    this might do the trick, but it is untested
     
    Thanks, dunno if it works either since I'd already found a different fix. Thanks for the help though!
     
    Back
    Top