Document contest AI scripts
This commit is contained in:
@@ -2789,7 +2789,7 @@ void CreateContestMonFromParty(u8 partyIndex)
|
||||
gContestMons[gContestPlayerMonIndex].trainerGfxId = OBJ_EVENT_GFX_LINK_BRENDAN;
|
||||
else
|
||||
gContestMons[gContestPlayerMonIndex].trainerGfxId = OBJ_EVENT_GFX_LINK_MAY;
|
||||
gContestMons[gContestPlayerMonIndex].aiChecks = 0;
|
||||
gContestMons[gContestPlayerMonIndex].aiFlags = 0;
|
||||
gContestMons[gContestPlayerMonIndex].highestRank = 0;
|
||||
gContestMons[gContestPlayerMonIndex].species = GetMonData(&gPlayerParty[partyIndex], MON_DATA_SPECIES);
|
||||
GetMonData(&gPlayerParty[partyIndex], MON_DATA_NICKNAME, name);
|
||||
@@ -5620,7 +5620,7 @@ void ClearContestWinnerPicsInContestHall(void)
|
||||
s32 i;
|
||||
|
||||
for (i = 0; i < 8; i++)
|
||||
gSaveBlock1Ptr->contestWinners[i] = gUnknown_08587FA4[i];
|
||||
gSaveBlock1Ptr->contestWinners[i] = gDefaultContestWinners[i];
|
||||
}
|
||||
|
||||
static void SetContestLiveUpdateFlags(u8 contestant)
|
||||
|
||||
Reference in New Issue
Block a user