mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
Fix misleading RecordMixTrainerNames name
This commit is contained in:
parent
7c5c41f23c
commit
3a7995bc7c
@ -287,7 +287,7 @@ bool32 WaitRfuState(bool32 force);
|
||||
void GetOtherPlayersInfoFlags(void);
|
||||
void InitializeRfuLinkManager_JoinGroup(void);
|
||||
void SendLeaveGroupNotice(void);
|
||||
void RecordMixTrainerNames(void);
|
||||
void SaveLinkTrainerNames(void);
|
||||
void LinkRfu_CreateConnectionAsParent(void);
|
||||
void LinkRfu_StopManagerBeforeEnteringChat(void);
|
||||
void UpdateGameData_SetActivity(u8 activity, u32 partnerInfo, bool32 startedActivity);
|
||||
|
@ -905,7 +905,7 @@ static bool32 NameIsNotEmpty(const u8 *name)
|
||||
}
|
||||
|
||||
// Save the currently connected players into the trainer records, shifting all previous records down.
|
||||
void RecordMixTrainerNames(void)
|
||||
void SaveLinkTrainerNames(void)
|
||||
{
|
||||
if (gWirelessCommType != 0)
|
||||
{
|
||||
|
@ -1649,7 +1649,7 @@ static void Task_StartActivity(u8 taskId)
|
||||
case ACTIVITY_BERRY_PICK:
|
||||
case ACTIVITY_SPIN_TRADE:
|
||||
case ACTIVITY_RECORD_CORNER:
|
||||
RecordMixTrainerNames();
|
||||
SaveLinkTrainerNames();
|
||||
break;
|
||||
}
|
||||
|
||||
@ -1762,7 +1762,7 @@ static void Task_RunScriptAndFadeToActivity(u8 taskId)
|
||||
sendBuff[1] = GetMonData(&gPlayerParty[gSelectedOrderFromParty[1] - 1], MON_DATA_SPECIES, NULL);
|
||||
gMain.savedCallback = NULL;
|
||||
data[0] = 4;
|
||||
RecordMixTrainerNames();
|
||||
SaveLinkTrainerNames();
|
||||
ResetBlockReceivedFlags();
|
||||
break;
|
||||
case ACTIVITY_BERRY_BLENDER:
|
||||
@ -1771,7 +1771,7 @@ static void Task_RunScriptAndFadeToActivity(u8 taskId)
|
||||
case ACTIVITY_CONTEST_CUTE:
|
||||
case ACTIVITY_CONTEST_SMART:
|
||||
case ACTIVITY_CONTEST_TOUGH:
|
||||
RecordMixTrainerNames();
|
||||
SaveLinkTrainerNames();
|
||||
DestroyTask(taskId);
|
||||
default:
|
||||
EnableBothScriptContexts();
|
||||
|
Loading…
Reference in New Issue
Block a user