summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/berry.h14
-rw-r--r--include/global.h4
2 files changed, 16 insertions, 2 deletions
diff --git a/include/berry.h b/include/berry.h
index 9d75eada6..9800e74eb 100644
--- a/include/berry.h
+++ b/include/berry.h
@@ -21,9 +21,21 @@ struct Berry
struct EnigmaBerry
{
+ struct Berry berry;
+ u8 pic[(6 * 6) * TILE_SIZE_4BPP];
+ u16 palette[16];
+ u8 description1[45];
+ u8 description2[45];
+ u8 itemEffect[18];
+ u8 holdEffect;
+ u32 checksum;
+};
+
+struct BattleEnigmaBerry
+{
u8 name[7];
u8 holdEffect;
- u8 unknown[18];
+ u8 itemEffect[18];
u8 holdEffectParam;
};
diff --git a/include/global.h b/include/global.h
index 5b1705261..a489b93be 100644
--- a/include/global.h
+++ b/include/global.h
@@ -93,6 +93,7 @@ struct SecretBaseRecord
#include "game_stat.h"
#include "fieldmap.h"
+#include "berry.h"
struct WarpData
{
@@ -148,7 +149,8 @@ struct SaveBlock1
u32 gameStats[NUM_GAME_STATS];
u8 filler_1608[0x18F4];
struct SB1_2EFC_Struct sb1_2EFC_struct[5];
- u8 filler_2F9C[0x6F4];
+ u8 filler_2F9C[0x1C4];
+ struct EnigmaBerry enigmaBerry;
struct RamScript ramScript;
u8 filler_3A7C[0x10];
u8 unk3A8C[52]; //pokedex related