Finish item.c

This commit is contained in:
PikalaxALT committed 2019-06-20 10:17:05 -04:00
1 parent 649a351c4c
commit 715847bc37
15 files changed
+242 -727

No files matched your search

+2 -2
View File
@@ -359,7 +359,7 @@ static bool8 DoSetUpTMCaseUI(void)
gMain.state++;
break;
case 9:
sub_809A5E4(&gBagPockets[POCKET_TM_CASE - 1]);
SortPocketAndPlaceHMsFirst(&gBagPockets[POCKET_TM_CASE - 1]);
gMain.state++;
break;
case 10:
@@ -648,7 +648,7 @@ static void TMCaseSetup_GetTMCount(void)
struct BagPocket * pocket = &gBagPockets[POCKET_TM_CASE - 1];
u16 i;
sub_809A584(pocket->itemSlots, pocket->capacity);
BagPocketCompaction(pocket->itemSlots, pocket->capacity);
sTMCaseDynamicResources->numTMs = 0;
for (i = 0; i < pocket->capacity; i++)
{