• Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
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...
 

azmikmak

Novice
Member
Joined
Jun 5, 2022
Posts
10
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:

Fishy

Rookie
Member
Joined
Dec 20, 2022
Posts
4
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!
 

SirWeibrot

Novice
Member
Joined
Jan 30, 2021
Posts
21
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