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.

Reply
 
Thread Tools
  #1    
Old October 19th, 2012 (10:11 PM).
LenSho's Avatar
LenSho LenSho is offline
     
    Join Date: Sep 2012
    Gender: Male
    Nature: Modest
    Posts: 94

    Hi guys, can anyone tell me how to make an event that gives my Pokémon a Ribbon, like when the players defeats the Champion?

    Reply With Quote

    Relevant Advertising!

      #2    
    Old October 20th, 2012 (8:42 AM).
    Maruno's Avatar
    Maruno Maruno is offline
    Lead Dev of Pokémon Essentials
       
      Join Date: Jan 2008
      Location: England
      Posts: 5,173

      poke.setRibbon(7) gives poke ribbon number 7. That's all you need.

      __________________

      Go to the Pokémon Essentials Wiki

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

      Follow me on Twitter: @maruno42

      Reply With Quote
        #3    
      Old October 20th, 2012 (1:46 PM).
      LenSho's Avatar
      LenSho LenSho is offline
         
        Join Date: Sep 2012
        Gender: Male
        Nature: Modest
        Posts: 94

        I was afraid you would say that. I saw that on the wiki and tried like this:

        And got this error with both:

        __________________

        Reply With Quote
          #4    
        Old October 20th, 2012 (2:14 PM).
        venom12's Avatar
        venom12 venom12 is offline
        Pokemon Crystal Rain Relased
           
          Join Date: Sep 2006
          Age: 26
          Gender: Male
          Nature: Adamant
          Posts: 529

          $Trainer.party[pokemon number from 0 to 5].setRibbon(7)

          Reply With Quote
            #5    
          Old October 20th, 2012 (2:28 PM). Edited October 20th, 2012 by LenSho.
          LenSho's Avatar
          LenSho LenSho is offline
             
            Join Date: Sep 2012
            Gender: Male
            Nature: Modest
            Posts: 94

            Oh! Thank you so much. It works now.

            Now I have another question. I added 13 Ribbons to a pokémon but I can only see 12, is there currently a way to move the screen and see the rest of the Ribbons?

            __________________

            Reply With Quote
              #6    
            Old October 20th, 2012 (2:37 PM).
            venom12's Avatar
            venom12 venom12 is offline
            Pokemon Crystal Rain Relased
               
              Join Date: Sep 2006
              Age: 26
              Gender: Male
              Nature: Adamant
              Posts: 529

              I think maruno added only a space for 12 ribbons, for more you need to edit a script and graphics.
              Search for this in PokemonSummary script

              Code:
               for i in 0...pokemon.maxRibbon
                    if pokemon.getRibbon(i)
                      imagepos.push(["Graphics/Pictures/ribbons",236+64*(coord%4),86+80*(coord/4).floor,
                         64*(i%8),64*(i/8).floor,64,64])
                      coord+=1
                      break if coord>=12
                    end
                  end
              change
              Code:
              break if coord>=13#or more

              Reply With Quote
                #7    
              Old October 20th, 2012 (2:53 PM).
              LenSho's Avatar
              LenSho LenSho is offline
                 
                Join Date: Sep 2012
                Gender: Male
                Nature: Modest
                Posts: 94

                Oh ok, but now there's a new row of 4 ribbons over the text "No. of Ribbons". And the rest are still unviewable. Oh well, I think 12 are enough, there are no contests anyway. Thanks for your help!

                __________________

                Reply With Quote
                Reply
                Quick Reply

                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 8:54 AM.