summaryrefslogtreecommitdiff
path: root/src/com/dabomstew/pkrandom/newgui
diff options
context:
space:
mode:
authortom-overton <tom.overton@outlook.com>2021-09-08 04:10:51 -0700
committertom-overton <tom.overton@outlook.com>2021-09-08 04:10:51 -0700
commit30d3245fc43fdb1817c9e341a67f190cb7ab1ca5 (patch)
tree459cb58df4d3bc03a69542866229b58b660140c4 /src/com/dabomstew/pkrandom/newgui
parent9ce5dd1fa37015a0e3c0d7c3ae77f5600ba7e81c (diff)
Gen 4: Add support for randomizing items obtained via Pickup
Diffstat (limited to 'src/com/dabomstew/pkrandom/newgui')
-rw-r--r--src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java b/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java
index d1ea234..d3124dc 100644
--- a/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java
+++ b/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java
@@ -2751,7 +2751,8 @@ public class NewRandomizerGUI {
shShuffleRadioButton.setEnabled(true);
shRandomRadioButton.setEnabled(true);
- pickupItemsPanel.setVisible(romHandler.generationOfPokemon() == 3);
+ boolean shouldShowPickupItemsPanel = romHandler.generationOfPokemon() == 3 || romHandler.generationOfPokemon() == 4;
+ pickupItemsPanel.setVisible(shouldShowPickupItemsPanel);
puUnchangedRadioButton.setEnabled(true);
puUnchangedRadioButton.setSelected(true);
puRandomRadioButton.setEnabled(true);