Pokemon Sword and Shield Egg Collector

This is the shinyhunt pokemon script slightly modified to just collect eggs from the nursery not hatch them. Most of the script is ssrat5's code just changed a bit. All credit goes to them. Default cycle is 30 eggs which can be changed in the script. Directions at the top of script.
Version1.00
AuthorPoonz
Publish DateSat, 18 Jan 2020 - 14:35
Last UpdateSat, 18 Jan 2020 - 14:52
Downloads53
RATE


0

0

Code: Select all
/* *
*               Egg Collector by ssrat5 (slighty modified by Poonz)
*Make sure to have a full party with no eggs
*Have open spaces in PC to the amount eggs you input 
*Set text speed to fast
*Have pause menu cursor over town map
*Start script at wild lands nursery
*Start script whilst an egg is ready to collect
*Start script whilst on Rotom bike
* *********************************************************** */

define WaitShort=100;
define HalfSec=500;
define OneSec=1000;
define TwoSec=2000;
define ThreeSec=3000;
define FourSec=4000;
define circle=95;
 
main {
    if(event_press(SWITCH_L)) combo_run(Choice)
    if(event_press(SWITCH_UP)) combo_stop(Choice)
   }
combo Choice {
call(Egg30)
 }     //^^Change number to the amount of eggs you want(10,30,60,90,120)
combo Egg120 {
call(Egg60)
call(Egg60)
}
combo Egg90 {
call(Egg60)
call(Egg30)
}
combo Egg60 {
call(Egg30)
call(Egg30)
}
combo Egg30 {
call(Egg10)
call(Egg10)
call(Egg10)
}
combo Egg10 {
call(EggO)
call(EggO)
call(EggO)
call(EggO)
call(EggO)
call(EggO)
call(EggO)
call(EggO)
call(EggO)
call(EggO)
}
combo EggO {
call(MapS)
call(DCTalk)
call(EggCycle)
}
combo MapS {
set_val(SWITCH_X, 100);
wait(WaitShort);
set_val(SWITCH_X, 0);
wait(OneSec);
set_val(SWITCH_A, 100);
wait(WaitShort);
set_val(SWITCH_A, 0);
wait(ThreeSec);
set_val(SWITCH_A, 100);
wait(WaitShort);
set_val(SWITCH_A, 0);
wait(OneSec);
set_val(SWITCH_A, 100);
wait(WaitShort);
set_val(SWITCH_A, 0);
wait(FourSec);
}
combo DCTalk {
set_val(SWITCH_LY, 100);
wait(700);
set_val(SWITCH_LX, 100);
wait(300);
set_val(SWITCH_A, 100);
wait(WaitShort);
set_val(SWITCH_A, 0);
wait(OneSec);
set_val(SWITCH_A, 100);
wait(WaitShort);
set_val(SWITCH_A, 0);
wait(FourSec);
set_val(SWITCH_A, 100);
wait(WaitShort);
set_val(SWITCH_A, 0);
wait(ThreeSec);
set_val(SWITCH_B, 100);
wait(WaitShort);
set_val(SWITCH_B, 0);
wait(OneSec);
set_val(SWITCH_A, 100);
wait(WaitShort);
set_val(SWITCH_A, 0);
wait(FourSec);
set_val(SWITCH_A, 100);
wait(WaitShort);
set_val(SWITCH_A, 0);
wait(TwoSec);
}
combo EggCycle {
set_val(SWITCH_LY, -100);
wait(500);
set_val(SWITCH_LX, 100);
wait(500);
wait(OneSec);
call(Spin12);
call(Spin12);
call(Spin12);
call(Spin12);
}
 
combo Spin {
set_val(SWITCH_LX100);
set_val(SWITCH_LY,    0);
wait(circle);
set_val(SWITCH_LX100);
set_val(SWITCH_LY100);
wait(circle);
set_val(SWITCH_LX,    0);
set_val(SWITCH_LY100);
wait(circle);
set_val(SWITCH_LX, -100);
set_val(SWITCH_LY100);
wait(circle);
set_val(SWITCH_LX, -100);
set_val(SWITCH_LY,    0);
wait(circle);
set_val(SWITCH_LX, -100);
set_val(SWITCH_LY, -100);
wait(circle);
set_val(SWITCH_LX,    0);
set_val(SWITCH_LY, -100);
wait(circle);
set_val(SWITCH_LX100);
set_val(SWITCH_LY, -100);
wait(circle);
set_val(SWITCH_LX100);
set_val(SWITCH_LY,    0);
wait(circle);
}
 
combo Spin12 {
call(Spin);
call(Spin);
call(Spin);
call(Spin);
call(Spin);
call(Spin);
call(Spin);
call(Spin);
call(Spin);
call(Spin);
call(Spin);
call(Spin);
}