Fix intro gfx and start doccing intro methods
|
After Width: | Height: | Size: 351 B |
|
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 333 B |
|
Before Width: | Height: | Size: 157 B After Width: | Height: | Size: 216 B |
|
Before Width: | Height: | Size: 807 B After Width: | Height: | Size: 872 B |
|
Before Width: | Height: | Size: 588 B After Width: | Height: | Size: 649 B |
|
Before Width: | Height: | Size: 541 B After Width: | Height: | Size: 578 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 384 B After Width: | Height: | Size: 451 B |
|
Before Width: | Height: | Size: 164 B After Width: | Height: | Size: 234 B |
@@ -1,7 +1,7 @@
|
|||||||
#ifndef GUARD_INTRO_H
|
#ifndef GUARD_INTRO_H
|
||||||
#define GUARD_INTRO_H
|
#define GUARD_INTRO_H
|
||||||
|
|
||||||
void sub_80EC864(void);
|
void CB2_CopyrightScreen(void);
|
||||||
void c2_copyright_1(void);
|
void c2_copyright_1(void);
|
||||||
|
|
||||||
#endif //GUARD_INTRO_H
|
#endif //GUARD_INTRO_H
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ void sub_8111CF0(void);
|
|||||||
void ResetQuestLog(void);
|
void ResetQuestLog(void);
|
||||||
void ResetTrainerFanClub(void);
|
void ResetTrainerFanClub(void);
|
||||||
void TrySetUpQuestLogScenes_ElseContinueFromSave(u8 taskId);
|
void TrySetUpQuestLogScenes_ElseContinueFromSave(u8 taskId);
|
||||||
void sub_8112450(void);
|
void SaveQuestLogData(void);
|
||||||
void QuestLog_OnInteractionWithSpecialNpc(void);
|
void QuestLog_OnInteractionWithSpecialNpc(void);
|
||||||
u8 sub_8112CAC(void);
|
u8 sub_8112CAC(void);
|
||||||
void sub_81138F8(void);
|
void sub_81138F8(void);
|
||||||
|
|||||||
@@ -431,7 +431,7 @@ static void Task_Hof_InitTeamSaveData(u8 taskId)
|
|||||||
u16 i;
|
u16 i;
|
||||||
struct HallofFameTeam* lastSavedTeam = (struct HallofFameTeam *)(gDecompressionBuffer);
|
struct HallofFameTeam* lastSavedTeam = (struct HallofFameTeam *)(gDecompressionBuffer);
|
||||||
|
|
||||||
sub_8112450();
|
SaveQuestLogData();
|
||||||
if (!gHasHallOfFameRecords)
|
if (!gHasHallOfFameRecords)
|
||||||
{
|
{
|
||||||
memset(gDecompressionBuffer, 0, 0x2000);
|
memset(gDecompressionBuffer, 0, 0x2000);
|
||||||
|
|||||||
@@ -1388,7 +1388,7 @@ void QuestLog_OnInteractionWithSpecialNpc(void)
|
|||||||
sEventRecordingPointer = NULL;
|
sEventRecordingPointer = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void sub_81123BC(void)
|
static void SortQuestLogInSav1(void)
|
||||||
{
|
{
|
||||||
struct QuestLog * buffer = AllocZeroed(QUEST_LOG_SCENE_COUNT * sizeof(struct QuestLog));
|
struct QuestLog * buffer = AllocZeroed(QUEST_LOG_SCENE_COUNT * sizeof(struct QuestLog));
|
||||||
u8 i;
|
u8 i;
|
||||||
@@ -1410,12 +1410,12 @@ void sub_81123BC(void)
|
|||||||
Free(buffer);
|
Free(buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sub_8112450(void)
|
void SaveQuestLogData(void)
|
||||||
{
|
{
|
||||||
if (MenuHelpers_LinkSomething() != TRUE)
|
if (MenuHelpers_LinkSomething() != TRUE)
|
||||||
{
|
{
|
||||||
QuestLog_OnInteractionWithSpecialNpc();
|
QuestLog_OnInteractionWithSpecialNpc();
|
||||||
sub_81123BC();
|
SortQuestLogInSav1();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -779,7 +779,7 @@ static u8 SaveDialogCB_AskOverwriteOrReplacePreviousFileHandleInput(void)
|
|||||||
|
|
||||||
static u8 SaveDialogCB_PrintSavingDontTurnOffPower(void)
|
static u8 SaveDialogCB_PrintSavingDontTurnOffPower(void)
|
||||||
{
|
{
|
||||||
sub_8112450();
|
SaveQuestLogData();
|
||||||
PrintSaveTextWithFollowupFunc(gText_SavingDontTurnOffThePower, SaveDialogCB_DoSave);
|
PrintSaveTextWithFollowupFunc(gText_SavingDontTurnOffThePower, SaveDialogCB_DoSave);
|
||||||
return SAVECB_RETURN_CONTINUE;
|
return SAVECB_RETURN_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -668,7 +668,7 @@ static void SetTitleScreenScene_Restart(s16 * data)
|
|||||||
case 4:
|
case 4:
|
||||||
HelpSystem_Disable();
|
HelpSystem_Disable();
|
||||||
DestroyTask(FindTaskIdByFunc(Task_TitleScreenMain));
|
DestroyTask(FindTaskIdByFunc(Task_TitleScreenMain));
|
||||||
SetMainCallback2(sub_80EC864);
|
SetMainCallback2(CB2_CopyrightScreen);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||