Frame 1
play();
Frame 3
ifFrameLoaded (6) {
gotoAndPlay (6);
}
Frame 5
gotoAndPlay (2);
Frame 6
play();
Frame 8
ifFrameLoaded (50) {
gotoAndPlay (15);
}
Frame 10
gotoAndPlay (6);
Frame 15
play();
Frame 20
stop();
Frame 21
def1down = "0";
goalieX = "290";
swingOK = "1";
score = "0";
tenSecs = "9";
extraLevel = "1";
startDrag ("/trail0", true, "-10", "345", "470", "345");
tellTarget ("/trail0") {
gotoAndPlay (2);
};
play();
Frame 23
goneTime = "0";
start = "1";
tellTarget ("/puck") {
gotoAndPlay (1);
}
Frame 24
play();
Frame 25
rate = int(score / "50");
if (((defmove1 == "0") and (def1down == "0")) and (random("40" - rate) == "0")) {
defmove1 = "1";
tellTarget ("/defender1") {
if (../:def1X < "160") {
gotoAndPlay ("right");
} else if ("430" < ../:def1X) {
gotoAndPlay ("left");
} else if (random("2") == "0") {
gotoAndPlay ("right");
} else {
gotoAndPlay ("left");
}
};
}
if (((defmove2 == "0") and (def2down == "0")) and (random("40" - rate) == "0")) {
defmove2 = "1";
tellTarget ("/defender2") {
if (../:def2X < "160") {
gotoAndPlay ("right");
} else if ("430" < ../:def2X) {
gotoAndPlay ("left");
} else if (random("2") == "0") {
gotoAndPlay ("right");
} else {
gotoAndPlay ("left");
}
};
}
prevFrame();
Frame 30
tellTarget ("/board") {
gotoAndPlay ("timeup");
};
stopDrag();
play();
Frame 40
stop();
Symbol 4 MovieClip Frame 1
if (this.sessionstarted != 1) {
this.arcade = new LoadVars();
this.sessionvars = new LoadVars();
this.arcade.gamename = "icehockey";
this.arcade.sessdo = "sessionstart";
this.arcade.sendAndLoad("arcade.php", sessionvars, "POST");
if (this.sessionvars.sessiontype != 2) {
_root.is_a_challenge = 0;
} else {
_root.is_a_challenge = 1;
}
this.sessionstarted = 1;
}
if (_root.gameover == 1) {
if ((this.askpermission != 1) && (this.sessionvars.connStatus == 1)) {
this.prequestvars = new LoadVars();
this.pranswer = new LoadVars();
this.prequestvars.gametime = this.sessionvars.gametime;
this.prequestvars.fakekey = this.sessionvars.initbar;
_root.score = int(Number(_root.score));
if (_root.score != 0) {
this.prequestvars.score = _root.score;
} else {
this.prequestvars.score = -1;
}
this.prequestvars.id = this.sessionvars.lastid;
this.prequestvars.sessdo = "permrequest";
this.prequestvars.note = (this.prequestvars.id * this.prequestvars.score) * this.prequestvars.fakekey;
this.prequestvars.sendAndLoad("./arcade.php", this.pranswer, "POST");
this.askpermission = 1;
}
if ((this.pranswer.validate == 1) && (this.finalsent != 1)) {
this.burnscore = new LoadVars();
this.burnscore.microone = this.pranswer.microone;
this.burnscore.gametime = this.prequestvars.gametime;
this.burnscore.id = this.prequestvars.id;
if (_root.score == 0) {
this.burnscore.noscore = 1;
}
this.burnscore.sessdo = "burn";
this.burnscore.send("./arcade.php", "_self", "POST");
this.finalsent = 1;
}
}
Symbol 24 Button
on (release) {
gotoAndPlay (21);
}
Symbol 33 MovieClip Frame 1
play();
Symbol 33 MovieClip Frame 9
gotoAndPlay (1);
Symbol 48 MovieClip Frame 1
play();
Symbol 48 MovieClip Frame 12
tellTarget ("../") {
gotoAndPlay ("still");
};
stop();
Symbol 32 MovieClip Frame 1
play();
Symbol 32 MovieClip Frame 2
Set("../:goalieX", _x);
if (../:goalieX < "275") {
speed = "5";
} else if ("370" < ../:goalieX) {
speed = -"5";
}
_x = (../:goalieX + speed);
puckHitX = ../:goalieX - ../:puckX;
puckHitY = ("53.75" - ../:puckZ) * "4";
power = ../puck:puckpower;
if ((((((-"15") < puckHitX) and (puckHitX < "30")) and (((-"1") * power) < puckHitY)) and (puckHitY < power)) and (power < "25")) {
Set("../:puckSmash", "1");
gotoAndStop (10);
} else {
prevFrame();
}
Symbol 50 MovieClip Frame 1
play();
Symbol 50 MovieClip Frame 70
gotoAndPlay(random("40"));
Symbol 53 MovieClip Frame 1
play();
Symbol 53 MovieClip Frame 8
stop();
Symbol 54 MovieClip Frame 1
play();
Symbol 54 MovieClip Frame 8
stop();
Symbol 56 MovieClip Frame 1
play();
Symbol 56 MovieClip Frame 20
stop();
Symbol 63 MovieClip Frame 1
play();
Symbol 63 MovieClip Frame 20
stop();
Symbol 66 MovieClip Frame 1
play();
Symbol 66 MovieClip Frame 22
tellTarget ("../") {
gotoAndStop ("getup");
};
stop();
Symbol 67 MovieClip Frame 1
play();
Symbol 67 MovieClip Frame 7
Set("../../:def2down", "0");
tellTarget ("../") {
gotoAndPlay ("still");
};
stop();
Symbol 68 MovieClip Frame 1
play();
Symbol 68 MovieClip Frame 6
tellTarget ("../") {
gotoAndPlay ("still");
};
stop();
Symbol 49 MovieClip Frame 1
Set("../:defmove2", "0");
Set("../:def2X", _x);
count = "0";
downtime = random("50") + "30";
play();
Symbol 49 MovieClip Frame 2
play();
Symbol 49 MovieClip Frame 3
puckHitX = ../:def2X - (../:puckX - "5");
puckHitY = ("60" - ../:puckZ) * "4";
power = ../puck:puckpower;
if (((("0" < puckHitX) and (puckHitX < "50")) and (((-"1") * power) < puckHitY)) and (puckHitY < power)) {
if ("22" >= power) {
Set("../:score", ../:score + "30");
gotoAndPlay (20);
Set("../:puckSmash", "1");
} else if (("22" < power) and (power < "25")) {
Set("../:puckSmash", "1");
gotoAndStop (35);
} else if ((power >= "25") and (power < "35")) {
Set("../:score", ../:score + "50");
Set("../:puckSmash", "1");
gotoAndPlay (15);
}
}
prevFrame();
Symbol 49 MovieClip Frame 5
speed = random("8") + "5";
distance = random("10") + "10";
count = "0";
play();
Symbol 49 MovieClip Frame 6
play();
Symbol 49 MovieClip Frame 7
if (count < distance) {
Set("../:def2X", _x);
if ("130" < (../:def2X - speed)) {
Set("../:def2X", ../:def2X - speed);
_x = ../:def2X;
puckHitX = ../:def2X - (../:puckX - "5");
puckHitY = ("60" - ../:puckZ) * "4";
power = ../puck:puckpower;
if (((("0" < puckHitX) and (puckHitX < "50")) and (((-"1") * power) < puckHitY)) and (puckHitY < power)) {
if ("22" >= power) {
Set("../:score", ../:score + "30");
Set("../:puckSmash", "1");
gotoAndPlay (20);
} else if (("22" < power) and (power < "25")) {
Set("../:puckSmash", "1");
gotoAndStop (35);
} else if ((power >= "25") and (power < "35")) {
Set("../:score", ../:score + "50");
Set("../:puckSmash", "1");
gotoAndPlay (15);
} else {
count = count + "1";
prevFrame();
}
} else {
count = count + "1";
prevFrame();
}
} else {
count = distance;
prevFrame();
}
} else {
gotoAndPlay (1);
}
Symbol 49 MovieClip Frame 10
speed = random("8") + "5";
distance = random("10") + "10";
count = "0";
play();
Symbol 49 MovieClip Frame 11
play();
Symbol 49 MovieClip Frame 12
if (count < distance) {
Set("../:def2X", _x);
if ((../:def2X + speed) < "440") {
Set("../:def2X", ../:def2X + speed);
_x = ../:def2X;
puckHitX = ../:def2X - (../:puckX - "5");
puckHitY = ("60" - ../:puckZ) * "4";
power = ../puck:puckpower;
if (((("0" < puckHitX) and (puckHitX < "50")) and (((-"1") * power) < puckHitY)) and (puckHitY < power)) {
if ("22" >= power) {
Set("../:score", ../:score + "30");
Set("../:puckSmash", "1");
gotoAndPlay (20);
} else if (("22" < power) and (power < "25")) {
Set("../:puckSmash", "1");
gotoAndStop (35);
} else if ((power >= "25") and (power < "35")) {
Set("../:score", ../:score + "50");
Set("../:puckSmash", "1");
gotoAndPlay (15);
} else {
count = count + "1";
prevFrame();
}
} else {
count = count + "1";
prevFrame();
}
} else {
count = distance;
prevFrame();
}
} else {
gotoAndPlay (1);
}
Symbol 49 MovieClip Frame 15
Set("../:def2down", "1");
play();
Symbol 49 MovieClip Frame 16
play();
Symbol 49 MovieClip Frame 17
if (count < downtime) {
puckHitX = ../:def2X - (../:puckX - "5");
puckHitY = ("60" - ../:puckZ) * "4";
power = ../puck:puckpower;
if (((((((-"10") < puckHitX) and (puckHitX < "60")) and (((-"1") * power) < puckHitY)) and (puckHitY < power)) and ("25" >= power)) and (../:puckSmash == "0")) {
Set("../:score", ../:score + "75");
Set("../:puckSmash", "1");
gotoAndStop (25);
} else {
count = count + "1";
prevFrame();
}
} else {
gotoAndStop (30);
}
Symbol 49 MovieClip Frame 20
Set("../:def2down", "1");
play();
Symbol 49 MovieClip Frame 21
play();
Symbol 49 MovieClip Frame 22
if (count < downtime) {
puckHitX = ../:def2X - (../:puckX - "5");
puckHitY = ("60" - ../:puckZ) * "4";
power = ../puck:puckpower;
if (((((((-"10") < puckHitX) and (puckHitX < "60")) and (((-"1") * power) < puckHitY)) and (puckHitY < power)) and ("25" >= power)) and (../:puckSmash == "0")) {
Set("../:score", ../:score + "75");
Set("../:puckSmash", "1");
gotoAndStop (25);
} else {
count = count + "1";
prevFrame();
}
} else {
gotoAndStop (30);
}
Symbol 49 MovieClip Frame 30
stop();
Symbol 49 MovieClip Frame 35
stop();
Symbol 70 MovieClip Frame 1
play();
Symbol 70 MovieClip Frame 61
gotoAndPlay(random("40"));
Symbol 71 MovieClip Frame 1
play();
Symbol 71 MovieClip Frame 8
stop();
Symbol 72 MovieClip Frame 1
play();
Symbol 72 MovieClip Frame 8
stop();
Symbol 73 MovieClip Frame 1
play();
Symbol 73 MovieClip Frame 20
stop();
Symbol 74 MovieClip Frame 1
play();
Symbol 74 MovieClip Frame 20
stop();
Symbol 75 MovieClip Frame 1
play();
Symbol 75 MovieClip Frame 22
tellTarget ("../") {
gotoAndStop ("getup");
};
stop();
Symbol 76 MovieClip Frame 1
play();
Symbol 76 MovieClip Frame 7
Set("../../:def1down", "0");
tellTarget ("../") {
gotoAndPlay ("still");
};
stop();
Symbol 77 MovieClip Frame 1
play();
Symbol 77 MovieClip Frame 6
tellTarget ("../") {
gotoAndPlay ("still");
};
stop();
Symbol 69 MovieClip Frame 1
Set("../:defmove1", "0");
Set("../:def1X", _x);
count = "0";
if (../:rate < "40") {
downRan = "50" - ../:rate;
} else {
downRan = "10";
}
downtime = random(downRan) + downRan;
play();
Symbol 69 MovieClip Frame 2
play();
Symbol 69 MovieClip Frame 3
puckHitX = ../:def1X - (../:puckX - "5");
puckHitY = ("63.75" - ../:puckZ) * "4";
power = ../puck:puckpower;
if (((("0" < puckHitX) and (puckHitX < "50")) and (((-"1") * power) < puckHitY)) and (puckHitY < power)) {
if ("22" >= power) {
Set("../:score", ../:score + "30");
Set("../:puckSmash", "1");
gotoAndPlay (20);
} else if (("22" < power) and (power < "25")) {
Set("../:puckSmash", "1");
gotoAndStop (35);
} else if ((power >= "25") and (power < "35")) {
Set("../:score", ../:score + "50");
Set("../:puckSmash", "1");
gotoAndPlay (15);
}
}
prevFrame();
Symbol 69 MovieClip Frame 5
speed = random("8") + "5";
distance = random("10") + "10";
count = "0";
play();
Symbol 69 MovieClip Frame 6
play();
Symbol 69 MovieClip Frame 7
if (count < distance) {
Set("../:def1X", _x);
if ("130" < (../:def1X - speed)) {
Set("../:def1X", ../:def1X - speed);
_x = ../:def1X;
puckHitX = ../:def1X - (../:puckX - "5");
puckHitY = ("63.75" - ../:puckZ) * "4";
power = ../puck:puckpower;
if (((("0" < puckHitX) and (puckHitX < "50")) and (((-"1") * power) < puckHitY)) and (puckHitY < power)) {
if ("22" >= power) {
Set("../:score", ../:score + "30");
gotoAndPlay (20);
Set("../:puckSmash", "1");
} else if (("22" < power) and (power < "25")) {
Set("../:puckSmash", "1");
gotoAndStop (35);
} else if ((power >= "25") and (power < "35")) {
Set("../:score", ../:score + "50");
Set("../:puckSmash", "1");
gotoAndPlay (15);
} else {
count = count + "1";
prevFrame();
}
} else {
count = count + "1";
prevFrame();
}
} else {
count = distance;
prevFrame();
}
} else {
gotoAndPlay (1);
}
Symbol 69 MovieClip Frame 10
speed = random("8") + "5";
distance = random("10") + "10";
count = "0";
play();
Symbol 69 MovieClip Frame 11
play();
Symbol 69 MovieClip Frame 12
if (count < distance) {
Set("../:def1X", _x);
if ((../:def1X + speed) < "440") {
Set("../:def1X", ../:def1X + speed);
_x = ../:def1X;
puckHitX = ../:def1X - (../:puckX - "5");
puckHitY = ("63.75" - ../:puckZ) * "4";
power = ../puck:puckpower;
if (((("0" < puckHitX) and (puckHitX < "50")) and (((-"1") * power) < puckHitY)) and (puckHitY < power)) {
if ("22" >= power) {
Set("../:score", ../:score + "30");
gotoAndPlay (20);
Set("../:puckSmash", "1");
} else if (("22" < power) and (power < "25")) {
Set("../:puckSmash", "1");
gotoAndStop (35);
} else if ((power >= "25") and (power < "35")) {
Set("../:score", ../:score + "50");
Set("../:puckSmash", "1");
gotoAndPlay (15);
} else {
count = count + "1";
prevFrame();
}
} else {
count = count + "1";
prevFrame();
}
} else {
count = distance;
prevFrame();
}
} else {
gotoAndPlay (1);
}
Symbol 69 MovieClip Frame 15
Set("../:def1down", "1");
play();
Symbol 69 MovieClip Frame 16
play();
Symbol 69 MovieClip Frame 17
if (count < downtime) {
puckHitX = ../:def1X - (../:puckX - "5");
puckHitY = ("63.75" - ../:puckZ) * "4";
power = ../puck:puckpower;
if (((((((-"10") < puckHitX) and (puckHitX < "60")) and (((-"1") * power) < puckHitY)) and (puckHitY < power)) and ("25" >= power)) and (../:puckSmash == "0")) {
Set("../:score", ../:score + "75");
gotoAndStop (25);
Set("../:puckSmash", "1");
} else {
count = count + "1";
prevFrame();
}
} else {
gotoAndStop (30);
}
Symbol 69 MovieClip Frame 20
Set("../:def1down", "1");
play();
Symbol 69 MovieClip Frame 21
play();
Symbol 69 MovieClip Frame 22
if (count < downtime) {
puckHitX = ../:def1X - (../:puckX - "5");
puckHitY = ("63.75" - ../:puckZ) * "4";
power = ../puck:puckpower;
if (((((((-"10") < puckHitX) and (puckHitX < "60")) and (((-"1") * power) < puckHitY)) and (puckHitY < power)) and ("25" >= power)) and (../:puckSmash == "0")) {
Set("../:score", ../:score + "75");
gotoAndStop (25);
Set("../:puckSmash", "1");
} else {
count = count + "1";
prevFrame();
}
} else {
gotoAndStop (30);
}
Symbol 69 MovieClip Frame 30
stop();
Symbol 69 MovieClip Frame 35
stop();
Symbol 78 MovieClip Frame 1
count = "0";
Set("../:puckZ", "100");
_y = "360";
_xscale = "100";
_yscale = "100";
puckAltitude = "0";
puckAltY = "0";
setProperty("puck", _y , "0");
speed = random(../:rate / "2") + "10";
if (random("2") == "0") {
_x = (-"20");
} else {
_x = "570";
speed = speed * (-"1");
}
Set("../:puckSmash", "0");
goal = "0";
if (../:start == "1") {
gotoAndPlay (5);
} else {
stop();
}
Symbol 78 MovieClip Frame 4
play();
Symbol 78 MovieClip Frame 5
Set("../:puckX", _x);
if ((("0" < speed) and ((../:puckX + speed) < "580")) or ((speed < "0") and ((-"30") < (../:puckX + speed)))) {
Set("../:puckX", ../:puckX + speed);
_x = ../:puckX;
prevFrame();
} else {
gotoAndPlay (1);
}
Symbol 78 MovieClip Frame 7
if (../:puckSmash == "1") {
gotoAndPlay (10);
} else {
puckGoalY = ("49.75" - ../:puckZ) * "4";
if ((((((((-"1") * puckpower) < puckGoalY) and (puckGoalY < puckpower)) and ("247" < ../:puckX)) and (../:puckX < "309")) and (puckpower < "25")) and (goal == "0")) {
tellTarget ("../board") {
gotoAndPlay ("goal");
};
Set("../:score", ../:score + "20");
goal = "1";
}
play();
}
Symbol 78 MovieClip Frame 8
Set("../:puckY", _y);
Set("../:puckX", _x);
count = count + "2";
if (("130" < ../:puckY) and ("1" < puckpower)) {
if (puckpower < "15") {
puckpower = puckpower / "1.1";
}
puckOffset = (("280" - _x) / "500") * puckpower;
puckAngle = (../:dx / "5") - puckOffset;
Set("../:puckY", ../:puckY - puckpower);
Set("../:puckX", (../:puckX + puckOffset) + puckAngle);
Set("../:puckZ", "100" - (("360" - ../:puckY) / "4"));
_y = ../:puckY;
_x = ../:puckX;
_xscale = ../:puckZ;
_yscale = ../:puckZ;
if ("0" < puckAltitude) {
puckAltY = (puckAltitude * count) * (-"1");
}
Set("../:puckYfly", ../:puckY + puckAltY);
setProperty("puck", _y , puckAltY);
if (../:puckSmash == "1") {
gotoAndPlay (10);
} else {
prevFrame();
}
} else {
Set("../:puckSmash", "1");
gotoAndPlay (10);
}
Symbol 78 MovieClip Frame 10
setProperty("puck", _y , puckAltY);
play();
Symbol 78 MovieClip Frame 14
gotoAndStop (1);
Symbol 90 Button
on (release) {
gotoAndPlay (21);
}
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 10
gotoAndStop (1);
Symbol 97 MovieClip Frame 1
play();
Symbol 97 MovieClip Frame 6
Set("../../:shootOK", "1");
stop();
Symbol 97 MovieClip Frame 7
Set("../../:shootOK", "0");
Set("../../:dx", ../../:puckX - (../../:playerX + "80"));
if (((-"35") < ../../:dx) and (../../:dx < "35")) {
tellTarget ("sfx") {
gotoAndPlay (2);
};
tellTarget ("../../puck") {
puckpower = ../:power;
if ("20" < puckpower) {
puckAltitude = (puckpower - "20") * "2";
}
gotoAndPlay ("shoot");
};
}
play();
Symbol 97 MovieClip Frame 16
tellTarget ("../") {
gotoAndStop ("still");
};
stop();
Symbol 91 MovieClip Frame 1
Set("../:swingOK", "1");
stop();
Symbol 100 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 2
play();
Symbol 100 MovieClip Frame 32
gotoAndStop (1);
Symbol 100 MovieClip Frame 33
play();
Symbol 100 MovieClip Frame 64
play();
Symbol 100 MovieClip Frame 96
if (../:start == "0") {
nextFrame();
} else {
gotoAndStop (1);
}
Symbol 100 MovieClip Frame 97
play();
Symbol 100 MovieClip Frame 192
gotoAndStop (1);
Symbol 113 MovieClip Frame 1
setProperty("bar", _yscale , "1");
stop();
Symbol 113 MovieClip Frame 2
play();
Symbol 113 MovieClip Frame 3
if (../:power < "16") {
Set("../:power", ../:power + "2");
} else if (../:power < "26") {
Set("../:power", ../:power + "1");
} else if (../:power < "40") {
Set("../:power", ../:power + "0.5");
}
setProperty("bar", _yscale , ../:power * "2.5");
prevFrame();
Symbol 113 MovieClip Frame 5
play();
Symbol 113 MovieClip Frame 15
gotoAndStop (1);
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 2
i = "1";
a = "5";
b = "1.5";
k = "0";
while (i >= "0") {
Set(("../trail" add i) add ":x_value", getProperty("/trail" add i, _x));
Set(("../trail" add i) add ":vx", "0");
i = i - "1";
}
play();
Symbol 117 MovieClip Frame 3
Set("../trail1:vx", (../trail1:vx + ((((../trail0:x_value + k) - ../trail1:x_value) * "1") / a)) / b);
Set("../trail1:x_value", ../trail1:x_value + ../trail1:vx);
Set("../trail0:x_value", getProperty("../trail0", _x));
Set("../:playerX", ../trail1:x_value);
setProperty("../trail1", _x , ../:playerX);
play();
Symbol 117 MovieClip Frame 4
prevFrame();
Symbol 118 Button
on (press) {
if (swingOK == "1") {
swingOK = "0";
power = "1";
tellTarget ("/power") {
gotoAndPlay (2);
};
tellTarget ("/trail1") {
gotoAndStop ("hit");
};
}
}
on (release, releaseOutside) {
if (shootOK == "1") {
tellTarget ("/power") {
gotoAndPlay (5);
};
tellTarget ("/trail1/player") {
nextFrame();
};
} else {
tellTarget ("/trail1") {
gotoAndStop ("still");
};
}
}
on (keyPress "q") {
toggleHighQuality();
if (hq == "0") {
hq = "1";
} else {
hq = "0";
}
}
on (keyPress "Q") {
toggleHighQuality();
if (hq == "0") {
hq = "1";
} else {
hq = "0";
}
}
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 4
gotoAndStop (1);
Symbol 123 MovieClip Frame 1
play();
Symbol 123 MovieClip Frame 2
if (../:start == "1") {
Set("../:goneTime", ../:goneTime + "83");
nowTime = "120000" - ../:goneTime;
if ((../:score / ../:extraLevel) >= "500") {
tellTarget ("../board") {
gotoAndPlay ("extratime");
};
Set("../:extraLevel", ../:extraLevel + "1");
Set("../:goneTime", ../:goneTime - "30000");
Set("../:tenSecs", "9");
}
if ("0" >= nowTime) {
nowTime = "0";
tellTarget ("../") {
start = "0";
gotoAndPlay ("gameover");
};
}
secs = int(nowTime / "1000");
mins = int(secs / "60");
if ("0" < mins) {
secs = secs - (mins * "60");
}
timeTemp = ("0" add mins) add ":";
if (secs < "10") {
if (("10000" >= nowTime) and (secs == ../:tenSecs)) {
tellTarget ("sfx") {
gotoAndPlay (2);
};
Set("../:tenSecs", ../:tenSecs - "1");
}
timeTemp = (timeTemp add "0") add secs;
} else {
timeTemp = timeTemp add secs;
}
if (mins < "1") {
millis = int((nowTime - (secs * "1000")) / "10");
} else {
millis = int((nowTime - ((secs * "1000") + (mins * "60000"))) / "10");
}
timeTemp = (timeTemp add ":") add millis;
time = timeTemp;
}
prevFrame();
Symbol 129 Button
on (press) {
if (swingOK == "1") {
swingOK = "0";
power = "1";
tellTarget ("/power") {
gotoAndPlay (2);
};
tellTarget ("/trail1") {
gotoAndStop ("hit");
};
}
}
on (release, releaseOutside) {
if (shootOK == "1") {
tellTarget ("/power") {
gotoAndPlay (5);
};
tellTarget ("/trail1/player") {
nextFrame();
};
} else {
tellTarget ("/trail1") {
gotoAndStop ("still");
};
}
}
on (keyPress "q") {
toggleHighQuality();
if (hq == "0") {
hq = "1";
} else {
hq = "0";
}
}
on (keyPress "Q") {
toggleHighQuality();
if (hq == "0") {
hq = "1";
} else {
hq = "0";
}
}
Symbol 130 Button
on (release) {
gotoAndPlay (21);
}
Symbol 133 Button
on (release) {
_root.gameover = 1;
}