From 79bc5088895d087b5338cb4519d7e5d748ce1faf Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Wed, 13 Nov 2013 21:45:05 -0600 Subject: better "is input required" 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 a0e111f..409d9a8 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() or self.is_trainer_switch_prompt() + 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