diff eosd @ 265:0aab9b34299e

Use better defaults for player, and start the stage as if in practice mode.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 23 Jan 2012 02:04:13 +0100
parents 8fa660da5f0c
children a09ac4650e0d
line wrap: on
line diff
--- a/eosd
+++ b/eosd
@@ -43,7 +43,8 @@ def main(path, stage_num, rank, characte
     resource_loader = Loader(path)
 
     resource_loader.scan_archives(data)
-    game = EoSDGame(resource_loader, [PlayerState(character=character)], stage_num, rank, 16,
+    default_power = [0, 64, 128, 128, 128, 128, 0][stage_num - 1]
+    game = EoSDGame(resource_loader, [PlayerState(character=character, power=default_power)], stage_num, rank, 16,
                     prng=prng)
 
     # Load stage data