trigNum = 0; active = 0; con = 0; cooldownAmount = 5; cooldown = cooldownAmount; flashamt = 0; timer = 0; spear = 0; shotSpeed = 30; startingX = x; image_speed = 0.25; scr_depth();