summaryrefslogtreecommitdiff
path: root/src/pokemon_3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pokemon_3.c')
-rw-r--r--src/pokemon_3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pokemon_3.c b/src/pokemon_3.c
index aa45c3d24..73d23fe6f 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++)
@@ -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;
}
}