Frame 1
stop();
Instance of Symbol 17 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_root.play();
} else {
_root.PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
gotoAndPlay(_currentframe - 2);
}
if (index < 100) {
index = index + 10;
setProperty(_target, _alpha , index);
}
}
Frame 71
stop();
Frame 112
gotoAndPlay (171);
Frame 113
stop();
Frame 114
tellTarget ("/credit") {
gotoAndStop(7 - /:credits);
};
setProperty("/wind", _visible , 0);
duplicateMovieClip ("/wind", "window", 400);
setProperty("/window", _visible , 0);
Set("/:selection", 0);
radius = 15;
duplicateMovieClip ("/cro", "cross", 300);
xcross = Number(-11) + 40;
ycross = Number(-13) + 40;
setProperty("/cross", _x , xcross);
setProperty("/cross", _y , ycross);
Set("/:shift", 0);
Set("/:select", 0);
Frame 115
Set("/:music", Number(random(5)) + 1);
if (Number(/:music) == Number(/:music_play)) {
Set("/:music", Number(/:music) + 1);
}
if (Number(/:music) == 6) {
Set("/:music", 1);
}
Set("/:music_play", /:music);
tellTarget ("/musica" add /:music_play) {
gotoAndStop (2);
};
call("border");
call("level" add level);
call("draw");
i = 1;
while (Number(i) < 5) {
setProperty("/wall" add i, _visible , 0);
setProperty("/ball" add i, _visible , 0);
i = Number(i) + 1;
}
setProperty("/bomb", _visible , 0);
setProperty("/teleport", _visible , 0);
setProperty("/color", _visible , 0);
setProperty("/cro", _visible , 0);
setProperty("/turn", _visible , 0);
setProperty("/rot_r", _visible , 0);
setProperty("/rot_l", _visible , 0);
setProperty("/house_blue", _visible , 0);
tellTarget ("/cross") {
gotoAndStop (2);
};
stop();
Frame 116
xcross = Number(xcross) + Number(crosschangex);
ycross = Number(ycross) + Number(crosschangey);
if ((Number(xcross) < 0) or (360 < Number(xcross))) {
xcross = xcross - crosschangex;
}
if ((Number(ycross) < 0) or (360 < Number(ycross))) {
ycross = ycross - crosschangey;
}
setProperty("/cross", _x , xcross);
setProperty("/cross", _y , ycross);
Frame 117
stop();
Frame 118
tellTarget ("/cross") {
gotoAndStop (1);
};
setProperty("/cross", _visible , 0);
tellTarget ("/orb" add /:selection) {
gotoAndStop (2);
};
Frame 119
Set("/:shift", 0);
stop();
Frame 120
x = Number(x) + Number(dirx);
y = Number(y) + Number(diry);
k1 = int((Number(x) + 31) / 40);
l1 = int((Number(y - radius) + 33) / 40);
k2 = int((Number(Number(x) + Number(radius)) + 31) / 40);
l2 = int((Number(y) + 33) / 40);
k3 = int((Number(x) + 31) / 40);
l3 = int((Number(Number(y) + Number(radius)) + 33) / 40);
k4 = int((Number(x - radius) + 31) / 40);
l4 = int((Number(y) + 33) / 40);
i = 1;
while (Number(i) < 5) {
k_pos = eval ("k" add i);
l_pos = eval ("l" add i);
location = l_pos add k_pos;
option = eval ("aka" add location);
if ((((Number(option) == 1) or (Number(option) == 12)) or (Number(option) == 13)) or (Number(option) == 14)) {
posx = int((Number(x) + 31) / 40);
posy = int((Number(y) + 33) / 40);
x = Number(-11) + Number(posx * 40);
y = Number(-13) + Number(posy * 40);
setProperty("/orb" add /:selection, _x , x);
setProperty("/orb" add /:selection, _y , y);
Set("posatom" add /:selection, posy add posx);
gotoAndStop (119);
}
if (Number(option) == 2) {
dirx = dirx * -1;
diry = diry * -1;
}
if (Number(option) == 3) {
posx = int((Number(x) + 31) / 40);
posy = int((Number(y) + 33) / 40);
x = Number(-11) + Number(posx * 40);
y = Number(-13) + Number(posy * 40);
setProperty("/orb" add /:selection, _x , x);
setProperty("/orb" add /:selection, _y , y);
if (Number(diry) == 0) {
diry = dirx;
dirx = 0;
} else {
dirx = diry * -1;
diry = 0;
}
}
if (Number(option) == 4) {
posx = int((Number(x) + 31) / 40);
posy = int((Number(y) + 33) / 40);
x = Number(-11) + Number(posx * 40);
y = Number(-13) + Number(posy * 40);
setProperty("/orb" add /:selection, _x , x);
setProperty("/orb" add /:selection, _y , y);
if (Number(diry) == 0) {
diry = dirx * -1;
dirx = 0;
} else {
dirx = diry;
diry = 0;
}
}
if (Number(option) == 5) {
posx = int((Number(x) + 31) / 40);
posy = int((Number(y) + 33) / 40);
aktpos = posy add posx;
st = eval ("posatom" add selection);
if (Number(aktpos) != Number(st)) {
tellTarget ("/orb" add /:selection) {
gotoAndStop (1);
};
Set("/:counter", Number(/:counter) + 1);
if (Number(/:counter) == 8) {
numberatom = numberatom - 1;
tellTarget ("/falling") {
gotoAndPlay (2);
};
stop();
}
} else {
x = Number(-11) + Number(posx * 40);
y = Number(-13) + Number(posy * 40);
setProperty("/orb" add /:selection, _x , x);
setProperty("/orb" add /:selection, _y , y);
gotoAndStop (119);
}
}
if (Number(option) == 6) {
posx = int((Number(x) + 31) / 40);
posy = int((Number(y) + 33) / 40);
aktpos = posy add posx;
st = eval ("posatom" add selection);
x = Number(-11) + Number(posx * 40);
y = Number(-13) + Number(posy * 40);
setProperty("/orb" add /:selection, _x , x);
setProperty("/orb" add /:selection, _y , y);
if (Number(aktpos) != Number(st)) {
help = eval ("atom" add /:selection);
help = Number(help) + 1;
if (Number(help) == 5) {
help = 1;
}
Set("posatom" add /:selection, posy add posx);
Set("atom" add /:selection, help);
removeMovieClip("/orb" add /:selection);
duplicateMovieClip ("/ball" add help, "orb" add /:selection, eval ("depth" add /:selection));
tellTarget ("/orb" add /:selection) {
gotoAndStop (2);
};
}
gotoAndStop (119);
}
if (Number(option) == 7) {
posx = int((Number(x) + 31) / 40);
posy = int((Number(y) + 33) / 40);
aktpos = posy add posx;
st = eval ("posatom" add selection);
if (Number(aktpos) != Number(st)) {
yes = 0;
j = 1;
which = eval ("/:teleport" add location);
telepx = eval ("/:telx" add which);
telepy = eval ("/:tely" add which);
which_pos = telepy add telepx;
while ((Number(numberball) >= Number(j)) and (Number(/:counter) == 0)) {
helpp = eval ("posatom" add j);
if (Number(helpp) == Number(which_pos)) {
posx = int((Number(x) + 31) / 40);
posy = int((Number(y) + 33) / 40);
x = Number(-11) + Number(posx * 40);
y = Number(-13) + Number(posy * 40);
setProperty("/orb" add /:selection, _x , x);
setProperty("/orb" add /:selection, _y , y);
Set("posatom" add /:selection, posy add posx);
yes = 1;
gotoAndStop (119);
}
j = Number(j) + 1;
}
if (Number(yes) == 0) {
tellTarget ("/orb" add /:selection) {
gotoAndStop (1);
};
Set("/:counter", Number(/:counter) + 1);
if (Number(/:counter) == 8) {
tellTarget ("/rotation") {
gotoAndPlay (2);
};
stop();
}
}
} else {
x = Number(-11) + Number(posx * 40);
y = Number(-13) + Number(posy * 40);
setProperty("/orb" add /:selection, _x , x);
setProperty("/orb" add /:selection, _y , y);
gotoAndStop (119);
}
}
if ((7 < Number(option)) and (Number(option) < 12)) {
posx = int((Number(x) + 31) / 40);
posy = int((Number(y) + 33) / 40);
aktpos = posy add posx;
st = eval ("posatom" add selection);
if (Number(aktpos) != Number(st)) {
if (eval ("atom" add /:selection) == (option - 7)) {
tellTarget ("/orb" add /:selection) {
gotoAndStop (1);
};
Set("/:counter", Number(/:counter) + 1);
if (Number(/:counter) == 8) {
numberatom = numberatom - 1;
if (Number(numberatom) == 0) {
tellTarget ("/house_end") {
gotoAndPlay (2);
};
stop();
} else {
tellTarget ("/house_end") {
gotoAndPlay (2);
};
stop();
}
stop();
}
} else {
posx = int((Number(x) + 31) / 40);
posy = int((Number(y) + 33) / 40);
x = Number(-11) + Number(posx * 40);
y = Number(-13) + Number(posy * 40);
setProperty("/orb" add /:selection, _x , x);
setProperty("/orb" add /:selection, _y , y);
Set("posatom" add /:selection, posy add posx);
gotoAndStop (119);
}
} else {
x = Number(-11) + Number(posx * 40);
y = Number(-13) + Number(posy * 40);
setProperty("/orb" add /:selection, _x , x);
setProperty("/orb" add /:selection, _y , y);
gotoAndStop (119);
}
}
j = 1;
while (Number(numberball) >= Number(j)) {
if ((eval ("posatom" add j) == location) and (j != /:selection)) {
posx = int((Number(x) + 31) / 40);
posy = int((Number(y) + 33) / 40);
x = Number(-11) + Number(posx * 40);
y = Number(-13) + Number(posy * 40);
setProperty("/orb" add /:selection, _x , x);
setProperty("/orb" add /:selection, _y , y);
Set("posatom" add /:selection, posy add posx);
gotoAndStop (119);
}
j = Number(j) + 1;
}
i = Number(i) + 1;
}
setProperty("/orb" add /:selection, _x , x);
setProperty("/orb" add /:selection, _y , y);
Frame 121
gotoAndPlay (120);
Frame 131
a = 1;
while (Number(a) < 10) {
b = 1;
while (Number(b) < 10) {
ono = b add a;
Set("aka" add ono, 0);
removeMovieClip("/p" add ono);
b = Number(b) + 1;
}
a = Number(a) + 1;
}
a = 1;
while (Number(numberball) >= Number(a)) {
removeMovieClip("/orb" add a);
a = Number(a) + 1;
}
removeMovieClip("/cross");
Frame 133
a = 0;
while (Number(a) < 11) {
b = 0;
while (Number(b) < 11) {
cislo = a add b;
Set("aka" add cislo, 1);
b = Number(b) + 1;
}
a = Number(a) + 10;
}
b = 0;
a = 1;
while (Number(a) < 10) {
b = 0;
while (Number(b) < 11) {
cislo = a add b;
if ((Number(b) == 0) or (Number(b) == 10)) {
Set("aka" add cislo, 1);
}
b = Number(b) + 1;
}
a = Number(a) + 1;
}
Frame 134
count = 5;
a = 1;
while (Number(a) < 10) {
b = 1;
while (Number(b) < 10) {
cislo = a add b;
vykresli = eval ("aka" add cislo);
if (Number(vykresli) == 1) {
duplicateMovieClip ("/wall1", "p" add cislo, count);
count = Number(count) + 1;
}
if (Number(vykresli) == 12) {
duplicateMovieClip ("/wall2", "p" add cislo, count);
count = Number(count) + 1;
}
if (Number(vykresli) == 13) {
duplicateMovieClip ("/wall3", "p" add cislo, count);
count = Number(count) + 1;
}
if (Number(vykresli) == 14) {
duplicateMovieClip ("/wall4", "p" add cislo, count);
count = Number(count) + 1;
}
if (Number(vykresli) == 2) {
duplicateMovieClip ("/turn", "p" add cislo, count);
count = Number(count) + 1;
}
if (Number(vykresli) == 3) {
duplicateMovieClip ("/rot_r", "p" add cislo, count);
count = Number(count) + 1;
}
if (Number(vykresli) == 4) {
duplicateMovieClip ("/rot_l", "p" add cislo, count);
count = Number(count) + 1;
}
if (Number(vykresli) == 5) {
duplicateMovieClip ("/bomb", "p" add cislo, count);
count = Number(count) + 1;
}
if (Number(vykresli) == 6) {
duplicateMovieClip ("/color", "p" add cislo, count);
count = Number(count) + 1;
}
if (Number(vykresli) == 7) {
duplicateMovieClip ("/teleport", "p" add cislo, count);
count = Number(count) + 1;
}
if (Number(vykresli) == 8) {
duplicateMovieClip ("/house_blue", "p" add cislo, count);
count = Number(count) + 1;
}
if (Number(vykresli) == 9) {
duplicateMovieClip ("/house_red", "p" add cislo, count);
count = Number(count) + 1;
}
if (Number(vykresli) == 10) {
duplicateMovieClip ("/house_green", "p" add cislo, count);
count = Number(count) + 1;
}
if (Number(vykresli) == 11) {
duplicateMovieClip ("/house_white", "p" add cislo, count);
count = Number(count) + 1;
}
if (Number(vykresli) == 15) {
duplicateMovieClip ("/tel_dest", "p" add cislo, count);
count = Number(count) + 1;
}
setProperty("/p" add cislo, _x , Number(-11) + Number(b * 40));
setProperty("/p" add cislo, _y , Number(-13) + Number(a * 40));
b = Number(b) + 1;
}
a = Number(a) + 1;
}
Frame 137
numberball = 4;
numberatom = numberball;
numberhouse = 4;
aka11 = 13;
aka12 = 13;
aka13 = 13;
aka14 = 13;
aka15 = 13;
aka16 = 13;
aka17 = 13;
aka18 = 13;
aka19 = 13;
aka33 = 13;
aka36 = 13;
aka37 = 13;
aka38 = 13;
aka39 = 13;
aka43 = 13;
aka53 = 13;
aka55 = 13;
aka61 = 13;
aka62 = 13;
aka63 = 13;
aka65 = 13;
aka71 = 13;
aka75 = 13;
aka81 = 13;
aka85 = 13;
aka86 = 13;
aka87 = 13;
aka88 = 13;
aka89 = 13;
aka91 = 13;
aka27 = 9;
aka29 = 10;
aka26 = 11;
aka99 = 8;
i = 1;
while (Number(numberball) >= Number(i)) {
Set("depth" add i, 200 + Number(i));
i = Number(i) + 1;
}
duplicateMovieClip ("/ball1", "orb1", depth1);
setProperty("/orb1", _x , Number(-11) + Number(320));
setProperty("/orb1", _y , Number(-13) + Number(80));
posatom1 = 28;
atom1 = 1;
duplicateMovieClip ("/ball2", "orb2", depth2);
setProperty("/orb2", _x , Number(-11) + Number(360));
setProperty("/orb2", _y , Number(-13) + Number(280));
posatom2 = 79;
atom2 = 2;
duplicateMovieClip ("/ball3", "orb3", depth3);
setProperty("/orb3", _x , Number(-11) + Number(160));
setProperty("/orb3", _y , Number(-13) + Number(320));
posatom3 = 84;
atom3 = 3;
duplicateMovieClip ("/ball4", "orb4", depth4);
setProperty("/orb4", _x , Number(-11) + Number(80));
setProperty("/orb4", _y , Number(-13) + Number(160));
posatom4 = 42;
atom4 = 4;
Frame 138
numberball = 4;
numberatom = numberball;
numberhouse = 4;
aka24 = 1;
aka34 = 1;
aka36 = 1;
aka43 = 1;
aka44 = 1;
aka46 = 1;
aka47 = 1;
aka48 = 1;
aka55 = 1;
aka62 = 1;
aka63 = 1;
aka64 = 1;
aka66 = 1;
aka67 = 1;
aka74 = 1;
aka76 = 1;
aka86 = 1;
aka15 = 4;
aka51 = 4;
aka59 = 4;
aka95 = 4;
aka45 = 9;
aka65 = 10;
aka56 = 11;
aka54 = 8;
i = 1;
while (Number(numberball) >= Number(i)) {
Set("depth" add i, 200 + Number(i));
i = Number(i) + 1;
}
duplicateMovieClip ("/ball1", "orb1", depth1);
setProperty("/orb1", _x , Number(-11) + Number(40));
setProperty("/orb1", _y , Number(-13) + Number(40));
posatom1 = 11;
atom1 = 1;
duplicateMovieClip ("/ball2", "orb2", depth2);
setProperty("/orb2", _x , Number(-11) + Number(360));
setProperty("/orb2", _y , Number(-13) + Number(40));
posatom2 = 19;
atom2 = 2;
duplicateMovieClip ("/ball3", "orb3", depth3);
setProperty("/orb3", _x , Number(-11) + Number(40));
setProperty("/orb3", _y , Number(-13) + Number(360));
posatom3 = 91;
atom3 = 3;
duplicateMovieClip ("/ball4", "orb4", depth4);
setProperty("/orb4", _x , Number(-11) + Number(360));
setProperty("/orb4", _y , Number(-13) + Number(360));
posatom4 = 99;
atom4 = 4;
Frame 139
numberball = 4;
numberatom = numberball;
numberhose = 3;
aka23 = 12;
aka27 = 12;
aka32 = 12;
aka37 = 12;
aka38 = 12;
aka41 = 12;
aka49 = 12;
aka51 = 12;
aka55 = 12;
aka59 = 12;
aka61 = 12;
aka69 = 12;
aka72 = 12;
aka78 = 12;
aka83 = 12;
aka87 = 12;
aka24 = 5;
aka26 = 5;
aka84 = 5;
aka86 = 5;
aka95 = 5;
aka77 = 8;
aka73 = 10;
aka33 = 11;
aka15 = 7;
Set("/:teleport15", 1);
Set("/:telx1", 3);
Set("/:tely1", 6);
aka63 = 15;
i = 1;
while (Number(numberball) >= Number(i)) {
Set("depth" add i, 200 + Number(i));
i = Number(i) + 1;
}
duplicateMovieClip ("/ball1", "orb1", depth1);
setProperty("/orb1", _x , Number(-11) + Number(80));
setProperty("/orb1", _y , Number(-13) + Number(160));
posatom1 = 42;
atom1 = 1;
duplicateMovieClip ("/ball2", "orb2", depth2);
setProperty("/orb2", _x , Number(-11) + Number(320));
setProperty("/orb2", _y , Number(-13) + Number(240));
posatom2 = 68;
atom2 = 2;
duplicateMovieClip ("/ball3", "orb3", depth3);
setProperty("/orb3", _x , Number(-11) + Number(80));
setProperty("/orb3", _y , Number(-13) + Number(240));
posatom3 = 62;
atom3 = 3;
duplicateMovieClip ("/ball4", "orb4", depth4);
setProperty("/orb4", _x , Number(-11) + Number(320));
setProperty("/orb4", _y , Number(-13) + Number(160));
posatom4 = 48;
atom4 = 4;
Frame 140
numberball = 4;
numberatom = numberball;
numberhouse = 4;
aka12 = 14;
aka22 = 14;
aka23 = 14;
aka24 = 14;
aka32 = 14;
aka63 = 14;
aka64 = 14;
aka65 = 14;
aka42 = 4;
aka49 = 5;
aka59 = 5;
aka69 = 5;
aka79 = 5;
aka27 = 9;
aka91 = 9;
aka11 = 11;
aka19 = 11;
aka55 = 6;
aka66 = 2;
i = 1;
while (Number(numberball) >= Number(i)) {
Set("depth" add i, 200 + Number(i));
i = Number(i) + 1;
}
duplicateMovieClip ("/ball1", "orb1", depth1);
setProperty("/orb1", _x , Number(-11) + Number(360));
setProperty("/orb1", _y , Number(-13) + Number(360));
posatom1 = 99;
atom1 = 1;
duplicateMovieClip ("/ball1", "orb2", depth2);
setProperty("/orb2", _x , Number(-11) + Number(320));
setProperty("/orb2", _y , Number(-13) + Number(360));
posatom2 = 98;
atom2 = 1;
duplicateMovieClip ("/ball1", "orb3", depth3);
setProperty("/orb3", _x , Number(-11) + Number(280));
setProperty("/orb3", _y , Number(-13) + Number(360));
posatom3 = 97;
atom3 = 1;
duplicateMovieClip ("/ball3", "orb4", depth4);
setProperty("/orb4", _x , Number(-11) + Number(200));
setProperty("/orb4", _y , Number(-13) + Number(360));
posatom4 = 95;
atom4 = 3;
Frame 141
numberball = 3;
numberatom = numberball;
numberhouse = 3;
aka17 = 1;
aka41 = 1;
aka51 = 1;
aka55 = 1;
aka57 = 1;
aka61 = 1;
aka71 = 1;
aka81 = 1;
aka91 = 1;
aka92 = 1;
aka95 = 1;
aka97 = 1;
aka98 = 1;
aka99 = 1;
aka15 = 5;
aka25 = 5;
aka34 = 5;
aka74 = 4;
aka89 = 4;
aka16 = 8;
aka67 = 10;
aka96 = 11;
i = 1;
while (Number(numberball) >= Number(i)) {
Set("depth" add i, 200 + Number(i));
i = Number(i) + 1;
}
duplicateMovieClip ("/ball1", "orb1", depth1);
setProperty("/orb1", _x , Number(-11) + Number(320));
setProperty("/orb1", _y , Number(-13) + Number(120));
posatom1 = 38;
atom1 = 1;
duplicateMovieClip ("/ball3", "orb2", depth2);
setProperty("/orb2", _x , Number(-11) + Number(40));
setProperty("/orb2", _y , Number(-13) + Number(80));
posatom2 = 21;
atom2 = 3;
duplicateMovieClip ("/ball4", "orb3", depth3);
setProperty("/orb3", _x , Number(-11) + Number(160));
setProperty("/orb3", _y , Number(-13) + Number(320));
posatom3 = 84;
atom3 = 4;
Frame 142
numberball = 4;
numberatom = numberball;
numberhouse = 4;
aka11 = 7;
Set("/:teleport11", 1);
Set("/:telx1", 7);
Set("/:tely1", 9);
aka18 = 8;
aka54 = 9;
aka19 = 14;
aka55 = 14;
aka57 = 14;
aka58 = 14;
aka59 = 14;
aka91 = 14;
aka86 = 14;
aka96 = 14;
aka97 = 15;
aka98 = 2;
aka99 = 5;
aka76 = 5;
aka77 = 5;
aka27 = 5;
aka37 = 5;
aka56 = 11;
aka45 = 3;
aka44 = 2;
aka69 = 6;
aka38 = 53;
aka39 = 53;
aka94 = 50;
aka95 = 52;
aka29 = 8;
i = 1;
while (Number(numberball) >= Number(i)) {
Set("depth" add i, 200 + Number(i));
i = Number(i) + 1;
}
duplicateMovieClip ("/ball1", "orb1", depth1);
setProperty("/orb1", _x , Number(-11) + Number(160));
setProperty("/orb1", _y , Number(-13) + Number(360));
posatom1 = 94;
atom1 = 1;
duplicateMovieClip ("/ball3", "orb2", depth2);
setProperty("/orb2", _x , Number(-11) + Number(200));
setProperty("/orb2", _y , Number(-13) + Number(360));
posatom2 = 95;
atom2 = 3;
duplicateMovieClip ("/ball4", "orb3", depth3);
setProperty("/orb3", _x , Number(-11) + Number(320));
setProperty("/orb3", _y , Number(-13) + Number(120));
posatom3 = 38;
atom3 = 4;
duplicateMovieClip ("/ball4", "orb4", depth4);
setProperty("/orb4", _x , Number(-11) + Number(360));
setProperty("/orb4", _y , Number(-13) + Number(120));
posatom4 = 39;
atom4 = 4;
Frame 143
numberball = 3;
numberatom = numberball;
numberhouse = 3;
aka39 = 7;
Set("/:teleport39", 1);
Set("/:telx1", 2);
Set("/:tely1", 2);
aka15 = 13;
aka25 = 13;
aka35 = 13;
aka45 = 13;
aka55 = 13;
aka65 = 13;
aka75 = 13;
aka85 = 13;
aka95 = 13;
aka15 = 13;
aka51 = 13;
aka71 = 13;
aka46 = 13;
aka99 = 13;
aka43 = 6;
aka18 = 5;
aka29 = 5;
aka41 = 5;
aka49 = 5;
aka53 = 5;
aka59 = 5;
aka68 = 5;
aka69 = 5;
aka17 = 51;
aka86 = 53;
aka83 = 50;
aka31 = 10;
aka61 = 8;
aka58 = 9;
aka22 = 15;
i = 1;
while (Number(numberball) >= Number(i)) {
Set("depth" add i, 200 + Number(i));
i = Number(i) + 1;
}
duplicateMovieClip ("/ball1", "orb1", depth1);
setProperty("/orb1", _x , Number(-11) + Number(120));
setProperty("/orb1", _y , Number(-13) + Number(320));
posatom1 = 83;
atom1 = 1;
duplicateMovieClip ("/ball2", "orb2", depth2);
setProperty("/orb2", _x , Number(-11) + Number(280));
setProperty("/orb2", _y , Number(-13) + Number(40));
posatom2 = 17;
atom2 = 2;
duplicateMovieClip ("/ball4", "orb3", depth3);
setProperty("/orb3", _x , Number(-11) + Number(240));
setProperty("/orb3", _y , Number(-13) + Number(320));
posatom3 = 86;
atom3 = 4;
Frame 144
numberball = 4;
numberatom = numberball;
numberhouse = 3;
aka11 = 5;
aka19 = 5;
aka91 = 5;
aka99 = 5;
aka45 = 12;
aka55 = 12;
aka65 = 12;
aka54 = 12;
aka56 = 12;
aka96 = 12;
aka12 = 12;
aka49 = 6;
aka44 = 8;
aka46 = 8;
aka66 = 8;
aka22 = 53;
aka89 = 53;
aka89 = 53;
aka89 = 53;
i = 1;
while (Number(numberball) >= Number(i)) {
Set("depth" add i, 200 + Number(i));
i = Number(i) + 1;
}
duplicateMovieClip ("/ball4", "orb1", depth1);
setProperty("/orb1", _x , Number(-11) + Number(80));
setProperty("/orb1", _y , Number(-13) + Number(80));
posatom1 = 22;
atom1 = 4;
duplicateMovieClip ("/ball4", "orb2", depth2);
setProperty("/orb2", _x , Number(-11) + Number(360));
setProperty("/orb2", _y , Number(-13) + Number(320));
posatom2 = 89;
atom2 = 4;
duplicateMovieClip ("/ball4", "orb3", depth3);
setProperty("/orb3", _x , Number(-11) + Number(120));
setProperty("/orb3", _y , Number(-13) + Number(360));
posatom3 = 93;
atom3 = 4;
duplicateMovieClip ("/ball4", "orb4", depth4);
setProperty("/orb4", _x , Number(-11) + Number(320));
setProperty("/orb4", _y , Number(-13) + Number(80));
posatom4 = 28;
atom4 = 4;
Frame 145
numberball = 3;
numberatom = numberball;
numberhouse = 3;
aka53 = 5;
aka62 = 5;
aka84 = 5;
aka86 = 5;
aka75 = 6;
aka25 = 1;
aka37 = 1;
aka46 = 1;
aka88 = 1;
aka22 = 51;
aka16 = 50;
aka64 = 50;
aka72 = 8;
aka63 = 10;
aka56 = 9;
i = 1;
while (Number(numberball) >= Number(i)) {
Set("depth" add i, 200 + Number(i));
i = Number(i) + 1;
}
duplicateMovieClip ("/ball2", "orb1", depth1);
setProperty("/orb1", _x , Number(-11) + Number(80));
setProperty("/orb1", _y , Number(-13) + Number(80));
posatom1 = 22;
atom1 = 2;
duplicateMovieClip ("/ball1", "orb2", depth2);
setProperty("/orb2", _x , Number(-11) + Number(240));
setProperty("/orb2", _y , Number(-13) + Number(40));
posatom2 = 16;
atom2 = 1;
duplicateMovieClip ("/ball1", "orb3", depth3);
setProperty("/orb3", _x , Number(-11) + Number(160));
setProperty("/orb3", _y , Number(-13) + Number(240));
posatom3 = 64;
atom3 = 1;
Frame 146
numberball = 3;
numberatom = numberball;
numberhouse = 2;
aka11 = 14;
aka51 = 14;
aka46 = 14;
aka75 = 14;
aka19 = 5;
aka89 = 5;
aka99 = 5;
aka76 = 5;
aka84 = 5;
aka91 = 5;
aka28 = 50;
aka44 = 51;
aka95 = 53;
aka86 = 8;
aka18 = 9;
i = 1;
while (Number(numberball) >= Number(i)) {
Set("depth" add i, 200 + Number(i));
i = Number(i) + 1;
}
duplicateMovieClip ("/ball1", "orb1", depth1);
setProperty("/orb1", _x , Number(-11) + Number(320));
setProperty("/orb1", _y , Number(-13) + Number(80));
posatom1 = 28;
atom1 = 1;
duplicateMovieClip ("/ball4", "orb2", depth2);
setProperty("/orb2", _x , Number(-11) + Number(200));
setProperty("/orb2", _y , Number(-13) + Number(360));
posatom2 = 95;
atom2 = 4;
duplicateMovieClip ("/ball2", "orb3", depth3);
setProperty("/orb3", _x , Number(-11) + Number(160));
setProperty("/orb3", _y , Number(-13) + Number(160));
posatom3 = 44;
atom3 = 2;
Frame 147
numberball = 3;
numberatom = numberball;
numberhouse = 2;
aka13 = 7;
Set("/:teleport13", 1);
Set("/:telx1", 9);
Set("/:tely1", 2);
aka42 = 4;
aka12 = 13;
aka27 = 13;
aka37 = 13;
aka38 = 13;
aka39 = 13;
aka89 = 13;
aka14 = 5;
aka15 = 5;
aka17 = 5;
aka26 = 5;
aka36 = 5;
aka83 = 5;
aka29 = 15;
aka72 = 6;
aka11 = 11;
aka16 = 8;
aka66 = 53;
aka88 = 51;
aka95 = 51;
i = 1;
while (Number(numberball) >= Number(i)) {
Set("depth" add i, 200 + Number(i));
i = Number(i) + 1;
}
duplicateMovieClip ("/ball4", "orb1", depth1);
setProperty("/orb1", _x , Number(-11) + Number(240));
setProperty("/orb1", _y , Number(-13) + Number(240));
posatom1 = 66;
atom1 = 4;
duplicateMovieClip ("/ball2", "orb2", depth2);
setProperty("/orb2", _x , Number(-11) + Number(320));
setProperty("/orb2", _y , Number(-13) + Number(320));
posatom2 = 88;
atom2 = 2;
duplicateMovieClip ("/ball2", "orb3", depth3);
setProperty("/orb3", _x , Number(-11) + Number(200));
setProperty("/orb3", _y , Number(-13) + Number(360));
posatom3 = 95;
atom3 = 2;
Frame 148
numberball = 3;
numberatom = numberball;
numberhouse = 3;
aka63 = 12;
aka73 = 12;
aka92 = 12;
aka46 = 5;
aka55 = 5;
aka18 = 5;
aka11 = 9;
aka91 = 11;
aka98 = 8;
aka24 = 51;
aka94 = 53;
aka99 = 50;
i = 1;
while (Number(numberball) >= Number(i)) {
Set("depth" add i, 200 + Number(i));
i = Number(i) + 1;
}
duplicateMovieClip ("/ball1", "orb1", depth1);
setProperty("/orb1", _x , Number(-11) + Number(360));
setProperty("/orb1", _y , Number(-13) + Number(360));
posatom1 = 99;
atom1 = 1;
duplicateMovieClip ("/ball2", "orb2", depth2);
setProperty("/orb2", _x , Number(-11) + Number(160));
setProperty("/orb2", _y , Number(-13) + Number(80));
posatom2 = 24;
atom2 = 2;
duplicateMovieClip ("/ball4", "orb3", depth3);
setProperty("/orb3", _x , Number(-11) + Number(160));
setProperty("/orb3", _y , Number(-13) + Number(360));
posatom3 = 94;
atom3 = 4;
Frame 149
numberball = 3;
numberatom = numberball;
numberhouse = 3;
aka65 = 7;
Set("/:teleport65", 1);
Set("/:telx1", 8);
Set("/:tely1", 2);
aka25 = 1;
aka81 = 5;
aka19 = 5;
aka47 = 5;
aka28 = 15;
aka18 = 9;
aka67 = 8;
aka55 = 11;
aka76 = 51;
aka11 = 50;
aka53 = 53;
i = 1;
while (Number(numberball) >= Number(i)) {
Set("depth" add i, 200 + Number(i));
i = Number(i) + 1;
}
duplicateMovieClip ("/ball4", "orb1", depth1);
setProperty("/orb1", _x , Number(-11) + Number(120));
setProperty("/orb1", _y , Number(-13) + Number(200));
posatom1 = 53;
atom1 = 4;
duplicateMovieClip ("/ball2", "orb2", depth2);
setProperty("/orb2", _x , Number(-11) + Number(240));
setProperty("/orb2", _y , Number(-13) + Number(280));
posatom2 = 76;
atom2 = 2;
duplicateMovieClip ("/ball1", "orb3", depth3);
setProperty("/orb3", _x , Number(-11) + Number(40));
setProperty("/orb3", _y , Number(-13) + Number(40));
posatom3 = 11;
atom3 = 1;
Frame 150
numberball = 4;
numberatom = numberball;
numberhouse = 4;
aka53 = 7;
aka68 = 7;
Set("/:teleport53", 1);
Set("/:teleport68", 2);
Set("/:telx1", 7);
Set("/:tely1", 9);
Set("/:telx2", 4);
Set("/:tely2", 5);
aka97 = 15;
aka54 = 15;
aka13 = 14;
aka22 = 14;
aka24 = 14;
aka28 = 14;
aka32 = 14;
aka16 = 5;
aka26 = 5;
aka36 = 5;
aka46 = 5;
aka56 = 5;
aka66 = 5;
aka76 = 5;
aka94 = 5;
aka85 = 3;
aka11 = 11;
aka23 = 10;
aka95 = 9;
aka38 = 8;
aka55 = 50;
i = 1;
while (Number(numberball) >= Number(i)) {
Set("depth" add i, 200 + Number(i));
i = Number(i) + 1;
}
duplicateMovieClip ("/ball4", "orb1", depth1);
setProperty("/orb1", _x , Number(-11) + Number(40));
setProperty("/orb1", _y , Number(-13) + Number(200));
posatom1 = 51;
atom1 = 4;
duplicateMovieClip ("/ball3", "orb2", depth2);
setProperty("/orb2", _x , Number(-11) + Number(80));
setProperty("/orb2", _y , Number(-13) + Number(160));
posatom2 = 42;
atom2 = 3;
duplicateMovieClip ("/ball2", "orb3", depth3);
setProperty("/orb3", _x , Number(-11) + Number(80));
setProperty("/orb3", _y , Number(-13) + Number(360));
posatom3 = 92;
atom3 = 2;
duplicateMovieClip ("/ball1", "orb4", depth4);
setProperty("/orb4", _x , Number(-11) + Number(40));
setProperty("/orb4", _y , Number(-13) + Number(240));
posatom4 = 61;
atom4 = 1;
Frame 151
numberball = 5;
numberatom = numberball;
numberhouse = 4;
aka19 = 6;
aka91 = 6;
aka44 = 13;
aka46 = 13;
aka64 = 13;
aka66 = 13;
aka11 = 5;
aka99 = 5;
aka45 = 8;
aka56 = 10;
aka65 = 9;
aka54 = 11;
aka15 = 52;
aka59 = 51;
aka95 = 53;
aka51 = 50;
aka55 = 50;
i = 1;
while (Number(numberball) >= Number(i)) {
Set("depth" add i, 200 + Number(i));
i = Number(i) + 1;
}
duplicateMovieClip ("/ball4", "orb1", depth1);
setProperty("/orb1", _x , Number(-11) + Number(200));
setProperty("/orb1", _y , Number(-13) + Number(360));
posatom1 = 95;
atom1 = 4;
duplicateMovieClip ("/ball3", "orb2", depth2);
setProperty("/orb2", _x , Number(-11) + Number(200));
setProperty("/orb2", _y , Number(-13) + Number(40));
posatom2 = 15;
atom2 = 3;
duplicateMovieClip ("/ball2", "orb3", depth3);
setProperty("/orb3", _x , Number(-11) + Number(360));
setProperty("/orb3", _y , Number(-13) + Number(200));
posatom3 = 59;
atom3 = 2;
duplicateMovieClip ("/ball1", "orb4", depth4);
setProperty("/orb4", _x , Number(-11) + Number(40));
setProperty("/orb4", _y , Number(-13) + Number(200));
posatom4 = 51;
atom4 = 1;
duplicateMovieClip ("/ball1", "orb5", depth5);
setProperty("/orb5", _x , Number(-11) + Number(200));
setProperty("/orb5", _y , Number(-13) + Number(200));
posatom5 = 55;
atom5 = 1;
Frame 152
numberball = 5;
numberatom = numberball;
numberhouse = 4;
aka19 = 6;
aka91 = 6;
aka44 = 12;
aka46 = 12;
aka64 = 12;
aka66 = 12;
aka33 = 12;
aka37 = 12;
aka73 = 12;
aka77 = 12;
aka11 = 5;
aka99 = 5;
aka45 = 8;
aka56 = 10;
aka65 = 9;
aka54 = 11;
aka15 = 52;
aka59 = 51;
aka95 = 53;
aka51 = 50;
aka55 = 50;
i = 1;
while (Number(numberball) >= Number(i)) {
Set("depth" add i, 200 + Number(i));
i = Number(i) + 1;
}
duplicateMovieClip ("/ball4", "orb1", depth1);
setProperty("/orb1", _x , Number(-11) + Number(200));
setProperty("/orb1", _y , Number(-13) + Number(360));
posatom1 = 95;
atom1 = 4;
duplicateMovieClip ("/ball3", "orb2", depth2);
setProperty("/orb2", _x , Number(-11) + Number(200));
setProperty("/orb2", _y , Number(-13) + Number(40));
posatom2 = 15;
atom2 = 3;
duplicateMovieClip ("/ball2", "orb3", depth3);
setProperty("/orb3", _x , Number(-11) + Number(360));
setProperty("/orb3", _y , Number(-13) + Number(200));
posatom3 = 59;
atom3 = 2;
duplicateMovieClip ("/ball1", "orb4", depth4);
setProperty("/orb4", _x , Number(-11) + Number(40));
setProperty("/orb4", _y , Number(-13) + Number(200));
posatom4 = 51;
atom4 = 1;
duplicateMovieClip ("/ball1", "orb5", depth5);
setProperty("/orb5", _x , Number(-11) + Number(200));
setProperty("/orb5", _y , Number(-13) + Number(200));
posatom5 = 55;
atom5 = 1;
Frame 156
stopAllSounds();
tellTarget ("/musica" add /:music_play) {
gotoAndStop (1);
};
gotoAndStop (167);
Frame 157
stopAllSounds();
tellTarget ("/musica" add /:music_play) {
gotoAndStop (1);
};
Set("/:score", 10000);
gotoAndStop (169);
Frame 158
stopAllSounds();
tellTarget ("/musica" add /:music_play) {
gotoAndStop (1);
};
gotoAndPlay (114);
Frame 167
stop();
Frame 168
gotoAndPlay (2);
Frame 169
Set("/:score", 10000);
setProperty("/vyp", _visible , 0);
stop();
Frame 170
gotoAndPlay (2);
Frame 193
stop();
Frame 194
stop();
Frame 195
stop();
Symbol 17 MovieClip Frame 2
stop();
Symbol 25 MovieClip Frame 10
stop();
Symbol 56 Button
on (release) {
gotoAndPlay (114);
}
Symbol 61 Button
on (release) {
gotoAndStop (171);
}
Symbol 62 MovieClip Frame 1
time = getTimer();
Symbol 62 MovieClip Frame 2
play();
Symbol 62 MovieClip Frame 3
if ((getTimer() - time) < 600000) {
gotoAndPlay (2);
}
Symbol 62 MovieClip Frame 7
loadVariablesNum ("../../save_score.php", 0);
Symbol 62 MovieClip Frame 8
gotoAndPlay (1);
Symbol 64 Button
on (release) {
Set("/:credits", 6);
Set("/:level", 1);
Set("/:score", 0);
gotoAndPlay (114);
}
Symbol 65 Button
on (release) {
Set("/:credits", 6);
Set("/:level", 1);
Set("/:score", 0);
gotoAndStop (114);
}
Symbol 68 Button
on (release) {
Set("/:credits", 6);
Set("/:level", 1);
Set("/:score", 0);
}
on (release) {
Set("/:credits", 6);
Set("/:level", 1);
Set("/:score", 0);
gotoAndPlay (114);
}
Symbol 69 Button
on (release) {
gotoAndPlay (72);
}
Symbol 80 Button
on (release) {
gotoAndStop (113);
}
Symbol 81 Button
on (release) {
play();
}
Symbol 84 Button
on (release) {
Set("/:level", 1);
gotoAndPlay (114);
}
Symbol 85 Button
on (release) {
Set("/:level", 2);
gotoAndPlay (114);
}
Symbol 86 Button
on (release) {
Set("/:level", 3);
gotoAndPlay (114);
}
Symbol 87 Button
on (release) {
Set("/:level", 4);
gotoAndPlay (114);
}
Symbol 88 Button
on (release) {
Set("/:level", 5);
gotoAndPlay (114);
}
Symbol 89 Button
on (release) {
Set("/:level", 6);
gotoAndPlay (114);
}
Symbol 90 Button
on (release) {
Set("/:level", 7);
gotoAndPlay (114);
}
Symbol 91 Button
on (release) {
Set("/:level", 8);
gotoAndPlay (114);
}
Symbol 92 Button
on (release) {
Set("/:level", 9);
gotoAndPlay (114);
}
Symbol 93 Button
on (release) {
Set("/:level", 10);
gotoAndPlay (114);
}
Symbol 94 Button
on (release) {
Set("/:level", 16);
gotoAndPlay (114);
}
Symbol 95 Button
on (release) {
Set("/:level", 12);
gotoAndPlay (114);
}
Symbol 96 Button
on (release) {
Set("/:level", 13);
gotoAndPlay (114);
}
Symbol 97 Button
on (release) {
Set("/:level", 14);
gotoAndPlay (114);
}
Symbol 98 Button
on (release) {
Set("/:level", 15);
gotoAndPlay (114);
}
Symbol 99 Button
on (release) {
Set("/:level", 11);
gotoAndPlay (114);
}
Symbol 143 MovieClip Frame 10
gotoAndPlay (1);
Symbol 148 MovieClip Frame 9
gotoAndPlay (1);
Symbol 172 Button
on (keyPress "<Right>") {
Set("/:counter", 0);
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:dirx", 10);
Set("/:diry", 0);
Set("/:shift", 1);
tellTarget ("/") {
gotoAndPlay ("loop");
};
}
}
on (keyPress "<Left>") {
Set("/:counter", 0);
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:dirx", -10);
Set("/:diry", 0);
Set("/:shift", 1);
tellTarget ("/") {
gotoAndPlay ("loop");
};
}
}
on (keyPress "<Up>") {
Set("/:counter", 0);
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:dirx", 0);
Set("/:diry", -10);
Set("/:shift", 1);
tellTarget ("/") {
gotoAndPlay ("loop");
};
}
}
on (keyPress "<Down>") {
Set("/:counter", 0);
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:dirx", 0);
Set("/:diry", 10);
Set("/:shift", 1);
tellTarget ("/") {
gotoAndPlay ("loop");
};
}
}
on (keyPress "<Space>") {
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:xcross", getProperty(_target, _x));
Set("/:ycross", getProperty(_target, _y));
setProperty("/cross", _x , /:xcross);
setProperty("/cross", _y , /:ycross);
setProperty("/cross", _visible , 1);
Set("/:select", 0);
Set("/:selection", 0);
tellTarget ("/") {
gotoAndPlay ("again");
};
tellTarget ("/cross") {
gotoAndStop (2);
};
gotoAndStop (1);
}
}
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 2
stop();
Symbol 177 Button
on (keyPress "<Right>") {
Set("/:counter", 0);
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:dirx", 10);
Set("/:diry", 0);
Set("/:shift", 1);
tellTarget ("/") {
gotoAndPlay ("loop");
};
}
}
on (keyPress "<Left>") {
Set("/:counter", 0);
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:dirx", -10);
Set("/:diry", 0);
Set("/:shift", 1);
tellTarget ("/") {
gotoAndPlay ("loop");
};
}
}
on (keyPress "<Up>") {
Set("/:counter", 0);
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:dirx", 0);
Set("/:diry", -10);
Set("/:shift", 1);
tellTarget ("/") {
gotoAndPlay ("loop");
};
}
}
on (keyPress "<Down>") {
Set("/:counter", 0);
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:dirx", 0);
Set("/:diry", 10);
Set("/:shift", 1);
tellTarget ("/") {
gotoAndPlay ("loop");
};
}
}
on (keyPress "<Space>") {
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:xcross", getProperty(_target, _x));
Set("/:ycross", getProperty(_target, _y));
setProperty("/cross", _x , /:xcross);
setProperty("/cross", _y , /:ycross);
setProperty("/cross", _visible , 1);
Set("/:select", 0);
Set("/:selection", 0);
tellTarget ("/") {
gotoAndPlay ("again");
};
tellTarget ("/cross") {
gotoAndStop (2);
};
gotoAndStop (1);
}
}
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 2
stop();
Symbol 182 Button
on (keyPress "<Right>") {
Set("/:counter", 0);
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:dirx", 10);
Set("/:diry", 0);
Set("/:shift", 1);
tellTarget ("/") {
gotoAndPlay ("loop");
};
}
}
on (keyPress "<Left>") {
Set("/:counter", 0);
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:dirx", -10);
Set("/:diry", 0);
Set("/:shift", 1);
tellTarget ("/") {
gotoAndPlay ("loop");
};
}
}
on (keyPress "<Up>") {
Set("/:counter", 0);
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:dirx", 0);
Set("/:diry", -10);
Set("/:shift", 1);
tellTarget ("/") {
gotoAndPlay ("loop");
};
}
}
on (keyPress "<Down>") {
Set("/:counter", 0);
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:dirx", 0);
Set("/:diry", 10);
Set("/:shift", 1);
tellTarget ("/") {
gotoAndPlay ("loop");
};
}
}
on (keyPress "<Space>") {
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:xcross", getProperty(_target, _x));
Set("/:ycross", getProperty(_target, _y));
setProperty("/cross", _x , /:xcross);
setProperty("/cross", _y , /:ycross);
setProperty("/cross", _visible , 1);
Set("/:select", 0);
Set("/:selection", 0);
tellTarget ("/") {
gotoAndPlay ("again");
};
tellTarget ("/cross") {
gotoAndStop (2);
};
gotoAndStop (1);
}
}
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 2
stop();
Symbol 187 Button
on (keyPress "<Right>") {
Set("/:counter", 0);
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:dirx", 10);
Set("/:diry", 0);
Set("/:shift", 1);
tellTarget ("/") {
gotoAndPlay ("loop");
};
}
}
on (keyPress "<Left>") {
Set("/:counter", 0);
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:dirx", -10);
Set("/:diry", 0);
Set("/:shift", 1);
tellTarget ("/") {
gotoAndPlay ("loop");
};
}
}
on (keyPress "<Up>") {
Set("/:counter", 0);
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:dirx", 0);
Set("/:diry", -10);
Set("/:shift", 1);
tellTarget ("/") {
gotoAndPlay ("loop");
};
}
}
on (keyPress "<Down>") {
Set("/:counter", 0);
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:dirx", 0);
Set("/:diry", 10);
Set("/:shift", 1);
tellTarget ("/") {
gotoAndPlay ("loop");
};
}
}
on (keyPress "<Space>") {
if ((Number(/:shift) == 0) and (Number(/:select) == 1)) {
Set("/:xcross", getProperty(_target, _x));
Set("/:ycross", getProperty(_target, _y));
setProperty("/cross", _x , /:xcross);
setProperty("/cross", _y , /:ycross);
setProperty("/cross", _visible , 1);
Set("/:select", 0);
Set("/:selection", 0);
tellTarget ("/") {
gotoAndPlay ("again");
};
tellTarget ("/cross") {
gotoAndStop (2);
};
gotoAndStop (1);
}
}
Symbol 188 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 2
stop();
Symbol 190 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 2
i = 0;
Symbol 190 MovieClip Frame 3
setProperty("/orb" add /:selection, _xscale , 60 - i);
setProperty("/orb" add /:selection, _yscale , 60 - i);
Symbol 190 MovieClip Frame 4
i = Number(i) + 10;
if (Number(i) < 60) {
gotoAndPlay (3);
}
Symbol 190 MovieClip Frame 5
removeMovieClip("/orb" add /:selection);
Set("/:posatom" add /:selection, 0);
Set("/:aka" add /:location, 0);
Set("/:xcross", getProperty("/p" add /:location, _x));
Set("/:ycross", getProperty("/p" add /:location, _y));
removeMovieClip("/p" add /:location);
setProperty("/cross", _x , /:xcross);
setProperty("/cross", _y , /:ycross);
Set("/:select", 0);
Set("/:shift", 0);
Set("/:selection", 0);
tellTarget ("/cross") {
gotoAndStop (2);
};
setProperty("/cross", _visible , 1);
if ((Number(/:numberatom) == 0) and (Number(/:numberhouse) == 0)) {
if (Number(/:level) == 16) {
tellTarget ("/") {
call("clear");
gotoAndStop ("end_win");
};
} else {
Set("/:level", Number(/:level) + 1);
tellTarget ("/") {
call("clear");
gotoAndStop ("next");
};
stop();
}
}
if (Number(/:numberatom) < Number(/:numberhouse)) {
if (Number(/:credits) == 1) {
tellTarget ("/") {
call("clear");
gotoAndStop ("end_lost");
stop();
};
} else {
tellTarget ("/window") {
gotoAndStop (2);
};
setProperty("/window", _visible , 1);
stop();
}
} else {
tellTarget ("/") {
gotoAndStop ("again");
};
}
Symbol 193 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 2
i = 0;
Symbol 193 MovieClip Frame 3
setProperty("/orb" add /:selection, _rotation , 10 * i);
setProperty("/orb" add /:selection, _alpha , 100 - (3 * i));
Symbol 193 MovieClip Frame 4
i = Number(i) + 1;
if (Number(i) < 37) {
gotoAndPlay (3);
}
Symbol 193 MovieClip Frame 5
Set("/:x", Number(-11) + Number(/:telepx * 40));
Set("/:y", Number(-13) + Number(/:telepy * 40));
setProperty("/orb" add /:selection, _x , /:x);
setProperty("/orb" add /:selection, _y , /:y);
Set("/:posatom" add /:selection, /:telepy add /:telepx);
i = 0;
Symbol 193 MovieClip Frame 6
setProperty("/orb" add /:selection, _rotation , -10 * i);
setProperty("/orb" add /:selection, _alpha , 3 * i);
Symbol 193 MovieClip Frame 7
i = Number(i) + 1;
if (Number(i) < 37) {
gotoAndPlay (6);
}
Symbol 193 MovieClip Frame 8
tellTarget ("/orb" add /:selection) {
gotoAndStop (2);
};
tellTarget ("/") {
gotoAndStop ("repeat");
};
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 2
i = 0;
Symbol 195 MovieClip Frame 3
setProperty("/orb" add /:selection, _xscale , 100);
setProperty("/orb" add /:selection, _yscale , 100);
Symbol 195 MovieClip Frame 4
setProperty("/orb" add /:selection, _xscale , 60);
setProperty("/orb" add /:selection, _yscale , 60);
Symbol 195 MovieClip Frame 5
i = Number(i) + 1;
if (Number(i) < 4) {
gotoAndPlay (3);
}
Symbol 195 MovieClip Frame 6
removeMovieClip("/orb" add /:selection);
Set("/:aka" add /:location, 0);
Set("/:posatom" add /:selection, 0);
Set("/:xcross", getProperty("/p" add /:location, _x));
Set("/:ycross", getProperty("/p" add /:location, _y));
removeMovieClip("/p" add /:location);
Set("/:numberhouse", /:numberhouse - 1);
setProperty("/cross", _x , /:xcross);
setProperty("/cross", _y , /:ycross);
Set("/:select", 0);
Set("/:shift", 0);
Set("/:selection", 0);
tellTarget ("/cross") {
gotoAndStop (2);
};
setProperty("/cross", _visible , 1);
if (Number(/:numberatom) == 0) {
if (Number(/:level) == 16) {
tellTarget ("/") {
call("clear");
gotoAndStop ("end_win");
};
stop();
} else {
Set("/:level", Number(/:level) + 1);
tellTarget ("/") {
call("clear");
gotoAndStop ("next");
};
stop();
}
} else if (Number(/:numberatom) < Number(/:numberhouse)) {
if (Number(/:credits) == 0) {
tellTarget ("/") {
call("clear");
gotoAndStop ("end_lost");
};
stop();
}
} else {
tellTarget ("/") {
gotoAndStop ("again");
};
stop();
}
Symbol 201 Button
on (keyPress "<Right>") {
if ((Number(/:select) == 0) and (Number(/:shift) == 0)) {
Set("/:crosschangex", 40);
Set("/:crosschangey", 0);
tellTarget ("/") {
gotoAndPlay ("selec");
};
}
}
on (keyPress "<Left>") {
if ((Number(/:select) == 0) and (Number(/:shift) == 0)) {
Set("/:crosschangex", -40);
Set("/:crosschangey", 0);
tellTarget ("/") {
gotoAndPlay ("selec");
};
}
}
on (keyPress "<Up>") {
if ((Number(/:select) == 0) and (Number(/:shift) == 0)) {
Set("/:crosschangex", 0);
Set("/:crosschangey", -40);
tellTarget ("/") {
gotoAndPlay ("selec");
};
}
}
on (keyPress "<Down>") {
if ((Number(/:select) == 0) and (Number(/:shift) == 0)) {
Set("/:crosschangex", 0);
Set("/:crosschangey", 40);
tellTarget ("/") {
gotoAndPlay ("selec");
};
}
}
on (keyPress "<Space>") {
xpo = int((Number(/:xcross) + 29) / 40);
ypo = int((Number(/:ycross) + 27) / 40);
i = 1;
while (Number(/:numberball) >= Number(i)) {
pomx = int((getProperty("/orb" add i, _x) + 29) / 40);
pomy = int((getProperty("/orb" add i, _y) + 27) / 40);
if ((Number(pomx) == Number(xpo)) and (Number(pomy) == Number(ypo))) {
Set("/:selection", i);
i = Number(/:numberball) + 1;
}
i = Number(i) + 1;
}
if (Number(/:selection) != 0) {
Set("/:x", getProperty("/orb" add /:selection, _x));
Set("/:y", getProperty("/orb" add /:selection, _y));
Set("/:select", 1);
tellTarget ("/") {
gotoAndPlay ("afterspace");
};
} else {
Set("/:crosschangex", 0);
Set("/:crosschangey", 0);
tellTarget ("/") {
gotoAndPlay ("selec");
};
}
}
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 2
stop();
Symbol 221 Button
on (release) {
Set("/:nonono", 1);
tellTarget ("/window") {
gotoAndStop (1);
};
setProperty("/window", _visible , 1);
}
Symbol 226 Button
on (release) {
if (Number(/:nonono) == 0) {
stopAllSounds();
call("clear");
gotoAndPlay (2);
}
}
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 2
stop();
Symbol 233 MovieClip Frame 3
stop();
Symbol 233 MovieClip Frame 4
stop();
Symbol 233 MovieClip Frame 5
stop();
Symbol 233 MovieClip Frame 6
Set("/:score", int(/:score - (/:score / 10)));
stop();
Symbol 240 Button
on (release) {
Set("/:nonono", 0);
setProperty(_target, _visible , 0);
tellTarget ("/") {
gotoAndStop ("again");
};
}
Symbol 245 Button
on (release) {
Set("/:nonono", 0);
setProperty(_target, _visible , 0);
tellTarget ("/musica" add /:music_play) {
gotoAndStop (1);
};
stopAllSounds();
Set("/:credits", /:credits - 1);
tellTarget ("/credit") {
nextFrame();
};
if (Number(/:credits) == 0) {
tellTarget ("/") {
call("clear");
gotoAndStop ("end_lost");
};
stop();
} else {
tellTarget ("/") {
call("clear");
gotoAndPlay ("start");
};
stop();
}
}
Symbol 248 Button
on (release) {
stopAllSounds();
setProperty(_target, _visible , 0);
Set("/:credits", /:credits - 1);
tellTarget ("/credit") {
nextFrame();
};
tellTarget ("/") {
gotoAndPlay ("start");
};
}
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 2
stop();
Symbol 252 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 2
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 2
stop();
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 2
stop();
Symbol 258 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 2
stop();
Symbol 260 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 2
stop();
Symbol 269 Button
on (release) {
stopAllSounds();
tellTarget ("/") {
gotoAndStop ("raz");
};
}
Symbol 270 MovieClip Frame 39
stop();
Symbol 275 Button
on (release) {
getURL ("javascript:OpenNew()");
}
Symbol 283 Button
on (release) {
stopAllSounds();
tellTarget ("/") {
gotoAndStop ("este_raz");
};
}
Symbol 284 MovieClip Frame 43
stop();
Symbol 291 Button
on (release) {
nextFrame();
}
Symbol 308 Button
on (release) {
prevFrame();
}