• 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!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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] remove pokemon without deleting it?

  • 9
    Posts
    6
    Years
    • Seen Jun 10, 2020
    -First of all, i apologize for my bad english. But if I do not practice it, I will not get better :D

    -This is for all essentials professionals!

    -I am currently working on my Pokemon game and came up with the idea to change the character in the story. Of course this is not a problem with:

    pbChangePlayer(any number)

    -Additionally to equip it with your own Pokemon: Example:

    pbAddPokemonSilent (: PIKACHU, 20)

    -So far so good! Now I want to switch back to my protagonist later, to continue with him.

    -Now the problem!

    -How can I save my team before i change the character, for later access?

    -I came up with the idea to save the team before switching with the following command:

    otherplayer = $Trainer.party

    And then later retrieve it with $Trainer.party = otherplayer.

    According to the wiki, both commands exist as well. The first does not come with an error message, so I suspect that the save works, but the second one does not work and then I get an error message.

    -I hope I have explained everything understandable. :D

    Maybe somebody can help me with that. Thanks in advance :)
     
    Last edited:
    Right. But I only made the mistake here xD Thanks anyway, for making me aware of that :D
     
    (broken link removed)

    The link I gave you should have pretty much all you would need.

    Here's how I setup mine (you don't need make the same as I do, I just did it for clarification about wha'ts happening between the first and and second party transition):
    [PokeCommunity.com] remove pokemon without deleting it?


    [PokeCommunity.com] remove pokemon without deleting it?


    [PokeCommunity.com] remove pokemon without deleting it?
     
    OMG Thank you so much!
    I can finally conclude with it.
    I wish you much success komaoto :D
     
    Back
    Top