Talk:Known Bugs/@comment-68.147.115.106-20160605035102

So... I got back this dude's surfing pikachu, and delivered it back to him at Rantipole.

And then, whether I name the pokemon or not, in both cases, there's an error that pops up and then my game crashes.

Script 'Interpreter' line 276: RuntimeError occurred.

Script error within event 23, map 131 (Rantipole):

Exception: NoMethodError

Message: (eval):2:in'pbExecuteScript' undefined method 'setGender' for nil:NilClass

***Full script:

poke=$Trainer.party[5]

poke.setGender(0)

poke.pbLearnMove(:SURF)

Interpreter:243:in'pbExecuteScript'

Interpreter:1600:in'eval'

Interpreter:243:in 'pbExecuteScript'

Interpreter1600: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'

And then I click "Okay" and the game closes. Is there a way in which I can get my surfing pikachu?