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

Adding and removing party pokemon - memorizing data.

129
Posts
14
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
     

    Luka S.J.

    Jealous Croatian
    1,270
    Posts
    15
    Years
  • 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)
     
    10
    Posts
    9
    Years
  • 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