//Prepare the player sprites
image_speed=0;

//Set AI target variables
global.Player_x=x;
global.Player_y=y;

//Set up control vars for player object

go=true;                //For controlling when the player can use the player
spd=3;                  //movement speed
mass=700;               //Mass
f_index=0;              //For the legs animation
f_spd=0.15;             //Animation speed
s_play=true;            //Footsteps sound controller
c_shoot=true;           //Shoot controller
g_shoot = true;         //Grenade controller
timer = room_speed / 4; //Shoot timer (length between shots
g_timer = 0;            //Control grenade distance

health = 100;           //player hp

//Create the player light
instance_create(x, y, obj_Player_Light);
