From c611bba9b55978cfd5348427c42c0a0b1a70c46d Mon Sep 17 00:00:00 2001 From: Kurt Date: Thu, 8 Sep 2022 23:11:58 -0700 Subject: [PATCH] Update WA8.cs --- PKHeX.Core/MysteryGifts/WA8.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/PKHeX.Core/MysteryGifts/WA8.cs b/PKHeX.Core/MysteryGifts/WA8.cs index 8c91a73ad..ee35b0977 100644 --- a/PKHeX.Core/MysteryGifts/WA8.cs +++ b/PKHeX.Core/MysteryGifts/WA8.cs @@ -21,6 +21,7 @@ public sealed class WA8 : DataMysteryGift, ILangNick, INature, IGigantamax, IDyn None = 0, Pokemon = 1, Item = 2, + Clothing = 3, } public WA8() : this(new byte[Size]) { } @@ -37,8 +38,8 @@ public sealed class WA8 : DataMysteryGift, ILangNick, INature, IGigantamax, IDyn set => WriteUInt16LittleEndian(Data.AsSpan(0x8), (ushort)value); } - public byte CardFlags { get => Data[0x10]; set => Data[0x10] = value; } - public GiftType CardType { get => (GiftType)Data[0x11]; set => Data[0x11] = (byte)value; } + public byte CardFlags { get => Data[0x0E]; set => Data[0x0E] = value; } + public GiftType CardType { get => (GiftType)Data[0x0F]; set => Data[0x0F] = (byte)value; } public bool GiftRepeatable { get => (CardFlags & 1) == 0; set => CardFlags = (byte)((CardFlags & ~1) | (value ? 0 : 1)); } public override bool GiftUsed { get => false; set { } }