From 00bb2ec84c189b486e2c8cc257149fe8f0506bee Mon Sep 17 00:00:00 2001 From: Kurt Date: Sun, 5 Feb 2017 12:54:36 -0800 Subject: [PATCH] Unprotect pelago setter Allows it to appear in batch editor closes #825 --- PKHeX/PKM/PK7.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKHeX/PKM/PK7.cs b/PKHeX/PKM/PK7.cs index 8ad65154a..c61e925be 100644 --- a/PKHeX/PKM/PK7.cs +++ b/PKHeX/PKM/PK7.cs @@ -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); } }