summaryrefslogtreecommitdiff
path: root/src/cable_club.c
diff options
context:
space:
mode:
authorDeokishisu <6993375+Deokishisu@users.noreply.github.com>2021-06-03 12:45:59 -0400
committerDeokishisu <6993375+Deokishisu@users.noreply.github.com>2021-06-03 12:45:59 -0400
commit8e4320cc211da9d0ccd14a2b9c220cf85c05aeef (patch)
treedd73557d5f392e337696200898f5e86e56833917 /src/cable_club.c
parent753b19d0ea79b9637c0eb08b3f1b04b543fe90a0 (diff)
Sync LinkPlayer Struct with pokeemerald
In pokefirered, the `LinkPlayer` struct used an 11-byte name field and puts extra link-related info in the last three bytes. pokeemerald separates these last three bytes into their own fields. This commit replicates how pokeemerald handles those fields. Also renamed `IntlConvertLinkPlayerName` to pokeemerald's `ConvertLinkPlayerName` because I was there and noticed it.
Diffstat (limited to 'src/cable_club.c')
-rw-r--r--src/cable_club.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cable_club.c b/src/cable_club.c
index c3de9dd26..791f04a07 100644
--- a/src/cable_club.c
+++ b/src/cable_club.c
@@ -659,7 +659,7 @@ static void Task_StartWirelessCableClubBattle(u8 taskId)
for (i = 0; i < GetLinkPlayerCount(); i++)
{
gLinkPlayers[i] = *(struct LinkPlayer *)gBlockRecvBuffer[i];
- IntlConvertLinkPlayerName(&gLinkPlayers[i]);
+ ConvertLinkPlayerName(&gLinkPlayers[i]);
ResetBlockReceivedFlag(i);
}
data[0] = 4;