Some documentation of berry_crush

This commit is contained in:
PikalaxALT
2020-04-11 14:34:45 -04:00
parent ec0edfd198
commit 8f8665e1dc
20 changed files with 580 additions and 609 deletions
+2 -2
View File
@@ -1233,7 +1233,7 @@ static void TradeMenuCB_13(void)
}
else
{
if (gReceivedRemoteLinkPlayers == 0)
if (!gReceivedRemoteLinkPlayers)
{
Free(sSpriteTextTileBuffer);
FreeAllWindowBuffers();
@@ -2686,7 +2686,7 @@ s32 Trade_CalcLinkPlayerCompatibilityParam(void)
s32 val;
u16 version;
if (gReceivedRemoteLinkPlayers != 0)
if (gReceivedRemoteLinkPlayers)
{
val = 0;
version = (gLinkPlayers[GetMultiplayerId() ^ 1].version & 0xFF);