changeset 102:ad9297e0fbf2

Handle variables in ECL instruction 82
author Thibaut Girka <thib@sitedethib.com>
date Mon, 05 Sep 2011 00:41:23 +0200
parents 101abdc1a20b
children 789994275968
files pytouhou/vm/eclrunner.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pytouhou/vm/eclrunner.py
+++ b/pytouhou/vm/eclrunner.py
@@ -631,7 +631,7 @@ class ECLRunner(object):
 
     @instruction(82)
     def set_extended_bullet_attributes(self, *attributes):
-        self._enemy.extended_bullet_attributes = attributes
+        self._enemy.extended_bullet_attributes = tuple(self._getval(attr) for attr in attributes)
 
 
     @instruction(93)