//
// Sun Oct 11 2015 14:36:34
// Script generated by Visual to GPC
//----------------------------------------
int hold_x = 900;
int release_x =100;
int Numberofspins = 126; ///add 127 to value really the number of times pressing the X button before dropping the items
main {
if(1)
combo_run (Slots);
}
combo Slots {
if(get_val(TRACE_1) < Numberofspins)
{
combo_run (Spin);
}
else {
combo_run (Drop_stuff)
}
}
combo Drop_stuff{
call(Enter_menu);
call(Drop_item);//need better method to make this smaller xD
call(Drop_item);
call(Drop_item);
call(Drop_item);
call(Drop_item);
call(Drop_item);
call(Drop_item);
call(Drop_item);
call(Drop_item);
call(Drop_item);
call(Drop_item);
call(Drop_item);
call(Drop_item);
call(Drop_item);
call(Drop_item);
call(Drop_item);
call(Drop_item);
call(Drop_item);
call(Drop_item);
call(Drop_item);
call(Exit_menu);
set_val(TRACE_1, -127)
}
combo Spin {
set_val(XB1_X, 100);//spin slots
wait(hold_x);
set_val(XB1_X, 0);//let go of spin slot button
wait(release_x);
set_val(TRACE_1, get_val(TRACE_1)+1) //Add 1 to trace each time you press X
}
combo Enter_menu {
set_val(XB1_VIEW, 100);
wait(160);
set_val(XB1_VIEW, 0);
wait(980);
set_val(XB1_RIGHT, 100);
wait(150);
set_val(XB1_RIGHT, 0);
wait(500);
}
combo Drop_item {
set_val(XB1_Y, 100);
wait(150);
set_val(XB1_Y, 0);
wait(400);
}
combo Exit_menu {
set_val(XB1_B, 100);
wait(200);
set_val(XB1_B, 0);
wait(440);}