示例#1
0
        private static GameVersion GetIsTutor5(PKM pkm, int species, int form, bool specialTutors, int move)
        {
            var pi = PersonalTable.B2W2.GetFormeEntry(species, form);

            for (int i = 0; i < TypeTutor6.Length; i++)
            {
                if (TypeTutor6[i] == move && pi.TypeTutors[i])
                {
                    return(GameVersion.Gen5);
                }
            }

            if (specialTutors && pkm.HasVisitedB2W2())
            {
                for (int i = 0; i < Tutors_B2W2.Length; i++)
                {
                    for (int j = 0; j < Tutors_B2W2[i].Length; j++)
                    {
                        if (Tutors_B2W2[i][j] == move && pi.SpecialTutors[i][j])
                        {
                            return(GameVersion.B2W2);
                        }
                    }
                }
            }

            return(NONE);
        }