• 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.
  • The Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Resource icon

Resource Small Script For Perfect IV Shinies 1.0

Flaw

Rookie
Member
Joined
Oct 5, 2021
Posts
2
Flaw submitted a new resource:

Small Script For Perfect IV Shinies - Make Shinies Great Again

I wanted to add additional value to shinies, so I decided to give them perfect IVs upon capture.

1. Open Script Editor.
2. Find Overworld_EncounterModifiers
3. Paste this on the bottom.
# Make all wild Pokémon shiny pokemon have perfect IVs.
Events.onWildPokemonCreate += proc { |_sender, e|
pokemon = e[0]
if pokemon.shiny?
pokemon.iv[:HP] = 31
pokemon.iv[:ATTACK] = 31
pokemon.iv[:DEFENSE] = 31
pokemon.iv[:SPECIAL_ATTACK] = 31...

Read more about this resource...
 
Hi !
Thanks for that script :)
I took the liberty of adapting it to the V20, I do not know if it works for the V20.1

# Make all wild Pokémon shiny pokemon have perfect IVs.
EventHandlers.add(:on_wild_pokemon_created, :shiny_have_perfect_IV,
proc { |pkmn|
if pkmn.shiny?
pkmn.iv[:HP] = 31
pkmn.iv[:ATTACK] = 31
pkmn.iv[:DEFENSE] = 31
pkmn.iv[:SPECIAL_ATTACK] = 31
pkmn.iv[:SPECIAL_DEFENSE] = 31
pkmn.iv[:SPEED] = 31
pkmn.calc_stats
end
}
)


Thanks again !
 
Last edited:
Hi !
Thanks for that script :)
I took the liberty of adapting it to the V20, I do not know if it works for the V20.1

# Make all wild Pokémon shiny pokemon have perfect IVs.
EventHandlers.add(:on_wild_pokemon_created, :shiny_have_perfect_IV,
proc { |pkmn|
if pkmn.shiny?
pkmn.iv[:HP] = 31
pkmn.iv[:ATTACK] = 31
pkmn.iv[:DEFENSE] = 31
pkmn.iv[:SPECIAL_ATTACK] = 31
pkmn.iv[:SPECIAL_DEFENSE] = 31
pkmn.iv[:SPEED] = 31
pkmn.calc_stats
end
}
)


Thanks again !
Thanks buddy It's working!
 
Hi !
Thanks for that script :)
I took the liberty of adapting it to the V20, I do not know if it works for the V20.1

# Make all wild Pokémon shiny pokemon have perfect IVs.
EventHandlers.add(:on_wild_pokemon_created, :shiny_have_perfect_IV,
proc { |pkmn|
if pkmn.shiny?
pkmn.iv[:HP] = 31
pkmn.iv[:ATTACK] = 31
pkmn.iv[:DEFENSE] = 31
pkmn.iv[:SPECIAL_ATTACK] = 31
pkmn.iv[:SPECIAL_DEFENSE] = 31
pkmn.iv[:SPEED] = 31
pkmn.calc_stats
end
}
)


Thanks again !
Hi! Just wanted to ask if you wanted to be credited for your edit? Thanks!
 
Back
Top