Fix intro gfx and start doccing intro methods

This commit is contained in:
PikalaxALT
2020-04-01 08:57:03 -04:00
parent af32535610
commit 1d399a41dd
18 changed files with 410 additions and 404 deletions
+1 -1
View File
@@ -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
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -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
View File
@@ -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
View File
@@ -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;
}
}