Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Reload this Page [Question] How to add Ribbons?

Notices
For all updates, view the main page.

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: 93
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
  #2    
Old October 20th, 2012 (08:42 AM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,058
poke.setRibbon(7) gives poke ribbon number 7. That's all you need.
__________________
Reply With Quote
  #3    
Old October 20th, 2012 (01:46 PM).
LenSho's Avatar
LenSho LenSho is offline
 
Join Date: Sep 2012
Gender: Male
Nature: Modest
Posts: 93
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 (02:14 PM).
venom12's Avatar
venom12 venom12 is offline
Pokemon Crystal Rain Relased
 
Join Date: Sep 2006
Age: 24
Gender: Male
Nature: Adamant
Posts: 524
Send a message via Windows Live Messenger to venom12
$Trainer.party[pokemon number from 0 to 5].setRibbon(7)
Reply With Quote
  #5    
Old October 20th, 2012 (02:28 PM). Edited October 20th, 2012 by LenSho.
LenSho's Avatar
LenSho LenSho is offline
 
Join Date: Sep 2012
Gender: Male
Nature: Modest
Posts: 93
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 (02:37 PM).
venom12's Avatar
venom12 venom12 is offline
Pokemon Crystal Rain Relased
 
Join Date: Sep 2006
Age: 24
Gender: Male
Nature: Adamant
Posts: 524
Send a message via Windows Live Messenger to venom12
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 (02:53 PM).
LenSho's Avatar
LenSho LenSho is offline
 
Join Date: Sep 2012
Gender: Male
Nature: Modest
Posts: 93
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 UTC -8. The time now is 01:54 AM.