- 207
- Posts
- 16
- Years
- Seen Nov 28, 2023
Whenever I start a wild battle through any means, the game crashes. When initiating it through the debug menu, I get:
When I initiate it through tall grass, I get:
I tried looking through the scripts, but I couldn't figure out what went wrong. Could someone help?
Code:
Exception: NoMethodError
Message: undefined method `length' for nil:NilClass
PokemonBag:435:in `pbQuantity'
PokemonField:991:in `pbGenerateWildPokemon'
PokemonField:1027:in `pbWildBattle'
PokemonDebug:754:in `pbDebugMenu'
PokemonDebug:297:in `loop'
PokemonDebug:825:in `pbDebugMenu'
PokemonPauseMenu:242:in `pbStartPokemonMenu'
PokemonPauseMenu:241:in `pbFadeOutIn'
PokemonPauseMenu:241:in `pbStartPokemonMenu'
PokemonPauseMenu:142:in `loop'
When I initiate it through tall grass, I get:
Code:
Exception: NoMethodError
Message: undefined method `length' for nil:NilClass
PokemonBag:435:in `pbQuantity'
PokemonField:991:in `pbGenerateWildPokemon'
PokemonField:1027:in `pbWildBattle'
PokemonField:1497:in `pbBattleOnStepTaken'
PokemonField:1521:in `pbOnStepTaken'
Game_Player_:484:in `update_old'
Walk_Run:75:in `update'
Scene_Map:104:in `update'
Scene_Map:101:in `loop'
Scene_Map:114:in `update'
I tried looking through the scripts, but I couldn't figure out what went wrong. Could someone help?