mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 22:54:14 +00:00
Fixed FRLGE Enigma Berry size (#3962)
This commit is contained in:
parent
e1499398f6
commit
218a29a16a
2 changed files with 2 additions and 2 deletions
|
@ -186,7 +186,7 @@ public sealed class SAV3E : SAV3, IGen3Hoenn, IGen3Joyful, IGen3Wonder
|
|||
|
||||
#region eBerry
|
||||
private const int OFFSET_EBERRY = 0x31F8;
|
||||
private const int SIZE_EBERRY = 0x134;
|
||||
private const int SIZE_EBERRY = 0x34;
|
||||
|
||||
public override byte[] GetEReaderBerry() => Large.Slice(OFFSET_EBERRY, SIZE_EBERRY);
|
||||
public override void SetEReaderBerry(ReadOnlySpan<byte> data) => data.CopyTo(Large.AsSpan(OFFSET_EBERRY));
|
||||
|
|
|
@ -143,7 +143,7 @@ public sealed class SAV3FRLG : SAV3, IGen3Joyful, IGen3Wonder
|
|||
|
||||
#region eBerry
|
||||
private const int OFFSET_EBERRY = 0x30EC;
|
||||
private const int SIZE_EBERRY = 0x134;
|
||||
private const int SIZE_EBERRY = 0x34;
|
||||
|
||||
public override byte[] GetEReaderBerry() => Large.Slice(OFFSET_EBERRY, SIZE_EBERRY);
|
||||
public override void SetEReaderBerry(ReadOnlySpan<byte> data) => data.CopyTo(Large.AsSpan(OFFSET_EBERRY));
|
||||
|
|
Loading…
Reference in a new issue