Skip to content

Commit

Permalink
Check Tracker - Fixes Bazaar showing under wrong area on tracker betw…
Browse files Browse the repository at this point in the history
…een adult/child
  • Loading branch information
sonoftunk committed Nov 13, 2022
1 parent 77bdbf2 commit 8ca1dbe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion soh/soh/Enhancements/randomizer/randomizer_item_tracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 8ca1dbe

Please sign in to comment.