Created constant for easier Ball Expansion.

This commit is contained in:
Eduardo Quezada
2020-06-21 02:36:46 -04:00
parent 46f4a4bbf7
commit 7244b80fc6
3 changed files with 4 additions and 2 deletions

View File

@@ -316,7 +316,7 @@ static void HandleInputChooseAction(void)
if (gBattleBufferA[gActiveBattler][1] == B_ACTION_USE_ITEM)
{
// Add item to bag if it is a ball
if (itemId <= ITEM_PREMIER_BALL)
if (itemId <= END_BALLS)
AddBagItem(itemId, 1);
else
return;