Frame 1
fscommand ("showmenu", "false");
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
percentloaded1 = int(("100" / _totalframes) * _framesloaded);
percentloaded = percentloaded1 add " % ";
ifFrameLoaded (_totalframes) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 4
nextFrame();
Frame 5
parool = "";
stop();
Frame 6
prevFrame();
Frame 9
d1 = "0000000000000000000000000";
d2 = "0111111111111111111111110";
d3 = "0100520001300000000012010";
d4 = "0101111100010111101011010";
d5 = "0101200111110120001000010";
d6 = "0101110121000101111101110";
d7 = "0100010101010101000100010";
d8 = "0111010100010101012111010";
d9 = "0100000111110101011130010";
d10 = "0101111100000001001001110";
d11 = "0121000101111111101011210";
d12 = "0101010101020000001001010";
d13 = "0101010100011111011101010";
d14 = "0100010110110001300101010";
d15 = "0111110100100101110101010";
d16 = "0100300101101101000100010";
d17 = "0101110100001201011110110";
d18 = "0101210111411111000010010";
d19 = "0101000000030001111011010";
d20 = "0101111101111101200003010";
d21 = "0100000101210001111101110";
d22 = "0111110101010111000101210";
d23 = "0120000100010000016100010";
d24 = "0111111111111111111111110";
d25 = "0000000000000000000000000";
key = "0";
i = "1";
while (i < "7") {
j = "1";
while (j < "7") {
k = substring(eval ("d" add j), i, "1");
duplicateMovieClip ("/sein" add k, ("sein" add i) add j, ("10" * i) + j);
setProperty(("sein" add i) add j, _x , i * "50");
setProperty(("sein" add i) add j, _y , j * "50");
j = j + "1";
}
i = i + "1";
}
duplicateMovieClip ("/raam", "raam1", "1000");
ialg = "1";
jalg = "1";
ilopp = "6";
jlopp = "6";
abi_y1 = "150";
abi_y2 = "150";
abi_x1 = "150";
abi_x2 = "150";
liigub = "0";
kristall = "15";
elu = "101";
elutais = int(elu);
kaart = "0";
if (heli == "0") {
heli = "1";
tellTarget ("/raam1/heli_nupp") {
gotoAndStop("sees");
};
} else if (heli == (-"1")) {
tellTarget ("/raam1/heli_nupp") {
gotoAndStop("tumm");
};
}
Frame 10
nextFrame();
Frame 12
prevFrame();
Frame 15
d1 = "0000000000000000000000000";
d2 = "0111111111111111111111110";
d3 = "0101000001000100001022210";
d4 = "0101011101010001101011110";
d5 = "0101001001011111001000010";
d6 = "0101101001000001011111010";
d7 = "0101001011111101000010010";
d8 = "0100011000000001101010110";
d9 = "0111010011111111001010010";
d10 = "0105010110000001011011010";
d11 = "0101110310114101310031010";
d12 = "0100011110103101110111010";
d13 = "0111001000130100010001010";
d14 = "0101101010141101013100010";
d15 = "0100000010000001011111610";
d16 = "0101111111111111010001110";
d17 = "0100100000003100000100010";
d18 = "0110101111110101111111010";
d19 = "0100001000010100010000010";
d20 = "0101111011010111010111110";
d21 = "0100001001010001010122210";
d22 = "0111101101011101010122210";
d23 = "0122201601000001000522210";
d24 = "0111111111111111111111110";
d25 = "0000000000000000000000000";
key = "0";
i = "1";
while (i < "7") {
j = "1";
while (j < "7") {
k = substring(eval ("d" add j), i, "1");
duplicateMovieClip ("/sein" add k, ("sein" add i) add j, ("10" * i) + j);
setProperty(("sein" add i) add j, _x , i * "50");
setProperty(("sein" add i) add j, _y , j * "50");
j = j + "1";
}
i = i + "1";
}
duplicateMovieClip ("/raam", "raam1", "1000");
ialg = "1";
jalg = "1";
ilopp = "6";
jlopp = "6";
abi_y1 = "150";
abi_y2 = "150";
abi_x1 = "150";
abi_x2 = "150";
liigub = "0";
kristall = "15";
elu = "101";
elutais = int(elu);
kaart = "0";
if (heli == "0") {
heli = "1";
tellTarget ("/raam1/heli_nupp") {
gotoAndStop("sees");
};
} else if (heli == (-"1")) {
tellTarget ("/raam1/heli_nupp") {
gotoAndStop("tumm");
};
}
Frame 16
nextFrame();
Frame 18
prevFrame();
Frame 20
d1 = "0000000000000000000000000";
d2 = "0111111111111111111111110";
d3 = "0105000000000000010001210";
d4 = "0101111111111111010101210";
d5 = "0105000000010001000101010";
d6 = "0101111111000101111101010";
d7 = "0105000001111100013101010";
d8 = "0101111101000111000100010";
d9 = "0105300100010001110110110";
d10 = "0101110111111100010010010";
d11 = "0100010100012111011011010";
d12 = "0111010001010001010010010";
d13 = "0161011111011101010110110";
d14 = "0101001000000001310100210";
d15 = "0101101011111111010131110";
d16 = "0101001010031000010100010";
d17 = "0101011000161011110111010";
d18 = "0101001111111016100100010";
d19 = "0101101000000010101101110";
d20 = "0100001011111110101002210";
d21 = "0111111012121000001011110";
d22 = "0130010000001011111012210";
d23 = "0161000121211000321002210";
d24 = "0111111111111111111111110";
d25 = "0000000000000000000000000";
key = "0";
i = "1";
while (i < "7") {
j = "1";
while (j < "7") {
k = substring(eval ("d" add j), i, "1");
duplicateMovieClip ("/sein" add k, ("sein" add i) add j, ("10" * i) + j);
setProperty(("sein" add i) add j, _x , i * "50");
setProperty(("sein" add i) add j, _y , j * "50");
j = j + "1";
}
i = i + "1";
}
duplicateMovieClip ("/raam", "raam1", "1000");
ialg = "1";
jalg = "1";
ilopp = "6";
jlopp = "6";
abi_y1 = "150";
abi_y2 = "150";
abi_x1 = "150";
abi_x2 = "150";
liigub = "0";
kristall = "15";
elu = "101";
elutais = int(elu);
kaart = "0";
if (heli == "0") {
heli = "1";
tellTarget ("/raam1/heli_nupp") {
gotoAndStop("sees");
};
} else if (heli == (-"1")) {
tellTarget ("/raam1/heli_nupp") {
gotoAndStop("tumm");
};
}
Frame 21
nextFrame();
Frame 23
prevFrame();
Frame 26
ots = "1";
i = ialg + "1";
while (((ilopp - "1") >= i) and (ots == "1")) {
j = jalg + "1";
while (((jlopp - "1") >= j) and (ots == "1")) {
k = substring(eval ("d" add j), i, "1");
if (k == "1") {
if (((((((-"10") * uus_x) + "150") == getProperty(("sein" add i) add j, _x)) and ("100" < getProperty(("sein" add i) add j, _y))) and (getProperty(("sein" add i) add j, _y) < "200")) or ((("100" < getProperty(("sein" add i) add j, _x)) and (getProperty(("sein" add i) add j, _x) < "200")) and ((((-"10") * uus_y) + "150") == getProperty(("sein" add i) add j, _y)))) {
ots = "0";
}
}
if (k == "2") {
if (((((((-"5") * uus_x) + "150") == getProperty(("sein" add i) add j, _x)) and ("120" < getProperty(("sein" add i) add j, _y))) and (getProperty(("sein" add i) add j, _y) < "180")) or ((("120" < getProperty(("sein" add i) add j, _x)) and (getProperty(("sein" add i) add j, _x) < "180")) and ((((-"5") * uus_y) + "150") == getProperty(("sein" add i) add j, _y)))) {
kristall = kristall - "1";
if (heli == "1") {
tellTarget ("/heli") {
gotoAndPlay("kristall");
};
}
call("asenda");
removeMovieClip(("/sein" add i) add j);
if (kristall == "0") {
gotoAndStop (31);
}
}
}
if (k == "3") {
if (((((((-"5") * uus_x) + "150") == getProperty(("sein" add i) add j, _x)) and ("120" < getProperty(("sein" add i) add j, _y))) and (getProperty(("sein" add i) add j, _y) < "180")) or ((("120" < getProperty(("sein" add i) add j, _x)) and (getProperty(("sein" add i) add j, _x) < "180")) and ((((-"5") * uus_y) + "150") == getProperty(("sein" add i) add j, _y)))) {
elu = elu + "50";
if (heli == "1") {
tellTarget ("/heli") {
gotoAndPlay("syda");
};
}
call("asenda");
removeMovieClip(("/sein" add i) add j);
}
}
if (k == "5") {
if (((((((-"10") * uus_x) + "150") == getProperty(("sein" add i) add j, _x)) and ("100" < getProperty(("sein" add i) add j, _y))) and (getProperty(("sein" add i) add j, _y) < "200")) or ((("100" < getProperty(("sein" add i) add j, _x)) and (getProperty(("sein" add i) add j, _x) < "200")) and ((((-"10") * uus_y) + "150") == getProperty(("sein" add i) add j, _y)))) {
if (key == "0") {
ots = "0";
} else {
call("asenda");
removeMovieClip(("/sein" add i) add j);
}
}
}
if (k == "6") {
if (((((((-"5") * uus_x) + "150") == getProperty(("sein" add i) add j, _x)) and ("120" < getProperty(("sein" add i) add j, _y))) and (getProperty(("sein" add i) add j, _y) < "180")) or ((("120" < getProperty(("sein" add i) add j, _x)) and (getProperty(("sein" add i) add j, _x) < "180")) and ((((-"5") * uus_y) + "150") == getProperty(("sein" add i) add j, _y)))) {
ots = "0";
key = "1";
call("asenda");
removeMovieClip(("/sein" add i) add j);
}
}
j = j + "1";
}
i = i + "1";
}
if (ots == "1") {
elu = elu - "0.1";
elutais = int(elu);
if (elu < "1") {
gotoAndStop (35);
}
abi_y1 = abi_y1 + uus_y;
abi_y2 = abi_y2 + uus_y;
abi_x1 = abi_x1 + uus_x;
abi_x2 = abi_x2 + uus_x;
i = ialg;
while (ilopp >= i) {
j = jalg;
while (jlopp >= j) {
setProperty(("sein" add i) add j, _x , getProperty(("sein" add i) add j, _x) + uus_x);
setProperty(("sein" add i) add j, _y , getProperty(("sein" add i) add j, _y) + uus_y);
j = j + "1";
}
i = i + "1";
}
if (abi_y1 < "100") {
i = ialg;
while (ilopp >= i) {
removeMovieClip(("/sein" add i) add jalg);
i = i + "1";
}
jalg = jalg + "1";
jlopp = jlopp + "1";
abi_y1 = "145";
abi_y2 = "195";
i = ialg;
j = jlopp;
while (ilopp >= i) {
k = substring(eval ("d" add j), i, "1");
duplicateMovieClip ("/sein" add k, ("sein" add i) add j, ("10" * i) + j);
setProperty(("sein" add i) add j, _x , (((i * "50") + abi_x1) - "100") - (ialg * "50"));
setProperty(("sein" add i) add j, _y , "295");
i = i + "1";
}
}
if ("200" < abi_y2) {
i = ialg;
while (ilopp >= i) {
removeMovieClip(("/sein" add i) add jlopp);
i = i + "1";
}
jalg = jalg - "1";
jlopp = jlopp - "1";
abi_y2 = "155";
abi_y1 = "105";
i = ialg;
j = jalg;
while (ilopp >= i) {
k = substring(eval ("d" add j), i, "1");
duplicateMovieClip ("/sein" add k, ("sein" add i) add j, ("10" * i) + j);
setProperty(("sein" add i) add j, _x , (((i * "50") + abi_x1) - "100") - (ialg * "50"));
setProperty(("sein" add i) add j, _y , "5");
i = i + "1";
}
}
if (abi_x1 < "100") {
j = jalg;
while (jlopp >= j) {
removeMovieClip(("/sein" add ialg) add j);
j = j + "1";
}
ialg = ialg + "1";
ilopp = ilopp + "1";
abi_x1 = "145";
abi_x2 = "195";
j = jalg;
i = ilopp;
while (jlopp >= j) {
k = substring(eval ("d" add j), i, "1");
duplicateMovieClip ("/sein" add k, ("sein" add i) add j, ("10" * i) + j);
setProperty(("sein" add i) add j, _x , "295");
setProperty(("sein" add i) add j, _y , (((j * "50") + abi_y1) - (jalg * "50")) - "100");
j = j + "1";
}
}
if ("200" < abi_x2) {
j = jalg;
while (jlopp >= j) {
removeMovieClip(("/sein" add ilopp) add j);
j = j + "1";
}
ialg = ialg - "1";
ilopp = ilopp - "1";
abi_x2 = "155";
abi_x1 = "105";
j = jalg;
i = ialg;
while (jlopp >= j) {
k = substring(eval ("d" add j), i, "1");
duplicateMovieClip ("/sein" add k, ("sein" add i) add j, ("10" * i) + j);
setProperty(("sein" add i) add j, _x , "5");
setProperty(("sein" add i) add j, _y , (((j * "50") + abi_y1) - (jalg * "50")) - "100");
j = j + "1";
}
}
}
Frame 27
l = "1";
uusd = "";
while ("50" >= l) {
if (l == i) {
uusd = uusd add "0";
} else {
uusd = uusd add (substring(eval ("d" add j), l, "1"));
}
l = l + "1";
}
Set("d" add j, uusd);
Frame 30
nextFrame();
Frame 31
i = "1";
while (i < "50") {
j = "1";
while (j < "50") {
removeMovieClip(("/sein" add i) add j);
j = j + "1";
}
i = i + "1";
}
parool = "";
if (tase == "1") {
parool = (((((chr("84") add chr("69")) add chr("69")) add chr("77")) add chr("65")) add chr("78")) add chr("84");
}
if (tase == "2") {
parool = (((((chr("80") add chr("73")) add chr("77")) add chr("69")) add chr("68")) add chr("85")) add chr("83");
}
if (tase == "3") {
gotoAndPlay (39);
}
Frame 32
prevFrame();
Frame 34
nextFrame();
Frame 35
i = "1";
while (i < "50") {
j = "1";
while (j < "50") {
removeMovieClip(("/sein" add i) add j);
j = j + "1";
}
i = i + "1";
}
Frame 36
prevFrame();
Frame 38
nextFrame();
Frame 39
i = "1";
while (i < "50") {
j = "1";
while (j < "50") {
removeMovieClip(("/sein" add i) add j);
j = j + "1";
}
i = i + "1";
}
Frame 40
prevFrame();
Symbol 14 MovieClip Frame 4
Set("../:liigub", "0");
gotoAndStop (1);
Symbol 14 MovieClip Frame 8
Set("../:liigub", "0");
gotoAndStop (5);
Symbol 14 MovieClip Frame 12
Set("../:liigub", "0");
gotoAndStop (9);
Symbol 14 MovieClip Frame 16
Set("../:liigub", "0");
gotoAndStop (13);
Symbol 18 Button
on (release, keyPress "<Enter>") {
if (parool eq "KOOPAD") {
tase = "1";
gotoAndPlay (9);
}
if (parool eq ((((((chr("84") add chr("69")) add chr("69")) add chr("77")) add chr("65")) add chr("78")) add chr("84"))) {
tase = "2";
gotoAndPlay (15);
}
if (parool eq ((((((chr("80") add chr("73")) add chr("77")) add chr("69")) add chr("68")) add chr("85")) add chr("83"))) {
tase = "3";
gotoAndPlay (20);
}
}
Symbol 25 MovieClip Frame 1
stop();
Symbol 25 MovieClip Frame 51
stop();
Symbol 25 MovieClip Frame 75
stop();
Symbol 25 MovieClip Frame 84
stop();
Symbol 29 MovieClip Frame 1
i = "1";
while (i < "25") {
j = "1";
while (j < "25") {
removeMovieClip(("n" add i) add j);
j = j + "1";
}
i = i + "1";
}
removeMovieClip("n4");
stop();
Symbol 29 MovieClip Frame 2
i = "1";
while (i < "25") {
j = "1";
while (j < "25") {
k = substring(eval ("/:d" add j), i, "1");
duplicateMovieClip ("n" add k, ("n" add i) add j, ("100" + ("10" * i)) + j);
setProperty(("n" add i) add j, _x , (i * "10") - "130");
setProperty(("n" add i) add j, _y , (j * "10") - "130");
j = j + "1";
}
i = i + "1";
}
duplicateMovieClip ("n9", "n9", "1001");
setProperty("n9", _x , ((/:ialg * "10") - (/:abi_x1 / "5")) - "80");
setProperty("n9", _y , ((/:jalg * "10") - (/:abi_y1 / "5")) - "80");
stop();
Symbol 38 Button
on (release) {
i = "1";
while (i < "50") {
j = "1";
while (j < "50") {
removeMovieClip(("/sein" add i) add j);
j = j + "1";
}
i = i + "1";
}
removeMovieClip("/raam1");
gotoAndStop("/:algus");
}
Symbol 40 Button
on (press) {
if (../:kaart == "0") {
Set("../:kaart", "1");
tellTarget ("../raam1/kaart") {
gotoAndStop (2);
};
} else {
Set("../:kaart", "0");
tellTarget ("../raam1/kaart") {
gotoAndStop (1);
};
}
}
Symbol 42 Button
on (release) {
Set("/:heli", -"1");
tellTarget ("/raam1/heli_nupp") {
gotoAndStop("tumm");
}
}
Symbol 44 Button
on (release) {
Set("/:heli", "1");
tellTarget ("/raam1/heli_nupp") {
gotoAndStop("sees");
}
}
Symbol 45 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 5
stop();
Symbol 46 Button
on (keyPress "<Space>") {
toggleHighQuality();
}
Symbol 49 MovieClip Frame 1
if (../:kaart == "1") {
tellTarget ("/kaart") {
gotoAndPlay (2);
};
}
Symbol 56 MovieClip Frame 1
if (../:heli == "1") {
tellTarget ("../heli") {
gotoAndPlay("play");
};
}
Symbol 57 MovieClip Frame 1
if (../:heli == "1") {
tellTarget ("../heli") {
gotoAndPlay("play");
};
}
Symbol 65 Button
on (keyPress "<Down>") {
if (kaart == "0") {
uus_x = "0";
uus_y = -"5";
ots = "1";
if (((abi_y2 + uus_y) < "150") and (jlopp == "25")) {
ots = "0";
}
if (ots == "1") {
call("minek");
}
if (liigub == "0") {
liigub = "1";
tellTarget ("/onu") {
gotoAndPlay("seis1");
};
}
}
}
on (keyPress "<Up>") {
if (kaart == "0") {
ots = "1";
uus_x = "0";
uus_y = "5";
if (("150" < (abi_y1 + uus_y)) and (jalg == "1")) {
ots = "0";
}
if (ots == "1") {
call("minek");
}
if (liigub == "0") {
liigub = "1";
tellTarget ("/onu") {
gotoAndPlay("seis2");
};
}
}
}
on (keyPress "<Left>") {
if (kaart == "0") {
uus_x = "5";
uus_y = "0";
ots = "1";
if (("150" < (abi_x1 + uus_x)) and (ialg == "1")) {
ots = "0";
}
if (ots == "1") {
call("minek");
}
if (liigub == "0") {
liigub = "1";
tellTarget ("/onu") {
gotoAndPlay("seis3");
};
}
}
}
on (keyPress "<Right>") {
if (kaart == "0") {
uus_x = -"5";
uus_y = "0";
ots = "1";
if (((abi_x2 + uus_x) < "150") and (ilopp == "25")) {
ots = "0";
}
if (ots == "1") {
call("minek");
}
if (liigub == "0") {
liigub = "1";
tellTarget ("/onu") {
gotoAndPlay("seis4");
};
}
}
}