Remove debug sound check.

This commit is contained in:
PlatinumMaster 2020-04-15 14:19:46 -04:00
parent 1b696e8119
commit 3ff8b0cb5c

View File

@ -22,7 +22,6 @@
#include "graphics.h"
#include "constants/rgb.h"
#include "constants/songs.h"
#include "sound_check_menu.h"
#define VERSION_BANNER_RIGHT_TILEOFFSET 64
#define VERSION_BANNER_LEFT_X 98
@ -36,9 +35,6 @@
#define BERRY_UPDATE_BUTTON_COMBO (B_BUTTON | SELECT_BUTTON)
#define A_B_START_SELECT (A_BUTTON | B_BUTTON | START_BUTTON | SELECT_BUTTON)
// Sound test combo.
#define SOUND_TEST_COMBO (B_BUTTON)
extern struct MusicPlayerInfo gMPlayInfo_BGM;
// this file's functions
@ -51,7 +47,6 @@ static void CB2_GoToClearSaveDataScreen(void);
static void CB2_GoToResetRtcScreen(void);
static void CB2_GoToBerryFixScreen(void);
static void CB2_GoToCopyrightScreen(void);
static void CB2_GoToSoundCheckMenu(void);
static void UpdateLegendaryMarkingColor(u8);
static void SpriteCB_VersionBannerLeft(struct Sprite *sprite);
@ -752,12 +747,6 @@ static void Task_TitleScreenPhase3(u8 taskId)
BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 0x10, RGB_BLACK);
SetMainCallback2(CB2_GoToBerryFixScreen);
}
else if ((gMain.heldKeys & SOUND_TEST_COMBO) == SOUND_TEST_COMBO)
{
FadeOutBGM(4);
BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 0x10, RGB_BLUE);
SetMainCallback2(CB2_GoToSoundCheck);
}
else
{
SetGpuReg(REG_OFFSET_BG2Y_L, 0);
@ -811,12 +800,6 @@ static void CB2_GoToBerryFixScreen(void)
}
}
static void CB2_GoToSoundCheck(void)
{
if (!UpdatePaletteFade())
SetMainCallback2(CB2_StartSoundCheckMenu);
}
static void UpdateLegendaryMarkingColor(u8 frameNum)
{
if ((frameNum % 4) == 0) // Change color every 4th frame