summaryrefslogtreecommitdiff
path: root/src/fldeff_flash.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-03-09 09:32:17 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-03-09 09:32:17 -0400
commit8955f1fa5fd8ead93efb18bb91f066a6ee1aacbf (patch)
tree85a62cf0a35fae7956baad03f494192b0e9ba776 /src/fldeff_flash.c
parent1a8023c46582c2742658ec5c75619d74f33fc3d1 (diff)
Use MPS_TYPE_ defines in field_fadetransition and fldeff_flash
Diffstat (limited to 'src/fldeff_flash.c')
-rw-r--r--src/fldeff_flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fldeff_flash.c b/src/fldeff_flash.c
index 2cd7445d1..58cb4c251 100644
--- a/src/fldeff_flash.c
+++ b/src/fldeff_flash.c
@@ -238,7 +238,7 @@ static bool8 TryDoMapTransition(void)
u8 fromType = GetLastUsedWarpMapType();
u8 toType = GetCurrentMapType();
u8 i = 0;
- if (GetLastUsedWarpMapSectionId() != gMapHeader.regionMapSectionId && MapHasPreviewScreen_HandleQLState2(gMapHeader.regionMapSectionId, FALSE) == TRUE)
+ if (GetLastUsedWarpMapSectionId() != gMapHeader.regionMapSectionId && MapHasPreviewScreen_HandleQLState2(gMapHeader.regionMapSectionId, MPS_TYPE_CAVE) == TRUE)
{
RunMapPreviewScreen(gMapHeader.regionMapSectionId);
return TRUE;