Implemented review changes from https://github.com/pret/pokefirered/pull/548
This commit is contained in:
@@ -665,7 +665,7 @@ void StartDodrioBerryPicking(u16 partyId, void (*exitCallback)(void))
|
||||
{
|
||||
sExitingGame = FALSE;
|
||||
|
||||
if (gReceivedRemoteLinkPlayers != 0 && (sGame = AllocZeroed(sizeof(*sGame))))
|
||||
if (gReceivedRemoteLinkPlayers && (sGame = AllocZeroed(sizeof(*sGame))))
|
||||
{
|
||||
ResetTasksAndSprites();
|
||||
InitDodrioGame(sGame);
|
||||
@@ -775,7 +775,7 @@ static void Task_StartDodrioGame(u8 taskId)
|
||||
case 3:
|
||||
if (IsLinkTaskFinished())
|
||||
{
|
||||
if (gReceivedRemoteLinkPlayers != 0)
|
||||
if (gReceivedRemoteLinkPlayers)
|
||||
{
|
||||
LoadWirelessStatusIndicatorSpriteGfx();
|
||||
CreateWirelessStatusIndicatorSprite(0, 0);
|
||||
|
||||
Reference in New Issue
Block a user