diff options
author | tom-overton <tom.overton@outlook.com> | 2021-11-30 21:58:57 -0800 |
---|---|---|
committer | tom-overton <tom.overton@outlook.com> | 2021-11-30 21:59:03 -0800 |
commit | 8de76ba96b838f64600aa3ffb826c0aad1078fa2 (patch) | |
tree | dd4fb1f4420f17e45c2cbdb0d6938cc1ba140e8f /src/com/dabomstew/pkrandom/constants/Gen6Constants.java | |
parent | 092413713ebf9e86431339e440d16310179abaff (diff) |
XY: Add support for randomizing the roamer while they roam
We already supported randomizing the roamer when they come to rest
at the Sea Spirit's Den, but while they were roaming, they were still
Articuno/Zapdos/Moltres. This allows the randomizer to patch the
executable such that the roamer is the same both when it roams and
when it comes to rest.
Diffstat (limited to 'src/com/dabomstew/pkrandom/constants/Gen6Constants.java')
-rw-r--r-- | src/com/dabomstew/pkrandom/constants/Gen6Constants.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/dabomstew/pkrandom/constants/Gen6Constants.java b/src/com/dabomstew/pkrandom/constants/Gen6Constants.java index c858111..445fdee 100644 --- a/src/com/dabomstew/pkrandom/constants/Gen6Constants.java +++ b/src/com/dabomstew/pkrandom/constants/Gen6Constants.java @@ -239,13 +239,16 @@ public class Gen6Constants { public static final int[] boxLegendaryCodeOffsetsXY = new int[]{ 144, 300, 584 }; public static final String rayquazaFunctionPrefixORAS = "0900A0E1F08FBDE8"; public static final int[] rayquazaScriptOffsetsORAS = new int[]{ 3334, 14734 }, rayquazaCodeOffsetsORAS = new int[]{ 136, 292, 576 }; - public static final String nationalDexFunctionLocator = "080094E5010000E21080BDE8170F122F",xyGetDexFlagFunctionLocator = "000055E30100A0030A00000A", + public static final String nationalDexFunctionLocator = "080094E5010000E21080BDE8170F122F", xyGetDexFlagFunctionLocator = "000055E30100A0030A00000A", orasGetHoennDexCaughtFunctionPrefix = "170F122F1CC15800"; public static final int megastoneTableStartingOffsetORAS = 0xABA, megastoneTableEntrySizeORAS = 0x20, megastoneTableLengthORAS = 27; public static final String pickupTableLocator = "110012001A00"; public static final int numberOfPickupItems = 29; + public static final String xyRoamerFreeSpacePostfix = "540095E50220A0E30810A0E1", xyRoamerSpeciesLocator = "9040A0030400000A", + xyRoamerLevelPrefix = "B020DDE13F3BC1E3"; + public static final List<Integer> consumableHeldItems = setupAllConsumableItems(); private static List<Integer> setupAllConsumableItems() { |