Mercurial > touhou
comparison pytouhou/vm/eclrunner.py @ 320:1a4ffdda8735
Cancel the bullets when a boss is killed and transfer them to the score.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 23 May 2012 19:33:17 +0200 |
parents | 1366cefd0334 |
children | 1bb78c469f64 |
comparison
equal
deleted
inserted
replaced
319:9a4119e2cc74 | 320:1a4ffdda8735 |
---|---|
743 | 743 |
744 @instruction(94) | 744 @instruction(94) |
745 def end_spellcard(self): | 745 def end_spellcard(self): |
746 #TODO: return everything back to normal | 746 #TODO: return everything back to normal |
747 #TODO: give the spellcard bonus. | 747 #TODO: give the spellcard bonus. |
748 if self._game.spellcard: | 748 if self._game.spellcard is not None: |
749 self._game.change_bullets_into_star_items() | 749 self._game.change_bullets_into_star_items() |
750 self._game.spellcard = None | 750 self._game.spellcard = None |
751 self._game.disable_spellcard_effect() | 751 self._game.disable_spellcard_effect() |
752 | 752 |
753 | 753 |