fix ITEM_NONE to 0 for compilation reasons
This commit is contained in:
parent
d1bc7b5676
commit
07e3e73372
1 changed files with 1 additions and 1 deletions
|
@ -3201,7 +3201,7 @@ bool32 CanThrowLastUsedBall(void)
|
||||||
|
|
||||||
void TryAddLastUsedBallItemSprites(void)
|
void TryAddLastUsedBallItemSprites(void)
|
||||||
{
|
{
|
||||||
if (gSaveBlock2Ptr->lastUsedBall != ITEM_NONE && !CheckBagHasItem(gSaveBlock2Ptr->lastUsedBall, 1))
|
if (gSaveBlock2Ptr->lastUsedBall != 0 && !CheckBagHasItem(gSaveBlock2Ptr->lastUsedBall, 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
|
||||||
// we have to compact the bag first bc it is typically only compacted when you open it
|
// we have to compact the bag first bc it is typically only compacted when you open it
|
||||||
|
|
Loading…
Reference in a new issue