final int inc = 16;
while ((evTotal + inc) <= 510) {
evs[random.nextInt(evs.length)] += inc;
evTotal += inc;
}
PokemonNature nature = PokemonNature.getNature(random.nextInt(25));
PokemonSpeciesData speciesData = data.getSpeciesData();
PokemonSpecies species = new PokemonSpecies(speciesData, random
.nextInt(speciesData.getSpeciesCount()));
String [] moveset = species.getStarterMoves();
if ((moveset == null) || (moveset.length == 0)) { return null; }