diff --git a/PKHeX/Saves/SAV4.cs b/PKHeX/Saves/SAV4.cs index 8cab4befc..75a7ff4b9 100644 --- a/PKHeX/Saves/SAV4.cs +++ b/PKHeX/Saves/SAV4.cs @@ -759,7 +759,7 @@ protected override void setDex(PKM pkm) const int brSize = 0x40; int bit = pkm.Species - 1; byte mask = (byte) (1 << (bit&7)); - int ofs = PokeDex + bit>>3 + 0x4; + int ofs = PokeDex + (bit>>3) + 0x4; // Set the Species Owned Flag Data[ofs + brSize*0] |= mask;