Advertisement
Guest User

PPNFR Moveset TwistedFatal

a guest
Aug 12th, 2013
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ^]::
  2. MouseClick, left, 141, 81
  3. Sleep 95
  4. W:=0 ; Change this number to one LESS than the lowest pokedex number you modified
  5. Loop, 667 ; Change this number to match the range of Pokemon you're changing (lowest pokedex number to highest)
  6. {
  7. W:=++W ; Increases W everytime this process is done
  8. StringLen, length, W
  9. if (length<2) ; Makes a single digit number into a triple digit number for the moveset file names. 7 becomes 007
  10. {
  11. V:=00
  12. U:=V . W
  13. }
  14. else if (length==2) ; Makes a double digit number into a triple digit number. 42 becomes 042.
  15. {
  16. V:=0
  17. U:=V . W
  18. }
  19. else if (length>2) ; Keeps a triple digit number as a triple digit number
  20. {
  21. U=%W%
  22. }
  23. {
  24. MouseClick, left, 141, 81
  25. Sleep 100
  26. Send File %W%{Down}
  27. Sleep 500
  28. MouseClick, left, 216, 82
  29. Sleep 100
  30. MouseClick, left
  31. WinWait, Open,
  32. IfWinNotActive, Open, , WinActivate, Open,
  33. WinWaitActive, Open,
  34. Send moveset{SHIFTDOWN}-{SHIFTUP}%U%
  35. Sleep 500 ; This line is optional and just gives the benefit of being sure the right moveset number is being applied to the file
  36. Send {Enter}
  37. WinWait, PPNFR
  38. IfWinNotActive, PPNFR, , WinActivate, PPNFR,
  39. WinWaitActive, PPNFR,
  40. Sleep 10000
  41. }
  42. }
  43. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement