diff 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
line wrap: on
line diff
--- a/pytouhou/vm/eclrunner.py
+++ b/pytouhou/vm/eclrunner.py
@@ -658,6 +658,11 @@ class ECLRunner(object):
         self._enemy.extended_bullet_attributes = tuple(self._getval(attr) for attr in attributes)
 
 
+    @instruction(83)
+    def change_bullets_into_star_items(self):
+        self._game_state.change_bullets_into_star_items()
+
+
     @instruction(93)
     def set_spellcard(self, unknown, number, name):
         #TODO: display it on the game.