Fix CGB import

Trainer1 now unused for this class
Closes #2533
This commit is contained in:
Kurt 2019-11-27 18:33:30 -08:00
parent 907f036956
commit c81edac9e5

View file

@ -149,7 +149,7 @@ namespace PKHeX.Core
private bool CGearSkinPresent
{
get => Data[CGearSkinInfoOffset + 2] == 1;
set => Data[CGearSkinInfoOffset + 2] = Data[Trainer1 + (this is SAV5B2W2 ? 0x6C : 0x54)] = (byte) (value ? 1 : 0);
set => Data[CGearSkinInfoOffset + 2] = Data[PlayerData.Offset + (this is SAV5B2W2 ? 0x6C : 0x54)] = (byte) (value ? 1 : 0);
}
public byte[] CGearSkinData