summaryrefslogtreecommitdiff
path: root/src/shop.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-01-26 12:23:08 -0500
committerGriffinR <griffin.g.richards@gmail.com>2020-01-26 12:23:08 -0500
commit9c934c966400813e8ed6c8a5c0f93fb8cdc12546 (patch)
tree8e131411fca696d59f68a0116e59751e53d2b55b /src/shop.c
parent4c12ad00d21b43d0946b2a0ba3ee471af9262673 (diff)
parent9a6c2c25d08ef157cc4800014651bd0c679f6fc5 (diff)
Merge master into fix-eventobj, add explicit size to gObjectEventGraphicsInfoPointers
Diffstat (limited to 'src/shop.c')
-rwxr-xr-xsrc/shop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shop.c b/src/shop.c
index 0bb527f81..a4d1939cb 100755
--- a/src/shop.c
+++ b/src/shop.c
@@ -994,9 +994,9 @@ static void Task_BuyHowManyDialogueInit(u8 taskId)
maxQuantity = GetMoney(&gSaveBlock1Ptr->money) / gShopDataPtr->totalCost;
- if (maxQuantity > 99)
+ if (maxQuantity > MAX_BAG_ITEM_CAPACITY)
{
- gShopDataPtr->maxQuantity = 99;
+ gShopDataPtr->maxQuantity = MAX_BAG_ITEM_CAPACITY;
}
else
{