From cc4c24816767caaaf1a6c2d280184505565eb688 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Mon, 11 Nov 2013 21:52:12 -0600 Subject: add is_switch_prompt to the input poll detector --- pokemontools/vba/battle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pokemontools/vba/battle.py b/pokemontools/vba/battle.py index a5d9d52..a453478 100644 --- a/pokemontools/vba/battle.py +++ b/pokemontools/vba/battle.py @@ -38,7 +38,7 @@ class Battle(EmulatorController): """ Detects if the battle is waiting for player input. """ - return self.is_player_turn() or self.is_mandatory_switch() + return self.is_player_turn() or self.is_mandatory_switch() or self.is_switch_prompt() def is_fight_pack_run_menu(self): """ -- cgit v1.2.3