mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-09 04:24:36 -05:00
Add mystery gift record getset
Mystery Gift button now appears for GG, doesn't work yet
This commit is contained in:
parent
f5e3358aaf
commit
8a33a95974
|
|
@ -47,6 +47,8 @@ public SAV7b(byte[] data)
|
|||
EventWork = new EventWork7b(this);
|
||||
GiftRecords = new WB7Records(this);
|
||||
|
||||
WondercardData = GiftRecords.Offset;
|
||||
|
||||
HeldItems = Legal.HeldItems_GG;
|
||||
|
||||
if (Exportable)
|
||||
|
|
@ -249,5 +251,8 @@ public override GameVersion Version
|
|||
/// <param name="value">Event Flag status to set</param>
|
||||
/// <remarks>Flag is Set (true) or not Set (false)</remarks>
|
||||
public override void SetEventFlag(int flagNumber, bool value) => EventWork.SetFlag(flagNumber, value);
|
||||
|
||||
protected override bool[] MysteryGiftReceivedFlags { get => GiftRecords.Flags; set => GiftRecords.Flags = value; }
|
||||
protected override MysteryGift[] MysteryGiftCards { get => GiftRecords.Records; set => GiftRecords.Records = (WR7[])value; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user