Beispiel #1
0
 internal static IEnumerable <GameVersion> GetGen2Versions(LegalInfo Info, bool korean)
 {
     if (ParseSettings.AllowGen2Crystal(korean) && Info.Game.Contains(GameVersion.C))
     {
         yield return(GameVersion.C);
     }
     yield return(GameVersion.GS);
 }
Beispiel #2
0
        internal static IEnumerable <GameVersion> GetGen2Versions(LegalInfo Info)
        {
            if (ParseSettings.AllowGen2Crystal(Info.Korean) && Info.Game == GameVersion.C)
            {
                yield return(GameVersion.C);
            }

            // Any encounter marked with version GSC is for pokemon with the same moves in GS and C
            // it is sufficient to check just GS's case
            yield return(GameVersion.GS);
        }