comparison 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
comparison
equal deleted inserted replaced
180:5a1533677a9a 181:184196480f59
741 self._enemy.set_anim(default) 741 self._enemy.set_anim(default)
742 742
743 743
744 @instruction(100) 744 @instruction(100)
745 def set_death_anim(self, sprite_index): 745 def set_death_anim(self, sprite_index):
746 self._enemy.death_anim = sprite_index % 256 #TODO 746 self._enemy.death_anim = sprite_index
747 747
748 748
749 @instruction(101) 749 @instruction(101)
750 def set_boss_mode(self, value): 750 def set_boss_mode(self, value):
751 #TODO: if there are multiple boss, spawned by a 95, 751 #TODO: if there are multiple boss, spawned by a 95,