summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/berry.h8
-rwxr-xr-xinclude/berry_crush.h2
-rw-r--r--include/constants/game_stat.h2
-rw-r--r--include/global.h2
-rw-r--r--include/graphics.h6
-rw-r--r--include/strings.h2
6 files changed, 11 insertions, 11 deletions
diff --git a/include/berry.h b/include/berry.h
index 4a5a46615..22b9158ee 100644
--- a/include/berry.h
+++ b/include/berry.h
@@ -28,11 +28,11 @@ void SetBerryTreesSeen(void);
extern const struct Berry gBerries[];
-struct UnkStruct_0858AB24 {
- u8 unk0;
- u16 unk1;
+struct BerryCrushBerryData {
+ u8 difficulty; // The number of A presses required to crush it
+ u16 powder;
};
-extern const struct UnkStruct_0858AB24 gUnknown_0858AB24[];
+extern const struct BerryCrushBerryData gBerryCrush_BerryData[];
#endif // GUARD_BERRY_H
diff --git a/include/berry_crush.h b/include/berry_crush.h
index a08f1f699..02dcce506 100755
--- a/include/berry_crush.h
+++ b/include/berry_crush.h
@@ -3,6 +3,6 @@
#include "main.h"
-void StartBerryCrush(MainCallback callback);
+void StartBerryCrush(MainCallback exitCallback);
#endif // GUARD_BERRY_CRUSH_H
diff --git a/include/constants/game_stat.h b/include/constants/game_stat.h
index e302f1345..2acdfd8a3 100644
--- a/include/constants/game_stat.h
+++ b/include/constants/game_stat.h
@@ -52,7 +52,7 @@
#define GAME_STAT_RODE_CABLE_CAR 48
#define GAME_STAT_ENTERED_HOT_SPRINGS 49
#define GAME_STAT_NUM_UNION_ROOM_BATTLES 50
-#define GAME_STAT_51 51
+#define GAME_STAT_PLAYED_BERRY_CRUSH 51
#define NUM_USED_GAME_STATS 52
#define NUM_GAME_STATS 64
diff --git a/include/global.h b/include/global.h
index 112d2cbc4..7806c0b59 100644
--- a/include/global.h
+++ b/include/global.h
@@ -217,7 +217,7 @@ struct PyramidBag
struct BerryCrush
{
- u16 berryCrushResults[4];
+ u16 pressingSpeeds[4]; // For the record with each possible group size, 2-5 players
u32 berryPowderAmount;
u32 unk;
};
diff --git a/include/graphics.h b/include/graphics.h
index b1a781fff..9be05f38e 100644
--- a/include/graphics.h
+++ b/include/graphics.h
@@ -5001,9 +5001,9 @@ extern const u16 gUsePokeblockUpDown_Pal[];
extern const u16 gUsePokeblockCondition_Pal[];
// Berry Crush
-extern const u32 gUnknown_08DE34B8[];
-extern const u16 gUnknown_08DE3398[];
-extern const u32 gUnknown_08DE3FD4[];
+extern const u32 gBerryCrush_Crusher_Gfx[];
+extern const u16 gBerryCrush_Crusher_Pal[];
+extern const u32 gBerryCrush_Crusher_Tilemap[];
// Pokenav
extern const u32 gPokenavMessageBox_Gfx[];
diff --git a/include/strings.h b/include/strings.h
index 294ab8aa6..8880f3a5c 100644
--- a/include/strings.h
+++ b/include/strings.h
@@ -2904,7 +2904,7 @@ extern const u8 gText_CrushingResults[];
extern const u8 gText_BerryCrush2[];
extern const u8 gText_PressingSpeedRankings[];
extern const u8 gText_Var1Players[];
-extern const u8 gText_ReadyToBerryCrush[];
+extern const u8 gText_ReadyPickBerry[];
extern const u8 gText_WaitForAllChooseBerry[];
extern const u8 gText_EndedWithXUnitsPowder[];
extern const u8 gText_RecordingGameResults[];