diff options
author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2018-08-15 16:27:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-15 16:27:49 -0700 |
commit | 8ac98f74416bbe5ef3159fdb954455165ce767e8 (patch) | |
tree | c9511c79c597830fdae81ea30ad26a432f5998d8 /src/pokemon.c | |
parent | f65da613cf04772d55cfcdaca8266479ea2c662b (diff) | |
parent | 13dc7a4170bcb44d10c80099b704103915c4d49d (diff) |
Merge pull request #298 from Diegoisawesome/master
Finish decompiling pokemon_summary_screen
Diffstat (limited to 'src/pokemon.c')
-rw-r--r-- | src/pokemon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pokemon.c b/src/pokemon.c index 585071254..3aa88e991 100644 --- a/src/pokemon.c +++ b/src/pokemon.c @@ -89,7 +89,7 @@ extern u8 GetTrainerEncounterMusicIdInBattlePyramind(u16 trainerOpponentId); extern u8 sub_81D63C8(u16 trainerOpponentId); extern u8 GetFrontierOpponentClass(u16 trainerId); extern void GetFrontierTrainerName(u8* dest, u16 trainerId); -extern void sub_81C488C(u8); +extern void SummaryScreen_SetUnknownTaskId(u8); // this file's functions static u16 CalculateBoxMonChecksum(struct BoxPokemon *boxMon); @@ -6967,7 +6967,7 @@ static void Task_PokemonSummaryAnimateAfterDelay(u8 taskId) if (--gTasks[taskId].data[3] == 0) { StartMonSummaryAnimation(READ_PTR_FROM_TASK(taskId, 0), gTasks[taskId].data[2]); - sub_81C488C(0xFF); + SummaryScreen_SetUnknownTaskId(0xFF); DestroyTask(taskId); } } @@ -7034,7 +7034,7 @@ void PokemonSummaryDoMonAnimation(struct Sprite* sprite, u16 species, bool8 oneF STORE_PTR_IN_TASK(sprite, taskId, 0); gTasks[taskId].data[2] = sMonFrontAnimIdsTable[species - 1]; gTasks[taskId].data[3] = sMonAnimationDelayTable[species - 1]; - sub_81C488C(taskId); + SummaryScreen_SetUnknownTaskId(taskId); SetSpriteCB_MonAnimDummy(sprite); } else |