/* =====================================================================
* Pokemon Scarlet / Violet
* Game Version 1.0.1
* Script Version 1.0.1.2
* System: Switch
*
* Duped ride pokemon in slot 2. leave box on box 1.
* Put item on ride pokemon and press R2 / ZR
* Look at a wall or something, pkmn on screen cause lag and throw off timing
*
* Featuring:
* - Dupe
*
* Disclamer im dumb.
*
**/
/* --------------------------------------------------------------------- */
int toggle;
int delay;
int col;
int row;
main {
if(event_press(SWITCH_ZR)) toggle=!toggle; // on/off
if(toggle) {
combo_run( dupe );
//toggle=!toggle;
}
}
combo a {
set_val(SWITCH_A, 100);
wait(100);
set_val(SWITCH_A, 0);
}
combo b {
set_val(SWITCH_B, 100);
wait(100);
set_val(SWITCH_B, 0);
}
combo x {
set_val(SWITCH_X, 100);
wait(100);
set_val(SWITCH_X, 0);
}
combo l {
set_val(SWITCH_L, 100);
wait(100);
set_val(SWITCH_L, 0);
}
combo up {
set_val(SWITCH_UP, 100);
wait(100);
set_val(SWITCH_UP, 0);
}
combo right {
set_val(SWITCH_RIGHT, 100);
wait(100);
set_val(SWITCH_RIGHT, 0);
}
combo left {
set_val(SWITCH_LEFT, 100);
wait(100);
set_val(SWITCH_LEFT, 0);
}
combo down {
set_val(SWITCH_DOWN, 100);
wait(100);
set_val(SWITCH_DOWN, 0);
}
combo dupe{
delay = 750;
call(a); //open
wait(500);
call(up);
wait(150);
call(up);
wait(400);
call(a); //return to ride form
wait(delay);
call(a);
wait(400);
call(a); // Yes No Prompt
wait(800);
call(a);
wait(3000);
call(a);
wait(1000);
//Duped Item
delay = 500;
call(right);
wait(200);
call(down);
wait(200);
call(down);
wait(200);
call(a);
//Opened Box
wait(2500);
call(x);
wait(200);
call(x);
wait(delay);
call(l);
wait(delay);
call(a);
wait(delay);
delay = 100;
call(up);
wait(delay);
call(up);
wait(delay);
call(up);
wait(delay);
delay = 750;
call(a);
wait(delay);
//Resetup Dupe
call(b);
wait(2200);
call(left);
wait(300);
}
combo release{
//example
delay = 500;
call(a); //open
wait(delay);
call(up);
wait(delay);
call(up);
wait(delay);
call(a); //release
wait(delay);
call(up);
wait(delay);
call(a); // Yes No Prompt
wait(delay);
call(a); //Confirm
wait(delay);
call(down);
wait(delay);
}