Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var pk = new XK3(File.ReadAllBytes(@"D:\xd_manectric.xk3")); // 5BA9053A 28/0/22/23/21/17
- var lockdata = new NPCLock { Species = 291, Gender = 1, Nature = 6 }; // Ninjask-F
- var locks = new NPCLock[] {lockdata};
- var anal = new LegalityAnalysis(pk);
- var pidiv = anal.Info.PIDIV;
- var seed = pidiv.OriginSeed;
- var result = LockFinder.FindLockSeed(seed, locks, true, out uint origin);
- result.Dump();
- Debug.WriteLine(origin.ToString("X"));
Advertisement
Add Comment
Please, Sign In to add comment