summaryrefslogtreecommitdiff
path: root/src/com/sneed/pkrandom/newgui
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/sneed/pkrandom/newgui')
-rw-r--r--src/com/sneed/pkrandom/newgui/NewRandomizerGUI.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/sneed/pkrandom/newgui/NewRandomizerGUI.java b/src/com/sneed/pkrandom/newgui/NewRandomizerGUI.java
index 0ab9245..882e485 100644
--- a/src/com/sneed/pkrandom/newgui/NewRandomizerGUI.java
+++ b/src/com/sneed/pkrandom/newgui/NewRandomizerGUI.java
@@ -2507,7 +2507,7 @@ public class NewRandomizerGUI {
pbsStandardizeEXPCurvesCheckBox.setEnabled(true);
pbsLegendariesSlowRadioButton.setSelected(true);
- pbsUpdateBaseStatsCheckBox.setEnabled(pokemonGeneration < 8);
+ pbsUpdateBaseStatsCheckBox.setEnabled(pokemonGeneration < GlobalConstants.HIGHEST_POKEMON_GEN);
pbsFollowMegaEvosCheckBox.setVisible(romHandler.hasMegaEvolutions());
pbsUpdateComboBox.setVisible(pokemonGeneration < 8);
ExpCurve[] expCurves = getEXPCurvesForGeneration(pokemonGeneration);
@@ -3553,8 +3553,8 @@ public class NewRandomizerGUI {
spComboBox3.setSelectedIndex(allPokes.indexOf(currentStarters.get(2)));
}
- String[] baseStatGenerationNumbers = new String[Math.min(3, GlobalConstants.HIGHEST_POKEMON_GEN - romHandler.generationOfPokemon())];
- int j = Math.max(6,romHandler.generationOfPokemon() + 1);
+ String[] baseStatGenerationNumbers = new String[Math.min(4, GlobalConstants.HIGHEST_POKEMON_GEN - romHandler.generationOfPokemon())];
+ int j = Math.max(6, romHandler.generationOfPokemon() + 1);
for (int i = 0; i < baseStatGenerationNumbers.length; i++) {
baseStatGenerationNumbers[i] = String.valueOf(j);
j++;