The PokéCommunity Forums Fan Games Game Development Scripts, Tutorials & Tools
Essentials Script Can i reset a pokemon to lvl 5?

Scripts, Tutorials & Tools This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.

Reply
 
Thread Tools
  #1    
Old 4 Weeks Ago (12:51 PM). Edited 4 Weeks Ago by Nessis.
Nessis Nessis is offline
     
    Join Date: Jan 2017
    Gender: Male
    Posts: 6
    Hi people, can someone help me to make a NPC that will reset a specific pokemon from my party to lvl 5?
    And yes how? Thank you for helping me.
    Reply With Quote
      #2    
    Old 4 Weeks Ago (6:08 AM). Edited 4 Weeks Ago by Poq.
    Poq's Avatar
    Poq Poq is offline
       
      Join Date: Aug 2017
      Posts: 38
      Try using an event like this:
      Code:
      @>Script: pbChoosePokemon(1,3)
      @>Conditional Branch: Variable [0001] < 0
        @>Text: You cancelled the choice.
        @>Jump To Label: Done
       : Branch End
      @>Conditional Branch: pbGetPokemon(1).egg?      -- Checks whether the Pokémon recorded in Global Variable 1 is an egg
        @>Text: You chose an egg.
        @>Jump To Label: Done
       : Branch End
      @>Text: You chose a \v[3].                      -- Global Variable 3 has the Pokémon's name
      @>Script: poke=pbGetPokemon(1).
                      :poke.level=5
      @>Text: It's at level 5!
      @>Label: Done
      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
      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:49 AM.