# HG changeset patch # User Thibaut Girka # Date 1314523235 -7200 # Node ID adac26098408f4a97887a28ead890f2323d7e1ba # Parent e4af16a019d392341291240a8783da0bbfd683c1 Handle variables in set_pos instruction (Daiyousei...) diff --git a/pytouhou/vm/eclrunner.py b/pytouhou/vm/eclrunner.py --- a/pytouhou/vm/eclrunner.py +++ b/pytouhou/vm/eclrunner.py @@ -314,7 +314,7 @@ class ECLRunner(object): @instruction(43) def set_pos(self, x, y, z): - self._enemy.set_pos(x, y, z) + self._enemy.set_pos(self._getval(x), self._getval(y), self._getval(z)) @instruction(45)