Implemented review changes from https://github.com/pret/pokefirered/pull/548
This commit is contained in:
@@ -1232,7 +1232,7 @@ static void Task_MysteryGift(u8 taskId)
|
||||
data->state = MG_STATE_CLIENT_LINK_WAIT;
|
||||
break;
|
||||
case MG_STATE_CLIENT_LINK_WAIT:
|
||||
if (gReceivedRemoteLinkPlayers != 0)
|
||||
if (gReceivedRemoteLinkPlayers)
|
||||
{
|
||||
ClearScreenInBg0(TRUE);
|
||||
data->state = MG_STATE_CLIENT_COMMUNICATING;
|
||||
@@ -1528,7 +1528,7 @@ static void Task_MysteryGift(u8 taskId)
|
||||
}
|
||||
break;
|
||||
case MG_STATE_SERVER_LINK_WAIT:
|
||||
if (gReceivedRemoteLinkPlayers != 0)
|
||||
if (gReceivedRemoteLinkPlayers)
|
||||
{
|
||||
ClearScreenInBg0(TRUE);
|
||||
data->state = MG_STATE_SERVER_LINK_START;
|
||||
|
||||
Reference in New Issue
Block a user