summaryrefslogtreecommitdiff
path: root/src/com/sneed/pkrandom/romhandlers/Gen6RomHandler.java
diff options
context:
space:
mode:
authortom-overton <tom.overton@outlook.com>2022-10-21 10:47:03 -0700
committerRafael Marçalo <raroma09@gmail.com>2022-10-21 22:48:36 +0100
commit9e18ff4022f8eeef41cb6bbb50daedf72d4b7635 (patch)
tree9974001f48365967c9bcab21ef65ea297a8da654 /src/com/sneed/pkrandom/romhandlers/Gen6RomHandler.java
parent4197ffa859e1d5396584895db21567def66f1106 (diff)
Move guaranteed catches from misc tweak to minimum catch rate slider
Diffstat (limited to 'src/com/sneed/pkrandom/romhandlers/Gen6RomHandler.java')
-rw-r--r--src/com/sneed/pkrandom/romhandlers/Gen6RomHandler.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/com/sneed/pkrandom/romhandlers/Gen6RomHandler.java b/src/com/sneed/pkrandom/romhandlers/Gen6RomHandler.java
index ecbbc92..0017cdd 100644
--- a/src/com/sneed/pkrandom/romhandlers/Gen6RomHandler.java
+++ b/src/com/sneed/pkrandom/romhandlers/Gen6RomHandler.java
@@ -2622,7 +2622,6 @@ public class Gen6RomHandler extends Abstract3DSRomHandler {
available |= MiscTweak.BAN_LUCKY_EGG.getValue();
available |= MiscTweak.RETAIN_ALT_FORMES.getValue();
available |= MiscTweak.NATIONAL_DEX_AT_START.getValue();
- available |= MiscTweak.GUARANTEED_POKEMON_CATCHING.getValue();
return available;
}
@@ -2641,8 +2640,6 @@ public class Gen6RomHandler extends Abstract3DSRomHandler {
}
} else if (tweak == MiscTweak.NATIONAL_DEX_AT_START) {
patchForNationalDex();
- } else if (tweak == MiscTweak.GUARANTEED_POKEMON_CATCHING) {
- enableGuaranteedPokemonCatching();
}
}
@@ -2734,8 +2731,8 @@ public class Gen6RomHandler extends Abstract3DSRomHandler {
}
}
- // TODO: Battle CRO for XY
- private void enableGuaranteedPokemonCatching() {
+ @Override
+ public void enableGuaranteedPokemonCatching() {
try {
byte[] battleCRO = readFile(romEntry.getFile("Battle"));
int offset = find(battleCRO, Gen6Constants.perfectOddsBranchLocator);