diff pytouhou/vm/eclrunner.py @ 181:184196480f59

Don’t use the useless eff00.anm and implement particles (grazing, death, and more).
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 23 Oct 2011 14:50:44 -0700
parents 5a1533677a9a
children 20843875ad8f
line wrap: on
line diff
--- a/pytouhou/vm/eclrunner.py
+++ b/pytouhou/vm/eclrunner.py
@@ -743,7 +743,7 @@ class ECLRunner(object):
 
     @instruction(100)
     def set_death_anim(self, sprite_index):
-        self._enemy.death_anim = sprite_index % 256 #TODO
+        self._enemy.death_anim = sprite_index
 
 
     @instruction(101)