summaryrefslogtreecommitdiff
path: root/src/link.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/link.c')
-rw-r--r--src/link.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/link.c b/src/link.c
index 3f4ffe97d..47820185c 100644
--- a/src/link.c
+++ b/src/link.c
@@ -34,7 +34,7 @@ extern void sub_80516C4(u8, u16);
extern u8 unk_2000000[];
extern u8 unk_2004000[];
extern u16 gUnknown_020239F8;
-extern u16 word_203855E;
+extern u16 gScriptItemId;
extern u16 word_3004858;
@@ -370,7 +370,7 @@ static void TestBlockTransfer(u32 a1, u32 a2, u32 a3)
}
}
- val = GetBlockRecievedStatus();
+ val = GetBlockReceivedStatus();
if (val == 0xF)
{
@@ -619,7 +619,7 @@ static void BuildSendCmd(u16 code)
break;
case 0xAAAB:
gSendCmd[0] = 0xAAAB;
- gSendCmd[1] = word_203855E;
+ gSendCmd[1] = gScriptItemId;
break;
case 0xCCCC:
gSendCmd[0] = 0xCCCC;
@@ -889,7 +889,7 @@ bool8 sub_8007ECC(void)
return retVal;
}
-u8 GetBlockRecievedStatus(void)
+u8 GetBlockReceivedStatus(void)
{
return (gBlockReceived[3] << 3)
| (gBlockReceived[2] << 2)
@@ -975,7 +975,7 @@ void Task_PrintTestData(u8 taskId)
PrintHex(GetMultiplayerId(), 15, 12, 2);
PrintHex(gLastSendQueueCount, 25, 1, 2);
PrintHex(gLastRecvQueueCount, 25, 2, 2);
- PrintHex(GetBlockRecievedStatus(), 15, 5, 2);
+ PrintHex(GetBlockReceivedStatus(), 15, 5, 2);
PrintHex(gLinkDebugValue1, 2, 12, 8);
PrintHex(gLinkDebugValue2, 2, 13, 8);
PrintHex(GetSioMultiSI(), 25, 5, 1);