Example #1
0
        private static Poffin4[] ReadPoffins(SAV4Sinnoh sav, int offset)
        {
            var Poffins = new Poffin4[Count];

            for (int i = 0; i < Poffins.Length; i++)
            {
                Poffins[i] = new Poffin4(sav.General, offset + (i * Poffin4.SIZE));
            }
            return(Poffins);
        }
Example #2
0
        private static Poffin4[] ReadPoffins(SaveFile sav, int offset)
        {
            var Poffins = new Poffin4[Count];

            for (int i = 0; i < Poffins.Length; i++)
            {
                Poffins[i] = new Poffin4(sav.Data, offset + (i * Poffin4.SIZE));
            }
            return(Poffins);
        }