Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials

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
 
Join Date: Sep 2012
Gender: Male
Nature: Modest
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
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
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
 
Join Date: Sep 2012
Gender: Male
Nature: Modest
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
Pokemon Crystal Rain Relased
 
Join Date: Sep 2006
Age: 24
Gender: Male
Nature: Adamant
Send a message via Windows Live Messenger to venom12
$Trainer.party[pokemon number from 0 to 5].setRibbon(7)
__________________
This signature has been disabled.
Exceeds signature height limit because of broken images.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
Reply With Quote
  #5    
Old October 20th, 2012 (02:28 PM). Edited October 20th, 2012 by LenSho.
LenSho's Avatar
LenSho
 
Join Date: Sep 2012
Gender: Male
Nature: Modest
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
Pokemon Crystal Rain Relased
 
Join Date: Sep 2006
Age: 24
Gender: Male
Nature: Adamant
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
__________________
This signature has been disabled.
Exceeds signature height limit because of broken images.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
Reply With Quote
  #7    
Old October 20th, 2012 (02:53 PM).
LenSho's Avatar
LenSho
 
Join Date: Sep 2012
Gender: Male
Nature: Modest
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 04:08 AM.