Frame 1
fscommand ("showmenu", "false");
hidenx = -"115";
hideny = "175";
Secrets = "NNNNNN";
bside = "40";
bleft = "47";
btop = "59";
pleft = "50";
ptop = "14";
pscale = "70";
soundon = "1";
player = "Noname";
stop();
Frame 2
encoder0 = "GKU";
encoder1 = "BOV";
encoder2 = "HLX";
encoder3 = "CPZ";
encoder4 = "DMW";
encoder5 = "AQY";
encoder6 = "JRv";
encoder7 = "ETe";
encoder8 = "FNr";
encoder9 = "ISb";
Frame 3
levels = "1";
level_objects = "20";
level_time = "72";
points = "0";
cheaton = "0";
call("prnt scre");
stop();
tellTarget ("/playbtn") {
gotoAndStop (1);
}
Frame 4
tellTarget ("/") {
level_score = "0";
fill_conner = "0";
pipes_used = "0";
pipes_work = "0";
x = "0";
y = "0";
depth = "1";
level = levels;
required = level_objects;
while (x < "12") {
while (y < "8") {
duplicateMovieClip ("bb", (("x" add x) add "y") add y, depth);
setProperty((("x" add x) add "y") add y, _x , (x * bside) + bleft);
setProperty((("x" add x) add "y") add y, _y , (y * bside) + btop);
Set((("i" add x) add "j") add y, "100");
depth = depth + "1";
y = y + "1";
}
x = x + "1";
y = "0";
}
depth = depth + "2";
t = random("4") + "8";
duplicateMovieClip ("/p" add t, "mp" add depth, depth);
tx = random("10") + "1";
ty = random("6") + "1";
setProperty("mp" add depth, _x , (tx * bside) + bleft);
setProperty("mp" add depth, _y , (ty * bside) + btop);
Set((("i" add tx) add "j") add ty, t);
Set(((("i" add tx) add "j") add ty) add "d", depth);
tellTarget ("/repair/rtimes") {
bombrs = "3";
}
}
if (levels == "1") {
setProperty("/black", _alpha , "25");
}
tellTarget ("/playbtn") {
gotoAndStop (4);
}
Frame 5
if (levels == "1") {
setProperty("/black", _alpha , "50");
}
Frame 6
if (levels == "1") {
setProperty("/black", _alpha , "75");
}
Frame 7
if (levels == "1") {
setProperty("/black", _alpha , "100");
}
Frame 22
ago = getTimer();
timer = level_time;
time = "LEFT TIME:" add timer;
t = random("7");
depth = depth + "1";
duplicateMovieClip ("/p" add t, "mp" add depth, depth);
setProperty("mp" add depth, _x , pleft);
setProperty("mp" add depth, _y , ptop);
setProperty("mp" add depth, _xscale , pscale);
setProperty("mp" add depth, _yscale , pscale);
setProperty("/h", _visible , "1");
startDrag ("/mouse", true);
Frame 23
mx = getProperty("/mouse", _x);
my = getProperty("/mouse", _y);
if (mx < bleft) {
mx = bleft;
}
if (my < btop) {
my = btop;
}
if ((bleft + (bside * "11")) < mx) {
mx = bleft + (bside * "11");
}
if ((btop + (bside * "7")) < my) {
my = btop + (bside * "7");
}
setProperty("/h", _x , (int((mx - bleft) / bside) * bside) + bleft);
setProperty("/h", _y , (int((my - btop) / bside) * bside) + btop);
tellTarget ("/repair") {
gotoAndStop (2);
}
tellTarget ("/playbtn") {
gotoAndStop (2);
}
Frame 24
now = getTimer();
if ("1000" < (now - ago)) {
timer = timer - "1";
ago = now;
tempt = timer / level_time;
if ((tempt < "0.3") and ("0.15" < tempt)) {
tellTarget ("/timeline") {
gotoAndStop (2);
};
if (/:soundon) {
if ((levels < "9") and (/shortmusic:playing == "0")) {
tellTarget ("/longmusic") {
gotoAndStop (1);
tellTarget ("/shortmusic") {
play();
};
}
}
}
} else if (tempt < "0.15") {
tellTarget ("/timeline") {
gotoAndStop (3);
};
} else if (/:soundon) {
if ((levels < "9") and (/longmusic:playing == "0")) {
tellTarget ("/longmusic") {
gotoAndPlay (2);
};
} else if ((levels >= "9") and (/shortmusic:playing == "0")) {
tellTarget ("/shortmusic") {
gotoAndPlay (2);
};
}
}
setProperty("timeline", _yscale , ("7900" * timer) / level_time);
if (timer < "1") {
gotoAndPlay (28);
} else {
gotoAndPlay (23);
}
} else {
gotoAndPlay (23);
}
Frame 28
stopDrag();
setProperty("/h", _visible , "0");
ok = "1";
dir = eval ((("i" add tx) add "j") add ty);
flowtox = tx;
flowtoy = ty;
if (dir == "8") {
out = "d";
flowtoy = flowtoy - "1";
} else if (dir == "9") {
out = "u";
flowtoy = flowtoy + "1";
} else if (dir == "10") {
out = "r";
flowtox = flowtox - "1";
} else {
out = "l";
flowtox = flowtox + "1";
}
tellTarget ("mp" add eval (((("i" add tx) add "j") add ty) add "d")) {
gotoAndStop (2);
}
tellTarget ("/repair") {
gotoAndStop (1);
}
tellTarget ("/timeline") {
gotoAndStop (1);
}
Frame 34
dir = eval ((("i" add flowtox) add "j") add flowtoy);
if (dir < "7") {
in = out;
call("pipe" add dir);
if (out ne "n") {
level_objects = level_objects - "1";
if (level_objects < "0") {
required = "00";
} else if (level_objects < "10") {
required = "0" add level_objects;
} else {
required = level_objects;
}
if (out eq "u") {
flowtoy = flowtoy + "1";
if ("7" < flowtoy) {
ok = "0";
}
} else if (out eq "d") {
flowtoy = flowtoy - "1";
if (flowtoy < "0") {
ok = "0";
}
} else if (out eq "l") {
flowtox = flowtox + "1";
if ("11" < flowtox) {
ok = "0";
}
} else {
flowtox = flowtox - "1";
if (flowtox < "0") {
ok = "0";
}
}
} else {
ok = "0";
}
} else {
ok = "0";
}
Frame 43
if (ok == "1") {
gotoAndPlay (34);
} else {
gotoAndPlay (45);
}
Frame 45
call("remove all");
trace("level_objects:" add level_objects);
if (("0" >= level_objects) and (levels < "9")) {
trace("next level");
tellTarget ("/playbtn") {
gotoAndStop (3);
};
use_rate = pipes_work / pipes_used;
trace((pipes_work add "/") add pipes_used);
trace("use_rate:" add use_rate);
trace("level_score:" add level_score);
if (use_rate < "0.88") {
if (level_score < "450") {
tellTarget ("/level_result") {
gotoAndStop (1);
};
} else if (level_score < "550") {
Secrets = ((substring(Secrets, "1", "4")) add "Y") add (substring(Secrets, "6", "1"));
tellTarget ("/level_result") {
gotoAndStop (2);
setProperty("hiden5", _x , /:hidenx);
setProperty("hiden5", _y , /:hideny);
};
} else {
Secrets = (substring(Secrets, "1", "5")) add "Y";
tellTarget ("/level_result") {
gotoAndStop (2);
setProperty("hiden6", _x , /:hidenx);
setProperty("hiden6", _y , /:hideny);
};
}
} else if (use_rate < "0.93") {
if (level_score < "550") {
Secrets = ((substring(Secrets, "1", "1")) add "Y") add (substring(Secrets, "3", "4"));
tellTarget ("/level_result") {
gotoAndStop (2);
setProperty("hiden2", _x , /:hidenx);
setProperty("hiden2", _y , /:hideny);
};
} else {
Secrets = "Y" add (substring(Secrets, "2", "5"));
tellTarget ("/level_result") {
gotoAndStop (2);
setProperty("hiden1", _x , /:hidenx);
setProperty("hiden1", _y , /:hideny);
};
}
} else if (use_rate < "0.98") {
if (level_score < "550") {
Secrets = ((substring(Secrets, "1", "2")) add "Y") add (substring(Secrets, "4", "3"));
tellTarget ("/level_result") {
gotoAndStop (2);
setProperty("hiden3", _x , /:hidenx);
setProperty("hiden3", _y , /:hideny);
};
} else {
Secrets = "Y" add (substring(Secrets, "2", "5"));
tellTarget ("/level_result") {
gotoAndStop (2);
setProperty("hiden1", _x , /:hidenx);
setProperty("hiden1", _y , /:hideny);
};
}
} else {
Secrets = ((substring(Secrets, "1", "3")) add "Y") add (substring(Secrets, "5", "2"));
tellTarget ("/level_result") {
gotoAndStop (2);
setProperty("hiden4", _x , /:hidenx);
setProperty("hiden4", _y , /:hideny);
};
}
levels = levels + "1";
if ("2" >= levels) {
level_objects = "20";
} else if ("4" >= levels) {
level_objects = "25";
} else if ("6" >= levels) {
level_objects = "30";
} else if ("8" >= levels) {
level_objects = "35";
} else {
level_objects = "16";
level_time = "30";
}
tellTarget ("/playbtn") {
gotoAndStop (3);
};
} else if (("0" >= level_objects) and (levels >= "9")) {
trace("WIN");
tellTarget ("/playbtn") {
gotoAndStop (5);
tellTarget ("/level_result") {
gotoAndStop (4);
};
}
} else {
trace("Game Over");
tellTarget ("/playbtn") {
gotoAndStop (5);
tellTarget ("/level_result") {
gotoAndStop (3);
};
}
}
stop();
Frame 48
stop();
tellTarget ("/playbtn") {
gotoAndStop (5);
}
Frame 49
tellTarget ("/playbtn") {
gotoAndStop (5);
}
Frame 51
i = "1";
srctemp1 = "";
while (i < "7") {
if ((substring(Secrets, i, "1")) eq "Y") {
srctemp1 = srctemp1 add (random("3") + "4");
} else {
srctemp1 = srctemp1 add (random("3") + "7");
}
i = i + "1";
}
if (points < "100") {
srcdigi = (("00" add int(points / "10")) add levels) add srctemp1;
} else if (points < "1000") {
srcdigi = (("0" add int(points / "10")) add levels) add srctemp1;
} else {
srcdigi = (int(points / "10") add levels) add srctemp1;
}
i = "1";
srctemp2 = "0";
while (i < "11") {
srctemp2 = srctemp2 + int(substring(srcdigi, i, "1"));
i = i + "1";
}
if (srctemp2 < "10") {
srcstr = (srcdigi add "0") add srctemp2;
} else {
srcstr = srcdigi add srctemp2;
}
encoded = "";
i = "1";
while (i < "13") {
encoded = encoded add (substring(eval ("encoder" add (substring(srcstr, i, "1"))), int(random("3") + "1"), "1"));
i = i + "1";
}
getURL ((("http://freegaming.webhostme.com/pipes-hs.asp?player=" add player) add "&todo=submit&data=") add encoded, "_blank");
stop();
Frame 53
getURL ("javascript:window.close();", "_top");
Frame 65
removeMovieClip("mp" add iam);
Frame 75
if (dorepair == "1") {
depth = depth + "1";
t = "7";
duplicateMovieClip ("/p" add t, "mp" add depth, depth);
setProperty("mp" add depth, _x , pleft);
setProperty("mp" add depth, _y , ptop);
setProperty("mp" add depth, _xscale , pscale);
setProperty("mp" add depth, _yscale , pscale);
dorepair = "0";
} else {
depth = depth + "1";
t = random("9");
if (t == "7") {
t = "0";
} else if (t == "8") {
t = "1";
}
duplicateMovieClip ("/p" add t, "mp" add depth, depth);
setProperty("mp" add depth, _x , pleft);
setProperty("mp" add depth, _y , ptop);
setProperty("mp" add depth, _xscale , pscale);
setProperty("mp" add depth, _yscale , pscale);
}
Frame 84
if (in eq "l") {
out = "l";
call("flowby");
} else if (in eq "r") {
out = "r";
call("flowby");
} else {
out = "n";
}
Frame 90
if (in eq "u") {
out = "u";
call("flowby");
} else if (in eq "d") {
out = "d";
call("flowby");
} else {
out = "n";
}
Frame 96
temp = eval (((("i" add flowtox) add "j") add flowtoy) add "d");
status = eval (("mp" add temp) add ":cross");
if (in eq "u") {
out = "u";
} else if (in eq "d") {
out = "d";
} else if (in eq "l") {
out = "l";
} else if (in eq "r") {
out = "r";
} else {
out = "n";
}
if (out ne "n") {
if ("0" < status) {
tellTarget ("mp" add eval (((("i" add flowtox) add "j") add flowtoy) add "d")) {
gotoAndStop (4);
};
points = points + "30";
if ("9990" < points) {
points = "9990";
}
level_score = level_score + "30";
call("prnt scre");
if (/:soundon) {
tellTarget ("/sound2") {
play();
};
}
} else if ((out eq "u") or (out eq "d")) {
call("flowby");
} else {
tellTarget ("mp" add eval (((("i" add flowtox) add "j") add flowtoy) add "d")) {
gotoAndStop (3);
};
points = points + "10";
if ("9990" < points) {
points = "9990";
}
level_score = level_score + "10";
pipes_work = pipes_work + "1";
call("prnt scre");
if (/:soundon) {
tellTarget ("/sound1") {
play();
};
}
}
}
Frame 102
if (in eq "l") {
out = "u";
call("flowby");
} else if (in eq "d") {
out = "r";
call("flowby");
} else {
out = "n";
}
Frame 108
if (in eq "u") {
out = "l";
call("flowby");
} else if (in eq "r") {
out = "d";
call("flowby");
} else {
out = "n";
}
Frame 114
if (in eq "r") {
out = "u";
call("flowby");
} else if (in eq "d") {
out = "l";
call("flowby");
} else {
out = "n";
}
Frame 120
if (in eq "u") {
out = "r";
call("flowby");
} else if (in eq "l") {
out = "d";
call("flowby");
} else {
out = "n";
}
Frame 126
tellTarget ("mp" add eval (((("i" add flowtox) add "j") add flowtoy) add "d")) {
gotoAndStop (2);
};
points = points + "10";
if ("9990" < points) {
points = "9990";
}
level_score = level_score + "10";
pipes_work = pipes_work + "1";
call("prnt scre");
if (soundon) {
tellTarget ("/sound1") {
play();
};
}
Frame 132
while (depth >= "99") {
removeMovieClip("mp" add depth);
depth = depth - "1";
trace("depth" add depth);
}
x = "0";
y = "0";
while (x < "12") {
while (y < "8") {
removeMovieClip((("x" add x) add "y") add y);
y = y + "1";
}
x = x + "1";
y = "0";
}
Frame 141
if (points < "10") {
score = "00000";
} else if (points < "100") {
score = "000" add points;
} else if (points < "1000") {
score = "00" add points;
} else if (points < "10000") {
score = "0" add points;
} else {
score = points;
}
Symbol 7 MovieClip Frame 1
stop();
Symbol 7 MovieClip Frame 2
stop();
Symbol 8 MovieClip Frame 1
nx = "0";
ny = "0";
lx = "0";
ly = "0";
nfollowing = "";
yfollowing = "";
startDrag ("loadingmouse", true);
Symbol 8 MovieClip Frame 3
loadrate = getProperty("/", _framesloaded);
if (loadrate < "3") {
tellTarget ("ldd1") {
gotoAndStop (2);
};
} else if (("3" < loadrate) and (loadrate < "23")) {
tellTarget ("ldd2") {
gotoAndStop (2);
};
} else if ((loadrate >= "23") and (loadrate < "120")) {
tellTarget ("ldd3") {
gotoAndStop (2);
};
} else if ((loadrate >= "100") and (loadrate < getProperty("/", _totalframes))) {
tellTarget ("ldd4") {
gotoAndStop (2);
};
} else if (loadrate >= getProperty("/", _totalframes)) {
stopDrag();
tellTarget ("/") {
play();
};
}
lx = nx;
ly = ny;
nx = getProperty("loadingmouse", _x);
ny = getProperty("loadingmouse", _y);
dist = ((ny - ly) * (ny - ly)) + ((nx - lx) * (nx - lx));
nfollowing = getProperty("loadingmouse", _droptarget);
if (nfollowing ne "") {
setProperty(nfollowing, _x , nx);
setProperty(nfollowing, _y , ny);
lfollowing = nfollowing;
} else if ((dist < "30000") and (lfollowing ne "")) {
setProperty(lfollowing, _x , nx);
setProperty(lfollowing, _y , ny);
} else {
lfollowing = "";
}
gotoAndPlay (2);
Symbol 10 MovieClip Frame 1
stop();
Symbol 16 MovieClip Frame 7
Set("/:iam", iam);
tellTarget ("/") {
call("erase bomb");
}
Symbol 21 MovieClip Frame 1
cross = "0";
stop();
Symbol 21 MovieClip Frame 2
cross = "1";
stop();
Symbol 21 MovieClip Frame 3
cross = "2";
stop();
Symbol 21 MovieClip Frame 4
cross = "3";
stop();
Symbol 24 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 2
stop();
Symbol 26 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 2
stop();
Symbol 29 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 2
stop();
Symbol 32 MovieClip Frame 1
stop();
Symbol 32 MovieClip Frame 2
stop();
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 2
stop();
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 2
stop();
Symbol 38 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 2
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 2
stop();
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 2
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 2
stop();
Symbol 60 Button
on (press) {
setProperty("txt_start", _x , getProperty("txt_start", _x) + "2");
setProperty("txt_start", _y , getProperty("txt_start", _y) + "2");
}
on (release) {
setProperty("txt_start", _x , getProperty("txt_start", _x) - "2");
setProperty("txt_start", _y , getProperty("txt_start", _y) - "2");
tellTarget ("/") {
gotoAndPlay (4);
}
}
Symbol 64 Button
on (press) {
setProperty("txt_quit", _x , getProperty("txt_quit", _x) + "2");
setProperty("txt_quit", _y , getProperty("txt_quit", _y) + "2");
}
on (release) {
setProperty("txt_quit", _x , getProperty("txt_quit", _x) - "2");
setProperty("txt_quit", _y , getProperty("txt_quit", _y) - "2");
tellTarget ("/") {
stopDrag();
setProperty("/h", _visible , "0");
call("remove all");
gotoAndStop ("new");
}
}
Symbol 67 Button
on (press) {
setProperty("txt_next", _x , getProperty("txt_next", _x) + "2");
setProperty("txt_next", _y , getProperty("txt_next", _y) + "2");
}
on (release) {
setProperty("txt_next", _x , getProperty("txt_next", _x) - "2");
setProperty("txt_next", _y , getProperty("txt_next", _y) - "2");
tellTarget ("/") {
gotoAndPlay (4);
}
}
Symbol 71 Button
on (press) {
setProperty("txt_back", _x , getProperty("txt_quit", _x) + "2");
setProperty("txt_back", _y , getProperty("txt_quit", _y) + "2");
}
on (release) {
setProperty("txt_back", _x , getProperty("txt_quit", _x) - "2");
setProperty("txt_back", _y , getProperty("txt_quit", _y) - "2");
tellTarget ("/") {
gotoAndStop ("new");
}
}
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 2
stop();
Symbol 74 MovieClip Frame 3
stop();
Symbol 74 MovieClip Frame 4
stop();
Symbol 74 MovieClip Frame 5
stop();
Symbol 77 MovieClip Frame 1
stop();
Symbol 80 Button
on (press) {
setProperty("rtimes", _x , getProperty("rtimes", _x) + "2");
setProperty("rtimes", _y , getProperty("rtimes", _y) + "2");
setProperty("ico", _x , getProperty("ico", _x) + "2");
setProperty("ico", _y , getProperty("ico", _y) + "2");
}
on (release) {
setProperty("rtimes", _x , getProperty("rtimes", _x) - "2");
setProperty("rtimes", _y , getProperty("rtimes", _y) - "2");
setProperty("ico", _x , getProperty("ico", _x) - "2");
setProperty("ico", _y , getProperty("ico", _y) - "2");
if ((/:t <> "7") and ("0" lt rtimes/:bombrs)) {
Set("/:dorepair", "1");
tellTarget ("/") {
removeMovieClip("/mp" add /:depth);
Set("/depth", depth - "1");
call("next pipe");
tellTarget ("rtimes") {
bombrs = bombrs - "1";
if (bombrs lt "0") {
bombrs = "0";
}
};
}
}
}
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 2
stop();
Symbol 82 Button
on (press) {
setProperty("sndg2", _x , getProperty("sndg2", _x) + "2");
setProperty("sndg2", _y , getProperty("sndg2", _y) + "2");
setProperty("sndg1", _x , getProperty("sndg1", _x) + "2");
setProperty("sndg1", _y , getProperty("sndg1", _y) + "2");
}
on (release) {
setProperty("sndg2", _x , getProperty("sndg2", _x) - "2");
setProperty("sndg2", _y , getProperty("sndg2", _y) - "2");
setProperty("sndg1", _x , getProperty("sndg1", _x) - "2");
setProperty("sndg1", _y , getProperty("sndg1", _y) - "2");
if (/:soundon) {
Set("/:soundon", "0");
setProperty("sndg2", _visible , "0");
} else {
Set("/:soundon", "1");
setProperty("sndg2", _visible , "1");
}
if (/longmusic:playing) {
tellTarget ("/longmusic") {
gotoAndStop (1);
};
}
if (/shortmusic:playing) {
tellTarget ("/shortmusic") {
gotoAndStop (1);
};
}
}
Symbol 106 Button
on (release) {
gotoAndPlay (4);
}
on (rollOver) {
if (/:soundon) {
tellTarget ("/btnsnd1") {
play();
};
}
}
Symbol 109 Button
on (release) {
gotoAndStop (48);
}
on (rollOver) {
if (/:soundon) {
tellTarget ("/btnsnd1") {
play();
};
}
}
Symbol 112 Button
on (release) {
fscommand ("quit");
gotoAndPlay (52);
}
on (rollOver) {
if (/:soundon) {
tellTarget ("/btnsnd1") {
play();
};
}
}
Symbol 116 Button
on (release) {
getURL ("mailto:comewithwind@sina.com");
}
Symbol 118 Button
on (keyPress "<Enter>") {
keybuf = keybuf add "E";
}
on (keyPress "<Left>") {
keybuf = keybuf add "L";
}
on (keyPress "<Right>") {
keybuf = keybuf add "R";
}
on (keyPress "<Up>") {
keybuf = keybuf add "U";
}
on (keyPress "<Down>") {
keybuf = keybuf add "D";
}
on (release) {
gotoAndStop (49);
}
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 2
stop();
Symbol 123 MovieClip Frame 3
stop();
Symbol 124 Button
on (keyPress "<Enter>") {
keybuf = keybuf add "E";
}
on (keyPress "<Left>") {
keybuf = keybuf add "L";
}
on (keyPress "<Right>") {
keybuf = keybuf add "R";
}
on (keyPress "<Up>") {
keybuf = keybuf add "U";
}
on (keyPress "<Down>") {
keybuf = keybuf add "D";
}
Symbol 125 Button
on (release) {
mx = int((getProperty("/mouse", _x) - /:bleft) / /:bside);
my = int((getProperty("/mouse", _y) - /:btop) / /:bside);
if (eval ((("/:i" add mx) add "j") add my) == "100") {
setProperty("/mp" add /:depth, _x , (mx * /:bside) + /:bleft);
setProperty("/mp" add /:depth, _y , (my * /:bside) + /:btop);
setProperty("/mp" add /:depth, _xscale , "100");
setProperty("/mp" add /:depth, _yscale , "100");
Set(((("/:i" add mx) add "j") add my) add "d", /:depth);
if (/:t < "7") {
Set((("/:i" add mx) add "j") add my, /:t);
pipes_used = pipes_used + "1";
} else {
tellTarget ("/mp" add /:depth) {
iam = /:depth;
};
}
tellTarget ("/") {
call("next pipe");
};
} else if ((/:t == "7") and (eval ((("/:i" add mx) add "j") add my) < "7")) {
removeMovieClip("/mp" add /:depth);
removeMovieClip("/mp" add eval (((("/:i" add mx) add "j") add my) add "d"));
Set("/:t", eval ((("/:i" add mx) add "j") add my));
Set((("/:i" add mx) add "j") add my, "100");
tellTarget ("/") {
duplicateMovieClip ("p" add t, "mp" add depth, depth);
setProperty("mp" add depth, _x , pleft);
setProperty("mp" add depth, _y , ptop);
setProperty("mp" add depth, _xscale , pscale);
setProperty("mp" add depth, _yscale , pscale);
};
pipes_used = pipes_used - "1";
}
}
Symbol 126 Button
on (keyPress "<Enter>") {
keybuf = keybuf add "E";
}
on (keyPress "<Left>") {
keybuf = keybuf add "L";
}
on (keyPress "<Right>") {
keybuf = keybuf add "R";
}
on (keyPress "<Up>") {
keybuf = keybuf add "U";
}
on (keyPress "<Down>") {
keybuf = keybuf add "D";
l_keybuf = length(keybuf);
if (l_keybuf >= "5") {
if ((substring(keybuf, l_keybuf - "4", "5")) eq "ELRUD") {
if ((/:timer + "8") < /:level_time) {
Set("/:timer", /:timer + "8");
}
cheaton = "1";
}
}
keybuf = "";
}
Symbol 127 MovieClip Frame 1
playing = "0";
stop();
Symbol 127 MovieClip Frame 2
playing = "1";
Symbol 127 MovieClip Frame 146
gotoAndPlay (2);
Symbol 128 MovieClip Frame 1
playing = "0";
stop();
Symbol 128 MovieClip Frame 2
playing = "1";
Symbol 128 MovieClip Frame 95
gotoAndPlay (2);
Symbol 130 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 1
stop();
Symbol 164 Button
on (release) {
if (../:playername ne "Your Name") {
Set("/:player", ../:playername);
tellTarget ("/") {
gotoAndPlay ("highscore");
};
}
}
Symbol 165 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 2
stop();
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 2
stop();
Symbol 169 MovieClip Frame 3
if (/:cheaton) {
tellTarget ("ghbtn") {
gotoAndStop (2);
};
playername = "Cheat Mode";
}
stop();
Symbol 169 MovieClip Frame 4
if (/:cheaton) {
tellTarget ("ghbtn") {
gotoAndStop (2);
};
playername = "Cheat Mode";
}
stop();
Symbol 183 Button
on (release) {
Set("/:help01", "»ý·Ö");
Set("/:help02", "ÏÂÒ»¶Î¹Ü×Ó");
Set("/:help03", "¹ØÊý");
Set("/:help04", "¹ý¹ØËùÐè¹Ü×ÓÊý");
Set("/:help05", "°âÊÖ");
Set("/:help07", "ʱ¼ä");
Set("/:help06", ((((("ÓÎϷ˵Ã÷" add "\r") add "ÓÎÏ·¿ªÊ¼ºó£¬µ¥»÷Êó±ê¿ÉÒÔ½«Ò»¶Î¹Ü×Ó·ÅÖÃÔÚÆÁÄ»ÉÏ¡£") add "\r") add "µ¥»÷¡°°âÊÖ¡±¿ÉÒÔ½«Ò»¶Î·ÅºÃµÄ¹Ü×ÓÊ°Æð·Åµ½±ðµÄµØ·½¡£") add "\r") add "ÔÚÏÞ¶¨µÄʱ¼äÄÚ½«¹Ü×Ó´ÓË®±ÃÆðÁ¬½ÓÆðÀ´£¬Èç¹ûÁ¬½ÓµÄ¹Ü×ÓÊý´ïµ½ÒªÇ󣬾ͿÉÒÔ½øÈëÏÂÒ»¹Ø¡£");
gotoAndStop (2);
}
Symbol 184 Button
on (release) {
Set("/:help01", "Score");
Set("/:help02", "Next Pipe");
Set("/:help03", "Level");
Set("/:help04", "Pipes Required");
Set("/:help05", "Spanner");
Set("/:help07", "Time");
Set("/:help06", ((((((("HOW TO PLAY" add "\r") add "Left click the mouse to place a pipe segment on an empty location.") add "\r") add "Click the SPANNER button to pick up a pipe segment and place it form here to there.") add "\r") add "When the level time has reached zero, a seeker will be sent out to count the pipe fittings.") add "\r") add "To reach the next level, the pipes required display must be zero.");
gotoAndStop (1);
}
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 2
stop();