Exemplo n.º 1
0
        private void Initialize()
        {
            Personal  = PersonalTable.SM;
            HeldItems = Legal.HeldItems_SM;

            Items   = new MyItem7SM(this, Bag);
            Zukan   = new Zukan7(this, PokeDex, PokeDexLanguageFlags);
            Records = new Record6(this, Record, Core.Records.MaxType_SM);
        }
Exemplo n.º 2
0
        public SaveBlockAccessor7SM(SAV7SM sav)
        {
            var bi = BlockInfo;

            Items       = new MyItem7SM(sav, 0);
            Situation   = new Situation7(sav, bi[01].Offset);
            MyStatus    = new MyStatus7(sav, bi[03].Offset);
            Zukan       = new Zukan7(sav, bi[06].Offset, 0x550);
            Misc        = new Misc7(sav, bi[09].Offset);
            FieldMenu   = new FieldMenu7(sav, bi[10].Offset);
            Config      = new ConfigSave7(sav, bi[11].Offset);
            GameTime    = new GameTime7(sav, bi[12].Offset);
            BoxLayout   = new BoxLayout7(sav, bi[13].Offset);
            ResortSave  = new ResortSave7(sav, bi[15].Offset);
            Played      = new PlayTime6(sav, bi[16].Offset);
            Overworld   = new FieldMoveModelSave7(sav, bi[17].Offset);
            Fashion     = new FashionBlock7(sav, bi[18].Offset);
            Festa       = new JoinFesta7(sav, bi[21].Offset);
            PokeFinder  = new PokeFinder7(sav, bi[26].Offset);
            MysteryGift = new MysteryBlock7(sav, bi[27].Offset);
            Records     = new RecordBlock6(sav, bi[28].Offset);
            BattleTree  = new BattleTree7(sav, bi[32].Offset);
            Daycare     = new Daycare7(sav, bi[33].Offset);
        }