• 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!
  • Dawn, Gloria, Juliana, or Summer - 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.

[Error] why does this dex error keep happening

  • 52
    Posts
    5
    Years
    • Seen Mar 15, 2022
    this first happened with the kanto dex and i avoided the problem by leaving it locked and keeping the national dex open but now its happening to the national dex i have a feeling of whats happening but i need help just in case

    ---------------------------
    pokemon ultimate v.z
    ---------------------------
    [Pokémon Essentials version 17.2]

    Exception: NoMethodError

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

    PScreen_PokedexMain:328:in `pbGetDexList'

    PScreen_PokedexMain:325:in `each'

    PScreen_PokedexMain:325:in `pbGetDexList'

    PScreen_PokedexMain:350:in `pbRefreshDexList'

    PScreen_PokedexMain:260:in `pbStartScene'

    PScreen_PokedexMain:1191:in `pbStartScreen'

    PScreen_PokedexMenu:126:in `pbStartScreen'

    PScreen_PokedexMenu:123:in `pbFadeOutIn'

    PScreen_PokedexMenu:123:in `pbStartScreen'

    PScreen_PokedexMenu:111:in `loop'



    This exception was logged in

    C:\Users\???\Saved Games\pokemon ultimate v_z\errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------
     
    ok so I got this error today I have my region named kanto and my dex has both kanto and jhoto. when I open the jhoto it gave me the same error as you (kanto had no errors), I came to believe it was because I do not have a jhoto region included in my game, I swiched it out for national dex, which I believe supports all maps and now I no longer get that error so I believe it may have to do with your region name not matching your dex name
     
    encountered the same error a few times did you format your new pokemon with any johto pokemon?if so go into your debug and look at regional dexes ,go to johto and fill in blanks after fixing the new pokemons dex .problem is lets say you based it off pichu the number for pichu the( dex number for johto)is overwritten because its newer on the new pokemon
     
    I didn't do that but I was able to get mine to work well enough for my game Im trying to figure out how to track roaming pokemon but otherwise mine works btw pokemonlover I saw you asking some triad questions in an old thread now one was "can you sell different triad cards" FL created a script to sell booster packs if that interests you I can share it unless you solved your issue by now
     
    Im having trouble finding his original forum but here is his script with little changed for my game

    Spoiler:


    For this to work you need to add the Items BOOSTERPACK, STARTERPACK, and LEGENDARYPACK to your items.txt and graphics. the code is pretty easy to follow and the comments on top help a lot, the script goes above main!

    Spoiler:



    Also if triads gonna be a big part of your game I suggest you add in a way to view your cards outside of battle, I added mine to my pokegear If you would like that here is my PScreen_Pokegear script
    Spoiler:


    you will have to draw an icon for it but thats simple
     
    Last edited:
    Back
    Top