Frame 1
ifFrameLoaded (25) {
gotoAndPlay (25);
}
Frame 20
gotoAndPlay (1);
Frame 25
tellTarget ("/igra") {
gotoAndPlay (1);
}
Frame 26
stop();
Symbol 14 MovieClip Frame 1
sx = "50";
sy = "0";
stop();
Symbol 14 MovieClip Frame 2
stop();
Symbol 14 MovieClip Frame 3
stop();
Symbol 14 MovieClip Frame 4
stop();
Symbol 17 MovieClip Frame 1
sx = "45";
sy = "0";
stop();
Symbol 17 MovieClip Frame 2
stop();
Symbol 17 MovieClip Frame 3
stop();
Symbol 17 MovieClip Frame 4
stop();
Symbol 33 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 3
stop();
Symbol 33 MovieClip Frame 6
stop();
Symbol 33 MovieClip Frame 9
stop();
Symbol 42 MovieClip Frame 1
result = "nook";
tek_x = getProperty("../figure", _x);
tek_y = getProperty("../figure", _y);
tek_xm = ..:max_x * "10";
tek_ym = ..:max_y * "10";
tposx = (((getProperty("../figure", _x) + getProperty("../figure/k1", _x)) - "5") / "10") + "1";
tposy = (((getProperty("../figure", _y) + getProperty("../figure/k1", _y)) - "5") / "10") + "1";
if (int(tposy) < tposy) {
tposy = int(tposy) + "1";
} else {
tposy = int(tposy);
}
ttt1 = tposy;
cell1 = eval ((("..:dim" add tposx) add "_") add tposy);
tposx = (((getProperty("../figure", _x) + getProperty("../figure/k2", _x)) - "5") / "10") + "1";
tposy = (((getProperty("../figure", _y) + getProperty("../figure/k2", _y)) - "5") / "10") + "1";
if (int(tposy) < tposy) {
tposy = int(tposy) + "1";
} else {
tposy = int(tposy);
}
cell2 = eval ((("..:dim" add tposx) add "_") add tposy);
tposx = (((getProperty("../figure", _x) + getProperty("../figure/k3", _x)) - "5") / "10") + "1";
tposy = (((getProperty("../figure", _y) + getProperty("../figure/k3", _y)) - "5") / "10") + "1";
if (int(tposy) < tposy) {
tposy = int(tposy) + "1";
} else {
tposy = int(tposy);
}
cell3 = eval ((("..:dim" add tposx) add "_") add tposy);
tposx = (((getProperty("../figure", _x) + getProperty("../figure/k4", _x)) - "5") / "10") + "1";
tposy = (((getProperty("../figure", _y) + getProperty("../figure/k4", _y)) - "5") / "10") + "1";
if (int(tposy) < tposy) {
tposy = int(tposy) + "1";
} else {
tposy = int(tposy);
}
cell4 = eval ((("..:dim" add tposx) add "_") add tposy);
if (((((((((tek_x + getProperty("../figure/k1", _x)) >= "0") and ((tek_x + getProperty("../figure/k2", _x)) >= "0")) and ((tek_x + getProperty("../figure/k3", _x)) >= "0")) and ((tek_x + getProperty("../figure/k4", _x)) >= "0")) and ((tek_x + getProperty("../figure/k1", _x)) < tek_xm)) and ((tek_x + getProperty("../figure/k2", _x)) < tek_xm)) and ((tek_x + getProperty("../figure/k3", _x)) < tek_xm)) and ((tek_x + getProperty("../figure/k4", _x)) < tek_xm)) {
if ((tek_y + getProperty("../figure", _height)) < tek_ym) {
if ((((cell1 eq "") and (cell2 eq "")) and (cell3 eq "")) and (cell4 eq "")) {
result = "ok";
}
}
}
stop();
Symbol 42 MovieClip Frame 2
result2 = "nook";
tek_y = getProperty("../figure", _y) + "5";
tek_ym = ..:max_y * "10";
tposx = (((getProperty("../figure", _x) + getProperty("../figure/k1", _x)) - "5") / "10") + "1";
tposy = (((getProperty("../figure", _y) + getProperty("../figure/k1", _y)) + "5") / "10") + "1";
cell1 = eval ((("..:dim" add tposx) add "_") add tposy);
tposx = (((getProperty("../figure", _x) + getProperty("../figure/k2", _x)) - "5") / "10") + "1";
tposy = (((getProperty("../figure", _y) + getProperty("../figure/k2", _y)) + "5") / "10") + "1";
cell2 = eval ((("..:dim" add tposx) add "_") add tposy);
tposx = (((getProperty("../figure", _x) + getProperty("../figure/k3", _x)) - "5") / "10") + "1";
tposy = (((getProperty("../figure", _y) + getProperty("../figure/k3", _y)) + "5") / "10") + "1";
cell3 = eval ((("..:dim" add tposx) add "_") add tposy);
tposx = (((getProperty("../figure", _x) + getProperty("../figure/k4", _x)) - "5") / "10") + "1";
tposy = (((getProperty("../figure", _y) + getProperty("../figure/k4", _y)) + "5") / "10") + "1";
cell4 = eval ((("..:dim" add tposx) add "_") add tposy);
if (((((tek_y + getProperty("../figure/k1", _y)) < tek_ym) and ((tek_y + getProperty("../figure/k2", _y)) < tek_ym)) and ((tek_y + getProperty("../figure/k3", _y)) < tek_ym)) and ((tek_y + getProperty("../figure/k4", _y)) < tek_ym)) {
if ((((cell1 eq "") and (cell2 eq "")) and (cell3 eq "")) and (cell4 eq "")) {
result2 = "ok";
}
}
stop();
Symbol 42 MovieClip Frame 3
result = "nook";
tek_x = getProperty("../figure", _x);
tek_y = getProperty("../figure", _y);
tek_xm = ..:max_x * "10";
tek_ym = ..:max_y * "10";
fl1 = "0";
n = "1";
while ("4" >= n) {
if (n == "1") {
tposx = (((getProperty("../figure", _x) + getProperty("../figure/k1", _x)) - "5") / "10") + "1";
tposy = (((getProperty("../figure", _y) + getProperty("../figure/k1", _y)) - "5") / "10") + "1";
}
if (n == "2") {
tposx = (((getProperty("../figure", _x) + getProperty("../figure/k2", _x)) - "5") / "10") + "1";
tposy = (((getProperty("../figure", _y) + getProperty("../figure/k2", _y)) - "5") / "10") + "1";
}
if (n == "3") {
tposx = (((getProperty("../figure", _x) + getProperty("../figure/k3", _x)) - "5") / "10") + "1";
tposy = (((getProperty("../figure", _y) + getProperty("../figure/k3", _y)) - "5") / "10") + "1";
}
if (n == "4") {
tposx = (((getProperty("../figure", _x) + getProperty("../figure/k4", _x)) - "5") / "10") + "1";
tposy = (((getProperty("../figure", _y) + getProperty("../figure/k4", _y)) - "5") / "10") + "1";
}
if ((int(tposy) - tposy) == "0") {
if (eval ((("..:dim" add tposx) add "_") add tposy) eq "") {
fl1 = fl1 + "1";
}
} else {
m = int(tposy) - tposy;
if ("0" < m) {
ty = tposy - m;
} else {
ty = tposy + m;
}
ty1 = ty + "1";
if ((eval ((("..:dim" add tposx) add "_") add ty) eq "") and (eval ((("..:dim" add tposx) add "_") add ty1) eq "")) {
fl1 = fl1 + "1";
}
}
n = n + "1";
}
if (fl1 == "4") {
result = "ok";
}
stop();
Symbol 42 MovieClip Frame 4
result2 = "nook";
Set("..:flp", "0");
tek_x = getProperty("../figure", _x);
tek_y = getProperty("../figure", _y);
tek_xm = ..:max_x * "10";
tek_ym = ..:max_y * "10";
fl1 = "0";
fl2 = "0";
fl3 = "0";
n = "1";
while ("4" >= n) {
if (n == "1") {
tposx = (((getProperty("../figure", _x) + getProperty("../figure/k1", _x)) - "5") / "10") + "1";
tposy = (((getProperty("../figure", _y) + getProperty("../figure/k1", _y)) - "5") / "10") + "1";
}
if (n == "2") {
tposx = (((getProperty("../figure", _x) + getProperty("../figure/k2", _x)) - "5") / "10") + "1";
tposy = (((getProperty("../figure", _y) + getProperty("../figure/k2", _y)) - "5") / "10") + "1";
}
if (n == "3") {
tposx = (((getProperty("../figure", _x) + getProperty("../figure/k3", _x)) - "5") / "10") + "1";
tposy = (((getProperty("../figure", _y) + getProperty("../figure/k3", _y)) - "5") / "10") + "1";
}
if (n == "4") {
tposx = (((getProperty("../figure", _x) + getProperty("../figure/k4", _x)) - "5") / "10") + "1";
tposy = (((getProperty("../figure", _y) + getProperty("../figure/k4", _y)) - "5") / "10") + "1";
}
if ((int(tposy) - tposy) == "0") {
if (eval ((("..:dim" add tposx) add "_") add tposy) eq "") {
fl1 = fl1 + "1";
}
if ((tposy + "1") < (..:max_y + "2")) {
fl2 = fl2 + "1";
}
if (("0" < tposx) and (tposx < (..:max_x + "1"))) {
fl3 = fl3 + "1";
}
} else {
m = int(tposy) - tposy;
if ("0" < m) {
ty = tposy - m;
} else {
ty = tposy + m;
}
ty1 = ty + "1";
if ((eval ((("..:dim" add tposx) add "_") add ty) eq "") and (eval ((("..:dim" add tposx) add "_") add ty1) eq "")) {
fl1 = fl1 + "1";
}
if (ty1 < (..:max_y + "1")) {
fl2 = fl2 + "1";
}
if (("0" < tposx) and (tposx < (..:max_x + "1"))) {
fl3 = fl3 + "1";
}
}
n = n + "1";
}
if (((fl1 == "4") and (fl2 == "4")) and (fl3 == "4")) {
result2 = "ok";
}
if (fl2 <> "4") {
Set("..:flp", "1");
}
stop();
Symbol 43 MovieClip Frame 1
sx = "45";
sy = "0";
Symbol 43 MovieClip Frame 2
stop();
Symbol 43 MovieClip Frame 3
stop();
Symbol 43 MovieClip Frame 4
stop();
Symbol 44 MovieClip Frame 1
sx = "45";
sy = "0";
Symbol 44 MovieClip Frame 2
stop();
Symbol 44 MovieClip Frame 3
stop();
Symbol 44 MovieClip Frame 4
stop();
Symbol 47 MovieClip Frame 1
sx = "45";
sy = "0";
stop();
Symbol 47 MovieClip Frame 2
stop();
Symbol 47 MovieClip Frame 3
stop();
Symbol 47 MovieClip Frame 4
stop();
Symbol 50 MovieClip Frame 1
sx = "45";
sy = "0";
stop();
Symbol 50 MovieClip Frame 2
stop();
Symbol 50 MovieClip Frame 3
stop();
Symbol 50 MovieClip Frame 4
stop();
Symbol 53 MovieClip Frame 1
sx = "45";
sy = "0";
stop();
Symbol 53 MovieClip Frame 2
stop();
Symbol 53 MovieClip Frame 3
stop();
Symbol 53 MovieClip Frame 4
stop();
Symbol 55 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 3
ugol_tk1 = ..:ugol_tk - "90";
ugol_tk2 = ..:ugol_tk;
if (ugol_tk1 < "0") {
ugol_tk1 = "270";
ugol_tk2 = "360";
}
Symbol 55 MovieClip Frame 4
if (ugol_tk1 < ugol_tk2) {
ugol_tk1 = ugol_tk1 + "30";
setProperty("../figurev", _rotation , ugol_tk1);
} else {
stop();
}
Symbol 55 MovieClip Frame 5
gotoAndPlay (4);
Symbol 55 MovieClip Frame 7
ugol_tk1 = ..:ugol_tk + "90";
ugol_tk2 = ..:ugol_tk;
if (ugol_tk1 == "360") {
ugol_tk1 = "360";
ugol_tk2 = "270";
}
Symbol 55 MovieClip Frame 8
if (ugol_tk2 < ugol_tk1) {
ugol_tk1 = ugol_tk1 - "30";
setProperty("../figurev", _rotation , ugol_tk1);
} else {
stop();
}
Symbol 55 MovieClip Frame 9
gotoAndPlay (8);
Symbol 55 MovieClip Frame 19
x1 = getProperty("../figurev", _x);
x2 = x1 - "10";
Symbol 55 MovieClip Frame 20
if (x1 >= x2) {
setProperty("../figurev", _x , x1);
x1 = x1 - "5";
} else {
Set("..:busy", "0");
stop();
}
Symbol 55 MovieClip Frame 21
gotoAndPlay (20);
Symbol 55 MovieClip Frame 23
x1 = getProperty("../figurev", _x);
x2 = x1 + "10";
Symbol 55 MovieClip Frame 24
if (x2 >= x1) {
setProperty("../figurev", _x , x1);
x1 = x1 + "5";
} else {
stop();
}
Symbol 55 MovieClip Frame 25
gotoAndPlay (24);
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 6
stop();
Symbol 60 MovieClip Frame 11
stop();
Symbol 60 MovieClip Frame 16
stop();
Symbol 83 Button
on (release, keyPress "<Enter>") {
_visible = "0";
Set("..:busy", "0");
if (..:pauset == "0") {
Set("..:pause", "0");
}
tellTarget ("..") {
gotoAndPlay ("process");
}
}
Symbol 91 Button
on (release) {
Set("../..:eff", "0");
gotoAndStop (2);
}
Symbol 93 Button
on (release) {
Set("../..:eff", "1");
gotoAndStop (1);
}
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 2
stop();
Symbol 99 Button
on (release) {
stopAllSounds();
gotoAndStop (4);
}
Symbol 100 Button
on (release) {
stopAllSounds();
tellTarget ("../../music") {
gotoAndPlay ("track3");
};
gotoAndStop (3);
}
Symbol 101 Button
on (release) {
stopAllSounds();
tellTarget ("../../music") {
gotoAndPlay ("track2");
};
gotoAndStop (2);
}
Symbol 103 Button
on (release) {
stopAllSounds();
tellTarget ("../../music") {
gotoAndPlay ("track1");
};
gotoAndStop (1);
}
Symbol 106 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 2
stop();
Symbol 106 MovieClip Frame 3
stop();
Symbol 106 MovieClip Frame 4
stop();
Symbol 109 Button
on (release) {
removeMovieClip("../../figure2");
Set("../..:nextf", "0");
gotoAndStop (2);
}
Symbol 111 Button
on (release) {
duplicateMovieClip ("../../f" add ../..:nfig1, "figure2", "3");
tellTarget ("../../figure2") {
gotoAndStop (1);
};
setProperty("../../figure2", _rotation , "0");
setProperty("../../figure2", _xscale , "72");
setProperty("../../figure2", _yscale , "72");
setProperty("../../figure2", _x , "75" + eval (("../../f" add ../..:nfig1) add ":sx"));
setProperty("../../figure2", _y , "20" + eval (("../../f" add ../..:nfig1) add ":sy"));
Set("../..:nextf", "1");
gotoAndStop (1);
}
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
stop();
Symbol 113 MovieClip Frame 1
stop();
Symbol 115 Button
on (release, keyPress "<Enter>") {
_visible = "0";
tellTarget ("..") {
gotoAndPlay ("ng");
}
}
Symbol 155 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 2
loadVariables ("result.tet", "../gameover1");
Symbol 155 MovieClip Frame 3
stop();
Symbol 159 Button
on (release, keyPress "<Enter>") {
if (..:lvl == "1") {
Set("..:fsc", "300");
} else if (..:lvl == "2") {
Set("..:fsc", "600");
} else if (..:lvl == "3") {
Set("..:fsc", "900");
} else if (..:lvl == "4") {
Set("..:fsc", "1200");
} else if (..:lvl == "5") {
Set("..:fsc", "1500");
} else if (..:lvl == "6") {
Set("..:fsc", "1800");
} else if (..:lvl == "7") {
Set("..:fsc", "2100");
} else if (..:lvl == "8") {
Set("..:fsc", "2400");
} else if ("8" < ..:lvl) {
Set("..:fsc", "2400");
}
_visible = "0";
Set("..:busy", "0");
Set("..:pause", "0");
tellTarget ("..") {
gotoAndPlay ("start");
}
}
Symbol 166 Button
on (release) {
spd11 = spd11 + "1";
if ("5" < spd11) {
spd11 = spd11 - "1";
}
Set("..:spd", spd11);
}
Symbol 167 Button
on (release) {
spd11 = spd11 - "1";
if (spd11 < "0") {
spd11 = spd11 + "1";
}
Set("..:spd", spd11);
}
Symbol 169 Button
on (release) {
trlines11 = trlines11 + "1";
if ("15" < trlines11) {
trlines11 = trlines11 - "1";
}
Set("..:trlines", trlines11);
}
Symbol 170 Button
on (release) {
trlines11 = trlines11 - "1";
if (trlines11 < "0") {
trlines11 = trlines11 + "1";
}
Set("..:trlines", trlines11);
}
Symbol 171 MovieClip Frame 1
spd11 = ..:spd;
trlines11 = ..:trlines;
stop();
Symbol 173 Button
on (release) {
getURL ("mailto:nasol@megalink.ru", "_blank");
}
Symbol 175 Button
on (release, keyPress "<Enter>") {
_visible = "0";
tellTarget ("..") {
score = "0";
gotoAndPlay ("ng");
}
}
Symbol 183 Button
on (release) {
_visible = "0";
tellTarget ("..") {
gotoAndPlay ("process");
}
}
Symbol 184 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 13
_visible = "0";
stop();
Symbol 198 Button
on (release, keyPress "n") {
gotoAndPlay (38);
}
Symbol 201 Button
on (release, keyPress "o") {
gotoAndPlay (47);
}
Symbol 203 Button
on (keyPress "<Left>") {
if (busy == "0") {
setProperty("figure", _x , getProperty("figure", _x) - "10");
call("test:test4");
if (test:result2 eq "nook") {
setProperty("figure", _x , getProperty("figure", _x) + "10");
} else {
setProperty("figurev", _x , getProperty("figurev", _x) - "10");
}
}
}
on (keyPress "<Right>") {
if (busy == "0") {
setProperty("figure", _x , getProperty("figure", _x) + "10");
call("test:test4");
if (test:result2 eq "nook") {
setProperty("figure", _x , getProperty("figure", _x) - "10");
} else {
setProperty("figurev", _x , getProperty("figurev", _x) + "10");
}
}
}
on (keyPress "<Up>") {
if (busy == "0") {
ugol_tk = ugol_tk + "90";
if (ugol_tk == "360") {
ugol_tk = "0";
}
tellTarget ("figure") {
gotoAndStop("ugol" add ..:ugol_tk);
};
call("test:test1");
if (test:result eq "nook") {
ugol_tk = ugol_tk - "90";
if (ugol_tk < "0") {
ugol_tk = "270";
}
tellTarget ("figure") {
gotoAndPlay("ugol" add ..:ugol_tk);
};
} else {
if (eff == "1") {
tellTarget ("effects") {
gotoAndPlay ("rot");
};
}
tellTarget ("prog") {
gotoAndPlay ("rot_r");
};
}
}
}
on (keyPress "<Down>") {
if (busy == "0") {
ugol_tk = ugol_tk - "90";
if (ugol_tk < "0") {
ugol_tk = "270";
}
tellTarget ("figure") {
gotoAndStop("ugol" add ..:ugol_tk);
};
call("test:test1");
if (test:result eq "nook") {
ugol_tk = ugol_tk + "90";
if (ugol_tk == "360") {
ugol_tk = "0";
}
tellTarget ("figure") {
gotoAndPlay("ugol" add ..:ugol_tk);
};
} else {
if (eff == "1") {
tellTarget ("effects") {
gotoAndPlay ("rot");
};
}
tellTarget ("prog") {
gotoAndPlay ("rot_l");
};
}
}
}
on (keyPress "<Space>") {
if (busy == "0") {
drop = "1";
}
}
on (keyPress "p") {
if (pause == "1") {
setProperty("pause1", _visible , "0");
busy = "0";
pause = "0";
gotoAndPlay (9);
} else {
setProperty("pause1", _visible , "1");
busy = "1";
pause = "1";
}
}
Symbol 204 MovieClip Frame 1
lvl = "0";
spd = "0";
trlines = "0";
eff = "1";
nextf = "1";
trn = "1";
tekn = "1000";
lvl2 = "00";
tellTarget ("music") {
gotoAndPlay("track" add ..:trn);
};
duplicateMovieClip ("ng", "ng1", "20006");
setProperty("ng1", _visible , "0");
setProperty("ng1", _x , "50");
setProperty("ng1", _y , "80");
duplicateMovieClip ("options", "options1", "20000");
setProperty("options1", _visible , "0");
setProperty("options1", _x , "50");
setProperty("options1", _y , "80");
duplicateMovieClip ("sure", "sure1", "20008");
setProperty("sure1", _visible , "0");
setProperty("sure1", _x , "50");
setProperty("sure1", _y , "80");
duplicateMovieClip ("level", "level1", "20009");
setProperty("level1", _visible , "0");
setProperty("level1", _x , "60");
setProperty("level1", _y , "80");
duplicateMovieClip ("pause", "pause1", "19999");
setProperty("pause1", _visible , "0");
setProperty("pause1", _x , "50");
setProperty("pause1", _y , "90");
Symbol 204 MovieClip Frame 2
setProperty("pause1", _visible , "0");
teknt = tekn;
tekn = "1000";
score = "0";
score2 = "00000";
nfig = "6";
kf = "0.5";
kf2 = kf;
max_x = "10";
max_y = "18";
lvl = "0";
spd = "0";
setProperty("ng1", _visible , "1");
Symbol 204 MovieClip Frame 3
stop();
Symbol 204 MovieClip Frame 4
ln = length("" add lvl);
lvl1 = "" add lvl;
while (ln < "2") {
lvl1 = "0" add lvl1;
ln = ln + "1";
}
lvl2 = lvl1;
spdn = length("" add spd);
spd1 = "" add spd;
while (spdn < "2") {
spd1 = "0" add spd1;
spdn = spdn + "1";
}
spd2 = spd1;
x = "1";
y = "1";
nfig1 = random("7") + "1";
while (max_x >= x) {
y = -"3";
while (max_y >= y) {
Set((("dim" add x) add "_") add y, "");
y = y + "1";
}
x = x + "1";
}
xx = "1000";
while ((teknt + "1000") >= xx) {
removeMovieClip("k" add xx);
xx = xx + "1";
}
tt = trlines;
while (tt >= "1") {
kolvo = "0";
while (kolvo < "6") {
kolvo = random("8") + "1";
}
nn = "1";
while (max_x >= nn) {
if (random("2") == "1") {
duplicateMovieClip ("kub" add (random("7") + "1"), "k" add tekn, tekn);
setProperty("k" add tekn, _x , (nn * "10") - "5");
setProperty("k" add tekn, _y , (((max_y - trlines) + tt) * "10") - "5");
Set((("dim" add nn) add "_") add ((max_y - trlines) + tt), "k" add tekn);
tekn = tekn + "1";
}
nn = nn + "1";
}
tt = tt - "1";
}
Symbol 204 MovieClip Frame 7
if (spd == "0") {
kf2 = "0.5";
}
if (spd == "1") {
kf2 = "1";
}
if (spd == "2") {
kf2 = "1.25";
}
if (spd == "3") {
kf2 = "2.5";
}
if (((spd == "4") or (spd == "5")) or (spd == "6")) {
kf2 = "5";
}
if ("6" < spd) {
kf2 = "10";
}
Symbol 204 MovieClip Frame 8
kf = kf2;
kf1 = kf;
ugol_tk = "0";
nfig = nfig1;
nfig1 = random("7") + "1";
if (nextf == "1") {
duplicateMovieClip ("f" add nfig1, "figure2", "3");
tellTarget ("figure2") {
gotoAndStop (1);
};
setProperty("figure2", _rotation , "0");
setProperty("figure2", _xscale , "72");
setProperty("figure2", _yscale , "72");
setProperty("figure2", _x , "75" + eval (("f" add nfig1) add ":sx"));
setProperty("figure2", _y , "20" + eval (("f" add nfig1) add ":sy"));
}
duplicateMovieClip ("f" add nfig, "figure", "5");
tellTarget ("figure") {
gotoAndStop (1);
};
setProperty("figure", _rotation , "0");
setProperty("figure", _visible , "0");
setProperty("figure", _x , eval (("f" add nfig) add ":sx"));
setProperty("figure", _y , "0");
duplicateMovieClip ("f" add nfig, "figurev", "6");
tellTarget ("figurev") {
gotoAndStop (1);
};
setProperty("figurev", _rotation , "0");
setProperty("figurev", _x , eval (("f" add nfig) add ":sx"));
setProperty("figurev", _y , eval (("f" add nfig) add ":sy"));
Symbol 204 MovieClip Frame 9
teky = getProperty("figure", _y);
if (pause == "1") {
busy = "1";
stop();
}
if (drop == "1") {
ny = teky / "10";
if (ny == int(ny)) {
if (nfig == "3") {
ny = int(ny) * "10";
} else {
ny = (int(ny) * "10") - "5";
}
} else if (nfig == "3") {
ny = (int(ny) + "1") * "10";
} else {
ny = ((int(ny) + "1") * "10") - "5";
}
teky = ny;
nposy = teky;
setProperty("figure", _y , nposy);
busy = "1";
call("test:test4");
if (test:result2 eq "nook") {
if (eff == "1") {
tellTarget ("effects") {
gotoAndPlay ("dis");
};
}
busy = "1";
setProperty("figure", _y , nposy - kf);
gotoAndPlay (11);
} else {
setProperty("figurev", _y , nposy);
busy = "0";
}
kf = "10";
drop = "0";
gotoAndPlay (10);
}
tt = teky;
nposy = teky + kf;
setProperty("figure", _y , nposy);
busy = "1";
call("test:test4");
if (test:result2 eq "nook") {
if (eff == "1") {
tellTarget ("effects") {
gotoAndPlay ("dis");
};
}
busy = "1";
setProperty("figure", _y , nposy - kf);
gotoAndPlay (11);
} else {
setProperty("figurev", _y , nposy);
if (pause == "0") {
busy = "0";
}
}
Symbol 204 MovieClip Frame 10
gotoAndPlay (9);
Symbol 204 MovieClip Frame 12
duplicateMovieClip ("kub" add nfig, "k" add tekn, tekn);
setProperty("k" add tekn, _x , getProperty("figure", _x) + getProperty("figure/k1", _x));
setProperty("k" add tekn, _y , getProperty("figure", _y) + getProperty("figure/k1", _y));
setProperty("k" add tekn, _rotation , ugol_tk);
tposx = (((getProperty("figure", _x) + getProperty("figure/k1", _x)) - "5") / "10") + "1";
tposy = (((getProperty("figure", _y) + getProperty("figure/k1", _y)) - "5") / "10") + "1";
Set((("dim" add tposx) add "_") add tposy, "k" add tekn);
c1 = tposy;
tekn = tekn + "1";
duplicateMovieClip ("kub" add nfig, "k" add tekn, tekn);
setProperty("k" add tekn, _x , getProperty("figure", _x) + getProperty("figure/k2", _x));
setProperty("k" add tekn, _y , getProperty("figure", _y) + getProperty("figure/k2", _y));
setProperty("k" add tekn, _rotation , ugol_tk);
tposx = (((getProperty("figure", _x) + getProperty("figure/k2", _x)) - "5") / "10") + "1";
tposy = (((getProperty("figure", _y) + getProperty("figure/k2", _y)) - "5") / "10") + "1";
Set((("dim" add tposx) add "_") add tposy, "k" add tekn);
c2 = tposy;
tekn = tekn + "1";
duplicateMovieClip ("kub" add nfig, "k" add tekn, tekn);
setProperty("k" add tekn, _x , getProperty("figure", _x) + getProperty("figure/k3", _x));
setProperty("k" add tekn, _y , getProperty("figure", _y) + getProperty("figure/k3", _y));
setProperty("k" add tekn, _rotation , ugol_tk);
tposx = (((getProperty("figure", _x) + getProperty("figure/k3", _x)) - "5") / "10") + "1";
tposy = (((getProperty("figure", _y) + getProperty("figure/k3", _y)) - "5") / "10") + "1";
Set((("dim" add tposx) add "_") add tposy, "k" add tekn);
c3 = tposy;
tekn = tekn + "1";
duplicateMovieClip ("kub" add nfig, "k" add tekn, tekn);
setProperty("k" add tekn, _x , getProperty("figure", _x) + getProperty("figure/k4", _x));
setProperty("k" add tekn, _y , getProperty("figure", _y) + getProperty("figure/k4", _y));
setProperty("k" add tekn, _rotation , ugol_tk);
tposx = (((getProperty("figure", _x) + getProperty("figure/k4", _x)) - "5") / "10") + "1";
tposy = (((getProperty("figure", _y) + getProperty("figure/k4", _y)) - "5") / "10") + "1";
Set((("dim" add tposx) add "_") add tposy, "k" add tekn);
c4 = tposy;
tekn = tekn + "1";
removeMovieClip("figure");
removeMovieClip("figurev");
if (((("1" >= c1) and ("1" >= c2)) and ("1" >= c3)) and ("1" >= c4)) {
gotoAndPlay (33);
}
Symbol 204 MovieClip Frame 13
if (c2 == c1) {
c2 = "0";
}
if ((c3 == c1) or (c3 == c2)) {
c3 = "0";
}
if (((c4 == c1) or (c4 == c2)) or (c4 == c3)) {
c4 = "0";
}
a = "1";
while (a < "4") {
b = a + "1";
while ("4" >= b) {
if (eval ("c" add a) < eval ("c" add b)) {
tdim = eval ("c" add a);
Set("c" add a, eval ("c" add b));
Set("c" add b, tdim);
}
b = b + "1";
}
a = a + "1";
}
y1 = "1";
Symbol 204 MovieClip Frame 14
if ("4" >= y1) {
gotoAndPlay (15);
} else {
if (sclines == "1") {
score = score + "5";
} else if (sclines == "2") {
score = score + "20";
} else if (sclines == "3") {
score = score + "30";
} else if (sclines == "4") {
score = score + "40";
}
if (sclines <> "0") {
ln = length("" add score);
score1 = "" add score;
while (ln < "5") {
score1 = "0" add score1;
ln = ln + "1";
}
score2 = score1;
}
sclines = "0";
gotoAndPlay (25);
}
Symbol 204 MovieClip Frame 15
row = eval ("c" add y1);
fl = "0";
if (row <> "0") {
fl = "0";
x1 = "1";
while ("10" >= x1) {
if (eval ((("dim" add x1) add "_") add row) ne "") {
fl = fl + "1";
}
x1 = x1 + "1";
}
}
if (fl == "10") {
gotoAndPlay (16);
} else {
y1 = y1 + "1";
gotoAndPlay (14);
}
Symbol 204 MovieClip Frame 16
if (eff == "1") {
tellTarget ("effects") {
gotoAndPlay ("ubrat");
};
}
tk = "10";
sclines = sclines + "1";
Symbol 204 MovieClip Frame 17
if (tk >= "0") {
x1 = "1";
while ("10" >= x1) {
setProperty(eval ((("dim" add x1) add "_") add row), _alpha , tk * "5");
x1 = x1 + "1";
}
t = row;
while (t >= "1") {
x1 = "1";
t1 = t - "1";
while ("10" >= x1) {
if (eval ((("dim" add x1) add "_") add t1) ne "") {
setProperty(eval ((("dim" add x1) add "_") add t1), _y , ((t1 * "10") - "5") + ("10" - tk));
}
x1 = x1 + "1";
}
t = t - "1";
}
tk = tk - "5";
} else {
gotoAndPlay (20);
}
Symbol 204 MovieClip Frame 18
gotoAndPlay (17);
Symbol 204 MovieClip Frame 20
x1 = "1";
while ("10" >= x1) {
removeMovieClip(eval ((("dim" add x1) add "_") add row));
Set((("dim" add x1) add "_") add row, "");
x1 = x1 + "1";
}
t = row;
while (t >= "1") {
x1 = "1";
t1 = t - "1";
while ("10" >= x1) {
Set((("dim" add x1) add "_") add t, eval ((("dim" add x1) add "_") add t1));
x1 = x1 + "1";
}
t = t - "1";
x1 = "1";
}
while ("10" >= x1) {
Set(("dim" add x1) add "_1", "");
x1 = x1 + "1";
}
y1 = y1 + "1";
if (c1 <> "0") {
c1 = c1 + "1";
}
if (c2 <> "0") {
c2 = c2 + "1";
}
if (c3 <> "0") {
c3 = c3 + "1";
}
if (c4 <> "0") {
c4 = c4 + "1";
}
gotoAndPlay (15);
Symbol 204 MovieClip Frame 25
if (score >= "300") {
if (fsc == "0") {
lvl = "1";
spd = spd + "1";
fsc = "300";
call("to2");
setProperty("level1", _visible , "1");
tellTarget ("level1") {
gotoAndPlay (1);
};
}
}
if (score >= "600") {
if (fsc == "300") {
lvl = "2";
spd = spd + "1";
fsc = "600";
call("to2");
setProperty("level1", _visible , "1");
tellTarget ("level1") {
gotoAndPlay (1);
};
}
}
if (score >= "900") {
if (fsc == "600") {
lvl = "3";
spd = spd + "1";
fsc = "900";
call("to2");
setProperty("level1", _visible , "1");
tellTarget ("level1") {
gotoAndPlay (1);
};
}
}
if (score >= "1200") {
if (fsc == "900") {
lvl = "4";
spd = spd + "1";
fsc = "1200";
call("to2");
setProperty("level1", _visible , "1");
tellTarget ("level1") {
gotoAndPlay (1);
};
}
}
if (score >= "1500") {
if (fsc == "1200") {
lvl = "5";
spd = spd + "1";
fsc = "1500";
call("to2");
setProperty("level1", _visible , "1");
tellTarget ("level1") {
gotoAndPlay (1);
};
}
}
if (score >= "1800") {
if (fsc == "1500") {
lvl = "6";
spd = spd + "1";
fsc = "1800";
call("to2");
setProperty("level1", _visible , "1");
tellTarget ("level1") {
gotoAndPlay (1);
};
}
}
if (score >= "2100") {
if (fsc == "1800") {
lvl = "7";
spd = spd + "1";
fsc = "2100";
call("to2");
setProperty("level1", _visible , "1");
tellTarget ("level1") {
gotoAndPlay (1);
};
}
}
if (score >= "2400") {
if (fsc == "2100") {
lvl = "8";
spd = spd + "1";
fsc = "2400";
call("to2");
setProperty("level1", _visible , "1");
tellTarget ("level1") {
gotoAndPlay (1);
};
}
}
gotoAndPlay (7);
Symbol 204 MovieClip Frame 27
ln = length("" add lvl);
lvl1 = "" add lvl;
while (ln < "2") {
lvl1 = "0" add lvl1;
ln = ln + "1";
}
lvl2 = lvl1;
spdn = length("" add spd);
spd1 = "" add spd;
while (spdn < "2") {
spd1 = "0" add spd1;
spdn = spdn + "1";
}
spd2 = spd1;
Symbol 204 MovieClip Frame 33
duplicateMovieClip ("gameover", "gameover1", "20001");
setProperty("gameover1", _x , "50");
setProperty("gameover1", _y , "80");
Symbol 204 MovieClip Frame 34
stop();
Symbol 204 MovieClip Frame 38
setProperty("sure1", _visible , "1");
Symbol 204 MovieClip Frame 39
stop();
Symbol 204 MovieClip Frame 46
stop();
Symbol 204 MovieClip Frame 47
pauset = pause;
pause = "1";
setProperty("options1", _visible , "1");
stop();