Exemplo n.º 1
0
        public SAV3FRLG(byte[] data) : base(data)
        {
            Initialize();

            // Fix save files that have an overflow corruption with the Pokédex.
            // Future loads of this save file will cause it to be recognized as FR/LG correctly.
            if (IsCorruptPokedexFF())
            {
                WriteUInt32LittleEndian(Small.AsSpan(0xAC), 1);
            }
        }