diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2020-03-02 10:13:06 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-02 10:13:06 -0500 |
commit | fc51c579d4a422b168a4efb88b5f15164fbb7db0 (patch) | |
tree | f2da1e7beaddf0579426a18519d7c331d7ff19e1 /src/link.c | |
parent | 43f66fce5574592ac1c37b9452fe858e482156bb (diff) | |
parent | c36ef94a0dae1e60a8e641aced35ee2084c183eb (diff) |
Merge pull request #277 from PikalaxALT/cable_club
Cable club
Diffstat (limited to 'src/link.c')
-rw-r--r-- | src/link.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/link.c b/src/link.c index 26e223153..cb46a50ff 100644 --- a/src/link.c +++ b/src/link.c @@ -796,7 +796,7 @@ u8 GetLinkPlayerDataExchangeStatusTimed(int lower, int upper) if (lower > cmpVal || cmpVal > upper) { sPlayerDataExchangeStatus = EXCHANGE_STAT_6; - return 6; + return EXCHANGE_STAT_6; } else { @@ -1006,15 +1006,15 @@ bool8 SendBlock(u8 unused, const void *src, u16 size) return InitBlockSend(src, size); } -bool8 sub_800A474(u8 a0) +bool8 sub_800A474(u8 blockRequestType) { if (gWirelessCommType == 1) { - return sub_80FA0F8(a0); + return sub_80FA0F8(blockRequestType); } if (gLinkCallback == NULL) { - gBlockRequestType = a0; + gBlockRequestType = blockRequestType; BuildSendCmd(LINKCMD_0xCCCC); return TRUE; } |