- 90
- Posts
- 15
- Years
- Seen Nov 24, 2023
okay, so I made a fakemon and when I try to pick it up in the lab or even in debug mode, this is what happens:
Exception: RuntimeError
Message: Script error within event 5, map 125 (Pokemon Lab):
Exception: NoMethodError
Message: Section138:1250:in `pbSeenForm'undefined method `[]=' for nil:NilClass
***Full script:
pbAddPokemon(PBSpecies::CHRUMI,5)
Interpreter:243:in `pbExecuteScript'
PokemonUtilities:1249:in `each'
PokemonUtilities:1249:in `pbSeenForm'
PokemonUtilities:1221:in `pbAddPokemon'
(eval):1:in `pbExecuteScript'
Interpreter:1599:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:1599:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:276:in `pbExecuteScript'
Interpreter:1599:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:103:in `update'
Scene_Map:101:in `loop'
Scene_Map:114:in `update'
Scene_Map:68:in `main'
but when I picked up another fakemon everything was fine. what could be wrong?!
Exception: RuntimeError
Message: Script error within event 5, map 125 (Pokemon Lab):
Exception: NoMethodError
Message: Section138:1250:in `pbSeenForm'undefined method `[]=' for nil:NilClass
***Full script:
pbAddPokemon(PBSpecies::CHRUMI,5)
Interpreter:243:in `pbExecuteScript'
PokemonUtilities:1249:in `each'
PokemonUtilities:1249:in `pbSeenForm'
PokemonUtilities:1221:in `pbAddPokemon'
(eval):1:in `pbExecuteScript'
Interpreter:1599:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:1599:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:276:in `pbExecuteScript'
Interpreter:1599:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:103:in `update'
Scene_Map:101:in `loop'
Scene_Map:114:in `update'
Scene_Map:68:in `main'
but when I picked up another fakemon everything was fine. what could be wrong?!