diff pytouhou/vm/eclrunner.py @ 78:bcf965ede96c

Fix/rename/comment a few things
author Thibaut Girka <thib@sitedethib.com>
date Wed, 31 Aug 2011 13:51:42 +0200
parents 6fa6d74a049a
children ffe2c2b9912c
line wrap: on
line diff
--- a/pytouhou/vm/eclrunner.py
+++ b/pytouhou/vm/eclrunner.py
@@ -431,11 +431,17 @@ class ECLRunner(object):
                                            flags)
 
 
-    @instruction(77)
+    @instruction(76)
     def set_bullet_interval(self, value):
         self._enemy.bullet_launch_interval = value
 
 
+    @instruction(77)
+    def set_bullet_interval_ex(self, value):
+        self.set_bullet_interval(value)
+        #TODO: set counter to random() * bullet_launch_interval
+
+
     @instruction(78)
     def set_delay_attack(self):
         self._enemy.delay_attack = True