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

View File

@ -55,7 +55,6 @@
"script": "EventScript_TradeCenter_Chair0"
},
{
"comment": "This is trade seat #2.",
"type": "trigger",
"x": 7,
"y": 5,

View File

@ -299,7 +299,7 @@ extern struct LinkPlayer gLocalLinkPlayer;
bool32 Link_AnyPartnersPlayingRubyOrSapphire(void);
bool32 sub_800A03C(void);
void SetgLocalLinkPlayerId(u8);
void SetLocalLinkPlayerId(u8);
u8 GetSavedPlayerCount(void);
void sub_8009FAC(void);
bool8 sub_800A4D8(u8 a0);

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;

View File

@ -302,7 +302,7 @@ void LinkTestScreen(void)
SetMainCallback2(CB2_LinkTest);
}
void SetgLocalLinkPlayerId(u8 playerId)
void SetLocalLinkPlayerId(u8 playerId)
{
gLocalLinkPlayer.id = playerId;
}

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();