private static PBEGender[] GetGenderKeys(PBESpecies species) { if (PokemonImageUtils.HasFemaleVersion(species, false)) { return(new[] { PBEGender.Male, PBEGender.Female }); } return(new[] { PBEGender.MAX }); }
private static PBEGender GetGenderKey(PBESpecies species, PBEGender gender) { return(PokemonImageUtils.HasFemaleVersion(species, false) ? gender : PBEGender.MAX); }