Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ^]::
- MouseClick, left, 141, 81
- Sleep 95
- W:=0 ; Change this number to one LESS than the lowest pokedex number you modified
- Loop, 667 ; Change this number to match the range of Pokemon you're changing (lowest pokedex number to highest)
- {
- W:=++W ; Increases W everytime this process is done
- StringLen, length, W
- if (length<2) ; Makes a single digit number into a triple digit number for the moveset file names. 7 becomes 007
- {
- V:=00
- U:=V . W
- }
- else if (length==2) ; Makes a double digit number into a triple digit number. 42 becomes 042.
- {
- V:=0
- U:=V . W
- }
- else if (length>2) ; Keeps a triple digit number as a triple digit number
- {
- U=%W%
- }
- {
- MouseClick, left, 141, 81
- Sleep 100
- Send File %W%{Down}
- Sleep 500
- MouseClick, left, 216, 82
- Sleep 100
- MouseClick, left
- WinWait, Open,
- IfWinNotActive, Open, , WinActivate, Open,
- WinWaitActive, Open,
- Send moveset{SHIFTDOWN}-{SHIFTUP}%U%
- Sleep 500 ; This line is optional and just gives the benefit of being sure the right moveset number is being applied to the file
- Send {Enter}
- WinWait, PPNFR
- IfWinNotActive, PPNFR, , WinActivate, PPNFR,
- WinWaitActive, PPNFR,
- Sleep 10000
- }
- }
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement