Allow currentbox to be changed if not overriden

Now allows modifying/deleting 'current' box.
This commit is contained in:
Kurt 2018-11-22 10:55:20 -08:00
parent f358c0e4cf
commit 1d27f64235

View file

@ -451,7 +451,7 @@ namespace PKHeX.Core
public virtual int BoxSlotCount => 30;
public virtual int BoxesUnlocked { get => -1; set { } }
public virtual byte[] BoxFlags { get => null; set { } }
public virtual int CurrentBox { get => 0; set { } }
public virtual int CurrentBox { get; set; }
protected int[] LockedSlots = Array.Empty<int>();
protected int[] TeamSlots = Array.Empty<int>();
protected virtual IList<int>[] SlotPointers => new[] {LockedSlots,TeamSlots};