summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-11-09 15:09:21 -0600
committerBryan Bishop <kanzure@gmail.com>2013-11-09 15:09:21 -0600
commitfd61c8f460d6e7453a79f945768f5952599ba724 (patch)
tree6fed0106b6e09916ea2e90d6c96d2b30b31c22d8
parent11664e2ac6660a706e1241b543121822fd40166d (diff)
fix move() for lists of commands
-rw-r--r--pokemontools/vba/vba.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemontools/vba/vba.py b/pokemontools/vba/vba.py
index 05d4fad..3367dee 100644
--- a/pokemontools/vba/vba.py
+++ b/pokemontools/vba/vba.py
@@ -562,7 +562,7 @@ class crystal(object):
"""
if isinstance(cmd, list):
for command in cmd:
- self.move(cmd)
+ self.move(command)
else:
self.vba.press(cmd, hold=10, after=0)
self.vba.press([])