From e25e3fcc19728ec545c326c3adfa6870a8534f33 Mon Sep 17 00:00:00 2001 From: Kurt Date: Sun, 22 Apr 2018 20:11:25 -0700 Subject: [PATCH] update joyful dodrio berry offset https://github.com/pret/pokeemerald/blob/bc90a4fc1d5b63ad26d5c43722ccfe9df7ed1e07/include/global.h#L276 u32 bestScore; u16 berriesPicked; u16 berriesPickedInRow; --- PKHeX.WinForms/Subforms/Save Editors/Gen3/SAV_Misc3.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKHeX.WinForms/Subforms/Save Editors/Gen3/SAV_Misc3.cs b/PKHeX.WinForms/Subforms/Save Editors/Gen3/SAV_Misc3.cs index acc428702..c7cd9f504 100644 --- a/PKHeX.WinForms/Subforms/Save Editors/Gen3/SAV_Misc3.cs +++ b/PKHeX.WinForms/Subforms/Save Editors/Gen3/SAV_Misc3.cs @@ -107,7 +107,7 @@ private void ReadJoyful() BERRIES_IN_ROW = SAV.GetBlockOffset(0) + 0x210; BERRIES_SCORE = SAV.GetBlockOffset(0) + 0x20c; - BERRIES_5_IN_ROW = SAV.GetBlockOffset(0) + 0x214; + BERRIES_5_IN_ROW = SAV.GetBlockOffset(0) + 0x212; break; case GameVersion.FRLG: JUMPS_IN_ROW = SAV.GetBlockOffset(0) + 0xB00; @@ -116,7 +116,7 @@ private void ReadJoyful() BERRIES_IN_ROW = SAV.GetBlockOffset(0) + 0xB14; BERRIES_SCORE = SAV.GetBlockOffset(0) + 0xB10; - BERRIES_5_IN_ROW = SAV.GetBlockOffset(0) + 0xB18; + BERRIES_5_IN_ROW = SAV.GetBlockOffset(0) + 0xB16; break; } TB_J1.Text = Math.Min((ushort)9999, BitConverter.ToUInt16(SAV.Data, JUMPS_IN_ROW)).ToString();