# HG changeset patch # User Thibaut Girka # Date 1315176083 -7200 # Node ID ad9297e0fbf293f94240b8f584d181cd1e1feed8 # Parent 101abdc1a20b24f9e55ab995b155ab2035649e6d Handle variables in ECL instruction 82 diff --git a/pytouhou/vm/eclrunner.py b/pytouhou/vm/eclrunner.py --- 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)