diff options
author | tom-overton <tom.overton@outlook.com> | 2022-04-06 12:52:40 -0700 |
---|---|---|
committer | tom-overton <tom.overton@outlook.com> | 2022-04-06 12:52:40 -0700 |
commit | ae2f853b34656b79626638b816968d65cde14ab7 (patch) | |
tree | d1b42d23c2b594c10cf546bd66a6cd6537ccd83c /src/com/dabomstew/pkrandom/constants/Gen6Constants.java | |
parent | a11ffec9b5aa617a58e378770067f0bd92b7c112 (diff) |
XY: Fix crash when two trash can sets randomize to the same Pokemon
Diffstat (limited to 'src/com/dabomstew/pkrandom/constants/Gen6Constants.java')
-rw-r--r-- | src/com/dabomstew/pkrandom/constants/Gen6Constants.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/dabomstew/pkrandom/constants/Gen6Constants.java b/src/com/dabomstew/pkrandom/constants/Gen6Constants.java index bc252c2..a679d0a 100644 --- a/src/com/dabomstew/pkrandom/constants/Gen6Constants.java +++ b/src/com/dabomstew/pkrandom/constants/Gen6Constants.java @@ -355,7 +355,11 @@ public class Gen6Constants { xyRoamerLevelPrefix = "B020DDE13F3BC1E3"; public static final String xyTrashEncountersTablePrefix = "4028100000"; - public static final int xyTrashEncounterDataLength = 16, xyTrashCanEncounterCount = 24; + public static final int xyTrashEncounterDataLength = 16, xyTrashCanEncounterCount = 24, + pokemonVillageGarbadorOffset = 0, pokemonVillageGarbadorCount = 6, pokemonVillageBanetteOffset = 6, + pokemonVillageBanetteCount = 6, lostHotelGarbadorOffset = 12, lostHotelGarbadorCount = 3, + lostHotelTrubbishOffset = 15, lostHotelTrubbishCount = 3, lostHotelRotomOffset = 18, lostHotelRotomCount = 6; + public static List<Integer> xyHardcodedTradeOffsets = Arrays.asList(1, 8); public static List<Integer> xyHardcodedTradeTexts = Arrays.asList(129, 349); |