Skip to content

Conversation

@jw098
Copy link
Collaborator

@jw098 jw098 commented Nov 2, 2024

Detects when Minimap no longer visible.
Useful for detecting when you finished the Olive roll.



NoMinimapDetector::NoMinimapDetector(Logger& logger, Color color)
: m_color(color)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need m_color and m_ball separately just for the overlay? Can't we make m_overworld do the overlay directly?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted NoMinimapDetector's overlay to look slightly different than the Overworld detector's overlay. Overworld detector has 3 boxes in its overlay, while NoMinimapDetector's overlay is only the smallest inner box. This way, users can tell when we're looking or the Overworld, and when we're looking for no overworld.

I don't feel strongly about this though. If you prefer to use the Overworld's overlay, I can change it.

@Mysticial Mysticial merged commit 9811e3d into PokemonAutomation:main Nov 6, 2024
4 of 6 checks passed
@jw098 jw098 deleted the no-minimap branch November 17, 2024 22:52
fyex pushed a commit to fyex/Arduino-Source that referenced this pull request Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants