• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Help with vs sequence script

23
Posts
12
Years
  • Seen Mar 29, 2014
Solved
I solved it, just by experimenting with the script.


Hi, I just downloaded pokemon essentials DS and I Copied the vs sequence script to my project in pokemon essentials (poccil's one), but I cannot get it working, I get this error:


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

Message: Script error within event 8, map 48 (Gym):

Exception: TypeError

Message: Section082:871:in `+'cannot convert nil into String

***Full script:

pbTrainerBattle(PBTrainers::Leader,"Xandra",_I("That was a good battle."),false,0)

Interpreter:243:in `pbExecuteScript'

PokemonField:871:in `pbBattleAnimation'

PokemonTrainers:397:in `pbTrainerBattle'

(eval):1: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: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'



This exception was logged in

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

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

I found that the error comes from a line that says '+$trainername+' but when I erase those + symbols it tells me syntax error, can someone help me
-------------------------------

I solved it, just by experimenting with the script.
 
Last edited:
23
Posts
12
Years
  • Seen Mar 29, 2014
I already do that but when I want to have the animation for another trainer I have to paste the same script with the second trainers data, but when I challenge the second trainer the animation is not the same, can you tell me a correct wa to import that single script to my project?
 
Back
Top