diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-01-26 04:02:15 -0500 |
---|---|---|
committer | huderlem <huderlem@gmail.com> | 2020-01-26 09:42:55 -0600 |
commit | 9a6c2c25d08ef157cc4800014651bd0c679f6fc5 (patch) | |
tree | a9ac501415b373b05829481edc6e43d53bad8db6 /src/shop.c | |
parent | 7232bfecc2f16019a1a7a49332384f1760d06083 (diff) |
Add some capacity constants
Diffstat (limited to 'src/shop.c')
-rwxr-xr-x | src/shop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shop.c b/src/shop.c index 6e6c10e43..e1f9ef534 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 { |