Skip to content

Commit

Permalink
Merge pull request #851 from danielzhang2001/DanielsBranch
Browse files Browse the repository at this point in the history
debugging for synchronize
  • Loading branch information
danielzhang2001 authored Sep 2, 2024
2 parents 2de4f4f + 6943a65 commit b9c41ff
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 b9c41ff

Please sign in to comment.