mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-19 01:44:20 +01:00
Remove debug sound check.
This commit is contained in:
parent
1b696e8119
commit
3ff8b0cb5c
@ -22,7 +22,6 @@
|
|||||||
#include "graphics.h"
|
#include "graphics.h"
|
||||||
#include "constants/rgb.h"
|
#include "constants/rgb.h"
|
||||||
#include "constants/songs.h"
|
#include "constants/songs.h"
|
||||||
#include "sound_check_menu.h"
|
|
||||||
|
|
||||||
#define VERSION_BANNER_RIGHT_TILEOFFSET 64
|
#define VERSION_BANNER_RIGHT_TILEOFFSET 64
|
||||||
#define VERSION_BANNER_LEFT_X 98
|
#define VERSION_BANNER_LEFT_X 98
|
||||||
@ -36,9 +35,6 @@
|
|||||||
#define BERRY_UPDATE_BUTTON_COMBO (B_BUTTON | SELECT_BUTTON)
|
#define BERRY_UPDATE_BUTTON_COMBO (B_BUTTON | SELECT_BUTTON)
|
||||||
#define A_B_START_SELECT (A_BUTTON | B_BUTTON | START_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;
|
extern struct MusicPlayerInfo gMPlayInfo_BGM;
|
||||||
|
|
||||||
// this file's functions
|
// this file's functions
|
||||||
@ -51,7 +47,6 @@ static void CB2_GoToClearSaveDataScreen(void);
|
|||||||
static void CB2_GoToResetRtcScreen(void);
|
static void CB2_GoToResetRtcScreen(void);
|
||||||
static void CB2_GoToBerryFixScreen(void);
|
static void CB2_GoToBerryFixScreen(void);
|
||||||
static void CB2_GoToCopyrightScreen(void);
|
static void CB2_GoToCopyrightScreen(void);
|
||||||
static void CB2_GoToSoundCheckMenu(void);
|
|
||||||
static void UpdateLegendaryMarkingColor(u8);
|
static void UpdateLegendaryMarkingColor(u8);
|
||||||
|
|
||||||
static void SpriteCB_VersionBannerLeft(struct Sprite *sprite);
|
static void SpriteCB_VersionBannerLeft(struct Sprite *sprite);
|
||||||
@ -752,12 +747,6 @@ static void Task_TitleScreenPhase3(u8 taskId)
|
|||||||
BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 0x10, RGB_BLACK);
|
BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 0x10, RGB_BLACK);
|
||||||
SetMainCallback2(CB2_GoToBerryFixScreen);
|
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
|
else
|
||||||
{
|
{
|
||||||
SetGpuReg(REG_OFFSET_BG2Y_L, 0);
|
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)
|
static void UpdateLegendaryMarkingColor(u8 frameNum)
|
||||||
{
|
{
|
||||||
if ((frameNum % 4) == 0) // Change color every 4th frame
|
if ((frameNum % 4) == 0) // Change color every 4th frame
|
||||||
|
Loading…
x
Reference in New Issue
Block a user