scrCreateEvent

This script just defines all of the variables needed for each script. It isn't in order but I usually throw this in the create event of the object. It also has two variables declarations called number and tag which are useful for referencing different of

 Script

///Variables

//this is just a giant script that holds all variables for the scripts && some special useful variables

tag = 0; // a variable for referencing a specific set of cherries
number = instance_number(object_index); // applies a number value to the object based on creation order. good for doing something like [if number mod 2 == 0 { ... }]
//Orbit Variables
orbit = false
orbit_obj = 0;
orbit_obj_name = 0;
orbit_x = 0;
orbit_y = 0;
orbit_ang = 0; // not used in scrMakeOrbit
orbit_rad = 0; // not used in scrMakeOrbit
orbit_rad_dev = 0;
orbit_rad_min = 0;
orbit_rad_max = 0;
orbit_rad_increase = 0; // not used in scrMakeOrbit
orbit_flux = 0;
orbit_flux_smth = 0;
orbit_flux_smth_counter = 0; // not used in scrMakeOrbit
orbit_sp = 0;
orbit_clockwise = 0;
//Bounce Variables
bounce = false;
//Curve Variables
curve = false;
curve_dev = 0;
//Spin Variables
spin = false;
spin_dev = 0;
//Sprite Direction Variables
sprdir = false;
sprdir_dev = 0;
//Alpha
alpha = false;
alpha_dev = 0;
alpha_val = 0;
//Image Scale Variables
scale = false;
scale_dev = 0;
scale_val = 0;
//Speed Change Variables
sp = false;
sp_dev = 0;
sp_val = 0;
//Trail Variables
trail = false;
trail_counter = 0;
trail_counter_inc = 0;
trail_scale_dev = 0;
trail_alpha_dev = 0;
//Bounce Intersection
bounce_inter = false;
//Wrap
wrap = false;
wrap_dev = 32;
//Spin Speed
spinsp = false;
//Direction
dir = false;
dir_new = 0;
dir_dev = 0;
//Outside
outside_destroy = true;