# HG changeset patch # User Thibaut Girka # Date 1315176083 -7200 # Node ID ad9297e0fbf293f94240b8f584d181cd1e1feed8 # Parent 101abdc1a20b24f9e55ab995b155ab2035649e6d Handle variables in ECL instruction 82 diff -r 101abdc1a20b -r ad9297e0fbf2 pytouhou/vm/eclrunner.py --- a/pytouhou/vm/eclrunner.py Mon Sep 05 00:30:09 2011 +0200 +++ b/pytouhou/vm/eclrunner.py Mon Sep 05 00:41:23 2011 +0200 @@ -631,7 +631,7 @@ @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)