• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • 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.

Adding and removing party pokemon - memorizing data.

  • 115
    Posts
    15
    Years
    • Seen Sep 4, 2023
    Hello everyone,

    Is it possible to remove a pokemon from the players party, and later add it again, with all the properties, id number, everything it had before?
    If yes, how should I proceed?

    Thank you very much!

    Giu
     
    I guess you could do something along the lines of
    Code:
    $game_variables[X]=$Trainer.party[Y]
    $Trainer.party.delete_at(Y)
    #
    #
    #
    # Then when you want to re-add
    $Trainer.party.push($game_variables[X]) if $Trainer.party.length<6
    X being the id of the game variable
    Y being the index position of the Pokemon (from 0...5)
     
    Could this be used to remove a shadow pokemon and return it later?

    for example... catch a shadow pokemon... hand it to a researcher so he can figure things out.... he gives it back later having worked out that you can restore it...

    how could I run a check to see if there's a shadow pokemon in the party?

    I have whole host of ideas now, thanks
     
    Back
    Top