comparison pytouhou/vm/eclrunner.py @ 430:c9433188ffdb

Remove AnmWrapper, since ANMs are lists of entries now.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 03 Aug 2013 15:49:04 +0200
parents eef492100f4c
children e8dc95a2a287
comparison
equal deleted inserted replaced
429:40d5f3083ebc 430:c9433188ffdb
918 elif anim == 3: 918 elif anim == 3:
919 self._game.new_particle((self._enemy.x, self._enemy.y), 6, 256, number=number) #TODO: make it go back a bit at the end. 919 self._game.new_particle((self._enemy.x, self._enemy.y), 6, 256, number=number) #TODO: make it go back a bit at the end.
920 elif 4 <= anim <= 15: 920 elif 4 <= anim <= 15:
921 self._game.new_particle((self._enemy.x, self._enemy.y), anim + 5, 192, number=number) 921 self._game.new_particle((self._enemy.x, self._enemy.y), anim + 5, 192, number=number)
922 elif anim == 16: 922 elif anim == 16:
923 self._game.new_effect((self._enemy.x, self._enemy.y), 0, self._game.spellcard_effect_anm_wrapper, number=number) 923 self._game.new_effect((self._enemy.x, self._enemy.y), 0, self._game.spellcard_effect_anm, number=number)
924 elif anim == 17: 924 elif anim == 17:
925 self._game.new_particle((self._enemy.x, self._enemy.y), anim - 10, 640, number=number, reverse=True, duration=60) 925 self._game.new_particle((self._enemy.x, self._enemy.y), anim - 10, 640, number=number, reverse=True, duration=60)
926 elif anim == 18: 926 elif anim == 18:
927 self._game.new_particle((self._enemy.x, self._enemy.y), anim - 10, 640, number=number, reverse=True, duration=240) 927 self._game.new_particle((self._enemy.x, self._enemy.y), anim - 10, 640, number=number, reverse=True, duration=240)
928 elif anim == 19: 928 elif anim == 19: