Mercurial > touhou
changeset 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 |
files | eosd |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/eosd +++ b/eosd @@ -108,7 +108,7 @@ def main(path, data, stage_num, rank, ch break except NextStage: game.music.pause() - if not story or stage_num == (7 if boss_rush else 6): + if not story or stage_num == (7 if boss_rush else 6 if rank > 0 else 5): break stage_num += 1 states = [player.state.copy() for player in game.players] # if player.state.lives >= 0]