Unprotect pelago setter

Allows it to appear in batch editor
closes #825
This commit is contained in:
Kurt 2017-02-05 12:54:36 -08:00
parent f64d31c557
commit 00bb2ec84c

View file

@ -93,7 +93,7 @@ namespace PKHeX.Core
public override int CNT_Smart { get { return Data[0x27]; } set { Data[0x27] = (byte)value; } }
public override int CNT_Tough { get { return Data[0x28]; } set { Data[0x28] = (byte)value; } }
public override int CNT_Sheen { get { return Data[0x29]; } set { Data[0x29] = (byte)value; } }
public byte PelagoEventStatus { get { return Data[0x2A]; } protected set { Data[0x2A] = value; } }
public byte PelagoEventStatus { get { return Data[0x2A]; } set { Data[0x2A] = value; } }
private byte PKRS { get { return Data[0x2B]; } set { Data[0x2B] = value; } }
public override int PKRS_Days { get { return PKRS & 0xF; } set { PKRS = (byte)(PKRS & ~0xF | value); } }
public override int PKRS_Strain { get { return PKRS >> 4; } set { PKRS = (byte)(PKRS & 0xF | value << 4); } }