Hello, I've been playing the NDS games lately and tested how to generate legal pokemons based on the ones I got. For example, I caught a Gible in Platinum with the following stats:
Gible (M)
IVs: 18 HP / 19 Atk / 29 Def / 11 SpA / 0 SpD / 4 Spe
Ability: Sand Veil
Level: 17
Lonely Nature
- Sand Attack
- Dragon Rage
- Sandstorm
- Take Down
Using PokeFinder, I was able to legalize it to:
Gible (M)
IVs: 30 HP / 29 SpA
Ability: Sand Veil
Level: 17
Lonely Nature
- Sand Attack
- Dragon Rage
- Sandstorm
- Take Down
I was wondering if it's possible to have a AR code that would maximize a wild pokemon IVs, within legal values, considering its Ability, Nature, gender and level would still be random.