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

[Error] Pokedex Error

36
Posts
8
Years
  • Age 24
  • Seen today
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
 

Pokeminer20

PDM20, Coder of Chaos!
412
Posts
9
Years
double check that every pokemon has a dex number by using the debug menus edit pokedex feature. and '-------------------' that is between two pokemon means you're missing a pokemon which might be causing your error
 
Back
Top