// GPC Online Library
/* =====================================================================
* The Legend of Zelda: Tears of the Kingdom dupe glitch
* Game Version 1.0.0 (works up through 1.1.1)
*
*
*
* 1.Go to any shrine where you can stand on constant wind source. Stand on it.
* I reccomend Tsutsu-um Shrine.
* 2.Open menu and navigate to item. Close menu.
* 3.Click in left stick quickly to start and stop.
* (if it fails, try restart and click left stick quicker)
* 4.Subscribe to BigRig Creates on YouTube.
*
* Alternatively, if you want to dupe lighter items, you'll need to make a cage
* with weights. Save to autobuilder cage and go to (4674, 0669 {nice}, 1010).
* Get inside the cage and run the script. If Link does not pick up an item first try,
* retry the process.
**/
/* --------------------------------------------------------------------- */
int toggle;
int delay;
int initialComplete = 0;
main {
if(event_press(SWITCH_SL)) toggle=!toggle; // on/off
if(toggle) {
if( !dupeStart
&& !initialMenu
&& initialComplete == 0) {
combo_run( initialMenu );
initialComplete = 1;
}
if( !dupeStart
&& !initialMenu
&& initialComplete == 1) {
combo_run( dupeStart );
}
}
}
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 yAndB {
set_val(SWITCH_Y, 100);
set_val(SWITCH_B, 100);
wait(100);
set_val(SWITCH_Y, 0);
set_val(SWITCH_B, 0);
}
combo plus {
set_val(SWITCH_PLUS, 100);
wait(100);
set_val(SWITCH_PLUS, 0);
}
combo down {
set_val(SWITCH_DOWN, 100);
wait(100);
set_val(SWITCH_DOWN, 0);
wait(300);
}
combo left {
set_val(SWITCH_LEFT, 100);
wait(100);
set_val(SWITCH_LEFT, 0);
wait(300);
}
combo initialMenu{
call(plus); //menu needs to be opened and closed without the cursor moving
wait(300);
call(plus);
wait(300);
}
combo dupeStart{
delay = 2000;
call(x); //jump and open paraglider
wait(70)
call(x);
wait(500);
call(plus); //pause, take out 5 of what ever is in inventory
wait(300);
call(a);
wait(100);
call(down);
call(a);
wait(100);
call(a);
wait(100);
call(a);
wait(100);
call(a);
wait(100);
call(a);
wait(100);
call(yAndB); //press y and b at same time
wait(300);
//Duped Item.
wait(30);//Attempt to pick up items in the air
call(a);
wait(30);
call(a);
wait(30);
call(a);
wait(30);
call(a);
wait(30);
//close para
call(b);
wait(100);//Attempt to pick up items.
call(a);
wait(100);
call(a);
wait(100);
call(a);
wait(100);
call(a);
wait(100);
call(a);
call(a);
wait(100);
call(a);
wait(100);
call(a);
wait(100);
call(a);
wait(100);
call(a);
wait(100);
call(a);
wait(100);
call(a);
wait(100);
}