Decompile contest_link_81D9DE4.c

This commit is contained in:
Marcus Huderle
2019-01-03 11:54:22 -06:00
committed by huderlem
parent b471bba55e
commit bc43dbab13
10 changed files with 399 additions and 939 deletions
+4 -4
View File
@@ -7257,10 +7257,10 @@ static void sub_81B9424(u8 taskId)
static void sub_81B9470(void)
{
gUnknown_02039F24 = GetCursorSelectionMonId();
if (gUnknown_02039F24 >= PARTY_SIZE)
gUnknown_02039F24 = 0xFF;
gSpecialVar_0x8004 = gUnknown_02039F24;
gContestMonPartyIndex = GetCursorSelectionMonId();
if (gContestMonPartyIndex >= PARTY_SIZE)
gContestMonPartyIndex = 0xFF;
gSpecialVar_0x8004 = gContestMonPartyIndex;
gFieldCallback2 = hm_add_c3_without_phase_2;
SetMainCallback2(CB2_ReturnToField);
}