mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-26 22:10:21 +00:00
Add gen9 flyto unlock button
This commit is contained in:
parent
f2ccf48318
commit
7d7d7e91c0
3 changed files with 336 additions and 155 deletions
|
@ -91,161 +91,161 @@ public sealed class SaveBlockAccessor9SV : SCBlockAccessor, ISaveBlock9Main
|
|||
private const uint KBCATRaidPriorityArray = 0x095451E4; // raid_priority_array
|
||||
|
||||
#region YMAP - Display & Fly Flags -- internal name Fnv1aHash32
|
||||
private const uint FSYS_YMAP_SCENARIO_DAN_AKU = 0x1EE90D7F;
|
||||
private const uint FSYS_YMAP_SCENARIO_DAN_DOKU = 0x6D2CE931;
|
||||
private const uint FSYS_YMAP_SCENARIO_DAN_FAIRY = 0xFDC82445;
|
||||
private const uint FSYS_YMAP_SCENARIO_DAN_FINAL = 0xAC189200;
|
||||
private const uint FSYS_YMAP_SCENARIO_DAN_FINAL_02 = 0xE52F230F;
|
||||
private const uint FSYS_YMAP_SCENARIO_DAN_FINAL_03 = 0xE52F215C;
|
||||
private const uint FSYS_YMAP_SCENARIO_DAN_HONOO = 0x6C3A6D77;
|
||||
private const uint FSYS_YMAP_SCENARIO_DAN_KAKUTOU = 0x1D6BC8F8;
|
||||
private const uint FSYS_YMAP_FLY_01 = 0xEB597C90;
|
||||
private const uint FSYS_YMAP_FLY_03 = 0xEB597FF6;
|
||||
private const uint FSYS_YMAP_FLY_12 = 0xEB5697B4;
|
||||
private const uint FSYS_YMAP_FLY_02 = 0xEB5981A9;
|
||||
private const uint FSYS_YMAP_FLY_22 = 0xEB537E2B;
|
||||
private const uint FSYS_YMAP_FLY_04 = 0xEB59850F;
|
||||
private const uint FSYS_YMAP_FLY_05 = 0xEB59835C;
|
||||
private const uint FSYS_YMAP_FLY_23 = 0xEB537C78;
|
||||
private const uint FSYS_YMAP_FLY_24 = 0xEB53885D;
|
||||
private const uint FSYS_YMAP_FLY_14 = 0xEB56944E;
|
||||
private const uint FSYS_YMAP_FLY_15 = 0xEB569601;
|
||||
private const uint FSYS_YMAP_FLY_07 = 0xEB5986C2;
|
||||
private const uint FSYS_YMAP_FLY_08 = 0xEB598BDB;
|
||||
private const uint FSYS_YMAP_FLY_09 = 0xEB598A28;
|
||||
private const uint FSYS_YMAP_FLY_25 = 0xEB5386AA;
|
||||
private const uint FSYS_YMAP_FLY_10 = 0xEB569B1A;
|
||||
private const uint FSYS_YMAP_FLY_11 = 0xEB569CCD;
|
||||
private const uint FSYS_YMAP_FLY_26 = 0xEB5384F7;
|
||||
private const uint FSYS_YMAP_FLY_18 = 0xEB568D82;
|
||||
private const uint FSYS_YMAP_FLY_16 = 0xEB5690E8;
|
||||
private const uint FSYS_YMAP_FLY_17 = 0xEB56929B;
|
||||
private const uint FSYS_YMAP_FLY_19 = 0xEB568F35;
|
||||
private const uint FSYS_YMAP_FLY_27 = 0xEB538344;
|
||||
private const uint FSYS_YMAP_FLY_28 = 0xEB5373F9;
|
||||
private const uint FSYS_YMAP_FLY_13 = 0xEB569967;
|
||||
private const uint FSYS_YMAP_FLY_29 = 0xEB537246;
|
||||
private const uint FSYS_YMAP_FLY_30 = 0xEB506808;
|
||||
private const uint FSYS_YMAP_FLY_20 = 0xEB538191;
|
||||
private const uint FSYS_YMAP_FLY_21 = 0xEB537FDE;
|
||||
private const uint FSYS_YMAP_FLY_31 = 0xEB5069BB;
|
||||
private const uint FSYS_YMAP_FLY_32 = 0xEB506B6E;
|
||||
private const uint FSYS_YMAP_FLY_33 = 0xEB506D21;
|
||||
private const uint FSYS_YMAP_FLY_34 = 0xEB506ED4;
|
||||
private const uint FSYS_YMAP_FLY_35 = 0xEB507087;
|
||||
private const uint FSYS_YMAP_FLY_MAGATAMA = 0x1530B53C;
|
||||
private const uint FSYS_YMAP_FLY_MOKKAN = 0x4103198E;
|
||||
private const uint FSYS_YMAP_FLY_TSURUGI = 0x9DDEC36C;
|
||||
private const uint FSYS_YMAP_FLY_UTSUWA = 0x1EB92B72;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_DENKI = 0x82305257;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_DENKI_02 = 0x0D109FBE;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_DENKI_03 = 0x0D10A171;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_CLEAR_DENKI = 0x815F4601;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_ESPER = 0xB80A6CE3;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_ESPER_02 = 0x53F2E6DA;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_ESPER_03 = 0x53F2E88D;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_CLEAR_ESPER = 0xD0249A05;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_FINAL = 0xCCB617B0;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_FINAL_02 = 0xBE37FC3F;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_GHOST = 0xCF20EE67;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_GHOST_02 = 0xDBB4D1CE;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_GHOST_03 = 0xDBB4D381;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_CLEAR_GHOST = 0x1C5C88A5;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_KOORI = 0x9197F3C2;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_KOORI_02 = 0x4B6AC965;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_KOORI_03 = 0x4B6AC7B2;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_CLEAR_KOORI = 0x0A9299BC;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_KUSA = 0x0E554BFC;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_KUSA_02 = 0xFF8FF65B;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_KUSA_03 = 0xFF8FF4A8;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_CLEAR_KUSA = 0x26216312;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_MIZU = 0xCE698EA7;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_MIZU_02 = 0x7DF6B20E;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_MIZU_03 = 0x7DF6B3C1;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_CLEAR_MIZU = 0x16452421;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_MUSI = 0x9319C51A;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_MUSI_02 = 0xE8A9553D;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_MUSI_03 = 0xE8A9538A;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_CLEAR_MUSHI = 0x8485AC3A;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_NORMAL = 0xD78448EB;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_NORMAL_02 = 0xA019AFC2;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_NORMAL_03 = 0xA019B175;
|
||||
private const uint FSYS_YMAP_SCENARIO_GYM_CLEAR_NORMAL = 0x9457390D;
|
||||
private const uint FSYS_YMAP_MAGATAMA = 0x159DC19E;
|
||||
private const uint FSYS_YMAP_MOKKAN = 0x22587DBC;
|
||||
private const uint FSYS_YMAP_TSURUGI = 0x6BA41372;
|
||||
private const uint FSYS_YMAP_UTSUWA = 0xDD041500;
|
||||
private const uint FSYS_YMAP_SCENARIO_NUSI_DRAGON = 0x181058F9;
|
||||
private const uint FSYS_YMAP_SCENARIO_NUSI_DRAGON_02 = 0xE0D86B9C;
|
||||
private const uint FSYS_YMAP_SCENARIO_NUSHI_FINAL = 0x9F36BA1E;
|
||||
private const uint FSYS_YMAP_SCENARIO_NUSHI_FINAL_02 = 0xBA776E51;
|
||||
private const uint FSYS_YMAP_SCENARIO_NUSI_HAGANE = 0x259D1760;
|
||||
private const uint FSYS_YMAP_SCENARIO_NUSI_HAGANE_02 = 0xF362822F;
|
||||
private const uint FSYS_YMAP_SCENARIO_NUSI_HIKOU = 0xAC3EC55A;
|
||||
private const uint FSYS_YMAP_SCENARIO_NUSI_IWA = 0xC593AD1D;
|
||||
private const uint FSYS_YMAP_SCENARIO_NUSI_IWA_02 = 0xDDEBE5F0;
|
||||
private const uint FSYS_YMAP_SCENARIO_NUSI_JIMEN = 0xD08966DD;
|
||||
private const uint FSYS_YMAP_SCENARIO_NUSI_JIMEN_02 = 0x269C23B0;
|
||||
private const uint FSYS_YMAP_POKECEN_02 = 0xB6119AE9;
|
||||
private const uint FSYS_YMAP_POKECEN_03 = 0xB6119936;
|
||||
private const uint FSYS_YMAP_POKECEN_04 = 0xB6119E4F;
|
||||
private const uint FSYS_YMAP_POKECEN_05 = 0xB6119C9C;
|
||||
private const uint FSYS_YMAP_POKECEN_06 = 0xB611A1B5;
|
||||
private const uint FSYS_YMAP_POKECEN_07 = 0xB611A002;
|
||||
private const uint FSYS_YMAP_POKECEN_08 = 0xB611A51B;
|
||||
private const uint FSYS_YMAP_POKECEN_09 = 0xB611A368;
|
||||
private const uint FSYS_YMAP_POKECEN_10 = 0xB60EB45A;
|
||||
private const uint FSYS_YMAP_POKECEN_11 = 0xB60EB60D;
|
||||
private const uint FSYS_YMAP_POKECEN_12 = 0xB60EB0F4;
|
||||
private const uint FSYS_YMAP_POKECEN_13 = 0xB60EB2A7;
|
||||
private const uint FSYS_YMAP_POKECEN_14 = 0xB60EAD8E;
|
||||
private const uint FSYS_YMAP_POKECEN_15 = 0xB60EAF41;
|
||||
private const uint FSYS_YMAP_POKECEN_16 = 0xB60EAA28;
|
||||
private const uint FSYS_YMAP_POKECEN_17 = 0xB60EABDB;
|
||||
private const uint FSYS_YMAP_POKECEN_18 = 0xB60EA6C2;
|
||||
private const uint FSYS_YMAP_POKECEN_19 = 0xB60EA875;
|
||||
private const uint FSYS_YMAP_POKECEN_20 = 0xB60B9AD1;
|
||||
private const uint FSYS_YMAP_POKECEN_21 = 0xB60B991E;
|
||||
private const uint FSYS_YMAP_POKECEN_22 = 0xB60B976B;
|
||||
private const uint FSYS_YMAP_POKECEN_23 = 0xB60B95B8;
|
||||
private const uint FSYS_YMAP_POKECEN_24 = 0xB60BA19D;
|
||||
private const uint FSYS_YMAP_POKECEN_25 = 0xB60B9FEA;
|
||||
private const uint FSYS_YMAP_POKECEN_26 = 0xB60B9E37;
|
||||
private const uint FSYS_YMAP_POKECEN_27 = 0xB60B9C84;
|
||||
private const uint FSYS_YMAP_POKECEN_28 = 0xB60B8D39;
|
||||
private const uint FSYS_YMAP_POKECEN_29 = 0xB60B8B86;
|
||||
private const uint FSYS_YMAP_POKECEN_30 = 0xB6088148;
|
||||
private const uint FSYS_YMAP_POKECEN_31 = 0xB60882FB;
|
||||
private const uint FSYS_YMAP_POKECEN_32 = 0xB60884AE;
|
||||
private const uint FSYS_YMAP_POKECEN_33 = 0xB6088661;
|
||||
private const uint FSYS_YMAP_POKECEN_34 = 0xB6088814;
|
||||
private const uint FSYS_YMAP_POKECEN_35 = 0xB60889C7;
|
||||
private const uint FSYS_YMAP_SCENARIO_00 = 0x4019CED4;
|
||||
private const uint FSYS_YMAP_SCENARIO_01 = 0x4019D087;
|
||||
private const uint FSYS_YMAP_SCENARIO_02 = 0x4019D23A;
|
||||
private const uint FSYS_YMAP_SCENARIO_03 = 0x4019D3ED;
|
||||
private const uint FSYS_YMAP_SCENARIO_04 = 0x4019C808;
|
||||
private const uint FSYS_YMAP_SCENARIO_05 = 0x4019C9BB;
|
||||
private const uint FSYS_YMAP_SCENARIO_06 = 0x4019CB6E;
|
||||
private const uint FSYS_YMAP_SCENARIO_07 = 0x4019CD21;
|
||||
private const uint FSYS_YMAP_SCENARIO_08 = 0x4019C13C;
|
||||
private const uint FSYS_YMAP_SCENARIO_COMMON_0060 = 0x6CCF3E58;
|
||||
private const uint FSYS_YMAP_SCENARIO_COMMON_0090 = 0x6CCCFE4F;
|
||||
private const uint FSYS_YMAP_SCENARIO_COMMON_0095 = 0x6CCCF5D0;
|
||||
private const uint FSYS_YMAP_SCENARIO_COMMON_0100 = 0x71C8FCB9;
|
||||
private const uint FSYS_YMAP_SCENARIO_COMMON_0130 = 0x71CC1642;
|
||||
private const uint FSYS_YMAP_SCENARIO_COMMON_0170 = 0x71D76C86;
|
||||
private const uint FSYS_YMAP_SCENARIO_COMMON_0185 = 0x71DFE4BA;
|
||||
private const uint FSYS_YMAP_SCENARIO_COMMON_0190 = 0x71DCC618;
|
||||
private const uint FSYS_YMAP_SCENARIO_COMMON_0210 = 0x625B5001;
|
||||
private const uint FSYS_YMAP_SCENARIO_COMMON_0220 = 0x625D900A;
|
||||
private const uint FSYS_YMAP_SCENARIO_COMMON_0225 = 0x625D8AF1;
|
||||
private const uint FSYS_YMAP_SCENARIO_COMMON_0990 = 0x49B67710;
|
||||
private const uint FSYS_YMAP_SCENARIO_COMMON_1010 = 0x5FB71156;
|
||||
private const uint FSYS_YMAP_SCENARIO_COMMON_2000 = 0x86D1D28C;
|
||||
private const uint FSYS_YMAP_SCENARIO_COMMON_2030 = 0x86DB1F27;
|
||||
private const uint FSYS_YMAP_SCENARIO_COMMON_2070 = 0x86CF9283;
|
||||
private const uint FSYS_YMAP_SCENARIO_COMMON_2080 = 0x86BB2604;
|
||||
public const uint FSYS_YMAP_SCENARIO_DAN_AKU = 0x1EE90D7F;
|
||||
public const uint FSYS_YMAP_SCENARIO_DAN_DOKU = 0x6D2CE931;
|
||||
public const uint FSYS_YMAP_SCENARIO_DAN_FAIRY = 0xFDC82445;
|
||||
public const uint FSYS_YMAP_SCENARIO_DAN_FINAL = 0xAC189200;
|
||||
public const uint FSYS_YMAP_SCENARIO_DAN_FINAL_02 = 0xE52F230F;
|
||||
public const uint FSYS_YMAP_SCENARIO_DAN_FINAL_03 = 0xE52F215C;
|
||||
public const uint FSYS_YMAP_SCENARIO_DAN_HONOO = 0x6C3A6D77;
|
||||
public const uint FSYS_YMAP_SCENARIO_DAN_KAKUTOU = 0x1D6BC8F8;
|
||||
public const uint FSYS_YMAP_FLY_01 = 0xEB597C90;
|
||||
public const uint FSYS_YMAP_FLY_03 = 0xEB597FF6;
|
||||
public const uint FSYS_YMAP_FLY_12 = 0xEB5697B4;
|
||||
public const uint FSYS_YMAP_FLY_02 = 0xEB5981A9;
|
||||
public const uint FSYS_YMAP_FLY_22 = 0xEB537E2B;
|
||||
public const uint FSYS_YMAP_FLY_04 = 0xEB59850F;
|
||||
public const uint FSYS_YMAP_FLY_05 = 0xEB59835C;
|
||||
public const uint FSYS_YMAP_FLY_23 = 0xEB537C78;
|
||||
public const uint FSYS_YMAP_FLY_24 = 0xEB53885D;
|
||||
public const uint FSYS_YMAP_FLY_14 = 0xEB56944E;
|
||||
public const uint FSYS_YMAP_FLY_15 = 0xEB569601;
|
||||
public const uint FSYS_YMAP_FLY_07 = 0xEB5986C2;
|
||||
public const uint FSYS_YMAP_FLY_08 = 0xEB598BDB;
|
||||
public const uint FSYS_YMAP_FLY_09 = 0xEB598A28;
|
||||
public const uint FSYS_YMAP_FLY_25 = 0xEB5386AA;
|
||||
public const uint FSYS_YMAP_FLY_10 = 0xEB569B1A;
|
||||
public const uint FSYS_YMAP_FLY_11 = 0xEB569CCD;
|
||||
public const uint FSYS_YMAP_FLY_26 = 0xEB5384F7;
|
||||
public const uint FSYS_YMAP_FLY_18 = 0xEB568D82;
|
||||
public const uint FSYS_YMAP_FLY_16 = 0xEB5690E8;
|
||||
public const uint FSYS_YMAP_FLY_17 = 0xEB56929B;
|
||||
public const uint FSYS_YMAP_FLY_19 = 0xEB568F35;
|
||||
public const uint FSYS_YMAP_FLY_27 = 0xEB538344;
|
||||
public const uint FSYS_YMAP_FLY_28 = 0xEB5373F9;
|
||||
public const uint FSYS_YMAP_FLY_13 = 0xEB569967;
|
||||
public const uint FSYS_YMAP_FLY_29 = 0xEB537246;
|
||||
public const uint FSYS_YMAP_FLY_30 = 0xEB506808;
|
||||
public const uint FSYS_YMAP_FLY_20 = 0xEB538191;
|
||||
public const uint FSYS_YMAP_FLY_21 = 0xEB537FDE;
|
||||
public const uint FSYS_YMAP_FLY_31 = 0xEB5069BB;
|
||||
public const uint FSYS_YMAP_FLY_32 = 0xEB506B6E;
|
||||
public const uint FSYS_YMAP_FLY_33 = 0xEB506D21;
|
||||
public const uint FSYS_YMAP_FLY_34 = 0xEB506ED4;
|
||||
public const uint FSYS_YMAP_FLY_35 = 0xEB507087;
|
||||
public const uint FSYS_YMAP_FLY_MAGATAMA = 0x1530B53C;
|
||||
public const uint FSYS_YMAP_FLY_MOKKAN = 0x4103198E;
|
||||
public const uint FSYS_YMAP_FLY_TSURUGI = 0x9DDEC36C;
|
||||
public const uint FSYS_YMAP_FLY_UTSUWA = 0x1EB92B72;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_DENKI = 0x82305257;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_DENKI_02 = 0x0D109FBE;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_DENKI_03 = 0x0D10A171;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_CLEAR_DENKI = 0x815F4601;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_ESPER = 0xB80A6CE3;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_ESPER_02 = 0x53F2E6DA;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_ESPER_03 = 0x53F2E88D;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_CLEAR_ESPER = 0xD0249A05;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_FINAL = 0xCCB617B0;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_FINAL_02 = 0xBE37FC3F;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_GHOST = 0xCF20EE67;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_GHOST_02 = 0xDBB4D1CE;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_GHOST_03 = 0xDBB4D381;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_CLEAR_GHOST = 0x1C5C88A5;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_KOORI = 0x9197F3C2;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_KOORI_02 = 0x4B6AC965;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_KOORI_03 = 0x4B6AC7B2;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_CLEAR_KOORI = 0x0A9299BC;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_KUSA = 0x0E554BFC;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_KUSA_02 = 0xFF8FF65B;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_KUSA_03 = 0xFF8FF4A8;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_CLEAR_KUSA = 0x26216312;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_MIZU = 0xCE698EA7;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_MIZU_02 = 0x7DF6B20E;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_MIZU_03 = 0x7DF6B3C1;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_CLEAR_MIZU = 0x16452421;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_MUSI = 0x9319C51A;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_MUSI_02 = 0xE8A9553D;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_MUSI_03 = 0xE8A9538A;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_CLEAR_MUSHI = 0x8485AC3A;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_NORMAL = 0xD78448EB;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_NORMAL_02 = 0xA019AFC2;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_NORMAL_03 = 0xA019B175;
|
||||
public const uint FSYS_YMAP_SCENARIO_GYM_CLEAR_NORMAL = 0x9457390D;
|
||||
public const uint FSYS_YMAP_MAGATAMA = 0x159DC19E;
|
||||
public const uint FSYS_YMAP_MOKKAN = 0x22587DBC;
|
||||
public const uint FSYS_YMAP_TSURUGI = 0x6BA41372;
|
||||
public const uint FSYS_YMAP_UTSUWA = 0xDD041500;
|
||||
public const uint FSYS_YMAP_SCENARIO_NUSI_DRAGON = 0x181058F9;
|
||||
public const uint FSYS_YMAP_SCENARIO_NUSI_DRAGON_02 = 0xE0D86B9C;
|
||||
public const uint FSYS_YMAP_SCENARIO_NUSHI_FINAL = 0x9F36BA1E;
|
||||
public const uint FSYS_YMAP_SCENARIO_NUSHI_FINAL_02 = 0xBA776E51;
|
||||
public const uint FSYS_YMAP_SCENARIO_NUSI_HAGANE = 0x259D1760;
|
||||
public const uint FSYS_YMAP_SCENARIO_NUSI_HAGANE_02 = 0xF362822F;
|
||||
public const uint FSYS_YMAP_SCENARIO_NUSI_HIKOU = 0xAC3EC55A;
|
||||
public const uint FSYS_YMAP_SCENARIO_NUSI_IWA = 0xC593AD1D;
|
||||
public const uint FSYS_YMAP_SCENARIO_NUSI_IWA_02 = 0xDDEBE5F0;
|
||||
public const uint FSYS_YMAP_SCENARIO_NUSI_JIMEN = 0xD08966DD;
|
||||
public const uint FSYS_YMAP_SCENARIO_NUSI_JIMEN_02 = 0x269C23B0;
|
||||
public const uint FSYS_YMAP_POKECEN_02 = 0xB6119AE9;
|
||||
public const uint FSYS_YMAP_POKECEN_03 = 0xB6119936;
|
||||
public const uint FSYS_YMAP_POKECEN_04 = 0xB6119E4F;
|
||||
public const uint FSYS_YMAP_POKECEN_05 = 0xB6119C9C;
|
||||
public const uint FSYS_YMAP_POKECEN_06 = 0xB611A1B5;
|
||||
public const uint FSYS_YMAP_POKECEN_07 = 0xB611A002;
|
||||
public const uint FSYS_YMAP_POKECEN_08 = 0xB611A51B;
|
||||
public const uint FSYS_YMAP_POKECEN_09 = 0xB611A368;
|
||||
public const uint FSYS_YMAP_POKECEN_10 = 0xB60EB45A;
|
||||
public const uint FSYS_YMAP_POKECEN_11 = 0xB60EB60D;
|
||||
public const uint FSYS_YMAP_POKECEN_12 = 0xB60EB0F4;
|
||||
public const uint FSYS_YMAP_POKECEN_13 = 0xB60EB2A7;
|
||||
public const uint FSYS_YMAP_POKECEN_14 = 0xB60EAD8E;
|
||||
public const uint FSYS_YMAP_POKECEN_15 = 0xB60EAF41;
|
||||
public const uint FSYS_YMAP_POKECEN_16 = 0xB60EAA28;
|
||||
public const uint FSYS_YMAP_POKECEN_17 = 0xB60EABDB;
|
||||
public const uint FSYS_YMAP_POKECEN_18 = 0xB60EA6C2;
|
||||
public const uint FSYS_YMAP_POKECEN_19 = 0xB60EA875;
|
||||
public const uint FSYS_YMAP_POKECEN_20 = 0xB60B9AD1;
|
||||
public const uint FSYS_YMAP_POKECEN_21 = 0xB60B991E;
|
||||
public const uint FSYS_YMAP_POKECEN_22 = 0xB60B976B;
|
||||
public const uint FSYS_YMAP_POKECEN_23 = 0xB60B95B8;
|
||||
public const uint FSYS_YMAP_POKECEN_24 = 0xB60BA19D;
|
||||
public const uint FSYS_YMAP_POKECEN_25 = 0xB60B9FEA;
|
||||
public const uint FSYS_YMAP_POKECEN_26 = 0xB60B9E37;
|
||||
public const uint FSYS_YMAP_POKECEN_27 = 0xB60B9C84;
|
||||
public const uint FSYS_YMAP_POKECEN_28 = 0xB60B8D39;
|
||||
public const uint FSYS_YMAP_POKECEN_29 = 0xB60B8B86;
|
||||
public const uint FSYS_YMAP_POKECEN_30 = 0xB6088148;
|
||||
public const uint FSYS_YMAP_POKECEN_31 = 0xB60882FB;
|
||||
public const uint FSYS_YMAP_POKECEN_32 = 0xB60884AE;
|
||||
public const uint FSYS_YMAP_POKECEN_33 = 0xB6088661;
|
||||
public const uint FSYS_YMAP_POKECEN_34 = 0xB6088814;
|
||||
public const uint FSYS_YMAP_POKECEN_35 = 0xB60889C7;
|
||||
public const uint FSYS_YMAP_SCENARIO_00 = 0x4019CED4;
|
||||
public const uint FSYS_YMAP_SCENARIO_01 = 0x4019D087;
|
||||
public const uint FSYS_YMAP_SCENARIO_02 = 0x4019D23A;
|
||||
public const uint FSYS_YMAP_SCENARIO_03 = 0x4019D3ED;
|
||||
public const uint FSYS_YMAP_SCENARIO_04 = 0x4019C808;
|
||||
public const uint FSYS_YMAP_SCENARIO_05 = 0x4019C9BB;
|
||||
public const uint FSYS_YMAP_SCENARIO_06 = 0x4019CB6E;
|
||||
public const uint FSYS_YMAP_SCENARIO_07 = 0x4019CD21;
|
||||
public const uint FSYS_YMAP_SCENARIO_08 = 0x4019C13C;
|
||||
public const uint FSYS_YMAP_SCENARIO_COMMON_0060 = 0x6CCF3E58;
|
||||
public const uint FSYS_YMAP_SCENARIO_COMMON_0090 = 0x6CCCFE4F;
|
||||
public const uint FSYS_YMAP_SCENARIO_COMMON_0095 = 0x6CCCF5D0;
|
||||
public const uint FSYS_YMAP_SCENARIO_COMMON_0100 = 0x71C8FCB9;
|
||||
public const uint FSYS_YMAP_SCENARIO_COMMON_0130 = 0x71CC1642;
|
||||
public const uint FSYS_YMAP_SCENARIO_COMMON_0170 = 0x71D76C86;
|
||||
public const uint FSYS_YMAP_SCENARIO_COMMON_0185 = 0x71DFE4BA;
|
||||
public const uint FSYS_YMAP_SCENARIO_COMMON_0190 = 0x71DCC618;
|
||||
public const uint FSYS_YMAP_SCENARIO_COMMON_0210 = 0x625B5001;
|
||||
public const uint FSYS_YMAP_SCENARIO_COMMON_0220 = 0x625D900A;
|
||||
public const uint FSYS_YMAP_SCENARIO_COMMON_0225 = 0x625D8AF1;
|
||||
public const uint FSYS_YMAP_SCENARIO_COMMON_0990 = 0x49B67710;
|
||||
public const uint FSYS_YMAP_SCENARIO_COMMON_1010 = 0x5FB71156;
|
||||
public const uint FSYS_YMAP_SCENARIO_COMMON_2000 = 0x86D1D28C;
|
||||
public const uint FSYS_YMAP_SCENARIO_COMMON_2030 = 0x86DB1F27;
|
||||
public const uint FSYS_YMAP_SCENARIO_COMMON_2070 = 0x86CF9283;
|
||||
public const uint FSYS_YMAP_SCENARIO_COMMON_2080 = 0x86BB2604;
|
||||
#endregion
|
||||
|
||||
#region BGM
|
||||
|
|
|
@ -96,6 +96,7 @@ namespace PKHeX.WinForms
|
|||
this.L_LP = new System.Windows.Forms.Label();
|
||||
this.trainerID1 = new PKHeX.WinForms.Controls.TrainerID();
|
||||
this.Tab_MiscValues = new System.Windows.Forms.TabPage();
|
||||
this.B_UnlockFlyLocations = new System.Windows.Forms.Button();
|
||||
this.GB_Map = new System.Windows.Forms.GroupBox();
|
||||
this.NUD_Z = new System.Windows.Forms.NumericUpDown();
|
||||
this.NUD_Y = new System.Windows.Forms.NumericUpDown();
|
||||
|
@ -666,6 +667,7 @@ namespace PKHeX.WinForms
|
|||
//
|
||||
// Tab_MiscValues
|
||||
//
|
||||
this.Tab_MiscValues.Controls.Add(this.B_UnlockFlyLocations);
|
||||
this.Tab_MiscValues.Controls.Add(this.GB_Map);
|
||||
this.Tab_MiscValues.Location = new System.Drawing.Point(4, 22);
|
||||
this.Tab_MiscValues.Name = "Tab_MiscValues";
|
||||
|
@ -675,6 +677,16 @@ namespace PKHeX.WinForms
|
|||
this.Tab_MiscValues.Text = "Misc";
|
||||
this.Tab_MiscValues.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// B_UnlockFlyLocations
|
||||
//
|
||||
this.B_UnlockFlyLocations.Location = new System.Drawing.Point(248, 34);
|
||||
this.B_UnlockFlyLocations.Name = "B_UnlockFlyLocations";
|
||||
this.B_UnlockFlyLocations.Size = new System.Drawing.Size(120, 42);
|
||||
this.B_UnlockFlyLocations.TabIndex = 60;
|
||||
this.B_UnlockFlyLocations.Text = "Unlock All Fly Locations";
|
||||
this.B_UnlockFlyLocations.UseVisualStyleBackColor = true;
|
||||
this.B_UnlockFlyLocations.Click += new System.EventHandler(this.B_UnlockFlyLocations_Click);
|
||||
//
|
||||
// GB_Map
|
||||
//
|
||||
this.GB_Map.Controls.Add(this.NUD_Z);
|
||||
|
@ -884,5 +896,6 @@ namespace PKHeX.WinForms
|
|||
private System.Windows.Forms.Label L_X;
|
||||
private System.Windows.Forms.MaskedTextBox MT_LP;
|
||||
private System.Windows.Forms.Button B_MaxLP;
|
||||
private System.Windows.Forms.Button B_UnlockFlyLocations;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ using System;
|
|||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using PKHeX.Core;
|
||||
using static PKHeX.Core.SaveBlockAccessor9SV;
|
||||
|
||||
namespace PKHeX.WinForms;
|
||||
|
||||
|
@ -145,4 +146,171 @@ public partial class SAV_Trainer9 : Form
|
|||
if (box.Text.Length == 0) box.Text = "0";
|
||||
if (Util.ToInt32(box.Text) > 255) box.Text = "255";
|
||||
}
|
||||
|
||||
private void B_UnlockFlyLocations_Click(object sender, EventArgs e) => UnlockFlyLocations();
|
||||
|
||||
private void UnlockFlyLocations()
|
||||
{
|
||||
var blocks = new[]
|
||||
{
|
||||
FSYS_YMAP_SCENARIO_DAN_AKU,
|
||||
FSYS_YMAP_SCENARIO_DAN_DOKU,
|
||||
FSYS_YMAP_SCENARIO_DAN_FAIRY,
|
||||
FSYS_YMAP_SCENARIO_DAN_FINAL,
|
||||
FSYS_YMAP_SCENARIO_DAN_FINAL_02,
|
||||
FSYS_YMAP_SCENARIO_DAN_FINAL_03,
|
||||
FSYS_YMAP_SCENARIO_DAN_HONOO,
|
||||
FSYS_YMAP_SCENARIO_DAN_KAKUTOU,
|
||||
FSYS_YMAP_FLY_01,
|
||||
FSYS_YMAP_FLY_03,
|
||||
FSYS_YMAP_FLY_12,
|
||||
FSYS_YMAP_FLY_02,
|
||||
FSYS_YMAP_FLY_22,
|
||||
FSYS_YMAP_FLY_04,
|
||||
FSYS_YMAP_FLY_05,
|
||||
FSYS_YMAP_FLY_23,
|
||||
FSYS_YMAP_FLY_24,
|
||||
FSYS_YMAP_FLY_14,
|
||||
FSYS_YMAP_FLY_15,
|
||||
FSYS_YMAP_FLY_07,
|
||||
FSYS_YMAP_FLY_08,
|
||||
FSYS_YMAP_FLY_09,
|
||||
FSYS_YMAP_FLY_25,
|
||||
FSYS_YMAP_FLY_10,
|
||||
FSYS_YMAP_FLY_11,
|
||||
FSYS_YMAP_FLY_26,
|
||||
FSYS_YMAP_FLY_18,
|
||||
FSYS_YMAP_FLY_16,
|
||||
FSYS_YMAP_FLY_17,
|
||||
FSYS_YMAP_FLY_19,
|
||||
FSYS_YMAP_FLY_27,
|
||||
FSYS_YMAP_FLY_28,
|
||||
FSYS_YMAP_FLY_13,
|
||||
FSYS_YMAP_FLY_29,
|
||||
FSYS_YMAP_FLY_30,
|
||||
FSYS_YMAP_FLY_20,
|
||||
FSYS_YMAP_FLY_21,
|
||||
FSYS_YMAP_FLY_31,
|
||||
FSYS_YMAP_FLY_32,
|
||||
FSYS_YMAP_FLY_33,
|
||||
FSYS_YMAP_FLY_34,
|
||||
FSYS_YMAP_FLY_35,
|
||||
FSYS_YMAP_FLY_MAGATAMA,
|
||||
FSYS_YMAP_FLY_MOKKAN,
|
||||
FSYS_YMAP_FLY_TSURUGI,
|
||||
FSYS_YMAP_FLY_UTSUWA,
|
||||
FSYS_YMAP_SCENARIO_GYM_DENKI,
|
||||
FSYS_YMAP_SCENARIO_GYM_DENKI_02,
|
||||
FSYS_YMAP_SCENARIO_GYM_DENKI_03,
|
||||
FSYS_YMAP_SCENARIO_GYM_CLEAR_DENKI,
|
||||
FSYS_YMAP_SCENARIO_GYM_ESPER,
|
||||
FSYS_YMAP_SCENARIO_GYM_ESPER_02,
|
||||
FSYS_YMAP_SCENARIO_GYM_ESPER_03,
|
||||
FSYS_YMAP_SCENARIO_GYM_CLEAR_ESPER,
|
||||
FSYS_YMAP_SCENARIO_GYM_FINAL,
|
||||
FSYS_YMAP_SCENARIO_GYM_FINAL_02,
|
||||
FSYS_YMAP_SCENARIO_GYM_GHOST,
|
||||
FSYS_YMAP_SCENARIO_GYM_GHOST_02,
|
||||
FSYS_YMAP_SCENARIO_GYM_GHOST_03,
|
||||
FSYS_YMAP_SCENARIO_GYM_CLEAR_GHOST,
|
||||
FSYS_YMAP_SCENARIO_GYM_KOORI,
|
||||
FSYS_YMAP_SCENARIO_GYM_KOORI_02,
|
||||
FSYS_YMAP_SCENARIO_GYM_KOORI_03,
|
||||
FSYS_YMAP_SCENARIO_GYM_CLEAR_KOORI,
|
||||
FSYS_YMAP_SCENARIO_GYM_KUSA,
|
||||
FSYS_YMAP_SCENARIO_GYM_KUSA_02,
|
||||
FSYS_YMAP_SCENARIO_GYM_KUSA_03,
|
||||
FSYS_YMAP_SCENARIO_GYM_CLEAR_KUSA,
|
||||
FSYS_YMAP_SCENARIO_GYM_MIZU,
|
||||
FSYS_YMAP_SCENARIO_GYM_MIZU_02,
|
||||
FSYS_YMAP_SCENARIO_GYM_MIZU_03,
|
||||
FSYS_YMAP_SCENARIO_GYM_CLEAR_MIZU,
|
||||
FSYS_YMAP_SCENARIO_GYM_MUSI,
|
||||
FSYS_YMAP_SCENARIO_GYM_MUSI_02,
|
||||
FSYS_YMAP_SCENARIO_GYM_MUSI_03,
|
||||
FSYS_YMAP_SCENARIO_GYM_CLEAR_MUSHI,
|
||||
FSYS_YMAP_SCENARIO_GYM_NORMAL,
|
||||
FSYS_YMAP_SCENARIO_GYM_NORMAL_02,
|
||||
FSYS_YMAP_SCENARIO_GYM_NORMAL_03,
|
||||
FSYS_YMAP_SCENARIO_GYM_CLEAR_NORMAL,
|
||||
FSYS_YMAP_MAGATAMA,
|
||||
FSYS_YMAP_MOKKAN,
|
||||
FSYS_YMAP_TSURUGI,
|
||||
FSYS_YMAP_UTSUWA,
|
||||
FSYS_YMAP_SCENARIO_NUSI_DRAGON,
|
||||
FSYS_YMAP_SCENARIO_NUSI_DRAGON_02,
|
||||
FSYS_YMAP_SCENARIO_NUSHI_FINAL,
|
||||
FSYS_YMAP_SCENARIO_NUSHI_FINAL_02,
|
||||
FSYS_YMAP_SCENARIO_NUSI_HAGANE,
|
||||
FSYS_YMAP_SCENARIO_NUSI_HAGANE_02,
|
||||
FSYS_YMAP_SCENARIO_NUSI_HIKOU,
|
||||
FSYS_YMAP_SCENARIO_NUSI_IWA,
|
||||
FSYS_YMAP_SCENARIO_NUSI_IWA_02,
|
||||
FSYS_YMAP_SCENARIO_NUSI_JIMEN,
|
||||
FSYS_YMAP_SCENARIO_NUSI_JIMEN_02,
|
||||
FSYS_YMAP_POKECEN_02,
|
||||
FSYS_YMAP_POKECEN_03,
|
||||
FSYS_YMAP_POKECEN_04,
|
||||
FSYS_YMAP_POKECEN_05,
|
||||
FSYS_YMAP_POKECEN_06,
|
||||
FSYS_YMAP_POKECEN_07,
|
||||
FSYS_YMAP_POKECEN_08,
|
||||
FSYS_YMAP_POKECEN_09,
|
||||
FSYS_YMAP_POKECEN_10,
|
||||
FSYS_YMAP_POKECEN_11,
|
||||
FSYS_YMAP_POKECEN_12,
|
||||
FSYS_YMAP_POKECEN_13,
|
||||
FSYS_YMAP_POKECEN_14,
|
||||
FSYS_YMAP_POKECEN_15,
|
||||
FSYS_YMAP_POKECEN_16,
|
||||
FSYS_YMAP_POKECEN_17,
|
||||
FSYS_YMAP_POKECEN_18,
|
||||
FSYS_YMAP_POKECEN_19,
|
||||
FSYS_YMAP_POKECEN_20,
|
||||
FSYS_YMAP_POKECEN_21,
|
||||
FSYS_YMAP_POKECEN_22,
|
||||
FSYS_YMAP_POKECEN_23,
|
||||
FSYS_YMAP_POKECEN_24,
|
||||
FSYS_YMAP_POKECEN_25,
|
||||
FSYS_YMAP_POKECEN_26,
|
||||
FSYS_YMAP_POKECEN_27,
|
||||
FSYS_YMAP_POKECEN_28,
|
||||
FSYS_YMAP_POKECEN_29,
|
||||
FSYS_YMAP_POKECEN_30,
|
||||
FSYS_YMAP_POKECEN_31,
|
||||
FSYS_YMAP_POKECEN_32,
|
||||
FSYS_YMAP_POKECEN_33,
|
||||
FSYS_YMAP_POKECEN_34,
|
||||
FSYS_YMAP_POKECEN_35,
|
||||
FSYS_YMAP_SCENARIO_00,
|
||||
FSYS_YMAP_SCENARIO_01,
|
||||
FSYS_YMAP_SCENARIO_02,
|
||||
FSYS_YMAP_SCENARIO_03,
|
||||
FSYS_YMAP_SCENARIO_04,
|
||||
FSYS_YMAP_SCENARIO_05,
|
||||
FSYS_YMAP_SCENARIO_06,
|
||||
FSYS_YMAP_SCENARIO_07,
|
||||
FSYS_YMAP_SCENARIO_08,
|
||||
FSYS_YMAP_SCENARIO_COMMON_0060,
|
||||
FSYS_YMAP_SCENARIO_COMMON_0090,
|
||||
FSYS_YMAP_SCENARIO_COMMON_0095,
|
||||
FSYS_YMAP_SCENARIO_COMMON_0100,
|
||||
FSYS_YMAP_SCENARIO_COMMON_0130,
|
||||
FSYS_YMAP_SCENARIO_COMMON_0170,
|
||||
FSYS_YMAP_SCENARIO_COMMON_0185,
|
||||
FSYS_YMAP_SCENARIO_COMMON_0190,
|
||||
FSYS_YMAP_SCENARIO_COMMON_0210,
|
||||
FSYS_YMAP_SCENARIO_COMMON_0220,
|
||||
FSYS_YMAP_SCENARIO_COMMON_0225,
|
||||
FSYS_YMAP_SCENARIO_COMMON_0990,
|
||||
FSYS_YMAP_SCENARIO_COMMON_1010,
|
||||
FSYS_YMAP_SCENARIO_COMMON_2000,
|
||||
FSYS_YMAP_SCENARIO_COMMON_2030,
|
||||
FSYS_YMAP_SCENARIO_COMMON_2070,
|
||||
FSYS_YMAP_SCENARIO_COMMON_2080,
|
||||
};
|
||||
var accessor = SAV.Accessor;
|
||||
foreach (var block in blocks)
|
||||
accessor.GetBlock(block).ChangeBooleanType(SCTypeCode.Bool2);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue