From 8f8b96937d4edb6ea92ab3db2fe3ede600afc55c Mon Sep 17 00:00:00 2001 From: xeals Date: Tue, 4 Apr 2023 22:40:45 +1000 Subject: [PATCH] add missing clears --- main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.py b/main.py index f07b8b2..6b42faa 100755 --- a/main.py +++ b/main.py @@ -185,6 +185,10 @@ class LogParser: def _reset(self): self.turn = 0 self.players.clear() + self.hp.clear() + self.last_move = None + self.last_env_set.clear() + self.last_status_set.clear() def _log_appearance(self, name: TaggedPokemon, specie: str):