• 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 when opening in Essentials 18.1

  • 5
    Posts
    5
    Years
    Hi everyone, it's me again! I have this error when I try to open the Pokedex in my game. I justed added a regional pokedex when the error first appeared.

    Error 1:
    Code:
    [Fri Oct 09 13:27:27 AUS Eastern Daylight Time 2020]
    [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'

    I also had this second error when I tried to access the Pokedex unlock/lock feature in the Debug Menu.

    Error 2:
    Code:
    [Fri Oct 09 13:31:31 AUS Eastern Daylight Time 2020]
    [Pokémon Essentials version 18.1]
    Exception: NoMethodError
    Message: undefined method `_intl' for #<PokemonPauseMenu:0xf5dc028>
    
    Backtrace:
    Settings:234:in `pbDexNames'
    Debug_Menu:662:in `pbDebugMenuActions'
    Debug_Menu:659:in `loop'
    Debug_Menu:682:in `pbDebugMenuActions'
    Debug_Menu:857:in `pbDebugMenu'
    Debug_Menu:821:in `loop'
    Debug_Menu:859:in `pbDebugMenu'
    PScreen_PauseMenu:254:in `pbStartPokemonMenu'
    PScreen_PauseMenu:253:in `pbFadeOutIn'
    PScreen_PauseMenu:256:in `pbStartPokemonMenu'

    I appreciate any help or ideas :)
     
    For the second error, check if line 234 onwards in "Settings" looks something like this:
    Code:
    def pbDexNames; return [
       [COLOR="Red"]_intl[/COLOR]("National Pokédex")
    ]; end
    If so, change the red part, then it should work.
    Code:
    def pbDexNames; return [
       [COLOR="Red"]_INTL[/COLOR]("National Pokédex")
    ]; end
    Regarding the second error idk yet, but it would help if you checked anything you changed from the original Essentials version again.
     
    Try restarting your save and see if you encounter the 1st error.
     
    For the second error, check if line 234 onwards in "Settings" looks something like this:
    Code:
    def pbDexNames; return [
       [COLOR="Red"]_intl[/COLOR]("National Pokédex")
    ]; end
    If so, change the red part, then it should work.
    Code:
    def pbDexNames; return [
       [COLOR="Red"]_INTL[/COLOR]("National Pokédex")
    ]; end
    Regarding the second error idk yet, but it would help if you checked anything you changed from the original Essentials version again.

    Thanks for the reply! I tried the code however that didn't fix the issue. I will try your advice to compare my version to the original Essentials now to see if that will fix the second error :)
     
    Back
    Top