summaryrefslogtreecommitdiff
path: root/src/berry_crush.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-01-19 20:49:58 -0500
committerGitHub <noreply@github.com>2021-01-19 20:49:58 -0500
commit6999b237ebbc36c3aa751335027bcba6b5b3556f (patch)
tree993f5737fbe70a21f062e7d18908267a456f145d /src/berry_crush.c
parentc2ddb92c9e0905a6625f83f7b5e0936b630c0597 (diff)
parent752982552e212dcb33d57c66342f87eba3ce9089 (diff)
Merge pull request #1309 from GriffinRichards/misc-macro
Use constants for item data, misc other constants/fixes
Diffstat (limited to 'src/berry_crush.c')
-rwxr-xr-xsrc/berry_crush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/berry_crush.c b/src/berry_crush.c
index 90bc7150d..2b16fcbec 100755
--- a/src/berry_crush.c
+++ b/src/berry_crush.c
@@ -877,7 +877,7 @@ void StartBerryCrush(MainCallback callback)
static void GetBerryFromBag(void)
{
if (gSpecialVar_ItemId < FIRST_BERRY_INDEX || gSpecialVar_ItemId > LAST_BERRY_INDEX + 1)
- gSpecialVar_ItemId = ITEM_CHERI_BERRY;
+ gSpecialVar_ItemId = FIRST_BERRY_INDEX;
else
RemoveBagItem(gSpecialVar_ItemId, 1);