Skip to content

Commit

Permalink
debugging for synchronize
Browse files Browse the repository at this point in the history
  • Loading branch information
danielzhang-2001 committed Sep 2, 2024
1 parent fb6771b commit 6943a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion showdown/replay.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def process_poison(
if "-status" in action and ("tox" in action or "psn" in action):
print("status detected in synchronize!")
sync_match = re.search(
r"\|p(\d)a: ([^\|\n]+)\|ability: Synchronize\|-status\|p(\d)a: "
r"\|p(\d)a: ([^\|\n]+)\|ability: Synchronize\n|-status\|p(\d)a: "
+ re.escape(fainted_pokemon)
+ r"\|(tox|psn)",
action,
Expand Down

0 comments on commit 6943a65

Please sign in to comment.