# Advance raid seed FrameCycle times FrameCycle = 5 ReturntoStartDate = True N = FrameCycle + 1 if ReturntoStartDate else FrameCycle for ii in range(N): # enter the raid ctr.A() ctr.pause(2) # quit the game and go to settings ctr.HOME() ctr.pause(1) ctr.DOWN() for jj in range(4): ctr.RIGHT() ctr.A() ctr.DOWN(2) ctr.RIGHT() for jj in range(4): ctr.DOWN() ctr.A() # change the date ctr.DOWN(0.4) # Scroll down to bottom ctr.A() ctr.RIGHT() ctr.RIGHT() if ii < FrameCycle: ctr.UP() else:
from NXController import Controller ctr = Controller() N = 30 # Number of Pokemon in the box ctr.buttondelay = 0.2 for i in range(N): print(f'{i+1}/{N}') ctr.A() ctr.DOWN(0.7) ctr.RIGHT(0.7) ctr.A() ctr.R() ctr.R() ctr.A() ctr.L() ctr.L() ctr.L() #ctr.p() ctr.close()