Frame 1
_lockroot = true;
MochiAd.showPreGameAd({id:"c18a12f2bd30fe62", res:"555x400"});
_root.kongregateServices.connect();
Frame 2
stop();
_global.gLEFT = 0;
_global.gTOP = 0;
_global.gRIGHT = Stage.width;
_global.gBOTTOM = Stage.height;
_global.seasonlength = 60;
_global.timeshunted = 0;
_global.totalscore = 0;
_global.totaldeer = 1;
_global.maxammo = 3;
_global.buckpercentage = 80;
_global.bigbuckchance = 94;
_global.sighttype = 1;
_global.guntype = 1;
_global.gun_ver_offset = 8;
_global.shotsneededbleed = 3;
_global.num_buckkills = 0;
_global.num_doekills = 0;
_global.num_bigbuckkills = 0;
_global.buy_sight1 = 0;
_global.cost_sight1 = 600;
_global.buy_sight2 = 0;
_global.cost_sight2 = 1000;
_global.buy_gun1 = 0;
_global.cost_gun1 = 800;
_global.buy_gun2 = 0;
_global.cost_gun2 = 1000;
_global.buy_slugs = 0;
_global.cost_slugs = 2000;
_global.buy_camo = 0;
_global.cost_camo = 500;
_global.buy_scent = 0;
_global.cost_scent = 1000;
_global.buy_rocket = 0;
_global.cost_rocket = 9000;
_global.s_doekills = 0;
_global.s_buckkills = 0;
_global.s_bbuckkills = 0;
_global.s_headshots = 0;
_global.s_killzones = 0;
_global.s_runkill = 0;
_global.t_bambikiller = 0;
_global.t_buckkiller = 0;
_global.t_bigbuckkiller = 0;
_global.t_allupgrades = 0;
_global.trophywon = "";
_global.rocketmode = 0;
_root.seasondays.text = _global.seasonlength;
Frame 3
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
function reload() {
shots = 3;
reloading = false;
}
function pump() {
s_shotgun_reload.start(0, 1);
clearInterval(sd);
canshoot = true;
}
function setsighttype() {
if (_global.sighttype == 1) {
_root.sight.gotoAndStop("basic");
_root.sel_sight.gotoAndStop("basic");
} else if (_global.sighttype == 2) {
_root.sight.gotoAndStop("ring");
_root.sel_sight.gotoAndStop("ring");
} else if (_global.sighttype == 3) {
_root.sight.gotoAndStop("scope");
_root.sel_sight.gotoAndStop("scope");
}
}
function killme(obj) {
obj.removeMovieClip();
}
function mover(ob, min, max) {
var _local2 = 100;
if (ob.dir == 0) {
ob._x = ob._x - 2;
_local2 = ob.disscale;
} else if (ob.dir == 1) {
ob._x = ob._x + 2;
_local2 = -ob.disscale;
}
ob._xscale = _local2;
ob._yscale = ob.disscale;
if (ob._x > max) {
ob._xscale = _local2;
}
if (ob._x < min) {
ob._xscale = _local2;
}
if ((ob._x > 600) or (ob._x < -50)) {
ob.inview = false;
ob.visible = false;
} else {
ob.inview = true;
ob.visible = true;
}
}
function addscore(obj, bonus) {
if (obj.dtype == "buck") {
pscore = pscore + (150 + bonus);
_global.num_buckkills = _global.num_buckkills + 1;
_global.s_buckkills = _global.s_buckkills + 1;
if ((_global.num_buckkills >= 50) && (_global.t_buckkiller == 0)) {
_global.trophywon = "buck";
_global.t_buckkiller = 1;
}
_root.kongregateStats.submit("kill50buck", 1);
} else if (obj.dtype == "doe") {
pscore = pscore + (50 + bonus);
_global.num_doekills = _global.num_doekills + 1;
_global.s_doekills = _global.s_doekills + 1;
if ((_global.num_doekills >= 100) && (_global.t_bambikiller == 0)) {
_global.trophywon = "doe";
_global.t_bambikiller = 1;
}
_root.kongregateStats.submit("kill100doe", 1);
} else if (obj.dtype == "bigbuck") {
pscore = pscore + (500 + bonus);
_global.num_bigbuckkills = _global.num_bigbuckkills + 1;
_global.s_bbuckkills = _global.s_bbuckkills + 1;
if ((_global.num_bigbuckkills >= 5) && (_global.t_bigbuckkiller == 0)) {
_global.trophywon = "bigbuck";
_global.t_bigbuckkiller = 1;
}
_root.kongregateStats.submit("kill5bigbuck", 1);
}
}
function checkdone() {
var _local3 = 0;
var _local2 = 1;
while (_local2 <= num_targets) {
if (_root["target" + _local2].dead) {
_local3++;
}
_local2++;
}
if (_local3 >= num_targets) {
if (doit == 0) {
}
}
}
function endit() {
clearInterval(doit);
}
function changesights() {
if ((_global.buy_sight1 == 1) or (_global.buy_sight2 == 1)) {
_global.sighttype = _global.sighttype + 1;
if ((_global.buy_sight1 == 0) and (_global.sighttype == 2)) {
_global.sighttype = 3;
}
if ((_global.buy_sight2 == 0) and (_global.sighttype == 3)) {
_global.sighttype = 1;
}
if (_global.sighttype > 3) {
_global.sighttype = 1;
}
}
sc = setInterval(clearsightchange, 500);
}
function clearsightchange() {
changingsights = false;
clearInterval(sc);
}
var shotdelay = 700;
var num_targets = 1;
var canshoot = true;
var shotsheard = false;
var distanceoffset = 0;
var r = 0;
var sd = 0;
var sc = 0;
var km = 0;
var doit = 0;
var lmaxammo = 3;
var shots = lmaxammo;
var reloading = false;
var hit = false;
var pscore = 0;
var endinglevel = false;
var bonustoscore = 0;
var changingsights = false;
stop();
Mouse.hide();
ammo.stop();
bg.gotoAndStop(1);
_root.attachMovie("sight", "sight", this.getNextHighestDepth(), {_x:250, _y:250});
_root.sight.cacheAsBitmap = true;
startDrag ("sight", true);
var s_shotgun = new Sound();
s_shotgun.attachSound("shotgun");
var s_shotgun_reload = new Sound();
s_shotgun_reload.attachSound("shotgunreload");
var s_loadclick = new Sound();
s_loadclick.attachSound("loadclick");
var s_forestsounds = new Sound();
s_forestsounds.attachSound("forestsounds");
s_forestsounds.start(0, 10000);
s_loadclick.onSoundComplete = function () {
canshoot = true;
};
onEnterFrame = function () {
setsighttype();
_root.hitspace.removeMovieClip();
_root.shottext.text = shots;
ammo.gotoAndStop(shots + 1);
if ((shots == 0) && (_global.rocketmode == 0)) {
_root.attachMovie("hitspace", "hitspace", this.getNextHighestDepth(), {_x:280, _y:318});
}
if ((((Key.isDown(32) && (reloading == false)) && (shots == 0)) && (!endinglevel)) && (_global.rocketmode == 0)) {
reloading = true;
canshoot = false;
reload();
}
if (Key.isDown(83) && (changingsights == false)) {
changingsights = true;
changesights();
}
_root.scoretext.text = _global.totalscore + pscore;
checkdone();
};
onMouseDown = function () {
hit = false;
if ((shots > 0) && (canshoot)) {
shots--;
canshoot = false;
s_shotgun.start(0, 1);
sd = setInterval(pump, shotdelay);
if (_root.sight._y <= 240) {
distanceoffset = (250 - _root.sight._y) / 25;
}
bullety = (_root.sight._y + _global.gun_ver_offset) + distanceoffset;
_root.shothitarea.removeMovieClip();
_root.attachMovie("shothitarea", "shothitarea", _root.getNextHighestDepth(), {_x:_root.sight._x, _y:bullety});
i = 1;
while (i <= num_targets) {
if (_root["target" + i].hitTest(_root.shothitarea)) {
_root.attachMovie("dust2", "dust2" + i, _root.getNextHighestDepth(), {_x:_root.sight._x, _y:bullety});
_root["target" + i].dead = true;
}
i++;
}
}
};
Frame 4
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
function reload() {
shots = lmaxammo;
reloading = false;
}
function pump() {
s_shotgun_reload.start(0, 1);
clearInterval(sd);
canshoot = true;
}
function rocketfire(fx, fy) {
_root.attachMovie("rocketfire", "themissle", _root.getNextHighestDepth(), {_x:fx, _y:fy});
}
function exploderocket() {
var _local2 = rocketx;
var _local3 = rockety;
_root.themissle.removeMovieClip();
makeexplosionanim(_local2, _local3);
i = 1;
while (i <= num_animals) {
if ((_root["d" + i]._x > (_local2 - 150)) && (_root["d" + i]._x < (_local2 + 150))) {
_root["d" + i].gotoAndStop("2");
_root["d" + i].dead = true;
addscore(_root["d" + i], 0);
}
i++;
}
canshoot = true;
clearInterval(derocket);
}
function makeexplosionanim(tx, ty) {
var _local3 = 100;
var _local10 = 4;
var _local6 = 10;
var _local12 = 150;
var _local11 = 300;
var maxLEFT = (tx - 150);
var maxRIGHT = (tx + 150);
var maxTOP = (ty - 150);
var maxBOTTOM = (ty + 150);
var gravity = 1;
var _local7 = randRange(_local12, _local11);
var _local2;
var _local5 = this.getNextHighestDepth();
var _local4 = 0;
while (_local4 < _local7) {
_local2 = attachMovie("Fragment", "fragment" + _local5, _local5);
_local2._x = tx;
_local2._y = ty;
_local2._width = (_local2._height = randRange(_local10, _local6));
while (!_local2.speedX) {
_local2.speedX = randRange(-_local3, _local3);
}
while (!_local2.speedY) {
_local2.speedY = randRange(-_local3, 0);
}
_local2._alpha = randRange(10, 100);
_local2.cacheAsBitmap = true;
_local2.onEnterFrame = function () {
gravity = gravity + 0.005;
this.speedY = this.speedY + gravity;
this._x = this._x + this.speedX;
this._y = this._y + this.speedY;
if ((((this._x < maxLEFT) || (this._x > maxRIGHT)) || (this._y < maxTOP)) || (this._y > maxBOTTOM)) {
this.removeMovieClip();
}
};
_local4++;
_local5++;
}
}
function setsighttype() {
if (_global.sighttype == 1) {
_root.sight.gotoAndStop("basic");
_root.sel_sight.gotoAndStop("basic");
} else if (_global.sighttype == 2) {
_root.sight.gotoAndStop("ring");
_root.sel_sight.gotoAndStop("ring");
} else if (_global.sighttype == 3) {
_root.sight.gotoAndStop("scope");
_root.sel_sight.gotoAndStop("scope");
}
}
function killme(obj) {
obj.removeMovieClip();
}
function getdeertype() {
var _local3 = randRange(0, 100);
var _local2 = "doe";
if (_local3 > _global.bigbuckchance) {
_local2 = "bigbuck";
return(_local2);
}
if (_local3 > _global.buckpercentage) {
_local2 = "buck";
} else {
_local2 = "doe";
}
return(_local2);
}
function deercreator() {
var _local7 = "doe1";
var _local8 = "doe";
var _local4 = 1;
while (_local4 <= num_animals) {
_local8 = getdeertype();
switch (_local8) {
case "doe" :
_local7 = "doe1";
break;
case "buck" :
_local7 = "deer1";
break;
case "bigbuck" :
_local7 = "bigbuck";
break;
default :
_local7 = "doe1";
}
var _local6 = randRange(0, 1);
if (_local6 == "1") {
_local6 = 600 * _local4;
} else {
_local6 = -50 * _local4;
}
if (_global.rocketmode == 1) {
_local6 = randRange(0, 550);
}
var _local5 = 200 + (_local4 * 10);
if (_local4 == 1) {
if (num_animals > 1) {
_local5 = randRange(200, 215);
} else {
_local5 = randRange(200, 250);
}
}
if (_local4 == 2) {
_local5 = randRange(220, 235);
}
if (_local4 == 3) {
_local5 = randRange(236, 240);
}
if (_local4 == 4) {
_local5 = randRange(241, 260);
}
if (_local4 >= 5) {
_local5 = randRange(200, 260);
}
_root.attachMovie(_local7, "d" + _local4, this.getNextHighestDepth(), {_x:_local6, _y:_local5});
_root["d" + _local4].dtype = _local8;
_root["d" + _local4].dir = 0;
_root["d" + _local4].cacheAsBitmap = true;
if (_root["d" + _local4]._x > 500) {
_root["d" + _local4].dir = 0;
}
if (_root["d" + _local4]._x < 50) {
_root["d" + _local4].dir = 1;
}
_root["d" + _local4].grazecount = 0;
_root["d" + _local4].hitstaken = 0;
_root["d" + _local4].dead = false;
_root["d" + _local4].offsc = false;
_root["d" + _local4].inview = false;
_root["d" + _local4].disscale = 100 - ((250 - _local5) / 2);
_local4++;
}
var _local9 = randRange(-200, 600);
_root.attachMovie("bglayer1", "bglayer1", this.getNextHighestDepth(), {_x:_local9, _y:340});
_root.attachMovie("sight", "sight", this.getNextHighestDepth(), {_x:250, _y:250});
_root.sight.cacheAsBitmap = true;
startDrag ("sight", true);
}
function deerbrain(obj, min, max) {
if (!obj.dead) {
if (!obj.offsc) {
if ((obj.dtype == "bigbuck") or (_global.rocketmode == 1)) {
if (!obj.bbuckwalkonce) {
mover(obj, min, max);
obj.bbuckwalkonce = true;
}
runner(obj);
obj.gotoAndStop("run");
} else if (shotsheard) {
if (!obj.inview) {
obj.offsc = true;
obj.gotoAndStop("stand");
} else {
runner(obj);
obj.gotoAndStop("run");
}
} else {
graze = randRange(0, 1000);
if (obj.grazecount > 0) {
if (obj.grazecount > grazetime) {
obj.grazecount = 0;
} else {
obj.grazecount++;
}
} else if ((graze > 6) or obj.offsc) {
mover(obj, min, max);
obj.gotoAndStop("walk");
} else {
obj.grazecount++;
obj.gotoAndStop("graze");
}
}
}
}
}
function mover(ob, min, max) {
var _local2 = 100;
if (ob.dir == 0) {
ob._x = ob._x - 2;
_local2 = ob.disscale;
} else if (ob.dir == 1) {
ob._x = ob._x + 2;
_local2 = -ob.disscale;
}
ob._xscale = _local2;
ob._yscale = ob.disscale;
if (ob._x > max) {
ob._xscale = _local2;
}
if (ob._x < min) {
ob._xscale = _local2;
}
if ((ob._x > 600) or (ob._x < -50)) {
ob.inview = false;
ob.visible = false;
} else {
ob.inview = true;
ob.visible = true;
}
}
function runner(ob) {
var _local3 = 100;
var _local2 = 0;
if (ob.dtype == "bigbuck") {
_local2 = 2;
}
if (ob.dir == 0) {
ob._x = ob._x - (runspeed + _local2);
_local3 = -100;
} else if (ob.dir == 1) {
ob._x = ob._x + (runspeed + _local2);
_local3 = 100;
}
if ((ob._x > 600) or (ob._x < -50)) {
ob.offsc = true;
ob.visible = false;
} else {
ob.visible = true;
}
}
function addscore(obj, bonus) {
if (obj.dtype == "buck") {
pscore = pscore + (150 + bonus);
_global.num_buckkills = _global.num_buckkills + 1;
_global.s_buckkills = _global.s_buckkills + 1;
if ((_global.num_buckkills >= 50) && (_global.t_buckkiller == 0)) {
_global.trophywon = "buck";
_global.t_buckkiller = 1;
}
_root.kongregateStats.submit("kill50buck", 1);
} else if (obj.dtype == "doe") {
pscore = pscore + (50 + bonus);
_global.num_doekills = _global.num_doekills + 1;
_global.s_doekills = _global.s_doekills + 1;
if ((_global.num_doekills >= 100) && (_global.t_bambikiller == 0)) {
_global.trophywon = "doe";
_global.t_bambikiller = 1;
}
_root.kongregateStats.submit("kill100doe", 1);
} else if (obj.dtype == "bigbuck") {
pscore = pscore + (500 + bonus);
_global.num_bigbuckkills = _global.num_bigbuckkills + 1;
_global.s_bbuckkills = _global.s_bbuckkills + 1;
if ((_global.num_bigbuckkills >= 5) && (_global.t_bigbuckkiller == 0)) {
_global.trophywon = "bigbuck";
_global.t_bigbuckkiller = 1;
}
_root.kongregateStats.submit("kill5bigbuck", 1);
}
}
function checkdone() {
var _local3 = 0;
var _local2 = 1;
while (_local2 <= num_animals) {
if (_root["d" + _local2].offsc or _root["d" + _local2].dead) {
_local3++;
}
_local2++;
}
if (_local3 >= num_animals) {
if (doit == 0) {
clearInterval(sd);
endinglevel = true;
doit = setInterval(endit, 1800);
}
}
}
function endit() {
clearInterval(doit);
if (_global.trophywon == "") {
_root.gotoAndStop("done");
} else {
_root.gotoAndStop("trophy");
}
}
function changesights() {
if ((_global.buy_sight1 == 1) or (_global.buy_sight2 == 1)) {
_global.sighttype = _global.sighttype + 1;
if ((_global.buy_sight1 == 0) and (_global.sighttype == 2)) {
_global.sighttype = 3;
}
if ((_global.buy_sight2 == 0) and (_global.sighttype == 3)) {
_global.sighttype = 1;
}
if (_global.sighttype > 3) {
_global.sighttype = 1;
}
}
sc = setInterval(clearsightchange, 500);
}
function clearsightchange() {
changingsights = false;
clearInterval(sc);
}
var shotdelay = 700;
var canshoot = true;
var shotsheard = false;
var distanceoffset = 0;
var r = 0;
var sd = 0;
var sc = 0;
var km = 0;
var doit = 0;
var derocket = 0;
var lmaxammo = _global.maxammo;
if (_global.rocketmode == 1) {
lmaxammo = 1;
}
var shots = lmaxammo;
var reloading = false;
var num_animals = _global.totaldeer;
var hit = false;
var runspeed = 6;
var graze = 0;
var grazetime = 380;
var pscore = 0;
var endinglevel = false;
var bonustoscore = 0;
var changingsights = false;
var firedrocket = false;
var rocketx = 0;
var rockety = 0;
stop();
Mouse.hide();
ammo.stop();
bg.gotoAndStop(1);
deercreator();
var s_shotgun = new Sound();
s_shotgun.attachSound("shotgun");
var s_shotgun_reload = new Sound();
s_shotgun_reload.attachSound("shotgunreload");
var s_loadclick = new Sound();
s_loadclick.attachSound("loadclick");
var s_rocket = new Sound();
s_rocket.attachSound("rocketexplode");
var s_forestsounds = new Sound();
s_forestsounds.attachSound("forestsounds");
s_forestsounds.start(0, 10000);
s_loadclick.onSoundComplete = function () {
canshoot = true;
};
onEnterFrame = function () {
setsighttype();
_root.hitspace.removeMovieClip();
_root.shottext.text = shots;
ammo.gotoAndStop(shots + 1);
var _local4 = 1;
while (_local4 <= num_animals) {
deerbrain(_root["d" + _local4], 50, 500);
_local4++;
}
if ((shots == 0) && (_global.rocketmode == 0)) {
_root.attachMovie("hitspace", "hitspace", this.getNextHighestDepth(), {_x:280, _y:318});
}
if ((((Key.isDown(32) && (reloading == false)) && (shots == 0)) && (!endinglevel)) && (_global.rocketmode == 0)) {
reloading = true;
canshoot = false;
reload();
}
if (Key.isDown(83) && (changingsights == false)) {
changingsights = true;
changesights();
}
_root.scoretext.text = _global.totalscore + pscore;
_root.buckkillstext.text = _global.num_buckkills;
_root.bigbuckkillstext.text = _global.num_bigbuckkills;
_root.doekillstext.text = _global.num_doekills;
checkdone();
};
onMouseDown = function () {
hit = false;
if (((shots > 0) && (canshoot)) && (!endinglevel)) {
shots--;
canshoot = false;
if (_global.rocketmode == 1) {
shotsheard = true;
s_rocket.start(0, 1);
clearInterval(derocket);
firedrocket = true;
rocketx = _root.sight._x;
rockety = _root.sight._y;
rocketfire(rocketx, rockety);
derocket = setInterval(exploderocket, 900);
} else {
s_shotgun.start(0, 1);
sd = setInterval(pump, shotdelay);
if (_root.sight._y <= 240) {
distanceoffset = (250 - _root.sight._y) / 25;
}
bullety = (_root.sight._y + _global.gun_ver_offset) + distanceoffset;
if (_global.buy_slugs == 1) {
_root.shothitarea.removeMovieClip();
_root.attachMovie("shothitarea_slug", "shothitarea", _root.getNextHighestDepth(), {_x:_root.sight._x, _y:bullety});
} else {
_root.shothitarea.removeMovieClip();
_root.attachMovie("shothitarea", "shothitarea", _root.getNextHighestDepth(), {_x:_root.sight._x, _y:bullety});
}
i = 1;
while (i <= num_animals) {
if (_root["d" + i].hitTest(_root.shothitarea)) {
if (_global.buy_slugs == 0) {
_root.attachMovie("blood", "blood" + i, _root.getNextHighestDepth(), {_x:_root.sight._x, _y:bullety});
} else {
_root.attachMovie("slugblood", "slugblood" + i, _root.getNextHighestDepth(), {_x:_root.sight._x, _y:bullety});
}
if (!_root["d" + i].dead) {
_root["d" + i].hitstaken = _root["d" + i].hitstaken + 1;
if (_root["d" + i].killzone.hitTest(_root.shothitarea)) {
_root["d" + i].gotoAndStop("2");
_root["d" + i].dead = true;
addscore(_root["d" + i], 25);
_global.s_killzones++;
} else if (_root["d" + i].head.hitTest(_root.shothitarea)) {
_root["d" + i].gotoAndStop("2");
_root["d" + i].dead = true;
addscore(_root["d" + i], 50);
_global.s_headshots++;
_root.attachMovie("headshotanim", "headshotanim", _root.getNextHighestDepth(), {_x:_root.sight._x, _y:bullety - 30});
} else if (_root["d" + i].hitstaken >= _global.shotsneededbleed) {
_root["d" + i].gotoAndStop("2");
_root["d" + i].dead = true;
if (shotsheard) {
bonustoscore = bonustoscore + 50;
_global.s_runkill++;
}
_root.attachMovie("runningshot", "runningshot", _root.getNextHighestDepth(), {_x:_root.sight._x, _y:bullety - 30});
addscore(_root["d" + i], bonustoscore);
}
hit = true;
}
}
i++;
}
shotsheard = true;
if (hit == false) {
_root.attachMovie("dust", "dust" + i, _root.getNextHighestDepth(), {_x:_root.sight._x, _y:bullety});
}
_root.shothitarea.removeMovieClip();
}
}
};
Frame 5
stop();
Mouse.show();
delete onEnterFrame;
delete onMouseDown;
_root.sight.removeMovieClip();
_root.bglayer1.removeMovieClip();
_root.hitspace.removeMovieClip();
_root.trophy.gotoAndStop(_global.trophywon);
s_shotgun_reload.stop();
_global.trophywon = "";
var i = 0;
while (i <= _global.totaldeer) {
_root["d" + i].removeMovieClip();
i++;
}
var s_crowd = new Sound();
s_crowd.attachSound("crowdcheer");
s_crowd.start(0, 1);
Frame 6
stop();
_global.timeshunted = _global.timeshunted + 1;
_root.theday.text = _global.timeshunted;
Mouse.show();
delete onEnterFrame;
delete onMouseDown;
sight.removeMovieClip();
s_shotgun_reload.attachSound("shotgunreload");
s_shotgun_reload.stop();
s_loadclick.attachSound("loadclick");
s_loadclick.stop();
_root.popupinfo.removeMovieClip();
_root.countdone = 0;
_root.hitspace.removeMovieClip();
_root.bglayer1.removeMovieClip();
var i = 0;
while (i <= _global.totaldeer) {
_root["d" + i].removeMovieClip();
i++;
}
i = 0;
while (i <= 100) {
_root["blood" + i].removeMovieClip();
_root["slugblood" + i].removeMovieClip();
_root["dust" + i].removeMovieClip();
i++;
}
_root.fscoretext.text = _root.pscore;
_global.totalscore = _global.totalscore + _root.pscore;
_root.totalscoretext.text = _global.totalscore;
_root.s_doekillstext.text = _global.s_doekills + "x50";
_root.s_buckkillstext.text = _global.s_buckkills + "x150";
_root.s_bbuckkillstext.text = _global.s_bbuckkills + "x500";
_root.s_headshotstext.text = _global.s_headshots + "x50";
_root.s_killzonetext.text = _global.s_killzones + "x25";
_root.s_runshottext.text = _global.s_runkill + "x50";
_global.s_doekills = 0;
_global.s_buckkills = 0;
_global.s_bbuckkills = 0;
_global.s_headshots = 0;
_global.s_killzones = 0;
_global.s_runkill = 0;
s_forestsounds.stop();
restart.onRelease = function () {
delete onEnterFrame;
if (_global.timeshunted >= _global.seasonlength) {
_root.gotoAndStop("seasonover");
} else {
_root.gotoAndStop("hunt");
}
};
onEnterFrame = function () {
if (_global.buy_sight1 == 0) {
if (_global.totalscore >= _global.cost_sight1) {
_root.ubought_sight1.gotoAndStop(2);
} else {
_root.ubought_sight1.gotoAndStop(1);
}
} else {
_root.ubought_sight1.gotoAndStop(3);
}
if (_global.buy_sight2 == 0) {
if (_global.totalscore >= _global.cost_sight2) {
_root.ubought_sight2.gotoAndStop(2);
} else {
_root.ubought_sight2.gotoAndStop(1);
}
} else {
_root.ubought_sight2.gotoAndStop(3);
}
if (_global.buy_gun1 == 0) {
if (_global.totalscore >= _global.cost_gun1) {
_root.ubought_gun1.gotoAndStop(2);
} else {
_root.ubought_gun1.gotoAndStop(1);
}
} else {
_root.ubought_gun1.gotoAndStop(3);
}
if (_global.buy_gun2 == 0) {
if (_global.totalscore >= _global.cost_gun2) {
_root.ubought_gun2.gotoAndStop(2);
} else {
_root.ubought_gun2.gotoAndStop(1);
}
} else {
_root.ubought_gun2.gotoAndStop(3);
}
if (_global.buy_camo == 0) {
if (_global.totalscore >= _global.cost_camo) {
_root.ubought_camo.gotoAndStop(2);
} else {
_root.ubought_camo.gotoAndStop(1);
}
} else {
_root.ubought_camo.gotoAndStop(3);
}
if (_global.buy_scent == 0) {
if (_global.totalscore >= _global.cost_scent) {
_root.ubought_scent.gotoAndStop(2);
} else {
_root.ubought_scent.gotoAndStop(1);
}
} else {
_root.ubought_scent.gotoAndStop(3);
}
if (_global.buy_slugs == 0) {
if (_global.totalscore >= _global.cost_slugs) {
_root.ubought_slugs.gotoAndStop(2);
} else {
_root.ubought_slugs.gotoAndStop(1);
}
} else {
_root.ubought_slugs.gotoAndStop(3);
}
if (_global.buy_rocket == 0) {
if (_global.totalscore >= _global.cost_rocket) {
_root.ubought_rocket.gotoAndStop(2);
} else {
_root.ubought_rocket.gotoAndStop(1);
}
} else {
_root.ubought_rocket.gotoAndStop(3);
}
_root.totalscoretext.text = _global.totalscore;
};
Frame 7
stop();
if (_global.t_bigbuckkiller != 0) {
_root.bigbuckt.gotoAndStop(2);
}
if (_global.t_buckkiller != 0) {
_root.buckt.gotoAndStop(2);
}
if (_global.t_bambikiller != 0) {
_root.doet.gotoAndStop(2);
}
_root.totalscoretext.text = _global.totalscore;
_root.s_doekillstext.text = _global.num_doekills;
_root.s_buckkillstext.text = _global.num_buckkills;
_root.s_bbuckkillstext.text = _global.num_bigbuckkills;
ScoreAPI = new LocalConnection();
ScoreAPI.send(_root.com_mindjolt_api, "submitScore", _global.totalscore);
mainmenu.onRelease = function () {
_root.gotoAndStop("main");
};
Symbol 31 MovieClip [doe1] Frame 1
stop();
Symbol 31 MovieClip [doe1] Frame 2
stop();
Symbol 31 MovieClip [doe1] Frame 3
stop();
Symbol 31 MovieClip [doe1] Frame 4
stop();
Symbol 31 MovieClip [doe1] Frame 5
stop();
Symbol 53 MovieClip [bigbuck] Frame 1
stop();
Symbol 53 MovieClip [bigbuck] Frame 2
stop();
Symbol 53 MovieClip [bigbuck] Frame 3
stop();
Symbol 53 MovieClip [bigbuck] Frame 4
stop();
Symbol 53 MovieClip [bigbuck] Frame 5
stop();
Symbol 75 MovieClip [deer1] Frame 1
stop();
Symbol 75 MovieClip [deer1] Frame 2
stop();
Symbol 75 MovieClip [deer1] Frame 3
stop();
Symbol 75 MovieClip [deer1] Frame 4
stop();
Symbol 75 MovieClip [deer1] Frame 5
stop();
Symbol 79 MovieClip [dust] Frame 5
stop();
Symbol 87 MovieClip Frame 7
stop();
Symbol 88 MovieClip [slugblood] Frame 10
stop();
Symbol 91 MovieClip [blood] Frame 5
stop();
Symbol 95 MovieClip [runningshot] Frame 20
stop();
_root.runningshot.removeMovieClip();
Symbol 96 MovieClip [headshotanim] Frame 20
stop();
_root.headshotanim.removeMovieClip();
Symbol 107 MovieClip [rocketfire] Frame 15
stop();
Symbol 118 MovieClip [sight] Frame 1
stop();
Symbol 118 MovieClip [sight] Frame 2
stop();
Symbol 118 MovieClip [sight] Frame 3
stop();
Symbol 247 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.7");
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2});
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
}
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 2
stop();
Symbol 132 Button
on (release) {
_root.gotoAndStop("hunt");
}
Symbol 144 Button
on (release) {
_root.gotoAndStop("target");
}
Symbol 152 Button
on (release) {
stop();
Mouse.show();
delete onEnterFrame;
delete onMouseDown;
sight.removeMovieClip();
s_shotgun_reload.attachSound("shotgunreload");
s_shotgun_reload.stop();
s_loadclick.attachSound("loadclick");
s_loadclick.stop();
_root.hitspace.removeMovieClip();
var i = 0;
while (i <= num_targets) {
_root["target" + i].removeMovieClip();
i++;
}
i = 0;
while (i <= 100) {
_root["dust2" + i].removeMovieClip();
i++;
}
s_forestsounds.stop();
_root.gotoAndStop("main");
}
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 2
stop();
Symbol 173 MovieClip Frame 3
stop();
Symbol 174 Button
on (release) {
_root.gotoAndStop("done");
}
Symbol 221 Button
on (release) {
if (_global.buy_sight1 == 0) {
if (_global.totalscore >= _global.cost_sight1) {
_global.buy_sight1 = 1;
_global.sighttype = 2;
_global.totalscore = _global.totalscore - _global.cost_sight1;
} else {
_root.popupinfo.removeMovieClip();
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = "Not enough points to buy.";
}
}
}
on (rollOver) {
if (_global.buy_sight1 == 0) {
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = ("Ring Sight for better Aiming. " + _global.cost_sight1) + " Points";
} else {
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = "Ring Sight for better Aiming. Own";
}
}
on (rollOut) {
_root.popupinfo.removeMovieClip();
}
Symbol 222 Button
on (release) {
if (_global.buy_sight2 == 0) {
if (_global.totalscore >= _global.cost_sight2) {
_global.buy_sight2 = 1;
_global.sighttype = 3;
_global.totalscore = _global.totalscore - _global.cost_sight2;
} else {
_root.popupinfo.removeMovieClip();
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = "Not enough points to buy.";
}
}
}
on (rollOver) {
if (_global.buy_sight2 == 0) {
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = ("Scope Sight for best Aiming. " + _global.cost_sight2) + " Points";
} else {
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = "Scope Sight for best Aiming. Own";
}
}
on (rollOut) {
_root.popupinfo.removeMovieClip();
}
Symbol 223 Button
on (release) {
if (_global.buy_gun1 == 0) {
if (_global.totalscore >= _global.cost_gun1) {
_global.buy_gun1 = 1;
_global.guntype = 2;
_global.gun_ver_offset = 0;
_global.totalscore = _global.totalscore - _global.cost_gun1;
} else {
_root.popupinfo.removeMovieClip();
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = "Not enough points to buy.";
}
}
}
on (rollOver) {
if (_global.buy_gun1 == 0) {
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = ("Long Barrel Shotgun. Increase accuracy. " + _global.cost_gun1) + " Points";
} else {
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = "Long Barrel Shotgun. Increase accuracy. Own";
}
}
on (rollOut) {
_root.popupinfo.removeMovieClip();
}
Symbol 224 Button
on (release) {
if (_global.buy_gun2 == 0) {
if (_global.totalscore >= _global.cost_gun2) {
_global.buy_gun2 = 1;
_global.guntype = 3;
_global.gun_ver_offset = 0;
_global.shotsneededbleed = 2;
_global.totalscore = _global.totalscore - _global.cost_gun2;
} else {
_root.popupinfo.removeMovieClip();
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = "Not enough points to buy.";
}
}
}
on (rollOver) {
if (_global.buy_gun2 == 0) {
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = ("Super Shotgun. Increase accuracy and Damage. " + _global.cost_gun2) + " Points";
} else {
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = "Super Shotgun. Increase accuracy and Damage. Own";
}
}
on (rollOut) {
_root.popupinfo.removeMovieClip();
}
Symbol 225 Button
on (release) {
if (_global.buy_camo == 0) {
if (_global.totalscore >= _global.cost_camo) {
_global.buy_camo = 1;
_global.totaldeer = _global.totaldeer + 1;
_global.totalscore = _global.totalscore - _global.cost_camo;
} else {
_root.popupinfo.removeMovieClip();
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = "Not enough points to buy.";
}
}
}
on (rollOver) {
if (_global.buy_camo == 0) {
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = ("Camo Gear. Increase Number of Deer. " + _global.cost_camo) + " points";
} else {
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = "Camo Gear. Increase Number of Deer. Own";
}
}
on (rollOut) {
_root.popupinfo.removeMovieClip();
}
Symbol 226 Button
on (release) {
if (_global.buy_scent == 0) {
if (_global.totalscore >= _global.cost_scent) {
_global.buy_scent = 1;
_global.buckpercentage = 50;
_global.totaldeer = _global.totaldeer + 2;
_global.totalscore = _global.totalscore - _global.cost_scent;
} else {
_root.popupinfo.removeMovieClip();
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = "Not enough points to buy.";
}
}
}
on (rollOver) {
if (_global.buy_scent == 0) {
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = ("Doe Scent. Increased Appearance of Buck. " + _global.cost_scent) + " Points";
} else {
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = "Doe Scent. Increased Appearance of Buck. Own";
}
}
on (rollOut) {
_root.popupinfo.removeMovieClip();
}
Symbol 227 Button
on (release) {
if (_global.buy_slugs == 0) {
if (_global.totalscore >= _global.cost_slugs) {
_global.buy_slugs = 1;
_global.shotsneededbleed = 1;
_global.totalscore = _global.totalscore - _global.cost_slugs;
} else {
_root.popupinfo.removeMovieClip();
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = "Not enough points to buy.";
}
}
}
on (rollOver) {
if (_global.buy_slugs == 0) {
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = ("Super Slugs. One shot kill. Has smaller hit area." + _global.cost_slugs) + " Points";
} else {
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = "Super Slugs. One shot kill. Own";
}
}
on (rollOut) {
_root.popupinfo.removeMovieClip();
}
Symbol 228 Button
on (release) {
if (_global.buy_rocket == 0) {
if (_global.totalscore >= _global.cost_rocket) {
_global.buy_rocket = 1;
_global.shotsneededbleed = 1;
_global.totaldeer = 30;
_global.rocketmode = 1;
_global.totalscore = _global.totalscore - _global.cost_rocket;
} else {
_root.popupinfo.removeMovieClip();
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = "Not enough points to buy.";
}
}
}
on (rollOver) {
if (_global.buy_rocket == 0) {
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = ("Rocket Laucher Massacre. " + _global.cost_rocket) + " Points";
} else {
_root.attachMovie("popupinfo", "popupinfo", this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
_root.popupinfo.popuptext.text = "Rocket Laucher Massacre. Own";
}
}
on (rollOut) {
_root.popupinfo.removeMovieClip();
}
Symbol 231 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 2
stop();
Symbol 231 MovieClip Frame 3
stop();
Symbol 244 MovieClip Frame 1
stop();
Symbol 244 MovieClip Frame 2
stop();
Symbol 245 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 2
stop();
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 2
stop();