diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-11-14 20:00:59 -0600 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-11-14 20:00:59 -0600 |
commit | 3bf53fa87facc5471ee0b06c496fee6e8eaceefb (patch) | |
tree | e7270bcccd9f0b88aec5024553ac6ccd5305dad5 | |
parent | 05faa7784ad03cb057e9ac478606d211c4cd88eb (diff) |
detect the evolved screen text
-rw-r--r-- | pokemontools/vba/battle.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pokemontools/vba/battle.py b/pokemontools/vba/battle.py index 3339a9f..4b7fb68 100644 --- a/pokemontools/vba/battle.py +++ b/pokemontools/vba/battle.py @@ -365,6 +365,8 @@ class Battle(EmulatorController): self.handle_mandatory_switch() elif self.is_levelup_screen(): self.emulator.vba.press("a", hold=5, after=30) + elif self.is_evolved_screen(): + self.emulator.vba.step(count=30) else: raise BattleException("unknown state, aborting") |