Thread: [Essentials script] Pokémon Following Character script
View Single Post
  #25    
Old January 3rd, 2010 (06:32 PM). Edited January 6th, 2010 by MykehDoom.
MykehDoom's Avatar
MykehDoom MykehDoom is offline
Team Magma's Entei
 
Join Date: Jul 2005
Location: GA
Age: 26
Nature: Relaxed
Posts: 150
Send a message via AIM to MykehDoom Send a message via Windows Live Messenger to MykehDoom Send a message via Yahoo to MykehDoom
Okay I followed the install vid.. PERFECTLY. But I get this error.

Quote:
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

Message: Script error within event 128, map 25 (Test Map 2):

Exception: NameError

Message: (eval):2:in `pbExecuteScript'undefined local variable or method `create_6_dependent_event' for #<Interpreter:0x505e8d0>

***Full script:

pbAddPokemon(PBSpecies::PONYTA,5)
create_6_dependent_event
auto_change_without_animation


Interpreter:239:in `pbExecuteScript'

Interpreter:1583:in `eval'

Interpreter:239:in `pbExecuteScript'

Interpreter:1583:in `command_355'

Interpreter:492:in `execute_command'

Interpreter:191:in `update'

Interpreter:104:in `loop'

Interpreter:196:in `update'

Scene_Map:96:in `update'

Scene_Map:94:in `loop'



Interpreter:274:in `pbExecuteScript'

Interpreter:1583:in `command_355'

Interpreter:492:in `execute_command'

Interpreter:191:in `update'

Interpreter:104:in `loop'

Interpreter:196:in `update'

Scene_Map:96:in `update'

Scene_Map:94:in `loop'

Scene_Map:107:in `update'

Scene_Map:63:in `main'



This exception was logged in errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
Okay so I fixed my error. it's not "create_6_dependent_event"
it's "creat_6_dependent_event" without the "e" in create.



Okay so new error.

When I got to the next map and I try to call out my pokemon to follow me, I get this error
Quote:
---------------------------
Pokemon Essentials
---------------------------
Exception: NoMethodError

Message: undefined method `erase' for nil:NilClass

DependentEvents:532:in `refresh'

DependentEvents:530:in `eachEvent'

DependentEvents:380:in `each'

DependentEvents:380:in `eachEvent'

DependentEvents:530:in `refresh'

DependentEvents:549:in `update'

AnimationSprite:81:in `update'

AnimationSprite:80:in `each'

AnimationSprite:80:in `update'

Scene_Map:47:in `updateSpritesets'



This exception was logged in errorlog.txt.

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