Advertiser Content

Error Partner trainer

Started by SebastiaanZ June 6th, 2019 3:47 AM
  • 204 views
  • 2 replies
Seen 1 Week Ago
Posted June 6th, 2019
6 posts
2.2 Years
This is beginning to piss me off a bit. I am trying everything, yet I get this error every single time.

Spoiler:
---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 17.2]

Exception: RuntimeError

Message: Script error within event 5 (coords 5,4), map 89 (Route 1 - Rocket Base):

Exception: NoMethodError

Message: PField_Field:905:in `pbRegisterPartner'undefined method `[]' for nil:NilClass

***Full script:

pbRegisterPartner(
PBTrainers::RIVAL1,
"Blue",1)


Interpreter:243:in `pbExecuteScript'

(eval):2:in `pbExecuteScript'

Interpreter:1606:in `eval'

Interpreter:243:in `pbExecuteScript'

Interpreter:1606:in `command_355'

Interpreter:494:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map:163:in `update'



Interpreter:276:in `pbExecuteScript'

Interpreter:1606:in `command_355'

Interpreter:494:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map:163:in `update'

Scene_Map:161:in `loop'

Scene_Map:170:in `update'

Scene_Map:234:in `main'



This exception was logged in

C:\Users\Sebastiaan\Saved Games\Pokemon Essentials\errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------


I followed the steps outlined in a tutorial video. I even copied the Brendan event from Route 3 that is standard with Essentials. Still I get the same error every time.
What am I doing wrong? Can someone explain step by step what I need to do to fix this?
Advertiser Content