summaryrefslogtreecommitdiff
path: root/src/title_screen.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2017-01-02 00:41:28 -0800
committerYamaArashi <shadow962@live.com>2017-01-02 01:01:13 -0800
commit145e90483b2a30698f917f62e585aa7fa4794588 (patch)
treeb1410a1bcec3eacaf5623cef33b10bc5a6f2a5d8 /src/title_screen.c
parentc4af9225bc4e2f30a240e9cabca98fca4d708501 (diff)
event_data.c
Diffstat (limited to 'src/title_screen.c')
-rw-r--r--src/title_screen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/title_screen.c b/src/title_screen.c
index 9282978de..ffa803d2e 100644
--- a/src/title_screen.c
+++ b/src/title_screen.c
@@ -12,6 +12,7 @@
#include "sprite.h"
#include "task.h"
#include "decompress.h"
+#include "event_data.h"
extern u8 gReservedSpritePaletteCount;
extern struct MusicPlayerInfo gMPlay_BGM;
@@ -427,7 +428,7 @@ static void Task_TitleScreenPhase3(u8 taskId)
if ((gMain.heldKeys & CLEAR_SAVE_BUTTON_COMBO) == CLEAR_SAVE_BUTTON_COMBO)
SetMainCallback2(CB2_GoToClearSaveDataScreen);
if ((gMain.heldKeys & RESET_RTC_BUTTON_COMBO) == RESET_RTC_BUTTON_COMBO
- && sub_80691DC() == 1)
+ && CanResetRTC() == 1)
{
FadeOutBGM(4);
BeginNormalPaletteFade(-1, 0, 0, 0x10, 0);