Decompile more of contest_link_80F57C4.c
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -20,9 +20,6 @@
|
||||
#include "window.h"
|
||||
#include "constants/rgb.h"
|
||||
|
||||
extern u8 gUnknown_02039F5C;
|
||||
extern u8 gUnknown_02039F5D;
|
||||
|
||||
extern u16 (*gUnknown_03006190)[][32];
|
||||
extern struct ContestWinner *gUnknown_030061C0;
|
||||
extern u16 *gContestPaintingMonPalette;
|
||||
|
||||
4
src/tv.c
4
src/tv.c
@@ -1516,7 +1516,7 @@ void BravoTrainerPokemonProfile_BeforeInterview1(u16 a0)
|
||||
}
|
||||
}
|
||||
|
||||
void BravoTrainerPokemonProfile_BeforeInterview2(u8 a0)
|
||||
void BravoTrainerPokemonProfile_BeforeInterview2(u8 contestStandingPlace)
|
||||
{
|
||||
TVShow *show;
|
||||
|
||||
@@ -1524,7 +1524,7 @@ void BravoTrainerPokemonProfile_BeforeInterview2(u8 a0)
|
||||
sCurTVShowSlot = FindEmptyTVSlotWithinFirstFiveShowsOfArray(gSaveBlock1Ptr->tvShows);
|
||||
if (sCurTVShowSlot != -1)
|
||||
{
|
||||
show->bravoTrainer.contestResult = a0;
|
||||
show->bravoTrainer.contestResult = contestStandingPlace;
|
||||
show->bravoTrainer.contestCategory = gSpecialVar_ContestCategory;
|
||||
show->bravoTrainer.contestRank = gSpecialVar_ContestRank;
|
||||
show->bravoTrainer.species = GetMonData(&gPlayerParty[gContestMonPartyIndex], MON_DATA_SPECIES, NULL);
|
||||
|
||||
Reference in New Issue
Block a user