The PokéCommunity Forums

The PokéCommunity Forums (
-   Pokémon Essentials (
-   -   Question Dependent events (Starter kit help) (

Kunoichi December 24th, 2012 8:02 AM

[Solved RE: Dependent events]
I am really stuck on how to make dependent events work. I have tried for the entire day to figure out why this little bit of code won't work for me.

All I want is for one character to follow and help the main player. I have read the Pokemon essentials Wikia page and it still doesn't make sense. T_T

I've tried making new trainer types, new encounters, replacing some of the older trainers/types... It's just a big mess.

I'm using the newest version of the starter kit (December 23rd).

I keep getting error messages:



Pokemon Essentials
Exception: RuntimeError

Message: Script error within event 12, map 5 (Route 1):

Exception: SyntaxError

Message: (eval):4:in `pbExecuteScript'compile error
(eval):3: syntax error

***Line '(PBTrainers::Pokemontrainer_Leaf,"Ita' shouldn't begin with '('. Try

putting '(' at the end of the previous line instead,

or using Extendtext.

***Full script:


Interpreter:276:in `pbExecuteScript'

Interpreter:1600:in `command_355'

Interpreter:494:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Interpreter:124:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map:103:in `update'

This exception was logged in

C:\Users\Home\Saved Games/Pokemon Essentials/errorlog.txt.

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

I've even read the error message, about the line and have done a million different things (okay, that's an exaggeration but still) to change the 'line' that seems to bother the program, but still doesn't work. *sobbing*

Any help would be greatly appreciated.

Maruno December 24th, 2012 8:49 AM


Originally Posted by Kunoichi (Post 7453702)
I've even read the error message

You can't have done, because the error message tells you how to solve your problem. You also haven't searched this forum for similar errors, because if you had you would have found the recent thread about this exact same problem which includes a fuller explanation from me.

At the moment you have this:


It needs to look like this:


Notice how, at the end of each line, there is either a bracket or a comma. That's important.

An alternative is the other thing the error message suggested, which is to use ExtendText to make the code box really wide, and then put this code all on the same line:


Pick an option and go for it.

Kunoichi December 24th, 2012 9:19 AM

Okay, after some tweaking and a lot of messing around in the game editor (mostly my own fault with confusing some trainer types), I've finally got it working.
I did read it, but you're right, pressing the backspace key didn't work. Thank you so much for the prompt response and solving it.

Also, what do you mean by extend text?

Maruno December 24th, 2012 9:32 AM

It's a program called ExtendText.exe in the game's main folder. Running it while RMXP is open will cause all event message boxes and event script boxes to become larger, allowing you to fit more in. The effect lasts until you close RMXP.

Kunoichi December 24th, 2012 9:37 AM

Thank you again for helping to solve my problems! c:

All times are GMT -8. The time now is 12:33 PM.

Like our Facebook Page Follow us on Twitter © 2002 - 2015 The PokéCommunity™,
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / Poké
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2015.