Fix minor errors

This commit is contained in:
Phlosioneer
2019-03-01 01:18:58 -05:00
parent b8a60b055b
commit 459fd93b59
5 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -1028,7 +1028,7 @@ static void sub_80B3728(u8 taskId)
if (IsFieldMessageBoxHidden())
{
sub_8087288();
SetgLocalLinkPlayerId(gSpecialVar_0x8005);
SetLocalLinkPlayerId(gSpecialVar_0x8005);
task->data[0] = 2;
}
break;
+1 -1
View File
@@ -302,7 +302,7 @@ void LinkTestScreen(void)
SetMainCallback2(CB2_LinkTest);
}
void SetgLocalLinkPlayerId(u8 playerId)
void SetLocalLinkPlayerId(u8 playerId)
{
gLocalLinkPlayer.id = playerId;
}
+1 -1
View File
@@ -324,7 +324,7 @@ static void Task_RecordMixing_Main(u8 taskId)
case 0: // init
sSentRecord = malloc(sizeof(union PlayerRecords));
sReceivedRecords = malloc(sizeof(union PlayerRecords) * 4);
SetgLocalLinkPlayerId(gSpecialVar_0x8005);
SetLocalLinkPlayerId(gSpecialVar_0x8005);
VarSet(VAR_TEMP_0, 1);
gUnknown_03001130 = FALSE;
PrepareExchangePacket();