Mercurial > touhou
changeset 337:bc162f60f0a0
Skip dialogs in the boss rush mode, and make boss rush skipping faster
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Sun, 01 Jul 2012 18:07:33 +0200 |
parents | 72ef7e24b373 |
children | 65453340ae95 |
files | eosd |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/eosd +++ b/eosd @@ -31,9 +31,9 @@ from pytouhou.vm.msgrunner import NextSt class EoSDGameBossRush(EoSDGame): def run_iter(self, keystate): - for i in range(16): - EoSDGame.run_iter(self, keystate if i == 0 else 0) - if (self.msg_wait or self.enemies or self.items + for i in range(20): + EoSDGame.run_iter(self, (keystate | 256) if i == 0 else 0) + if (self.enemies or self.items or self.lasers or self.bullets or self.cancelled_bullets): break