Check Tracker - Fixes Great Fairy auto-scroll to wrong location

This commit is contained in:
sonoftunk 2022-11-13 07:39:24 -05:00
parent 392e764eb5
commit c80f91a033

View File

@ -739,6 +739,7 @@ void DrawLocations() {
hasItems = true;
doAreaScroll =
(currentArea != RCAREA_INVALID && sceneId != SCENE_KAKUSIANA && // Don't move for grottos
sceneId != SCENE_YOUSEI_IZUMI_TATE && sceneId != SCENE_YOUSEI_IZUMI_YOKO && // Don't move for fairy fountains
currentArea != lastArea && currentArea == rcArea);
break;
}
@ -821,6 +822,7 @@ void DrawLocations() {
hasItems = true;
doAreaScroll =
(currentArea != RCAREA_INVALID && sceneId != SCENE_KAKUSIANA && // Don't move for kakusiana/grottos
sceneId != SCENE_YOUSEI_IZUMI_TATE && sceneId != SCENE_YOUSEI_IZUMI_YOKO && // Don't move for fairy fountains
currentArea != lastArea && currentArea == rcArea);
break;
}
@ -869,7 +871,7 @@ void DrawLocations() {
ImGui::EndChild();
ImGui::EndTable();
if (sceneId != SCENE_KAKUSIANA)
if (sceneId != SCENE_KAKUSIANA && sceneId != SCENE_YOUSEI_IZUMI_TATE && sceneId != SCENE_YOUSEI_IZUMI_YOKO)
lastArea = currentArea;
}
}