• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.

[Error] HELP! v18 - Pokedex Error

  • 27
    Posts
    6
    Years
    • Seen Oct 7, 2024
    So, updated my Fan Game from v18 to v18.1, and all was going fine, when today I got this error message:

    ---------------------------
    Pokemon Essentials
    ---------------------------
    [Pokémon Essentials version 18.1]

    Exception: NoMethodError

    Message: undefined method `[]' for nil:NilClass



    Backtrace:

    PScreen_PokedexMain:328:in `pbGetDexList'

    PScreen_PokedexMain:325:in `each'

    PScreen_PokedexMain:325:in `pbGetDexList'

    PScreen_PokedexMain:345:in `pbRefreshDexList'

    PScreen_PokedexMain:260:in `pbStartScene'

    PScreen_PokedexMain:1186:in `pbStartScreen'

    PScreen_PauseMenu:161:in `pbStartPokemonMenu'

    PScreen_PauseMenu:158:in `pbFadeOutIn'

    PScreen_PauseMenu:163:in `pbStartPokemonMenu'

    PScreen_PauseMenu:144:in `loop'



    This exception was logged in

    C:\Users\USERNAME\Saved Games\Pokemon Essentials\errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------

    The undefined area is Line 315 of PScreen_PokedexMain, I don't know what I need to put in there, so if anyone knows, please let me know.

    Additionally, when I started making the Fan Game I had 4 Regional Dexes before switching, but I had trouble as the primary regional dex I was using kept resorting to the National Dex, despite me putting in a list of Pokedex Numbers, so I resorted to changing the Kanto Dex to my regional dex, deleting every Pokemon's RegionalNumber section in the PBS file, but returning those to the Pokemon I wanted in the correct order of my own Pokedex, this method worked fine in v18, so I have no clue what's happening.

    Also I tried redoing the Scripts and adding in fresh Scripts from the v18.1 .zip file (or .rar file for me), as well I've tried adding back the Pokedexes in the Scripts and leaving them out, neither seem to be working.
     
    So, this is something that can happen if you have a save file which was created using a different pokemon.txt. If you create a new save file, it will probably fix it. Or, if you have the previous pokemon.txt that you were using from your previous Essentials version, you could copy that in and see if it works.
     
    This is exactly the same problem I experienced lately; I'd like to resume the topic to see if someone found a solution.
    I erased the save file multiple times and corrected the pokemon.txt file, but still the game freezes whenever I try to open the Pokédex. The version is v18.1.
    Did anyone found anything at all to solve this?
     
    Check to see if you have skipped any Pokemon numbers in pokemon.txt, if there are any ID numbers missing (e.g. you go from 800 to 805) it can refuse to open the dex.
     
    I have v 19.1 RGPXP and having a very hard time getting the Script part just right so that I can get back on the game that I am trying to make got like 2 Johto Dex and I am only trying to make dex for Alola Region. Which would be number 1 Number 2 Dex that I am stuck on is Kalos Region. Galar than Kento and Johto will be the last Dex and with me having. trouble right now I am stuck I can't get back into the Test game of my own Fan Made Pokemon game Help
     
    Back
    Top