summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2019-03-10 08:10:59 -0400
committerhuderlem <huderlem@gmail.com>2019-03-10 09:23:58 -0500
commit8e1537fb57dc7ed17079b30f7a3851132cf462bd (patch)
treee425e17d7f36257cbec1f611e9678e99a634b10e /src
parent32f71b29766effb1d7cd137cc27f31631fef36e7 (diff)
Document map name popup flag
Diffstat (limited to 'src')
-rw-r--r--src/field_special_scene.c4
-rw-r--r--src/map_name_popup.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/field_special_scene.c b/src/field_special_scene.c
index 2b518808b..e059e6ef8 100644
--- a/src/field_special_scene.c
+++ b/src/field_special_scene.c
@@ -301,7 +301,7 @@ void Task_HandlePorthole(u8 taskId)
break;
case EXIT_PORTHOLE: // exit porthole.
FlagClear(FLAG_SPECIAL_FLAG_0x4001);
- FlagClear(FLAG_SPECIAL_FLAG_0x4000);
+ FlagClear(FLAG_HIDE_MAP_NAME_POPUP);
SetWarpDestinationToDynamicWarp(0);
DoDiveWarp();
DestroyTask(taskId);
@@ -338,7 +338,7 @@ void sub_80FB7A4(void)
{
FlagSet(FLAG_SYS_CRUISE_MODE);
FlagSet(FLAG_SPECIAL_FLAG_0x4001);
- FlagSet(FLAG_SPECIAL_FLAG_0x4000);
+ FlagSet(FLAG_HIDE_MAP_NAME_POPUP);
SetDynamicWarp(0, gSaveBlock1Ptr->location.mapGroup, gSaveBlock1Ptr->location.mapNum, -1);
sub_80FB59C();
sub_80AF8B8();
diff --git a/src/map_name_popup.c b/src/map_name_popup.c
index 8936198ae..d95b808e9 100644
--- a/src/map_name_popup.c
+++ b/src/map_name_popup.c
@@ -207,7 +207,7 @@ bool8 sub_80D47D4(void)
void ShowMapNamePopup(void)
{
- if (FlagGet(FLAG_SPECIAL_FLAG_0x4000) != TRUE)
+ if (FlagGet(FLAG_HIDE_MAP_NAME_POPUP) != TRUE)
{
if (!FuncIsActiveTask(Task_MapNamePopUpWindow))
{