Comments (1)
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:
- Create a second list of inputs
b
that is a copy of the inputs ina
up to the point you want to test at - replace
m.executeOrders(a)
withm.executeOrders(b)
here to make the script execute inputs up to that point - Make a save state in your emulator
- Copy the inputs from
a
past this point, up until Charizard finishes daycare training here, and put it intob
, then run it again - Make another save state if the code succeeds, and do the same thing for magikarp by copying inputs from line 666 to here
- If it succeeds, problem solved, if it fails, now you know when the problem occurs.
- Use save states to diagnose the problem by watching the game at the relevant time, right before it enters the daycare either before magikarp or charmander
- Either try to fix the problem (by adding delay to inputs) or let me know your findings and I can try to help further
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.
from pokemonfireredsinglesequence.
Related Issues (8)
- Is line 15 correct? HOT 4
- Problems Loading Scripts in BizHawk HOT 2
- Running script on BizHawk HOT 2
- I believe 7.lua is running the wrong inputs. HOT 2
- Bizhawk load issue HOT 6
- just a question I have HOT 2
- Tutorial HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pokemonfireredsinglesequence.