Created
October 12, 2017 13:17
-
-
Save akafael/3832b3ae8400d2336d500a92e2e14053 to your computer and use it in GitHub Desktop.
[Digimon Word 3 - PS1] Farming XP Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python | |
## | |
# Digimon Word 3 - Farming XP Script | |
# @version 1.0 - Open Loop Movement | |
## | |
import time | |
import pyautogui | |
# @todo Check mouse focus at Emulator Window | |
try: | |
while True: | |
''' | |
Keep moving player side to side looking for new battles | |
At battle keep repeating regular attack and jumping messages | |
''' | |
pyautogui.keyDown('left') | |
pyautogui.keyDown('z') | |
time.sleep(0.01) | |
pyautogui.keyUp('z') | |
time.sleep(0.01) | |
pyautogui.keyUp('left') | |
pyautogui.keyDown('right') | |
pyautogui.keyDown('z') | |
time.sleep(0.01) | |
pyautogui.keyUp('z') | |
time.sleep(0.01) | |
pyautogui.keyUp('right') | |
except KeyboardInterrupt: | |
print('\nDone.') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment