From 5cdfe18b8ee27112872e6f4920b3cd61abe2f176 Mon Sep 17 00:00:00 2001 From: Kurt Date: Tue, 8 Feb 2022 18:49:44 -0800 Subject: [PATCH] Add 7b Starter choice Closes #3420 Co-Authored-By: GiftedK <99304781+GiftedK@users.noreply.github.com> --- PKHeX.Core/Saves/Substructures/Gen7/MyStatus7b.cs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/PKHeX.Core/Saves/Substructures/Gen7/MyStatus7b.cs b/PKHeX.Core/Saves/Substructures/Gen7/MyStatus7b.cs index a766a4400..b44cfd94f 100644 --- a/PKHeX.Core/Saves/Substructures/Gen7/MyStatus7b.cs +++ b/PKHeX.Core/Saves/Substructures/Gen7/MyStatus7b.cs @@ -71,6 +71,12 @@ namespace PKHeX.Core set => Data[Offset + 0x076] = value; } + public StarterChoice7b StarterChoice + { + get => (StarterChoice7b)Data[Offset + 0x0B8]; + set => Data[Offset + 0x0B8] = (byte)value; + } + public byte StarterGender { get => Data[Offset + 0x0B9]; @@ -82,5 +88,12 @@ namespace PKHeX.Core get => Data[Offset + 0x108]; set => Data[Offset + 0x108] = value; } + + public enum StarterChoice7b : byte + { + None = 0, + Pikachu = 1, + Eevee = 2, + } } -} \ No newline at end of file +}