diff options
author | Marcus Huderle <huderlem@gmail.com> | 2019-01-04 16:55:03 -0600 |
---|---|---|
committer | huderlem <huderlem@gmail.com> | 2019-01-04 20:03:29 -0600 |
commit | 95db853a78c9c5b358c92e856be83207ce8ea22c (patch) | |
tree | d7690832b4346d92b3592077c454a3cf7e10feb6 /src/tv.c | |
parent | 55202eac241be32ee10187de71ab7b65c29fdd99 (diff) |
Decompile more of contest_link_80F57C4.c
Diffstat (limited to 'src/tv.c')
-rw-r--r-- | src/tv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |