• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
Display IVs in the summary screen with graphics

Display IVs in the summary screen with graphics 1.0

Pokémon Essentials Version
v18 ➖
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!
dSjL2bk.png


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". Before that, add this chunk of code:
(In V17.2 and below, the method is "def drawPageThree(pokemon)".

Code:
Expand Collapse Copy
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:
Expand Collapse Copy
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
h7zpBm0.png

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.

xa1A2iB.png

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
1,478
Views
3,482
First release
Last update

Ratings

5.00 star(s) 3 ratings

More resources from Mr. Gela

Latest reviews

Works great in V 18. I made some different sprites using game-icons, but the ones you provided are functional.
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.
Back
Top