• 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!
  • 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] Pokedex Error

  • 38
    Posts
    9
    Years
    • Seen Nov 9, 2024
    I can't open Pokedex, I don't know why? Can someone help me? I also looked for solutions like below but still doesn't work.

    -----------------------------------------
    My error:
    [Pokémon Essentials version 18.1]

    Exception: NoMethodError

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

    Backtrace:

    PScreen_PokedexMain:334:in `pbGetDexList'

    PScreen_PokedexMain:325:in `each'

    PScreen_PokedexMain:325:in `pbGetDexList'

    PScreen_PokedexMain:349:in `pbRefreshDexList'

    PScreen_PokedexMain:260:in `pbStartScene'

    PScreen_PokedexMain:1190:in `pbStartScreen'

    PScreen_PauseMenu:161:in `pbStartPokemonMenu'

    PScreen_PauseMenu:158:in `pbFadeOutIn'

    PScreen_PauseMenu:163:in `pbStartPokemonMenu'

    PScreen_PauseMenu:144:in `loop'

    -----------------------------------------------
    Not working solution:
    Replace
    form = ($Trainer.formlastseen[nationalSpecies][1] || 0)

    with this
    if defined?($Trainer.formlastseen[nationalSpecies][1])
    form = ($Trainer.formlastseen[nationalSpecies][1] || 0)
    else
    form = 0
    end
     
    Back
    Top