diff --git a/PKHeX.Core/PersonalInfo/Info/PersonalInfo9SV.cs b/PKHeX.Core/PersonalInfo/Info/PersonalInfo9SV.cs index 2a5d921cd..e52963e75 100644 --- a/PKHeX.Core/PersonalInfo/Info/PersonalInfo9SV.cs +++ b/PKHeX.Core/PersonalInfo/Info/PersonalInfo9SV.cs @@ -8,7 +8,7 @@ namespace PKHeX.Core; /// public sealed class PersonalInfo9SV(Memory Raw) : PersonalInfo, IPersonalAbility12H, IPersonalInfoTM, IPermitRecord { - public const int SIZE = 0x4C; + public const int SIZE = 0x50; private Span Data => Raw.Span; public override byte[] Write() => Raw.ToArray(); @@ -54,7 +54,6 @@ public sealed class PersonalInfo9SV(Memory Raw) : PersonalInfo, IPersonalA public ushort RegionalFormIndex { get => (byte)ReadUInt16LittleEndian(Data[0x2A..]); set => WriteUInt16LittleEndian(Data[0x2A..], value); } public override int EscapeRate { get => 0; set { } } - public override int BaseEXP { get => 0; set { } } /// /// Gets the Form that any offspring will hatch with, assuming it is holding an Everstone. @@ -145,4 +144,5 @@ public sealed class PersonalInfo9SV(Memory Raw) : PersonalInfo, IPersonalA public byte DexKitakami { get => Data[0x4A]; set => Data[0x4A] = value; } public byte DexBlueberry { get => Data[0x4B]; set => Data[0x4B] = value; } + public override int BaseEXP { get => ReadUInt16LittleEndian(Data[0x4C..]); set => WriteUInt16LittleEndian(Data[0x4C..], (ushort)value); } } diff --git a/PKHeX.Core/Resources/byte/personal/personal_sv b/PKHeX.Core/Resources/byte/personal/personal_sv index ab38d74bf..a44a6621a 100644 Binary files a/PKHeX.Core/Resources/byte/personal/personal_sv and b/PKHeX.Core/Resources/byte/personal/personal_sv differ