diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/field_fadetransition.c | 2 | ||||
-rw-r--r-- | src/fldeff_flash.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/field_fadetransition.c b/src/field_fadetransition.c index eeca2e171..2724d52e9 100644 --- a/src/field_fadetransition.c +++ b/src/field_fadetransition.c @@ -94,7 +94,7 @@ void FadeInFromBlack(void) void WarpFadeOutScreen(void) { const struct MapHeader *header = warp1_get_mapheader(); - if (header->regionMapSectionId != gMapHeader.regionMapSectionId && MapHasPreviewScreen(header->regionMapSectionId, FALSE)) + if (header->regionMapSectionId != gMapHeader.regionMapSectionId && MapHasPreviewScreen(header->regionMapSectionId, MPS_TYPE_CAVE)) FadeScreen(1, 0); else { 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; |