update joyful dodrio berry offset

bc90a4fc1d/include/global.h (L276)

u32 bestScore;
u16 berriesPicked;
u16 berriesPickedInRow;
This commit is contained in:
Kurt
2018-04-22 20:11:25 -07:00
parent 9e874a0784
commit e25e3fcc19

View File

@@ -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();