summaryrefslogtreecommitdiff
path: root/include/global.berry.h
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-09-04 21:43:13 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2017-09-04 21:43:13 +0200
commit2702b0ec9b4b2ae25d847ccd3b5b8ec1ad8cf1ff (patch)
treef804cd23f6dd6d2c1ca6b132d667be7951d7bb29 /include/global.berry.h
parent92892d140a2ed704a1cfa2748ea015c9007da14c (diff)
decomp calc dmg and clean up battle ai
Diffstat (limited to 'include/global.berry.h')
-rw-r--r--include/global.berry.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/include/global.berry.h b/include/global.berry.h
index 6632e55e2..6695a9f4b 100644
--- a/include/global.berry.h
+++ b/include/global.berry.h
@@ -19,9 +19,29 @@ struct Berry
u8 smoothness;
};
+// with no const fields
+
+struct Berry2
+{
+ u8 name[7];
+ u8 firmness;
+ u16 size;
+ u8 maxYield;
+ u8 minYield;
+ u8 *description1;
+ u8 *description2;
+ u8 stageDuration;
+ u8 spicy;
+ u8 dry;
+ u8 sweet;
+ u8 bitter;
+ u8 sour;
+ u8 smoothness;
+};
+
struct EnigmaBerry
{
- struct Berry berry;
+ struct Berry2 berry;
u8 pic[(6 * 6) * TILE_SIZE_4BPP];
u16 palette[16];
u8 description1[45];