Pokemon Sword and Shield AFK Watt Collector

Gathers Watts by date spoofing at a wishing piece initiated den. Go to any den and toss a wishing piece in. It doesn't matter if you collect the initial Watts or not. Face the den and press L(L1, LB, ...) to initiate the macro. No need for specific month or day to work properly. Credit hereby given to Poonz for toggle action and initial button timing.
Version1.00
AuthorR0NUT
Publish DateSun, 12 Jul 2020 - 01:05
Last UpdateSun, 12 Jul 2020 - 01:05
Downloads108
RATE


0

0

Release Notes: Initial release
Code: Select all
//Pokemon Sword and Shield AFK Watt Glitch Farm by Poonz, rewritten by R0NUT
//Switch game to local connection in Y-Comm
//Have a beam already ready and farmable
//Make sure to start beam with wishing piece and not a random one
//Start bot when its glowing and ready to collect watts
//Left bumper to start and stop bot
 
int time;
int toggle;
 
main {
    if(event_press(SWITCH_L)) toggle=!toggle; // on/off
 
    if(toggle) {
        combo_run(start);
    }
}
combo w{
    wait(time);
}
combo a{
    set_val(SWITCH_A, 100);
    wait(time);
    set_val(SWITCH_A, 0);
    wait(600);
}
combo aq{
    set_val(SWITCH_A, 100);
    wait(time);
    set_val(SWITCH_A, 0);
    wait(300);
}
combo h{
    set_val(SWITCH_HOME, 100);
    wait(time);
    set_val(SWITCH_HOME, 0);
    wait(500);
}
combo hl{
    set_val(SWITCH_HOME, 100);
    wait(time);
    set_val(SWITCH_HOME, 0);
    wait(1000);
}
combo d{
    set_val(SWITCH_DOWN, 100);
    wait(time);
    set_val(SWITCH_DOWN, 0);
    wait(100);
}
combo u{
    set_val(SWITCH_UP, 100);
    wait(time);
    set_val(SWITCH_UP, 0);
    wait(100);
}
combo r{
    set_val(SWITCH_RIGHT, 100);
    wait(time);
    set_val(SWITCH_RIGHT, 0);
    wait(100);
}
combo start{
    //collect watts
    time = 100;
    call(aq);
    call(aq);
    call(aq);
    call(a);
    // invite others
    call(a);
    time = 1000;
    call(w);
    time = 100;
    // iterate one in game day
    call(h);
    call(d);
    call(r);
    call(r);
    call(r);
    call(r);
    call(a);
    time = 1600;
    call(d);
    time = 100;
    call(a);
    call(d);
    call(d);
    call(d);
    call(d);
    call(a);
    call(d);
    call(d);
    call(a);
    call(r);
    call(u);
    time = 800;
    call(r);
    time = 100;
    call(a);
    call(hl);
    call(a);
 
    // quit search
    time = 500;
    call(d);
    time = 100;
    call(a);
    time = 1000;
    call(w);
    time = 100;
    call(a);
    time = 4000;
    call(w);
}