private void SetEntry() { if (species <= 0) { return; } int pk = species - 1; for (int i = 0; i < 4; i++) { Dex.SetSeen(species, i, CP[i + 1].Checked); } for (int i = 0; i < 4; i++) { Dex.SetDisplayed(pk, i, CP[i + 5].Checked); } if (species > SAV.MaxSpeciesID) { return; } Dex.SetCaught(species, CHK_P1.Checked); for (int i = 0; i < 9; i++) { Dex.SetLanguageFlag(pk, i, CL[i].Checked); } }