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
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 B

After

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 B

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 807 B

After

Width:  |  Height:  |  Size: 872 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 588 B

After

Width:  |  Height:  |  Size: 649 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 541 B

After

Width:  |  Height:  |  Size: 578 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 384 B

After

Width:  |  Height:  |  Size: 451 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 B

After

Width:  |  Height:  |  Size: 234 B

+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef GUARD_INTRO_H
#define GUARD_INTRO_H
void sub_80EC864(void);
void CB2_CopyrightScreen(void);
void c2_copyright_1(void);
#endif //GUARD_INTRO_H
+1 -1
View File
@@ -27,7 +27,7 @@ void sub_8111CF0(void);
void ResetQuestLog(void);
void ResetTrainerFanClub(void);
void TrySetUpQuestLogScenes_ElseContinueFromSave(u8 taskId);
void sub_8112450(void);
void SaveQuestLogData(void);
void QuestLog_OnInteractionWithSpecialNpc(void);
u8 sub_8112CAC(void);
void sub_81138F8(void);
+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;
}
}