• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • 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.

How to add Ribbons?

  • 94
    Posts
    12
    Years
    • Seen May 4, 2018
    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?
     
    I was afraid you would say that. I saw that on the wiki and tried like this:

    [PokeCommunity.com] How to add Ribbons?


    And got this error with both:

    [PokeCommunity.com] How to add Ribbons?
     
    $Trainer.party[pokemon number from 0 to 5].setRibbon(7)
     
    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?
     
    Last edited:
    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
     
    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!
     
    Back
    Top