• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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
    13
    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:
    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