comparison pytouhou/vm/eclrunner.py @ 299:e04e402e6380

Implemented Sakuya's time stop.
author Elias Boutaleb <kagekyio@gmail.com>
date Fri, 09 Mar 2012 21:43:33 +0100
parents c074783d0847
children 34ea45d95489
comparison
equal deleted inserted replaced
298:92a6fd2632f1 299:e04e402e6380
1019 [2, 3, 4], 1019 [2, 3, 4],
1020 [1, 4, 0], 1020 [1, 4, 0],
1021 [4, 2, 3]] 1021 [4, 2, 3]]
1022 character = self._enemy.select_player().state.character 1022 character = self._enemy.select_player().state.character
1023 self.variables[1:4] = values[character] 1023 self.variables[1:4] = values[character]
1024 elif function == 4:
1025 if arg == 1:
1026 self._game.time_stop = True
1027 else:
1028 self._game.time_stop = False
1024 elif function == 8: # Remilia’s magic 1029 elif function == 8: # Remilia’s magic
1025 bullet_attributes = [70, 1, 1, 1, 1, 0., 0., 0., 0.7, 0] 1030 bullet_attributes = [70, 1, 1, 1, 1, 0., 0., 0., 0.7, 0]
1026 n = 0 1031 n = 0
1027 for bullet in self._game.bullets: 1032 for bullet in self._game.bullets:
1028 if bullet._bullet_type.anim_index < 5: 1033 if bullet._bullet_type.anim_index < 5: