summaryrefslogtreecommitdiff
path: root/src/pokemon_3.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-11-02 00:09:14 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-11-02 00:09:14 -0400
commit75262c1920a0611f89e95837efb4f5e327760a8b (patch)
tree9982e4fcd275f8a1ea3c851c3dbf297d9e1c1307 /src/pokemon_3.c
parent6e5dcf19f76b1839537848cf0fd91c7ddb27898c (diff)
parentc71f6baa8cb713a567520279ff18dca0c4ed0915 (diff)
Merge branch 'master' into bard_music
Diffstat (limited to 'src/pokemon_3.c')
-rw-r--r--src/pokemon_3.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pokemon_3.c b/src/pokemon_3.c
index 5ff99aee2..27da8b18e 100644
--- a/src/pokemon_3.c
+++ b/src/pokemon_3.c
@@ -618,7 +618,7 @@ bool16 sub_806D82C(u8 id)
return retVal;
}
-s32 sub_806D864(u16 a1)
+s32 GetBankMultiplayerId(u16 a1)
{
s32 id;
for (id = 0; id < MAX_LINK_PLAYERS; id++)
@@ -1267,10 +1267,10 @@ const struct CompressedSpritePalette *sub_806E794(struct Pokemon *mon)
u16 species = GetMonData(mon, MON_DATA_SPECIES2, 0);
u32 otId = GetMonData(mon, MON_DATA_OT_ID, 0);
u32 personality = GetMonData(mon, MON_DATA_PERSONALITY, 0);
- return sub_806E7CC(species, otId, personality);
+ return GetMonSpritePalStructFromOtIdPersonality(species, otId, personality);
}
-const struct CompressedSpritePalette *sub_806E7CC(u16 species, u32 otId , u32 personality)
+const struct CompressedSpritePalette *GetMonSpritePalStructFromOtIdPersonality(u16 species, u32 otId , u32 personality)
{
u32 shinyValue;
@@ -1477,7 +1477,7 @@ const u8* GetTrainerPartnerName(void)
else
{
u8 id = GetMultiplayerId();
- return gLinkPlayers[sub_806D864(gLinkPlayers[id].lp_field_18 ^ 2)].name;
+ return gLinkPlayers[GetBankMultiplayerId(gLinkPlayers[id].lp_field_18 ^ 2)].name;
}
}
@@ -1659,7 +1659,7 @@ u16 sub_806EFF0(u16 arg0)
return gUnknown_0831F578[arg0];
}
-u16 sub_806F000(u8 playerGender)
+u16 PlayerGenderToFrontTrainerPicId(u8 playerGender)
{
if (playerGender)
return sub_806EFF0(0x3F);