summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/field_specials.c2
-rw-r--r--src/save_location.c4
-rw-r--r--src/union_room.c3
3 files changed, 5 insertions, 4 deletions
diff --git a/src/field_specials.c b/src/field_specials.c
index ee1fe9f98..f03ccc9d7 100644
--- a/src/field_specials.c
+++ b/src/field_specials.c
@@ -4035,7 +4035,7 @@ void sub_813BA30(void)
}
}
-void sub_813BA60(void)
+void UpdateTrainerFanClubGameClear(void)
{
if (!((gSaveBlock1Ptr->vars[VAR_FANCLUB_UNKNOWN_1 - VARS_START] >> 7) & 1))
{
diff --git a/src/save_location.c b/src/save_location.c
index 2443b3161..b9d852cf3 100644
--- a/src/save_location.c
+++ b/src/save_location.c
@@ -129,7 +129,7 @@ void sub_81AFDA0(void)
gSaveBlock2Ptr->field_A8 |= 0x8;
}
-void sub_81AFDD0(void)
+void SetChampionSaveWarp(void)
{
- gSaveBlock2Ptr->specialSaveWarpFlags |= 0x80;
+ gSaveBlock2Ptr->specialSaveWarpFlags |= CHAMPION_SAVEWARP;
}
diff --git a/src/union_room.c b/src/union_room.c
index 5952b03eb..d22373ea0 100644
--- a/src/union_room.c
+++ b/src/union_room.c
@@ -30,6 +30,7 @@
#include "party_menu.h"
#include "pokemon_jump.h"
#include "random.h"
+#include "save_location.h"
#include "script.h"
#include "script_pokemon_util_80F87D8.h"
#include "sound.h"
@@ -1078,7 +1079,7 @@ u32 sub_8013B8C(struct UnkStruct_Group *arg0, s32 id)
if (gUnknown_02022C2C == 4 && structPtr->unk.field_0.unk_00.unk_01_2 != 3)
{
- if (!(gSaveBlock2Ptr->specialSaveWarpFlags & 0x80))
+ if (!(gSaveBlock2Ptr->specialSaveWarpFlags & CHAMPION_SAVEWARP))
return 1;
else if (structPtr->unk.field_0.unk_00.isChampion)
return 0;