comparison eosd @ 333:d369a369204a

Prevent story mode in easy to go beyond stage 5.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 30 Jun 2012 20:50:37 +0200
parents bdcf2077e368
children 4eca6130f118
comparison
equal deleted inserted replaced
332:bdcf2077e368 333:d369a369204a
106 try: 106 try:
107 runner.start() 107 runner.start()
108 break 108 break
109 except NextStage: 109 except NextStage:
110 game.music.pause() 110 game.music.pause()
111 if not story or stage_num == (7 if boss_rush else 6): 111 if not story or stage_num == (7 if boss_rush else 6 if rank > 0 else 5):
112 break 112 break
113 stage_num += 1 113 stage_num += 1
114 states = [player.state.copy() for player in game.players] # if player.state.lives >= 0] 114 states = [player.state.copy() for player in game.players] # if player.state.lives >= 0]
115 115
116 116