Frame 2
ifFrameLoaded (8) {
gotoAndStop (7);
}
Frame 6
gotoAndPlay (1);
Frame 7
stop();
Frame 8
Set("timer:maxGT", "100" * "1000");
tellTarget ("timer") {
gotoAndPlay (2);
};
setProperty("/ball", _x , getProperty("/arrow-rotate", _x));
setProperty("/ball", _y , getProperty("/arrow-rotate", _y));
move_ballX = "0";
move_ballY = "0";
Set("power_add:power", "0");
Set("score:score", "0");
Frame 9
stop();
Symbol 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 11
stop();
Symbol 64 MovieClip Frame 13
stop();
Symbol 67 Button
on (release, keyPress "f") {
tellTarget ("/arrow-rotate") {
stop();
};
Set("trig:angle", "90" - int(getProperty("/arrow-rotate/arrow", _rotation)));
call("trig:sin");
call("trig:cos");
Set("arrow-path:sin", trig:sin);
Set("arrow-path:cos", trig:cos);
sin = trig:sin;
cos = trig:cos;
}
Symbol 71 MovieClip Frame 1
Symbol 71 MovieClip Frame 2
baseTime = getTimer();
Symbol 71 MovieClip Frame 3
time1 = (maxGT - (getTimer() - baseTime)) / "1000";
if ("0" >= time1) {
trace("time1");
trace(time1);
tellTarget ("/gamescreen") {
gotoAndStop ("timeout");
tellTarget ("/man") {
gotoAndStop (13);
tellTarget ("/arrow-rotate") {
gotoAndStop (1);
};
time = "0.0'0\"";
tellTarget ("../") {
gameover = "1";
};
gotoAndStop (1);
}
}
} else {
time2 = int(time1);
time3 = time1 - time2;
time4 = substring(time3, "3", "1");
time5 = substring(time3, "4", "1");
time = ((((time2 add ".") add time4) add "'") add time5) add "\"";
}
Symbol 71 MovieClip Frame 4
gotoAndPlay (3);
Symbol 75 Button
on (release, keyPress "j") {
if ("11" >= getProperty("/man", _currentframe)) {
tellTarget ("/power_add") {
nextFrame();
};
}
}
Symbol 77 Button
on (release, keyPress "k") {
if ("11" >= getProperty("/man", _currentframe)) {
Set("/arrow-path:t1", getTimer());
tellTarget ("/man") {
gotoAndStop (12);
tellTarget ("/arrow-path") {
gotoAndPlay (2);
tellTarget ("/ball") {
gotoAndPlay (2);
};
}
}
}
}
Symbol 79 MovieClip Frame 1
stop();
Symbol 81 Button
on (release, keyPress "n") {
gotoAndPlay (10);
}
Symbol 95 Button
on (release, keyPress "<Enter>") {
gotoAndPlay (7);
}
Symbol 98 MovieClip Frame 1
stop();
sin0 = "0";
cos0 = "1";
sin1 = "0.0175";
cos1 = "0.9998";
sin2 = "0.0349";
cos2 = "0.9994";
sin3 = "0.0523";
cos3 = "0.9986";
sin4 = "0.0698";
cos4 = "0.9976";
sin5 = "0.0872";
cos5 = "0.9962";
sin6 = "0.1045";
cos6 = "0.9945";
sin7 = "0.1219";
cos7 = "0.9925";
sin8 = "0.1392";
cos8 = "0.9903";
sin9 = "0.1564";
cos9 = "0.9877";
sin10 = "0.1736";
cos10 = "0.9848";
sin11 = "0.1908";
cos11 = "0.9816";
sin12 = "0.2079";
cos12 = "0.9781";
sin13 = "0.225";
cos13 = "0.9744";
sin14 = "0.2419";
cos14 = "0.9703";
sin15 = "0.2588";
cos15 = "0.9659";
sin16 = "0.2756";
cos16 = "0.9613";
sin17 = "0.2924";
cos17 = "0.9563";
sin18 = "0.309";
cos18 = "0.9511";
sin19 = "0.3256";
cos19 = "0.9455";
sin20 = "0.342";
cos20 = "0.9397";
sin21 = "0.3584";
cos21 = "0.9336";
sin22 = "0.3746";
cos22 = "0.9272";
sin23 = "0.3907";
cos23 = "0.9205";
sin24 = "0.4067";
cos24 = "0.9135";
sin25 = "0.4226";
cos25 = "0.9063";
sin26 = "0.4384";
cos26 = "0.8988";
sin27 = "0.454";
cos27 = "0.891";
sin28 = "0.4695";
cos28 = "0.8829";
sin29 = "0.4848";
cos29 = "0.8746";
sin30 = "0.5";
cos30 = "0.866";
sin31 = "0.515";
cos31 = "0.8572";
sin32 = "0.5299";
cos32 = "0.848";
sin33 = "0.5446";
cos33 = "0.8387";
sin34 = "0.5592";
cos34 = "0.829";
sin35 = "0.5736";
cos35 = "0.8192";
sin36 = "0.5878";
cos36 = "0.809";
sin37 = "0.6018";
cos37 = "0.7986";
sin38 = "0.6157";
cos38 = "0.788";
sin39 = "0.6293";
cos39 = "0.7771";
sin40 = "0.6428";
cos40 = "0.766";
sin41 = "0.6561";
cos41 = "0.7547";
sin42 = "0.6691";
cos42 = "0.7431";
sin43 = "0.682";
cos43 = "0.7314";
sin44 = "0.6947";
cos44 = "0.7193";
sin45 = "0.7071";
cos45 = "0.7071";
sin46 = "0.7193";
cos46 = "0.6947";
sin47 = "0.7314";
cos47 = "0.682";
sin48 = "0.7431";
cos48 = "0.6691";
sin49 = "0.7547";
cos49 = "0.6561";
sin50 = "0.766";
cos50 = "0.6428";
sin51 = "0.7771";
cos51 = "0.6293";
sin52 = "0.788";
cos52 = "0.6157";
sin53 = "0.7986";
cos53 = "0.6018";
sin54 = "0.809";
cos54 = "0.5878";
sin55 = "0.8192";
cos55 = "0.5736";
sin56 = "0.829";
cos56 = "0.5592";
sin57 = "0.8387";
cos57 = "0.5446";
sin58 = "0.848";
cos58 = "0.5299";
sin59 = "0.8572";
cos59 = "0.515";
sin60 = "0.866";
cos60 = "0.5";
sin61 = "0.8746";
cos61 = "0.4848";
sin62 = "0.8829";
cos62 = "0.4695";
sin63 = "0.891";
cos63 = "0.454";
sin64 = "0.8988";
cos64 = "0.4384";
sin65 = "0.9063";
cos65 = "0.4226";
sin66 = "0.9135";
cos66 = "0.4067";
sin67 = "0.4067";
cos67 = "0.4067";
sin68 = "0.9272";
cos68 = "0.3746";
sin69 = "0.9336";
cos69 = "0.3584";
sin70 = "0.9397";
cos70 = "0.342";
sin71 = "0.9455";
cos71 = "0.3256";
sin72 = "0.9511";
cos72 = "0.309";
sin73 = "0.9563";
cos73 = "0.2924";
sin74 = "0.9613";
cos74 = "0.2756";
sin75 = "0.9659";
cos75 = "0.2588";
sin76 = "0.9703";
cos76 = "0.2419";
sin77 = "0.9744";
cos77 = "0.225";
sin78 = "0.9781";
cos78 = "0.2079";
sin79 = "0.9816";
cos79 = "0.1908";
sin80 = "0.9848";
cos80 = "0.1736";
sin81 = "0.9877";
cos81 = "0.1564";
sin82 = "0.9903";
cos82 = "0.1392";
sin83 = "0.9925";
cos83 = "0.1219";
sin84 = "0.9945";
cos84 = "0.1045";
sin85 = "0.9962";
cos85 = "0.0872";
sin86 = "0.9976";
cos86 = "0.0698";
sin87 = "0.9986";
cos87 = "0.0523";
sin88 = "0.9994";
cos88 = "0.0349";
sin89 = "0.9998";
cos89 = "0.0175";
sin90 = "1";
cos90 = "0";
Symbol 98 MovieClip Frame 2
theta = int(angle);
if ("360" < theta) {
theta = theta - (int(theta / "360") * "360");
}
if (("360" >= theta) and (theta >= "270")) {
sin = eval ("sin" add ("90" - (theta - "270"))) * (-"1");
} else if ((theta < "270") and (theta >= "180")) {
sin = eval ("sin" add (theta - "180")) * (-"1");
} else if ((theta < "180") and ("90" < theta)) {
sin = eval ("sin" add ("180" - theta));
} else {
sin = eval ("sin" add theta);
}
Symbol 98 MovieClip Frame 3
theta = int(angle);
if ("360" < theta) {
theta = theta - (int(theta / "360") * "360");
}
if (("360" >= theta) and (theta >= "270")) {
cos = eval ("cos" add ("90" - (theta - "270")));
} else if ((theta < "270") and (theta >= "180")) {
cos = eval ("cos" add (theta - "180")) * (-"1");
} else if ((theta < "180") and ("90" < theta)) {
cos = eval ("cos" add ("180" - theta)) * (-"1");
} else {
cos = eval ("cos" add theta);
}
Symbol 104 Button
on (release, keyPress "k") {
if ("11" >= getProperty("/man", _currentframe)) {
Set("/arrow-path:t1", getTimer());
tellTarget ("/man") {
gotoAndStop (12);
tellTarget ("/arrow-path") {
gotoAndPlay (2);
tellTarget ("/ball") {
gotoAndPlay (2);
};
}
}
}
}
Symbol 106 MovieClip Frame 1
power = "0";
stop();
Symbol 106 MovieClip Frame 2
Set("/arrow-path:t0", getTimer());
tellTarget ("/man") {
gotoAndPlay (2);
}
Symbol 106 MovieClip Frame 3
power = power + "1";
stop();
Symbol 106 MovieClip Frame 4
gotoAndPlay (3);
Symbol 108 Button
on (keyPress "I") {
tellTarget ("/ship") {
gotoAndPlay (1);
}
}
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 2
timebase = getTimer() / "1000";
ballX = getProperty("/ball", _x);
ballY = getProperty("/ball", _y);
ballR = int(getProperty("/arrow-rotate/arrow", _rotation)) - "90";
r = "0";
Symbol 116 MovieClip Frame 3
move_ballY1 = move_ballY;
timenow = getTimer() / "1000";
t = substring(timenow - timebase, "1", "4");
power = /power_add:power * "10";
v = (power / (t1 - t0)) * "1000";
move_ballX = substring(((v * cos) * t) * "4", "1", "3");
move_ballY = substring((((v * sin) * t) - ((("0.5" * "9.8") * t) * t)) * "4", "1", "3");
setProperty("/ball", _x , ballX + move_ballX);
setProperty("/ball", _y , ballY - move_ballY);
if (((-move_ballY1) + move_ballY) < "0") {
r = r + "1";
setProperty("/ball", _rotation , ballR + r);
} else {
setProperty("/ball", _rotation , ballR);
}
trace(t0);
trace(t1);
trace(v);
trace(t);
trace((v * cos) * t);
trace((v * sin) * t);
trace((("0.5" * "9.8") * t) * t);
trace(power);
Symbol 116 MovieClip Frame 4
gotoAndPlay (3);
Symbol 119 MovieClip Frame 1
c = "90" - int(getProperty("/arrow-rotate/arrow", _rotation));
Symbol 119 MovieClip Frame 2
gotoAndPlay (1);
Symbol 120 MovieClip Frame 1
setProperty("/ball", _rotation , "90");
setProperty("/ball", _visible , "0");
stop();
Symbol 120 MovieClip Frame 2
setProperty("/ball", _visible , "1");
ballX = _x;
ballY = _y;
targetX = getProperty("/target", _x) - "9";
targetY = getProperty("/target", _y);
if (getProperty("/man", _currentframe) == "12") {
if ((targetY + "60") < ballY) {
tellTarget ("/arrow-path") {
gotoAndStop (1);
};
score = "0";
Set("/score:score", /score:score + score);
call("next_arrow");
}
if ((targetX < ballX) and ((targetY - "36") < ballY)) {
tellTarget ("/arrow-path") {
gotoAndStop (1);
};
_x = ballX;
_y = ballY;
where = int(ballY - targetY);
if (where == "0") {
score = "10";
Set("/score:score", /score:score + score);
}
if (where < "0") {
where = (-"1") * where;
}
if ("36" < where) {
score = "0";
Set("/score:score", /score:score + score);
} else {
score = substring(("1" - (where / "36")) * "10", "1", "2");
Set("/score:score", /score:score + score);
}
call("next_arrow");
}
}
Symbol 120 MovieClip Frame 3
gotoAndPlay (2);
Symbol 120 MovieClip Frame 10
tellTarget ("/man") {
gotoAndStop (1);
tellTarget ("/reload") {
nextFrame();
}
}
Symbol 122 Button
on (release, keyPress "c") {
tellTarget ("/arrow-rotate") {
gotoAndPlay (1);
tellTarget ("/arrow-path") {
gotoAndStop (1);
tellTarget ("/power_add") {
gotoAndStop (1);
tellTarget ("/ball") {
gotoAndStop (1);
};
setProperty("/ball", _x , getProperty("/arrow-rotate", _x));
setProperty("/ball", _y , getProperty("/arrow-rotate", _y));
gotoAndStop (1);
}
}
}
}
Symbol 123 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 1
_visible = "0";
Symbol 132 MovieClip Frame 2
_visible = "1";
Symbol 132 MovieClip Frame 68
fscommand ("setScore", /score:score);
stop();
Symbol 133 MovieClip Frame 1
stop();