View Single Post
  #36    
Old February 12th, 2012 (1:48 PM).
tasmania12's Avatar
tasmania12 tasmania12 is offline
Mewtwo Master
 
Join Date: Mar 2008
Location: Pallet Town
Age: 21
Gender: Male
Nature: Naughty
Posts: 47
I did the script code to check if the first pokemon was a bulbasaur in my party, and it gave me this error:


Exception: RuntimeError

Message: Script error within event 3, map 2 (MAP002):

Exception: NoMethodError

Message: (eval)in `pbExecuteScript'undefined method `species' for nil:NilClass

***Full script:

$Trainer.pokemonParty[0].species==PBSpecies::BULBASAUR

Interpreter:243:in `pbExecuteScript'

Interpreter:787:in `eval'

Interpreter:243:in `pbExecuteScript'

Interpreter:787:in `command_111'

Interpreter:319: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'



Interpreter:275:in `pbExecuteScript'

Interpreter:787:in `command_111'

Interpreter:319: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'
__________________

-Groudon-Rayquaza-
Reuniclus-Ho-oh-
Reply With Quote