mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-27 22:05:33 -05:00
Simplify version calculation
24,25,26,27,28,29
This commit is contained in:
@@ -1157,8 +1157,8 @@ private void setMarkings()
|
||||
PB_MarkShiny.Image = Util.ChangeOpacity(PB_MarkShiny.InitialImage, (!BTN_Shinytize.Enabled ? 1 : 0) * 0.9 + 0.1);
|
||||
PB_MarkCured.Image = Util.ChangeOpacity(PB_MarkCured.InitialImage, (CHK_Cured.Checked ? 1 : 0) * 0.9 + 0.1);
|
||||
|
||||
int Version = Util.getIndex(CB_GameOrigin);
|
||||
PB_MarkPentagon.Image = Util.ChangeOpacity(PB_MarkPentagon.InitialImage, ((Version == 24 || Version == 25 || Version == 26 || Version == 27) ? 1 : 0) * 0.9 + 0.1);
|
||||
int Version = Util.getIndex(CB_GameOrigin); // 24,25 = XY, 26,27 = ORAS, 28,29 = ???
|
||||
PB_MarkPentagon.Image = Util.ChangeOpacity(PB_MarkPentagon.InitialImage, ((Version >= 24 && Version <= 29) ? 1 : 0) * 0.9 + 0.1);
|
||||
}
|
||||
// Clicked Label Shortcuts //
|
||||
private void clickQR(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user