Beispiel #1
0
        public override void Read(byte[] data)
        {
            if (data.Length != Size)
            {
                return;
            }
            this.Data = data;

            this.TmHm       = PokemonInfo.GetBits(this.Data.Skip(0x28).Take(0x10).ToArray());             // 36-39
            this.TypeTutors = PokemonInfo.GetBits(this.Data.Skip(0x38).Take(0x4).ToArray());              // 40
        }
        public override void Read(byte[] data)
        {
            if (data.Length != Size)
            {
                return;
            }
            this.Data = data;

            // Unpack TMHM & Tutors
            this.TmHm       = PokemonInfo.GetBits(this.Data.Skip(0x28).Take(0x10).ToArray());
            this.TypeTutors = PokemonInfo.GetBits(this.Data.Skip(0x38).Take(0x4).ToArray());
            // 0x3C-0x40 unknown
        }