Reay Posted 2 hours ago Posted 2 hours ago I’m currently trying to reverse-engineer the mechanics and probabilities of combination effects for donuts in the Pokémon Legends: Z-A DLC. However, this approach requires a very large sample size. The only way I’ve been able to record this sample data so far is by manually noting down the results one by one in the game. I noticed that PKHeX can read save files and export donut data, but as far as I can tell, it only allows exporting one donut at a time. I’m wondering if there’s a way to export data for all donuts at once? Having just the effect data would be enough, but it would be even better if other attribute values could be included as well. Ideally, the exported data should be in a format that’s easy to work with in Python or Excel. If anyone knows of a method like this, I’d really appreciate the help. Thank you in advance!
Kaphotics Posted 1 hour ago Posted 1 hour ago NuGet Gallery | PKHeX.Core 25.12.21 You can write your own C# scripts and run them with LINQPad; you can aggregate all the donuts as you see fit with a dozen or so lines of code: const string path = @"D:\main"; var data = File.ReadAllBytes(path); var sav = new SAV9ZA(data); var donuts = sav.Donuts; for (int i = 0; i < DonutPocket9a.MaxCount; i++) { var donut = donuts.GetDonut(i); // interact with the Donut9a object }
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now