diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-12-14 23:22:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-14 23:22:41 -0500 |
commit | 15c2856b24c91d1fe4c3d5f3fe4d84d87827f386 (patch) | |
tree | 3367bb9a7ae8b701acf43cb8df6e137cf94f72bb /src/contest_util.c | |
parent | c61142188292a0edfe9154a93e440739560490cf (diff) | |
parent | 69cfe5ad01f135e16c330891d3b6d9fc7853e632 (diff) |
Merge pull request #1265 from Kurausukun/berry_crush
fakematch fixes, begin documenting Berry Crush (based on #1187)
Diffstat (limited to 'src/contest_util.c')
-rw-r--r-- | src/contest_util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/contest_util.c b/src/contest_util.c index 9ddfdad1d..e690a3bbe 100644 --- a/src/contest_util.c +++ b/src/contest_util.c @@ -875,7 +875,7 @@ static void Task_ShowWinnerMonBanner(u8 taskId) { HandleLoadSpecialPokePic_2( &gMonFrontPicTable[species], - gMonSpritesGfxPtr->sprites[1], + gMonSpritesGfxPtr->sprites.ptr[1], species, personality); } @@ -883,7 +883,7 @@ static void Task_ShowWinnerMonBanner(u8 taskId) { HandleLoadSpecialPokePic_DontHandleDeoxys( &gMonFrontPicTable[species], - gMonSpritesGfxPtr->sprites[1], + gMonSpritesGfxPtr->sprites.ptr[1], species, personality); } @@ -2547,9 +2547,9 @@ void ShowContestEntryMonPic(void) gTasks[taskId].data[0] = 0; gTasks[taskId].data[1] = species; if (gSpecialVar_0x8006 == gContestPlayerMonIndex) - HandleLoadSpecialPokePic_2(&gMonFrontPicTable[species], gMonSpritesGfxPtr->sprites[1], species, personality); + HandleLoadSpecialPokePic_2(&gMonFrontPicTable[species], gMonSpritesGfxPtr->sprites.ptr[1], species, personality); else - HandleLoadSpecialPokePic_DontHandleDeoxys(&gMonFrontPicTable[species], gMonSpritesGfxPtr->sprites[1], species, personality); + HandleLoadSpecialPokePic_DontHandleDeoxys(&gMonFrontPicTable[species], gMonSpritesGfxPtr->sprites.ptr[1], species, personality); palette = GetMonSpritePalStructFromOtIdPersonality(species, otId, personality); LoadCompressedSpritePalette(palette); |