- 5
- Posts
- 7
- Years
- Seen Oct 21, 2021
I recently updated my game to include both the latest fixes and the Gen 8 Project
Everything runs fine until you encounter a wild Pokemon, in which case the game displays this error and crashes
I am not an expert on coding, so I have no idea where to even start fixing this. If anyone could point me in the right direction, that would be really helpful. Willing to learn in the process of course, so next time I know what I'm looking at
Everything runs fine until you encounter a wild Pokemon, in which case the game displays this error and crashes
[2021-08-16 15:04:02 +0100]
[Pokémon Essentials version 19.1]
[Generation 8 Project v1.1.0]
[v19 Hotfixes 1.0.4]
[v19.1 Hotfixes 1.0.5]
Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass
Backtrace:
265:Player_Pokedex:272:in `number_battled'
265:Player_Pokedex:291:in `number_battled_shiny_tier'
232:Overworld_WildEncounters:404:in `pbGenerateWildPokemon'
230:Overworld_BattleStarting:251:in `block in pbWildBattleCore'
230:Overworld_BattleStarting:242:in `each'
230:Overworld_BattleStarting:242:in `pbWildBattleCore'
230:Overworld_BattleStarting:323:in `pbWildBattle'
215:Overworld:206:in `pbBattleOnStepTaken'
215:Overworld:181:in `pbOnStepTaken'
047:Game_Player:370:in `update_event_triggering'
I am not an expert on coding, so I have no idea where to even start fixing this. If anyone could point me in the right direction, that would be really helpful. Willing to learn in the process of course, so next time I know what I'm looking at