comparison pytouhou/vm/eclrunner.py @ 150:4f46717390aa

Introduce items, implement ECL instruction 83
author Thibaut Girka <thib@sitedethib.com>
date Tue, 04 Oct 2011 23:09:41 +0200
parents a61c96265779
children 5cf927cbd9c5
comparison
equal deleted inserted replaced
149:3673d55a8448 150:4f46717390aa
656 @instruction(82) 656 @instruction(82)
657 def set_extended_bullet_attributes(self, *attributes): 657 def set_extended_bullet_attributes(self, *attributes):
658 self._enemy.extended_bullet_attributes = tuple(self._getval(attr) for attr in attributes) 658 self._enemy.extended_bullet_attributes = tuple(self._getval(attr) for attr in attributes)
659 659
660 660
661 @instruction(83)
662 def change_bullets_into_star_items(self):
663 self._game_state.change_bullets_into_star_items()
664
665
661 @instruction(93) 666 @instruction(93)
662 def set_spellcard(self, unknown, number, name): 667 def set_spellcard(self, unknown, number, name):
663 #TODO: display it on the game. 668 #TODO: display it on the game.
664 print("%d - %s" % (number, name)) 669 print("%d - %s" % (number, name))
665 670