diff options
author | huderlem <huderlem@gmail.com> | 2019-11-07 19:55:19 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-07 19:55:19 -0600 |
commit | 1ceee6ef70a163118b67d78a9581fba443e1c13c (patch) | |
tree | a7c9a97825222145dd4488fccbd8e02e24484df8 /src/union_room.c | |
parent | 662a9915cf40c6549c04a1383e21e08533bd585d (diff) | |
parent | 4334e31a7eb22f80a2571f48ccbff458a4f2d735 (diff) |
Merge pull request #884 from GriffinRichards/doc-halloffame
Document a few towns/cities
Diffstat (limited to 'src/union_room.c')
-rw-r--r-- | src/union_room.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |