Exemple #1
0
        public override string getBoxName(int box)
        {
            int offset = getBoxOffset(BoxCount);

            if (Version == GameVersion.HGSS)
            {
                offset += 0x8;
            }
            return(PKX.array2strG4(getData(offset + box * 0x28, 0x28)));
        }
Exemple #2
0
        public override string getBoxName(int box)
        {
            int offset = getBoxOffset(BoxCount);

            if (Version == GameVersion.HGSS)
            {
                offset += 0x8;
            }
            return(PKX.array2strG4(Data.Skip(offset + box * 0x28).Take(0x28).ToArray()));
        }