Pokemon Sword Shield AFK Watt Glitch Farmer

The following script allows you to farm a wishing well you set up to farm watts. This bot will run well until you reach the end of a month.
Version0.10
Authormilkymilksters
Publish DateSun, 8 Nov 2020 - 18:20
Last UpdateSun, 8 Nov 2020 - 18:20
Downloads68
RATE


0

0

Release Notes: The original script was copied from Poonz.
Code: Select all
//Pokemon Sword/Shield AFK Watt Glitch Farm by Poonz rewritten by Milky
//Set your console date to the beginning of a month that has 31 days.
//Switch game to local connection in Y-Comm
//Have a beam already ready and farmable
//Make sure to start the beam with a Wishing Piece, do not use this bot
//on a random beam.
//Start the bot by standing in front of the beam, facing the well.
 
//Press L to start and stop the bot.
 
//Bot will run for the rest of the month before goofing up when it
//circles around to the beginning of the month.
//It will take about 14 minutes before the bot goofs and you need to
//reset. Don't forget to save your game once in a while.
 
//Timer definitions
define shortTime = 100;
define halfSec = 500;
define oneSec = 1000;
define twoSec = 2000;
define threeSec = 3000;
define fourSec = 4000;
 
int toggle;
 
main {
    //toggle the on/off switch via the L button
    if(event_press(SWITCH_L)) toggle =! toggle;
 
    if(toggle) combo_run(MonthS);
}
 
// Main WattFarm script
combo MonthS {
    call(WattCycle);
}
 
// Bundled WattFarming script
combo WattCycle {
    call(wattFarmer);
}
 
// Consolidated wattFarmer script
combo wattFarmer {
    call(claimWatts);
    call(wattFarmCycle);
}
 
// Starter redemption of Watts
combo claimWatts {
    // redeem the Watts at the start
    call(switchA);
    wait(250)
    call(switchA);
    call(switchA);
 
    wait(1000)
}
 
// Watt Farming Cycle Sequence
combo wattFarmCycle {
    //initiate the Watt farming
    call(switchA);
    wait(250)
    call(switchA);
 
    wait(1500)
 
    //Enter the Switch HOME menu
    call(switchHOME);
 
    wait(1500)
 
    call(switchDOWN);
 
    wait(10)
 
    call(switchRIGHT);
    call(switchRIGHT);
    call(switchRIGHT);
    call(switchRIGHT);
 
    //Enter Switch SETTINGS menu
    call(switchA);
 
    wait(oneSec)
 
    //Navigating Switch SETTINGS menu
    call(switchDOWN);
    call(switchDOWN);
    call(switchDOWN);
    call(switchDOWN);
    call(switchDOWN);
    call(switchDOWN);
    call(switchDOWN);
    call(switchDOWN);
    call(switchDOWN);
    call(switchDOWN);
    call(switchDOWN);
    call(switchDOWN);
    call(switchDOWN);
    call(switchDOWN);
 
    call(switchA);
 
    wait(halfSec)
 
    //Navigating Switch SETTINGS
    call(switchDOWN);
    call(switchDOWN);
    call(switchDOWN);
    call(switchDOWN);
 
    call(switchA);
 
    wait(halfSec)
 
    //Changing the CLOCK
    call(switchDOWN);
    call(switchDOWN);
 
    call(switchA);
 
    wait(oneSec)
 
    call(switchRIGHT);
    call(switchUP);
 
    //Confirming the CLOCK settings
    call(switchA);
    call(switchA);
    call(switchA);
    call(switchA);
    call(switchA);
    call(switchA);
 
    wait(250)
 
    //Returning to the Switch HOME menu
    call(switchHOME);
 
    wait(500)
 
    call(switchHOME);
 
    wait(2000)
 
    //Exiting the den
    call(switchDOWN);
    //wait(500)
    call(switchA);
 
    wait(500)
 
    call(switchA);
 
    wait(250)
 
    call(switchA);
 
    wait(fourSec)   
}
 
combo switchA {
    //presses the A Switch button
    set_val(SWITCH_A, 100);
    wait(shortTime)
    set_val(SWITCH_A, 0);
    wait(shortTime)
}
 
combo switchHOME {
    //presses the HOME Switch button
    set_val(SWITCH_HOME, 100);
    wait(shortTime)
    set_val(SWITCH_HOME, 0);
    wait(shortTime)
}
 
combo switchDOWN {
    //presses the A Switch button
    set_val(SWITCH_DOWN, 100);
    wait(shortTime)
    set_val(SWITCH_DOWN, 0);
    wait(shortTime)
}
 
combo switchRIGHT {
    //presses the A Switch button
    set_val(SWITCH_RIGHT, 100);
    wait(shortTime)
    set_val(SWITCH_RIGHT, 0);
    wait(shortTime)
}
 
combo switchUP {
    //presses the A Switch button
    set_val(SWITCH_UP, 100);
    wait(shortTime)
    set_val(SWITCH_UP, 0);
    wait(shortTime)
}