• 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.

How to disable "area" option.

8
Posts
11
Years
  • Hello.
    Is there any option to turn off "area" in pokedex ?
    I am making new layout for my game and pokedex and nest area is just unusefull. I'm trying to leave there just "INFO" and "FORMS" buttons.
    Please, can you help me ?
     

    Nickalooose

    --------------------
    1,309
    Posts
    16
    Years
    • Seen Dec 28, 2023
    Search:
    Code:
    scene=PokemonNestMapScene.new
    And comment out (use #) this section:
    Code:
                 when 2 # Show nest
                   region=-1
                   if !DEXDEPENDSONLOCATION
                     dexnames=pbDexNames
                     if dexnames[pbGetSavePositionIndex].is_a?(Array)
                       region=dexnames[pbGetSavePositionIndex][1]
                     end
                   end
                   scene=PokemonNestMapScene.new
                   screen=PokemonNestMap.new(scene)
                   ret=screen.pbStartScreen(@dexlist[curindex][0],region,listlimits)
    so it looks like this:
    Code:
    #             when 2 # Show nest
    #               region=-1
    #               if !DEXDEPENDSONLOCATION
    #                 dexnames=pbDexNames
    #                 if dexnames[pbGetSavePositionIndex].is_a?(Array)
    #                   region=dexnames[pbGetSavePositionIndex][1]
    #                 end
    #               end
    #               scene=PokemonNestMapScene.new
    #               screen=PokemonNestMap.new(scene)
    #               ret=screen.pbStartScreen(@dexlist[curindex][0],region,listlimits)
    and then change:
    Code:
                 when 3 # Show forms
    That line to:
    Code:
                 when [COLOR="Red"][B]2[/B][/COLOR] # Show forms
    That should do the trick. Not tested.

    EDIT:
    Don't forget to edit the graphic and remove <nest> or <area> which ever one it says... I forget.
     
    Last edited:

    Maruno

    Lead Dev of Pokémon Essentials
    5,286
    Posts
    16
    Years
    • Seen May 3, 2024
    There's also this code just above the stuff Nickalooose mentioned:

    Code:
             elsif Input.trigger?(Input::RIGHT) || ret==6
               newpage=page+1 if page<[COLOR=Red]3[/COLOR]
               pbPlayCursorSE() if newpage!=1
    Change the red number to a 2. I don't think it'll fix much, but it's for the sake of completeness.
     
    Back
    Top