- Pokémon Essentials Version
- v19.1 ➖
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
pokemon.iv[:SPECIAL_DEFENSE] = 31
pokemon.iv[:SPEED] = 31
pokemon.calc_stats
end
}
4. Done.
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
pokemon.iv[:SPECIAL_DEFENSE] = 31
pokemon.iv[:SPEED] = 31
pokemon.calc_stats
end
}
4. Done.
- Credits
- No credit required.