mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-27 23:55:12 -05:00
Correctly fix Characteristics
Previous fix solved it incorrectly. Please stop being a thorn, characteristics :(
This commit is contained in:
@@ -1495,7 +1495,7 @@ private void updateIVs(object sender, EventArgs e)
|
||||
int[] ivs =
|
||||
{
|
||||
Util.ToInt32(TB_HPIV.Text), Util.ToInt32(TB_ATKIV.Text), Util.ToInt32(TB_DEFIV.Text),
|
||||
Util.ToInt32(TB_SPAIV.Text), Util.ToInt32(TB_SPDIV.Text), Util.ToInt32(TB_SPEIV.Text)
|
||||
Util.ToInt32(TB_SPEIV.Text), Util.ToInt32(TB_SPAIV.Text), Util.ToInt32(TB_SPDIV.Text)
|
||||
};
|
||||
|
||||
changingFields = true;
|
||||
@@ -1541,7 +1541,7 @@ private void updateIVs(object sender, EventArgs e)
|
||||
break; // P%6 is this stat
|
||||
}
|
||||
|
||||
L_Characteristic.Text = characteristics[new[]{0, 1, 2, 4, 5, 3}[pm6stat] * 5 + maxIV % 5];
|
||||
L_Characteristic.Text = characteristics[pm6stat * 5 + maxIV % 5];
|
||||
updateStats();
|
||||
}
|
||||
private void updateEVs(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user