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 November 25th, 2012 (2:24 PM).
Rayd12smitty's Avatar
Rayd12smitty Rayd12smitty is offline
Shadow Maker
     
    Join Date: Dec 2011
    Gender: Male
    Posts: 647
    Hi I have a quick question again.

    I want to make an event that makes it so that the player can see every pokemon in the pokedex. Is there a simple script command that makes it so that all pokemon are owned? If not, is there one that gives the player every pokemon?
    __________________
    Reply With Quote

    Relevant Advertising!

      #2    
    Old November 25th, 2012 (2:51 PM).
    venom12's Avatar
    venom12 venom12 is offline
    Pokemon Crystal Rain Relased
       
      Join Date: Sep 2006
      Age: 26
      Gender: Male
      Nature: Adamant
      Posts: 529
      Yeah it is possible, just use.

      Code:
      for i in 1..PBSpecies.maxValue
      $Trainer.seen[i]=true
      end
      Reply With Quote
        #3    
      Old November 25th, 2012 (3:21 PM).
      Rayd12smitty's Avatar
      Rayd12smitty Rayd12smitty is offline
      Shadow Maker
         
        Join Date: Dec 2011
        Gender: Male
        Posts: 647
        Quote:
        Originally Posted by venom12 View Post
        Yeah it is possible, just use.

        Code:
        for i in 1..PBSpecies.maxValue
        $Trainer.seen[i]=true
        end
        Sorry I should have mentioned my script interpreting level is below newborn baby. Could you explain more. I don't just copy what you put as an event script do I? Or do I have to change the i variable?
        __________________
        Reply With Quote
          #4    
        Old November 25th, 2012 (3:38 PM).
        venom12's Avatar
        venom12 venom12 is offline
        Pokemon Crystal Rain Relased
           
          Join Date: Sep 2006
          Age: 26
          Gender: Male
          Nature: Adamant
          Posts: 529
          just use on event call script
          Reply With Quote
            #5    
          Old November 25th, 2012 (6:37 PM).
          Rayd12smitty's Avatar
          Rayd12smitty Rayd12smitty is offline
          Shadow Maker
             
            Join Date: Dec 2011
            Gender: Male
            Posts: 647
            Thank you. I finally got to my computer. That worked perfectly. I didn't think it could be so simple :D
            __________________
            Reply With Quote
              #6    
            Old November 26th, 2012 (4:27 AM).
            Maruno's Avatar
            Maruno Maruno is offline
            Lead Dev of Pokémon Essentials
               
              Join Date: Jan 2008
              Location: England
              Posts: 5,178
              It isn't.

              When you see a Pokémon, you also record its form and mark that as seen too. This allows it to be viewed in the Forms page of the Pokédex. In your case, you would want every form to be available. The Debug option "Fill boxes" does this; here's the code it uses (slightly tweaked for your purposes):

              Code:
              $Trainer.formseen=[] if !$Trainer.formseen
              $Trainer.formlastseen=[] if !$Trainer.formlastseen
              for i in 1..PBSpecies.maxValue
                $Trainer.seen[i]=true
                $Trainer.formlastseen[i]=[] if !$Trainer.formlastseen[i]
                $Trainer.formlastseen[i]=[0,0] if $Trainer.formlastseen[i]==[]
                if !$Trainer.formseen[i]
                  $Trainer.formseen[i]=[[],[]]
                end
                for j in 0..27
                  $Trainer.formseen[i][0][j]=true
                  $Trainer.formseen[i][1][j]=true
                end
              end
              This is what you should use.
              __________________
              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:14 PM.