Frame 1
stop();
Frame 10
pp_s = new Sound();
pp_s.attachSound("pp");
pp_s.stop();
p2_s = new Sound();
p2_s.attachSound("p2");
p2_s.stop();
p4_s = new Sound();
p4_s.attachSound("p4");
p4_s.stop();
p1_s = new Sound();
p1_s.attachSound("p1");
p1_s.stop();
function shar_b() {
do {
sh = Math.floor(Math.random() * 4);
} while ((sh == 0) or (sh == 4));
if (sh == 1) {
a[1] = 1;
} else if (sh == 2) {
b[1] = 1;
} else if (sh == 3) {
c[1] = 1;
}
duplicateMovieClip ("sharik", "sharik_d", 1);
setProperty("sharik_d", _x , 166 + (83 * sh));
setProperty("sharik_d", _y , 271);
sh1 = sh;
}
stop();
a = new Array();
b = new Array();
c = new Array();
a[0] = 1;
b[0] = 2;
c[0] = 3;
a[1] = 0;
b[1] = 0;
c[1] = 0;
sh = 0;
sh1 = 0;
sh2 = 0;
sum = 0;
sum_gl = 500;
f_p = new Array();
ar = 0;
f_fl = 1;
st = 0;
str._alpha = 50;
flag = 1;
flag2 = 0;
duplicateMovieClip ("mgl1", "mgl1_d", 2);
setProperty("mgl1_d", _x , 0);
setProperty("mgl1_d", _y , 0);
duplicateMovieClip ("mgl2", "mgl2_d", 3);
setProperty("mgl2_d", _x , 0);
setProperty("mgl2_d", _y , 0);
duplicateMovieClip ("mgl3", "mgl3_d", 4);
setProperty("mgl3_d", _x , 0);
setProperty("mgl3_d", _y , 0);
setProperty("t1", _alpha , 40);
setProperty("t2", _alpha , 40);
setProperty("t3", _alpha , 40);
setProperty("t4", _alpha , 40);
setProperty("t5", _alpha , 40);
setProperty("t6", _alpha , 40);
removeMovieClip("suml_d");
ss = "Off";
sou = 1;
Frame 15
stop();
removeMovieClip("sh_d");
a = new Array();
b = new Array();
c = new Array();
a[0] = 1;
b[0] = 2;
c[0] = 3;
a[1] = 0;
b[1] = 0;
c[1] = 0;
sh = 0;
sh2 = 0;
f_p = new Array();
ar = 0;
f_fl = 1;
st = 0;
str._alpha = 50;
flag = 1;
flag2 = 0;
duplicateMovieClip ("mgl1", "mgl1_d", 2);
setProperty("mgl1_d", _x , 0);
setProperty("mgl1_d", _y , 0);
duplicateMovieClip ("mgl2", "mgl2_d", 3);
setProperty("mgl2_d", _x , 0);
setProperty("mgl2_d", _y , 0);
duplicateMovieClip ("mgl3", "mgl3_d", 4);
setProperty("mgl3_d", _x , 0);
setProperty("mgl3_d", _y , 0);
setProperty("t1", _alpha , 40);
setProperty("t2", _alpha , 40);
setProperty("t3", _alpha , 40);
setProperty("t4", _alpha , 40);
setProperty("t5", _alpha , 40);
setProperty("t6", _alpha , 40);
removeMovieClip("suml_d");
Frame 20
stop();
if (sh1 != 0) {
sh = sh1;
} else {
do {
sh = Math.floor(Math.random() * 4);
} while ((sh == 0) or (sh == 4));
sh1 = sh;
}
duplicateMovieClip ("sharik", "sharik_d", 1);
setProperty("sharik_d", _x , 166 + (83 * sh));
setProperty("sharik_d", _y , 271);
removeMovieClip("mgl1_d");
removeMovieClip("mgl2_d");
removeMovieClip("mgl3_d");
duplicateMovieClip ("mgl1", "mgl1_d", 2);
setProperty("mgl1_d", _x , 0);
setProperty("mgl1_d", _y , 0);
duplicateMovieClip ("mgl2", "mgl2_d", 3);
setProperty("mgl2_d", _x , 0);
setProperty("mgl2_d", _y , 0);
duplicateMovieClip ("mgl3", "mgl3_d", 4);
setProperty("mgl3_d", _x , 0);
setProperty("mgl3_d", _y , 0);
Frame 30
stop();
if (flag == 1) {
if (sou == 1) {
pp_s.start();
}
removeMovieClip("sharik_d");
removeMovieClip("mgl1_d");
removeMovieClip("mgl2_d");
removeMovieClip("mgl3_d");
}
if (flag < 44) {
do {
w = Math.floor(Math.random() * 29);
} while ((w == 0) or (w == 29));
gotoAndPlay (35);
} else {
gotoAndStop (40);
}
Frame 35
stop();
flag = flag + 1;
duplicateMovieClip ("mm" + String(w), ("mm" + String(w)) + "_d", 2);
setProperty(("mm" + String(w)) + "_d", _x , 0);
setProperty(("mm" + String(w)) + "_d", _y , 0);
Frame 40
stop();
pp_s.stop();
duplicateMovieClip ("sharik", "sharik_d", 1);
setProperty("sharik_d", _x , 166 + (82 * sh1));
setProperty("sharik_d", _y , 271);
duplicateMovieClip ("mkm1", "mkm1_d", 2);
setProperty("mkm1_d", _x , 194.9);
setProperty("mkm1_d", _y , 188);
duplicateMovieClip ("mkm2", "mkm2_d", 3);
setProperty("mkm2_d", _x , 274.9);
setProperty("mkm2_d", _y , 188);
duplicateMovieClip ("mkm3", "mkm3_d", 4);
setProperty("mkm3_d", _x , 354.9);
setProperty("mkm3_d", _y , 188);
Frame 45
flag2 = 1;
duplicateMovieClip ("mgl1", "mgl1_d", 2);
setProperty("mgl1_d", _x , 0);
setProperty("mgl1_d", _y , 0);
duplicateMovieClip ("mgl2", "mgl2_d", 3);
setProperty("mgl2_d", _x , 0);
setProperty("mgl2_d", _y , 0);
duplicateMovieClip ("mgl3", "mgl3_d", 4);
setProperty("mgl3_d", _x , 0);
setProperty("mgl3_d", _y , 0);
Frame 50
flag2 = 2;
if (sh == sh1) {
sum_gl = sum_gl + (sum * 2);
sum = 0;
gotoAndStop (15);
} else {
sum = 0;
sh = sh1;
removeMovieClip("mgl1_d");
removeMovieClip("mgl2_d");
removeMovieClip("mgl3_d");
duplicateMovieClip ("mgl1", "mgl1_d", 2);
setProperty("mgl1_d", _x , 0);
setProperty("mgl1_d", _y , 0);
duplicateMovieClip ("mgl2", "mgl2_d", 3);
setProperty("mgl2_d", _x , 0);
setProperty("mgl2_d", _y , 0);
duplicateMovieClip ("mgl3", "mgl3_d", 4);
setProperty("mgl3_d", _x , 0);
setProperty("mgl3_d", _y , 0);
}
Symbol 22 MovieClip Frame 1
stop();
Symbol 23 MovieClip Frame 1
n = 0;
Symbol 23 MovieClip Frame 2
n = _root.getBytesLoaded() / _root.getBytesTotal();
fr = Math.floor(n * 28);
_root.yel.gotoAndStop(fr);
b = 100 * n;
if (10 < b) {
setProperty(_root.fish, _alpha , b);
setProperty(_root.caps, _alpha , 10 / n);
}
_root.pr = Math.floor(n * 100);
if (n == 1) {
_root.gotoAndPlay(10);
}
Symbol 23 MovieClip Frame 3
gotoAndPlay (2);
Symbol 34 Button
on (release) {
if ((sum_gl >= 1) and (f_fl == 1)) {
duplicateMovieClip ("ff1", "ff1_d", 5);
setProperty("ff1_d", _x , 40);
setProperty("ff1_d", _y , 260);
sum = sum + 1;
sum_gl = sum_gl - 1;
f_p[ar] = 1;
ar = ar + 1;
if (st == 0) {
st = 1;
str._alpha = 100;
}
}
}
Symbol 38 Button
on (release) {
if ((sum_gl >= 5) and (f_fl == 1)) {
duplicateMovieClip ("ff2", "ff2_d", 5);
setProperty("ff2_d", _x , 20);
setProperty("ff2_d", _y , 280);
sum = sum + 5;
sum_gl = sum_gl - 5;
f_p[ar] = 5;
ar = ar + 1;
if (st == 0) {
st = 1;
str._alpha = 100;
}
}
}
Symbol 42 Button
on (release) {
if ((sum_gl >= 25) and (f_fl == 1)) {
duplicateMovieClip ("ff3", "ff3_d", 5);
setProperty("ff3_d", _x , 40);
setProperty("ff3_d", _y , 280);
sum = sum + 25;
sum_gl = sum_gl - 25;
f_p[ar] = 25;
ar = ar + 1;
if (st == 0) {
st = 1;
str._alpha = 100;
}
}
}
Symbol 46 Button
on (release) {
if ((sum_gl >= 100) and (f_fl == 1)) {
duplicateMovieClip ("ff4", "ff4_d", 5);
setProperty("ff4_d", _x , 60);
setProperty("ff4_d", _y , 300);
sum = sum + 100;
sum_gl = sum_gl - 100;
f_p[ar] = 100;
ar = ar + 1;
if (st == 0) {
st = 1;
str._alpha = 100;
}
}
}
Symbol 50 Button
on (release) {
if ((sum_gl >= 500) and (f_fl == 1)) {
duplicateMovieClip ("ff5", "ff5_d", 5);
setProperty("ff5_d", _x , 100);
setProperty("ff5_d", _y , 360);
sum = sum + 500;
sum_gl = sum_gl - 500;
f_p[ar] = 500;
ar = ar + 1;
if (st == 0) {
st = 1;
str._alpha = 100;
}
}
}
Symbol 54 Button
on (release) {
if ((0 < ar) and (f_fl == 1)) {
fp = f_p.pop();
sum = sum - fp;
sum_gl = sum_gl + fp;
ar = ar - 1;
if (sum == 0) {
st = 0;
str._alpha = 50;
}
}
}
Symbol 55 MovieClip Frame 1
if (_root.sou == 1) {
_root.p1_s.start();
}
Symbol 55 MovieClip Frame 12
stop();
_root.p1_s.stop();
Symbol 56 MovieClip Frame 1
if (_root.sou == 1) {
_root.p1_s.start();
}
Symbol 56 MovieClip Frame 12
stop();
_root.p1_s.stop();
Symbol 57 MovieClip Frame 1
if (_root.sou == 1) {
_root.p1_s.start();
}
Symbol 57 MovieClip Frame 12
stop();
_root.p1_s.stop();
Symbol 58 MovieClip Frame 1
if (_root.sou == 1) {
_root.p1_s.start();
}
Symbol 58 MovieClip Frame 12
stop();
_root.p1_s.stop();
Symbol 59 MovieClip Frame 1
if (_root.sou == 1) {
_root.p1_s.start();
}
Symbol 59 MovieClip Frame 12
stop();
_root.p1_s.stop();
Symbol 76 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 2) {
_root.sh1 = 3;
} else if (_root.sh1 == 3) {
_root.sh1 = 2;
}
_root.gotoAndPlay(30);
}
Symbol 77 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh == 2) {
_root.sh = 3;
} else if (_root.sh == 3) {
_root.sh = 2;
}
_root.gotoAndStop(30);
}
Symbol 78 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 2;
} else if (_root.sh1 == 2) {
_root.sh1 = 3;
} else if (_root.sh1 == 3) {
_root.sh1 = 1;
}
_root.gotoAndPlay(30);
}
Symbol 79 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 2;
} else if (_root.sh1 == 2) {
_root.sh1 = 3;
} else if (_root.sh1 == 3) {
_root.sh1 = 1;
}
_root.gotoAndPlay(30);
}
Symbol 80 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 2;
} else if (_root.sh1 == 2) {
_root.sh1 = 3;
} else if (_root.sh1 == 3) {
_root.sh1 = 1;
}
_root.gotoAndPlay(30);
}
Symbol 81 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 2;
} else if (_root.sh1 == 2) {
_root.sh1 = 3;
} else if (_root.sh1 == 3) {
_root.sh1 = 1;
}
_root.gotoAndPlay(30);
}
Symbol 82 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 2) {
_root.sh1 = 3;
} else if (_root.sh1 == 3) {
_root.sh1 = 2;
}
_root.gotoAndPlay(30);
}
Symbol 83 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 2) {
_root.sh1 = 3;
} else if (_root.sh1 == 3) {
_root.sh1 = 2;
}
_root.gotoAndPlay(30);
}
Symbol 84 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 2;
} else if (_root.sh1 == 2) {
_root.sh1 = 3;
} else if (_root.sh1 == 3) {
_root.sh1 = 1;
}
_root.gotoAndPlay(30);
}
Symbol 85 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 2;
} else if (_root.sh1 == 2) {
_root.sh1 = 3;
} else if (_root.sh1 == 3) {
_root.sh1 = 1;
}
_root.gotoAndPlay(30);
}
Symbol 86 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 2;
} else if (_root.sh1 == 2) {
_root.sh1 = 3;
} else if (_root.sh1 == 3) {
_root.sh1 = 1;
}
_root.gotoAndPlay(30);
}
Symbol 87 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 2;
} else if (_root.sh1 == 2) {
_root.sh1 = 3;
} else if (_root.sh1 == 3) {
_root.sh1 = 1;
}
_root.gotoAndPlay(30);
}
Symbol 88 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 3;
} else if (_root.sh1 == 2) {
_root.sh1 = 1;
} else if (_root.sh1 == 3) {
_root.sh1 = 2;
}
_root.gotoAndPlay(30);
}
Symbol 89 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 3;
} else if (_root.sh1 == 2) {
_root.sh1 = 1;
} else if (_root.sh1 == 3) {
_root.sh1 = 2;
}
_root.gotoAndPlay(30);
}
Symbol 90 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 3;
} else if (_root.sh1 == 2) {
_root.sh1 = 1;
} else if (_root.sh1 == 3) {
_root.sh1 = 2;
}
_root.gotoAndPlay(30);
}
Symbol 91 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 3;
} else if (_root.sh1 == 2) {
_root.sh1 = 1;
} else if (_root.sh1 == 3) {
_root.sh1 = 2;
}
_root.gotoAndPlay(30);
}
Symbol 92 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 2;
} else if (_root.sh1 == 2) {
_root.sh1 = 1;
}
_root.gotoAndPlay(30);
}
Symbol 93 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 2;
} else if (_root.sh1 == 2) {
_root.sh1 = 1;
}
_root.gotoAndPlay(30);
}
Symbol 94 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 2) {
_root.sh1 = 3;
} else if (_root.sh1 == 3) {
_root.sh1 = 2;
}
_root.gotoAndPlay(30);
}
Symbol 95 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 2) {
_root.sh1 = 3;
} else if (_root.sh1 == 3) {
_root.sh1 = 2;
}
_root.gotoAndPlay(30);
}
Symbol 96 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 3;
} else if (_root.sh1 == 2) {
_root.sh1 = 1;
} else if (_root.sh1 == 3) {
_root.sh1 = 2;
}
_root.gotoAndPlay(30);
}
Symbol 97 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 3;
} else if (_root.sh1 == 2) {
_root.sh1 = 1;
} else if (_root.sh1 == 3) {
_root.sh1 = 2;
}
_root.gotoAndPlay(30);
}
Symbol 98 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 3;
} else if (_root.sh1 == 2) {
_root.sh1 = 1;
} else if (_root.sh1 == 3) {
_root.sh1 = 2;
}
_root.gotoAndPlay(30);
}
Symbol 99 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 3;
} else if (_root.sh1 == 2) {
_root.sh1 = 1;
} else if (_root.sh1 == 3) {
_root.sh1 = 2;
}
_root.gotoAndPlay(30);
}
Symbol 100 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 2;
} else if (_root.sh1 == 2) {
_root.sh1 = 1;
}
_root.gotoAndPlay(30);
}
Symbol 101 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 1) {
_root.sh1 = 2;
} else if (_root.sh1 == 2) {
_root.sh1 = 1;
}
_root.gotoAndPlay(30);
}
Symbol 102 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 2) {
_root.sh1 = 3;
} else if (_root.sh1 == 3) {
_root.sh1 = 2;
}
_root.gotoAndPlay(30);
}
Symbol 103 MovieClip Frame 6
stop();
if (1 < _root.flag) {
m = ("mm" + String(w)) + "_d";
removeMovieClip(_root.m);
if (_root.sh1 == 2) {
_root.sh1 = 3;
} else if (_root.sh1 == 3) {
_root.sh1 = 2;
}
_root.gotoAndPlay(30);
}
Symbol 104 MovieClip Frame 1
if (_root.sh == 1) {
if (_root.sou == 1) {
_root.p2_s.start();
}
play();
} else {
stop();
}
Symbol 104 MovieClip Frame 25
if (_root.flag2 == 0) {
_root.gotoAndStop(30);
} else if (_root.flag2 == 1) {
_root.gotoAndStop(50);
} else if (_root.flag2 == 2) {
_root.gotoAndStop(15);
}
Symbol 105 MovieClip Frame 1
if (_root.sh == 2) {
if (_root.sou == 1) {
_root.p2_s.start();
}
play();
} else {
stop();
}
Symbol 105 MovieClip Frame 25
if (_root.flag2 == 0) {
_root.gotoAndStop(30);
} else if (_root.flag2 == 1) {
_root.gotoAndStop(50);
} else if (_root.flag2 == 2) {
_root.gotoAndStop(15);
}
Symbol 106 MovieClip Frame 1
if (_root.sh == 3) {
if (_root.sou == 1) {
_root.p2_s.start();
}
play();
} else {
stop();
}
Symbol 106 MovieClip Frame 25
if (_root.flag2 == 0) {
_root.gotoAndStop(30);
} else if (_root.flag2 == 1) {
_root.gotoAndStop(50);
} else if (_root.flag2 == 2) {
_root.gotoAndStop(15);
}
Symbol 112 Button
on (release) {
if (_root.st == 1) {
_root.f_fl = 0;
_root.st = 0;
_root.str._alpha = 50;
_root.gotoAndPlay(20);
}
}
Symbol 129 Button
on (release) {
if (sou == 1) {
ss = "On";
sou = 0;
} else {
ss = "Off";
sou = 1;
}
}
Symbol 133 Button
on (release) {
gotoAndPlay (10);
}
Symbol 134 Button
on (release) {
_root.sh = 1;
removeMovieClip(_root.mkm1_d);
removeMovieClip(_root.mkm2_d);
removeMovieClip(_root.mkm3_d);
_root.gotoAndStop(45);
}
Symbol 136 Button
on (release) {
_root.sh = 2;
removeMovieClip(_root.mkm1_d);
removeMovieClip(_root.mkm2_d);
removeMovieClip(_root.mkm3_d);
_root.gotoAndStop(45);
}
Symbol 138 Button
on (release) {
_root.sh = 3;
removeMovieClip(_root.mkm1_d);
removeMovieClip(_root.mkm2_d);
removeMovieClip(_root.mkm3_d);
_root.gotoAndStop(45);
}