Renamed constant,

This commit is contained in:
Eduardo Quezada
2020-07-12 01:49:32 -04:00
parent 7244b80fc6
commit b31efcd6e3
3 changed files with 3 additions and 3 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 <= END_BALLS)
if (itemId <= LAST_BALL)
AddBagItem(itemId, 1);
else
return;