Switch to button macros
This commit is contained in:
@@ -438,13 +438,13 @@ static void Task_TrainerCard(u8 taskId)
|
||||
DrawTrainerCardWindow(1);
|
||||
sData->timeColonNeedDraw = FALSE;
|
||||
}
|
||||
if (gMain.newKeys & A_BUTTON)
|
||||
if (JOY_NEW(A_BUTTON))
|
||||
{
|
||||
FlipTrainerCard();
|
||||
PlaySE(SE_RG_CARD_FLIP);
|
||||
sData->mainState = STATE_WAIT_FLIP_TO_BACK;
|
||||
}
|
||||
else if (gMain.newKeys & B_BUTTON)
|
||||
else if (JOY_NEW(B_BUTTON))
|
||||
{
|
||||
if (gReceivedRemoteLinkPlayers && sData->isLink && InUnionRoom() == TRUE)
|
||||
{
|
||||
@@ -465,7 +465,7 @@ static void Task_TrainerCard(u8 taskId)
|
||||
}
|
||||
break;
|
||||
case STATE_HANDLE_INPUT_BACK:
|
||||
if (gMain.newKeys & B_BUTTON)
|
||||
if (JOY_NEW(B_BUTTON))
|
||||
{
|
||||
if (gReceivedRemoteLinkPlayers && sData->isLink && InUnionRoom() == TRUE)
|
||||
{
|
||||
@@ -483,7 +483,7 @@ static void Task_TrainerCard(u8 taskId)
|
||||
PlaySE(SE_RG_CARD_FLIP);
|
||||
}
|
||||
}
|
||||
else if (gMain.newKeys & A_BUTTON)
|
||||
else if (JOY_NEW(A_BUTTON))
|
||||
{
|
||||
if (gReceivedRemoteLinkPlayers && sData->isLink && InUnionRoom() == TRUE)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user