View Single Post
  #433    
Old February 21st, 2013, 01:13 PM
Giu's Avatar
Giu
 
Join Date: Jan 2010
Age: 22
Gender: Male
Nature: Modest
Hello

The game is crashing when the Bug Contest ends. This is the message I receive:

"
Quote:
Pokemon Essentials
Exception: RuntimeError
Message: Script error within event 4, map 29 (Natural Park Entrance):
Exception: NoMethodError
Message: Section120:236:in `pbBugContestScore'undefined method `+' for nil:NilClass
Full script:
pbBugContestState.pbStartJudging


Interpreter:243:in `pbExecuteScript'
PokemonBugContest:236:in `each'
PokemonBugContest:236:in `pbBugContestScore'
PokemonBugContest:96:in `pbJudge'
PokemonBugContest:152:in `pbStartJudging'
(eval)in `pbExecuteScript'
Interpreter:1600:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:1600:in `command_355'
Interpreter:494:in `execute_command'


Interpreter:276:in `pbExecuteScript'
Interpreter:1600: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'
"

NM problem solved by replacing line 236 by
for i in pokemon.iv; ivscore+=i; end

Last edited by Giu; February 21st, 2013 at 01:28 PM.
Reply With Quote