private void HPSeek_ProgressChanged(object sender, SeekBar.ProgressChangedEventArgs e) { if (!hpSeek.Enabled) { return; } int hpMin = pokemon.GetMinimumHP(pokemonLevel); data.HP = hpMin + hpSeek.Progress; hpValue.Text = data.HP.ToString(); RefreshIVs(); }