Switch to button macros
This commit is contained in:
@@ -306,7 +306,7 @@ static void CB2_GameplayCannotBeContinued(void)
|
||||
{
|
||||
gSaveFailedClockInfo[CLOCK_RUNNING] = FALSE;
|
||||
|
||||
if (gMain.newKeys & A_BUTTON)
|
||||
if (JOY_NEW(A_BUTTON))
|
||||
{
|
||||
FillWindowPixelBuffer(gSaveFailedWindowIds[TEXT_WIN_ID], PIXEL_FILL(1));
|
||||
SaveFailedScreenTextPrint(gText_GamePlayCannotBeContinued, 1, 0);
|
||||
@@ -319,7 +319,7 @@ static void CB2_FadeAndReturnToTitleScreen(void)
|
||||
{
|
||||
gSaveFailedClockInfo[CLOCK_RUNNING] = FALSE;
|
||||
|
||||
if (gMain.newKeys & A_BUTTON)
|
||||
if (JOY_NEW(A_BUTTON))
|
||||
{
|
||||
BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 16, RGB_BLACK);
|
||||
SetVBlankCallback(VBlankCB);
|
||||
|
||||
Reference in New Issue
Block a user