summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAjarmar <axel.jarmar@gmail.com>2023-02-13 23:05:59 +0100
committerRafael Marçalo <raroma09@gmail.com>2023-02-15 01:20:24 +0000
commita7f62ba9b303e8d1429c42fa5bb3759a99888586 (patch)
tree8ca14c3a2ea64159e4d55b4a619a45c229722a93 /src
parent7e9717d987ba76e0db8b5eeccc5a8e14c429747c (diff)
Fix starter held items not being loaded from settings for Gen 4+ games (fixes #601)
Diffstat (limited to 'src')
-rw-r--r--src/com/sneed/pkrandom/Settings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/sneed/pkrandom/Settings.java b/src/com/sneed/pkrandom/Settings.java
index fb78396..aba65be 100644
--- a/src/com/sneed/pkrandom/Settings.java
+++ b/src/com/sneed/pkrandom/Settings.java
@@ -960,7 +960,7 @@ public class Settings {
this.setAllowWonderGuard(false);
}
- if (!(rh instanceof Gen2RomHandler || rh instanceof Gen3RomHandler)) {
+ if (!rh.supportsStarterHeldItems()) {
// starter held items don't exist
this.setRandomizeStartersHeldItems(false);
this.setBanBadRandomStarterHeldItems(false);