Esempio n. 1
0
static void sub_8089EBC(void)
{
    do
    {
        if (InitPartyMenu() == TRUE)
        {
            sub_806C994(EWRAM_1B000.menuHandlerTaskId, gUnknown_020384F0);
            ChangePartyMenuSelection(EWRAM_1B000.menuHandlerTaskId, 0);
            gLastFieldPokeMenuOpened = gUnknown_020384F0;
            sub_8089E84();
            SetMainCallback2(CB2_PartyMenuMain);
            break;
        }
    } while (sub_80F9344() != TRUE);
}
Esempio n. 2
0
// CB2 for menu?
static void sub_8122530(void)
{
    while (1)
    {
        if (InitPartyMenu() == TRUE)
        {
            sub_806C994(ewram1B000.menuHandlerTaskId, gUnknown_020384F0);
            ChangeBattleTowerPartyMenuSelection(ewram1B000.menuHandlerTaskId, 0);
            GetMonNickname(&gPlayerParty[gUnknown_020384F0], gStringVar1);
            gLastFieldPokeMenuOpened = gUnknown_020384F0;
            sub_81221F8(ewram1B000.menuHandlerTaskId);
            SetMainCallback2(CB2_PartyMenuMain);
            break;
        }
        if (sub_80F9344() == 1)
            break;
    }
}