From f069dc41a5729abe41bf3f6665b80700611103c1 Mon Sep 17 00:00:00 2001 From: Ajarmar Date: Sat, 21 May 2022 10:36:05 +0200 Subject: don't add evolution moves in games that don't have them --- src/com/sneed/pkrandom/newgui/NewRandomizerGUI.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/sneed/pkrandom/newgui/NewRandomizerGUI.java b/src/com/sneed/pkrandom/newgui/NewRandomizerGUI.java index 7a8e8ca..00a9616 100644 --- a/src/com/sneed/pkrandom/newgui/NewRandomizerGUI.java +++ b/src/com/sneed/pkrandom/newgui/NewRandomizerGUI.java @@ -1577,7 +1577,8 @@ public class NewRandomizerGUI { settings.setMovesetsForceGoodDamaging(pmsForceGoodDamagingCheckBox.isSelected()); settings.setMovesetsGoodDamagingPercent(pmsForceGoodDamagingSlider.getValue()); settings.setBlockBrokenMovesetMoves(pmsNoGameBreakingMovesCheckBox.isSelected()); - settings.setEvolutionMovesForAll(pmsEvolutionMovesCheckBox.isSelected()); + settings.setEvolutionMovesForAll(pmsEvolutionMovesCheckBox.isVisible() && + pmsEvolutionMovesCheckBox.isSelected()); settings.setTrainersMod(isTrainerSetting(TRAINER_UNCHANGED), isTrainerSetting(TRAINER_RANDOM), isTrainerSetting(TRAINER_RANDOM_EVEN), isTrainerSetting(TRAINER_RANDOM_EVEN_MAIN), -- cgit v1.2.3