• 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.

[Scripting Question] Add player team from txt (or alternative)

AskipLudo

The Masked Guy
  • 159
    Posts
    8
    Years
    Hello, I was wondering if there is any possibility to make something easier.

    So instead of something like this:
    (where I add a team to my player for a scripted fight so this x6 where I have to change the given pokemon every time)
    [PokeCommunity.com] Add player team from txt (or alternative)


    I would like something that will make this easier, like for the trainers.txt where.

    Any help or advice will be grateful.
     
    Maybe you can create a trainer on trainers.txt, and use its party.

    It should look like this:
    Spoiler:
     
    You should put it in a script command on an event, so it triggers when you want it to happen.

    I've just checked it, add a colon for your trainer type (:TRAINER_Davis) and add quotation marks to its name ("Davis").
    Also, you don't have to add a version number, because the default is 0.
    Spoiler:


    I hope it's easier for you, as you said - you want it to be like trainers.txt😅
     
    You need the code without line breaks, the problem is probably that the first line became too long and it moved a line down, so it broke the code.
    You can extend your box by the extendtext.exe on the main directory so the code won't break.
    If it's not it, screenshot the code and I'll look for a fix.
     
    Back
    Top