through sub_801084C

This commit is contained in:
PikalaxALT
2018-01-20 16:38:44 -05:00
parent a8e8bfb4c8
commit 95d77c25f3
4 changed files with 112 additions and 283 deletions

View File

@@ -1812,13 +1812,14 @@ void sub_800B348(void)
memcpy(gBlockSendBuffer, block, sizeof(*block));
}
void sub_800B3A4(u8 who)
void sub_800B3A4(u32 who)
{
u8 who_ = who;
struct LinkPlayerBlock *block;
struct LinkPlayer *player;
block = (struct LinkPlayerBlock *)gBlockRecvBuffer[who];
player = &gLinkPlayers[who];
block = (struct LinkPlayerBlock *)gBlockRecvBuffer[who_];
player = &gLinkPlayers[who_];
*player = block->linkPlayer;
sub_800B524(player);
if (strcmp(block->magic1, gASCIIGameFreakInc) != 0 || strcmp(block->magic2, gASCIIGameFreakInc) != 0)