mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-08-08 18:34:12 -05:00
detect the evolved screen text
This commit is contained in:
parent
05faa7784a
commit
3bf53fa87f
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user