summaryrefslogtreecommitdiff
path: root/src/hall_of_fame.c
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2018-02-15 16:54:34 -0600
committerDiegoisawesome <diego@domoreaweso.me>2018-02-15 16:54:34 -0600
commit34716558b1f8bc4e9f07e90d3727ea44e74ddd9d (patch)
treec515cb97b1a5a29ef6ae55e6d2ae8bec0271c6f7 /src/hall_of_fame.c
parent398e775d906ff4f1e5aaad3d8a9eee530c7b122d (diff)
Almost finish decompiling intro
Diffstat (limited to 'src/hall_of_fame.c')
-rw-r--r--src/hall_of_fame.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hall_of_fame.c b/src/hall_of_fame.c
index 6dda6ad9c..d40e212bb 100644
--- a/src/hall_of_fame.c
+++ b/src/hall_of_fame.c
@@ -516,7 +516,7 @@ static void Task_Hof_InitTeamSaveData(u8 taskId)
}
else
{
- if (sub_81534D0(3) != TRUE)
+ if (Save_LoadGameData(3) != TRUE)
memset(gDecompressionBuffer, 0, 0x2000);
}
@@ -885,7 +885,7 @@ void CB2_DoHallOfFamePC(void)
static void Task_HofPC_CopySaveData(u8 taskId)
{
sub_81980F0(0, 0x1E, 0, 0xC, 0x226);
- if (sub_81534D0(3) != 1)
+ if (Save_LoadGameData(3) != 1)
{
gTasks[taskId].func = Task_HofPC_PrintDataIsCorrupted;
}