-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with 2.lua #4
Comments
The script should stop execution after beating Misty, it shouldn't continue to go anywhere until you run 3.lua. The relevant code starts here. If you are entering a wild battle with a pidgey near the daycare, it's likely an issue with applying a repel prior to entering the grass. I would assume that if it is moving up and down endlessly in a wild battle, the problem occurs either before Charizard or Magikarp are put in the daycare for training. On my end this section of code works fine, so it's difficult for me to pinpoint a reason why it doesn't work for you, but my assumption is usually that an input gets skipped due to occurring too soon after a previous input. If you can identify when the issue happens, you can probably add some delay to the inputs where it fails. To troubleshoot I would:
Sorry it's not working for you right out of the box, I wish I could help further but without more info it's hard for me to diagnose the issue. Trust me I know how tedious it can be to debug this stuff. |
1.lua works great. I have ran 2.lua twice. Every time I get stuck on a Pidgey right above the Daycare after beating Misty.. The script moves up and down endlessly in a wild battle with Pidgey.
The text was updated successfully, but these errors were encountered: