Frame 1
fscommand ("showmenu", "false");
Mouse.show();
stopAllSounds();
Stage.scaleMode = "noBorder";
var B = getBytesLoaded();
var C = getBytesTotal();
var D = ((B / C) * 100);
var A = (D * 2.73913);
this.kogel._x = 161 + A;
Instance of Symbol 37 MovieClip in Frame 1
onClipEvent (enterFrame) {
var bytes = _root.getBytesTotal();
var bytes_loaded = _root.getBytesLoaded();
var total = Math.floor((bytes_loaded / bytes) * 100);
if (bytes_loaded == bytes) {
_root.gotoAndPlay(3);
} else {
_root.gotoAndPlay(1);
this.D = ("" + total) + "%";
}
}
Instance of Symbol 39 MovieClip "kogel" in Frame 1
onClipEvent (enterFrame) {
var B = getBytesLoaded;
var C = getBytesTotal;
var D = Math.floor((B / C) * 100);
var A = (D * 3.25);
this.bullet._x = 161 + A;
}
Frame 2
var B = getBytesLoaded;
var C = getBytesTotal;
var D = ((B / C) * 100);
var A = (D * 2.73913);
this.kogel._x = 161 + A;
gotoAndPlay (1);
Frame 3
stop();
Frame 4
stage.scaleMode = "noBorder";
Frame 63
gotoAndPlay (64);
Frame 64
minu = 0;
hours = 0;
sec = 0;
milli = 0;
mi = 2;
hour = 0;
se = 59;
mill = 99;
i = 98;
j = 7;
tar = 0;
points = 0;
hits = 0;
accuracy = 0;
shots = 0;
minuk = 0;
missionstat = "select";
tz = 0;
ta = 0;
tb = 0;
tc = 0;
td = 0;
te = 0;
tf = 0;
t1des = 0;
t2des = 0;
t3des = 0;
t4des = 0;
t5des = 0;
t6des = 0;
ahits = 0;
Mouse.show();
stopAllSounds();
Stage.scaleMode = "perfectFit";
Frame 66
stop();
Frame 69
play();
Frame 139
missionstat = "";
stop();
Frame 141
stop();
Frame 142
stop();
Frame 143
stop();
Frame 144
stop();
Frame 145
stop();
Frame 146
Stage.scaleMode = "perfectFit";
stopAllSounds();
Instance of Symbol 366 MovieClip "pointer" in Frame 146
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
Mouse.hide();
_root.attachMovie("blob", "blob", 10000);
blob._x = _xmouse;
blob._y = _ymouse;
}
}
onClipEvent (mouseUp) {
updateAfterEvent();
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Frame 147
function pausen() {
pauseTime = getTimer() / 1000;
timing = false;
}
function unpausen() {
unpauseTime = getTimer() / 1000;
pauseLength = (unpauseTime - pauseTime) + pauseLength;
timing = true;
}
_root.onEnterFrame = function () {
totalTime = (getTimer() / 1000) - pauseLength;
goTime = totalTime - buttonPressTime;
if (timing) {
hours = Math.floor(goTime / 3600);
minu = Math.floor(((goTime / 3600) - hours) * 60);
sec = Math.floor(((((goTime / 3600) - hours) * 60) - minu) * 60);
milli = Math.floor((gotime - ((sec + (minu * 60)) + (hours * 3600))) * 100);
if (sec < 10) {
sec = "0" + sec;
}
if (minu < 10) {
minu = "0" + minu;
}
if (hours < 10) {
hours = "0" + hours;
}
if (milli < 10) {
milli = "0" + milli;
}
}
hour = -hours;
mi = "2" - minu;
se = "59" - sec;
mill = "99" - milli;
if (sec < 10) {
sec = "0" + sec;
}
if (minu < 10) {
minu = "0" + minu;
}
if (hours < 10) {
hours = "0" + hours;
}
if (milli < 10) {
milli = "0" + milli;
}
};
if (mi == 0) {
if (sec == 0) {
if (mill == 0) {
gotoAndStop (153);
}
}
}
ok2.onRelease = function () {
unpausen();
};
Frame 148
if (j > 0) {
if (Key.isDown(32)) {
if (t1des < 10) {
cer = 9.3;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target)) {
t1des = t1des + 1;
hits = hits + 1;
hit = hit;
}
}
}
if (Key.isDown(32)) {
if (t2des < 10) {
cer = 9.3;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target2)) {
t2des = t2des + 1;
hits = hits + 1;
hit = hit;
}
}
}
if (Key.isDown(32)) {
if (t3des < 10) {
cer = 9.3;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target3)) {
t3des = t3des + 1;
hits = hits + 1;
hit = hit;
}
}
}
}
if (Key.isDown(32)) {
if (j == 0) {
ahits = ahits + 1;
}
}
if (j == 1) {
ahits = 0;
}
if (j == 2) {
ahits = 0;
}
if (j == 3) {
ahits = 0;
}
if (j == 4) {
ahits = 0;
}
if (j == 5) {
ahits = 0;
}
if (j == 6) {
ahits = 0;
}
if (j == 7) {
ahits = 0;
}
if (Key.isDown(32)) {
if (ahits == 1) {
shots = shots + 1;
if (t1des < 10) {
cer = 9.3;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target)) {
t1des = t1des + 1;
hits = hits + 1;
hit = hit;
}
}
}
if (Key.isDown(32)) {
if (ahits == 1) {
if (t2des < 10) {
cer = 9.3;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target2)) {
t2des = t2des + 1;
hits = hits + 1;
hit = hit;
}
}
}
}
if (Key.isDown(32)) {
if (ahits == 1) {
if (t3des < 10) {
cer = 9.3;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target3)) {
t3des = t3des + 1;
hits = hits + 1;
hit = hit;
}
}
}
}
}
if (i == 0) {
if (j == 0) {
gotoAndStop (153);
}
}
accuracy = Math.floor((hits / shots) * 100);
points = 0 + hit;
if (i > 0) {
if (j > 0) {
if (Key.isDown(32)) {
shots = shots + 1;
}
}
}
if (t1des == 10) {
Target.gotoAndStop(2);
za = 1;
}
if (t2des == 10) {
Target2.gotoAndStop(2);
zb = 1;
}
if (t3des == 10) {
Target3.gotoAndStop(2);
zc = 1;
}
if (t1des == 10) {
if (t2des == 10) {
if (t3des == 10) {
t1des = 0;
t2des = 0;
t3des = 0;
gotoAndStop (150);
}
}
}
if (t4des == 10) {
Target4.gotoAndStop(2);
zd = 1;
}
if (t5des == 10) {
Target5.gotoAndStop(2);
ze = 1;
}
if (t6des == 10) {
Target6.gotoAndStop(2);
zf = 1;
}
if (t4des == 10) {
if (t5des == 10) {
if (t6des == 10) {
gotoAndStop (152);
}
}
}
if (t1des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t2des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t3des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t4des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t5des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t6des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
function pausen() {
pauseTime = getTimer() / 1000;
timing = false;
}
function unpausen() {
unpauseTime = getTimer() / 1000;
pauseLength = (unpauseTime - pauseTime) + pauseLength;
timing = true;
}
missionstat = "Bronze";
if (Key.isDown(40)) {
pausen();
gotoAndStop (154);
}
minuk = "3" - minu;
hour = "00" - hours;
mi = "2" - minu;
se = "59" - sec;
mill = "99" - milli;
tt = tt + tz;
if (Key.isDown(32)) {
tz = 1;
}
if (tt == 0) {
if (Key.isDown(32)) {
unpausen();
}
}
if (minuk == 0) {
if (sec == 0) {
if (mill == 0) {
gotoAndStop (153);
}
}
}
_root.onEnterFrame = function () {
totalTime = (getTimer() / 1000) - pauseLength;
goTime = totalTime - buttonPressTime;
if (timing) {
hours = Math.floor(goTime / 3600);
minu = Math.floor(((goTime / 3600) - hours) * 60);
sec = Math.floor(((((goTime / 3600) - hours) * 60) - minu) * 60);
milli = Math.floor((gotime - ((sec + (minu * 60)) + (hours * 3600))) * 100);
if (sec < 10) {
sec = "0" + sec;
}
if (minu < 10) {
minu = "0" + minu;
}
if (hours < 10) {
hours = "0" + hours;
}
if (milli < 10) {
milli = "0" + milli;
}
}
};
Stage.scaleMode = "perfectFit";
play();
Frame 149
if (i >= 1) {
if (j >= 1) {
if (Key.isDown(32)) {
var posx = (5 - (0.01 * _xmouse));
var negx = (((2.5 - (0.01 * _xmouse)) + (2 * (0.01 * _xmouse))) - 3.012);
var posy = (5 - (0.0151515151515152 * _ymouse));
var negy = (((2.5 - (0.0151515151515152 * _ymouse)) + (2 * (0.0151515151515152 * _ymouse))) - 3.012);
var nega = (5 - (2.5 / (45816 / (_xmouse * _ymouse))));
k++;
this.duplicateMovieClip("blob", k);
blob._x = _root._xmouse;
blob._y = _root._ymouse;
if (_xmouse <= 249) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = posx;
blob._height = posx;
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = 2.5;
blob._height = 2.5;
}
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse <= 214) {
blob._width = posy;
blob._height = posy;
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse >= 214) {
blob._width = negy;
blob._height = negy;
}
}
}
if (_xmouse >= 300) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = negx;
blob._height = negx;
}
}
}
if (_xmouse <= 249) {
if (_ymouse < 184) {
blob._width = nega;
blob._height = nega;
}
}
if (_xmouse >= 170) {
if (_xmouse <= 250) {
if (_ymouse >= 214) {
if (_ymouse <= 290) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 108) {
if (_ymouse <= 184) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 210) {
if (_ymouse <= 292) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 91) {
if (_xmouse <= 170) {
if (_ymouse >= 214) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 170) {
if (_xmouse <= 214) {
if (_ymouse >= 293) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 293) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 380) {
if (_xmouse <= 460) {
if (_ymouse >= 214) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 380) {
if (_xmouse <= 460) {
if (_ymouse >= 41) {
if (_ymouse <= 184) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 41) {
if (_ymouse <= 110) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 0) {
if (_xmouse <= 91) {
if (_ymouse >= 214) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 91) {
if (_xmouse <= 250) {
if (_ymouse >= 360) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 460) {
if (_xmouse <= 550) {
if (_ymouse >= 214) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 460) {
if (_ymouse >= 360) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 460) {
if (_xmouse <= 550) {
if (_ymouse >= 0) {
if (_ymouse <= 184) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 460) {
if (_ymouse >= 0) {
if (_ymouse <= 40) {
blob._width = 5;
blob._height = 5;
}
}
}
}
}
}
}
if (Key.isDown(32)) {
if (i == 0) {
if (j == 0) {
stop();
}
}
if (j <= 0) {
stop();
} else {
circle.gotoAndPlay(1);
}
}
if (Key.isDown(32)) {
if (j >= 1) {
j = Math.floor(j - 1);
}
}
if (j == 6) {
bullets.gotoAndStop(2);
}
if (j == 5) {
bullets.gotoAndStop(3);
}
if (j == 4) {
bullets.gotoAndStop(4);
}
if (j == 3) {
bullets.gotoAndStop(5);
}
if (j == 2) {
bullets.gotoAndStop(6);
}
if (j == 1) {
bullets.gotoAndStop(7);
}
if (j == 0) {
bullets.gotoAndStop(8);
}
if (j == 7) {
bullets.gotoAndStop(1);
}
Mouse.hide();
_root.attachMovie("pointer", "pointer", 10000);
pointer._x = _xmouse;
pointer._y = _ymouse;
Xpos = _xmouse;
Ypos = _ymouse;
circleXpos = circle._x;
circleYpos = circle._y;
x = Xpos - circleXpos;
y = Ypos - circleYpos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
myRotation = circle._rotation;
if (Xpos < circleXpos) {
circle._rotation = 180 - (theta / 0.0175);
} else if (Xpos > circleXpos) {
circle._rotation = theta / 0.0175;
}
prevFrame();
Frame 150
po = 3.6;
pi = 9;
pu = 14.5;
py = 20.5;
if (j > 0) {
if (Key.isDown(32)) {
if (t4des < 10) {
cer = po;
fer = Target4._x;
ger = Target4._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = pi;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = pu;
fer = Target4._x;
ger = Target4._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = py;
fer = Target4._x;
ger = Target4._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target4)) {
t4des = t4des + 1;
hits = hits + 1;
hit = hit;
}
}
}
if (Key.isDown(32)) {
if (t5des < 10) {
cer = po;
fer = Target5._x;
ger = Target5._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = pi;
fer = Target5._x;
ger = Target5._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = pu;
fer = Target5._x;
ger = Target5._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = py;
fer = Target5._x;
ger = Target5._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target5)) {
t5des = t5des + 1;
hits = hits + 1;
hit = hit;
}
}
}
if (Key.isDown(32)) {
if (t6des < 10) {
cer = po;
fer = Target6._x;
ger = Target6._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = pi;
fer = Target6._x;
ger = Target6._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = pu;
fer = Target6._x;
ger = Target6._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = py;
fer = Target6._x;
ger = Target6._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target6)) {
t6des = t6des + 1;
hits = hits + 1;
hit = hit;
}
}
}
}
if (Key.isDown(32)) {
if (j == 0) {
ahits = ahits + 1;
}
}
if (j == 1) {
ahits = 0;
}
if (j == 2) {
ahits = 0;
}
if (j == 3) {
ahits = 0;
}
if (j == 4) {
ahits = 0;
}
if (j == 5) {
ahits = 0;
}
if (j == 6) {
ahits = 0;
}
if (j == 7) {
ahits = 0;
}
if (Key.isDown(32)) {
if (ahits == 1) {
shots = shots + 1;
if (t4des < 10) {
cer = po;
fer = Target4._x;
ger = Target4._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = pi;
fer = Target4._x;
ger = Target4._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = pu;
fer = Target4._x;
ger = Target4._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = py;
fer = Target4._x;
ger = Target4._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target4)) {
t4des = t4des + 1;
hits = hits + 1;
hit = hit;
}
}
}
if (Key.isDown(32)) {
if (ahits == 1) {
if (t5des < 10) {
cer = po;
fer = Target5._x;
ger = Target5._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = pi;
fer = Target5._x;
ger = Target5._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = pu;
fer = Target5._x;
ger = Target5._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = py;
fer = Target5._x;
ger = Target5._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target5)) {
t5des = t5des + 1;
hits = hits + 1;
hit = hit;
}
}
}
}
if (Key.isDown(32)) {
if (ahits == 1) {
if (t6des < 10) {
cer = po;
fer = Target6._x;
ger = Target6._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = pi;
fer = Target6._x;
ger = Target6._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = pu;
fer = Target6._x;
ger = Target6._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = py;
fer = Target6._x;
ger = Target6._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target6)) {
t6des = t6des + 1;
hits = hits + 1;
hit = hit;
}
}
}
}
}
function pausen() {
pauseTime = getTimer() / 1000;
timing = false;
}
function unpausen() {
unpauseTime = getTimer() / 1000;
pauseLength = (unpauseTime - pauseTime) + pauseLength;
timing = true;
}
missionstat = "Bronze";
if (Key.isDown(40)) {
pausen();
gotoAndStop (154);
}
minuk = "3" - minu;
hour = "00" - hours;
mi = "2" - minu;
se = "59" - sec;
mill = "99" - milli;
tt = tt + tz;
if (Key.isDown(32)) {
tz = 1;
}
if (tt == 0) {
if (Key.isDown(32)) {
unpausen();
}
}
if (minuk == 0) {
if (sec == 0) {
if (mill) {
gotoAndStop (153);
}
}
}
_root.onEnterFrame = function () {
totalTime = (getTimer() / 1000) - pauseLength;
goTime = totalTime - buttonPressTime;
if (timing) {
hours = Math.floor(goTime / 3600);
minu = Math.floor(((goTime / 3600) - hours) * 60);
sec = Math.floor(((((goTime / 3600) - hours) * 60) - minu) * 60);
milli = Math.floor((gotime - ((sec + (minu * 60)) + (hours * 3600))) * 100);
if (sec < 10) {
sec = "0" + sec;
}
if (minu < 10) {
minu = "0" + minu;
}
if (hours < 10) {
hours = "0" + hours;
}
if (milli < 10) {
milli = "0" + milli;
}
}
};
if (i == 0) {
if (j == 0) {
gotoAndStop (153);
}
}
accuracy = Math.floor((hits / shots) * 100);
points = 0 + hit;
if (i > 0) {
if (j > 0) {
if (Key.isDown(32)) {
shots = shots + 1;
}
}
}
if (Key.isDown(32)) {
if (j == 0) {
ahits = ahits + 1;
}
}
if (j == 1) {
ahits = 0;
}
if (j == 2) {
ahits = 0;
}
if (j == 3) {
ahits = 0;
}
if (j == 4) {
ahits = 0;
}
if (j == 5) {
ahits = 0;
}
if (j == 6) {
ahits = 0;
}
if (j == 7) {
ahits = 0;
}
if (Key.isDown(32)) {
if (ahits == 1) {
shots = shots + 1;
if (_root.az.hitTest(_root.Target.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target.tb)) {
hit = hit + 1;
}
if (i == 0) {
if (j == 0) {
gotoAndStop (153);
}
}
accuracy = Math.floor((hits / shots) * 100);
points = 0 + hit;
if (i > 0) {
if (j > 0) {
if (Key.isDown(32)) {
shots = shots + 1;
}
}
}
if (t1des == 10) {
Target.gotoAndStop(2);
za = 1;
}
if (t2des == 10) {
Target2.gotoAndStop(2);
zb = 1;
}
if (t3des == 10) {
Target3.gotoAndStop(2);
zc = 1;
}
if (t1des == 10) {
if (t2des == 10) {
if (t3des == 10) {
t1des = 0;
t2des = 0;
t3des = 0;
gotoAndStop (150);
}
}
}
if (t4des == 10) {
Target4.gotoAndStop(2);
zd = 1;
}
if (t5des == 10) {
Target5.gotoAndStop(2);
ze = 1;
}
if (t6des == 10) {
Target6.gotoAndStop(2);
zf = 1;
}
if (t4des == 10) {
if (t5des == 10) {
if (t6des == 10) {
gotoAndStop (152);
}
}
}
if (t1des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t2des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t3des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t4des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t5des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t6des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (_root.az.hitTest(_root.Target.tout)) {
t1des = t1des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target2.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target2.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target2.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target2.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target2.tout)) {
t2des = t2des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target3.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target3.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target3.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target3.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target3.tout)) {
t3des = t3des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target4.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target4.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target4.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target4.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target4.tout)) {
t4des = t4des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target5.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target5.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target5.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target5.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target5.tout)) {
t5des = t5des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target6.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target6.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target6.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target6.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target6.tout)) {
t6des = t6des + 1;
hits = hits + 1;
hit = hit;
}
}
}
if (t1des == 10) {
Target.gotoAndStop(2);
za = 1;
}
if (t2des == 10) {
Target2.gotoAndStop(2);
zb = 1;
}
if (t3des == 10) {
Target3.gotoAndStop(2);
zc = 1;
}
if (t1des == 10) {
if (t2des == 10) {
if (t3des == 10) {
t1des = 0;
t2des = 0;
t3des = 0;
gotoAndStop (150);
}
}
}
if (t4des == 10) {
Target4.gotoAndStop(2);
zd = 1;
}
if (t5des == 10) {
Target5.gotoAndStop(2);
ze = 1;
}
if (t6des == 10) {
Target6.gotoAndStop(2);
zf = 1;
}
if (t4des == 10) {
if (t5des == 10) {
if (t6des == 10) {
gotoAndStop (152);
}
}
}
if (t1des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t2des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t3des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t4des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t5des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t6des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
play();
Frame 151
if (i >= 1) {
if (j >= 1) {
if (Key.isDown(32)) {
var posx = (5 - (0.01 * _xmouse));
var negx = (((2.5 - (0.01 * _xmouse)) + (2 * (0.01 * _xmouse))) - 3.012);
var posy = (5 - (0.0151515151515152 * _ymouse));
var negy = (((2.5 - (0.0151515151515152 * _ymouse)) + (2 * (0.0151515151515152 * _ymouse))) - 3.012);
var nega = (5 - (2.5 / (45816 / (_xmouse * _ymouse))));
k++;
this.duplicateMovieClip("blob", k);
blob._x = _root._xmouse;
blob._y = _root._ymouse;
if (_xmouse <= 249) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = posx;
blob._height = posx;
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = 2.5;
blob._height = 2.5;
}
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse <= 214) {
blob._width = posy;
blob._height = posy;
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse >= 214) {
blob._width = negy;
blob._height = negy;
}
}
}
if (_xmouse >= 300) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = negx;
blob._height = negx;
}
}
}
if (_xmouse <= 249) {
if (_ymouse < 184) {
blob._width = nega;
blob._height = nega;
}
}
if (_xmouse >= 170) {
if (_xmouse <= 250) {
if (_ymouse >= 214) {
if (_ymouse <= 290) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 108) {
if (_ymouse <= 184) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 210) {
if (_ymouse <= 292) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 91) {
if (_xmouse <= 170) {
if (_ymouse >= 214) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 170) {
if (_xmouse <= 214) {
if (_ymouse >= 293) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 293) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 380) {
if (_xmouse <= 460) {
if (_ymouse >= 214) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 380) {
if (_xmouse <= 460) {
if (_ymouse >= 41) {
if (_ymouse <= 184) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 41) {
if (_ymouse <= 110) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 0) {
if (_xmouse <= 91) {
if (_ymouse >= 214) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 91) {
if (_xmouse <= 250) {
if (_ymouse >= 360) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 460) {
if (_xmouse <= 550) {
if (_ymouse >= 214) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 460) {
if (_ymouse >= 360) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 460) {
if (_xmouse <= 550) {
if (_ymouse >= 0) {
if (_ymouse <= 184) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 460) {
if (_ymouse >= 0) {
if (_ymouse <= 40) {
blob._width = 5;
blob._height = 5;
}
}
}
}
}
}
}
if (Key.isDown(32)) {
if (i == 0) {
if (j == 0) {
stop();
}
}
if (j <= 0) {
stop();
} else {
circle.gotoAndPlay(1);
}
}
if (Key.isDown(32)) {
if (j >= 1) {
j = Math.floor(j - 1);
}
}
if (j == 6) {
bullets.gotoAndStop(2);
}
if (j == 5) {
bullets.gotoAndStop(3);
}
if (j == 4) {
bullets.gotoAndStop(4);
}
if (j == 3) {
bullets.gotoAndStop(5);
}
if (j == 2) {
bullets.gotoAndStop(6);
}
if (j == 1) {
bullets.gotoAndStop(7);
}
if (j == 0) {
bullets.gotoAndStop(8);
}
if (j == 7) {
bullets.gotoAndStop(1);
}
Mouse.hide();
_root.attachMovie("pointer", "pointer", 10000);
pointer._x = _xmouse;
pointer._y = _ymouse;
Xpos = _xmouse;
Ypos = _ymouse;
circleXpos = circle._x;
circleYpos = circle._y;
x = Xpos - circleXpos;
y = Ypos - circleYpos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
myRotation = circle._rotation;
if (Xpos < circleXpos) {
circle._rotation = 180 - (theta / 0.0175);
} else if (Xpos > circleXpos) {
circle._rotation = theta / 0.0175;
}
prevFrame();
Frame 152
Mouse.show();
stop();
stopAllSounds();
my_sound = new Sound();
my_sound.attachSound("accomplished.mp3");
my_sound.start(1, 1);
Frame 153
Mouse.show();
stop();
stopAllSounds();
my_sound = new Sound();
my_sound.attachSound("failed.wav");
my_sound.start(1, 1);
Frame 154
Mouse.show();
left = 98 - shots;
stop();
Frame 156
Stage.scaleMode = "perfectFit";
stopAllSounds();
Instance of Symbol 366 MovieClip "pointer" in Frame 156
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
Mouse.hide();
_root.attachMovie("blob", "blob", 10000);
blob._x = _xmouse;
blob._y = _ymouse;
}
}
onClipEvent (mouseUp) {
updateAfterEvent();
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Frame 157
function pausen() {
pauseTime = getTimer() / 1000;
timing = false;
}
function unpausen() {
unpauseTime = getTimer() / 1000;
pauseLength = (unpauseTime - pauseTime) + pauseLength;
timing = true;
}
_root.onEnterFrame = function () {
totalTime = (getTimer() / 1000) - pauseLength;
goTime = totalTime - buttonPressTime;
if (timing) {
hours = Math.floor(goTime / 3600);
minu = Math.floor(((goTime / 3600) - hours) * 60);
sec = Math.floor(((((goTime / 3600) - hours) * 60) - minu) * 60);
milli = Math.floor((gotime - ((sec + (minu * 60)) + (hours * 3600))) * 100);
if (sec < 10) {
sec = "0" + sec;
}
if (minu < 10) {
minu = "0" + minu;
}
if (hours < 10) {
hours = "0" + hours;
}
if (milli < 10) {
milli = "0" + milli;
}
}
hour = -hours;
mi = "2" - minu;
se = "59" - sec;
mill = "99" - milli;
if (sec < 10) {
sec = "0" + sec;
}
if (minu < 10) {
minu = "0" + minu;
}
if (hours < 10) {
hours = "0" + hours;
}
if (milli < 10) {
milli = "0" + milli;
}
};
if (mi == 0) {
if (sec == 0) {
if (mill == 0) {
gotoAndStop (151);
}
}
}
ok2.onRelease = function () {
unpausen();
};
Frame 158
bnl = sef;
ghtr = ghtr;
if (Key.isDown(32)) {
ghtr = ghtr + 1;
if (ghtr == 1) {
unpausen();
Target.gotoAndPlay(2);
Target2.gotoAndPlay(2);
}
}
if (sef > 2) {
restart();
}
if (j > 0) {
if (Key.isDown(32)) {
if (t1des < 10) {
if (sef <= 1.25) {
cer = 75 - Math.floor(sef * b);
b = 40.8;
a = 12.32;
c = 80;
vler = Math.floor(sef * c);
ytar = Math.floor(sef * a);
if (sef > 1.25) {
restart();
}
fer = vler + Target._x;
ger = ytar + Target._y;
}
if (sef > 1.25) {
if (sef <= 1.666666666666) {
cer = 1.7;
b = 194.3;
a = 224.1;
c = 80;
vler = Math.floor(c);
ytar = Math.floor(a);
if (sef > 1.25) {
restart();
}
fer = vler + Target._x;
ger = ytar + Target._y;
}
}
if (sef > 1.66666666666667) {
if (sef <= 2.9166666666666) {
cer = 24 + Math.floor(sef * b);
b = 40.8;
a = 12.32;
c = 80;
vler = Math.floor(sef * c);
ytar = Math.floor(sef * a);
if (sef > 1.25) {
restart();
}
fer = vler + Target._x;
ger = ytar + Target._y;
}
}
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target)) {
t1des = t1des + 1;
hits = hits + 1;
hit = hit;
}
}
}
if (Key.isDown(32)) {
if (t2des < 10) {
cer = 9.3;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target2)) {
t2des = t2des + 1;
hits = hits + 1;
hit = hit;
}
}
}
}
if (Key.isDown(32)) {
if (j == 0) {
ahits = ahits + 1;
}
}
if (j == 1) {
ahits = 0;
}
if (j == 2) {
ahits = 0;
}
if (j == 3) {
ahits = 0;
}
if (j == 4) {
ahits = 0;
}
if (j == 5) {
ahits = 0;
}
if (j == 6) {
ahits = 0;
}
if (j == 7) {
ahits = 0;
}
if (Key.isDown(32)) {
if (ahits == 1) {
shots = shots + 1;
if (t1des < 10) {
cer = 9.3;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target)) {
t1des = t1des + 1;
hits = hits + 1;
hit = hit;
}
}
}
if (Key.isDown(32)) {
if (ahits == 1) {
if (t2des < 10) {
cer = 9.3;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target2)) {
t2des = t2des + 1;
hits = hits + 1;
hit = hit;
}
}
}
}
}
if (i == 0) {
if (j == 0) {
gotoAndStop (153);
}
}
accuracy = Math.floor((points / shots) * 100);
points = 0 + hit;
if (i > 0) {
if (j > 0) {
if (Key.isDown(32)) {
shots = shots + 1;
}
}
}
if (j > 0) {
if (Key.isDown(32)) {
}
}
if (Key.isDown(32)) {
if (j == 0) {
ahits = ahits + 1;
}
}
if (j == 1) {
ahits = 0;
}
if (j == 2) {
ahits = 0;
}
if (j == 3) {
ahits = 0;
}
if (j == 4) {
ahits = 0;
}
if (j == 5) {
ahits = 0;
}
if (j == 6) {
ahits = 0;
}
if (j == 7) {
ahits = 0;
}
if (Key.isDown(32)) {
if (ahits == 1) {
}
}
if (t1des == 20) {
Target.gotoAndStop(40);
ta = 1;
}
if (t2des == 20) {
Target2.gotoAndStop(40);
tb = 1;
}
if (t3des == 20) {
Target3.gotoAndStop(41);
tc = 1;
}
if (t1des == 20) {
if (t2des == 20) {
gotoAndPlay (160);
}
}
if (t1des == 20) {
if (t2des == 20) {
if (t3des == 20) {
gotoAndStop (162);
}
}
}
if (t1des == 20) {
tar = (ta + tb) + tc;
}
if (t2des == 20) {
tar = (ta + tb) + tc;
}
if (t3des == 20) {
tar = (ta + tb) + tc;
}
function unpausenn() {
unpauseTimen = getTimer() / 1000;
pauseLengthn = (unpauseTimen - pauseTimen) + pauseLengthn;
timingn = true;
}
function restart() {
hourf = "00";
minf = "00";
sef = "00";
millf = "00";
buttonPressTimen = (getTimer() / 1000) - pauseLengthn;
}
function pausen() {
pauseTime = getTimer() / 1000;
timing = false;
}
function unpausen() {
unpauseTime = getTimer() / 1000;
pauseLength = (unpauseTime - pauseTime) + pauseLength;
timing = true;
}
missionstat = "Silver";
if (Key.isDown(40)) {
pausen();
gotoAndStop (164);
}
_root.onEnterFrame = function () {
totalTimen = (getTimer() / 1000) - pauseLengthn;
goTimen = totalTimen - buttonPressTimen;
if (timing) {
hourf = Math.floor(goTimen / 3600);
minf = Math.floor(((goTimen / 3600) - hourf) * 60);
sef = Math.floor(((((goTimen / 3600) - hourf) * 60) - minf) * 60);
millf = Math.floor((gotimen - ((sef + (minf * 60)) + (hourf * 3600))) * 100);
}
};
if (Key.isDown(32)) {
}
minuk = "1" - minu;
hour = "00" - hours;
mi = -minu;
se = "59" - sec;
mill = "99" - milli;
tt = tt + td;
if (Key.isDown(32)) {
td = 1;
}
if (tt == 0) {
if (Key.isDown(32)) {
unpausen();
}
}
if (minuk == 0) {
if (sec == 0) {
if (mill == 0) {
gotoAndStop (163);
}
}
}
_root.onEnterFrame = function () {
totalTime = (getTimer() / 1000) - pauseLength;
goTime = totalTime - buttonPressTime;
if (timing) {
hours = Math.floor(goTime / 3600);
minu = Math.floor(((goTime / 3600) - hours) * 60);
sec = Math.floor(((((goTime / 3600) - hours) * 60) - minu) * 60);
milli = Math.floor((gotime - ((sec + (minu * 60)) + (hours * 3600))) * 100);
if (sec < 10) {
sec = "0" + sec;
}
if (minu < 10) {
minu = "0" + minu;
}
if (hours < 10) {
hours = "0" + hours;
}
if (milli < 10) {
milli = "0" + milli;
}
}
};
Stage.scaleMode = "perfectFit";
play();
Frame 159
if (i >= 1) {
if (j >= 1) {
if (Key.isDown(32)) {
var posx = (5 - (0.01 * _xmouse));
var negx = (((2.5 - (0.01 * _xmouse)) + (2 * (0.01 * _xmouse))) - 3.012);
var posy = (5 - (0.0151515151515152 * _ymouse));
var negy = (((2.5 - (0.0151515151515152 * _ymouse)) + (2 * (0.0151515151515152 * _ymouse))) - 3.012);
var nega = (5 - (2.5 / (45816 / (_xmouse * _ymouse))));
k++;
this.duplicateMovieClip("blob", k);
blob._x = _root._xmouse;
blob._y = _root._ymouse;
if (_xmouse <= 249) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = posx;
blob._height = posx;
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = 2.5;
blob._height = 2.5;
}
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse <= 214) {
blob._width = posy;
blob._height = posy;
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse >= 214) {
blob._width = negy;
blob._height = negy;
}
}
}
if (_xmouse >= 300) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = negx;
blob._height = negx;
}
}
}
if (_xmouse <= 249) {
if (_ymouse < 184) {
blob._width = nega;
blob._height = nega;
}
}
if (_xmouse >= 170) {
if (_xmouse <= 250) {
if (_ymouse >= 214) {
if (_ymouse <= 290) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 108) {
if (_ymouse <= 184) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 210) {
if (_ymouse <= 292) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 91) {
if (_xmouse <= 170) {
if (_ymouse >= 214) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 170) {
if (_xmouse <= 214) {
if (_ymouse >= 293) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 293) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 380) {
if (_xmouse <= 460) {
if (_ymouse >= 214) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 380) {
if (_xmouse <= 460) {
if (_ymouse >= 41) {
if (_ymouse <= 184) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 41) {
if (_ymouse <= 110) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 0) {
if (_xmouse <= 91) {
if (_ymouse >= 214) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 91) {
if (_xmouse <= 250) {
if (_ymouse >= 360) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 460) {
if (_xmouse <= 550) {
if (_ymouse >= 214) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 460) {
if (_ymouse >= 360) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 460) {
if (_xmouse <= 550) {
if (_ymouse >= 0) {
if (_ymouse <= 184) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 460) {
if (_ymouse >= 0) {
if (_ymouse <= 40) {
blob._width = 5;
blob._height = 5;
}
}
}
}
}
}
}
if (Key.isDown(32)) {
if (i == 0) {
if (j == 0) {
stop();
}
}
if (j <= 0) {
stop();
} else {
circle.gotoAndPlay(1);
}
}
if (Key.isDown(32)) {
if (j >= 1) {
j = Math.floor(j - 1);
}
}
if (j == 6) {
bullets.gotoAndStop(2);
}
if (j == 5) {
bullets.gotoAndStop(3);
}
if (j == 4) {
bullets.gotoAndStop(4);
}
if (j == 3) {
bullets.gotoAndStop(5);
}
if (j == 2) {
bullets.gotoAndStop(6);
}
if (j == 1) {
bullets.gotoAndStop(7);
}
if (j == 0) {
bullets.gotoAndStop(8);
}
if (j == 7) {
bullets.gotoAndStop(1);
}
Mouse.hide();
_root.attachMovie("pointer", "pointer", 10000);
pointer._x = _xmouse;
pointer._y = _ymouse;
Xpos = _xmouse;
Ypos = _ymouse;
circleXpos = circle._x;
circleYpos = circle._y;
x = Xpos - circleXpos;
y = Ypos - circleYpos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
myRotation = circle._rotation;
if (Xpos < circleXpos) {
circle._rotation = 180 - (theta / 0.0175);
} else if (Xpos > circleXpos) {
circle._rotation = theta / 0.0175;
}
prevFrame();
Frame 160
function pausen() {
pauseTime = getTimer() / 1000;
timing = false;
}
function unpausen() {
unpauseTime = getTimer() / 1000;
pauseLength = (unpauseTime - pauseTime) + pauseLength;
timing = true;
}
missionstat = "Bronze";
if (Key.isDown(40)) {
pausen();
gotoAndStop (154);
}
minuk = "3" - minu;
hour = "00" - hours;
mi = "2" - minu;
se = "59" - sec;
mill = "99" - milli;
tt = tt + tz;
if (Key.isDown(32)) {
tz = 1;
}
if (tt == 0) {
if (Key.isDown(32)) {
unpausen();
}
}
if (minuk == 0) {
if (sec == 0) {
if (mill) {
gotoAndStop (153);
}
}
}
_root.onEnterFrame = function () {
totalTime = (getTimer() / 1000) - pauseLength;
goTime = totalTime - buttonPressTime;
if (timing) {
hours = Math.floor(goTime / 3600);
minu = Math.floor(((goTime / 3600) - hours) * 60);
sec = Math.floor(((((goTime / 3600) - hours) * 60) - minu) * 60);
milli = Math.floor((gotime - ((sec + (minu * 60)) + (hours * 3600))) * 100);
if (sec < 10) {
sec = "0" + sec;
}
if (minu < 10) {
minu = "0" + minu;
}
if (hours < 10) {
hours = "0" + hours;
}
if (milli < 10) {
milli = "0" + milli;
}
}
};
if (Key.isDown(32)) {
cer = 9.3;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target)) {
t1des = t1des + 1;
hits = hits + 1;
hit = hit;
}
}
if (Key.isDown(32)) {
cer = 9.3;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target2)) {
t2des = t2des + 1;
hits = hits + 1;
hit = hit;
}
}
if (Key.isDown(32)) {
cer = 9.3;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target3)) {
t3des = t3des + 1;
hits = hits + 1;
hit = hit;
}
}
play();
Frame 161
if (i >= 1) {
if (j >= 1) {
if (Key.isDown(32)) {
var posx = (5 - (0.01 * _xmouse));
var negx = (((2.5 - (0.01 * _xmouse)) + (2 * (0.01 * _xmouse))) - 3.012);
var posy = (5 - (0.0151515151515152 * _ymouse));
var negy = (((2.5 - (0.0151515151515152 * _ymouse)) + (2 * (0.0151515151515152 * _ymouse))) - 3.012);
var nega = (5 - (2.5 / (45816 / (_xmouse * _ymouse))));
k++;
this.duplicateMovieClip("blob", k);
blob._x = _root._xmouse;
blob._y = _root._ymouse;
if (_xmouse <= 249) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = posx;
blob._height = posx;
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = 2.5;
blob._height = 2.5;
}
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse <= 214) {
blob._width = posy;
blob._height = posy;
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse >= 214) {
blob._width = negy;
blob._height = negy;
}
}
}
if (_xmouse >= 300) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = negx;
blob._height = negx;
}
}
}
if (_xmouse <= 249) {
if (_ymouse < 184) {
blob._width = nega;
blob._height = nega;
}
}
if (_xmouse >= 170) {
if (_xmouse <= 250) {
if (_ymouse >= 214) {
if (_ymouse <= 290) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 108) {
if (_ymouse <= 184) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 210) {
if (_ymouse <= 292) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 91) {
if (_xmouse <= 170) {
if (_ymouse >= 214) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 170) {
if (_xmouse <= 214) {
if (_ymouse >= 293) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 293) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 380) {
if (_xmouse <= 460) {
if (_ymouse >= 214) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 380) {
if (_xmouse <= 460) {
if (_ymouse >= 41) {
if (_ymouse <= 184) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 41) {
if (_ymouse <= 110) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 0) {
if (_xmouse <= 91) {
if (_ymouse >= 214) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 91) {
if (_xmouse <= 250) {
if (_ymouse >= 360) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 460) {
if (_xmouse <= 550) {
if (_ymouse >= 214) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 460) {
if (_ymouse >= 360) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 460) {
if (_xmouse <= 550) {
if (_ymouse >= 0) {
if (_ymouse <= 184) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 460) {
if (_ymouse >= 0) {
if (_ymouse <= 40) {
blob._width = 5;
blob._height = 5;
}
}
}
}
}
}
}
if (Key.isDown(32)) {
if (i == 0) {
if (j == 0) {
stop();
}
}
if (j <= 0) {
stop();
} else {
circle.gotoAndPlay(1);
}
}
if (Key.isDown(32)) {
if (j >= 1) {
j = Math.floor(j - 1);
}
}
if (j == 6) {
bullets.gotoAndStop(2);
}
if (j == 5) {
bullets.gotoAndStop(3);
}
if (j == 4) {
bullets.gotoAndStop(4);
}
if (j == 3) {
bullets.gotoAndStop(5);
}
if (j == 2) {
bullets.gotoAndStop(6);
}
if (j == 1) {
bullets.gotoAndStop(7);
}
if (j == 0) {
bullets.gotoAndStop(8);
}
if (j == 7) {
bullets.gotoAndStop(1);
}
Mouse.hide();
_root.attachMovie("pointer", "pointer", 10000);
pointer._x = _xmouse;
pointer._y = _ymouse;
Xpos = _xmouse;
Ypos = _ymouse;
circleXpos = circle._x;
circleYpos = circle._y;
x = Xpos - circleXpos;
y = Ypos - circleYpos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
myRotation = circle._rotation;
if (Xpos < circleXpos) {
circle._rotation = 180 - (theta / 0.0175);
} else if (Xpos > circleXpos) {
circle._rotation = theta / 0.0175;
}
prevFrame();
Frame 162
Mouse.show();
stop();
stopAllSounds();
my_sound = new Sound();
my_sound.attachSound("accomplished.mp3");
my_sound.start(1, 1);
Frame 163
Mouse.show();
stop();
stopAllSounds();
my_sound = new Sound();
my_sound.attachSound("failed.wav");
my_sound.start(1, 1);
Frame 164
Mouse.show();
left = 98 - shots;
stop();
Frame 165
Stage.scaleMode = "perfectFit";
stopAllSounds();
Instance of Symbol 366 MovieClip "pointer" in Frame 165
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
Mouse.hide();
_root.attachMovie("blob", "blob", 10000);
blob._x = _xmouse;
blob._y = _ymouse;
}
}
onClipEvent (mouseUp) {
updateAfterEvent();
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Frame 166
function pausen() {
pauseTime = getTimer() / 1000;
timing = false;
}
function unpausen() {
unpauseTime = getTimer() / 1000;
pauseLength = (unpauseTime - pauseTime) + pauseLength;
timing = true;
}
_root.onEnterFrame = function () {
totalTime = (getTimer() / 1000) - pauseLength;
goTime = totalTime - buttonPressTime;
if (timing) {
hours = Math.floor(goTime / 3600);
minu = Math.floor(((goTime / 3600) - hours) * 60);
sec = Math.floor(((((goTime / 3600) - hours) * 60) - minu) * 60);
milli = Math.floor((gotime - ((sec + (minu * 60)) + (hours * 3600))) * 100);
if (sec < 10) {
sec = "0" + sec;
}
if (minu < 10) {
minu = "0" + minu;
}
if (hours < 10) {
hours = "0" + hours;
}
if (milli < 10) {
milli = "0" + milli;
}
}
hour = -hours;
mi = "2" - minu;
se = "59" - sec;
mill = "99" - milli;
if (sec < 10) {
sec = "0" + sec;
}
if (minu < 10) {
minu = "0" + minu;
}
if (hours < 10) {
hours = "0" + hours;
}
if (milli < 10) {
milli = "0" + milli;
}
};
if (mi == 0) {
if (sec == 0) {
if (mill == 0) {
gotoAndStop (172);
}
}
}
ok2.onRelease = function () {
unpausen();
};
Frame 167
if (Key.isDown(32)) {
cer = 9.3;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target)) {
t1des = t1des + 1;
hits = hits + 1;
hit = hit;
}
}
if (Key.isDown(32)) {
cer = 9.3;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target2)) {
t2des = t2des + 1;
hits = hits + 1;
hit = hit;
}
}
if (Key.isDown(32)) {
cer = 9.3;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target3)) {
t3des = t3des + 1;
hits = hits + 1;
hit = hit;
}
}
if (i == 0) {
if (j == 0) {
gotoAndStop (172);
}
}
if (j > 0) {
if (Key.isDown(32)) {
if (_root.az.hitTest(_root.Target.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target.tout)) {
t1des = t1des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target2.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target2.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target2.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target2.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target2.tout)) {
t2des = t2des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target3.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target3.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target3.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target3.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target3.tout)) {
t3des = t3des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target4.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target4.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target4.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target4.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target4.tout)) {
t4des = t4des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target5.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target5.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target5.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target5.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target5.tout)) {
t5des = t5des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target6.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target6.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target6.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target6.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target6.tout)) {
t5des = t5des + 1;
hits = hits + 1;
hit = hit;
}
}
}
accuracy = Math.floor((hits / shots) * 100);
points = 0 + hit;
if (i > 0) {
if (j > 0) {
if (Key.isDown(32)) {
shots = shots + 1;
}
}
}
if (Key.isDown(32)) {
if (j == 0) {
ahits = ahits + 1;
}
}
if (j == 1) {
ahits = 0;
}
if (j == 2) {
ahits = 0;
}
if (j == 3) {
ahits = 0;
}
if (j == 4) {
ahits = 0;
}
if (j == 5) {
ahits = 0;
}
if (j == 6) {
ahits = 0;
}
if (j == 7) {
ahits = 0;
}
if (Key.isDown(32)) {
if (ahits == 1) {
shots = shots + 1;
if (_root.az.hitTest(_root.Target.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target.tout)) {
t1des = t1des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target2.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target2.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target2.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target2.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target2.tout)) {
t2des = t2des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target3.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target3.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target3.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target3.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target3.tout)) {
t3des = t3des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target4.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target4.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target4.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target4.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target4.tout)) {
t4des = t4des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target5.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target5.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target5.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target5.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target5.tout)) {
t5des = t5des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target6.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target6.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target6.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target6.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target6.tout)) {
t6des = t6des + 1;
hits = hits + 1;
hit = hit;
}
}
}
if (t1des == 10) {
Target.gotoAndStop(2);
za = 1;
}
if (t2des == 10) {
Target2.gotoAndStop(2);
zb = 1;
}
if (t3des == 10) {
Target3.gotoAndStop(2);
zc = 1;
}
if (t1des == 10) {
if (t2des == 10) {
if (t3des == 10) {
t1des = 0;
t2des = 0;
t3des = 0;
gotoAndStop (169);
}
}
}
if (t4des == 10) {
Target4.gotoAndStop(2);
zd = 1;
}
if (t5des == 10) {
Target5.gotoAndStop(2);
ze = 1;
}
if (t6des == 10) {
Target6.gotoAndStop(2);
zf = 1;
}
if (t4des == 10) {
if (t5des == 10) {
if (t6des == 10) {
gotoAndStop (171);
}
}
}
if (t1des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t2des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t3des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t4des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t5des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t6des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
function pausen() {
pauseTime = getTimer() / 1000;
timing = false;
}
function unpausen() {
unpauseTime = getTimer() / 1000;
pauseLength = (unpauseTime - pauseTime) + pauseLength;
timing = true;
}
missionstat = "Bronze";
if (Key.isDown(40)) {
pausen();
gotoAndStop (173);
}
minuk = "3" - minu;
hour = "00" - hours;
mi = "2" - minu;
se = "59" - sec;
mill = "99" - milli;
tt = tt + tz;
if (Key.isDown(32)) {
tz = 1;
}
if (tt == 0) {
if (Key.isDown(32)) {
unpausen();
}
}
if (minuk == 0) {
if (sec == 0) {
if (mill == 0) {
gotoAndStop (172);
}
}
}
_root.onEnterFrame = function () {
totalTime = (getTimer() / 1000) - pauseLength;
goTime = totalTime - buttonPressTime;
if (timing) {
hours = Math.floor(goTime / 3600);
minu = Math.floor(((goTime / 3600) - hours) * 60);
sec = Math.floor(((((goTime / 3600) - hours) * 60) - minu) * 60);
milli = Math.floor((gotime - ((sec + (minu * 60)) + (hours * 3600))) * 100);
if (sec < 10) {
sec = "0" + sec;
}
if (minu < 10) {
minu = "0" + minu;
}
if (hours < 10) {
hours = "0" + hours;
}
if (milli < 10) {
milli = "0" + milli;
}
}
};
Stage.scaleMode = "perfectFit";
play();
Frame 168
if (i >= 1) {
if (j >= 1) {
if (Key.isDown(32)) {
var posx = (5 - (0.01 * _xmouse));
var negx = (((2.5 - (0.01 * _xmouse)) + (2 * (0.01 * _xmouse))) - 3.012);
var posy = (5 - (0.0151515151515152 * _ymouse));
var negy = (((2.5 - (0.0151515151515152 * _ymouse)) + (2 * (0.0151515151515152 * _ymouse))) - 3.012);
var nega = (5 - (2.5 / (45816 / (_xmouse * _ymouse))));
k++;
this.duplicateMovieClip("blob", k);
blob._x = _root._xmouse;
blob._y = _root._ymouse;
if (_xmouse <= 249) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = posx;
blob._height = posx;
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = 2.5;
blob._height = 2.5;
}
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse <= 214) {
blob._width = posy;
blob._height = posy;
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse >= 214) {
blob._width = negy;
blob._height = negy;
}
}
}
if (_xmouse >= 300) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = negx;
blob._height = negx;
}
}
}
if (_xmouse <= 249) {
if (_ymouse < 184) {
blob._width = nega;
blob._height = nega;
}
}
if (_xmouse >= 170) {
if (_xmouse <= 250) {
if (_ymouse >= 214) {
if (_ymouse <= 290) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 108) {
if (_ymouse <= 184) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 210) {
if (_ymouse <= 292) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 91) {
if (_xmouse <= 170) {
if (_ymouse >= 214) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 170) {
if (_xmouse <= 214) {
if (_ymouse >= 293) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 293) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 380) {
if (_xmouse <= 460) {
if (_ymouse >= 214) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 380) {
if (_xmouse <= 460) {
if (_ymouse >= 41) {
if (_ymouse <= 184) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 41) {
if (_ymouse <= 110) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 0) {
if (_xmouse <= 91) {
if (_ymouse >= 214) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 91) {
if (_xmouse <= 250) {
if (_ymouse >= 360) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 460) {
if (_xmouse <= 550) {
if (_ymouse >= 214) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 460) {
if (_ymouse >= 360) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 460) {
if (_xmouse <= 550) {
if (_ymouse >= 0) {
if (_ymouse <= 184) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 460) {
if (_ymouse >= 0) {
if (_ymouse <= 40) {
blob._width = 5;
blob._height = 5;
}
}
}
}
}
}
}
if (Key.isDown(32)) {
if (i == 0) {
if (j == 0) {
stop();
}
}
if (j <= 0) {
stop();
} else {
circle.gotoAndPlay(1);
}
}
if (Key.isDown(32)) {
if (j >= 1) {
j = Math.floor(j - 1);
}
}
if (j == 6) {
bullets.gotoAndStop(2);
}
if (j == 5) {
bullets.gotoAndStop(3);
}
if (j == 4) {
bullets.gotoAndStop(4);
}
if (j == 3) {
bullets.gotoAndStop(5);
}
if (j == 2) {
bullets.gotoAndStop(6);
}
if (j == 1) {
bullets.gotoAndStop(7);
}
if (j == 0) {
bullets.gotoAndStop(8);
}
if (j == 7) {
bullets.gotoAndStop(1);
}
Mouse.hide();
_root.attachMovie("pointer", "pointer", 10000);
pointer._x = _xmouse;
pointer._y = _ymouse;
Xpos = _xmouse;
Ypos = _ymouse;
circleXpos = circle._x;
circleYpos = circle._y;
x = Xpos - circleXpos;
y = Ypos - circleYpos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
myRotation = circle._rotation;
if (Xpos < circleXpos) {
circle._rotation = 180 - (theta / 0.0175);
} else if (Xpos > circleXpos) {
circle._rotation = theta / 0.0175;
}
prevFrame();
Frame 169
if (Key.isDown(32)) {
cer = 3.5;
fer = Target4._x;
ger = Target4._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 9;
fer = Target4._x;
ger = Target4._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 14.5;
fer = Target4._x;
ger = Target4._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 20;
fer = Target4._x;
ger = Target4._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target4)) {
t4des = t4des + 1;
hits = hits + 1;
hit = hit;
}
}
if (Key.isDown(32)) {
cer = 3.5;
fer = Target5._x;
ger = Target5._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 9;
fer = Target5._x;
ger = Target5._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 14.5;
fer = Target5._x;
ger = Target5._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 20;
fer = Target5._x;
ger = Target5._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target5)) {
t5des = t5des + 1;
hits = hits + 1;
hit = hit;
}
}
if (Key.isDown(32)) {
cer = 3.5;
fer = Target6._x;
ger = Target6._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 9;
fer = Target6._x;
ger = Target6._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 14.5;
fer = Target6._x;
ger = Target6._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 20;
fer = Target6._x;
ger = Target6._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target6)) {
t6des = t6des + 1;
hits = hits + 1;
hit = hit;
}
}
function pausen() {
pauseTime = getTimer() / 1000;
timing = false;
}
function unpausen() {
unpauseTime = getTimer() / 1000;
pauseLength = (unpauseTime - pauseTime) + pauseLength;
timing = true;
}
missionstat = "Bronze";
if (Key.isDown(40)) {
pausen();
gotoAndStop (173);
}
minuk = "3" - minu;
hour = "00" - hours;
mi = "2" - minu;
se = "59" - sec;
mill = "99" - milli;
tt = tt + tz;
if (Key.isDown(32)) {
tz = 1;
}
if (tt == 0) {
if (Key.isDown(32)) {
unpausen();
}
}
if (minuk == 0) {
if (sec == 0) {
if (mill) {
gotoAndStop (172);
}
}
}
_root.onEnterFrame = function () {
totalTime = (getTimer() / 1000) - pauseLength;
goTime = totalTime - buttonPressTime;
if (timing) {
hours = Math.floor(goTime / 3600);
minu = Math.floor(((goTime / 3600) - hours) * 60);
sec = Math.floor(((((goTime / 3600) - hours) * 60) - minu) * 60);
milli = Math.floor((gotime - ((sec + (minu * 60)) + (hours * 3600))) * 100);
if (sec < 10) {
sec = "0" + sec;
}
if (minu < 10) {
minu = "0" + minu;
}
if (hours < 10) {
hours = "0" + hours;
}
if (milli < 10) {
milli = "0" + milli;
}
}
};
if (i == 0) {
if (j == 0) {
gotoAndStop (172);
}
}
accuracy = Math.floor((hits / shots) * 100);
points = 0 + hit;
if (i > 0) {
if (j > 0) {
if (Key.isDown(32)) {
shots = shots + 1;
}
}
}
if (Key.isDown(32)) {
if (j == 0) {
ahits = ahits + 1;
}
}
if (j == 1) {
ahits = 0;
}
if (j == 2) {
ahits = 0;
}
if (j == 3) {
ahits = 0;
}
if (j == 4) {
ahits = 0;
}
if (j == 5) {
ahits = 0;
}
if (j == 6) {
ahits = 0;
}
if (j == 7) {
ahits = 0;
}
if (Key.isDown(32)) {
if (ahits == 1) {
shots = shots + 1;
if (_root.az.hitTest(_root.Target.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target.tout)) {
t1des = t1des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target2.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target2.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target2.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target2.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target2.tout)) {
t2des = t2des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target3.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target3.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target3.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target3.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target3.tout)) {
t3des = t3des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target4.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target4.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target4.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target4.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target4.tout)) {
t4des = t4des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target5.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target5.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target5.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target5.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target5.tout)) {
t5des = t5des + 1;
hits = hits + 1;
hit = hit;
}
if (_root.az.hitTest(_root.Target6.tr)) {
hit = hit + 5;
}
if (_root.az.hitTest(_root.Target6.to)) {
hit = hit + 3;
}
if (_root.az.hitTest(_root.Target6.ty)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target6.tb)) {
hit = hit + 1;
}
if (_root.az.hitTest(_root.Target6.tout)) {
t6des = t6des + 1;
hits = hits + 1;
hit = hit;
}
}
}
if (t1des == 10) {
Target.gotoAndStop(2);
za = 1;
}
if (t2des == 10) {
Target2.gotoAndStop(2);
zb = 1;
}
if (t3des == 10) {
Target3.gotoAndStop(2);
zc = 1;
}
if (t1des == 10) {
if (t2des == 10) {
if (t3des == 10) {
t1des = 0;
t2des = 0;
t3des = 0;
gotoAndStop (169);
}
}
}
if (t4des == 10) {
Target4.gotoAndStop(2);
zd = 1;
}
if (t5des == 10) {
Target5.gotoAndStop(2);
ze = 1;
}
if (t6des == 10) {
Target6.gotoAndStop(2);
zf = 1;
}
if (t4des == 10) {
if (t5des == 10) {
if (t6des == 10) {
gotoAndStop (171);
}
}
}
if (t1des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t2des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t3des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t4des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t5des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
if (t6des == 10) {
tar = ((((za + zb) + zc) + zd) + ze) + zf;
}
play();
Frame 170
if (i >= 1) {
if (j >= 1) {
if (Key.isDown(32)) {
var posx = (5 - (0.01 * _xmouse));
var negx = (((2.5 - (0.01 * _xmouse)) + (2 * (0.01 * _xmouse))) - 3.012);
var posy = (5 - (0.0151515151515152 * _ymouse));
var negy = (((2.5 - (0.0151515151515152 * _ymouse)) + (2 * (0.0151515151515152 * _ymouse))) - 3.012);
var nega = (5 - (2.5 / (45816 / (_xmouse * _ymouse))));
k++;
this.duplicateMovieClip("blob", k);
blob._x = _root._xmouse;
blob._y = _root._ymouse;
if (_xmouse <= 249) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = posx;
blob._height = posx;
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = 2.5;
blob._height = 2.5;
}
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse <= 214) {
blob._width = posy;
blob._height = posy;
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse >= 214) {
blob._width = negy;
blob._height = negy;
}
}
}
if (_xmouse >= 300) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = negx;
blob._height = negx;
}
}
}
if (_xmouse <= 249) {
if (_ymouse < 184) {
blob._width = nega;
blob._height = nega;
}
}
if (_xmouse >= 170) {
if (_xmouse <= 250) {
if (_ymouse >= 214) {
if (_ymouse <= 290) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 108) {
if (_ymouse <= 184) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 210) {
if (_ymouse <= 292) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 91) {
if (_xmouse <= 170) {
if (_ymouse >= 214) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 170) {
if (_xmouse <= 214) {
if (_ymouse >= 293) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 293) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 380) {
if (_xmouse <= 460) {
if (_ymouse >= 214) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 380) {
if (_xmouse <= 460) {
if (_ymouse >= 41) {
if (_ymouse <= 184) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 41) {
if (_ymouse <= 110) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 0) {
if (_xmouse <= 91) {
if (_ymouse >= 214) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 91) {
if (_xmouse <= 250) {
if (_ymouse >= 360) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 460) {
if (_xmouse <= 550) {
if (_ymouse >= 214) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 460) {
if (_ymouse >= 360) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 460) {
if (_xmouse <= 550) {
if (_ymouse >= 0) {
if (_ymouse <= 184) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 460) {
if (_ymouse >= 0) {
if (_ymouse <= 40) {
blob._width = 5;
blob._height = 5;
}
}
}
}
}
}
}
if (Key.isDown(32)) {
if (i == 0) {
if (j == 0) {
stop();
}
}
if (j <= 0) {
stop();
} else {
circle.gotoAndPlay(1);
}
}
if (Key.isDown(32)) {
if (j >= 1) {
j = Math.floor(j - 1);
}
}
if (j == 6) {
bullets.gotoAndStop(2);
}
if (j == 5) {
bullets.gotoAndStop(3);
}
if (j == 4) {
bullets.gotoAndStop(4);
}
if (j == 3) {
bullets.gotoAndStop(5);
}
if (j == 2) {
bullets.gotoAndStop(6);
}
if (j == 1) {
bullets.gotoAndStop(7);
}
if (j == 0) {
bullets.gotoAndStop(8);
}
if (j == 7) {
bullets.gotoAndStop(1);
}
Mouse.hide();
_root.attachMovie("pointer", "pointer", 10000);
pointer._x = _xmouse;
pointer._y = _ymouse;
Xpos = _xmouse;
Ypos = _ymouse;
circleXpos = circle._x;
circleYpos = circle._y;
x = Xpos - circleXpos;
y = Ypos - circleYpos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
myRotation = circle._rotation;
if (Xpos < circleXpos) {
circle._rotation = 180 - (theta / 0.0175);
} else if (Xpos > circleXpos) {
circle._rotation = theta / 0.0175;
}
prevFrame();
Frame 171
Mouse.show();
stop();
stopAllSounds();
my_sound = new Sound();
my_sound.attachSound("accomplished.mp3");
my_sound.start(0, 1);
Frame 172
Mouse.show();
stop();
stopAllSounds();
my_sound = new Sound();
my_sound.attachSound("failed.wav");
my_sound.start(0, 1);
Frame 173
Mouse.show();
left = 98 - shots;
stop();
Frame 175
Stage.scaleMode = "perfectFit";
stopAllSounds();
Instance of Symbol 366 MovieClip "pointer" in Frame 175
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
Mouse.hide();
_root.attachMovie("blob", "blob", 10000);
blob._x = _xmouse;
blob._y = _ymouse;
}
}
onClipEvent (mouseUp) {
updateAfterEvent();
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
Frame 176
function pausen() {
pauseTime = getTimer() / 1000;
timing = false;
}
function unpausen() {
unpauseTime = getTimer() / 1000;
pauseLength = (unpauseTime - pauseTime) + pauseLength;
timing = true;
}
_root.onEnterFrame = function () {
totalTime = (getTimer() / 1000) - pauseLength;
goTime = totalTime - buttonPressTime;
if (timing) {
hours = Math.floor(goTime / 3600);
minu = Math.floor(((goTime / 3600) - hours) * 60);
sec = Math.floor(((((goTime / 3600) - hours) * 60) - minu) * 60);
milli = Math.floor((gotime - ((sec + (minu * 60)) + (hours * 3600))) * 100);
if (sec < 10) {
sec = "0" + sec;
}
if (minu < 10) {
minu = "0" + minu;
}
if (hours < 10) {
hours = "0" + hours;
}
if (milli < 10) {
milli = "0" + milli;
}
}
hour = -hours;
mi = "2" - minu;
se = "59" - sec;
mill = "99" - milli;
if (sec < 10) {
sec = "0" + sec;
}
if (minu < 10) {
minu = "0" + minu;
}
if (hours < 10) {
hours = "0" + hours;
}
if (milli < 10) {
milli = "0" + milli;
}
};
if (mi == 0) {
if (sec == 0) {
if (mill == 0) {
gotoAndStop (170);
}
}
}
ok2.onRelease = function () {
unpausen();
};
Frame 177
if (Key.isDown(32)) {
cer = 9.3;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target)) {
t1des = t1des + 1;
hits = hits + 1;
hit = hit;
}
}
if (Key.isDown(32)) {
cer = 9.3;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target2)) {
t2des = t2des + 1;
hits = hits + 1;
hit = hit;
}
}
if (i == 0) {
if (j == 0) {
gotoAndStop (172);
}
}
accuracy = Math.floor((points / shots) * 100);
points = 0 + hits;
if (i > 0) {
if (j > 0) {
if (Key.isDown(32)) {
shots = shots + 1;
}
}
}
if (j > 0) {
if (Key.isDown(32)) {
}
}
if (Key.isDown(32)) {
if (j == 0) {
ahits = ahits + 1;
}
}
if (j == 1) {
ahits = 0;
}
if (j == 2) {
ahits = 0;
}
if (j == 3) {
ahits = 0;
}
if (j == 4) {
ahits = 0;
}
if (j == 5) {
ahits = 0;
}
if (j == 6) {
ahits = 0;
}
if (j == 7) {
ahits = 0;
}
if (Key.isDown(32)) {
if (ahits == 1) {
}
}
if (t1des == 20) {
Target.gotoAndStop(39);
ta = 1;
}
if (t2des == 20) {
Target2.gotoAndStop(39);
tb = 1;
}
if (t3des == 20) {
Target3.gotoAndStop(41);
tc = 1;
}
if (t1des == 20) {
if (t2des == 20) {
gotoAndPlay (179);
}
}
if (t1des == 20) {
if (t2des == 20) {
if (t3des == 20) {
gotoAndStop (181);
}
}
}
if (t1des == 20) {
tar = (ta + tb) + tc;
}
if (t2des == 20) {
tar = (ta + tb) + tc;
}
if (t3des == 20) {
tar = (ta + tb) + tc;
}
function pausen() {
pauseTime = getTimer() / 1000;
timing = false;
}
function unpausen() {
unpauseTime = getTimer() / 1000;
pauseLength = (unpauseTime - pauseTime) + pauseLength;
timing = true;
}
missionstat = "Silver";
if (Key.isDown(40)) {
pausen();
gotoAndStop (183);
}
minuk = "1" - minu;
hour = "00" - hours;
mi = -minu;
se = "59" - sec;
mill = "99" - milli;
tt = tt + td;
if (Key.isDown(32)) {
td = 1;
}
if (tt == 0) {
if (Key.isDown(32)) {
unpausen();
}
}
if (minuk == 0) {
if (sec == 0) {
if (mill == 0) {
gotoAndStop (182);
}
}
}
_root.onEnterFrame = function () {
totalTime = (getTimer() / 1000) - pauseLength;
goTime = totalTime - buttonPressTime;
if (timing) {
hours = Math.floor(goTime / 3600);
minu = Math.floor(((goTime / 3600) - hours) * 60);
sec = Math.floor(((((goTime / 3600) - hours) * 60) - minu) * 60);
milli = Math.floor((gotime - ((sec + (minu * 60)) + (hours * 3600))) * 100);
if (sec < 10) {
sec = "0" + sec;
}
if (minu < 10) {
minu = "0" + minu;
}
if (hours < 10) {
hours = "0" + hours;
}
if (milli < 10) {
milli = "0" + milli;
}
}
};
Stage.scaleMode = "perfectFit";
play();
Frame 178
if (i >= 1) {
if (j >= 1) {
if (Key.isDown(32)) {
var posx = (5 - (0.01 * _xmouse));
var negx = (((2.5 - (0.01 * _xmouse)) + (2 * (0.01 * _xmouse))) - 3.012);
var posy = (5 - (0.0151515151515152 * _ymouse));
var negy = (((2.5 - (0.0151515151515152 * _ymouse)) + (2 * (0.0151515151515152 * _ymouse))) - 3.012);
var nega = (5 - (2.5 / (45816 / (_xmouse * _ymouse))));
k++;
this.duplicateMovieClip("blob", k);
blob._x = _root._xmouse;
blob._y = _root._ymouse;
if (_xmouse <= 249) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = posx;
blob._height = posx;
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = 2.5;
blob._height = 2.5;
}
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse <= 214) {
blob._width = posy;
blob._height = posy;
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse >= 214) {
blob._width = negy;
blob._height = negy;
}
}
}
if (_xmouse >= 300) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = negx;
blob._height = negx;
}
}
}
if (_xmouse <= 249) {
if (_ymouse < 184) {
blob._width = nega;
blob._height = nega;
}
}
if (_xmouse >= 170) {
if (_xmouse <= 250) {
if (_ymouse >= 214) {
if (_ymouse <= 290) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 108) {
if (_ymouse <= 184) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 210) {
if (_ymouse <= 292) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 91) {
if (_xmouse <= 170) {
if (_ymouse >= 214) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 170) {
if (_xmouse <= 214) {
if (_ymouse >= 293) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 293) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 380) {
if (_xmouse <= 460) {
if (_ymouse >= 214) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 380) {
if (_xmouse <= 460) {
if (_ymouse >= 41) {
if (_ymouse <= 184) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 41) {
if (_ymouse <= 110) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 0) {
if (_xmouse <= 91) {
if (_ymouse >= 214) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 91) {
if (_xmouse <= 250) {
if (_ymouse >= 360) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 460) {
if (_xmouse <= 550) {
if (_ymouse >= 214) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 460) {
if (_ymouse >= 360) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 460) {
if (_xmouse <= 550) {
if (_ymouse >= 0) {
if (_ymouse <= 184) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 460) {
if (_ymouse >= 0) {
if (_ymouse <= 40) {
blob._width = 5;
blob._height = 5;
}
}
}
}
}
}
}
if (Key.isDown(32)) {
if (i == 0) {
if (j == 0) {
stop();
}
}
if (j <= 0) {
stop();
} else {
circle.gotoAndPlay(1);
}
}
if (Key.isDown(32)) {
if (j >= 1) {
j = Math.floor(j - 1);
}
}
if (j == 6) {
bullets.gotoAndStop(2);
}
if (j == 5) {
bullets.gotoAndStop(3);
}
if (j == 4) {
bullets.gotoAndStop(4);
}
if (j == 3) {
bullets.gotoAndStop(5);
}
if (j == 2) {
bullets.gotoAndStop(6);
}
if (j == 1) {
bullets.gotoAndStop(7);
}
if (j == 0) {
bullets.gotoAndStop(8);
}
if (j == 7) {
bullets.gotoAndStop(1);
}
Mouse.hide();
_root.attachMovie("pointer", "pointer", 10000);
pointer._x = _xmouse;
pointer._y = _ymouse;
Xpos = _xmouse;
Ypos = _ymouse;
circleXpos = circle._x;
circleYpos = circle._y;
x = Xpos - circleXpos;
y = Ypos - circleYpos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
myRotation = circle._rotation;
if (Xpos < circleXpos) {
circle._rotation = 180 - (theta / 0.0175);
} else if (Xpos > circleXpos) {
circle._rotation = theta / 0.0175;
}
prevFrame();
Frame 179
function pausen() {
pauseTime = getTimer() / 1000;
timing = false;
}
function unpausen() {
unpauseTime = getTimer() / 1000;
pauseLength = (unpauseTime - pauseTime) + pauseLength;
timing = true;
}
missionstat = "Bronze";
if (Key.isDown(40)) {
pausen();
gotoAndStop (173);
}
minuk = "3" - minu;
hour = "00" - hours;
mi = "2" - minu;
se = "59" - sec;
mill = "99" - milli;
tt = tt + tz;
if (Key.isDown(32)) {
tz = 1;
}
if (tt == 0) {
if (Key.isDown(32)) {
unpausen();
}
}
if (minuk == 0) {
if (sec == 0) {
if (mill) {
gotoAndStop (172);
}
}
}
_root.onEnterFrame = function () {
totalTime = (getTimer() / 1000) - pauseLength;
goTime = totalTime - buttonPressTime;
if (timing) {
hours = Math.floor(goTime / 3600);
minu = Math.floor(((goTime / 3600) - hours) * 60);
sec = Math.floor(((((goTime / 3600) - hours) * 60) - minu) * 60);
milli = Math.floor((gotime - ((sec + (minu * 60)) + (hours * 3600))) * 100);
if (sec < 10) {
sec = "0" + sec;
}
if (minu < 10) {
minu = "0" + minu;
}
if (hours < 10) {
hours = "0" + hours;
}
if (milli < 10) {
milli = "0" + milli;
}
}
};
if (Key.isDown(32)) {
cer = 9.3;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target._x;
ger = Target._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target)) {
t1des = t1des + 1;
hits = hits + 1;
hit = hit;
}
}
if (Key.isDown(32)) {
cer = 9.3;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target2._x;
ger = Target2._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target2)) {
t2des = t2des + 1;
hits = hits + 1;
hit = hit;
}
}
if (Key.isDown(32)) {
cer = 9.3;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 5;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 5;
}
}
}
}
}
cer = 22;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 36;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 2;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 2;
}
}
}
}
}
cer = 50;
fer = Target3._x;
ger = Target3._y;
cker = fer - cer;
aer = _ymouse - ger;
ber = (cer * cer) - (aer * aer);
var ier = 0;
var b1er = 1;
while (ier < 20) {
b1er = b1er - (((b1er * b1er) - ber) / (2 * b1er));
ier++;
}
if (_xmouse <= fer) {
b2er = cker + (cer - b1er);
cber = ger - cer;
if (_xmouse >= b2er) {
if (_ymouse >= cber) {
if (_xmouse <= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse < fer) {
b2er = cker + (cer - b1er);
cber = ger + cer;
if (_xmouse >= b2er) {
if (_ymouse <= cber) {
if (_xmouse <= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse >= fer) {
b2er = cker + (cer + b1er);
cber = ger + cer;
if (_xmouse <= b2er) {
if (_ymouse <= cber) {
if (_xmouse >= fer) {
if (_ymouse >= ger) {
hit = hit + 1;
}
}
}
}
}
if (_xmouse > fer) {
b2er = cker + (cer + b1er);
cber = ger - cer;
if (_xmouse <= b2er) {
if (_ymouse >= cber) {
if (_xmouse >= fer) {
if (_ymouse <= ger) {
hit = hit + 1;
}
}
}
}
}
if (_root.blob.hitTest(Target3)) {
t3des = t3des + 1;
hits = hits + 1;
hit = hit;
}
}
play();
Frame 180
if (i >= 1) {
if (j >= 1) {
if (Key.isDown(32)) {
var posx = (5 - (0.01 * _xmouse));
var negx = (((2.5 - (0.01 * _xmouse)) + (2 * (0.01 * _xmouse))) - 3.012);
var posy = (5 - (0.0151515151515152 * _ymouse));
var negy = (((2.5 - (0.0151515151515152 * _ymouse)) + (2 * (0.0151515151515152 * _ymouse))) - 3.012);
var nega = (5 - (2.5 / (45816 / (_xmouse * _ymouse))));
k++;
this.duplicateMovieClip("blob", k);
blob._x = _root._xmouse;
blob._y = _root._ymouse;
if (_xmouse <= 249) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = posx;
blob._height = posx;
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = 2.5;
blob._height = 2.5;
}
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse <= 214) {
blob._width = posy;
blob._height = posy;
}
}
}
if (_xmouse >= 249) {
if (_xmouse <= 300) {
if (_ymouse >= 214) {
blob._width = negy;
blob._height = negy;
}
}
}
if (_xmouse >= 300) {
if (_ymouse <= 214) {
if (_ymouse >= 184) {
blob._width = negx;
blob._height = negx;
}
}
}
if (_xmouse <= 249) {
if (_ymouse < 184) {
blob._width = nega;
blob._height = nega;
}
}
if (_xmouse >= 170) {
if (_xmouse <= 250) {
if (_ymouse >= 214) {
if (_ymouse <= 290) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 108) {
if (_ymouse <= 184) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 210) {
if (_ymouse <= 292) {
blob._width = 2.9;
blob._height = 2.9;
}
}
}
}
if (_xmouse >= 91) {
if (_xmouse <= 170) {
if (_ymouse >= 214) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 170) {
if (_xmouse <= 214) {
if (_ymouse >= 293) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 293) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 380) {
if (_xmouse <= 460) {
if (_ymouse >= 214) {
if (_ymouse <= 360) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 380) {
if (_xmouse <= 460) {
if (_ymouse >= 41) {
if (_ymouse <= 184) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 380) {
if (_ymouse >= 41) {
if (_ymouse <= 110) {
blob._width = 4;
blob._height = 4;
}
}
}
}
if (_xmouse >= 0) {
if (_xmouse <= 91) {
if (_ymouse >= 214) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 91) {
if (_xmouse <= 250) {
if (_ymouse >= 360) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 460) {
if (_xmouse <= 550) {
if (_ymouse >= 214) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 460) {
if (_ymouse >= 360) {
if (_ymouse <= 400) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 460) {
if (_xmouse <= 550) {
if (_ymouse >= 0) {
if (_ymouse <= 184) {
blob._width = 5;
blob._height = 5;
}
}
}
}
if (_xmouse >= 300) {
if (_xmouse <= 460) {
if (_ymouse >= 0) {
if (_ymouse <= 40) {
blob._width = 5;
blob._height = 5;
}
}
}
}
}
}
}
if (Key.isDown(32)) {
if (i == 0) {
if (j == 0) {
stop();
}
}
if (j <= 0) {
stop();
} else {
circle.gotoAndPlay(1);
}
}
if (Key.isDown(32)) {
if (j >= 1) {
j = Math.floor(j - 1);
}
}
if (j == 6) {
bullets.gotoAndStop(2);
}
if (j == 5) {
bullets.gotoAndStop(3);
}
if (j == 4) {
bullets.gotoAndStop(4);
}
if (j == 3) {
bullets.gotoAndStop(5);
}
if (j == 2) {
bullets.gotoAndStop(6);
}
if (j == 1) {
bullets.gotoAndStop(7);
}
if (j == 0) {
bullets.gotoAndStop(8);
}
if (j == 7) {
bullets.gotoAndStop(1);
}
Mouse.hide();
_root.attachMovie("pointer", "pointer", 10000);
pointer._x = _xmouse;
pointer._y = _ymouse;
Xpos = _xmouse;
Ypos = _ymouse;
circleXpos = circle._x;
circleYpos = circle._y;
x = Xpos - circleXpos;
y = Ypos - circleYpos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
myRotation = circle._rotation;
if (Xpos < circleXpos) {
circle._rotation = 180 - (theta / 0.0175);
} else if (Xpos > circleXpos) {
circle._rotation = theta / 0.0175;
}
prevFrame();
Frame 181
Mouse.show();
stop();
stopAllSounds();
my_sound = new Sound();
my_sound.attachSound("accomplished.mp3");
my_sound.start(0, 1);
Frame 182
Mouse.show();
stop();
stopAllSounds();
my_sound = new Sound();
my_sound.attachSound("failed.wav");
my_sound.start(0, 1);
Frame 183
Mouse.show();
left = 98 - shots;
stop();
Symbol 9 MovieClip [blob] Frame 31
stop();
Symbol 26 MovieClip [Target1] Frame 1
stop();
Symbol 26 MovieClip [Target1] Frame 2
stop();
Symbol 59 Button
on (release) {
gotoAndPlay (4);
}
Symbol 114 Button
on (release) {
gotoAndStop (69);
}
Symbol 117 Button
on (release) {
gotoAndStop (67);
}
Symbol 120 Button
on (release) {
gotoAndStop (68);
}
Symbol 125 Button
on (release) {
gotoAndPlay (66);
}
Symbol 206 MovieClip Frame 71
stop();
Symbol 280 Button
on (release) {
gotoAndStop (139);
}
Symbol 282 Button
on (release) {
gotoAndPlay (66);
}
Symbol 284 Button
on (release) {
if (missionstat == "Bronze") {
gotoAndStop (141);
}
}
on (release) {
if (missionstat == "Silver") {
gotoAndStop (145);
}
}
on (release) {
if (missionstat == "Gold") {
gotoAndStop (145);
}
}
on (release) {
if (missionstat == "Platinum") {
gotoAndStop (145);
}
}
Symbol 288 Button
on (release) {
missionstat = "Bronze";
}
Symbol 291 Button
on (release) {
missionstat = "Silver";
}
Symbol 294 Button
on (release) {
missionstat = "Gold";
}
Symbol 297 Button
on (release) {
missionstat = "Platinum";
}
Symbol 299 Button
on (release) {
gotoAndPlay (146);
}
Symbol 303 Button
on (release) {
gotoAndStop (139);
}
Symbol 304 Button
on (release) {
gotoAndPlay (156);
}
Symbol 313 Button
on (release) {
gotoAndPlay (138);
}
Symbol 319 Button
on (release) {
if (j <= 6) {
circle.gotoAndPlay(4);
}
if (j == 0) {
circle.gotoAndPlay(4);
}
if (i <= 0) {
circle.gotoAndStop(1);
}
if (j == 0) {
if (i >= 7) {
i = Math.floor(i - 7);
j = 7;
}
}
if (j == 1) {
if (i >= 6) {
i = Math.floor(i - 6);
j = 7;
}
}
if (j == 2) {
if (i >= 5) {
i = Math.floor(i - 5);
j = 7;
}
}
if (j == 3) {
if (i >= 4) {
i = Math.floor(i - 4);
j = 7;
}
}
if (j == 4) {
if (i >= 3) {
i = Math.floor(i - 3);
j = 7;
}
}
if (j == 5) {
if (i >= 2) {
i = Math.floor(i - 2);
j = 7;
}
}
if (j == 6) {
if (i >= 1) {
i = Math.floor(i - 1);
j = 7;
}
}
if (i <= 6) {
if (j == 0) {
if (i == 6) {
i = Math.floor(i - 6);
j = j + 6;
}
if (i == 5) {
i = Math.floor(i - 5);
j = j + 5;
}
if (i == 4) {
i = Math.floor(i - 4);
j = j + 4;
}
if (i == 3) {
i = Math.floor(i - 3);
j = j + 3;
}
if (i == 2) {
i = Math.floor(i - 2);
j = j + 2;
}
if (i == 1) {
i = Math.floor(i - 1);
j = j + 1;
}
}
}
if (j <= 0) {
}
}
Symbol 334 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 2
stop();
Symbol 334 MovieClip Frame 3
stop();
Symbol 334 MovieClip Frame 4
stop();
Symbol 334 MovieClip Frame 5
stop();
Symbol 334 MovieClip Frame 6
stop();
Symbol 334 MovieClip Frame 7
stop();
Symbol 334 MovieClip Frame 8
stop();
Symbol 354 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 3
gotoAndStop (1);
Symbol 354 MovieClip Frame 16
gotoAndStop (1);
Symbol 366 MovieClip Frame 15
gotoAndPlay (1);
Symbol 373 Button
on (release) {
gotoAndPlay (64);
}
Symbol 421 Button
on (release) {
gotoAndPlay (64);
}
Symbol 435 Button
on (release) {
if (tar <= 2) {
unpausen();
gotoAndPlay (148);
}
if (tar >= 3) {
unpausen();
gotoAndPlay (150);
}
}
Symbol 442 Button
on (release) {
stopAllSounds();
soun = 0;
my_sound = new Sound();
my_sound.attachSound("perfect1");
my_sound.start(0, 1000);
}
Symbol 447 Button
on (release) {
stopAllSounds();
soun = 1;
my_sound = new Sound();
my_sound.attachSound("grenadier");
my_sound.start(0, 1000);
}
Symbol 453 Button
on (release) {
soun = 3;
stopAllSounds();
}
Symbol 459 Button
on (release) {
stopAllSounds();
soun = 2;
my_sound = new Sound();
my_sound.attachSound("2*2");
my_sound.start(0, 1000);
}
Symbol 462 MovieClip Frame 1
stop();
Symbol 462 MovieClip Frame 39
gotoAndPlay (2);
Symbol 481 MovieClip Frame 40
gotoAndPlay (1);
Symbol 530 Button
on (release) {
unpausen();
gotoAndPlay (158);
}
Symbol 532 Button
on (release) {
stopAllSounds();
soun = 0;
my_sound = new Sound();
my_sound.attachSound("perfect1");
my_sound.start(0, 1000);
}
Symbol 533 Button
on (release) {
stopAllSounds();
soun = 1;
my_sound = new Sound();
my_sound.attachSound("grenadier");
my_sound.start(0, 1000);
}
Symbol 534 Button
on (release) {
soun = 3;
stopAllSounds();
}
Symbol 535 Button
on (release) {
stopAllSounds();
soun = 2;
my_sound = new Sound();
my_sound.attachSound("2*2");
my_sound.start(0, 1000);
}
Symbol 599 Button
on (release) {
if (tar <= 2) {
unpausen();
gotoAndPlay (167);
}
if (tar >= 3) {
unpausen();
gotoAndPlay (169);
}
}
Symbol 664 Button
on (release) {
unpausen();
gotoAndPlay (177);
}