Merge branch 'master' into battle
This commit is contained in:
+2
-2
@@ -245,11 +245,11 @@ bool8 AddBagItem(u16 itemId, u16 count)
|
||||
return FALSE;
|
||||
gBagPockets[POCKET_KEY_ITEMS - 1].itemSlots[idx].itemId = ITEM_BERRY_POUCH;
|
||||
SetBagItemQuantity(&gBagPockets[POCKET_KEY_ITEMS - 1].itemSlots[idx].quantity, 1);
|
||||
FlagSet(FLAG_0x847);
|
||||
FlagSet(FLAG_SYS_GOT_BERRY_POUCH);
|
||||
}
|
||||
|
||||
if (itemId == ITEM_BERRY_POUCH)
|
||||
FlagSet(FLAG_0x847);
|
||||
FlagSet(FLAG_SYS_GOT_BERRY_POUCH);
|
||||
|
||||
idx = BagPocketGetFirstEmptySlot(pocket);
|
||||
if (idx == -1)
|
||||
|
||||
Reference in New Issue
Block a user