}
private static Ability determineAbility(PokemonSpecies species) {
Random generator = new Random();
int numOfAbilities = 0;
Ability ability = Ability.NONE;
Ability[] abilities = species.getAbilityArray();
for (int i = 0; i < abilities.length; i++) {
if(abilities[i] != Ability.NONE) {
numOfAbilities++;
}