Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

TrollandToad.com
Reply
 
Thread Tools
  #1    
Old July 11th, 2012 (7:12 PM).
shadowriver shadowriver is offline
     
    Join Date: Sep 2007
    Gender:
    Posts: 49
    i was wondering if there was a way to remove a set Pokémon from the trainer if he only has 1 Pokémon and if so keep the level its reached when it is returned.

    for example.
    the trainer has received a bulbasaur he trained it to level 10,he comes across a criminal organization they steel bulbasuar, trainer then meets a professor who then gives him a selection of starter Pokémon. later on the trainer recovers the bulbasaur at the level the player trained it to.
    Reply With Quote

    Relevant Advertising!

      #2    
    Old July 12th, 2012 (6:34 AM).
    Nickalooose Nickalooose is offline
    --------------------
       
      Join Date: Mar 2008
      Gender: Female
      Posts: 1,309
      Quote:
      Originally Posted by shadowriver View Post
      This is in the Pokémon Essentials section of the forum so it’s obviously for the rmxp Pokémon Essentials starter kit
      He just said it's made with Essentials... Being a little less cocky will get you more help by the way...

      To remove a Pokémon, be it the last Pokémon or not, you can use:
      $Trainer.party.detele_at(0), to remove the last Pokémon, but you won't want to use this when there are wild or trainer battles around, it will cause an error...

      But before you do this, set yourself a Variable: $game_variables[45] for example... And use this script...
      $game_variables[45]=$Trainer.party[0].

      To recover the Pokémon later on... Use $Trainer.party[0]=$game_variables[45].

      Simples.
      Reply With Quote
        #3    
      Old July 12th, 2012 (9:42 AM).
      shadowriver shadowriver is offline
         
        Join Date: Sep 2007
        Gender:
        Posts: 49
        Quote:
        Originally Posted byNickaloooseHe just said it's made with Essentials... Being a little less cocky will get you more help by the way...

        To remove a Pokémon, be it the last Pokémon or not, you can use:
        $Trainer.party.detele_at(0), to remove the last Pokémon, but you won't want to use this when there are wild or trainer battles around, it will cause an error...

        But before you do this, set yourself a Variable: $game_variables[45] for example... And use this script...
        $game_variables[45]=$Trainer.party[0].

        To recover the Pokémon later on... Use $Trainer.party[0]=$game_variables[45]
        Thank you.
        and sorry about that I actually didn't mean the way it came across ill watch that in the futer.
        Reply With Quote
          #4    
        Old July 12th, 2012 (10:31 AM).
        TACHAN TACHAN is offline
           
          Join Date: Jan 2010
          Gender: Female
          Posts: 198
          Quote:
          Originally Posted by Nickalooose View Post
          He just said it's made with Essentials... Being a little less cocky will get you more help by the way...

          To remove a Pokémon, be it the last Pokémon or not, you can use:
          $Trainer.party.detele_at(0), to remove the last Pokémon, but you won't want to use this when there are wild or trainer battles around, it will cause an error...

          But before you do this, set yourself a Variable: $game_variables[45] for example... And use this script...
          $game_variables[45]=$Trainer.party[0].

          To recover the Pokémon later on... Use $Trainer.party[0]=$game_variables[45].

          Simples.
          And if I want to eliminate all my team to do a special event?, for example, to fight against Mewtwo using only Mew

          Then would it have to put this?
          $game_variables[45]=$Trainer.party[0]
          $game_variables[45]=$Trainer.party[1]
          $game_variables[45]=$Trainer.party[2]
          $game_variables[45]=$Trainer.party[3]
          $game_variables[45]=$Trainer.party[4]
          $game_variables[45]=$Trainer.party[5]

          Later this?
          $Trainer.party.detele_at(0)
          $Trainer.party.detele_at(1)
          $Trainer.party.detele_at(2)
          $Trainer.party.detele_at(3)
          $Trainer.party.detele_at(4)
          $Trainer.party.detele_at(5)

          And finally would it have to put this?
          $Trainer.party[0]=$game_variables[45]
          $Trainer.party[1]=$game_variables[45]
          $Trainer.party[2]=$game_variables[45]
          $Trainer.party[3]=$game_variables[45]
          $Trainer.party[4]=$game_variables[45]
          $Trainer.party[5]=$game_variables[45]
          Reply With Quote
            #5    
          Old July 12th, 2012 (1:06 PM).
          Maruno's Avatar
          Maruno Maruno is offline
          Lead Dev of Pokémon Essentials
             
            Join Date: Jan 2008
            Location: England
            Posts: 5,178
            To remove/save/restore the entire party, just use the simpler:

            Code:
            $game_variables[42]=$Trainer.party
            $Trainer.party=[]
            
            $Trainer.party=$game_variables[42]
            __________________
            Go to the Pokémon Essentials Wiki

            | Downloads | Tutorials | Fangames |
            | All Animations Project |

            Follow me on Twitter: @maruno42


            Reply With Quote
            Reply

            Quick Reply

            Join the conversation!

            Create an account to post a reply in this thread, participate in other discussions, and more!

            Create a PokéCommunity Account

            Sponsored Links
            Thread Tools

            Posting Rules
            You may not post new threads
            You may not post replies
            You may not post attachments
            You may not edit your posts

            BB code is On
            Smilies are On
            [IMG] code is On
            HTML code is Off

            Forum Jump


            All times are GMT -8. The time now is 1:01 AM.