summaryrefslogtreecommitdiff
path: root/src/scene/contest_painting.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/contest_painting.c
parent044e8cc93b46fccb2e4e5ed5accf4c55917a3f7f (diff)
parent5fb9b9052276243d54ecfc27d0514e9c35825e8c (diff)
Merge branch 'master' of https://github.com/pret/pokeruby into refactor_src
Diffstat (limited to 'src/scene/contest_painting.c')
-rw-r--r--src/scene/contest_painting.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scene/contest_painting.c b/src/scene/contest_painting.c
index 391cbdfaa..3662efdec 100644
--- a/src/scene/contest_painting.c
+++ b/src/scene/contest_painting.c
@@ -353,7 +353,7 @@ static void sub_8106AC4(u16 species, u8 arg1)
void *pal;
// Unsure what gUnknown_03005E8C->var0 is supposed to be.
- pal = species_and_otid_get_pal(species, gUnknown_03005E8C->var4, gUnknown_03005E8C->var0);
+ pal = GetMonSpritePalFromOtIdPersonality(species, gUnknown_03005E8C->var4, gUnknown_03005E8C->var0);
LZDecompressVram(pal, gUnknown_03005E90);
if (arg1 == 1)
@@ -402,7 +402,7 @@ static void sub_8106AC4(u16 arg0, u8 arg2)
ldr r1, [r0, 0x4]\n\
ldr r2, [r0]\n\
adds r0, r6, 0\n\
- bl species_and_otid_get_pal\n\
+ bl GetMonSpritePalFromOtIdPersonality\n\
ldr r1, _08106B2C @ =gUnknown_03005E90\n\
mov r8, r1\n\
ldr r1, [r1]\n\