syntax fix

This commit is contained in:
ghoulslash 2021-10-06 14:19:15 -04:00
parent 3d24fd5f30
commit 33d19d4e34

View File

@ -3206,7 +3206,7 @@ bool32 CanThrowLastUsedBall(void)
void TryAddLastUsedBallItemSprites(void) void TryAddLastUsedBallItemSprites(void)
{ {
#if B_LAST_USED_BALL == TRUE #if B_LAST_USED_BALL == TRUE
if ((gLastThrownBall == 0 if (gLastThrownBall == 0
|| (gLastThrownBall != 0 && !CheckBagHasItem(gLastThrownBall, 1))) || (gLastThrownBall != 0 && !CheckBagHasItem(gLastThrownBall, 1)))
{ {
// we're out of the last used ball, so just set it to the first ball in the bag // we're out of the last used ball, so just set it to the first ball in the bag