Guest User

Untitled

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