# HG changeset patch # User Thibaut Girka # Date 1341158853 -7200 # Node ID bc162f60f0a0d467d1512d3275b2b406e3285964 # Parent 72ef7e24b373b1762c4b7d3c9dd657a989c2209c Skip dialogs in the boss rush mode, and make boss rush skipping faster diff --git a/eosd b/eosd --- 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