mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-08-20 09:14:13 -05:00
add is_switch_prompt to the input poll detector
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user