• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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
8
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!
     

    Ego13

    hollow_ego
    311
    Posts
    6
    Years
  • 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
     
    25
    Posts
    8
    Years
    • Seen Feb 19, 2020
    Thanks, dunno if it works either since I'd already found a different fix. Thanks for the help though!
     
    Back
    Top