Frame 1
Mouse.show();
_root._quality = "medium";
_root.scope._visible = 0;
box1 = prefix;
Instance of Symbol 155 MovieClip [scope] "scope" in Frame 1
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 2
stop();
Frame 8
_root.tune = new Sound(this);
_root.tune.attachSound("tune");
_root.tune.start(0, 9999);
Frame 24
stop();
Frame 25
_root.zoomed = 0;
_root.scopeshots = 0;
_root.deadeye1.gotoAndStop(1);
_root.deadeye2.gotoAndStop(1);
_root.deadeye3.gotoAndStop(1);
_root.deadeye4.gotoAndStop(1);
_root.deadeye5.gotoAndStop(1);
_root.deadeye6.gotoAndStop(1);
_root.deadeye7.gotoAndStop(1);
_root.deadeye8.gotoAndStop(1);
_root.volumefade = 100;
_root.deadeyenumber = 1;
_root.targetnumber = 1;
_root.score = 0;
_root.ammo = 8;
_root.i = 1;
_root.deagle = 8;
_root.shots = 0;
_root.hits = 0;
_root.targetshit = 1;
stop();
Frame 26
_root.attachMovie("usescope", "usescope", 996);
_root.scopebonus._x = -280;
_root.scopebonus._y = 330;
_root.attachMovie("scopebonus", "scopebonus", 997);
_root.scopebonus._x = -280;
_root.scopebonus._y = 330;
_root.attachMovie("perfect", "perfect", 998);
_root.perfect._x = -280;
_root.perfect._y = 330;
_root.attachMovie("sight", "sight", 1000);
_root.attachMovie("reloadanim", "reloadanim", 999);
_root.reloadanim._x = -230;
_root.reloadanim._y = 330;
_root.attachMovie("niceshot", "niceshot", 1001);
_root.niceshot._x = -230;
_root.niceshot._y = 330;
_root.attachMovie("killershot", "killershot", 1002);
_root.killershot._x = -280;
_root.killershot._y = 330;
_root.attachMovie("gun1", "gun1", 1003);
_root.gun1._x = 800;
_root.gun1._y = 800;
_root.inclip = _root.deagleclip;
_root.reloading = "no";
_root.attachMovie("notbad", "notbad", 1004);
_root.notbad._x = -230;
_root.notbad._y = 330;
myMC.target = textfield_txt;
myMC.decount = function () {
var _local3 = Math.ceil((this.endTime - getTimer()) / 1000);
if (_local3 <= 0) {
_local3 = 0;
}
var _local2 = Math.floor(_local3 / 60);
if (_local2 < 10) {
_local2 = "0" + _local2;
}
var _local1 = _local3 % 60;
if (_local1 < 10) {
_local1 = "0" + _local1;
}
this.target.text = (_local2 + ":") + _local1;
_root.timeleft = (_local2 + ":") + _local1;
if (_local3 > 0) {
} else {
_root.gotoAndPlay("gameover");
_root.gamestatus = "Time Up";
}
};
myMC.countDown = function (sec) {
var _local1 = this;
_local1.endTime = getTimer() + (sec * 1000);
_local1.onEnterFrame = _local1.decount;
};
if (_root.remember == 3) {
myMC.countDown(60);
play();
}
if (_root.remember == 2) {
myMC.countDown(90);
play();
}
if (_root.remember == 1) {
myMC.countDown(120);
play();
}
Instance of Symbol 372 MovieClip "myMC" in Frame 26
onClipEvent (enterFrame) {
if (_root.zoomed == 1) {
_root.sight._visible = 0;
_root.scope._visible = 1;
_root.gun1._visible = 0;
_root.grass._xscale = 250;
_root.grass._yscale = 250;
_root.grass._x = (_root._xmouse * -1.5) + 1610;
_root.grass._y = (_root._ymouse * -1.5) + 550;
_root.target0._visible = 0;
_root.target1._visible = 0;
_root.target2._visible = 0;
_root.target3._visible = 0;
_root.target4._visible = 0;
_root.target5._visible = 0;
_root.target6._visible = 0;
_root.target7._visible = 0;
_root.target8._visible = 0;
_root.target9._visible = 0;
_root.target10._visible = 0;
_root.target11._visible = 0;
_root.target12._visible = 0;
_root.zoomed = 1;
} else {
_root.sight._visible = 1;
_root.gun1._visible = 1;
_root.scope._visible = 0;
_root.grass._xscale = 100;
_root.grass._yscale = 100;
_root.grass._x = 644;
_root.grass._y = 220;
_root.target0._visible = 1;
_root.target1._visible = 1;
_root.target2._visible = 1;
_root.target3._visible = 1;
_root.target4._visible = 1;
_root.target5._visible = 1;
_root.target6._visible = 1;
_root.target7._visible = 1;
_root.target8._visible = 1;
_root.target9._visible = 1;
_root.target10._visible = 1;
_root.target11._visible = 1;
_root.target12._visible = 1;
}
if (_root.volumefade > 0) {
_root.tune.setVolume(_root.volumefade);
_root.volumefade = _root.volumefade - 2;
} else {
_root.tune.setVolume(100);
_root.tune.stop();
}
if ((_root.inclip <= 0) and (_root.ammo <= 0)) {
_root.gamestatus = "Out Of Ammo!";
_root.gotoAndStop("gameover");
}
if (_root.inclip < 0) {
_root.inclip = 0;
}
if (_root.ammo == -1) {
_root.displayammo = 0;
} else {
_root.displayammo = _root.ammo;
}
Mouse.hide();
_root.sight._x = _root._xmouse;
_root.sight._y = _root._ymouse;
_root.gun1._rotation = (_root._xmouse / 10) - (_root._ymouse / 10);
_root.gun1._x = (_root._xmouse / 1.5) + 250;
_root.gun1._y = (_root._ymouse / 4) + 300;
}
onClipEvent (mouseDown) {
if (_root.reloading == "no") {
if (_root.ammo > 0) {
_root.ready = 1;
_root.attachMovie("bullet", "bullet", 90);
_root.i = _root.i + 1;
_root.bullet._x = _root._xmouse;
_root.bullet._y = _root._ymouse;
_root.gun1.gotoAndPlay(1);
_root.ammo = _root.ammo - 1;
trace(_root.ammo);
_root.shots = _root.shots + 1;
} else {
_root.ready = 0;
_root.reloadanim.play();
crateselectn1 = new Sound(this);
crateselectn1.attachSound("dryfire");
crateselectn1.start(0, 1);
}
} else {
_root.ready = 0;
}
}
on (keyPress "q") {
if (_root.zoomed == 0) {
_root.zoomed = 1;
} else {
_root.zoomed = 0;
}
}
on (keyPress "<Space>") {
_root.reloading = "yes";
_root.gun1.gotoAndPlay("reloadnoise");
reloadsound = new Sound(this);
reloadsound.attachSound("reloadsound");
reloadsound.start(0, 1);
if (_root.inclip > 0) {
if (_root.inclip >= 8) {
if (_root.ammo == -1) {
_root.inclip = _root.inclip - 8;
} else {
_root.inclip = _root.inclip - (8 - _root.ammo);
}
_root.ammo = 8;
} else if (_root.ammo <= 0) {
_root.ammo = _root.inclip;
_root.inclip = 0;
} else {
_root.ammor = _root.ammo;
_root.inclip = _root.inclip - (8 - _root.ammo);
_root.ammo = _root.ammo + (8 - _root.ammor);
}
}
}
Frame 28
_root.targets = 1;
_root.targetnumber = 1;
stop();
MoveByAngle = function (mc, angle, power) {
mc._x = mc._x + (Math.cos(angle) * power);
mc._y = mc._y + (Math.sin(angle) * power);
};
DistanceBetween = function (mc1, mc2) {
var _local2 = mc2._x - mc1._x;
var _local1 = mc2._y - mc1._y;
return(Math.sqrt((_local2 * _local2) + (_local1 * _local1)));
};
AngleBetween = function (mc1, mc2) {
var _local2 = mc2._x - mc1._x;
var _local1 = mc2._y - mc1._y;
return(Math.atan2(_local1, _local2));
};
BouncingBallEnterFrame = function () {
var _local1 = this;
MoveByAngle(_local1, _local1.angle, _local1.power);
var _local2 = DistanceBetween(_local1, _local1.bounding_mc);
if (_local2 >= _local1.range) {
var _local3 = AngleBetween(_local1, _local1.bounding_mc);
MoveByAngle(_local1, _local3, _local2 - _local1.range);
var da = (_local3 - _local1.angle);
_local1.angle = _local1.angle + (Math.PI + (2 * da));
}
};
GenerateBalls = function (count) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, count);
var _local3 = 1;
var _local2 = 0;
while (_local2 < count) {
var _local1 = this.attachMovie("target" + _root.targetnumber, "target" + _local3, _local3++);
_local1.angle = (Math.PI*2) * Math.random();
_local1.power = 3 + (_root._currentframe / ((Math.random() * 5) + 15));
_local1.bounding_mc = bounding_circle;
_local1.range = (_local1.bounding_mc._width / 2) - (_local1._width / 2);
_local1._x = _local1.bounding_mc._x;
_local1._y = _local1.bounding_mc._y;
MoveByAngle(_local1, (Math.PI*2) * Math.random(), _local1.range * Math.random());
_local1.onEnterFrame = BouncingBallEnterFrame;
_local2++;
}
};
GenerateBalls(_root.targets, this, bounding_circle);
Frame 29
_root.targets = 2;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 30
_root.targets = 3;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 31
_root.targets = 4;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 32
_root.targets = 5;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 33
play();
if (_root.shots <= _root.hits) {
soundkillershot = new Sound(this);
soundkillershot.attachSound("soundkillershot");
soundkillershot.start(0, 1);
_root.perfect.play();
_root.deadeye1.play();
_root.deadeyenumber = _root.deadeyenumber + 1;
}
Frame 44
_root.targets = 1;
_root.targetnumber = 2;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 45
_root.targets = 2;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 46
_root.targets = 3;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 47
_root.targets = 4;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 48
_root.targets = 5;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 49
play();
if (_root.shots == _root.hits) {
_root.perfect.play();
soundkillershot = new Sound(this);
soundkillershot.attachSound("soundkillershot");
soundkillershot.start(0, 1);
_root.deadeye2.play();
_root.deadeyenumber = _root.deadeyenumber + 1;
}
Frame 59
stop();
myMC.countDown(3600);
_root.gun1._visible = 0;
_root.zoomed = 0;
_root.reloading = "yes";
_root.myvalue = math.round((_root.hits / _root.shots) * 100);
mouse.show();
_root.accuracy = _root.myvalue + "%";
_root.score = _root.score + _root.myvalue;
Frame 62
_root.reloading = "no";
if (_root.remember == 3) {
myMC.countDown(60);
_root.play();
}
if (_root.remember == 2) {
myMC.countDown(90);
_root.play();
}
if (_root.remember == 1) {
myMC.countDown(120);
_root.play();
}
_root.gun1._visible = 1;
Frame 63
_root.targets = 1;
_root.targetnumber = 3;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 64
_root.targets = 2;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 65
_root.targets = 3;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 66
_root.targets = 4;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 67
_root.targets = 5;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 68
play();
if (_root.shots == _root.hits) {
_root.perfect.play();
soundkillershot = new Sound(this);
soundkillershot.attachSound("soundkillershot");
soundkillershot.start(0, 1);
_root.deadeye3.play();
_root.deadeyenumber = _root.deadeyenumber + 1;
}
Frame 77
_root.targets = 1;
_root.targetnumber = 4;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 78
_root.targets = 2;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 79
_root.targets = 3;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 80
_root.targets = 4;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 81
_root.targets = 5;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 82
play();
if (_root.shots == _root.hits) {
_root.perfect.play();
soundkillershot = new Sound(this);
soundkillershot.attachSound("soundkillershot");
soundkillershot.start(0, 1);
_root.deadeye4.play();
_root.deadeyenumber = _root.deadeyenumber + 1;
}
Frame 92
stop();
_root.zoomed = 0;
myMC.countDown(3600);
_root.gun1._visible = 0;
_root.reloading = "yes";
_root.myvalue = math.round((_root.hits / _root.shots) * 100);
mouse.show();
_root.accuracy = _root.myvalue + "%";
_root.score = _root.score + _root.myvalue;
Frame 95
_root.reloading = "no";
if (_root.remember == 3) {
myMC.countDown(60);
_root.play();
}
if (_root.remember == 2) {
myMC.countDown(90);
_root.play();
}
if (_root.remember == 1) {
myMC.countDown(120);
_root.play();
}
_root.gun1._visible = 1;
Frame 96
_root.targets = 1;
_root.targetnumber = 5;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 97
_root.targets = 2;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 98
_root.targets = 3;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 99
_root.targets = 4;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 100
_root.targets = 5;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 101
play();
if (_root.shots == _root.hits) {
_root.perfect.play();
soundkillershot = new Sound(this);
soundkillershot.attachSound("soundkillershot");
soundkillershot.start(0, 1);
_root.deadeye5.play();
_root.deadeyenumber = _root.deadeyenumber + 1;
}
Frame 111
_root.targets = 1;
_root.targetnumber = 6;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 112
_root.targets = 2;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 113
_root.targets = 3;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 114
_root.targets = 4;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 115
_root.targets = 5;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 116
play();
if (_root.shots == _root.hits) {
_root.perfect.play();
soundkillershot = new Sound(this);
soundkillershot.attachSound("soundkillershot");
soundkillershot.start(0, 1);
_root.deadeye6.play();
_root.deadeyenumber = _root.deadeyenumber + 1;
}
Frame 127
stop();
myMC.countDown(3600);
_root.gun1._visible = 0;
_root.zoomed = 0;
_root.reloading = "yes";
_root.myvalue = math.round((_root.hits / _root.shots) * 100);
mouse.show();
_root.accuracy = _root.myvalue + "%";
_root.score = _root.score + _root.myvalue;
Frame 130
_root.reloading = "no";
if (_root.remember == 3) {
myMC.countDown(60);
_root.play();
}
if (_root.remember == 2) {
myMC.countDown(90);
_root.play();
}
if (_root.remember == 1) {
myMC.countDown(120);
_root.play();
}
_root.gun1._visible = 1;
Frame 131
_root.targets = 1;
_root.targetnumber = 7;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 132
_root.targets = 2;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 133
_root.targets = 3;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 134
_root.targets = 4;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 135
_root.targets = 5;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 136
play();
if (_root.shots == _root.hits) {
_root.perfect.play();
soundkillershot = new Sound(this);
soundkillershot.attachSound("soundkillershot");
soundkillershot.start(0, 1);
_root.deadeye7.play();
_root.deadeyenumber = _root.deadeyenumber + 1;
}
_root.gamestatus = "Success";
Frame 146
_root.targets = 1;
_root.targetnumber = 8;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 147
_root.targets = 2;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 148
_root.targets = 4;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 149
_root.targets = 6;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 150
_root.targets = 8;
stop();
GenerateBalls(_root.targets, this, bounding_circle);
Frame 151
play();
if (_root.shots == _root.hits) {
_root.perfect.play();
soundkillershot = new Sound(this);
soundkillershot.attachSound("soundkillershot");
soundkillershot.start(0, 1);
_root.deadeye8.play();
_root.deadeyenumber = _root.deadeyenumber + 1;
}
_root.gamestatus = "Success";
Frame 162
stop();
_root.zoomed = 0;
_root.myvalue = math.round((_root.hits / _root.shots) * 100);
mouse.show();
_root.accuracy = _root.myvalue + "%";
_root.score = _root.score + _root.myvalue;
_root.score = _root.score * _root.deadeyenumber;
_root.gun1.removeMovieClip();
_root.sight.removeMovieClip();
_root.target0.removeMovieClip();
_root.target1.removeMovieClip();
_root.target2.removeMovieClip();
_root.target3.removeMovieClip();
_root.target4.removeMovieClip();
_root.target5.removeMovieClip();
_root.target6.removeMovieClip();
_root.target7.removeMovieClip();
_root.target8.removeMovieClip();
_root.target9.removeMovieClip();
_root.target10.removeMovieClip();
_root.target11.removeMovieClip();
_root.target12.removeMovieClip();
Symbol 59 MovieClip [sight] Frame 1
stop();
Symbol 59 MovieClip [sight] Frame 5
gotoAndStop (1);
Symbol 59 MovieClip [sight] Frame 10
this.gotoAndStop(1);
Symbol 59 MovieClip [sight] Frame 16
this.gotoAndStop(1);
Symbol 59 MovieClip [sight] Frame 22
gotoAndStop (1);
Symbol 59 MovieClip [sight] Frame 26
gotoAndStop (1);
Symbol 59 MovieClip [sight] Frame 55
gotoAndPlay (1);
Symbol 63 MovieClip [Gun1] Frame 1
_root.reloading = "no";
this.stop();
Symbol 63 MovieClip [Gun1] Frame 4
deagle = new Sound(this);
deagle.attachSound("deagle");
deagle.start(0, 1);
_root.reloading = "yes";
Symbol 63 MovieClip [Gun1] Frame 5
_root.sight.gotoAndPlay(2);
Symbol 63 MovieClip [Gun1] Frame 8
_root.reloading = "no";
Symbol 63 MovieClip [Gun1] Frame 9
gotoAndPlay (1);
Symbol 63 MovieClip [Gun1] Frame 10
this.stop();
Symbol 63 MovieClip [Gun1] Frame 11
this.gotoAndPlay("reload");
Symbol 63 MovieClip [Gun1] Frame 33
_root.reloading = "no";
gotoAndStop (1);
Symbol 63 MovieClip [Gun1] Frame 35
gotoAndStop (1);
Symbol 63 MovieClip [Gun1] Frame 36
_root.reloading = "no";
Symbol 63 MovieClip [Gun1] Frame 38
_root.reloading = "yes";
Symbol 63 MovieClip [Gun1] Frame 68
_root.reloading = "no";
Symbol 63 MovieClip [Gun1] Frame 73
this.gotoAndStop(1);
Symbol 63 MovieClip [Gun1] Frame 78
gotoAndStop (1);
Symbol 63 MovieClip [Gun1] Frame 88
gotoAndStop (1);
Symbol 63 MovieClip [Gun1] Frame 93
gotoAndStop (1);
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 8
stop();
Symbol 68 MovieClip Frame 15
stop();
Symbol 69 Button
on (press) {
if (_root.ready == 1) {
_root.pointsx = this._xmouse;
_root.pointsy = this._ymouse;
_root.pointsadded = (1 - (((_root.pointsx * _root.pointsx) + (_root.pointsy * _root.pointsy)) / 1391.2)) * 100;
_root.pointsadded = Math.round(_root.pointsadded);
_root.hits = _root.hits + 1;
if ((((_root.pointsx >= -2) and (_root.pointsx <= 2)) and (_root.pointsy >= -2)) and (_root.pointsy <= 2)) {
soundkillershot = new Sound(this);
soundkillershot.attachSound("soundkillershot");
soundkillershot.start(0, 1);
_root.killershot.play();
_root.pointsadded = Math.round(_root.pointsadded * 2);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else if ((((_root.pointsx >= -4) and (_root.pointsx <= 4)) and (_root.pointsy >= -4)) and (_root.pointsy <= 4)) {
soundniceshot = new Sound(this);
soundniceshot.attachSound("soundniceshot");
soundniceshot.start(0, 1);
_root.niceshot.play();
_root.pointsadded = Math.round(_root.pointsadded * 1.5);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else if ((((_root.pointsx >= -8) and (_root.pointsx <= 8)) and (_root.pointsy >= -8)) and (_root.pointsy <= 8)) {
soundnotbad = new Sound(this);
soundnotbad.attachSound("soundnotbad");
soundnotbad.start(0, 1);
_root.notbad.play();
_root.pointsadded = Math.round(_root.pointsadded * 1.2);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else {
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
}
if (math.random() <= (0.3 / _root.remember)) {
trace("playammo");
this.gotoAndPlay("ammo");
} else {
trace("play");
this.gotoAndPlay("kill");
}
}
}
Symbol 71 Button
on (press) {
if (_root.ready == 1) {
_root.pointsx = this._xmouse;
_root.pointsy = this._ymouse;
_root.pointsadded = (1 - (((_root.pointsx * _root.pointsx) + (_root.pointsy * _root.pointsy)) / 1391.2)) * 100;
_root.pointsadded = Math.round(_root.pointsadded);
_root.hits = _root.hits + 1;
if ((((_root.pointsx >= -2) and (_root.pointsx <= 2)) and (_root.pointsy >= -2)) and (_root.pointsy <= 2)) {
soundkillershot = new Sound(this);
soundkillershot.attachSound("soundkillershot");
soundkillershot.start(0, 1);
_root.killershot.play();
_root.pointsadded = Math.round(_root.pointsadded * 2);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else if ((((_root.pointsx >= -4) and (_root.pointsx <= 4)) and (_root.pointsy >= -4)) and (_root.pointsy <= 4)) {
soundniceshot = new Sound(this);
soundniceshot.attachSound("soundniceshot");
soundniceshot.start(0, 1);
_root.niceshot.play();
_root.pointsadded = Math.round(_root.pointsadded * 1.5);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else if ((((_root.pointsx >= -8) and (_root.pointsx <= 8)) and (_root.pointsy >= -8)) and (_root.pointsy <= 8)) {
soundnotbad = new Sound(this);
soundnotbad.attachSound("soundnotbad");
soundnotbad.start(0, 1);
_root.notbad.play();
_root.pointsadded = Math.round(_root.pointsadded * 1.2);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else {
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
}
if (math.random() <= (0.3 / _root.remember)) {
trace("playammo");
this.gotoAndPlay("ammo");
} else {
trace("play");
this.gotoAndPlay("kill");
}
}
}
Symbol 74 Button
on (press) {
if (_root.ready == 1) {
_root.pointsx = this._xmouse;
_root.pointsy = this._ymouse;
_root.pointsadded = (1 - (((_root.pointsx * _root.pointsx) + (_root.pointsy * _root.pointsy)) / 1391.2)) * 100;
_root.pointsadded = Math.round(_root.pointsadded);
_root.hits = _root.hits + 1;
if ((((_root.pointsx >= -2) and (_root.pointsx <= 2)) and (_root.pointsy >= -2)) and (_root.pointsy <= 2)) {
soundkillershot = new Sound(this);
soundkillershot.attachSound("soundkillershot");
soundkillershot.start(0, 1);
_root.killershot.play();
_root.pointsadded = Math.round(_root.pointsadded * 2);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else if ((((_root.pointsx >= -4) and (_root.pointsx <= 4)) and (_root.pointsy >= -4)) and (_root.pointsy <= 4)) {
soundniceshot = new Sound(this);
soundniceshot.attachSound("soundniceshot");
soundniceshot.start(0, 1);
_root.niceshot.play();
_root.pointsadded = Math.round(_root.pointsadded * 1.5);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else if ((((_root.pointsx >= -8) and (_root.pointsx <= 8)) and (_root.pointsy >= -8)) and (_root.pointsy <= 8)) {
soundnotbad = new Sound(this);
soundnotbad.attachSound("soundnotbad");
soundnotbad.start(0, 1);
_root.notbad.play();
_root.pointsadded = Math.round(_root.pointsadded * 1.2);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else {
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
}
if (math.random() <= (0.3 / _root.remember)) {
trace("playammo");
this.gotoAndPlay("ammo");
} else {
trace("play");
this.gotoAndPlay("kill");
}
}
}
Symbol 77 Button
on (press) {
if (_root.ready == 1) {
_root.pointsx = this._xmouse;
_root.pointsy = this._ymouse;
_root.pointsadded = (1 - (((_root.pointsx * _root.pointsx) + (_root.pointsy * _root.pointsy)) / 1391.2)) * 100;
_root.pointsadded = Math.round(_root.pointsadded);
_root.hits = _root.hits + 1;
if ((((_root.pointsx >= -2) and (_root.pointsx <= 2)) and (_root.pointsy >= -2)) and (_root.pointsy <= 2)) {
soundkillershot = new Sound(this);
soundkillershot.attachSound("soundkillershot");
soundkillershot.start(0, 1);
_root.killershot.play();
_root.pointsadded = Math.round(_root.pointsadded * 2);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else if ((((_root.pointsx >= -4) and (_root.pointsx <= 4)) and (_root.pointsy >= -4)) and (_root.pointsy <= 4)) {
soundniceshot = new Sound(this);
soundniceshot.attachSound("soundniceshot");
soundniceshot.start(0, 1);
_root.niceshot.play();
_root.pointsadded = Math.round(_root.pointsadded * 1.5);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else if ((((_root.pointsx >= -8) and (_root.pointsx <= 8)) and (_root.pointsy >= -8)) and (_root.pointsy <= 8)) {
soundnotbad = new Sound(this);
soundnotbad.attachSound("soundnotbad");
soundnotbad.start(0, 1);
_root.notbad.play();
_root.pointsadded = Math.round(_root.pointsadded * 1.2);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else {
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
}
if (math.random() <= (0.3 / _root.remember)) {
trace("playammo");
this.gotoAndPlay("ammo");
} else {
trace("play");
this.gotoAndPlay("kill");
}
}
}
Symbol 79 Button
on (press) {
if (_root.ready == 1) {
_root.pointsx = this._xmouse;
_root.pointsy = this._ymouse;
_root.pointsadded = (1 - (((_root.pointsx * _root.pointsx) + (_root.pointsy * _root.pointsy)) / 1391.2)) * 100;
_root.pointsadded = Math.round(_root.pointsadded);
_root.hits = _root.hits + 1;
if ((((_root.pointsx >= -2) and (_root.pointsx <= 2)) and (_root.pointsy >= -2)) and (_root.pointsy <= 2)) {
soundkillershot = new Sound(this);
soundkillershot.attachSound("soundkillershot");
soundkillershot.start(0, 1);
_root.killershot.play();
_root.pointsadded = Math.round(_root.pointsadded * 2);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else if ((((_root.pointsx >= -4) and (_root.pointsx <= 4)) and (_root.pointsy >= -4)) and (_root.pointsy <= 4)) {
soundniceshot = new Sound(this);
soundniceshot.attachSound("soundniceshot");
soundniceshot.start(0, 1);
_root.niceshot.play();
_root.pointsadded = Math.round(_root.pointsadded * 1.5);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else if ((((_root.pointsx >= -8) and (_root.pointsx <= 8)) and (_root.pointsy >= -8)) and (_root.pointsy <= 8)) {
soundnotbad = new Sound(this);
soundnotbad.attachSound("soundnotbad");
soundnotbad.start(0, 1);
_root.notbad.play();
_root.pointsadded = Math.round(_root.pointsadded * 1.2);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else {
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
}
if (math.random() <= (0.3 / _root.remember)) {
trace("playammo");
this.gotoAndPlay("ammo");
} else {
trace("play");
this.gotoAndPlay("kill");
}
}
}
Symbol 81 Button
on (press) {
if (_root.ready == 1) {
_root.pointsx = this._xmouse;
_root.pointsy = this._ymouse;
_root.pointsadded = (1 - (((_root.pointsx * _root.pointsx) + (_root.pointsy * _root.pointsy)) / 1391.2)) * 100;
_root.pointsadded = Math.round(_root.pointsadded);
_root.hits = _root.hits + 1;
if ((((_root.pointsx >= -2) and (_root.pointsx <= 2)) and (_root.pointsy >= -2)) and (_root.pointsy <= 2)) {
soundkillershot = new Sound(this);
soundkillershot.attachSound("soundkillershot");
soundkillershot.start(0, 1);
_root.killershot.play();
_root.pointsadded = Math.round(_root.pointsadded * 2);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else if ((((_root.pointsx >= -4) and (_root.pointsx <= 4)) and (_root.pointsy >= -4)) and (_root.pointsy <= 4)) {
soundniceshot = new Sound(this);
soundniceshot.attachSound("soundniceshot");
soundniceshot.start(0, 1);
_root.niceshot.play();
_root.pointsadded = Math.round(_root.pointsadded * 1.5);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else if ((((_root.pointsx >= -8) and (_root.pointsx <= 8)) and (_root.pointsy >= -8)) and (_root.pointsy <= 8)) {
soundnotbad = new Sound(this);
soundnotbad.attachSound("soundnotbad");
soundnotbad.start(0, 1);
_root.notbad.play();
_root.pointsadded = Math.round(_root.pointsadded * 1.2);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else {
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
}
if (math.random() <= (0.3 / _root.remember)) {
trace("playammo");
this.gotoAndPlay("ammo");
} else {
trace("play");
this.gotoAndPlay("kill");
}
}
}
Symbol 83 Button
on (press) {
if (_root.ready == 1) {
_root.pointsx = this._xmouse;
_root.pointsy = this._ymouse;
_root.pointsadded = (1 - (((_root.pointsx * _root.pointsx) + (_root.pointsy * _root.pointsy)) / 1391.2)) * 100;
_root.pointsadded = Math.round(_root.pointsadded);
_root.hits = _root.hits + 1;
if ((((_root.pointsx >= -2) and (_root.pointsx <= 2)) and (_root.pointsy >= -2)) and (_root.pointsy <= 2)) {
soundkillershot = new Sound(this);
soundkillershot.attachSound("soundkillershot");
soundkillershot.start(0, 1);
_root.killershot.play();
_root.pointsadded = Math.round(_root.pointsadded * 2);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else if ((((_root.pointsx >= -4) and (_root.pointsx <= 4)) and (_root.pointsy >= -4)) and (_root.pointsy <= 4)) {
soundniceshot = new Sound(this);
soundniceshot.attachSound("soundniceshot");
soundniceshot.start(0, 1);
_root.niceshot.play();
_root.pointsadded = Math.round(_root.pointsadded * 1.5);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else if ((((_root.pointsx >= -8) and (_root.pointsx <= 8)) and (_root.pointsy >= -8)) and (_root.pointsy <= 8)) {
soundnotbad = new Sound(this);
soundnotbad.attachSound("soundnotbad");
soundnotbad.start(0, 1);
_root.notbad.play();
_root.pointsadded = Math.round(_root.pointsadded * 1.2);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else {
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
}
if (math.random() <= (0.3 / _root.remember)) {
trace("playammo");
this.gotoAndPlay("ammo");
} else {
trace("play");
this.gotoAndPlay("kill");
}
}
}
Symbol 85 Button
on (press) {
if (_root.ready == 1) {
_root.pointsx = this._xmouse;
_root.pointsy = this._ymouse;
_root.pointsadded = (1 - (((_root.pointsx * _root.pointsx) + (_root.pointsy * _root.pointsy)) / 1391.2)) * 100;
_root.pointsadded = Math.round(_root.pointsadded);
_root.hits = _root.hits + 1;
if ((((_root.pointsx >= -2) and (_root.pointsx <= 2)) and (_root.pointsy >= -2)) and (_root.pointsy <= 2)) {
soundkillershot = new Sound(this);
soundkillershot.attachSound("soundkillershot");
soundkillershot.start(0, 1);
_root.killershot.play();
_root.pointsadded = Math.round(_root.pointsadded * 2);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else if ((((_root.pointsx >= -4) and (_root.pointsx <= 4)) and (_root.pointsy >= -4)) and (_root.pointsy <= 4)) {
soundniceshot = new Sound(this);
soundniceshot.attachSound("soundniceshot");
soundniceshot.start(0, 1);
_root.niceshot.play();
_root.pointsadded = Math.round(_root.pointsadded * 1.5);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else if ((((_root.pointsx >= -8) and (_root.pointsx <= 8)) and (_root.pointsy >= -8)) and (_root.pointsy <= 8)) {
soundnotbad = new Sound(this);
soundnotbad.attachSound("soundnotbad");
soundnotbad.start(0, 1);
_root.notbad.play();
_root.pointsadded = Math.round(_root.pointsadded * 1.2);
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
} else {
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
}
if (math.random() <= (0.3 / _root.remember)) {
trace("playammo");
this.gotoAndPlay("ammo");
} else {
trace("play");
this.gotoAndPlay("kill");
}
}
}
Symbol 86 MovieClip Frame 3
if (Math.random() >= 0.7) {
hitnoise = new Sound(this);
hitnoise.attachSound("hitnoise1");
hitnoise.start(0, 1);
} else if (Math.random() >= 0.4) {
hitnoise = new Sound(this);
hitnoise.attachSound("hitnoise2");
hitnoise.start(0, 1);
} else {
hitnoise = new Sound(this);
hitnoise.attachSound("hitnoise3");
hitnoise.start(0, 1);
}
Symbol 86 MovieClip Frame 27
if (_root.targetshit < _root.targets) {
_root.targetshit = _root.targetshit + 1;
} else {
_root.nextFrame();
_root.targetshit = 1;
}
stop();
Symbol 118 Button
on (press) {
if (_root.ready == 1) {
crateselect = new Sound(this);
crateselect.attachSound("reload2");
crateselect.start(0, 1);
crateselectn = new Sound(this);
crateselectn.attachSound("reload");
crateselectn.start(0, 1);
this.gotoAndPlay("end");
_root.inclip = _root.inclip + 5;
_root.shots = _root.shots - 1;
}
}
Symbol 119 Button
on (press) {
if (_root.ready == 1) {
crateselect = new Sound(this);
crateselect.attachSound("reload2");
crateselect.start(0, 1);
crateselectn = new Sound(this);
crateselectn.attachSound("reload");
crateselectn.start(0, 1);
this.gotoAndPlay("end");
_root.inclip = _root.inclip + 5;
_root.shots = _root.shots - 1;
}
}
Symbol 120 MovieClip Frame 3
if (Math.random() >= 0.7) {
hitnoise = new Sound(this);
hitnoise.attachSound("hitnoise1");
hitnoise.start(0, 1);
} else if (Math.random() >= 0.4) {
hitnoise = new Sound(this);
hitnoise.attachSound("hitnoise2");
hitnoise.start(0, 1);
} else {
hitnoise = new Sound(this);
hitnoise.attachSound("hitnoise3");
hitnoise.start(0, 1);
}
Symbol 120 MovieClip Frame 95
if (_root.targetshit < _root.targets) {
_root.targetshit = _root.targetshit + 1;
} else {
_root.nextFrame();
_root.targetshit = 1;
}
stop();
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 2
stop();
Symbol 121 MovieClip Frame 3
stop();
Symbol 121 MovieClip Frame 4
stop();
Symbol 121 MovieClip Frame 5
stop();
Symbol 121 MovieClip Frame 6
stop();
Symbol 121 MovieClip Frame 7
stop();
Symbol 121 MovieClip Frame 8
stop();
Symbol 121 MovieClip Frame 9
stop();
Symbol 121 MovieClip Frame 10
stop();
Instance of Symbol 121 MovieClip in Symbol 122 MovieClip Frame 1
onClipEvent (load) {
if (_root.targetnumber == 1) {
gotoAndStop (1);
} else if (_root.targetnumber == 2) {
gotoAndStop (2);
} else if (_root.targetnumber == 3) {
gotoAndStop (3);
} else if (_root.targetnumber == 4) {
trace("target4");
gotoAndStop (4);
} else if (_root.targetnumber == 5) {
gotoAndStop (5);
} else if (_root.targetnumber == 6) {
gotoAndStop (6);
} else if (_root.targetnumber == 7) {
gotoAndStop (7);
} else if (_root.targetnumber == 8) {
gotoAndStop (8);
}
}
Symbol 134 MovieClip [notbad] Frame 1
stop();
Symbol 137 MovieClip [reloadanim] Frame 1
stop();
Symbol 140 MovieClip [niceshot] Frame 1
stop();
Symbol 143 MovieClip [perfect] Frame 1
stop();
Symbol 143 MovieClip [perfect] Frame 19
_root.pointsadded = 500;
_root.score = _root.score + _root.pointsadded;
_root.pointshower.play();
Symbol 146 MovieClip [usescope] Frame 1
stop();
Symbol 149 MovieClip [scopebonus] Frame 1
stop();
Symbol 152 MovieClip [killershot] Frame 1
stop();
Symbol 161 MovieClip Frame 1
stop();
newcolor = new Color(this.prev_btn_bg);
newcolor.setRGB(_parent.bg_color);
Symbol 161 MovieClip Frame 2
stop();
newcolor = new Color(this.prev_btn_bg);
newcolor.setRGB(_parent.but_over_color);
Symbol 161 MovieClip Frame 3
stop();
newcolor = new Color(this.prev_btn_bg);
newcolor.setRGB(_parent.but_down_color);
Symbol 162 MovieClip Frame 1
stop();
newcolor = new Color(this.next_btn_bg);
newcolor.setRGB(_parent.bg_color);
Symbol 162 MovieClip Frame 2
stop();
newcolor = new Color(this.next_btn_bg);
newcolor.setRGB(_parent.but_over_color);
Symbol 162 MovieClip Frame 3
stop();
newcolor = new Color(this.next_btn_bg);
newcolor.setRGB(_parent.but_down_color);
Symbol 171 Button
on (release) {
getURL ("http://www.kizash.com/", "_blank");
}
Symbol 178 MovieClip Frame 1
stop();
newcolor = new Color(this.submit_btn_bg);
newcolor.setRGB(_parent.bg_color);
Symbol 178 MovieClip Frame 2
stop();
newcolor = new Color(this.submit_btn_bg);
newcolor.setRGB(_parent.but_over_color);
Symbol 178 MovieClip Frame 3
newcolor = new Color(this.submit_btn_bg);
newcolor.setRGB(_parent.but_down_color);
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 2
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 2
stop();
Symbol 199 MovieClip [Kizash High Score Component] Frame 1
myTextFormat = new TextFormat();
myTextFormat.font = scoreFont;
myTextFormat.color = scoreColor;
myTextFormat.size = scoreSize;
myTextFormat.bold = scoreBold;
lastLabel.setTextFormat(myTextFormat);
nextLabel.setTextFormat(myTextFormat);
nextFrame();
Instance of Symbol 158 MovieClip "hs_frame" in Symbol 199 MovieClip [Kizash High Score Component] Frame 1
on (release) {
gotoAndStop (1);
_parent.alltime_tab.gotoAndStop(1);
_parent.scoreboard_lv.tabletype = 1;
_parent.showScores();
}
Instance of Symbol 161 MovieClip "last_btn" in Symbol 199 MovieClip [Kizash High Score Component] Frame 1
on (release) {
_parent.page = _parent.page - 10;
if (_parent.page < 0) {
_parent.page = 0;
}
if (_parent.page < 10) {
_parent.last_btn._visible = false;
_parent.lastScoreLabel._visible = false;
}
_parent.next_btn._visible = true;
_parent.nextScoreLabel._visible = true;
_parent.showScores();
}
Instance of Symbol 162 MovieClip "next_btn" in Symbol 199 MovieClip [Kizash High Score Component] Frame 1
on (release) {
_parent.page = _parent.page + 10;
if (_parent.page > _parent.maxScore) {
_parent.page = _parent.maxScore;
}
if (_parent.page > (_parent.maxScore - 20)) {
_parent.next_btn._visible = false;
_parent.nextScoreLabel._visible = false;
}
_parent.last_btn._visible = true;
_parent.lastScoreLabel._visible = true;
_parent.showScores();
}
Symbol 199 MovieClip [Kizash High Score Component] Frame 2
stop();
checkLabel.setTextFormat(myTextFormat);
String.prototype.addCommas = function () {
var _local3 = this.length;
var _local2 = "";
var _local1 = 0;
while (_local1 <= _local3) {
_local2 = this.charAt(_local3 - _local1) + _local2;
if ((((_local1 % 3) == 0) && (_local1 > 0)) && (_local1 < _local3)) {
_local2 = "," + _local2;
}
_local1++;
}
return(_local2);
};
game_so = SharedObject.getLocal(myswfname);
check_score = new LoadVars();
score = _level0[myscorevar];
check_score.score = score;
check_score.game = myuniqueid;
check_score.sendAndLoad("https://www.kizash.com/high_scores/check_score.php", check_score, "POST");
check_score.onLoad = function (success) {
if (success) {
if (String(check_score.success) eq "1") {
ishigh = check_score.ishigh;
if (((ishigh eq "1") && (score != undefined)) && (score != 0)) {
hs_text = "You got a high score!";
gotoAndPlay ("EnterName");
} else {
hs_text = "Sorry. keep on trying";
gotoAndPlay ("ShowHighScores");
}
}
}
};
Symbol 199 MovieClip [Kizash High Score Component] Frame 3
stop();
_level0[sub_button_skin]._visible = true;
scoreLabel.setTextFormat(myTextFormat);
nameLabel.setTextFormat(myTextFormat);
score_txt.setTextFormat(myTextFormat);
myTabTextFormat = new TextFormat();
myTabTextFormat.font = scoreFont;
myTabTextFormat.color = scoreColor;
submitText.setTextFormat(myTabTextFormat);
name_txt.setTextFormat(myTextFormat);
newcolor = new Color(sub_btn.sub_up);
newcolor.setRGB(sel_color);
newcolor = new Color(sub_btn.sub_over);
newcolor.setRGB(des_color);
newcolor = new Color(sub_btn.sub_dn);
newcolor.setRGB(bg_color);
newcolor = new Color(sub_btn.next_btn_bg);
newcolor.setRGB(bg_color);
name_txt.restrict = "A-Z 0-9.\\-";
name_txt.text = game_so.data.playerName;
name_txt.maxChars = 16;
Selection.setFocus(name_txt);
Selection.setSelection(name_txt.length, name_txt.length);
if (name_txt.text == "undefined") {
name_txt.text = "";
}
name_txt.textColor = scoreColor;
Instance of Symbol 178 MovieClip "sub_btn" in Symbol 199 MovieClip [Kizash High Score Component] Frame 3
on (release, keyPress "<Enter>") {
if (_parent.name_txt.length > 0) {
_parent.game_so.data.playerName = _parent.name_txt.text;
}
_parent.nextFrame();
}
Symbol 199 MovieClip [Kizash High Score Component] Frame 4
stop();
_level0[sub_button_skin]._visible = false;
unique_id = new LoadVars();
if ((score > 0) && (game_so.data.playerName.length > 0)) {
unique_id.score = score;
unique_id.name = game_so.data.playerName.toLowerCase();
}
unique_id.game = myuniqueid;
unique_id.sendAndLoad("https://www.kizash.com/high_scores/games_unique_id.php", unique_id, "POST");
unique_id.onLoad = function (success) {
if (success) {
if (String(unique_id.success) eq "1") {
myunique = unique_id.unid;
nextFrame();
}
}
};
Symbol 199 MovieClip [Kizash High Score Component] Frame 5
stop();
hs_frame._visible = showFrame;
myScoreTextFormat = new TextFormat();
myScoreTextFormat.font = scoreFont;
myScoreTextFormat.size = scoreSize;
myScoreTextFormat.bold = scoreBold;
viewLastSkin = function (bool) {
_level0[last_button_skin]._visible = bool;
};
viewNextSkin = function (bool) {
_level0[next_button_skin]._visible = bool;
};
showScores = function () {
var _local3 = 10;
while (_local3 > 0) {
if (scoreboard_lv.tabletype == 2) {
var _local2 = scoreboard_lv["hname" + (page + _local3)];
var s = scoreboard_lv["hscore" + (page + _local3)];
} else {
var _local2 = scoreboard_lv["name" + (page + _local3)];
var s = scoreboard_lv["score" + (page + _local3)];
}
var _local1 = this[("line" + _local3) + "_mc"];
_local1.rank_txt.text = (page + _local3) + ".";
_local1.name_txt.text = (_local2.length ? (_local2.toUpperCase()) : "...");
_local1.score_txt.text = (s.length ? (s.addCommas()) : "...");
_local1.rank_txt.textColor = (_local1.name_txt.textColor = (_local1.score_txt.textColor = ((game_so.data.playerName.length && (_local2.toUpperCase() == game_so.data.playerName.toUpperCase())) ? (pl_color) : (scoreColor))));
_local1._visible = true;
loading_mc._visible = false;
_local3--;
}
_local3 = 10;
while (_local3 > 0) {
var _local1 = this[("line" + _local3) + "_mc"];
_local1.rank_txt.setTextFormat(myScoreTextFormat);
_local1.name_txt.setTextFormat(myScoreTextFormat);
_local1.score_txt.setTextFormat(myScoreTextFormat);
_local3--;
}
};
page = 0;
maxScore = 100;
scoreboard_lv = new LoadVars();
scoreboard_lv.unid = myunique;
if (myunique == undefined) {
scoreboard_lv.game = myuniqueid;
scoreboard_lv.sendAndLoad("https://www.kizash.com/high_scores/games_high_score_tbl.php", scoreboard_lv, "POST");
} else {
scoreboard_lv.sendAndLoad("https://www.kizash.com/high_scores/games_score_sql.php", scoreboard_lv, "POST");
}
scoreboard_lv.onLoad = function (success) {
if (success) {
if (String(scoreboard_lv.success) eq "1") {
next_btn._visible = true;
_level0[next_button_skin]._visible = true;
if (scoreboard_lv.maxScore.length > 0) {
maxScore = Number(scoreboard_lv.maxScore);
}
var _local1 = maxScore;
while (_local1 > 0) {
var _local2 = scoreboard_lv["name" + _local1];
if (game_so.data.playerName.length && (_local2.toUpperCase() == game_so.data.playerName.toUpperCase())) {
page = Math.floor(_local1 / 10) * 10;
if ((_local1 % 10) == 0) {
page = page - 10;
}
}
_local1--;
}
if (page > maxScore) {
page = maxScore;
}
if (page > (maxScore - 20)) {
next_btn._visible = false;
_level0[next_button_skin]._visible = false;
nextScoreLabel._visible = false;
}
if (page < 10) {
last_btn._visible = false;
_level0[last_button_skin]._visible = false;
lastScoreLabel._visible = false;
} else {
last_btn._visible = true;
_level0[last_button_skin]._visible = true;
lastScoreLabel._visible = true;
}
showScores();
} else {
errorMsg = scoreboard_lv.errorMsg.toUpperCase();
scoreboard_lv = new LoadVars();
nextFrame();
}
} else {
errorMsg = "COULD NOT ACCESS HIGH SCORES";
scoreboard_lv = new LoadVars();
nextFrame();
}
};
score = 0;
next_btn._visible = (last_btn._visible = false);
_level0[last_button_skin]._visible = (_level0[next_button_skin]._visible = false);
myTabTextFormat = new TextFormat();
myTabTextFormat.font = scoreFont;
myTabTextFormat.color = scoreColor;
whsText.setTextFormat(myTabTextFormat);
athsText.setTextFormat(myTabTextFormat);
lastScoreLabel.setTextFormat(myTextFormat);
lastScoreLabel._visible = false;
nextScoreLabel.setTextFormat(myTextFormat);
newcolor = new Color(next_btn.next_btn_bg);
newcolor.setRGB(bg_color);
newcolor = new Color(last_btn.prev_btn_bg);
newcolor.setRGB(bg_color);
newcolor = new Color(week_tab.w_selected);
newcolor.setRGB(sel_color);
newcolor = new Color(week_tab.w_deselected);
newcolor.setRGB(des_color);
newcolor = new Color(alltime_tab.a_selected);
newcolor.setRGB(sel_color);
newcolor = new Color(alltime_tab.a_deselected);
newcolor.setRGB(des_color);
Instance of Symbol 161 MovieClip "last_btn" in Symbol 199 MovieClip [Kizash High Score Component] Frame 5
on (release) {
_parent.page = _parent.page - 10;
if (_parent.page < 0) {
_parent.page = 0;
}
if (_parent.page < 10) {
_parent.last_btn._visible = false;
_parent._level0[last_button_skin]._visible = false;
_parent.viewLastSkin(false);
_parent.lastScoreLabel._visible = false;
}
_parent.next_btn._visible = true;
_parent.viewNextSkin(true);
_parent.nextScoreLabel._visible = true;
_parent.showScores();
}
Instance of Symbol 162 MovieClip "next_btn" in Symbol 199 MovieClip [Kizash High Score Component] Frame 5
on (release) {
_parent.page = _parent.page + 10;
if (_parent.page > _parent.maxScore) {
_parent.page = _parent.maxScore;
}
if (_parent.page > (_parent.maxScore - 20)) {
_parent.next_btn._visible = false;
_parent.viewNextSkin(false);
_parent.nextScoreLabel._visible = false;
}
_parent.last_btn._visible = true;
_parent.viewLastSkin(true);
_parent.lastScoreLabel._visible = true;
_parent.showScores();
}
Instance of Symbol 189 MovieClip "week_tab" in Symbol 199 MovieClip [Kizash High Score Component] Frame 5
on (release) {
gotoAndStop (1);
_parent.alltime_tab.gotoAndStop(1);
newcolor = new Color(_parent.alltime_tab.a_deselected);
newcolor.setRGB(_parent.des_color);
newcolor = new Color(this.w_selected);
newcolor.setRGB(_parent.sel_color);
_parent.scoreboard_lv.tabletype = 1;
_parent.showScores();
}
Instance of Symbol 195 MovieClip "alltime_tab" in Symbol 199 MovieClip [Kizash High Score Component] Frame 5
on (release) {
this.gotoAndStop(2);
_parent.week_tab.gotoAndStop(2);
newcolor = new Color(this.a_selected);
newcolor.setRGB(_parent.sel_color);
newcolor = new Color(_parent.week_tab.w_deselected);
newcolor.setRGB(_parent.des_color);
_parent.scoreboard_lv.tabletype = 2;
_parent.showScores();
}
Instance of Symbol 158 MovieClip "hs_frame" in Symbol 199 MovieClip [Kizash High Score Component] Frame 5
on (release) {
gotoAndStop (1);
_parent.alltime_tab.gotoAndStop(1);
_parent.scoreboard_lv.tabletype = 1;
_parent.showScores();
}
Symbol 199 MovieClip [Kizash High Score Component] Frame 6
errorLabel.setTextFormat(myTextFormat);
_level0[last_button_skin]._visible = false;
_level0[next_button_skin]._visible = false;
stop();
Symbol 206 Button
on (release) {
boink = new Sound(this);
boink.attachSound("boink");
boink.start(0, 1);
_root.play();
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 209 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
ready._visible = 0;
setProperty(bar, _xscale , PercentLoaded * 1.69);
} else {
setProperty(bar, _xscale , 169);
ready._visible = 1;
}
Symbol 209 MovieClip Frame 2
gotoAndPlay (1);
Symbol 214 Button
on (release) {
boink = new Sound(this);
boink.attachSound("boink");
boink.start(0, 1);
getURL ("http://www.logun.com/", "_blank");
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 219 Button
on (release) {
boink = new Sound(this);
boink.attachSound("boink");
boink.start(0, 1);
getURL ("http://www.thorgaming.com/highscores/index.php?game=13&diff=3&order=top", "_blank");
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 224 Button
on (release) {
boink = new Sound(this);
boink.attachSound("boink");
boink.start(0, 1);
getURL ("http://www.thorgaming.com/highscores/index.php?game=13&diff=2&order=top", "_blank");
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 229 Button
on (release) {
boink = new Sound(this);
boink.attachSound("boink");
boink.start(0, 1);
getURL ("http://www.thorgaming.com/highscores/index.php?game=13&diff=1&order=top", "_blank");
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 235 Button
on (release) {
boink = new Sound(this);
boink.attachSound("boink");
boink.start(0, 1);
getURL ("http://www.thorgaming.com", "blank");
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 237 Button
on (release) {
boink = new Sound(this);
boink.attachSound("boink");
boink.start(0, 1);
getURL ("http://www.thorgaming.com/flasharcade", "_blank");
}
Symbol 247 MovieClip Frame 315
_root.play();
Symbol 278 Button
on (release) {
_quality = "HIGH";
}
Symbol 283 Button
on (release) {
_quality = "MEDium";
}
Symbol 287 Button
on (release) {
_quality = "LOW";
}
Symbol 293 Button
on (release) {
boink = new Sound(this);
boink.attachSound("boink");
boink.start(0, 1);
_root.deagleclip = 20;
_root.lives = 4;
_root.health = 4;
_root.targethit = 3;
_root.remember = 3;
_root.nextFrame();
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 297 Button
on (release) {
boink = new Sound(this);
boink.attachSound("boink");
boink.start(0, 1);
_root.deagleclip = 30;
_root.lives = 5;
_root.health = 5;
_root.targethit = 2;
_root.remember = 2;
_root.nextFrame();
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 301 Button
on (release) {
boink = new Sound(this);
boink.attachSound("boink");
boink.start(0, 1);
_root.deagleclip = 50;
_root.lives = 10;
_root.health = 10;
_root.targethit = 1;
_root.remember = 1;
_root.nextFrame();
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 304 MovieClip Frame 34
stop();
Symbol 306 Button
on (release) {
boink = new Sound(this);
boink.attachSound("boink");
boink.start(0, 1);
getURL ("http://www.thorgaming.com", "_blank");
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 314 MovieClip Frame 20
stop();
Symbol 323 Button
on (press) {
if (_root.ready == 1) {
if (_root.zoomed == 1) {
_root.scopeshots = _root.scopeshots + 1;
soundkillershot = new Sound(this);
gotoAndStop (2);
soundkillershot.attachSound("soundkillershot");
soundkillershot.start(0, 1);
_root.scopebonus.play();
_root.pointsadded = 500;
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
_root.hits = _root.hits + 1;
_root.inclip = _root.inclip + 5;
} else {
_root.usescope.play();
}
}
}
Symbol 326 MovieClip Frame 10
_root.grass.bird._x = Math.round(Math.random() * 400) + -100;
stop();
Symbol 327 MovieClip Frame 1
stop();
Symbol 327 MovieClip Frame 2
stop();
Symbol 331 MovieClip Frame 1
stop();
Instance of Symbol 330 MovieClip in Symbol 331 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.rabbitdead == 1) {
this.play();
}
}
Symbol 331 MovieClip Frame 25
stop();
Symbol 332 Button
on (press) {
if (_root.ready == 1) {
if (_root.zoomed == 1) {
_root.scopeshots = _root.scopeshots + 1;
soundkillershot = new Sound(this);
gotoAndStop (2);
soundkillershot.attachSound("soundkillershot");
soundkillershot.start(0, 1);
_root.scopebonus.play();
_root.pointsadded = 500;
_root.score = _root.score + _root.pointsadded;
_root.pointshower.gotoAndPlay(2);
_root.hits = _root.hits + 1;
_root.inclip = _root.inclip + 5;
} else {
_root.usescope.play();
}
}
}
Symbol 335 MovieClip Frame 10
stop();
Symbol 336 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 2
stop();
Symbol 359 Button
on (release) {
_root.gotoAndPlay(1);
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 362 Button
on (release) {
_root.menustate = "no";
_root.gotoAndPlay("level1");
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 364 MovieClip Frame 30
stop();
Symbol 370 MovieClip Frame 1
stop();
Symbol 370 MovieClip Frame 11
beep = new Sound(this);
beep.attachSound("beep");
beep.start(0, 1);
Symbol 370 MovieClip Frame 13
beep = new Sound(this);
beep.attachSound("beep");
beep.start(0, 1);
Symbol 370 MovieClip Frame 15
beep = new Sound(this);
beep.attachSound("beep");
beep.start(0, 1);
Symbol 376 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 6
gotoAndPlay (1);
this._visible = 0;
Instance of Symbol 375 MovieClip in Symbol 376 MovieClip Frame 6
onClipEvent (enterFrame) {
this._visible = 0;
}
Instance of Symbol 376 MovieClip "pistol7" in Symbol 377 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.displayammo == 8) {
this._visible = 1;
} else {
this.play();
}
}
Instance of Symbol 376 MovieClip "pistol2" in Symbol 377 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.displayammo >= 2) {
this._visible = 1;
} else {
this.play();
}
}
Instance of Symbol 376 MovieClip "pistol3" in Symbol 377 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.displayammo >= 3) {
this._visible = 1;
} else {
this.play();
}
}
Instance of Symbol 376 MovieClip "pistol4" in Symbol 377 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.displayammo >= 4) {
this._visible = 1;
} else {
this.play();
}
}
Instance of Symbol 376 MovieClip "pistol7" in Symbol 377 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.displayammo >= 7) {
this._visible = 1;
} else {
this.play();
}
}
Instance of Symbol 376 MovieClip "pistol6" in Symbol 377 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.displayammo >= 6) {
this._visible = 1;
} else {
this.play();
}
}
Instance of Symbol 376 MovieClip "pistol5" in Symbol 377 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.displayammo >= 5) {
this._visible = 1;
} else {
this.play();
}
}
Instance of Symbol 376 MovieClip "pistol1" in Symbol 377 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.displayammo >= 1) {
this._visible = 1;
} else {
this.play();
}
}
Symbol 386 Button
on (release) {
Mouse.show();
_root.gun1._visible = 0;
_root.gotoAndPlay(3);
_root.sight.removeMovieClip();
_root.target0.removeMovieClip();
_root.target1.removeMovieClip();
_root.target2.removeMovieClip();
_root.target3.removeMovieClip();
_root.target4.removeMovieClip();
_root.target5.removeMovieClip();
_root.target6.removeMovieClip();
_root.target7.removeMovieClip();
_root.target8.removeMovieClip();
_root.target9.removeMovieClip();
_root.target10.removeMovieClip();
_root.target11.removeMovieClip();
}
Symbol 403 Button
on (release) {
_root.inclip = _root.inclip + 20;
_root.play();
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 405 MovieClip Frame 30
stop();
Symbol 415 Button
on (release) {
_root.inclip = _root.inclip + 20;
_root.play();
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 417 MovieClip Frame 30
stop();
Symbol 428 MovieClip Frame 30
stop();
Symbol 429 Button
on (release) {
getURL ("http://www.thorgaming.com/highscores/index.php?game=13&diff=3&order=top", "_blank");
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 430 Button
on (release) {
getURL ("http://www.thorgaming.com/highscores/index.php?game=13&diff=2&order=top", "_blank");
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 431 Button
on (release) {
getURL ("http://www.thorgaming.com/highscores/index.php?game=13&diff=1&order=top", "_blank");
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 435 Button
on (release) {
boink = new Sound(this);
boink.attachSound("boink");
boink.start(0, 1);
getURL ("http://www.thorgaming.com/flasharcade/play-1107.html", "_blank");
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 436 Button
on (release) {
boink = new Sound(this);
boink.attachSound("boink");
boink.start(0, 1);
getURL ("http://www.logun.com/products_list.asp?Cat_ID=2", "_blank");
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 439 Button
on (release) {
_root.scoresing.scoressubmit.submitbutton._visible = 0;
boink = new Sound(this);
boink.attachSound("boink");
boink.start(0, 1);
if (_root.remember == 1) {
_root.serverList = new LoadVars();
_root.serverList.load((((("http://www.thorgaming.com/highscores/submit.php?op=Submit&game_id=13&game_name=" + _root.name) + "&game_score=") + _root.score) + "&game_diff=1&nocache=") + random(65000));
_root.serverList.onLoad = function (true) {
var _local1 = _root;
if (_local1.serverList.result == "ok") {
trace("1submitted");
getURL ("http://www.thorgaming.com/highscores/index.php?game=13&diff=1&order=top", "_blank");
_local1.gotoAndPlay(3);
} else {
_local1.scoresing.scoressubmit.submitbutton._visible = 1;
_local1.scorestatus = "Please retry";
}
};
}
if (_root.remember == 2) {
_root.serverList = new LoadVars();
_root.serverList.load((((("http://www.thorgaming.com/highscores/submit.php?op=Submit&game_id=13&game_name=" + _root.name) + "&game_score=") + _root.score) + "&game_diff=2&nocache=") + random(65000));
_root.serverList.onLoad = function (true) {
var _local1 = _root;
if (_local1.serverList.result == "ok") {
trace("2submitted");
getURL ("http://www.thorgaming.com/highscores/index.php?game=13&diff=2&order=top", "_blank");
_local1.gotoAndPlay(3);
} else {
_local1.scoresing.scoressubmit.submitbutton._visible = 1;
_local1.scorestatus = "Please retry";
}
};
}
if (_root.remember == 3) {
_root.serverList = new LoadVars();
_root.serverList.load((((("http://www.thorgaming.com/highscores/submit.php?op=Submit&game_id=13&game_name=" + _root.name) + "&game_score=") + _root.score) + "&game_diff=3&nocache=") + random(65000));
_root.serverList.onLoad = function (true) {
var _local1 = _root;
if (_local1.serverList.result == "ok") {
trace("3submitted");
getURL ("http://www.thorgaming.com/highscores/index.php?game=13&diff=3&order=top", "_blank");
_local1.gotoAndPlay(3);
} else {
_local1.scoresing.scoressubmit.submitbutton._visible = 1;
_local1.scorestatus = "Please retry";
}
};
}
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 442 Button
on (release) {
boink = new Sound(this);
boink.attachSound("boink");
boink.start(0, 1);
_root.gotoAndPlay(3);
}
on (rollOver) {
drop = new Sound(this);
drop.attachSound("drop");
drop.start(0, 1);
}
Symbol 460 MovieClip Frame 30
stop();