View Single Post
  #36    
Old February 12th, 2012, 01:48 PM
tasmania12's Avatar
tasmania12
Dovahkiin, Dragonborn
 
Join Date: Mar 2008
Location: Pallet Town
Age: 19
Gender: Male
Nature: Naughty
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-

-TRIFORCE-

please help me with my problems:
POKEMON ESSENTIALS

help with Missingno ideas:
http://www.pokecommunity.com/showthread.php?p=7068357
Battle Different Form:
http://www.pokecommunity.com/showthread.php?t=274447
exception to max level for certain species:
http://www.pokecommunity.com/showthread.php?t=274902