Mercurial > touhou
comparison pytouhou/vm/eclrunner.py @ 95:e2d8f2a56ea4
Handle ECL opcodes with string.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 04 Sep 2011 12:52:47 -0700 |
parents | d167280a82fc |
children | 54929d495654 |
comparison
equal
deleted
inserted
replaced
94:ca571697ec83 | 95:e2d8f2a56ea4 |
---|---|
567 @instruction(82) | 567 @instruction(82) |
568 def set_extended_bullet_attributes(self, *attributes): | 568 def set_extended_bullet_attributes(self, *attributes): |
569 self._enemy.extended_bullet_attributes = attributes | 569 self._enemy.extended_bullet_attributes = attributes |
570 | 570 |
571 | 571 |
572 @instruction(93) | |
573 def set_spellcard(self, unknown, number, name): | |
574 #TODO: display it on the game. | |
575 print("%d - %s" % (number, name)) | |
576 | |
577 | |
572 @instruction(97) | 578 @instruction(97) |
573 def set_anim(self, sprite_index): | 579 def set_anim(self, sprite_index): |
574 self._enemy.set_anim(sprite_index) | 580 self._enemy.set_anim(sprite_index) |
575 | 581 |
576 | 582 |