public SaveBlockAccessorAO(SAV6AO sav) { Puff = new Puff6(sav, 0x0000); Items = new MyItem6AO(sav, 0x00400); ItemInfo = new ItemInfo6(sav, 0x1000); GameTime = new GameTime6(sav, 0x01200); Situation = new Situation6(sav, 0x01400); Played = new PlayTime6(sav, 0x01800); Misc = new Misc6AO(sav, 0x04200); BoxLayout = new BoxLayout6(sav, 0x04400); BattleBox = new BattleBox6(sav, 0x04A00); Status = new MyStatus6(sav, 0x14000); Zukan = new Zukan6AO(sav, 0x15000, 0x400); OPower = new OPower6(sav, 0x17400); Maison = new MaisonBlock(sav, 0x1BA00); MysteryGift = new MysteryBlock6(sav, 0x1CC00); Records = new RecordBlock6(sav, 0x1F400); SuperTrain = new SuperTrainBlock(sav, 0x20200); Link = new LinkBlock6(sav, 0x20E00); Sango = new SangoInfoBlock(sav, 0x2B600); }
private void Initialize() { /* 00: 00000-002C8, 002C8 */ // Puff = 0x00000; /* 01: 00400-00F90, 00B90 */ // MyItem = 0x00400; // Bag /* 02: 01000-0102C, 0002C */ // ItemInfo = 0x1000; // Select Bound Items /* 03: 01200-01238, 00038 */ // GameTime = 0x01200; /* 04: 01400-01550, 00150 */ Trainer1 = 0x01400; // Situation /* 05: 01600-01604, 00004 */ // RandomGroup (rand seeds) /* 06: 01800-01808, 00008 */ PlayTime = 0x1800; // PlayTime /* 07: 01A00-01BC0, 001C0 */ Accessories = 0x1A00; // Fashion /* 08: 01C00-01CBE, 000BE */ // amie minigame records /* 09: 01E00-01E24, 00024 */ // temp variables (u32 id + 32 u8) /* 10: 02000-04100, 02100 */ // FieldMoveModelSave /* 11: 04200-04330, 00130 */ Trainer2 = 0x04200; // Misc /* 12: 04400-04840, 00440 */ PCLayout = 0x04400; // BOX /* 13: 04A00-04F74, 00574 */ BattleBox = 0x04A00; // BattleBox /* 14: 05000-09E28, 04E28 */ PSS = 0x05000; /* 15: 0A000-0EE28, 04E28 */ // PSS2 /* 16: 0F000-13E28, 04E28 */ // PSS3 /* 17: 14000-14170, 00170 */ // MyStatus /* 18: 14200-1481C, 0061C */ Party = 0x14200; // PokePartySave /* 19: 14A00-14F04, 00504 */ EventConst = 0x14A00; // EventWork /* 20: 15000-161CC, 011CC */ PokeDex = 0x15000; // ZukanData /* 21: 16200-16844, 00644 */ // hologram clips /* 22: 16A00-16B04, 00104 */ Fused = 0x16A00; // UnionPokemon /* 23: 16C00-16C04, 00004 */ // ConfigSave /* 24: 16E00-17220, 00420 */ // Amie decoration stuff /* 25: 17400-17464, 00064 */ // OPower = 0x17400; /* 26: 17600-179F0, 003F0 */ // Strength Rock position (xyz float: 84 entries, 12bytes/entry) /* 27: 17A00-1810C, 0070C */ // Trainer PR Video /* 28: 18200-18380, 00180 */ GTS = 0x18200; // GtsData /* 29: 18400-18404, 00004 */ // Packed Menu Bits /* 30: 18600-1860C, 0000C */ // PSS Profile Q&A (6*questions, 6*answer) /* 31: 18800-18848, 00048 */ // Repel Info, (Swarm?) and other overworld info (roamer) /* 32: 18A00-18A54, 00054 */ // BOSS data fetch history (serial/mystery gift), 4byte intro & 20*4byte entries /* 33: 18C00-19244, 00644 */ // Streetpass history /* 34: 19400-199C8, 005C8 */ // LiveMatchData/BattleSpotData /* 35: 19A00-19CF8, 002F8 */ // MAC Address & Network Connection Logging (0x98 per entry, 5 entries) /* 36: 19E00-1B940, 01B40 */ HoF = 0x19E00; // Dendou /* 37: 1BA00-1BBF4, 001F4 */ MaisonStats = 0x1BBC0; // BattleInstSave /* 38: 1BC00-1BFE0, 003E0 */ Daycare = 0x1BC00; // Sodateya /* 39: 1C000-1C216, 00216 */ // BattleInstSave /* 40: 1C400-1CA40, 00640 */ BerryField = 0x1C400; /* 41: 1CC00-1E690, 01A90 */ WondercardFlags = 0x1CC00; // MysteryGiftSave /* 42: 1E800-1EC00, 00400 */ // Storyline Records /* 43: 1EC00-1F218, 00618 */ SUBE = 0x1D890; // PokeDiarySave /* 44: 1F400-1F65C, 0025C */ // Record = 0x1F400; /* 45: 1F800-20034, 00834 */ // Friend Safari (0x15 per entry, 100 entries) /* 46: 20200-20518, 00318 */ SuperTrain = 0x20200; /* 47: 20600-20DD0, 007D0 */ // Unused (lmao) /* 48: 20E00-21A48, 00C48 */ LinkInfo = 0x20E00; /* 49: 21C00-21C78, 00078 */ // PSS usage info /* 50: 21E00-22000, 00200 */ // GameSyncSave /* 51: 22000-22C84, 00C84 */ // PSS Icon (bool32 data present, 40x40 u16 pic, unused) /* 52: 22E00-23428, 00628 */ // ValidationSave (updatabale Public Key for legal check api calls) /* 53: 23600-23A00, 00400 */ Contest = 0x23600; /* 54: 23A00-2B4D0, 07AD0 */ SecretBase = 0x23A00; /* 55: 2B600-32EB0, 078B0 */ EonTicket = 0x319B8; /* 56: 33000-67AD0, 34AD0 */ Box = 0x33000; /* 57: 67C00-75C58, 0E058 */ JPEG = 0x67C00; Items = new MyItem6XY(this, 0x00400); PuffBlock = new Puff6(this, 0x0000); GameTime = new GameTime6(this, 0x01200); Situation = new Situation6(this, 0x01400); Played = new PlayTime6(this, 0x01800); BoxLayout = new BoxLayout6(this, 0x04400); Status = new MyStatus6(this, 0x14000); Zukan = new Zukan6(this, 0x15000, 0x15000 + 0x400); OPowerBlock = new OPower6(this, 0x17400); MysteryBlock = new MysteryBlock6(this, 0x1CC00); Records = new Record6(this, 0x1F400, Core.Records.MaxType_AO); Sango = new SangoInfoBlock(this, 0x2B600); EventFlag = EventConst + 0x2FC; PokeDexLanguageFlags = PokeDex + 0x400; Spinda = PokeDex + 0x680; EncounterCount = PokeDex + 0x686; WondercardData = WondercardFlags + 0x100; Daycare2 = Daycare + 0x1F0; HeldItems = Legal.HeldItem_XY; Personal = PersonalTable.XY; }