diff --git a/game.py b/game.py index ee68ed1..a8b362b 100644 --- a/game.py +++ b/game.py @@ -84,6 +84,7 @@ def check_failed_to_connect_window(self) -> bool: print(" Reconnect button not found.") return False + # pylint: disable=too-many-branches def game_loop(self) -> None: """Loop that runs while the game is active, handles calling the correct tasks for round and exiting game""" ran_round: str = None @@ -167,9 +168,7 @@ def encounter_round_setup(self) -> None: for item_placement_round in game_assets.ITEM_PLACEMENT_ROUNDS if not item_placement_round.startswith(self.round[0].split("-")) } - for index, round_msg in enumerate( - game_functions.check_encounter_round() - ): + for index, round_msg in enumerate(game_functions.check_encounter_round()): if index == 0: continue if round_msg == "carousel": diff --git a/game_assets.py b/game_assets.py index 73bcc73..f0521f8 100644 --- a/game_assets.py +++ b/game_assets.py @@ -132,6 +132,7 @@ ITEM_PLACEMENT_ROUNDS: set[str] = {"2-2", "3-2", "4-2", "5-2", "6-2", "7-2", "2-5", "3-5", "4-5", "5-5", "6-5", "7-5"} + ENCOUNTER_ROUNDS: set[str] = {"0-0"} FINAL_COMP_ROUND = "4-5"