Fetch jp egg name on gen3 species0

#1257
causes a pkm flagged as egg to return the japanese egg name for gen3
only
This commit is contained in:
Kurt 2017-06-20 22:55:58 -07:00
parent 966792713c
commit 1904700c1e

View File

@ -209,6 +209,9 @@ public static string GetSpeciesName(int species, int lang)
/// <returns>Generation specific default species name</returns>
public static string GetSpeciesNameGeneration(int species, int lang, int generation)
{
if (generation == 3 && species == 0)
return "タマゴ";
string nick = GetSpeciesName(species, lang);
if (generation < 5 && (generation != 4 || species != 0)) // All caps GenIV and previous, except GenIV eggs.