Mercurial > touhou
comparison pytouhou/vm/eclrunner.py @ 102:ad9297e0fbf2
Handle variables in ECL instruction 82
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Mon, 05 Sep 2011 00:41:23 +0200 |
parents | 5c40cc1b8019 |
children | 789994275968 |
comparison
equal
deleted
inserted
replaced
101:101abdc1a20b | 102:ad9297e0fbf2 |
---|---|
629 self._enemy.bullet_launch_offset = (x, y) | 629 self._enemy.bullet_launch_offset = (x, y) |
630 | 630 |
631 | 631 |
632 @instruction(82) | 632 @instruction(82) |
633 def set_extended_bullet_attributes(self, *attributes): | 633 def set_extended_bullet_attributes(self, *attributes): |
634 self._enemy.extended_bullet_attributes = attributes | 634 self._enemy.extended_bullet_attributes = tuple(self._getval(attr) for attr in attributes) |
635 | 635 |
636 | 636 |
637 @instruction(93) | 637 @instruction(93) |
638 def set_spellcard(self, unknown, number, name): | 638 def set_spellcard(self, unknown, number, name): |
639 #TODO: display it on the game. | 639 #TODO: display it on the game. |