Skip to content

FRLG auto catch tweaks - #1414

Merged
theastrogoth merged 1 commit into
PokemonAutomation:mainfrom
theastrogoth:frlg-auto-catch
Aug 23, 2026
Merged

FRLG auto catch tweaks#1414
theastrogoth merged 1 commit into
PokemonAutomation:mainfrom
theastrogoth:frlg-auto-catch

Conversation

@theastrogoth

Copy link
Copy Markdown
Contributor

Switches to using the same approach for exiting the battle for both auto_catch() and auto_catch_safari(). Moves a couple of things to shared helper functions.

The only change to auto_catch_safari() behavior is an extra guard in case none of the detectors ever catch anything

@theastrogoth
theastrogoth requested a review from Dalton-V August 22, 2026 19:02
@theastrogoth theastrogoth changed the title FRLG FRLG auto catch tweaks Aug 22, 2026
COLOR_RED,
&console.overlay(),
BattleConfirmationOption::YES
);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this not needed anymore? I think this is the detector you asked me to add to this method because I added it to the safari auto catcher.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I didn't think about the fact that it would also detect the "Send out next Pokemon?" selection box for a non-safari battle if something faints, so I took it out of the pre-catch loop there.

It's still useful to watch for it while exiting, I think, and leaving it here means that the behavior for the safari catcher is unchanged.

@theastrogoth
theastrogoth merged commit 626a4c9 into PokemonAutomation:main Aug 23, 2026
7 checks passed
@theastrogoth
theastrogoth deleted the frlg-auto-catch branch August 23, 2026 02:58
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