Restored some tItemCount instances as requested.
This commit is contained in:
parent
130929a7a4
commit
c73fdb8954
1 changed files with 4 additions and 4 deletions
|
@ -2175,19 +2175,19 @@ void Task_WallyTutorialBagMenu(u8 taskId)
|
||||||
|
|
||||||
if (!gPaletteFade.active)
|
if (!gPaletteFade.active)
|
||||||
{
|
{
|
||||||
switch (tItemCount)
|
switch (data[8])
|
||||||
{
|
{
|
||||||
case 0x66:
|
case 0x66:
|
||||||
PlaySE(SE_SELECT);
|
PlaySE(SE_SELECT);
|
||||||
SwitchBagPocket(taskId, 1, 0);
|
SwitchBagPocket(taskId, 1, 0);
|
||||||
tItemCount++;
|
data[8]++;
|
||||||
break;
|
break;
|
||||||
case 0xCC:
|
case 0xCC:
|
||||||
PlaySE(SE_SELECT);
|
PlaySE(SE_SELECT);
|
||||||
BagMenu_PrintCursor_(data[0], 2);
|
BagMenu_PrintCursor_(data[0], 2);
|
||||||
gSpecialVar_ItemId = ITEM_POKE_BALL;
|
gSpecialVar_ItemId = ITEM_POKE_BALL;
|
||||||
sub_81AC644(taskId);
|
sub_81AC644(taskId);
|
||||||
tItemCount++;
|
data[8]++;
|
||||||
break;
|
break;
|
||||||
case 0x132:
|
case 0x132:
|
||||||
PlaySE(SE_SELECT);
|
PlaySE(SE_SELECT);
|
||||||
|
@ -2197,7 +2197,7 @@ void Task_WallyTutorialBagMenu(u8 taskId)
|
||||||
Task_FadeAndCloseBagMenu(taskId);
|
Task_FadeAndCloseBagMenu(taskId);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
tItemCount++;
|
data[8]++;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue