summaryrefslogtreecommitdiff
path: root/src/berry.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2019-11-01 19:46:38 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2019-11-01 19:46:38 -0400
commita20a2b415c89e94c8bae0c9b1b678469db81c9a1 (patch)
tree954cdbe5cf6abdfece1b99c441414b53e9fb2d4a /src/berry.c
parentb5de3ab0123def8c6de850ddb19df03c1214ebcc (diff)
Address review comments
Diffstat (limited to 'src/berry.c')
-rw-r--r--src/berry.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/berry.c b/src/berry.c
index 456ab1565..b92a41ed4 100644
--- a/src/berry.c
+++ b/src/berry.c
@@ -916,7 +916,10 @@ const struct UnkStruct_0858AB24 gUnknown_83DFC9C[] = {
// Leftover from R/S
const struct BerryTree gBlankBerryTree = {};
-#define ENIGMA_BERRY_STRUCT ({const struct Berry2 *berries = (const struct Berry2 *)gBerries;berries[ITEM_ENIGMA_BERRY - FIRST_BERRY_INDEX];})
+#define ENIGMA_BERRY_STRUCT ({ \
+ const struct Berry2 * berries = (const struct Berry2 *)gBerries; \
+ berries[ITEM_ENIGMA_BERRY - FIRST_BERRY_INDEX]; \
+})
void sub_809C718(void)
{