public void setTopStatCount(bool[] considerStatHighlight) { Int16 c = 0, cBP = 0; for (int s = 0; s < 8; s++) { if (topBreedingStats[s]) { if (s < 7) cBP++; if (considerStatHighlight[s]) c++; } } topStatsCount = c; topStatsCountBP = cBP; }