summaryrefslogtreecommitdiff
path: root/src/scene/hall_of_fame.c
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-09-30 20:28:46 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-09-30 20:28:46 -0400
commitc7e71bc47d322fc7da3a07910ba36fe236b51e13 (patch)
treeb24d817d82621d758804fc995189fffc7413f72e /src/scene/hall_of_fame.c
parent044e8cc93b46fccb2e4e5ed5accf4c55917a3f7f (diff)
parent5fb9b9052276243d54ecfc27d0514e9c35825e8c (diff)
Merge branch 'master' of https://github.com/pret/pokeruby into refactor_src
Diffstat (limited to 'src/scene/hall_of_fame.c')
-rw-r--r--src/scene/hall_of_fame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scene/hall_of_fame.c b/src/scene/hall_of_fame.c
index 10c999ef3..6f7df576b 100644
--- a/src/scene/hall_of_fame.c
+++ b/src/scene/hall_of_fame.c
@@ -1347,7 +1347,7 @@ static u32 HallOfFame_LoadPokemonPic(u16 species, s16 posX, s16 posY, u16 pokeID
LoadSpecialPokePic(&gMonFrontPicTable[species], gMonFrontPicCoords[species].coords, gMonFrontPicCoords[species].y_offset, 0x2000000, gUnknown_0840B5A0[pokeID], species, pid, 1);
- pokePal = species_and_otid_get_pal(species, tid, pid);
+ pokePal = GetMonSpritePalFromOtIdPersonality(species, tid, pid);
LoadCompressedPalette(pokePal, 16 * pokeID + 256, 0x20);
sub_8143648(pokeID, pokeID);