Check Tracker - Fixes Bazaar showing under wrong area on tracker between adult/child

This commit is contained in:
sonoftunk 2022-11-13 10:43:37 -05:00
commit 8ca1dbeb8a

View file

@ -744,6 +744,7 @@ void DrawLocations() {
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
sceneId != SCENE_SHOP1 && // Don't move for Bazaar, as it moves between Kak and Market
currentArea != lastArea && currentArea == rcArea);
break;
}
@ -827,6 +828,7 @@ void DrawLocations() {
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
sceneId != SCENE_SHOP1 && //Don't move for Bazaar, as it moves between Kak and Market
currentArea != lastArea && currentArea == rcArea);
break;
}
@ -875,7 +877,10 @@ void DrawLocations() {
ImGui::EndChild();
ImGui::EndTable();
if (sceneId != SCENE_KAKUSIANA && sceneId != SCENE_YOUSEI_IZUMI_TATE && sceneId != SCENE_YOUSEI_IZUMI_YOKO)
if (sceneId != SCENE_KAKUSIANA &&
sceneId != SCENE_YOUSEI_IZUMI_TATE &&
sceneId != SCENE_YOUSEI_IZUMI_YOKO &&
sceneId != SCENE_SHOP1)
lastArea = currentArea;
}
}