Skip to content

Fix extra dialog issue in handle_encounter - #1296

Merged
Mysticial merged 1 commit into
PokemonAutomation:mainfrom
Dalton-V:frlg-handle-encounter-ability-bug
Jun 21, 2026
Merged

Fix extra dialog issue in handle_encounter#1296
Mysticial merged 1 commit into
PokemonAutomation:mainfrom
Dalton-V:frlg-handle-encounter-ability-bug

Conversation

@Dalton-V

Copy link
Copy Markdown
Member

If a pokemon with an ability that activates upon entering battle (Intimidate) goes out against another pokemon with an ability that negates the previous ability (Hyper Cutter) there is an extra dialog that can break the handle_encounter method.

image

Moved battle menu check into a loop. Added an extra check for the battle dialog to press B and try again.

@Dalton-V Dalton-V changed the title Fix extra dialogue issue in handle_encounter Fix extra dialog issue in handle_encounter Jun 21, 2026
@Mysticial
Mysticial merged commit bdd4617 into PokemonAutomation:main Jun 21, 2026
7 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