Skip to content

PokemonHome box selection arrow detection improvements - #1869

Merged
Mysticial merged 2 commits into
PokemonAutomation:mainfrom
Dalton-V:home-selection-arrow
Nov 10, 2026
Merged

Mysticial merged 2 commits into
PokemonAutomation:mainfrom
Dalton-V:home-selection-arrow

Conversation

@Dalton-V

@Dalton-V Dalton-V commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

PokemonHome SelectionArrowDetector is not currently used.

To know the current mode we check the color of the square at the top of the screen.
To navigate to the first slot of the box we move through each slot attempting to detect the red of the arrow in the first slot each movement. This means we might do 29 movements and detections just to navigate to the first slot.

I've updated the arrow detector to have a similar return object to the recently added FRLG BoxSelection Detector.
Now we can handle any of the selection modes (Red, Blue, Green) instead of just Red. The detector returns the location of the cursor (Grid, or one of the buttons). This allows for quicker navigation and better blind movement and validation.

This is also a prerequisite of navigating through the page view.

The Selection Arrow Detector is still not used from this change.

Test Files: PokemonAutomation/CommandLineTests#44

@Dalton-V
Dalton-V marked this pull request as ready for review November 8, 2026 15:30
@Dalton-V
Dalton-V force-pushed the home-selection-arrow branch from 27e013b to 409cc41 Compare November 10, 2026 02:55
@Dalton-V

Copy link
Copy Markdown
Member Author

I forgot to upload the new arrow resources.. PokemonAutomation/Packages#92

@Dalton-V
Dalton-V force-pushed the home-selection-arrow branch from 409cc41 to 977f56c Compare November 10, 2026 13:38
@Mysticial
Mysticial merged commit 55fee20 into PokemonAutomation:main Nov 10, 2026
8 checks passed
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