From 982cff40af88af1b0c04d1e135ef8ec84007e41a Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sat, 9 Nov 2013 17:55:30 -0600 Subject: 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. --- pokemontools/vba/battle.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pokemontools/vba/battle.py b/pokemontools/vba/battle.py index 5aeb923..824f27a 100644 --- a/pokemontools/vba/battle.py +++ b/pokemontools/vba/battle.py @@ -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. -- cgit v1.2.3