From 11145c2432ad402c52f927aad1c15f7bb20e382f Mon Sep 17 00:00:00 2001 From: Lusamine <30205550+Lusamine@users.noreply.github.com> Date: Mon, 18 Sep 2023 09:37:07 -0500 Subject: [PATCH] Label SV BC outbreak blocks --- .../Saves/Access/SaveBlockAccessor9SV.cs | 123 +++++++++++++++++- 1 file changed, 122 insertions(+), 1 deletion(-) diff --git a/PKHeX.Core/Saves/Access/SaveBlockAccessor9SV.cs b/PKHeX.Core/Saves/Access/SaveBlockAccessor9SV.cs index 45b883c4e..0499b4015 100644 --- a/PKHeX.Core/Saves/Access/SaveBlockAccessor9SV.cs +++ b/PKHeX.Core/Saves/Access/SaveBlockAccessor9SV.cs @@ -1205,7 +1205,6 @@ public sealed class SaveBlockAccessor9SV : SCBlockAccessor, ISaveBlock9Main private const uint KMassOutBreak05DeliveryZoneID = 0xE337865D; // EncountOutbreakSave_deliveryZoneIdx[4] private const uint KMassOutBreak05DeliveryPokeID = 0xF1286212; // EncountOutbreakSave_deliveryPokeIdx[4] - private const uint KMassOutbreak06CenterPos = 0x2ECB673C; // EncountOutbreakSave_centerPos[5] private const uint KMassOutbreak06DummyPos = 0x4A1C868D; // EncountOutbreakSave_dummyPos[5] private const uint KMassOutbreak06Species = 0x76947F97; // EncountOutbreakSave_monsno[5] @@ -1243,6 +1242,128 @@ public sealed class SaveBlockAccessor9SV : SCBlockAccessor, ISaveBlock9Main private const uint KMassOutBreak08DeliveryPokeID = 0xF12C4AE9; // EncountOutbreakSave_deliveryPokeIdx[7] #endregion + #region EncountOutbreakSaveBC + private const uint KMassOutbreakBC01CenterPos = 0x71DB2C9D; // EncountOutbreakSave_bc_centerPos[0] + private const uint KMassOutbreakBC01DummyPos = 0xB5D2D0EC; // EncountOutbreakSave_bc_dummyPos[0] + private const uint KMassOutbreakBC01Species = 0x84AB44A6; // EncountOutbreakSave_bc_monsno[0] + private const uint KMassOutbreakBC01Form = 0xD82BDDAD; // EncountOutbreakSave_bc_formno[0] + private const uint KMassOutbreakBC01Found = 0x6F473373; // EncountOutbreakSave_bc_isFind[0] + private const uint KMassOutbreakBC01NumKOed = 0x65AC15F2; // EncountOutbreakSave_bc_subjugationCount[0] + private const uint KMassOutbreakBC01TotalSpawns = 0x71862A2A; // EncountOutbreakSave_bc_subjugationLimit[0] + private const uint KMassOutbreakBC01Materials = 0xB577AF37; // EncountOutbreakSave_bc_dropMaterialCount[0] + private const uint KMassOutbreakBC01DeliveryID = 0xF2248B55; // EncountOutbreakSave_bc_deliveryId[0] + private const uint KMassOutbreakBC01DeliveryZoneID = 0xC41AEEB1; // EncountOutbreakSave_bc_deliveryZoneIdx[0] + private const uint KMassOutbreakBC01DeliveryPokeID = 0x53DFC2DE; // EncountOutbreakSave_bc_deliveryPokeIdx[0] + + private const uint KMassOutbreakBC02CenterPos = 0x71DD5BA8; // EncountOutbreakSave_bc_centerPos[1] + private const uint KMassOutbreakBC02DummyPos = 0xB5D03521; // EncountOutbreakSave_bc_dummyPos[1] + private const uint KMassOutbreakBC02Species = 0x84A7C1C3; // EncountOutbreakSave_bc_monsno[1] + private const uint KMassOutbreakBC02Form = 0xD82E7978; // EncountOutbreakSave_bc_formno[1] + private const uint KMassOutbreakBC02Found = 0x6F497016; // EncountOutbreakSave_bc_isFind[1] + private const uint KMassOutbreakBC02NumKOed = 0x65A8930F; // EncountOutbreakSave_bc_subjugationCount[1] + private const uint KMassOutbreakBC02TotalSpawns = 0x718380C7; // EncountOutbreakSave_bc_subjugationLimit[1] + private const uint KMassOutbreakBC02Materials = 0xB579EBDA; // EncountOutbreakSave_bc_dropMaterialCount[1] + private const uint KMassOutbreakBC02DeliveryID = 0xF2272720; // EncountOutbreakSave_bc_deliveryId[1] + private const uint KMassOutbreakBC02DeliveryZoneID = 0xC41ED0BC; // EncountOutbreakSave_bc_deliveryZoneIdx[1] + private const uint KMassOutbreakBC02DeliveryPokeID = 0x53DD197B; // EncountOutbreakSave_bc_deliveryPokeIdx[1] + + private const uint KMassOutbreakBC03CenterPos = 0x71D49A63; // EncountOutbreakSave_bc_centerPos[2] + private const uint KMassOutbreakBC03DummyPos = 0xB5CC4C4A; // EncountOutbreakSave_bc_dummyPos[2] + private const uint KMassOutbreakBC03Species = 0x84B15C88; // EncountOutbreakSave_bc_monsno[2] + private const uint KMassOutbreakBC03Form = 0xD825B833; // EncountOutbreakSave_bc_formno[2] + private const uint KMassOutbreakBC03Found = 0x6F4D58ED; // EncountOutbreakSave_bc_isFind[2] + private const uint KMassOutbreakBC03NumKOed = 0x65B22DD4; // EncountOutbreakSave_bc_subjugationCount[2] + private const uint KMassOutbreakBC03TotalSpawns = 0x718BD54C; // EncountOutbreakSave_bc_subjugationLimit[2] + private const uint KMassOutbreakBC03Materials = 0xB57D67F1; // EncountOutbreakSave_bc_dropMaterialCount[2] + private const uint KMassOutbreakBC03DeliveryID = 0xF21ED29B; // EncountOutbreakSave_bc_deliveryId[2] + private const uint KMassOutbreakBC03DeliveryZoneID = 0xC41535F7; // EncountOutbreakSave_bc_deliveryZoneIdx[2] + private const uint KMassOutbreakBC03DeliveryPokeID = 0x53E56E00; // EncountOutbreakSave_bc_deliveryPokeIdx[2] + + private const uint KMassOutbreakBC04CenterPos = 0x71D743C6; // EncountOutbreakSave_bc_centerPos[3] + private const uint KMassOutbreakBC04DummyPos = 0xB5CA7C67; // EncountOutbreakSave_bc_dummyPos[3] + private const uint KMassOutbreakBC04Species = 0x84AD7A7D; // EncountOutbreakSave_bc_monsno[3] + private const uint KMassOutbreakBC04Form = 0xD829A7D6; // EncountOutbreakSave_bc_formno[3] + private const uint KMassOutbreakBC04Found = 0x6F4FF4B8; // EncountOutbreakSave_bc_isFind[3] + private const uint KMassOutbreakBC04NumKOed = 0x65AE4BC9; // EncountOutbreakSave_bc_subjugationCount[3] + private const uint KMassOutbreakBC04TotalSpawns = 0x718A1301; // EncountOutbreakSave_bc_subjugationLimit[3] + private const uint KMassOutbreakBC04Materials = 0xB57F96FC; // EncountOutbreakSave_bc_dropMaterialCount[3] + private const uint KMassOutbreakBC04DeliveryID = 0xF220A27E; // EncountOutbreakSave_bc_deliveryId[3] + private const uint KMassOutbreakBC04DeliveryZoneID = 0xC419259A; // EncountOutbreakSave_bc_deliveryZoneIdx[3] + private const uint KMassOutbreakBC04DeliveryPokeID = 0x53E3ABB5; // EncountOutbreakSave_bc_deliveryPokeIdx[3] + + private const uint KMassOutbreakBC05CenterPos = 0x71CEEF41; // EncountOutbreakSave_bc_centerPos[4] + private const uint KMassOutbreakBC05DummyPos = 0xB5DEA188; // EncountOutbreakSave_bc_dummyPos[4] + private const uint KMassOutbreakBC05Species = 0x849F074A; // EncountOutbreakSave_bc_monsno[4] + private const uint KMassOutbreakBC05Form = 0xD8200D11; // EncountOutbreakSave_bc_formno[4] + private const uint KMassOutbreakBC05Found = 0x6F3AF617; // EncountOutbreakSave_bc_isFind[4] + private const uint KMassOutbreakBC05NumKOed = 0x65B70D0E; // EncountOutbreakSave_bc_subjugationCount[4] + private const uint KMassOutbreakBC05TotalSpawns = 0x71926786; // EncountOutbreakSave_bc_subjugationLimit[4] + private const uint KMassOutbreakBC05Materials = 0xB5823993; // EncountOutbreakSave_bc_dropMaterialCount[4] + private const uint KMassOutbreakBC05DeliveryID = 0xF218BAB9; // EncountOutbreakSave_bc_deliveryId[4] + private const uint KMassOutbreakBC05DeliveryZoneID = 0xC42798CD; // EncountOutbreakSave_bc_deliveryZoneIdx[4] + private const uint KMassOutbreakBC05DeliveryPokeID = 0x53D53882; // EncountOutbreakSave_bc_deliveryPokeIdx[4] + + private const uint KMassOutbreakBC06CenterPos = 0x71D2648C; // EncountOutbreakSave_bc_centerPos[5] + private const uint KMassOutbreakBC06DummyPos = 0xB5DABF7D; // EncountOutbreakSave_bc_dummyPos[5] + private const uint KMassOutbreakBC06Species = 0x849D3767; // EncountOutbreakSave_bc_monsno[5] + private const uint KMassOutbreakBC06Form = 0xD823EF1C; // EncountOutbreakSave_bc_formno[5] + private const uint KMassOutbreakBC06Found = 0x6F3EE5BA; // EncountOutbreakSave_bc_isFind[5] + private const uint KMassOutbreakBC06NumKOed = 0x65B4D06B; // EncountOutbreakSave_bc_subjugationCount[5] + private const uint KMassOutbreakBC06TotalSpawns = 0x718FBE23; // EncountOutbreakSave_bc_subjugationLimit[5] + private const uint KMassOutbreakBC06Materials = 0xB5862936; // EncountOutbreakSave_bc_dropMaterialCount[5] + private const uint KMassOutbreakBC06DeliveryID = 0xF21AE9C4; // EncountOutbreakSave_bc_deliveryId[5] + private const uint KMassOutbreakBC06DeliveryZoneID = 0xC4295B18; // EncountOutbreakSave_bc_deliveryZoneIdx[5] + private const uint KMassOutbreakBC06DeliveryPokeID = 0x53D148DF; // EncountOutbreakSave_bc_deliveryPokeIdx[5] + + private const uint KMassOutbreakBC07CenterPos = 0x71CA1007; // EncountOutbreakSave_bc_centerPos[6] + private const uint KMassOutbreakBC07DummyPos = 0xB5D889A6; // EncountOutbreakSave_bc_dummyPos[6] + private const uint KMassOutbreakBC07Species = 0x84A58BEC; // EncountOutbreakSave_bc_monsno[6] + private const uint KMassOutbreakBC07Form = 0xD81B2DD7; // EncountOutbreakSave_bc_formno[6] + private const uint KMassOutbreakBC07Found = 0x6F418851; // EncountOutbreakSave_bc_isFind[6] + private const uint KMassOutbreakBC07NumKOed = 0x65BCB830; // EncountOutbreakSave_bc_subjugationCount[6] + private const uint KMassOutbreakBC07TotalSpawns = 0x71987F68; // EncountOutbreakSave_bc_subjugationLimit[6] + private const uint KMassOutbreakBC07Materials = 0xB5885F0D; // EncountOutbreakSave_bc_dropMaterialCount[6] + private const uint KMassOutbreakBC07DeliveryID = 0xF212287F; // EncountOutbreakSave_bc_deliveryId[6] + private const uint KMassOutbreakBC07DeliveryZoneID = 0xC4217353; // EncountOutbreakSave_bc_deliveryZoneIdx[6] + private const uint KMassOutbreakBC07DeliveryPokeID = 0x53DAE3A4; // EncountOutbreakSave_bc_deliveryPokeIdx[6] + + private const uint KMassOutbreakBC08CenterPos = 0x71CCB96A; // EncountOutbreakSave_bc_centerPos[7] + private const uint KMassOutbreakBC08DummyPos = 0xB5D506C3; // EncountOutbreakSave_bc_dummyPos[7] + private const uint KMassOutbreakBC08Species = 0x84A2F021; // EncountOutbreakSave_bc_monsno[7] + private const uint KMassOutbreakBC08Form = 0xD81D6A7A; // EncountOutbreakSave_bc_formno[7] + private const uint KMassOutbreakBC08Found = 0x6F43B75C; // EncountOutbreakSave_bc_isFind[7] + private const uint KMassOutbreakBC08NumKOed = 0x65BA8925; // EncountOutbreakSave_bc_subjugationCount[7] + private const uint KMassOutbreakBC08TotalSpawns = 0x71949D5D; // EncountOutbreakSave_bc_subjugationLimit[7] + private const uint KMassOutbreakBC08Materials = 0xB58BD458; // EncountOutbreakSave_bc_dropMaterialCount[7] + private const uint KMassOutbreakBC08DeliveryID = 0xF2161822; // EncountOutbreakSave_bc_deliveryId[7] + private const uint KMassOutbreakBC08DeliveryZoneID = 0xC423AFF6; // EncountOutbreakSave_bc_deliveryZoneIdx[7] + private const uint KMassOutbreakBC08DeliveryPokeID = 0x53D70199; // EncountOutbreakSave_bc_deliveryPokeIdx[7] + + private const uint KMassOutbreakBC09CenterPos = 0x71F18795; // EncountOutbreakSave_bc_centerPos[8] + private const uint KMassOutbreakBC09DummyPos = 0xB5E92BE4; // EncountOutbreakSave_bc_dummyPos[8] + private const uint KMassOutbreakBC09Species = 0x84C2791E; // EncountOutbreakSave_bc_monsno[8] + private const uint KMassOutbreakBC09Form = 0xD842A565; // EncountOutbreakSave_bc_formno[8] + private const uint KMassOutbreakBC09Found = 0x6F5E67EB; // EncountOutbreakSave_bc_isFind[8] + private const uint KMassOutbreakBC09NumKOed = 0x65954E3A; // EncountOutbreakSave_bc_subjugationCount[8] + private const uint KMassOutbreakBC09TotalSpawns = 0x719E3822; // EncountOutbreakSave_bc_subjugationLimit[8] + private const uint KMassOutbreakBC09Materials = 0xB58E0A2F; // EncountOutbreakSave_bc_dropMaterialCount[8] + private const uint KMassOutbreakBC09DeliveryID = 0xF20C7D5D; // EncountOutbreakSave_bc_deliveryId[8] + private const uint KMassOutbreakBC09DeliveryZoneID = 0xC4322329; // EncountOutbreakSave_bc_deliveryZoneIdx[8] + private const uint KMassOutbreakBC09DeliveryPokeID = 0x53C88E66; // EncountOutbreakSave_bc_deliveryPokeIdx[8] + + private const uint KMassOutbreakBC10CenterPos = 0x71F42360; // EncountOutbreakSave_bc_centerPos[9] + private const uint KMassOutbreakBC10DummyPos = 0xB5E6FCD9; // EncountOutbreakSave_bc_dummyPos[9] + private const uint KMassOutbreakBC10Species = 0x84BFCFBB; // EncountOutbreakSave_bc_monsno[9] + private const uint KMassOutbreakBC10Form = 0xD8468770; // EncountOutbreakSave_bc_formno[9] + private const uint KMassOutbreakBC10Found = 0x6F60A48E; // EncountOutbreakSave_bc_isFind[9] + private const uint KMassOutbreakBC10NumKOed = 0x65915E97; // EncountOutbreakSave_bc_subjugationCount[9] + private const uint KMassOutbreakBC10TotalSpawns = 0x719A487F; // EncountOutbreakSave_bc_subjugationLimit[9] + private const uint KMassOutbreakBC10Materials = 0xB590B392; // EncountOutbreakSave_bc_dropMaterialCount[9] + private const uint KMassOutbreakBC10DeliveryID = 0xF2105F68; // EncountOutbreakSave_bc_deliveryId[9] + private const uint KMassOutbreakBC10DeliveryZoneID = 0xC4360534; // EncountOutbreakSave_bc_deliveryZoneIdx[9] + private const uint KMassOutbreakBC10DeliveryPokeID = 0x53C6BE83; // EncountOutbreakSave_bc_deliveryPokeIdx[9] + #endregion + #region GameEnvSave private const uint KAreaNameALO00 = 0xE2FBC051; // GameEnvSave_ALO_AreaName[0] private const uint KAreaNameALO01 = 0xE2FDEF5C; // GameEnvSave_ALO_AreaName[1]