• Having trouble receiving email verification when signing up? Contact an administrator via our Discord server!
  • Consider joining our Discord server if you haven't already! Discord is a free voice and text chat platform that's more or less a combination of Skype and Teamspeak. Using Discord, you can chat with other Relic Castle members in real-time! Wowza! Click here for the details!
Display IVs in the summary screen with graphics

Display IVs in the summary screen with graphics 1.0

Pokémon Essentials Version
v17.2 ✅
What's this?
Ever wanted to display IVs, but don't want to display them as numbers? That's just boring to me! With this resource you'll be able to show graphics (star graphics included) next to a Pokémon's stat in it's summary screen, allowing the player to judge by themselves.

Design notes
You might want to have a way to "Hyper Train" Pokémon in your game. IVs is not something people seek after in a fangame, is it? You won't see me resetting a hundred times for a better Pokémon, and I will definetely not breed for IVs in a Pokémon fangame without any kind of competitive scene, so why not allow the player to change the IVs in some way? The die-hard challenge-runners that desperately need the best Pokémon ever have a way of not having to ditch their Pokémon because it has sub-par stats.

You could also only display the stars at a certain NPC, or only after a switch was flipped ON.

Also this tweet by Maruno.

Show me the goods!


Installation
Extract the files inside your /Graphics/Pictures/Summary/ folder. You will need to overwrite one file (if using the stock Essentials summary screen - otherwise, be creative or learn how drawing the graphics works!).

Go to PScreen_Summary. Find "def drawPageThree(pokemon)". Before that, add this chunk of code:

Code:
def drawRating(pokemon)
overlay=@sprites["overlay"].bitmap
#overlay.clear
imagepos=[]
 
stars=[] # Array of each star depending on IVs
for i in 0..5
  if pokemon.iv[i] >= 21 # Best star above 21 IVs
stars.push(3)
  elsif pokemon.iv[i] >= 11 # Okay star between 11-20 IVs
stars.push(2)
  elsif pokemon.iv[i] >= 1  # Bad star between 1-10 IVs
stars.push(1)
  elsif pokemon.iv[i] == 0  # Worst star at 0 IVs
stars.push(0)
  end
end
# Draw stars
  path="Graphics/Pictures/Summary/summaryRating"
imagepos.push([path,472,76,stars[0]*32,0,32,-1])
imagepos.push([path,472,120,stars[1]*32,0,32,-1])
imagepos.push([path,472,120+32,stars[2]*32,0,32,-1])
imagepos.push([path,472,120+32*2,stars[4]*32,0,32,-1])
imagepos.push([path,472,120+32*3,stars[5]*32,0,32,-1])
imagepos.push([path,472,120+32*4,stars[3]*32,0,32,-1])
pbDrawImagePositions(overlay,imagepos)
  end
Now, going back to "def drawPageThree(pokemon)" find "overlay = @sprites["overlay"].bitmap" and add this line below:
Code:
drawRating(@pokemon)
That's all you have to do! If you want to change what star is used depending on the IVs, check the comments I made in the script.
Credits

Please credit if used to:

Mr. Gela

Please do not redistribute this anywhere resource anywhere else. If you wish to share this, link to this site.


Por favor da créditos si lo utilizas a:
Mr. Gela

Por favor no redistribuyas este recurso en ningún otro lugar. Si quieres compartir esto, utiliza un enlace a este sitio.
Author
Mr. Gela
Downloads
596
First release
Last update
Rating
5.00 star(s) 2 ratings

More resources from Mr. Gela

Latest reviews

nice resource! i'm loving the idea of simplifying reviewing IV specs a lot! and for specifics, you could just have an event read them out anyways lol
Excelent resource would love to see it updated for 17
Mr. Gela
Mr. Gela
It is now! I just updated it! Wahee!!!!! Have fun with it.
Top