Decomp hall_of_fame

This commit is contained in:
PikalaxALT
2019-11-04 16:20:11 -05:00
parent d002ea4fe8
commit 57b328ad40
19 changed files with 1343 additions and 3667 deletions
+1
View File
@@ -188,6 +188,7 @@ struct CreditsTaskData
};
static EWRAM_DATA struct CreditsResources * sCreditsMgr = NULL;
EWRAM_DATA bool8 gHasHallOfFameRecords = FALSE;
static void CB2_Credits(void);
static s32 RollCredits(void);
+1293
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -19,7 +19,7 @@ static void Task_WaitFadeAndSetCallback(u8 taskId)
FreeAllWindowBuffers();
ResetBgsAndClearDma3BusyFlags(0);
DestroyTask(taskId);
SetMainCallback2(sub_80F2978);
SetMainCallback2(CB2_InitHofPC);
}
}
+1 -1
View File
@@ -5625,7 +5625,7 @@ u8 GetNumberOfRelearnableMoves(struct Pokemon *mon)
}
// SpeciesToPokedexNum?
u16 sub_8043F90(u16 species)
u16 SpeciesToPokedexNum(u16 species)
{
species = SpeciesToNationalPokedexNum(species);
+1 -1
View File
@@ -672,7 +672,7 @@ u8 HandleSavingData(u8 saveType)
for(i = 0; i < 5; i++)
save_write_to_flash(i, gRamSaveSectionLocations);
break;
case EREADER_SAVE:
case SAVE_EREADER:
SaveSerializedGame();
save_write_to_flash(0, gRamSaveSectionLocations);
break;