diff options
Diffstat (limited to 'src/com/sneed/pkrandom/romhandlers/Gen4RomHandler.java')
-rwxr-xr-x | src/com/sneed/pkrandom/romhandlers/Gen4RomHandler.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/com/sneed/pkrandom/romhandlers/Gen4RomHandler.java b/src/com/sneed/pkrandom/romhandlers/Gen4RomHandler.java index 8a936ec..d3904f8 100755 --- a/src/com/sneed/pkrandom/romhandlers/Gen4RomHandler.java +++ b/src/com/sneed/pkrandom/romhandlers/Gen4RomHandler.java @@ -3102,6 +3102,15 @@ 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 Collections.singletonList(pokes[Species.unown]);
+ }
+ return new ArrayList<>();
+ }
+
+ @Override
public List<Pokemon> getBannedFormesForTrainerPokemon() {
List<Pokemon> banned = new ArrayList<>();
if (romEntry.romType != Gen4Constants.Type_DP) {
|