Frame 1
txtPercentage = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) add "% loaded";
tellTarget ("loader") {
gotoAndPlay(Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100));
};
Frame 2
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
gotoAndStop (3);
} else {
gotoAndPlay (1);
}
Frame 3
((undefined <= b) > "c") || (0(false));
stopAllSounds();
Set("_root:navodila", 1);
if ((_root:quality != "low") && (_root:quality != "high")) {
Set("_root:quality", "high");
}
_root.ozadje.setVolume(100);
fscommand ("showmenu", "false");
fscommand ("allowscale", "false");
Mouse.show();
Set("_root:sound_control", 1);
Set("_root:tips", 0);
Set("_root:sound_started", 0);
Set("_root:zacetek", "Zacetek igre!");
Set("_root:prehod", 0);
Set("_root:f8g0e1", "");
Set("_root:f8g0e2", "");
Set("_root:f8g1e1", "");
Set("_root:f8g1e2", "");
Set("_root:f8g2e1", "");
Set("_root:f8g2e2", "");
Set("_root:f8g3e1", "");
Set("_root:f8g3e2", "");
Set("_root:f8g4e1", "");
Set("_root:f8g4e2", "");
Set("_root:f8g5e1", "");
Set("_root:f8g5e2", "");
Set("_root:f8g6e1", "");
Set("_root:f8g6e2", "");
Set("_root:f8g7e1", "");
Set("_root:f8g7e2", "");
Set("_root:f4g0e1", "");
Set("_root:f4g0e2", "");
Set("_root:f4g1e1", "");
Set("_root:f4g1e2", "");
Set("_root:f4g2e1", "");
Set("_root:f4g2e2", "");
Set("_root:f4g3e1", "");
Set("_root:f4g3e2", "");
Set("_root:f2g0e1", "");
Set("_root:f2g0e2", "");
Set("_root:f2g1e1", "");
Set("_root:f2g1e2", "");
Set("_root:f1g0e1", "");
Set("_root:f1g0e2", "");
stop();
Frame 39
loadVariablesNum ("http://www.oxylus.si/kickoff/getmail.asp", 0, "POST");
Frame 40
((undefined <= b) > "c") || (0(false));
if (_root:navodila == 0) {
setProperty("_root.navodilo1", _visible , false);
} else {
setProperty("_root.navodilo1", _visible , true);
}
((undefined <= b) > "c") || (0(false));
ozadje = new Sound();
ozadje.attachSound("ozadje");
gol = new Sound();
gol.attachSound("gol");
odboj = new Sound();
odboj.attachSound("odboj");
strel = new Sound();
strel.attachSound("strel");
beam = new Sound();
beam.attachSound("beam");
tresk = new Sound();
tresk.attachSound("tresk");
otrok = new Sound();
otrok.attachSound("otrok");
if (_root:sound_control == 0) {
tellTarget ("_root.snd_ctrl") {
gotoAndStop ("off");
};
}
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
Set("_root:kicked", 0);
Set("_root:level", 0);
Set("_root:izbrani", 0);
Set("_root:dy_max", 30);
Set("_root:zalet", 0);
Set("_root:golman_pade_n", 10);
Set("_root:zogapristala", 0);
Set("_root:posevno", 0);
Set("_root:zoga", 0);
setProperty("_root.zoga0", _x , 242.5);
setProperty("_root.zoga0", _y , 305);
setProperty("_root.zoga0", _visible , 1);
tellTarget ("_root.zoga0") {
gotoAndStop ("zoom");
};
setProperty("_root.golman0", _x , 242.5);
setProperty("_root.golman0", _y , 165);
stop();
Frame 45
((undefined <= b) > "c") || (0(false));
gotoAndPlay (70);
Frame 59
((undefined <= b) > "c") || (0(false));
stopDrag();
Mouse.show();
stopAllSounds();
gotoAndStop (119);
Frame 70
((undefined <= b) > "c") || (0(false));
if (_root:navodila == 0) {
setProperty("_root.navodilo2", _visible , false);
} else {
setProperty("_root.navodilo2", _visible , true);
}
((undefined <= b) > "c") || (0(false));
ozadje = new Sound();
ozadje.attachSound("ozadje");
gol = new Sound();
gol.attachSound("gol");
odboj = new Sound();
odboj.attachSound("odboj");
strel = new Sound();
strel.attachSound("strel");
beam = new Sound();
beam.attachSound("beam");
tresk = new Sound();
tresk.attachSound("tresk");
if (_root:sound_control == 0) {
tellTarget ("_root.snd_ctrl") {
gotoAndStop ("off");
};
}
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
Set("_root:dy_max", 30);
Set("_root:zalet", 0);
Set("_root:kicked", 0);
Set("_root:zogapristala", 0);
Set("_root:posevno", 0);
Set("_root:zoga", 0);
setProperty("_root.zoga0", _x , 242.5);
setProperty("_root.zoga0", _y , 305);
setProperty("_root.zoga0", _visible , 1);
tellTarget ("_root.zoga0") {
gotoAndStop ("zoom");
};
stop();
Frame 75
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
Set("_root:zalet", 1);
tellTarget ("_root.moc") {
gotoAndStop (2);
};
Frame 76
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (3);
};
strel.start(0, 1);
tellTarget (_root.ciljaj) {
gotoAndPlay ("ciljaj2");
};
stop();
Frame 77
((undefined <= b) > "c") || (0(false));
Set("_root:navodila", 0);
gotoAndPlay (40);
Frame 119
((undefined <= b) > "c") || (0(false));
unloadMovieNum (1);
((undefined <= b) > "c") || (0(false));
stopAllSounds();
Mouse.show();
Set("_root:sound_started", 0);
Set("_root:finale", 8);
Set("_root:rezultat1", 0);
Set("_root:rezultat2", 0);
Set("_root:score", 0);
skupina = 0;
while (skupina <= 7) {
team = 0;
while (team <= 3) {
Set((("_root:g" + skupina) + "e") + team, _root.ekipa[skupina][0][team]);
team++;
}
skupina++;
}
stop();
Frame 134
((undefined <= b) > "c") || (0(false));
Set("_root:niz", _root:zacetek);
Set("_root:niz", (((_root:niz + "**Team:g") + _root:skupina) + "e") + _root:team);
gotoAndPlay (155);
Frame 144
((undefined <= b) > "c") || (0(false));
gotoAndStop (515);
Frame 154
((undefined <= b) > "c") || (0(false));
if (_root:drevo == 8) {
gotoAndPlay (155);
} else if (_root:drevo == 4) {
gotoAndPlay (245);
} else if (_root:drevo == 2) {
gotoAndPlay (335);
} else if (_root:drevo == 1) {
gotoAndPlay (425);
}
Frame 155
((undefined <= b) > "c") || (0(false));
stopAllSounds();
Mouse.show();
Set("_root:sound_started", 0);
if (_root:score < 0) {
Set("_root:score", 0);
}
Set("_root:level", 1);
Set("_root:igra", "Qualifications");
_root.zmagovalec8 = [[[], []], [[], []], [[], []], [[], []], [[], []], [[], []], [[], []], [[], []]];
Set("_root:niz", (_root:niz + "**") + _root:Igra);
cas = new Date();
Set("_root:niz", (_root:niz + "**Cas:") + cas.getTime());
group = 0;
while (group < 8) {
if (group == _root:skupina) {
Set(("_root:f8g" + group) + "e1", ("> " + _root.ekipa[_root:skupina][0][_root:team]) + " <");
_root.zmagovalec8[group][0][0] = group;
_root.zmagovalec8[group][0][1] = _root:team;
Set("_root:picked", _root:team);
while (_root:picked == _root:team) {
i = Math.random();
if (i <= _root.zreb[0]) {
Set("_root:picked", 0);
} else if (i <= ((_root.zreb[0] + i) <= _root.zreb[1])) {
Set("_root:picked", 1);
} else if (i <= ((_root.zreb[0] + i) <= (_root.zreb[1] + _root.zreb[2]))) {
Set("_root:picked", 2);
} else {
Set("_root:picked", 3);
}
Set("_root:izbrani", _root.ekipa[group][1][_root:picked]);
Set("_root:niz", (((_root:niz + "**Proti:") + _root.ekipa[group][0][_root:picked]) + "**Brani:") + _root:izbrani);
Set("_root:racunalnik_team", _root.ekipa[group][0][_root:picked]);
}
} else {
i = Math.random();
if (i <= _root.zreb[0]) {
Set("_root:prvi", 0);
} else if (i <= ((_root.zreb[0] + i) <= _root.zreb[1])) {
Set("_root:prvi", 1);
} else if (i <= ((_root.zreb[0] + i) <= (_root.zreb[1] + _root.zreb[2]))) {
Set("_root:prvi", 2);
} else {
Set("_root:prvi", 3);
}
Set(("_root:f8g" + group) + "e1", " " + _root.ekipa[group][0][_root:prvi]);
_root.zmagovalec8[group][0][0] = group;
_root.zmagovalec8[group][0][1] = _root:prvi;
Set("_root:picked", _root:prvi);
while (_root:picked == _root:prvi) {
i = Math.random();
if (i <= _root.zreb[0]) {
Set("_root:picked", 0);
} else if (i <= ((_root.zreb[0] + i) <= _root.zreb[1])) {
Set("_root:picked", 1);
} else if (i <= ((_root.zreb[0] + i) <= (_root.zreb[1] + _root.zreb[2]))) {
Set("_root:picked", 2);
} else {
Set("_root:picked", 3);
}
}
}
Set(("_root:f8g" + group) + "e2", " " + _root.ekipa[group][0][_root:picked]);
_root.zmagovalec8[group][1][0] = group;
_root.zmagovalec8[group][1][1] = _root:picked;
group++;
}
if (_root:skupina <= 1) {
Set("_root:polje4", 0);
} else if (_root:skupina <= 3) {
Set("_root:polje4", 1);
} else if (_root:skupina <= 5) {
Set("_root:polje4", 2);
} else {
Set("_root:polje4", 3);
}
Set("_root:prehod", 0);
Frame 244
((undefined <= b) > "c") || (0(false));
stop();
Frame 245
((undefined <= b) > "c") || (0(false));
stopAllSounds();
Mouse.show();
Set("_root:sound_started", 0);
if (_root:score < 0) {
Set("_root:score", 0);
}
Set("_root:level", 2);
Set("_root:igra", "Quarterfinals");
_root.zmagovalec4 = [[[], []], [[], []], [[], []], [[], []]];
Set("_root:niz", (_root:niz + "**") + _root:Igra);
cas = new Date();
Set("_root:niz", (_root:niz + "**Cas:") + cas.getTime());
group = 0;
while (group < 4) {
if (group == _root:polje4) {
if ((_root:skupina % 2) == 0) {
Set(("_root:f4g" + group) + "e1", ("> " + _root.ekipa[_root:skupina][0][_root:team]) + " <");
_root.zmagovalec4[group][0][0] = _root:skupina;
_root.zmagovalec4[group][0][1] = _root:team;
if (_root:zmagovalec8[(2 * group) + 1][0][1] < _root:zmagovalec8[(2 * group) + 1][1][1]) {
Set("_root:picked", 0);
} else if (_root:zmagovalec8[(2 * group) + 1][0][1] > _root:zmagovalec8[(2 * group) + 1][1][1]) {
Set("_root:picked", 1);
} else {
i = Math.random();
if (i <= 0.5) {
Set("_root:picked", 0);
} else {
Set("_root:picked", 1);
}
}
Set(("_root:f4g" + group) + "e2", " " + _root.ekipa[_root.zmagovalec8[(2 * group) + 1][_root:picked][0]][0][_root.zmagovalec8[(2 * group) + 1][_root:picked][1]]);
_root.zmagovalec4[group][1][0] = _root.zmagovalec8[2 * group][_root:picked][0];
_root.zmagovalec4[group][1][1] = _root.zmagovalec8[2 * group][_root:picked][1];
Set("_root:izbrani", _root.ekipa[_root.zmagovalec8[(2 * group) + 1][_root:picked][0]][1][_root.zmagovalec8[(2 * group) + 1][_root:picked][1]]);
Set("_root:niz", (((_root:niz + "**Proti:") + eval (("_root:f4g" + group) + "e2")) + "**Brani:") + _root:izbrani);
Set("_root:racunalnik_team", _root.ekipa[_root.zmagovalec8[(2 * group) + 1][_root:picked][0]][0][_root.zmagovalec8[(2 * group) + 1][_root:picked][1]]);
} else {
Set(("_root:f4g" + group) + "e2", ("> " + _root.ekipa[_root:skupina][0][_root:team]) + " <");
_root.zmagovalec4[group][1][0] = _root:skupina;
_root.zmagovalec4[group][1][1] = _root:team;
if (_root:zmagovalec8[2 * group][0][1] < _root:zmagovalec8[2 * group][1][1]) {
Set("_root:picked", 0);
} else if (_root:zmagovalec8[2 * group][0][1] > _root:zmagovalec8[2 * group][1][1]) {
Set("_root:picked", 1);
} else {
i = Math.random();
if (i <= 0.5) {
Set("_root:picked", 0);
} else {
Set("_root:picked", 1);
}
}
Set(("_root:f4g" + group) + "e1", " " + _root.ekipa[_root.zmagovalec8[2 * group][_root:picked][0]][0][_root.zmagovalec8[2 * group][_root:picked][1]]);
_root.zmagovalec4[group][0][0] = _root.zmagovalec8[2 * group][_root:picked][0];
_root.zmagovalec4[group][0][1] = _root.zmagovalec8[2 * group][_root:picked][1];
Set("_root:izbrani", _root.ekipa[_root.zmagovalec8[2 * group][_root:picked][0]][1][_root.zmagovalec8[2 * group][_root:picked][1]]);
Set("_root:niz", (((_root:niz + "**Proti:") + eval (("_root:f4g" + group) + "e1")) + "**Brani:") + _root:izbrani);
Set("_root:racunalnik_team", _root.ekipa[_root.zmagovalec8[2 * group][_root:picked][0]][0][_root.zmagovalec8[2 * group][_root:picked][1]]);
}
} else {
if (_root:zmagovalec8[2 * group][0][1] < _root:zmagovalec8[2 * group][1][1]) {
Set("_root:prvi", 0);
} else if (_root:zmagovalec8[2 * group][0][1] > _root:zmagovalec8[2 * group][1][1]) {
Set("_root:prvi", 1);
} else {
i = Math.random();
if (i <= 0.5) {
Set("_root:prvi", 0);
} else {
Set("_root:prvi", 1);
}
}
Set(("_root:f4g" + group) + "e1", " " + _root.ekipa[_root.zmagovalec8[2 * group][_root:prvi][0]][0][_root.zmagovalec8[2 * group][_root:prvi][1]]);
_root.zmagovalec4[group][0][0] = _root.zmagovalec8[2 * group][_root:prvi][0];
_root.zmagovalec4[group][0][1] = _root.zmagovalec8[2 * group][_root:prvi][1];
if (_root:zmagovalec8[(2 * group) + 1][0][1] < _root:zmagovalec8[(2 * group) + 1][1][1]) {
Set("_root:picked", 0);
} else if (_root:zmagovalec8[(2 * group) + 1][0][1] > _root:zmagovalec8[(2 * group) + 1][1][1]) {
Set("_root:picked", 1);
} else {
i = Math.random();
if (i <= 0.5) {
Set("_root:picked", 0);
} else {
Set("_root:picked", 1);
}
}
Set(("_root:f4g" + group) + "e2", " " + _root.ekipa[_root.zmagovalec8[(2 * group) + 1][_root:picked][0]][0][_root.zmagovalec8[(2 * group) + 1][_root:picked][1]]);
_root.zmagovalec4[group][1][0] = _root.zmagovalec8[2 * group][_root:picked][0];
_root.zmagovalec4[group][1][1] = _root.zmagovalec8[2 * group][_root:picked][1];
}
group++;
}
if (_root:polje4 <= 1) {
Set("_root:polje2", 0);
} else {
Set("_root:polje2", 1);
}
Set("_root:prehod", 0);
Frame 334
((undefined <= b) > "c") || (0(false));
stop();
Frame 335
((undefined <= b) > "c") || (0(false));
stopAllSounds();
Mouse.show();
Set("_root:sound_started", 0);
if (_root:score < 0) {
Set("_root:score", 0);
}
Set("_root:level", 3);
Set("_root:igra", "Semifinals");
_root.zmagovalec2 = [[[], []], [[], []]];
Set("_root:niz", (_root:niz + "**") + _root:Igra);
cas = new Date();
Set("_root:niz", (_root:niz + "**Cas:") + cas.getTime());
group = 0;
while (group < 2) {
if (group == _root:polje2) {
if ((_root:polje4 % 2) == 0) {
Set(("_root:f2g" + group) + "e1", ("> " + _root.ekipa[_root:skupina][0][_root:team]) + " <");
_root.zmagovalec2[group][0][0] = _root:skupina;
_root.zmagovalec2[group][0][1] = _root:team;
if (_root:zmagovalec4[(2 * group) + 1][0][1] < _root:zmagovalec4[(2 * group) + 1][1][1]) {
Set("_root:picked", 0);
} else if (_root:zmagovalec4[(2 * group) + 1][0][1] > _root:zmagovalec4[(2 * group) + 1][1][1]) {
Set("_root:picked", 1);
} else {
i = Math.random();
if (i <= 0.5) {
Set("_root:picked", 0);
} else {
Set("_root:picked", 1);
}
}
Set(("_root:f2g" + group) + "e2", " " + _root.ekipa[_root.zmagovalec4[(2 * group) + 1][_root:picked][0]][0][_root.zmagovalec4[(2 * group) + 1][_root:picked][1]]);
_root.zmagovalec2[group][1][0] = _root.zmagovalec4[2 * group][_root:picked][0];
_root.zmagovalec2[group][1][1] = _root.zmagovalec4[2 * group][_root:picked][1];
Set("_root:izbrani", _root.ekipa[_root.zmagovalec4[(2 * group) + 1][_root:picked][0]][1][_root.zmagovalec4[(2 * group) + 1][_root:picked][1]]);
Set("_root:niz", (((_root:niz + "**Proti:") + eval (("_root:f2g" + group) + "e2")) + "**Brani:") + _root:izbrani);
Set("_root:racunalnik_team", _root.ekipa[_root.zmagovalec4[(2 * group) + 1][_root:picked][0]][0][_root.zmagovalec4[(2 * group) + 1][_root:picked][1]]);
} else {
Set(("_root:f2g" + group) + "e2", ("> " + _root.ekipa[_root:skupina][0][_root:team]) + " <");
_root.zmagovalec2[group][1][0] = _root:skupina;
_root.zmagovalec2[group][1][1] = _root:team;
if (_root:zmagovalec4[2 * group][0][1] < _root:zmagovalec4[2 * group][1][1]) {
Set("_root:picked", 0);
} else if (_root:zmagovalec4[2 * group][0][1] > _root:zmagovalec4[2 * group][1][1]) {
Set("_root:picked", 1);
} else {
i = Math.random();
if (i <= 0.5) {
Set("_root:picked", 0);
} else {
Set("_root:picked", 1);
}
}
Set(("_root:f2g" + group) + "e1", " " + _root.ekipa[_root.zmagovalec4[2 * group][_root:picked][0]][0][_root.zmagovalec4[2 * group][_root:picked][1]]);
_root.zmagovalec2[group][0][0] = _root.zmagovalec4[2 * group][_root:picked][0];
_root.zmagovalec2[group][0][1] = _root.zmagovalec4[2 * group][_root:picked][1];
Set("_root:izbrani", _root.ekipa[_root.zmagovalec4[2 * group][_root:picked][0]][1][_root.zmagovalec4[2 * group][_root:picked][1]]);
Set("_root:niz", (((_root:niz + "**Proti:") + eval (("_root:f2g" + group) + "e1")) + "**Brani:") + _root:izbrani);
Set("_root:racunalnik_team", _root.ekipa[_root.zmagovalec4[2 * group][_root:picked][0]][0][_root.zmagovalec4[2 * group][_root:picked][1]]);
}
} else {
if (_root:zmagovalec4[2 * group][0][1] < _root:zmagovalec4[2 * group][1][1]) {
Set("_root:prvi", 0);
} else if (_root:zmagovalec4[2 * group][0][1] > _root:zmagovalec4[2 * group][1][1]) {
Set("_root:prvi", 1);
} else {
i = Math.random();
if (i <= 0.5) {
Set("_root:prvi", 0);
} else {
Set("_root:prvi", 1);
}
}
Set(("_root:f2g" + group) + "e1", " " + _root.ekipa[_root.zmagovalec4[2 * group][_root:prvi][0]][0][_root.zmagovalec4[2 * group][_root:prvi][1]]);
_root.zmagovalec2[group][0][0] = _root.zmagovalec4[2 * group][_root:prvi][0];
_root.zmagovalec2[group][0][1] = _root.zmagovalec4[2 * group][_root:prvi][1];
if (_root:zmagovalec4[(2 * group) + 1][0][1] < _root:zmagovalec4[(2 * group) + 1][1][1]) {
Set("_root:picked", 0);
} else if (_root:zmagovalec4[(2 * group) + 1][0][1] > _root:zmagovalec4[(2 * group) + 1][1][1]) {
Set("_root:picked", 1);
} else {
i = Math.random();
if (i <= 0.5) {
Set("_root:picked", 0);
} else {
Set("_root:picked", 1);
}
}
Set(("_root:f2g" + group) + "e2", " " + _root.ekipa[_root.zmagovalec4[(2 * group) + 1][_root:picked][0]][0][_root.zmagovalec4[(2 * group) + 1][_root:picked][1]]);
_root.zmagovalec2[group][1][0] = _root.zmagovalec4[2 * group][_root:picked][0];
_root.zmagovalec2[group][1][1] = _root.zmagovalec4[2 * group][_root:picked][1];
}
group++;
}
Set("_root:polje1", 0);
Set("_root:prehod", 0);
Frame 424
((undefined <= b) > "c") || (0(false));
stop();
Frame 425
((undefined <= b) > "c") || (0(false));
stopAllSounds();
Mouse.show();
Set("_root:sound_started", 0);
if (_root:score < 0) {
Set("_root:score", 0);
}
Set("_root:level", 4);
Set("_root:igra", "Final");
_root.zmagovalec1 = [[[], []]];
Set("_root:niz", (_root:niz + "**") + _root:Igra);
cas = new Date();
Set("_root:niz", (_root:niz + "**Cas:") + cas.getTime());
if ((_root:polje2 % 2) == 0) {
Set("_root:f1g0e1", ("> " + _root.ekipa[_root:skupina][0][_root:team]) + " <");
_root.zmagovalec1[0][0][0] = _root:skupina;
_root.zmagovalec1[0][0][1] = _root:team;
if (_root:zmagovalec2[1][0][1] < _root:zmagovalec2[1][1][1]) {
Set("_root:picked", 0);
} else if (_root:zmagovalec2[1][0][1] > _root:zmagovalec2[1][1][1]) {
Set("_root:picked", 1);
} else {
i = Math.random();
if (i <= 0.5) {
Set("_root:picked", 0);
} else {
Set("_root:picked", 1);
}
}
Set("_root:f1g0e2", " " + _root.ekipa[_root.zmagovalec2[1][_root:picked][0]][0][_root.zmagovalec2[1][_root:picked][1]]);
_root.zmagovalec1[0][1][0] = _root.zmagovalec2[0][_root:picked][0];
_root.zmagovalec1[0][1][1] = _root.zmagovalec2[0][_root:picked][1];
Set("_root:izbrani", _root.ekipa[_root.zmagovalec2[1][_root:picked][0]][1][_root.zmagovalec2[1][_root:picked][1]]);
Set("_root:niz", (((_root:niz + "**Proti:") + _root:f1g0e2) + "**Brani:") + _root:izbrani);
Set("_root:racunalnik_team", _root.ekipa[_root.zmagovalec2[1][_root:picked][0]][0][_root.zmagovalec2[1][_root:picked][1]]);
} else {
Set("_root:f1g0e2", ("> " + _root.ekipa[_root:skupina][0][_root:team]) + " <");
_root.zmagovalec1[0][1][0] = _root:skupina;
_root.zmagovalec1[0][1][1] = _root:team;
if (_root:zmagovalec2[0][0][1] < _root:zmagovalec2[0][1][1]) {
Set("_root:picked", 0);
} else if (_root:zmagovalec2[0][0][1] > _root:zmagovalec2[0][1][1]) {
Set("_root:picked", 1);
} else {
i = Math.random();
if (i <= 0.5) {
Set("_root:picked", 0);
} else {
Set("_root:picked", 1);
}
}
Set("_root:f1g0e1", " " + _root.ekipa[_root.zmagovalec2[0][_root:picked][0]][0][_root.zmagovalec2[0][_root:picked][1]]);
_root.zmagovalec1[0][0][0] = _root.zmagovalec2[0][_root:picked][0];
_root.zmagovalec1[0][0][1] = _root.zmagovalec2[0][_root:picked][1];
Set("_root:izbrani", _root.ekipa[_root.zmagovalec2[0][_root:picked][0]][1][_root.zmagovalec2[0][_root:picked][1]]);
Set("_root:niz", (((_root:niz + "**Proti:") + _root:f1g0e1) + "**Brani:") + _root:izbrani);
Set("_root:racunalnik_team", _root.ekipa[_root.zmagovalec2[0][_root:picked][0]][0][_root.zmagovalec2[0][_root:picked][1]]);
}
Set("_root:prehod", 0);
Frame 514
((undefined <= b) > "c") || (0(false));
stop();
Frame 515
((undefined <= b) > "c") || (0(false));
ozadje = new Sound();
ozadje.attachSound("ozadje");
if (!_root:sound_started) {
ozadje.start(0, 1000);
Set("_root:sound_started", 1);
}
gol = new Sound();
gol.attachSound("gol");
odboj = new Sound();
odboj.attachSound("odboj");
strel = new Sound();
strel.attachSound("strel");
beam = new Sound();
beam.attachSound("beam");
tresk = new Sound();
tresk.attachSound("tresk");
if (_root:sound_control == 0) {
tellTarget ("_root.snd_ctrl") {
gotoAndStop ("off");
};
}
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
Set("_root:kicked", 0);
Set("_root:dy_max", 30);
Set("_root:zalet", 0);
Set("_root:golman_pade_n", 10);
Set("_root:zogapristala", 0);
Set("_root:posevno", 0);
Set("_root:zoga", 0);
setProperty("_root.zoga0", _x , 242.5);
setProperty("_root.zoga0", _y , 305);
setProperty("_root.zoga0", _visible , 1);
tellTarget ("_root.zoga0") {
gotoAndStop ("zoom");
};
tellTarget ("_root.menjave") {
gotoAndPlay ("menjaj");
};
stop();
Frame 520
((undefined <= b) > "c") || (0(false));
gotoAndPlay (528);
Frame 528
((undefined <= b) > "c") || (0(false));
ozadje = new Sound();
ozadje.attachSound("ozadje");
if (!_root:sound_started) {
ozadje.start(0, 1000);
Set("_root:sound_started", 1);
}
gol = new Sound();
gol.attachSound("gol");
odboj = new Sound();
odboj.attachSound("odboj");
strel = new Sound();
strel.attachSound("strel");
beam = new Sound();
beam.attachSound("beam");
tresk = new Sound();
tresk.attachSound("tresk");
if (_root:sound_control == 0) {
tellTarget ("_root.snd_ctrl") {
gotoAndStop ("off");
};
}
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
Set("_root:dy_max", 30);
Set("_root:zalet", 0);
Set("_root:kicked", 0);
Set("_root:zogapristala", 0);
Set("_root:posevno", 0);
Set("_root:zoga", 0);
setProperty("_root.zoga0", _x , 242.5);
setProperty("_root.zoga0", _y , 305);
setProperty("_root.zoga0", _visible , 1);
tellTarget ("_root.zoga0") {
gotoAndStop ("zoom");
};
stop();
Frame 533
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
Set("_root:zalet", 1);
tellTarget ("_root.moc") {
gotoAndStop (2);
};
Frame 534
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (3);
};
Frame 535
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
Set("_root:zalet", 1);
tellTarget ("_root.moc") {
gotoAndStop (4);
};
Frame 536
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (5);
};
Frame 537
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (6);
};
Frame 538
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (7);
};
Frame 539
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (8);
};
Frame 540
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (9);
};
if (_root:level == 1) {
tellTarget (_root.ciljaj) {
gotoAndPlay ("ciljaj1");
};
Set("_root:niz", (_root:niz + "**Moc:") + _root:moc);
strel.start(0, 1);
stop();
}
Frame 541
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (10);
};
if (_root:level == 2) {
tellTarget (_root.ciljaj) {
gotoAndPlay ("ciljaj2");
};
Set("_root:niz", (_root:niz + "**Moc:") + _root:moc);
strel.start(0, 1);
stop();
}
Frame 542
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (11);
};
if (_root:level == 3) {
tellTarget (_root.ciljaj) {
gotoAndPlay ("ciljaj3");
};
Set("_root:niz", (_root:niz + "**Moc:") + _root:moc);
strel.start(0, 1);
stop();
}
Frame 543
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (12);
};
if (_root:level == 4) {
tellTarget (_root.ciljaj) {
gotoAndPlay ("ciljaj4");
};
Set("_root:niz", (_root:niz + "**Moc:") + _root:moc);
strel.start(0, 1);
stop();
}
Frame 544
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (13);
};
Frame 545
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
Set("_root:zalet", 1);
tellTarget ("_root.moc") {
gotoAndStop (14);
};
if (_root:level == 5) {
tellTarget (_root.ciljaj) {
gotoAndPlay ("ciljaj5");
};
Set("_root:niz", (_root:niz + "**Moc:") + _root:moc);
strel.start(0, 1);
stop();
}
Frame 550
((undefined <= b) > "c") || (0(false));
gotoAndPlay (515);
Frame 563
((undefined <= b) > "c") || (0(false));
stopDrag();
Mouse.show();
Set("_root:drevo", 4);
gotoAndPlay (145);
Frame 579
((undefined <= b) > "c") || (0(false));
stopDrag();
Mouse.show();
Set("_root:drevo", 2);
gotoAndPlay (145);
Frame 595
((undefined <= b) > "c") || (0(false));
stopDrag();
Mouse.show();
Set("_root:drevo", 1);
gotoAndPlay (145);
Frame 611
((undefined <= b) > "c") || (0(false));
gotoAndPlay (638);
Frame 623
((undefined <= b) > "c") || (0(false));
stopDrag();
Mouse.show();
gotoAndPlay (861);
Frame 638
((undefined <= b) > "c") || (0(false));
ozadje = new Sound();
ozadje.attachSound("ozadje");
if (!_root:sound_started) {
ozadje.start(0, 1000);
Set("_root:sound_started", 1);
}
gol = new Sound();
gol.attachSound("gol");
odboj = new Sound();
odboj.attachSound("odboj");
strel = new Sound();
strel.attachSound("strel");
beam = new Sound();
beam.attachSound("beam");
tresk = new Sound();
tresk.attachSound("tresk");
if (_root:sound_control == 0) {
tellTarget ("_root.snd_ctrl") {
gotoAndStop ("off");
};
}
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
Set("_root:kicked", 0);
Set("_root:dy_max", 30);
Set("_root:zalet", 0);
Set("_root:golman_pade_n", 10);
Set("_root:zogapristala", 0);
Set("_root:posevno", 0);
Set("_root:zoga", 0);
setProperty("_root.zoga0", _x , 242.5);
setProperty("_root.zoga0", _y , 305);
setProperty("_root.zoga0", _visible , 1);
tellTarget ("_root.zoga0") {
gotoAndStop ("zoom");
};
tellTarget ("_root.menjave") {
gotoAndPlay ("menjaj");
};
Frame 720
((undefined <= b) > "c") || (0(false));
setProperty(eval ("_root.golman" + _root:izbrani), _y , 145);
_root.gol.start(0, 1);
Frame 721
((undefined <= b) > "c") || (0(false));
setProperty(eval ("_root.golman" + _root:izbrani), _y , 127.307692307692);
Frame 722
((undefined <= b) > "c") || (0(false));
setProperty(eval ("_root.golman" + _root:izbrani), _y , 109.615384615385);
Frame 723
((undefined <= b) > "c") || (0(false));
setProperty(eval ("_root.golman" + _root:izbrani), _y , 91.9230769230769);
Frame 724
((undefined <= b) > "c") || (0(false));
setProperty(eval ("_root.golman" + _root:izbrani), _y , 74.2307692307692);
Frame 725
((undefined <= b) > "c") || (0(false));
setProperty(eval ("_root.golman" + _root:izbrani), _y , 56.5384615384615);
Frame 726
((undefined <= b) > "c") || (0(false));
setProperty(eval ("_root.golman" + _root:izbrani), _y , 38.8461538461538);
Frame 727
((undefined <= b) > "c") || (0(false));
setProperty(eval ("_root.golman" + _root:izbrani), _y , 21.1538461538462);
Frame 728
((undefined <= b) > "c") || (0(false));
setProperty(eval ("_root.golman" + _root:izbrani), _y , 3.46153846153845);
Frame 729
((undefined <= b) > "c") || (0(false));
setProperty(eval ("_root.golman" + _root:izbrani), _y , -14.2307692307692);
Frame 730
((undefined <= b) > "c") || (0(false));
setProperty(eval ("_root.golman" + _root:izbrani), _y , -31.9230769230769);
Frame 731
((undefined <= b) > "c") || (0(false));
setProperty(eval ("_root.golman" + _root:izbrani), _y , -49.6153846153846);
Frame 732
((undefined <= b) > "c") || (0(false));
setProperty(eval ("_root.golman" + _root:izbrani), _y , -67.3076923076923);
Frame 733
((undefined <= b) > "c") || (0(false));
setProperty(eval ("_root.golman" + _root:izbrani), _y , -85);
Frame 784
((undefined <= b) > "c") || (0(false));
Set("_root:izbrani", 5);
Set("_root:rezultat1", 0);
Set("_root:rezultat2", 0);
Set("_root:igra", "Superfinale");
Set("_root:niz", (_root:niz + "**") + _root:Igra);
cas = new Date();
Set("_root:niz", (_root:niz + "**Cas:") + cas.getTime());
if (_root:score < 0) {
Set("_root:score", 0);
}
gotoAndPlay (800);
Frame 800
((undefined <= b) > "c") || (0(false));
ozadje = new Sound();
ozadje.attachSound("ozadje");
if (!_root:sound_started) {
ozadje.start(0, 1000);
Set("_root:sound_started", 1);
}
gol = new Sound();
gol.attachSound("gol");
odboj = new Sound();
odboj.attachSound("odboj");
strel = new Sound();
strel.attachSound("strel");
beam = new Sound();
beam.attachSound("beam");
tresk = new Sound();
tresk.attachSound("tresk");
if (_root:sound_control == 0) {
tellTarget ("_root.snd_ctrl") {
gotoAndStop ("off");
};
}
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
Set("_root:kicked", 0);
Set("_root:level", 5);
Set("_root:izbrani", 5);
Set("_root:dy_max", 30);
Set("_root:zalet", 0);
Set("_root:golman_pade_n", 10);
Set("_root:zogapristala", 0);
Set("_root:posevno", 0);
Set("_root:zoga", 0);
racunalnik_team = "Mars United";
setProperty("_root.zoga0", _x , 242.5);
setProperty("_root.zoga0", _y , 305);
setProperty("_root.zoga0", _visible , 1);
tellTarget ("_root.zoga0") {
gotoAndStop ("zoom");
};
setProperty(eval ("_root.golman" + _root:izbrani), _x , 242.5);
setProperty(eval ("_root.golman" + _root:izbrani), _y , 145);
Set("_root:golman_x", 242.5);
Set("_root:golman_y", 145);
stop();
Frame 805
((undefined <= b) > "c") || (0(false));
gotoAndPlay (816);
Frame 816
((undefined <= b) > "c") || (0(false));
ozadje = new Sound();
ozadje.attachSound("ozadje");
if (!_root:sound_started) {
ozadje.start(0, 1000);
Set("_root:sound_started", 1);
}
gol = new Sound();
gol.attachSound("gol");
odboj = new Sound();
odboj.attachSound("odboj");
strel = new Sound();
strel.attachSound("strel");
beam = new Sound();
beam.attachSound("beam");
tresk = new Sound();
tresk.attachSound("tresk");
if (_root:sound_control == 0) {
tellTarget ("_root.snd_ctrl") {
gotoAndStop ("off");
};
}
((undefined <= b) > "c") || (0(false));
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
Set("_root:dy_max", 30);
Set("_root:zalet", 0);
Set("_root:kicked", 0);
Set("_root:zogapristala", 0);
Set("_root:posevno", 0);
Set("_root:zoga", 0);
setProperty("_root.zoga0", _x , 242.5);
setProperty("_root.zoga0", _y , 305);
setProperty("_root.zoga0", _visible , 1);
tellTarget ("_root.zoga0") {
gotoAndStop ("zoom");
};
stop();
Frame 821
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
Set("_root:zalet", 1);
tellTarget ("_root.moc") {
gotoAndStop (2);
};
Frame 822
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (3);
};
Frame 823
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
Set("_root:zalet", 1);
tellTarget ("_root.moc") {
gotoAndStop (4);
};
Frame 824
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (5);
};
Frame 825
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (6);
};
Frame 826
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (7);
};
Frame 827
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (8);
};
Frame 828
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (9);
};
Frame 829
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (10);
};
Frame 830
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (11);
};
Frame 831
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (12);
};
Frame 832
((undefined <= b) > "c") || (0(false));
Mouse.hide();
startDrag ("miska", true);
tellTarget ("_root.sledi") {
gotoAndPlay ("drag");
};
tellTarget ("_root.moc") {
gotoAndStop (13);
};
Frame 833
((undefined <= b) > "c") || (0(false));
Set("_root:zalet", 1);
tellTarget ("_root.moc") {
gotoAndStop (14);
};
tellTarget (_root.ciljaj) {
gotoAndPlay ("ciljaj5");
};
_root.strel.start(0, 1);
stop();
Frame 834
((undefined <= b) > "c") || (0(false));
gotoAndPlay (800);
Frame 846
((undefined <= b) > "c") || (0(false));
stopDrag();
Mouse.show();
gotoAndPlay (861);
Frame 880
((undefined <= b) > "c") || (0(false));
gotoAndStop (881);
Frame 881
((undefined <= b) > "c") || (0(false));
stopAllSounds();
Set("_root:sound_started", 0);
if (_root:score <= 0) {
Set("_root:score", 0);
}
stop();
Frame 915
((undefined <= b) > "c") || (0(false));
gotoAndPlay (3);
Frame 948
((undefined <= b) > "c") || (0(false));
gotoAndPlay (3);
Symbol 16 Button
on (release) {
getURL ("http://www.oxylus.si", "_blank");
}
Symbol 19 MovieClip Frame 1
Set("_root:ekipa", [[["France", "Uruguay", "Denmark", "Senegal"], [4, 2, 1, 3]], [["Spain", "Slovenia", "Paraguay", "S. Africa"], [3, 4, 3, 1]], [["Brasil", "Turkey", "Costa Rica", "China"], [3, 2, 2, 4]], [["Portugal", "S. Korea", "USA", "Poland"], [2, 4, 1, 1]], [["Germany", "Ireland", "Cameroon", "S. Arabia"], [1, 1, 3, 3]], [["Argentina", "England", "Sweden", "Nigeria"], [2, 4, 4, 3]], [["Italy", "Croatia", "Mexico", "Ecuador"], [4, 2, 2, 3]], [["Belgium", "Russia", "Tunisia", "Japan"], [1, 3, 2, 4]]]);
Set("_root:zreb", new Array(0.6, 0.2, 0.13, 0.07));
Symbol 35 Button
on (press) {
gotoAndPlay (4);
}
Symbol 40 Button
on (release) {
gotoAndPlay (40);
}
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 11
gotoAndPlay (6);
Symbol 77 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 55
((undefined <= b) > "c") || (0(false));
tellTarget ("_root") {
gotoAndPlay ("prehod_beba_brani");
};
Symbol 77 MovieClip Frame 105
((undefined <= b) > "c") || (0(false));
tellTarget ("_root") {
gotoAndPlay ("prehod_izberi");
};
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 5
zoga_y = getProperty(eval ("_root.zoga" + _root:zoga), _y);
setProperty(eval ("_root.zoga" + _root:zoga), _y , zoga_y + 2);
Symbol 78 MovieClip Frame 6
setProperty(eval ("_root.zoga" + _root:zoga), _y , zoga_y + 4);
Symbol 78 MovieClip Frame 7
setProperty(eval ("_root.zoga" + _root:zoga), _y , zoga_y + 6);
Symbol 78 MovieClip Frame 8
setProperty(eval ("_root.zoga" + _root:zoga), _y , zoga_y + 8);
Symbol 78 MovieClip Frame 9
setProperty(eval ("_root.zoga" + _root:zoga), _y , zoga_y + 10);
Symbol 78 MovieClip Frame 10
setProperty(eval ("_root.zoga" + _root:zoga), _y , zoga_y + 12);
Symbol 78 MovieClip Frame 11
setProperty(eval ("_root.zoga" + _root:zoga), _y , zoga_y + 14);
Symbol 78 MovieClip Frame 12
setProperty(eval ("_root.zoga" + _root:zoga), _y , zoga_y + 16);
Symbol 78 MovieClip Frame 13
setProperty(eval ("_root.zoga" + _root:zoga), _y , zoga_y + 18);
gotoAndStop (1);
Symbol 79 MovieClip Frame 1
level = new Array();
level[0] = new Array(0.85, 0.85, 0.8, 0.8, 0.75, 0.01);
level[1] = new Array(0.4, 0.3, 0.2, 0.1, 0, 0);
level[2] = new Array(8, 8, 8, 7, 7, 1);
Symbol 80 MovieClip Frame 1
delta_r = Math.random();
Symbol 80 MovieClip Frame 2
delta_alpha = Math.random();
Symbol 81 MovieClip Frame 1
((undefined <= b) > "c") || (0(false));
Set("_root:brcni_k", 1);
stop();
Symbol 81 MovieClip Frame 6
((undefined <= b) > "c") || (0(false));
if (_root:brcni_k <= _root:brcni_n) {
Set("_root:kicked", 1);
Xt = _root:zoga_x + ((_root:brcni_k * _root:delta_x) / _root:brcni_n);
setProperty(eval ("_root.zoga" + _root:zoga), _x , Xt);
setProperty(eval ("_root.zoga" + _root:zoga), _y , (_root:zoga_y + ((_root:brcni_k * _root:delta_y) / _root:brcni_n)) - (((1 / (_root:moc / 26)) * _root:dy_max) * Math.sin((Math.PI * (Xt - _root:zoga_x)) / _root:delta_x)));
Set("_root:zoga_frame", Math.ceil((11 * _root:brcni_k) / _root:brcni_n));
tellTarget (eval ("_root.zoga" + _root:zoga)) {
gotoAndStop(_root:zoga_frame);
};
_root:brcni_k++;
play();
} else {
Set("_root:zogapristala", 1);
Set("_root:brcni_k", 1);
if (_root:zalet == 0) {
tellTarget ("_root.colision") {
gotoAndPlay ("colision");
};
} else {
tellTarget ("_root.colision_brani") {
gotoAndPlay ("colision");
};
}
gotoAndStop (1);
}
Symbol 81 MovieClip Frame 7
((undefined <= b) > "c") || (0(false));
if (_root:brcni_k <= _root:brcni_n) {
Xt = _root:zoga_x + ((_root:brcni_k * _root:delta_x) / _root:brcni_n);
setProperty(eval ("_root.zoga" + _root:zoga), _x , Xt);
setProperty(eval ("_root.zoga" + _root:zoga), _y , (_root:zoga_y + ((_root:brcni_k * _root:delta_y) / _root:brcni_n)) - (((1 / (_root:moc / 26)) * _root:dy_max) * Math.sin((Math.PI * (Xt - _root:zoga_x)) / _root:delta_x)));
Set("_root:zoga_frame", Math.ceil((11 * _root:brcni_k) / _root:brcni_n));
tellTarget (eval ("_root.zoga" + _root:zoga)) {
gotoAndStop(_root:zoga_frame);
};
_root:brcni_k++;
gotoAndPlay (6);
} else {
Set("_root:zogapristala", 1);
Set("_root:brcni_k", 1);
if (_root:zalet == 0) {
tellTarget ("_root.colision") {
gotoAndPlay ("colision");
};
} else {
tellTarget ("_root.colision_brani") {
gotoAndPlay ("colision");
};
}
gotoAndStop (1);
}
Symbol 82 MovieClip Frame 1
stop();
k = 1;
Symbol 82 MovieClip Frame 6
((undefined <= b) > "c") || (0(false));
if (k <= _root:skoci_n) {
Xt = _root:golman_x + ((k * _root:skok_x) / _root:skoci_n);
setProperty(eval ("_root.golman" + _root:izbrani), _x , Xt);
setProperty(eval ("_root.golman" + _root:izbrani), _y , (_root:golman_y + ((k * _root:skok_y) / _root:skoci_n)) - (((1 / (_root.level:level[2][5 - _root:level] / 8)) * (_root:dy_max - 20)) * Math.sin((Math.PI * (Xt - _root:golman_x)) / _root:skok_x)));
k++;
play();
} else {
if (_root:posevno == 1) {
if (_root:target_x > 242.5) {
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("desno_vodoravno");
};
} else {
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("levo_vodoravno");
};
}
} else if (_root:target_y < 125) {
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("navzdol");
};
}
if (_root:pade_na_tla == 1) {
tellTarget ("_root.golman_pade") {
gotoAndPlay ("padec");
};
}
k = 1;
gotoAndStop (1);
}
Symbol 82 MovieClip Frame 7
((undefined <= b) > "c") || (0(false));
if (k <= _root:skoci_n) {
Xt = _root:golman_x + ((k * _root:skok_x) / _root:skoci_n);
setProperty(eval ("_root.golman" + _root:izbrani), _x , Xt);
setProperty(eval ("_root.golman" + _root:izbrani), _y , (_root:golman_y + ((k * _root:skok_y) / _root:skoci_n)) - (((1 / (_root.level:level[2][5 - _root:level] / 8)) * (_root:dy_max - 20)) * Math.sin((Math.PI * (Xt - _root:golman_x)) / _root:skok_x)));
k++;
gotoAndPlay (6);
} else {
if (_root:posevno == 1) {
if (_root:target_x > 242.5) {
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("desno_vodoravno");
};
} else {
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("levo_vodoravno");
};
}
} else if (_root:target_y < 125) {
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("navzdol");
};
}
if (_root:pade_na_tla == 1) {
tellTarget ("_root.golman_pade") {
gotoAndPlay ("padec");
};
}
k = 1;
gotoAndStop (1);
}
Symbol 83 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 6
((undefined <= b) > "c") || (0(false));
if (_root:level == 0) {
if ((((_root:target_x > 130) && (_root:target_x < 340)) && (_root:target_y > 105)) && (_root:target_y < 210)) {
tellTarget ("_root.golman0") {
gotoAndPlay ("skriva");
};
Set("_root:pade_na_tla", 0);
} else {
tellTarget ("_root.golman0") {
gotoAndPlay ("brani");
};
}
} else if (_root:level == 5) {
if ((Math.random() <= _root.level:level[0][5 - _root:level]) || (_root:moc <= 15)) {
Set("_root:niz", (_root:niz + "**Odlocitev:") + 1);
if (_root:brcni_n > _root:skoci_n) {
tellTarget ("_root.cakaj") {
gotoAndPlay ("cakaj");
};
} else if ((((_root:target_x > 10) && (_root:target_x <= 202)) && (_root:target_y > 55)) && (_root:target_y < 210)) {
Set("_root:niz", _root:niz + "**Smer:levo");
tellTarget ("_root.skoci_alien") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("levo");
};
Set("_root:pade_na_tla", 0);
} else if ((((_root:target_x > 202) && (_root:target_x <= 282)) && (_root:target_y > 55)) && (_root:target_y <= 210)) {
Set("_root:niz", _root:niz + "**Smer:naravnost");
tellTarget ("_root.skoci_alien") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("naravnost");
};
Set("_root:pade_na_tla", 0);
} else if ((((_root:target_x > 282) && (_root:target_x < 450)) && (_root:target_y > 55)) && (_root:target_y < 210)) {
Set("_root:niz", _root:niz + "**Smer:desno");
tellTarget ("_root.skoci_alien") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("desno");
};
Set("_root:pade_na_tla", 0);
}
} else {
Set("_root:niz", (_root:niz + "**Odlocitev:") + 0);
tellTarget ("_root.padec") {
gotoAndPlay ("padec");
};
}
} else if ((Math.random() <= _root.level:level[0][5 - _root:level]) || (_root:moc <= 10)) {
Set("_root:niz", (_root:niz + "**Odlocitev:") + 1);
if (_root:brcni_n > _root:skoci_n) {
tellTarget ("_root.cakaj") {
gotoAndPlay ("cakaj");
};
} else if ((((_root:target_x > 10) && (_root:target_x <= 202)) && (_root:target_y > 55)) && (_root:target_y < 210)) {
Set("_root:niz", _root:niz + "**Smer:levo");
tellTarget ("_root.skoci") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("levo");
};
if (_root:target_y < 125) {
Set("_root:posevno", 1);
} else {
Set("_root:posevno", 0);
}
Set("_root:pade_na_tla", 1);
} else if ((((_root:target_x > 202) && (_root:target_x <= 282)) && (_root:target_y > 55)) && (_root:target_y <= 125)) {
Set("_root:niz", _root:niz + "**Smer:navzgor");
tellTarget ("_root.skoci") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("navzgor");
};
Set("_root:pade_na_tla", 1);
} else if ((((_root:target_x > 202) && (_root:target_x <= 282)) && (_root:target_y > 125)) && (_root:target_y < 210)) {
Set("_root:niz", _root:niz + "**Smer:naravnost");
tellTarget ("_root.skoci") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("naravnost");
};
Set("_root:skok_y", 0);
Set("_root:pade_na_tla", 0);
} else if ((((_root:target_x > 282) && (_root:target_x < 450)) && (_root:target_y > 55)) && (_root:target_y < 210)) {
Set("_root:niz", _root:niz + "**Smer:desno");
tellTarget ("_root.skoci") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("desno");
};
if (_root:target_y < 125) {
Set("_root:posevno", 1);
} else {
Set("_root:posevno", 0);
}
Set("_root:pade_na_tla", 1);
} else {
Set("_root:niz", _root:niz + "**Smer:stop");
tellTarget (eval ("_root.golman" + _root:izbrani)) {
stop();
};
}
} else {
Set("_root:niz", (_root:niz + "**Odlocitev:") + 0);
tellTarget ("_root.padec") {
gotoAndPlay ("padec");
};
}
gotoAndStop (1);
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 6
((undefined <= b) > "c") || (0(false));
if (_root:target_x >= 242.5) {
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("narLevo");
};
} else {
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("narDesno");
};
}
gotoAndPlay (1);
Symbol 85 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 6
((undefined <= b) > "c") || (0(false));
Set("_root:moc", 0);
Set("_root.brcni:n", 0);
Set("_root:zogapristala", 0);
Set("_root:posevno", 0);
Set("_root:zoga", 0);
stopDrag();
tellTarget ("_root.moc") {
gotoAndStop ("stop");
};
tellTarget ("_root.zoga0") {
gotoAndStop ("zoom");
};
setProperty("_root.zoga0", _visible , 1);
setProperty("_root.zoga1", _visible , 0);
setProperty("_root.zoga2", _visible , 0);
setProperty("_root.zoga0", _x , 242.5);
setProperty("_root.zoga0", _y , 285);
setProperty("_root.zoga0", _xscale , 100);
setProperty("_root.zoga0", _yscale , 100);
if ((_root:level != 0) && (_root:level != 5)) {
}
tellTarget ("_root.menjave") {
gotoAndPlay ("menjaj");
};
Mouse.show();
gotoAndStop (1);
Symbol 86 MovieClip Frame 1
((undefined <= b) > "c") || (0(false));
stop();
Symbol 86 MovieClip Frame 6
((undefined <= b) > "c") || (0(false));
if (_root:level == 0) {
if (_root.zoga0.hitTest("_root.golman0")) {
tellTarget ("_root.prehod_st_beba") {
gotoAndPlay ("prehod_izberi");
};
} else {
tellTarget ("_root.prehod_st_beba") {
gotoAndPlay ("prehod");
};
}
} else if (_root:level == 5) {
tellTarget ("_root.prehod_st_alien") {
gotoAndPlay ("prehod");
};
} else {
tellTarget ("_root.prehod_st") {
gotoAndPlay ("prehod");
};
}
if (_root.zoga0.hitTest(eval ("_root.golman" + _root:izbrani))) {
trace("branil");
Set("_root:zoga", 0);
setProperty("_root.zoga0", _visible , 1);
setProperty("_root.zoga1", _visible , 0);
setProperty("_root.zoga2", _visible , 0);
Set("_root:niz", (_root:niz + "**Gol:") + 0);
if (_root:level == 0) {
tellTarget ("_root.golman0") {
gotoAndPlay ("zadet");
};
_root.otrok.start(0, 1);
setProperty("_root.golman0", _y , getProperty("_root.golman0", _y) - 7);
Set("_root:zoga", 0);
Set("_root:delta_h", 187 - _root:target_y);
Set("_root:delta_l", 0);
Set("_root:zoga_pade_n", Math.ceil((Math.abs(_root:delta_h) * 0.8) / Math.sqrt(_root:moc)));
Set("_root:zoga_pade_zoom", 0);
Set("_root:zoom_koncni", 0);
tellTarget ("_root.zoga_pade") {
gotoAndPlay ("padec");
};
tellTarget ("_root.mreza") {
gotoAndPlay ("gol");
};
} else if (_root:level == 5) {
Set("_root:delta_h", 207 - _root:target_y);
Set("_root:delta_l", 0);
Set("_root:zoga_pade_n", Math.ceil(Math.abs(_root:delta_h) * 0.08));
Set("_root:zoga_pade_zoom", 0);
Set("_root:zoom_koncni", 0);
tellTarget ("_root.zoga_pade") {
gotoAndPlay ("padec");
};
Set("_root.skoci_alien:k", 1);
Set("_root:premik_x", -_root:premik_x);
Set("_root:golman_x", getProperty("_root.golman5", _x));
Set("_root:nazaj", 1);
tellTarget ("_root.skoci_alien") {
gotoAndPlay ("skoci");
};
if (_root:stran == "D") {
tellTarget ("_root.golman5") {
gotoAndPlay ("desnoNazaj");
};
} else if (_root:stran == "L") {
tellTarget ("_root.golman5") {
gotoAndPlay ("levoNazaj");
};
} else if (_root:stran == "N") {
tellTarget ("_root.golman5") {
gotoAndPlay ("skrij");
};
}
} else {
tellTarget ("_root.zoga_branjena") {
gotoAndPlay ("padec");
};
}
} else if (_root.zoga0.hitTest(_root.stangaZ)) {
trace("stanga zgoraj");
_root.odboj.start(0, 1);
Set("_root:zoga", 0);
setProperty("_root.zoga0", _visible , 1);
setProperty("_root.zoga1", _visible , 0);
setProperty("_root.zoga2", _visible , 0);
Set("_root:niz", (_root:niz + "**Gol:") + 0);
Set("_root:delta_h", -155);
Set("_root:delta_l", _root:target_x - _root:zoga_x);
Set("_root:zoga_pade_n", Math.ceil(Math.sqrt((1.5 * Math.pow(Math.abs(_root:delta_l), 2)) + Math.pow(Math.abs(_root:delta_h), 2)) / _root:moc));
Set("_root:zoga_pade_zoom", -1);
Set("_root:zoom_koncni", -150);
tellTarget ("_root.zoga_pade") {
gotoAndPlay ("padec");
};
} else if (_root.zoga0.hitTest(_root.stangaD)) {
trace("stanga desno");
_root.odboj.start(0, 1);
Set("_root:zoga", 0);
setProperty("_root.zoga0", _visible , 1);
setProperty("_root.zoga1", _visible , 0);
setProperty("_root.zoga2", _visible , 0);
Set("_root:niz", (_root:niz + "**Gol:") + 0);
Set("_root:delta_h", -Math.sqrt((200 - _root:target_y) * 6));
Set("_root:delta_l", 130);
Set("_root:zoga_pade_n", Math.ceil((1.5 * Math.sqrt(Math.pow(Math.abs(_root:delta_l), 2) + Math.pow(Math.abs(_root:delta_h), 2))) / _root:moc));
Set("_root:zoga_pade_zoom", -1);
Set("_root:zoom_koncni", -150);
tellTarget ("_root.zoga_pade") {
gotoAndPlay ("padec");
};
} else if (_root.zoga0.hitTest(_root.stangaL)) {
trace("stanga levo");
_root.odboj.start(0, 1);
Set("_root:zoga", 0);
setProperty("_root.zoga0", _visible , 1);
setProperty("_root.zoga1", _visible , 0);
setProperty("_root.zoga2", _visible , 0);
Set("_root:niz", (_root:niz + "**Gol:") + 0);
Set("_root:delta_h", -Math.sqrt(Math.abs(200 - _root:target_y) * 6));
Set("_root:delta_l", -113);
Set("_root:zoga_pade_n", Math.ceil((1.5 * Math.sqrt(Math.pow(Math.abs(_root:delta_l), 2) + Math.pow(Math.abs(_root:delta_h), 2))) / _root:moc));
Set("_root:zoga_pade_zoom", -1);
Set("_root:zoom_koncni", -150);
tellTarget ("_root.zoga_pade") {
gotoAndPlay ("padec");
};
} else if (_root.zoga0.hitTest(_root.mreza)) {
trace("goooool!!!!");
_root.gol.start(0, 1);
_root:rezultat1++;
Set("_root:zoga", 1);
setProperty("_root.zoga0", _visible , 0);
setProperty("_root.zoga1", _visible , 1);
setProperty("_root.zoga2", _visible , 0);
Set("_root:niz", (_root:niz + "**Gol:") + 1);
Set("_root:delta_h", 187 - _root:target_y);
Set("_root:delta_l", 0);
Set("_root:zoga_pade_n", Math.ceil((Math.abs(_root:delta_h) * 0.8) / Math.sqrt(_root:moc)));
Set("_root:zoga_pade_zoom", 0);
Set("_root:zoom_koncni", 0);
Set("_root:niz", (((((_root:niz + "**StrelX:") + _root:target_x) + "**StrelY:") + _root:target_y) + "**Moc:") + _root:moc);
tellTarget ("_root.zoga_pade") {
gotoAndPlay ("padec");
};
tellTarget ("_root.mreza") {
gotoAndPlay ("gol");
};
if (((((_root:level == 0) && (_root:target_x > 130)) && (_root:target_x < 340)) && (_root:target_y > 105)) && (_root:target_y < 210)) {
tellTarget ("_root.golman0") {
gotoAndPlay ("odkrije");
};
}
Set("_root:score", _root:score + (Math.pow(2, _root:level) * 10));
} else {
trace("loooooooser!!!!");
Set("_root:zoga", 2);
setProperty("_root.zoga0", _visible , 0);
setProperty("_root.zoga1", _visible , 0);
setProperty("_root.zoga2", _visible , 1);
Set("_root:niz", (_root:niz + "**Gol:") + 0);
Set("_root:delta_h", Math.sqrt(Math.abs(200 - _root:target_y) * 1.5) * 4);
if (_root:target_x > 242.5) {
Set("_root:delta_l", ((Math.sqrt(Math.abs(_root:target_x - 242.5)) * 0.02) * Math.sqrt(Math.sqrt(Math.abs(_root:moc)))) * _root:delta_h);
} else {
Set("_root:delta_l", (((-Math.sqrt(Math.abs(242.5 - _root:target_x))) * 0.02) * Math.sqrt(Math.sqrt(Math.abs(_root:moc)))) * _root:delta_h);
}
Set("_root:zoga_pade_n", Math.ceil(Math.sqrt((0.8 * Math.pow(Math.abs(_root:delta_l), 2)) + Math.pow(Math.abs(_root:delta_h), 2)) / Math.sqrt(_root:moc)));
Set("_root:zoga_pade_zoom", 1);
Set("_root:zoga_pristanek", _root:target_y + _root:delta_h);
if (_root:zoga_pristanek > 200) {
Set("_root:zoom_koncni", 0);
} else if (_root:zoga_pristanek > 125) {
Set("_root:zoom_koncni", (200 - _root:zoga_pristanek) / 0.75);
} else {
Set("_root:zoom_koncni", 100);
}
tellTarget ("_root.zoga_pade") {
gotoAndPlay ("padec");
};
}
gotoAndStop (1);
Symbol 87 MovieClip Frame 1
k = 1;
stop();
Symbol 87 MovieClip Frame 6
((undefined <= b) > "c") || (0(false));
if (k <= _root:zoga_pade_n) {
dX = (k * _root:delta_l) / _root:zoga_pade_n;
dY = (k * _root:delta_h) / _root:zoga_pade_n;
setProperty(eval ("_root.zoga" + _root:zoga), _x , _root:target_x + dX);
setProperty(eval ("_root.zoga" + _root:zoga), _y , _root:target_y + dY);
zoom = 100 - (Math.sqrt((Math.pow(Math.abs(dX), 2) * 2) + (Math.pow(Math.abs(dY), 2) / 4)) * _root:zoga_pade_zoom);
zoom = 100 - ((k * _root:zoom_koncni) / _root:zoga_pade_n);
setProperty(eval ("_root.zoga" + _root:zoga), _xscale , zoom);
setProperty(eval ("_root.zoga" + _root:zoga), _yscale , zoom);
k++;
play();
} else {
Set("_root:zogapristala", 1);
tellTarget ("_root.mreza") {
gotoAndStop ("stop");
};
k = 1;
gotoAndStop (1);
}
Symbol 87 MovieClip Frame 7
((undefined <= b) > "c") || (0(false));
if (k <= _root:zoga_pade_n) {
dX = (k * _root:delta_l) / _root:zoga_pade_n;
dY = (k * _root:delta_h) / _root:zoga_pade_n;
setProperty(eval ("_root.zoga" + _root:zoga), _x , _root:target_x + dX);
setProperty(eval ("_root.zoga" + _root:zoga), _y , _root:target_y + dY);
zoom = 100 - (Math.sqrt((Math.pow(Math.abs(dX), 2) * 2) + (Math.pow(Math.abs(dY), 2) / 4)) * _root:zoga_pade_zoom);
zoom = 100 - ((k * _root:zoom_koncni) / _root:zoga_pade_n);
setProperty(eval ("_root.zoga" + _root:zoga), _xscale , zoom);
setProperty(eval ("_root.zoga" + _root:zoga), _yscale , zoom);
k++;
gotoAndPlay (6);
} else {
Set("_root:zogapristala", 1);
tellTarget ("_root.mreza") {
gotoAndStop ("stop");
};
k = 1;
gotoAndStop (1);
}
Symbol 88 MovieClip Frame 1
k = 1;
stop();
Symbol 88 MovieClip Frame 6
((undefined <= b) > "c") || (0(false));
if (k <= _root:golman_pade_n) {
dX = (k * _root:golman_l) / _root:golman_pade_n;
dY = ((k * _root:golman_h) / _root:golman_pade_n) - (10 * Math.cos(((Math.PI/2) * k) / _root:golman_pade_n));
setProperty(eval ("_root.golman" + _root:izbrani), _x , _root:target_x + dX);
setProperty(eval ("_root.golman" + _root:izbrani), _y , _root:target_y + dY);
k++;
play();
} else {
k = 1;
gotoAndStop (1);
}
Symbol 88 MovieClip Frame 7
((undefined <= b) > "c") || (0(false));
if (k <= _root:golman_pade_n) {
dX = (k * _root:golman_l) / _root:golman_pade_n;
dY = ((k * _root:golman_h) / _root:golman_pade_n) - (10 * Math.cos(((Math.PI/2) * k) / _root:golman_pade_n));
setProperty(eval ("_root.golman" + _root:izbrani), _x , _root:target_x + dX);
setProperty(eval ("_root.golman" + _root:izbrani), _y , _root:target_y + dY);
k++;
gotoAndPlay (6);
} else {
k = 1;
gotoAndStop (1);
}
Symbol 89 MovieClip Frame 1
((undefined <= b) > "c") || (0(false));
stop();
Symbol 89 MovieClip Frame 6
((undefined <= b) > "c") || (0(false));
if ((_root:brcni_n - _root:brcni_k) > _root:skoci_n) {
play();
} else {
if (_root:level == 5) {
if ((((_root:target_x > 35) && (_root:target_x <= 202)) && (_root:target_y > 55)) && (_root:target_y < 210)) {
Set("_root:niz", _root:niz + "**Smer:levo");
tellTarget ("_root.skoci_alien") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("levo");
};
Set("_root:pade_na_tla", 0);
} else if ((((_root:target_x > 202) && (_root:target_x <= 282)) && (_root:target_y > 55)) && (_root:target_y <= 210)) {
Set("_root:niz", _root:niz + "**Smer:naravnost");
tellTarget ("_root.skoci_alien") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("naravnost");
};
Set("_root:pade_na_tla", 0);
} else if ((((_root:target_x > 282) && (_root:target_x < 450)) && (_root:target_y > 55)) && (_root:target_y < 210)) {
Set("_root:niz", _root:niz + "**Smer:desno");
tellTarget ("_root.skoci_alien") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("desno");
};
Set("_root:pade_na_tla", 0);
}
} else if ((((_root:target_x > 35) && (_root:target_x <= 202)) && (_root:target_y > 55)) && (_root:target_y < 210)) {
Set("_root:niz", _root:niz + "**Smer:levo");
tellTarget ("_root.skoci") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("levo");
};
if (_root:target_y < 125) {
Set("_root:posevno", 1);
} else {
Set("_root:posevno", 0);
}
Set("_root:pade_na_tla", 1);
} else if ((((_root:target_x > 202) && (_root:target_x <= 282)) && (_root:target_y > 55)) && (_root:target_y <= 125)) {
Set("_root:niz", _root:niz + "**Smer:navzgor");
tellTarget ("_root.skoci") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("navzgor");
};
Set("_root:pade_na_tla", 1);
} else if ((((_root:target_x > 202) && (_root:target_x <= 282)) && (_root:target_y > 125)) && (_root:target_y < 210)) {
Set("_root:niz", _root:niz + "**Smer:naravnost");
tellTarget ("_root.skoci") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("naravnost");
};
Set("_root:skok_y", 0);
Set("_root:pade_na_tla", 0);
} else if ((((_root:target_x > 282) && (_root:target_x < 450)) && (_root:target_y > 55)) && (_root:target_y < 210)) {
Set("_root:niz", _root:niz + "**Smer:desno");
tellTarget ("_root.skoci") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("desno");
};
if (_root:target_y < 125) {
Set("_root:posevno", 1);
} else {
Set("_root:posevno", 0);
}
Set("_root:pade_na_tla", 1);
} else {
Set("_root:niz", _root:niz + "**Smer:stop");
tellTarget (eval ("_root.golman" + _root:izbrani)) {
stop();
};
}
gotoAndStop (1);
}
Symbol 89 MovieClip Frame 7
((undefined <= b) > "c") || (0(false));
if ((_root:brcni_n - _root:brcni_k) > _root:skoci_n) {
gotoAndPlay (6);
} else {
if (_root:level == 5) {
if ((((_root:target_x > 35) && (_root:target_x <= 202)) && (_root:target_y > 55)) && (_root:target_y < 210)) {
Set("_root:niz", _root:niz + "**Smer:levo");
tellTarget ("_root.skoci_alien") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("levo");
};
Set("_root:pade_na_tla", 0);
} else if ((((_root:target_x > 202) && (_root:target_x <= 282)) && (_root:target_y > 55)) && (_root:target_y < 210)) {
Set("_root:niz", _root:niz + "**Smer:naravnost");
tellTarget ("_root.skoci_alien") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("naravnost");
};
Set("_root:pade_na_tla", 0);
} else if ((((_root:target_x > 282) && (_root:target_x < 450)) && (_root:target_y > 55)) && (_root:target_y < 210)) {
Set("_root:niz", _root:niz + "**Smer:desno");
tellTarget ("_root.skoci_alien") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("desno");
};
Set("_root:pade_na_tla", 1);
}
} else if ((((_root:target_x > 35) && (_root:target_x <= 202)) && (_root:target_y > 55)) && (_root:target_y < 210)) {
Set("_root:niz", _root:niz + "**Smer:levo");
tellTarget ("_root.skoci") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("levo");
};
if (_root:target_y < 125) {
Set("_root:posevno", 1);
} else {
Set("_root:posevno", 0);
}
Set("_root:pade_na_tla", 1);
} else if ((((_root:target_x > 202) && (_root:target_x <= 282)) && (_root:target_y > 55)) && (_root:target_y <= 125)) {
Set("_root:niz", _root:niz + "**Smer:navzgor");
tellTarget ("_root.skoci") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("navzgor");
};
Set("_root:pade_na_tla", 1);
} else if ((((_root:target_x > 202) && (_root:target_x <= 282)) && (_root:target_y > 125)) && (_root:target_y < 210)) {
Set("_root:niz", _root:niz + "**Smer:naravnost");
tellTarget ("_root.skoci") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("naravnost");
};
Set("_root:skok_y", 0);
Set("_root:pade_na_tla", 0);
} else if ((((_root:target_x > 282) && (_root:target_x < 450)) && (_root:target_y > 55)) && (_root:target_y < 210)) {
Set("_root:niz", _root:niz + "**Smer:desno");
tellTarget ("_root.skoci") {
gotoAndPlay ("skoci");
};
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("desno");
};
if (_root:target_y < 125) {
Set("_root:posevno", 1);
} else {
Set("_root:posevno", 0);
}
Set("_root:pade_na_tla", 1);
} else {
Set("_root:niz", _root:niz + "**Smer:stop");
tellTarget (eval ("_root.golman" + _root:izbrani)) {
stop();
};
}
gotoAndStop (1);
}
Symbol 90 MovieClip Frame 1
k = 1;
stop();
Symbol 90 MovieClip Frame 6
((undefined <= b) > "c") || (0(false));
if (k <= _root:golman_pade_n) {
dX = (k * _root:golman_l) / _root:golman_pade_n;
dY = ((k * _root:golman_h) / _root:golman_pade_n) - (10 * Math.cos(((Math.PI/2) * k) / _root:golman_pade_n));
setProperty(eval ("_root.zoga" + _root:zoga), _x , _root:target_x + dX);
setProperty(eval ("_root.zoga" + _root:zoga), _y , _root:target_y + dY);
k++;
play();
} else {
k = 1;
gotoAndStop (1);
}
Symbol 90 MovieClip Frame 7
((undefined <= b) > "c") || (0(false));
if (k <= _root:golman_pade_n) {
dX = (k * _root:golman_l) / _root:golman_pade_n;
dY = ((k * _root:golman_h) / _root:golman_pade_n) - (10 * Math.cos(((Math.PI/2) * k) / _root:golman_pade_n));
setProperty(eval ("_root.zoga" + _root:zoga), _x , _root:target_x + dX);
setProperty(eval ("_root.zoga" + _root:zoga), _y , _root:target_y + dY);
k++;
gotoAndPlay (6);
} else {
k = 1;
gotoAndStop (1);
}
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 6
((undefined <= b) > "c") || (0(false));
x = getProperty("_root.miska", _x);
y = getProperty("_root.miska", _y);
if ((((x >= 0) && (x <= 500)) && (y >= 40)) && (y <= 190)) {
Mouse.hide();
} else {
Mouse.show();
}
if (x < 0) {
x = 0;
} else if (x > 500) {
x = 500;
}
if (y < 40) {
y = 40;
} else if (y > 190) {
y = 190;
}
setProperty("_root.nitnik", _x , x);
setProperty("_root.nitnik", _y , y);
play();
Symbol 92 MovieClip Frame 7
((undefined <= b) > "c") || (0(false));
x = getProperty("_root.miska", _x);
y = getProperty("_root.miska", _y);
if ((((x >= 0) && (x <= 500)) && (y >= 40)) && (y <= 190)) {
Mouse.hide();
} else {
Mouse.show();
}
if (x < 0) {
x = 0;
} else if (x > 500) {
x = 500;
}
if (y < 40) {
y = 40;
} else if (y > 190) {
y = 190;
}
setProperty("_root.nitnik", _x , x);
setProperty("_root.nitnik", _y , y);
gotoAndPlay (6);
Symbol 98 MovieClip Frame 11
stop();
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
Set("_root:moc", 2);
Set("_root:brcni_n", 36);
Symbol 112 MovieClip Frame 3
Set("_root:moc", 4);
Set("_root:brcni_n", 34);
Symbol 112 MovieClip Frame 4
Set("_root:moc", 6);
Set("_root:brcni_n", 32);
Symbol 112 MovieClip Frame 5
Set("_root:moc", 8);
Set("_root:brcni_n", 30);
Symbol 112 MovieClip Frame 6
Set("_root:moc", 10);
Set("_root:brcni_n", 28);
Symbol 112 MovieClip Frame 7
Set("_root:moc", 12);
Set("_root:brcni_n", 26);
Symbol 112 MovieClip Frame 8
Set("_root:moc", 14);
Set("_root:brcni_n", 24);
Symbol 112 MovieClip Frame 9
Set("_root:moc", 16);
Set("_root:brcni_n", 22);
Symbol 112 MovieClip Frame 10
Set("_root:moc", 18);
Set("_root:brcni_n", 20);
Symbol 112 MovieClip Frame 11
Set("_root:moc", 20);
Set("_root:brcni_n", 18);
Symbol 112 MovieClip Frame 12
Set("_root:moc", 22);
Set("_root:brcni_n", 16);
Symbol 112 MovieClip Frame 13
Set("_root:moc", 24);
Set("_root:brcni_n", 14);
Symbol 112 MovieClip Frame 14
((undefined <= b) > "c") || (0(false));
Set("_root:moc", 26);
Set("_root:brcni_n", 12);
((undefined <= b) > "c") || (0(false));
if ((_root:zalet == 0) && (_root:kicked == 0)) {
Set("_root:kicked", 1);
tellTarget ("_root.vleci") {
gotoAndStop ("stop");
};
_root.strel.start(0, 1);
Set("_root:target_x", getProperty(_root.nitnik, _x) + (3 * ((_root:moc * _root.random:delta_r) * Math.cos((Math.PI*2) * _root.random:delta_alpha))));
Set("_root:target_y", getProperty(_root.nitnik, _y) + (3 * ((_root:moc * _root.random:delta_r) * Math.sin((Math.PI*2) * _root.random:delta_alpha))));
if (_root:target_y > 195) {
Set("_root:target_y", 195);
}
Set("_root:delta_y_roka", (_root:target_y - getProperty(eval ("_root.golman" + _root:izbrani), _y)) + 5);
Set("_root:zasuk_dms", (Math.asin(_root:delta_y_roka / 50) * 180) / Math.PI);
Set("_root:delta_x_roka", Math.sqrt(Math.abs(2500 - Math.pow(Math.abs(_root:delta_y_roka), 2))));
if (_root:target_x < 242.5) {
Set("_root:stran", "L");
Set("_root:premik_x", (_root:target_x + _root:delta_x_roka) - 227.5);
Set("_root:zasuk_dms", -_root:zasuk_dms);
} else {
Set("_root:stran", "D");
Set("_root:premik_x", (_root:target_x - _root:delta_x_roka) - 257.5);
}
Set("_root:zoga_x", getProperty(eval ("_root.zoga" + _root:zoga), _x));
Set("_root:zoga_y", getProperty(eval ("_root.zoga" + _root:zoga), _y));
Set("_root:delta_x", _root:target_x - _root:zoga_x);
Set("_root:delta_y", _root:target_y - _root:zoga_y);
Set("_root:skok_x", _root:target_x - _root:golman_x);
Set("_root:skok_y", _root:target_y - _root:golman_y);
Set("_root.brcni:k", 1);
if (level == 5) {
Set("_root:skoci_n", Math.ceil(Math.abs(_root:premik_x / _root.level:level[2][5 - _root:level])));
} else {
Set("_root:skoci_n", Math.ceil(Math.abs(_root:skok_x / _root.level:level[2][5 - _root:level])));
}
Set("_root:golman_h", 195 - _root:target_y);
Set("_root:golman_l", ((195 - _root:target_y) * (_root:target_x - 225)) / 200);
Set("_root:golman_pade_n", Math.ceil(Math.abs((_root:golman_h * 0.5) / _root.level:level[2][5 - _root:level])));
tellTarget ("_root.brcni") {
gotoAndPlay ("brcni");
};
tellTarget ("_root.odloci") {
gotoAndPlay ("odloci");
};
gotoAndStop (1);
}
Symbol 128 MovieClip Frame 10
gotoAndPlay (1);
Symbol 128 MovieClip Frame 28
stop();
Symbol 128 MovieClip Frame 38
stop();
Symbol 128 MovieClip Frame 58
gotoAndPlay (1);
Symbol 128 MovieClip Frame 63
stop();
Symbol 136 Button
on (press) {
((undefined <= b) > "c") || (0(false));
if (!_root:kicked) {
Set("_root:moc", 0);
tellTarget ("_root.moc") {
gotoAndPlay ("zalet");
};
tellTarget ("_root.vleci") {
gotoAndPlay ("vleci");
};
}
}
on (release) {
((undefined <= b) > "c") || (0(false));
if (!_root:kicked) {
Set("_root:kicked", 1);
tellTarget ("_root.moc") {
gotoAndStop ("stop");
};
tellTarget ("_root.vleci") {
gotoAndStop ("stop");
};
strel.start();
Set("_root:target_x", getProperty(_root.nitnik, _x) + (2 * ((_root:moc * _root.random:delta_r) * Math.cos((Math.PI*2) * _root.random:delta_alpha))));
Set("_root:target_y", getProperty(_root.nitnik, _y) + (2 * ((_root:moc * _root.random:delta_r) * Math.sin((Math.PI*2) * _root.random:delta_alpha))));
if (_root:target_y > 195) {
Set("_root:target_y", 195);
}
Set("_root:zoga_x", getProperty(eval ("_root.zoga" + _root:zoga), _x));
Set("_root:zoga_y", getProperty(eval ("_root.zoga" + _root:zoga), _y));
Set("_root:delta_x", _root:target_x - _root:zoga_x);
Set("_root:delta_y", _root:target_y - _root:zoga_y);
Set("_root:skok_x", _root:target_x - _root:golman_x);
Set("_root:skok_y", _root:target_y - _root:golman_y);
Set("_root.brcni:k", 1);
Set("_root:skoci_n", Math.ceil(Math.abs(_root:skok_x / _root.level:level[2][5 - _root:level])));
tellTarget ("_root.brcni") {
gotoAndPlay ("brcni");
};
tellTarget ("_root.odloci") {
gotoAndPlay ("odloci");
};
}
}
Symbol 143 Button
on (release) {
((undefined <= b) > "c") || (0(false));
unloadMovieNum (1);
stopDrag();
gotoAndPlay (89);
}
on (rollOver, dragOver) {
Mouse.show();
}
on (rollOut, dragOut) {
((undefined <= b) > "c") || (0(false));
Mouse.hide();
}
Symbol 148 Button
on (release) {
_root.ozadje.setVolume(0);
Set("_root:sound_control", 0);
gotoAndPlay (2);
}
Symbol 151 Button
on (release) {
_root.ozadje.setVolume(100);
Set("_root:sound_control", 1);
gotoAndPlay (1);
}
Symbol 152 MovieClip Frame 1
((undefined <= b) > "c") || (0(false));
if (_root:sound_control == 0) {
gotoAndStop (2);
}
stop();
Symbol 152 MovieClip Frame 2
((undefined <= b) > "c") || (0(false));
if (_root:sound_control == 1) {
gotoAndStop (1);
}
stop();
Symbol 157 Button
on (release) {
Set("_root:quality", "low");
toggleHighQuality();
gotoAndPlay (2);
}
Symbol 159 Button
on (release) {
Set("_root:quality", "high");
toggleHighQuality();
gotoAndPlay (1);
}
Symbol 160 MovieClip Frame 1
((undefined <= b) > "c") || (0(false));
if (_root:quality == "low") {
gotoAndStop (2);
}
stop();
Symbol 160 MovieClip Frame 2
((undefined <= b) > "c") || (0(false));
if (_root:quality == "high") {
gotoAndStop (1);
}
stop();
Symbol 162 Button
on (release) {
unloadMovieNum (1);
gotoAndPlay (916);
}
Symbol 164 Button
on (release) {
((undefined <= b) > "c") || (0(false));
if (_root:tips == 0) {
loadMovieNum ("http://www.oxylus.net/kickoff/flash/tutorial.swf", 1);
Set("_root:tips", 1);
} else {
unloadMovieNum (1);
Set("_root:tips", 0);
}
}
Symbol 170 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 55
((undefined <= b) > "c") || (0(false));
Set("_root:moc", 0);
Set("_root.brcni:n", 0);
Set("_root:zogapristala", 0);
Set("_root:zoga", 0);
tellTarget ("_root.zoga_vrokavici") {
gotoAndStop ("stop");
};
tellTarget ("_root.moc") {
gotoAndStop ("stop");
};
tellTarget ("_root.zoga0") {
gotoAndStop ("zoom");
};
setProperty("_root.zoga0", _visible , 1);
setProperty("_root.zoga1", _visible , 0);
setProperty("_root.zoga2", _visible , 0);
setProperty("_root.zoga0", _x , 242.5);
setProperty("_root.zoga0", _y , 285);
setProperty("_root.zoga0", _xscale , 100);
setProperty("_root.zoga0", _yscale , 100);
tellTarget ("_root") {
gotoAndPlay ("prehod_br_beba");
};
Symbol 171 MovieClip Frame 1
((undefined <= b) > "c") || (0(false));
stop();
Symbol 171 MovieClip Frame 6
((undefined <= b) > "c") || (0(false));
Set("_root:target_x", 45 + (Math.random() * 395));
Set("_root:target_y", 65 + (Math.random() * 130));
Set("_root:zoga_x", getProperty(eval ("_root.zoga" + _root:zoga), _x));
Set("_root:zoga_y", getProperty(eval ("_root.zoga" + _root:zoga), _y));
Set("_root:delta_x", _root:target_x - _root:zoga_x);
Set("_root:delta_y", _root:target_y - _root:zoga_y);
tellTarget ("_root.brcni") {
gotoAndPlay ("brcni");
};
gotoAndStop (1);
Symbol 171 MovieClip Frame 11
((undefined <= b) > "c") || (0(false));
Set("_root:target_x", 65 + (Math.random() * 360));
Set("_root:target_y", 80 + (Math.random() * 115));
Set("_root:zoga_x", getProperty(eval ("_root.zoga" + _root:zoga), _x));
Set("_root:zoga_y", getProperty(eval ("_root.zoga" + _root:zoga), _y));
Set("_root:delta_x", _root:target_x - _root:zoga_x);
Set("_root:delta_y", _root:target_y - _root:zoga_y);
tellTarget ("_root.brcni") {
gotoAndPlay ("brcni");
};
gotoAndStop (1);
Symbol 171 MovieClip Frame 16
((undefined <= b) > "c") || (0(false));
Set("_root:target_x", 70 + (Math.random() * 355));
Set("_root:target_y", 90 + (Math.random() * 115));
if ((_root:target_x > 130) && (_root:target_x < 354)) {
Set("_root:target_y", 90 + (Math.random() * 45));
}
Set("_root:zoga_x", getProperty(eval ("_root.zoga" + _root:zoga), _x));
Set("_root:zoga_y", getProperty(eval ("_root.zoga" + _root:zoga), _y));
Set("_root:delta_x", _root:target_x - _root:zoga_x);
Set("_root:delta_y", _root:target_y - _root:zoga_y);
tellTarget ("_root.brcni") {
gotoAndPlay ("brcni");
};
gotoAndStop (1);
Symbol 171 MovieClip Frame 21
((undefined <= b) > "c") || (0(false));
Set("_root:target_x", 70 + (Math.random() * 355));
Set("_root:target_y", 90 + (Math.random() * 115));
if ((_root:target_x > 150) && (_root:target_x < 250)) {
Set("_root:target_x", 150 - (Math.random() * 65));
} else if ((_root:target_x < 250) && (_root:target_x < 350)) {
Set("_root:target_x", 350 + (Math.random() * 65));
}
Set("_root:zoga_x", getProperty(eval ("_root.zoga" + _root:zoga), _x));
Set("_root:zoga_y", getProperty(eval ("_root.zoga" + _root:zoga), _y));
Set("_root:delta_x", _root:target_x - _root:zoga_x);
Set("_root:delta_y", _root:target_y - _root:zoga_y);
tellTarget ("_root.brcni") {
gotoAndPlay ("brcni");
};
gotoAndStop (1);
Symbol 171 MovieClip Frame 26
((undefined <= b) > "c") || (0(false));
Set("_root:rokavica_x", getProperty(_root.nitnik, _x));
Set("_root:rokavica_y", getProperty(_root.nitnik, _y));
if (_root:rokavica_x < 150) {
Set("_root:target_x", 350 + (Math.random() * 65));
if (_root:rokavica_y > 140) {
Set("_root:target_y", 90 + (Math.random() * 50));
} else {
Set("_root:target_y", 140 + (Math.random() * 50));
}
} else if (_root:rokavica_x > 350) {
Set("_root:target_x", 75 + (Math.random() * 65));
if (_root:rokavica_y > 140) {
Set("_root:target_y", 90 + (Math.random() * 50));
} else {
Set("_root:target_y", 140 + (Math.random() * 50));
}
} else {
Set("_root:spr", Math.random());
if (_root:spr > 0.5) {
Set("_root:target_x", 350 + (Math.random() * 65));
Set("_root:target_y", 90 + (Math.random() * 100));
} else {
Set("_root:target_x", 75 + (Math.random() * 65));
Set("_root:target_y", 90 + (Math.random() * 100));
}
}
Set("_root:zoga_x", getProperty(eval ("_root.zoga" + _root:zoga), _x));
Set("_root:zoga_y", getProperty(eval ("_root.zoga" + _root:zoga), _y));
Set("_root:delta_x", _root:target_x - _root:zoga_x);
Set("_root:delta_y", _root:target_y - _root:zoga_y);
tellTarget ("_root.brcni") {
gotoAndPlay ("brcni");
};
gotoAndStop (1);
Symbol 172 MovieClip Frame 1
((undefined <= b) > "c") || (0(false));
stop();
Symbol 172 MovieClip Frame 6
((undefined <= b) > "c") || (0(false));
if (_root:level == 0) {
tellTarget ("_root.prehod_br_beba") {
gotoAndPlay ("prehod");
};
} else if (_root:level == 5) {
tellTarget ("_root.prehod_br_alien") {
gotoAndPlay ("prehod");
};
} else {
tellTarget ("_root.prehod_br") {
gotoAndPlay ("prehod");
};
}
if (_root.zoga0.hitTest(_root.nitnik)) {
trace("branil");
_root.gol.start(0, 1);
Set("_root:zoga", 0);
setProperty("_root.zoga0", _visible , 1);
setProperty("_root.zoga1", _visible , 0);
setProperty("_root.zoga2", _visible , 0);
Set("_root:niz", (_root:niz + "**Gol:") + 1);
Set("_root:niz", (((_root:niz + "**UjelX:") + getProperty("_root.nitnik", _x)) + "**UjelY:") + getProperty("_root.nitnik", _y));
Set("_root:niz", (((((_root:niz + "**BraniX:") + _root:target_x) + "**BraniY:") + _root:target_y) + "**Moc:") + _root:moc);
tellTarget ("_root.zoga_vrokavici") {
gotoAndPlay ("ujeta");
};
Set("_root:score", _root:score + (Math.pow(2, _root:level) * 10));
} else if (_root.zoga0.hitTest(_root.stangaZ)) {
trace("stanga zgoraj");
_root.odboj.start(0, 1);
_root.gol.start(0, 1);
Set("_root:zoga", 0);
setProperty("_root.zoga0", _visible , 1);
setProperty("_root.zoga1", _visible , 0);
setProperty("_root.zoga2", _visible , 0);
Set("_root:niz", (_root:niz + "**Gol:") + 1);
Set("_root:delta_h", -155);
Set("_root:delta_l", _root:target_x - _root:zoga_x);
Set("_root:zoga_pade_n", Math.ceil(Math.sqrt((1.5 * Math.pow(Math.abs(_root:delta_l), 2)) + Math.pow(Math.abs(_root:delta_h), 2)) / _root:moc));
Set("_root:zoga_pade_zoom", -1);
Set("_root:zoom_koncni", -150);
Set("_root:niz", (((_root:niz + "**UjelX:") + getProperty("_root.nitnik", _x)) + "**UjelY:") + getProperty("_root.nitnik", _y));
Set("_root:niz", (((((_root:niz + "**BraniX:") + _root:target_x) + "**BraniY:") + _root:target_y) + "**Moc:") + _root:moc);
tellTarget ("_root.zoga_pade") {
gotoAndPlay ("padec");
};
Set("_root:score", _root:score + (Math.pow(2, _root:level) * 10));
} else if (_root.zoga0.hitTest(_root.stangaD)) {
trace("stanga desno");
_root.odboj.start(0, 1);
_root.gol.start(0, 1);
Set("_root:zoga", 0);
setProperty("_root.zoga0", _visible , 1);
setProperty("_root.zoga1", _visible , 0);
setProperty("_root.zoga2", _visible , 0);
Set("_root:niz", (_root:niz + "**Gol:") + 1);
Set("_root:delta_h", -Math.sqrt((200 - _root:target_y) * 6));
Set("_root:delta_l", 130);
Set("_root:zoga_pade_n", Math.ceil((1.5 * Math.sqrt(Math.pow(Math.abs(_root:delta_l), 2) + Math.pow(Math.abs(_root:delta_h), 2))) / _root:moc));
Set("_root:zoga_pade_zoom", -1);
Set("_root:zoom_koncni", -150);
Set("_root:niz", (((_root:niz + "**UjelX:") + getProperty("_root.nitnik", _x)) + "**UjelY:") + getProperty("_root.nitnik", _y));
Set("_root:niz", (((((_root:niz + "**BraniX:") + _root:target_x) + "**BraniY:") + _root:target_y) + "**Moc:") + _root:moc);
tellTarget ("_root.zoga_pade") {
gotoAndPlay ("padec");
};
Set("_root:score", _root:score + (Math.pow(2, _root:level) * 10));
} else if (_root.zoga0.hitTest(_root.stangaL)) {
trace("stanga levo");
_root.odboj.start(0, 1);
_root.gol.start(0, 1);
Set("_root:zoga", 0);
setProperty("_root.zoga0", _visible , 1);
setProperty("_root.zoga1", _visible , 0);
setProperty("_root.zoga2", _visible , 0);
Set("_root:niz", (_root:niz + "**Gol:") + 1);
Set("_root:delta_h", -Math.sqrt(Math.abs(200 - _root:target_y) * 6));
Set("_root:delta_l", -113);
Set("_root:zoga_pade_n", Math.ceil((1.5 * Math.sqrt(Math.pow(Math.abs(_root:delta_l), 2) + Math.pow(Math.abs(_root:delta_h), 2))) / _root:moc));
Set("_root:zoga_pade_zoom", -1);
Set("_root:zoom_koncni", -150);
Set("_root:niz", (((_root:niz + "**UjelX:") + getProperty("_root.nitnik", _x)) + "**UjelY:") + getProperty("_root.nitnik", _y));
Set("_root:niz", (((((_root:niz + "**BraniX:") + _root:target_x) + "**BraniY:") + _root:target_y) + "**Moc:") + _root:moc);
tellTarget ("_root.zoga_pade") {
gotoAndPlay ("padec");
};
Set("_root:score", _root:score + (Math.pow(2, _root:level) * 10));
} else if (_root.zoga0.hitTest(_root.mreza)) {
trace("goooool!!!!");
_root:rezultat2++;
Set("_root:zoga", 1);
setProperty("_root.zoga0", _visible , 0);
setProperty("_root.zoga1", _visible , 1);
setProperty("_root.zoga2", _visible , 0);
Set("_root:niz", (_root:niz + "**Gol:") + 0);
Set("_root:delta_h", 187 - _root:target_y);
Set("_root:delta_l", 0);
Set("_root:zoga_pade_n", Math.ceil((Math.abs(_root:delta_h) * 0.8) / Math.sqrt(_root:moc)));
Set("_root:zoga_pade_zoom", 0);
Set("_root:zoom_koncni", 0);
tellTarget ("_root.zoga_pade") {
gotoAndPlay ("padec");
};
tellTarget ("_root.mreza") {
gotoAndPlay ("gol");
};
} else {
trace("loooooooser!!!!");
_root.gol.start(0, 1);
Set("_root:zoga", 2);
setProperty("_root.zoga0", _visible , 0);
setProperty("_root.zoga1", _visible , 0);
setProperty("_root.zoga2", _visible , 1);
Set("_root:niz", (_root:niz + "**Gol:") + 1);
Set("_root:delta_h", Math.sqrt(Math.abs(200 - _root:target_y) * 1.5) * 4);
if (_root:target_x > 242.5) {
Set("_root:delta_l", ((Math.sqrt(Math.abs(_root:target_x - 242.5)) * 0.02) * Math.sqrt(Math.sqrt(Math.abs(_root:moc)))) * _root:delta_h);
} else {
Set("_root:delta_l", (((-Math.sqrt(Math.abs(242.5 - _root:target_x))) * 0.02) * Math.sqrt(Math.sqrt(Math.abs(_root:moc)))) * _root:delta_h);
}
Set("_root:zoga_pade_n", Math.ceil(Math.sqrt((0.8 * Math.pow(Math.abs(_root:delta_l), 2)) + Math.pow(Math.abs(_root:delta_h), 2)) / Math.sqrt(_root:moc)));
Set("_root:zoga_pade_zoom", 1);
Set("_root:zoga_pristanek", _root:target_y + _root:delta_h);
if (_root:zoga_pristanek > 200) {
Set("_root:zoom_koncni", 0);
} else if (_root:zoga_pristanek > 125) {
Set("_root:zoom_koncni", (200 - _root:zoga_pristanek) / 0.75);
} else {
Set("_root:zoom_koncni", 100);
}
Set("_root:niz", (((_root:niz + "**UjelX:") + getProperty("_root.nitnik", _x)) + "**UjelY:") + getProperty("_root.nitnik", _y));
Set("_root:niz", (((((_root:niz + "**BraniX:") + _root:target_x) + "**BraniY:") + _root:target_y) + "**Moc:") + _root:moc);
tellTarget ("_root.zoga_pade") {
gotoAndPlay ("padec");
};
Set("_root:score", _root:score + (Math.pow(2, _root:level) * 10));
}
gotoAndStop (1);
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 6
((undefined <= b) > "c") || (0(false));
setProperty("_root.zoga" + _root:zoga, _x , getProperty("_root.nitnik", _x));
setProperty("_root.zoga" + _root:zoga, _y , getProperty("_root.nitnik", _y));
Symbol 173 MovieClip Frame 7
((undefined <= b) > "c") || (0(false));
setProperty("_root.zoga" + _root:zoga, _x , getProperty("_root.nitnik", _x));
setProperty("_root.zoga" + _root:zoga, _y , getProperty("_root.nitnik", _y));
gotoAndPlay (6);
Symbol 181 Button
on (release) {
((undefined <= b) > "c") || (0(false));
if (_root:zalet == 0) {
gotoAndPlay (70);
}
}
Symbol 182 Button
on (release) {
((undefined <= b) > "c") || (0(false));
stopDrag();
Mouse.show();
gotoAndPlay (89);
}
on (rollOver, dragOver) {
Mouse.show();
}
on (rollOut, dragOut) {
((undefined <= b) > "c") || (0(false));
Mouse.hide();
}
Symbol 183 Button
on (release) {
gotoAndPlay (916);
}
Symbol 203 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 7);
Set("_root:team", 3);
Set("_root:uporabnik_team", _root.ekipa[7][0][3]);
gotoAndPlay (120);
}
Symbol 206 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 7);
Set("_root:team", 2);
Set("_root:uporabnik_team", _root.ekipa[7][0][2]);
gotoAndPlay (120);
}
Symbol 209 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 7);
Set("_root:team", 1);
Set("_root:uporabnik_team", _root.ekipa[7][0][1]);
gotoAndPlay (120);
}
Symbol 212 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 7);
Set("_root:team", 0);
Set("_root:uporabnik_team", _root.ekipa[7][0][0]);
gotoAndPlay (120);
}
Symbol 215 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 6);
Set("_root:team", 3);
Set("_root:uporabnik_team", _root.ekipa[6][0][3]);
gotoAndPlay (120);
}
Symbol 218 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 6);
Set("_root:team", 2);
Set("_root:uporabnik_team", _root.ekipa[6][0][2]);
gotoAndPlay (120);
}
Symbol 221 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 6);
Set("_root:team", 1);
Set("_root:uporabnik_team", _root.ekipa[6][0][1]);
gotoAndPlay (120);
}
Symbol 224 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 6);
Set("_root:team", 0);
Set("_root:uporabnik_team", _root.ekipa[6][0][0]);
gotoAndPlay (120);
}
Symbol 227 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 5);
Set("_root:team", 3);
Set("_root:uporabnik_team", _root.ekipa[5][0][3]);
gotoAndPlay (120);
}
Symbol 230 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 5);
Set("_root:team", 2);
Set("_root:uporabnik_team", _root.ekipa[5][0][2]);
gotoAndPlay (120);
}
Symbol 233 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 5);
Set("_root:team", 1);
Set("_root:uporabnik_team", _root.ekipa[5][0][1]);
gotoAndPlay (120);
}
Symbol 236 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 5);
Set("_root:team", 0);
Set("_root:uporabnik_team", _root.ekipa[5][0][0]);
gotoAndPlay (120);
}
Symbol 239 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 4);
Set("_root:team", 3);
Set("_root:uporabnik_team", _root.ekipa[4][0][3]);
gotoAndPlay (120);
}
Symbol 242 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 4);
Set("_root:team", 2);
Set("_root:uporabnik_team", _root.ekipa[4][0][2]);
gotoAndPlay (120);
}
Symbol 245 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 4);
Set("_root:team", 1);
Set("_root:uporabnik_team", _root.ekipa[4][0][1]);
gotoAndPlay (120);
}
Symbol 248 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 4);
Set("_root:team", 0);
Set("_root:uporabnik_team", _root.ekipa[4][0][0]);
gotoAndPlay (120);
}
Symbol 251 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 3);
Set("_root:team", 3);
Set("_root:uporabnik_team", _root.ekipa[3][0][3]);
gotoAndPlay (120);
}
Symbol 254 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 3);
Set("_root:team", 2);
Set("_root:uporabnik_team", _root.ekipa[3][0][2]);
gotoAndPlay (120);
}
Symbol 257 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 3);
Set("_root:team", 1);
Set("_root:uporabnik_team", _root.ekipa[3][0][1]);
gotoAndPlay (120);
}
Symbol 260 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 3);
Set("_root:team", 0);
Set("_root:uporabnik_team", _root.ekipa[3][0][0]);
gotoAndPlay (120);
}
Symbol 263 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 2);
Set("_root:team", 3);
Set("_root:uporabnik_team", _root.ekipa[2][0][3]);
gotoAndPlay (120);
}
Symbol 266 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 2);
Set("_root:team", 2);
Set("_root:uporabnik_team", _root.ekipa[2][0][2]);
gotoAndPlay (120);
}
Symbol 269 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 2);
Set("_root:team", 1);
Set("_root:uporabnik_team", _root.ekipa[2][0][1]);
gotoAndPlay (120);
}
Symbol 272 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 2);
Set("_root:team", 0);
Set("_root:uporabnik_team", _root.ekipa[2][0][0]);
gotoAndPlay (120);
}
Symbol 275 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 1);
Set("_root:team", 3);
Set("_root:uporabnik_team", _root.ekipa[1][0][3]);
gotoAndPlay (120);
}
Symbol 278 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 1);
Set("_root:team", 2);
Set("_root:uporabnik_team", _root.ekipa[1][0][2]);
gotoAndPlay (120);
}
Symbol 281 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 1);
Set("_root:team", 1);
Set("_root:uporabnik_team", _root.ekipa[1][0][1]);
gotoAndPlay (120);
}
Symbol 284 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 1);
Set("_root:team", 0);
Set("_root:uporabnik_team", _root.ekipa[1][0][0]);
gotoAndPlay (120);
}
Symbol 287 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 0);
Set("_root:team", 3);
Set("_root:uporabnik_team", _root.ekipa[0][0][3]);
gotoAndPlay (120);
}
Symbol 290 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 0);
Set("_root:team", 2);
Set("_root:uporabnik_team", _root.ekipa[0][0][2]);
gotoAndPlay (120);
}
Symbol 293 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 0);
Set("_root:team", 1);
Set("_root:uporabnik_team", _root.ekipa[0][0][1]);
gotoAndPlay (120);
}
Symbol 296 Button
on (release) {
((undefined <= b) > "c") || (0(false));
Set("_root:skupina", 0);
Set("_root:team", 0);
Set("_root:uporabnik_team", _root.ekipa[0][0][0]);
gotoAndPlay (120);
}
Symbol 343 Button
on (release) {
gotoAndPlay (135);
}
Symbol 350 MovieClip Frame 1
stop();
Symbol 350 MovieClip Frame 55
((undefined <= b) > "c") || (0(false));
tellTarget ("_root.reset") {
call("reset");
};
tellTarget ("_root") {
gotoAndPlay ("prehod");
};
Symbol 351 MovieClip Frame 1
stop();
Symbol 351 MovieClip Frame 5
((undefined <= b) > "c") || (0(false));
stevec = 1;
while (stevec < _root:golmanMax) {
if (stevec != _root:izbrani) {
setProperty("_root.golman" + stevec, _x , 0);
setProperty("_root.golman" + stevec, _y , 525);
}
stevec++;
}
setProperty("_root.golman" + _root:izbrani, _x , 242.5);
setProperty("_root.golman" + _root:izbrani, _y , 145);
tellTarget (eval ("_root.golman" + _root:izbrani)) {
gotoAndPlay ("pripravljen");
};
Set("_root:golman_x", 242.5);
Set("_root:golman_y", 145);
Symbol 375 MovieClip Frame 9
gotoAndPlay (1);
Symbol 375 MovieClip Frame 12
stop();
Symbol 375 MovieClip Frame 21
stop();
Symbol 375 MovieClip Frame 26
stop();
Symbol 375 MovieClip Frame 45
stop();
Symbol 375 MovieClip Frame 60
stop();
Symbol 375 MovieClip Frame 72
if (_root:posevno == 1) {
stop();
}
Symbol 375 MovieClip Frame 76
stop();
Symbol 375 MovieClip Frame 94
if (_root:posevno == 1) {
stop();
}
Symbol 375 MovieClip Frame 98
stop();
Symbol 420 MovieClip Frame 9
gotoAndPlay (1);
Symbol 420 MovieClip Frame 12
stop();
Symbol 420 MovieClip Frame 21
stop();
Symbol 420 MovieClip Frame 26
stop();
Symbol 420 MovieClip Frame 45
stop();
Symbol 420 MovieClip Frame 61
stop();
Symbol 420 MovieClip Frame 72
if (_root:posevno == 1) {
stop();
}
Symbol 420 MovieClip Frame 76
stop();
Symbol 420 MovieClip Frame 94
if (_root:posevno == 1) {
stop();
}
Symbol 420 MovieClip Frame 98
stop();
Symbol 472 MovieClip Frame 9
gotoAndPlay (1);
Symbol 472 MovieClip Frame 12
stop();
Symbol 472 MovieClip Frame 21
stop();
Symbol 472 MovieClip Frame 26
stop();
Symbol 472 MovieClip Frame 45
stop();
Symbol 472 MovieClip Frame 60
stop();
Symbol 472 MovieClip Frame 72
if (_root:posevno == 1) {
stop();
}
Symbol 472 MovieClip Frame 76
stop();
Symbol 472 MovieClip Frame 94
if (_root:posevno == 1) {
stop();
}
Symbol 472 MovieClip Frame 98
stop();
Symbol 521 MovieClip Frame 9
gotoAndPlay (1);
Symbol 521 MovieClip Frame 12
stop();
Symbol 521 MovieClip Frame 21
stop();
Symbol 521 MovieClip Frame 26
stop();
Symbol 521 MovieClip Frame 45
stop();
Symbol 521 MovieClip Frame 60
stop();
Symbol 521 MovieClip Frame 72
if (_root:posevno == 1) {
stop();
}
Symbol 521 MovieClip Frame 76
stop();
Symbol 521 MovieClip Frame 94
if (_root:posevno == 1) {
stop();
}
Symbol 521 MovieClip Frame 98
stop();
Symbol 522 Button
on (press) {
((undefined <= b) > "c") || (0(false));
if (!_root:kicked) {
Set("_root:moc", 0);
tellTarget ("_root.moc") {
gotoAndPlay ("zalet");
};
tellTarget ("_root.vleci") {
gotoAndPlay ("vleci");
};
}
}
on (release) {
((undefined <= b) > "c") || (0(false));
if (!_root:kicked) {
Set("_root:kicked", 1);
tellTarget ("_root.moc") {
gotoAndStop ("stop");
};
tellTarget ("_root.vleci") {
gotoAndStop ("stop");
};
strel.start(0, 1);
Set("_root:target_x", getProperty(_root.nitnik, _x) + (2 * ((_root:moc * _root.random:delta_r) * Math.cos((Math.PI*2) * _root.random:delta_alpha))));
Set("_root:target_y", getProperty(_root.nitnik, _y) + (2 * ((_root:moc * _root.random:delta_r) * Math.sin((Math.PI*2) * _root.random:delta_alpha))));
if (_root:target_y > 195) {
Set("_root:target_y", 195);
}
Set("_root:zoga_x", getProperty(eval ("_root.zoga" + _root:zoga), _x));
Set("_root:zoga_y", getProperty(eval ("_root.zoga" + _root:zoga), _y));
Set("_root:delta_x", _root:target_x - _root:zoga_x);
Set("_root:delta_y", _root:target_y - _root:zoga_y);
Set("_root:skok_x", _root:target_x - _root:golman_x);
Set("_root:skok_y", _root:target_y - _root:golman_y);
Set("_root.brcni:k", 1);
Set("_root:skoci_n", Math.ceil(Math.abs(_root:skok_x / _root.level:level[2][5 - _root:level])));
Set("_root:golman_h", 195 - _root:target_y);
Set("_root:golman_l", ((195 - _root:target_y) * (_root:target_x - 225)) / 200);
Set("_root:golman_pade_n", Math.ceil(Math.abs((_root:golman_h * 0.5) / _root.level:level[2][5 - _root:level])));
Set("_root:niz", (_root:niz + "**Moc:") + _root:moc);
tellTarget ("_root.brcni") {
gotoAndPlay ("brcni");
};
tellTarget ("_root.odloci") {
gotoAndPlay ("odloci");
};
}
}
Symbol 524 MovieClip Frame 1
stop();
Symbol 524 MovieClip Frame 55
((undefined <= b) > "c") || (0(false));
Set("_root:moc", 0);
Set("_root.brcni:n", 0);
Set("_root:zogapristala", 0);
Set("_root:zoga", 0);
_root:prehod++;
if (_root:prehod > 5) {
if (_root:prehod < 8) {
if (_root:level == 1) {
Set("_root:score", _root:score - 20);
} else if (_root:level == 2) {
Set("_root:score", _root:score - 40);
} else if (_root:level == 3) {
Set("_root:score", _root:score - 80);
} else if (_root:level == 4) {
Set("_root:score", _root:score - 160);
}
} else if (_root:level == 1) {
Set("_root:score", _root:score - 30);
} else if (_root:level == 2) {
Set("_root:score", _root:score - 50);
} else if (_root:level == 3) {
Set("_root:score", _root:score - 90);
} else if (_root:level == 4) {
Set("_root:score", _root:score - 170);
}
}
tellTarget ("_root.zoga_vrokavici") {
gotoAndStop ("stop");
};
tellTarget ("_root.moc") {
gotoAndStop ("stop");
};
tellTarget ("_root.zoga0") {
gotoAndStop ("zoom");
};
setProperty("_root.zoga0", _visible , 1);
setProperty("_root.zoga1", _visible , 0);
setProperty("_root.zoga2", _visible , 0);
setProperty("_root.zoga0", _x , 242.5);
setProperty("_root.zoga0", _y , 285);
setProperty("_root.zoga0", _xscale , 100);
setProperty("_root.zoga0", _yscale , 100);
if (((_root:rezultat1 >= 5) && (_root:rezultat2 != _root:rezultat1)) || ((_root:rezultat2 >= 5) && (_root:rezultat2 != _root:rezultat1))) {
Set("_root:rslt_usr" + _root:level, _root:rezultat1);
Set("_root:rslt_rac" + _root:level, _root:rezultat2);
Set("_root:prehod" + _root:level, _root:prehod);
Set("_root:niz", (((((_root:niz + "**Rez:") + _root:rezultat1) + ":") + _root:rezultat2) + "Preh:") + _root:prehod);
Set("_root:stopnja", _root:level);
if (_root:rezultat2 > _root:rezultat1) {
Set("_root:rezultat1", 0);
Set("_root:rezultat2", 0);
tellTarget ("_root") {
gotoAndPlay ("prehod_br-vpis");
};
} else if (_root:level == 1) {
Set("_root:score", _root:score + 250);
if ((_root:rezultat1 == 5) && (_root:rezultat2 == 0)) {
Set("_root:score", _root:score + 200);
}
Set("_root:rezultat1", 0);
Set("_root:rezultat2", 0);
tellTarget ("_root") {
gotoAndPlay ("prehod_br-dr_cetrtina");
};
} else if (_root:level == 2) {
Set("_root:score", _root:score + 500);
if ((_root:rezultat1 == 5) && (_root:rezultat2 == 0)) {
Set("_root:score", _root:score + 500);
}
Set("_root:rezultat1", 0);
Set("_root:rezultat2", 0);
tellTarget ("_root") {
gotoAndPlay ("prehod_br-dr_polfinale");
};
} else if (_root:level == 3) {
Set("_root:score", _root:score + 750);
if ((_root:rezultat1 == 5) && (_root:rezultat2 == 0)) {
Set("_root:score", _root:score + 900);
}
Set("_root:rezultat1", 0);
Set("_root:rezultat2", 0);
tellTarget ("_root") {
gotoAndPlay ("prehod_br-dr_finale");
};
} else if (_root:level == 4) {
Set("_root:score", _root:score + 1000);
if ((_root:rezultat1 == 5) && (_root:rezultat2 == 0)) {
Set("_root:score", _root:score + 1400);
}
tellTarget ("_root") {
gotoAndPlay ("prehod_br-alien");
};
}
} else {
tellTarget ("_root") {
gotoAndPlay ("prehod_br-st");
};
}
Symbol 531 Button
on (release) {
((undefined <= b) > "c") || (0(false));
if (_root:zalet == 0) {
gotoAndPlay (533);
}
}
Symbol 584 MovieClip Frame 1
stop();
Symbol 584 MovieClip Frame 8
stop();
Symbol 584 MovieClip Frame 18
gotoAndPlay (1);
Symbol 584 MovieClip Frame 44
stop();
Symbol 584 MovieClip Frame 59
stop();
Symbol 584 MovieClip Frame 72
stop();
Symbol 584 MovieClip Frame 78
gotoAndPlay (1);
Symbol 584 MovieClip Frame 86
stop();
Symbol 584 MovieClip Frame 94
gotoAndPlay (1);
Symbol 591 MovieClip Frame 1
stop();
Symbol 591 MovieClip Frame 55
((undefined <= b) > "c") || (0(false));
Set("_root:moc", 0);
Set("_root.brcni:n", 0);
Set("_root:zogapristala", 0);
Set("_root:posevno", 0);
Set("_root:zoga", 0);
stopDrag();
tellTarget ("_root.moc") {
gotoAndStop ("stop");
};
tellTarget ("_root.zoga0") {
gotoAndStop ("zoom");
};
setProperty("_root.zoga0", _visible , 1);
setProperty("_root.zoga1", _visible , 0);
setProperty("_root.zoga2", _visible , 0);
setProperty("_root.zoga0", _x , 242.5);
setProperty("_root.zoga0", _y , 285);
setProperty("_root.zoga0", _xscale , 100);
setProperty("_root.zoga0", _yscale , 100);
if ((_root:level != 0) && (_root:level != 5)) {
}
Mouse.show();
tellTarget ("_root") {
gotoAndPlay ("prehod_alien");
};
Symbol 592 MovieClip Frame 1
stop();
k = 1;
Symbol 592 MovieClip Frame 6
((undefined <= b) > "c") || (0(false));
if (k <= _root:skoci_n) {
Xt = _root:golman_x + ((k * _root:premik_x) / _root:skoci_n);
setProperty(eval ("_root.golman" + _root:izbrani), _x , Xt);
if (_root:nazaj == 0) {
setProperty(eval (((("_root.golman" + _root:izbrani) + ".") + _root:stran) + "roka"), _rotation , (k * _root:zasuk_dms) / _root:skoci_n);
} else if (_root:nazaj == 1) {
setProperty(eval (((("_root.golman" + _root:izbrani) + ".") + _root:stran) + "roka"), _rotation , ((_root:skoci_n - k) * _root:zasuk_dms) / _root:skoci_n);
}
k++;
play();
} else {
k = 1;
gotoAndStop (1);
}
Symbol 592 MovieClip Frame 7
((undefined <= b) > "c") || (0(false));
if (k <= _root:skoci_n) {
Xt = _root:golman_x + ((k * _root:premik_x) / _root:skoci_n);
setProperty(eval ("_root.golman" + _root:izbrani), _x , Xt);
if (_root:nazaj == 0) {
setProperty(eval (((("_root.golman" + _root:izbrani) + ".") + _root:stran) + "roka"), _rotation , (k * _root:zasuk_dms) / _root:skoci_n);
} else if (_root:nazaj == 1) {
setProperty(eval (((("_root.golman" + _root:izbrani) + ".") + _root:stran) + "roka"), _rotation , ((_root:skoci_n - k) * _root:zasuk_dms) / _root:skoci_n);
}
k++;
gotoAndPlay (6);
} else {
k = 1;
gotoAndStop (1);
}
Symbol 600 Button
on (press) {
((undefined <= b) > "c") || (0(false));
if (!_root:kicked) {
Set("_root:moc", 0);
tellTarget ("_root.moc") {
gotoAndPlay ("zalet");
};
tellTarget ("_root.vleci") {
gotoAndPlay ("vleci");
};
}
}
on (release) {
((undefined <= b) > "c") || (0(false));
if (!_root:kicked) {
Set("_root:kicked", 1);
tellTarget ("_root.moc") {
gotoAndStop ("stop");
};
tellTarget ("_root.vleci") {
gotoAndStop ("stop");
};
_root.strel.start(0, 1);
Set("_root:target_x", getProperty(_root.nitnik, _x) + (2 * ((_root:moc * _root.random:delta_r) * Math.cos((Math.PI*2) * _root.random:delta_alpha))));
Set("_root:target_y", getProperty(_root.nitnik, _y) + (2 * ((_root:moc * _root.random:delta_r) * Math.sin((Math.PI*2) * _root.random:delta_alpha))));
if (_root:target_y > 195) {
Set("_root:target_y", 195);
}
Set("_root:zoga_x", getProperty(eval ("_root.zoga" + _root:zoga), _x));
Set("_root:zoga_y", getProperty(eval ("_root.zoga" + _root:zoga), _y));
Set("_root:delta_y_roka", (_root:target_y - getProperty(eval ("_root.golman" + _root:izbrani), _y)) + 5);
Set("_root:kvocient", _root:delta_y_roka / 50);
if (_root:kvocient > 1) {
Set("_root:kvocient", 1);
} else if (_root:kvocient < -1) {
Set("_root:kvocient", -1);
}
Set("_root:zasuk_dms", (Math.asin(_root:kvocient) * 180) / Math.PI);
Set("_root:delta_x_roka", Math.sqrt(Math.abs(2500 - Math.pow(Math.abs(_root:delta_y_roka), 2))));
Set("_root:nazaj", 0);
if (_root:target_x <= 252) {
Set("_root:stran", "L");
Set("_root:premik_x", ((_root:target_x + _root:delta_x_roka) - _root:golman_x) + 15);
Set("_root:zasuk_dms", -_root:zasuk_dms);
} else if ((_root:target_x > 252) && (_root:target_x < 332)) {
Set("_root:stran", "N");
Set("_root:premik_x", _root:target_x - _root:golman_x);
Set("_root:zasuk_dms", 0);
} else {
Set("_root:stran", "D");
Set("_root:premik_x", ((_root:target_x - _root:delta_x_roka) - _root:golman_x) - 15);
}
Set("_root:delta_x", _root:target_x - _root:zoga_x);
Set("_root:delta_y", _root:target_y - _root:zoga_y);
Set("_root:skok_x", _root:target_x - _root:golman_x);
Set("_root:skok_y", _root:target_y - _root:golman_y);
Set("_root.brcni:k", 1);
Set("_root:skoci_n", Math.ceil(Math.abs(_root:premik_x / _root.level:level[2][5 - _root:level])));
tellTarget ("_root.brcni") {
gotoAndPlay ("brcni");
};
tellTarget ("_root.odloci") {
gotoAndPlay ("odloci");
};
}
}
Symbol 606 MovieClip Frame 1
stop();
Symbol 606 MovieClip Frame 55
((undefined <= b) > "c") || (0(false));
Set("_root:moc", 0);
Set("_root.brcni:n", 0);
Set("_root:zogapristala", 0);
Set("_root:zoga", 0);
tellTarget ("_root.zoga_vrokavici") {
gotoAndStop ("stop");
};
tellTarget ("_root.moc") {
gotoAndStop ("stop");
};
tellTarget ("_root.zoga0") {
gotoAndStop ("zoom");
};
setProperty("_root.zoga0", _visible , 1);
setProperty("_root.zoga1", _visible , 0);
setProperty("_root.zoga2", _visible , 0);
setProperty("_root.zoga0", _x , 242.5);
setProperty("_root.zoga0", _y , 285);
setProperty("_root.zoga0", _xscale , 100);
setProperty("_root.zoga0", _yscale , 100);
if (((_root:rezultat1 >= 5) && (_root:rezultat2 != _root:rezultat1)) || ((_root:rezultat2 >= 5) && (_root:rezultat2 != _root:rezultat1))) {
Set("_root:rslt_usr" + _root:level, _root:rezultat1);
Set("_root:rslt_rac" + _root:level, _root:rezultat2);
Set("_root:prehod" + _root:level, _root:prehod);
Set("_root:niz", (((((_root:niz + "**Rez:") + _root:rezultat1) + ":") + _root:rezultat2) + "Preh:") + _root:prehod);
Set("_root:stopnja", _root:level);
if (_root:rezultat2 > _root:rezultat1) {
tellTarget ("_root") {
gotoAndPlay ("prehod_br_alien-vpis");
};
} else {
tellTarget ("_root") {
gotoAndPlay ("prehod_br_alien-vpis");
};
Set("_root:score", _root:score + 2500);
if ((_root:rezultat1 == 5) && (_root:rezultat2 == 0)) {
Set("_root:score", _root:score + 4000);
}
}
Set("_root:rezultat1", 0);
Set("_root:rezultat2", 0);
} else {
tellTarget ("_root") {
gotoAndPlay ("prehod_br_alien");
};
}
Symbol 613 Button
on (release) {
((undefined <= b) > "c") || (0(false));
if (_root:zalet == 0) {
gotoAndPlay (821);
}
}
Symbol 624 Button
on (release) {
Set("_root:email", (_root:email1 + "@") + _root:email2);
if ((!email.length) || (email != " ")) {
loadVariablesNum ("http://www.oxylus.si/kickoff/getmail.asp", 0, "POST");
}
gotoAndPlay (882);
}
Symbol 630 Button
on (press) {
gotoAndPlay (883);
}
Symbol 636 Button
on (press) {
gotoAndPlay (917);
}