diff options
author | tom-overton <tom.overton@outlook.com> | 2022-12-28 03:19:50 -0800 |
---|---|---|
committer | Rafael Marçalo <raroma09@gmail.com> | 2023-01-03 14:46:22 +0000 |
commit | 8591e9c9fff7e499c824315b4d55277558fecf97 (patch) | |
tree | 65268e4d4ee17e97fc436cb0bfc8d45277fa8699 /src/com/sneed/pkrandom/romhandlers | |
parent | 1cf78f475bdfb332b135ce5b50f02eabe00899c2 (diff) |
Ban Unown for DPPt too
Diffstat (limited to 'src/com/sneed/pkrandom/romhandlers')
-rwxr-xr-x | src/com/sneed/pkrandom/romhandlers/Gen4RomHandler.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/com/sneed/pkrandom/romhandlers/Gen4RomHandler.java b/src/com/sneed/pkrandom/romhandlers/Gen4RomHandler.java index 00d525d..80687a9 100755 --- a/src/com/sneed/pkrandom/romhandlers/Gen4RomHandler.java +++ b/src/com/sneed/pkrandom/romhandlers/Gen4RomHandler.java @@ -3103,11 +3103,9 @@ public class Gen4RomHandler extends AbstractDSRomHandler { @Override
public List<Pokemon> bannedForWildEncounters() {
- if (romEntry.romType == Gen4Constants.Type_HGSS) {
- // Ban Unown in HGSS because they don't show up unless you complete a puzzle in the Ruins of Alph.
- return new ArrayList<>(Collections.singletonList(pokes[Species.unown]));
- }
- return new ArrayList<>();
+ // Ban Unown in DPPt because you can't get certain letters outside of Solaceon Ruins.
+ // Ban Unown in HGSS because they don't show up unless you complete a puzzle in the Ruins of Alph.
+ return new ArrayList<>(Collections.singletonList(pokes[Species.unown]));
}
@Override
|