Use MPS_TYPE_ defines in field_fadetransition and fldeff_flash

This commit is contained in:
PikalaxALT
2020-03-09 09:32:17 -04:00
parent 1a8023c465
commit 8955f1fa5f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;