- 20
- Posts
- 4
- Years
- Seen Oct 2, 2021
Hi there, back at it with another problem.
So, the thing is: when I try to access to the Pokédex, the game instantly freezes and shows this message:
---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 18.1.dev]
Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass
Backtrace:
PScreen_PokedexMain:330: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.
---------------------------
Now, I tried to verify my scripts and it's as follows:
USE_CURRENT_REGION_DEX = false
def pbDexNames; return [
[_INTL("Regional Pokédex"),0],
_INTL("National Pokédex")
]; end
DEX_SHOWS_ALL_FORMS = false
DEXES_WITH_OFFSETS = []
My goal was to show the national dex from the start.
I used the script: "$Trainer.pokedex=true" to make the Pokédex avalilable and then I used: "pbUnlockDex" and "pbLockDex(0)" to block the regional one and unlock the national.
Even so, the game freezes and I cannot access any dex at all. What am I doing wrong?
So, the thing is: when I try to access to the Pokédex, the game instantly freezes and shows this message:
---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 18.1.dev]
Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass
Backtrace:
PScreen_PokedexMain:330: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.
---------------------------
Now, I tried to verify my scripts and it's as follows:
USE_CURRENT_REGION_DEX = false
def pbDexNames; return [
[_INTL("Regional Pokédex"),0],
_INTL("National Pokédex")
]; end
DEX_SHOWS_ALL_FORMS = false
DEXES_WITH_OFFSETS = []
My goal was to show the national dex from the start.
I used the script: "$Trainer.pokedex=true" to make the Pokédex avalilable and then I used: "pbUnlockDex" and "pbLockDex(0)" to block the regional one and unlock the national.
Even so, the game freezes and I cannot access any dex at all. What am I doing wrong?
Last edited: