- 27
- Posts
- 6
- Years
- Seen Oct 7, 2024
So, updated my Fan Game from v18 to v18.1, and all was going fine, when today I got this error message:
---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 18.1]
Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass
Backtrace:
PScreen_PokedexMain:328: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.
---------------------------
OK
---------------------------
The undefined area is Line 315 of PScreen_PokedexMain, I don't know what I need to put in there, so if anyone knows, please let me know.
Additionally, when I started making the Fan Game I had 4 Regional Dexes before switching, but I had trouble as the primary regional dex I was using kept resorting to the National Dex, despite me putting in a list of Pokedex Numbers, so I resorted to changing the Kanto Dex to my regional dex, deleting every Pokemon's RegionalNumber section in the PBS file, but returning those to the Pokemon I wanted in the correct order of my own Pokedex, this method worked fine in v18, so I have no clue what's happening.
Also I tried redoing the Scripts and adding in fresh Scripts from the v18.1 .zip file (or .rar file for me), as well I've tried adding back the Pokedexes in the Scripts and leaving them out, neither seem to be working.
---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 18.1]
Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass
Backtrace:
PScreen_PokedexMain:328: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.
---------------------------
OK
---------------------------
The undefined area is Line 315 of PScreen_PokedexMain, I don't know what I need to put in there, so if anyone knows, please let me know.
Additionally, when I started making the Fan Game I had 4 Regional Dexes before switching, but I had trouble as the primary regional dex I was using kept resorting to the National Dex, despite me putting in a list of Pokedex Numbers, so I resorted to changing the Kanto Dex to my regional dex, deleting every Pokemon's RegionalNumber section in the PBS file, but returning those to the Pokemon I wanted in the correct order of my own Pokedex, this method worked fine in v18, so I have no clue what's happening.
Also I tried redoing the Scripts and adding in fresh Scripts from the v18.1 .zip file (or .rar file for me), as well I've tried adding back the Pokedexes in the Scripts and leaving them out, neither seem to be working.