Fix intro gfx and start doccing intro methods
This commit is contained in:
+1
-1
@@ -431,7 +431,7 @@ static void Task_Hof_InitTeamSaveData(u8 taskId)
|
||||
u16 i;
|
||||
struct HallofFameTeam* lastSavedTeam = (struct HallofFameTeam *)(gDecompressionBuffer);
|
||||
|
||||
sub_8112450();
|
||||
SaveQuestLogData();
|
||||
if (!gHasHallOfFameRecords)
|
||||
{
|
||||
memset(gDecompressionBuffer, 0, 0x2000);
|
||||
|
||||
+402
-396
File diff suppressed because it is too large
Load Diff
+3
-3
@@ -1388,7 +1388,7 @@ void QuestLog_OnInteractionWithSpecialNpc(void)
|
||||
sEventRecordingPointer = NULL;
|
||||
}
|
||||
|
||||
void sub_81123BC(void)
|
||||
static void SortQuestLogInSav1(void)
|
||||
{
|
||||
struct QuestLog * buffer = AllocZeroed(QUEST_LOG_SCENE_COUNT * sizeof(struct QuestLog));
|
||||
u8 i;
|
||||
@@ -1410,12 +1410,12 @@ void sub_81123BC(void)
|
||||
Free(buffer);
|
||||
}
|
||||
|
||||
void sub_8112450(void)
|
||||
void SaveQuestLogData(void)
|
||||
{
|
||||
if (MenuHelpers_LinkSomething() != TRUE)
|
||||
{
|
||||
QuestLog_OnInteractionWithSpecialNpc();
|
||||
sub_81123BC();
|
||||
SortQuestLogInSav1();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -779,7 +779,7 @@ static u8 SaveDialogCB_AskOverwriteOrReplacePreviousFileHandleInput(void)
|
||||
|
||||
static u8 SaveDialogCB_PrintSavingDontTurnOffPower(void)
|
||||
{
|
||||
sub_8112450();
|
||||
SaveQuestLogData();
|
||||
PrintSaveTextWithFollowupFunc(gText_SavingDontTurnOffThePower, SaveDialogCB_DoSave);
|
||||
return SAVECB_RETURN_CONTINUE;
|
||||
}
|
||||
|
||||
+1
-1
@@ -668,7 +668,7 @@ static void SetTitleScreenScene_Restart(s16 * data)
|
||||
case 4:
|
||||
HelpSystem_Disable();
|
||||
DestroyTask(FindTaskIdByFunc(Task_TitleScreenMain));
|
||||
SetMainCallback2(sub_80EC864);
|
||||
SetMainCallback2(CB2_CopyrightScreen);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user