Skip to content

FRLG: Add an extra check to flee_battle()#1174

Merged
Mysticial merged 1 commit intoPokemonAutomation:mainfrom
theastrogoth:tag/flee-battle
Apr 14, 2026
Merged

FRLG: Add an extra check to flee_battle()#1174
Mysticial merged 1 commit intoPokemonAutomation:mainfrom
theastrogoth:tag/flee-battle

Conversation

@theastrogoth
Copy link
Copy Markdown
Contributor

@theastrogoth theastrogoth commented Apr 14, 2026

This modifies flee_battle() to make it watch for the battle menu before trying to navigate to RUN, which relaxes some of the original assumptions of the function. Now it won't fail if called from the move selection menu, for example.

@Mysticial Mysticial merged commit 66e4567 into PokemonAutomation:main Apr 14, 2026
7 checks passed
@theastrogoth theastrogoth deleted the tag/flee-battle branch April 15, 2026 07:54
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