mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-09-26 19:40:56 -05:00
draw the menu in skip_until_input_required
Step forward 10 frames so that the menu actually draws. Otherwise the user will probably be confused about the actual state of the battle.
This commit is contained in:
@@ -113,6 +113,9 @@ class Battle(EmulatorController):
|
||||
while not self.is_input_required():
|
||||
self.emulator.text_wait()
|
||||
|
||||
# let the text draw so that the state is more obvious
|
||||
self.emulator.vba.step(count=10)
|
||||
|
||||
def run(self):
|
||||
"""
|
||||
Step through the entire battle.
|
||||
|
||||
Reference in New Issue
Block a user