summaryrefslogtreecommitdiff
path: root/src/tv.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2019-01-04 16:55:03 -0600
committerhuderlem <huderlem@gmail.com>2019-01-04 20:03:29 -0600
commit95db853a78c9c5b358c92e856be83207ce8ea22c (patch)
treed7690832b4346d92b3592077c454a3cf7e10feb6 /src/tv.c
parent55202eac241be32ee10187de71ab7b65c29fdd99 (diff)
Decompile more of contest_link_80F57C4.c
Diffstat (limited to 'src/tv.c')
-rw-r--r--src/tv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tv.c b/src/tv.c
index 95115608d..dfb4a3a64 100644
--- a/src/tv.c
+++ b/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);