Skip to content

Commit

Permalink
Fix daycare on Fire Red (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
pekempy authored Feb 14, 2024
1 parent 5ba2f92 commit 61dab41
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions modules/modes/daycare.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,12 @@ def pc_release():
context.emulator.press_button("Down")
yield from wait_for_n_frames(20)
else:
context.emulator.press_button("A")
yield from wait_for_n_frames(7)
while not task_is_active("Task_OnSelectedMon"):
context.emulator.press_button("A")
yield
yield from wait_until_task_is_active("Task_OnSelectedMon")
for _ in range(2):
yield from wait_for_n_frames(10)
context.emulator.press_button("Up")
yield from wait_for_n_frames(2)
context.emulator.press_button("A")
Expand Down

0 comments on commit 61dab41

Please sign in to comment.