comparison gamelib/scenes/bridge.py @ 469:b7de5b3608d3 1.0.0

Fix a crash bug on win. Doesn't count. Still 1.0.0 FINAL.
author Jeremy Thurgood <firxen@gmail.com>
date Sun, 29 Aug 2010 01:51:58 +0200
parents af2a23b9787d
children cab67fd696b9
comparison
equal deleted inserted replaced
468:44efcd108f70 469:b7de5b3608d3
453 if not self.ai_blocked: 453 if not self.ai_blocked:
454 return Result("There's no good reason to choose to go to the penal colony.") 454 return Result("There's no good reason to choose to go to the penal colony.")
455 if self.state.scenes['bridge'].get_data('ai status') == 'looping': 455 if self.state.scenes['bridge'].get_data('ai status') == 'looping':
456 return Result("You could change the destination, but when JIM recovers, it'll just get reset.") 456 return Result("You could change the destination, but when JIM recovers, it'll just get reset.")
457 if self.state.scenes['bridge'].get_data('ai status') == 'dead': 457 if self.state.scenes['bridge'].get_data('ai status') == 'dead':
458 self.state.set_current_scene('won')
459 return Result("You change the destination.", soundfile="beep550.ogg", end_game=True) 458 return Result("You change the destination.", soundfile="beep550.ogg", end_game=True)
460 459
461 class CompUpButton(Thing): 460 class CompUpButton(Thing):
462 """Up button on log screen""" 461 """Up button on log screen"""
463 462