Combined Code
movieClip 27 l_osv_uron {
frame 2 {
_root.sfx.sfx(24, 0);
}
frame 11 {
this.swapDepths(666);
this.removeMovieClip();
}
}
movieClip 30 m_hint2 {
frame 2 {
if (t > 0) {
--t;
gotoAndPlay(1);
}
}
frame 11 {
stop();
}
}
movieClip 32 m_hint {
frame 2 {
if (t > 0) {
--t;
gotoAndPlay(1);
}
}
frame 11 {
stop();
}
}
movieClip 34 m_RES {
frame 2 {
if (t > 0) {
--t;
gotoAndPlay(1);
}
}
frame 11 {
stop();
}
}
movieClip 36 m_zat {
frame 15 {
_root.onEnterFrame = function () {};
if (_root.pro >= 100 or finalll) {
_root.sfx.sfx(6, 0);
} else {
_root.sfx.sfx(7, 0);
}
_root.nextFrame();
this.removeMovieClip();
}
}
movieClip 37 m_osv {
frame 2 {
_root.win = false;
_root.pro = 0;
_root.prog.gotoAndStop(1);
_root.help_exist = true;
Mouse.show();
}
frame 21 {
this.removeMovieClip();
}
}
movieClip 39 pre_zat {
frame 1 {
tt = 30;
onEnterFrame = function () {
if (tt > 0) {
--tt;
} else {
_root.attachMovie('m_zat', 'm_zat', 3000);
this.removeMovieClip();
}
};
}
}
movieClip 48 dec {
frame 1 {
stop();
}
}
movieClip 53 {
}
movieClip 54 pena {
frame 15 {
stop();
}
}
frame 1 {
function goToThisURL() {
getURL(_root.linkURL, '_blank');
}
stop();
System.security.allowDomain('www.playpink.com');
var lc = new LocalConnection();
_root.gamedomain = lc.domain();
_root.gamename = 'Turtle_Care';
_root.createEmptyMovieClip('temp', 1123);
loadMovie('http://www.playpink.com/partners/connect.swf', temp);
var clickurl = 'http://www.playpink.com/?utm_medium=brandedgames_external&utm_campaign=' + _root.gamename + '&utm_source=' + _root.gamedomain + '&utm_content=ingame&checkpartner=1';
linkURL = clickurl;
var myMenu = new ContextMenu();
var copyright = new ContextMenuItem('!!!PLAY MORE GAMES!!!', goToThisURL);
myMenu.customItems.push(copyright);
myMenu.hideBuiltInItems();
_root.menu = myMenu;
}
button 58 {
on (release) {
getURL(_root.linkURL, '_blank');
}
}
movieClip 60 {
}
movieClip 64 {
}
movieClip 67 {
}
movieClip 68 {
}
movieClip 70 {
}
movieClip 75 {
}
movieClip 76 {
}
movieClip 80 {
}
movieClip 82 {
}
movieClip 84 {
}
movieClip 86 {
}
movieClip 88 {
}
movieClip 90 {
}
movieClip 92 {
}
movieClip 94 {
}
movieClip 100 {
}
movieClip 102 {
}
movieClip 105 {
}
movieClip 107 {
}
movieClip 110 {
}
movieClip 113 {
frame 163 {
stop();
}
}
movieClip 115 {
}
movieClip 119 {
}
movieClip 122 {
}
movieClip 125 {
}
movieClip 127 {
}
// unknown tag 88 length 136
movieClip 131 {
frame 1 {
stop();
}
}
button 132 {
on (release) {
_root.nextFrame();
}
}
movieClip 133 {
frame 2 {
}
frame 169 {
stop();
}
instance of movieClip 131 {
onClipEvent (enterFrame) {
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
_parent.gotoAndPlay(_parent._currentframe + 1);
this.txt.text = 100;
} else {
var pr = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
this.txt.text = pr;
this.gotoAndStop(Math.round(pr * 200 / 100));
}
}
}
frame 190 {
stop();
}
}
frame 2 {
nextFrame();
}
// unknown tag 88 length 219
movieClip 138 {
frame 1 {
stop();
}
}
frame 3 {
nextFrame();
}
frame 4 {
_root.attachMovie('m_osv', 'm_osv', 3000);
}
frame 4 {
pro_plus = function (plus) {
_root.pro += plus;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (win != true) {
if (_root.pro >= 100) {
win = true;
if (timer.time < 12) {
var v2 = timer.time / 12;
} else {
var v2 = 1;
}
_root.score += 100 * v2;
trace(_root.score);
_root.attachMovie('pre_zat', 'pre_zat', 3000);
}
}
};
}
frame 4 {
drag_option = function (id, sp, pridel, spin, zatuh, uskor) {
id.xl = _root._xmouse;
id.sp = sp;
id.pridel = pridel;
id.spin = spin;
id.zatuh = zatuh;
id.uskor = uskor;
};
myDrag = function (id) {
id._x = _xmouse;
id._y = _ymouse;
var v2 = id._x - id.xl;
if (v2 > 0) {
if (id._rotation < id.pridel) {
id._rotation += Math.abs(v2) / id.spin;
}
id.sp = 0;
}
if (v2 < 0) {
if (id._rotation > -id.pridel) {
id._rotation -= Math.abs(v2) / id.spin;
}
id.sp = 0;
}
id.xl = id._x;
var v3 = 0;
v3 = -id._rotation / id.uskor;
if (Math.abs(id._rotation) < 1) {
id._rotation = 0;
v3 = 0;
}
id.sp = (id.sp + v3) / id.zatuh;
id._rotation += id.sp;
};
}
frame 4 {
function rasterizeMovieClip(obj, bdLev) {
var v3 = obj._parent;
var v5 = bdLev || v3.getNextHighestDepth();
var v2 = v3.createEmptyMovieClip(obj._name + 'BD', v5);
var v4 = new flash.display.BitmapData(obj._width, obj._height, true, 0);
v4.draw(obj);
v2.attachBitmap(v4, v2.getNextHighestDepth());
v2._x = obj._x;
v2._y = obj._y;
obj.swapDepths(v3.getNextHighestDepth());
obj.removeMovieClip();
}
stop();
_quality = 'BEST';
qual = 0;
_root.score = 0;
_root.bb = 0;
_global.pdis = function (x1, y1, x2, y2) {
var v3 = x2 - x1;
var v2 = y2 - y1;
var v1 = v3 * v3 + v2 * v2;
v1 = Math.sqrt(v1);
return v1;
};
_global.pdir = function (x1, y1, x2, y2) {
var v4 = x2 - x1;
var v2 = y2 - y1;
var v3 = Math.atan2(v2, v4);
var v1 = v3 * 57.32;
if (v1 < 0) {
v1 += 360;
}
return 360 - v1;
};
_global.choose = function () {
return arguments[random(arguments.length)];
};
_global.mod = function (x) {
if (x > 0) {
return x;
}
x = -x;
return x;
};
_global.nf = function (id) {
id.gotoAndPlay(id._currentframe + 1);
};
my_min = function () {
sorted = true;
changed = false;
temp = 0;
do {
changed = false;
var v2 = 0;
while (v2 < arguments.length - 1) {
if (arguments[v2] > arguments[v2 + 1]) {
temp = arguments[v2];
arguments[v2] = arguments[v2 + 1];
arguments[v2 + 1] = temp;
changed = true;
}
++v2;
}
sorted = !changed;
} while (!sorted);
return arguments[0];
};
}
movieClip 141 {
}
movieClip 143 {
}
// unknown tag 88 length 56
movieClip 146 {
}
instance mus of movieClip 146 {
onClipEvent (load) {
if (_root.music_loaded != true) {
_root.music_loaded = true;
so = new Sound(this);
so.attachSound('so_BG');
so.start(0, 30000);
_root.backsound_play = true;
} else {
so = new Sound(this);
so.attachSound('so_BG');
so.start(0, 30000);
if (_root.backsound_play == false) {
so.setVolume(0);
}
}
}
}
movieClip 148 {
}
instance sfx of movieClip 148 {
onClipEvent (load) {
if (_root.sound_loaded != true) {
_root.sound_loaded = true;
_root.sound_play = true;
}
s1 = new Sound(this);
s1.attachSound('s1_knopki');
s2 = new Sound(this);
s2.attachSound('so_dush');
s3 = new Sound(this);
s3.attachSound('so_fen');
s4 = new Sound(this);
s4.attachSound('s4_drag');
s5 = new Sound(this);
s5.attachSound('s5_drop');
s6 = new Sound(this);
s6.attachSound('swin');
s7 = new Sound(this);
s7.attachSound('s_faild');
s8 = new Sound(this);
s8.attachSound('so_gubka');
s9 = new Sound(this);
s9.attachSound('so_korm');
s10 = new Sound(this);
s10.attachSound('so_korm_suh');
s11 = new Sound(this);
s11.attachSound('so_click');
s12 = new Sound(this);
s12.attachSound('so_pena');
s13 = new Sound(this);
s13.attachSound('so_pilka');
s14 = new Sound(this);
s14.attachSound('so_teret');
s15 = new Sound(this);
s15.attachSound('s9_clock');
s16 = new Sound(this);
s16.attachSound('so_miau');
s17 = new Sound(this);
s17.attachSound('so_ras');
s18 = new Sound(this);
s18.attachSound('so_b1');
s19 = new Sound(this);
s19.attachSound('so_b2');
s20 = new Sound(this);
s20.attachSound('so_b3');
s21 = new Sound(this);
s21.attachSound('so_b4');
s22 = new Sound(this);
s22.attachSound('so_b5');
s23 = new Sound(this);
s23.attachSound('so_b6');
s24 = new Sound(this);
s24.attachSound('s_uron');
SFX = [[0, 0], [s1, 0], [s2, 0], [s3, 0], [s4, 0], [s5, 0], [s6, 0], [s7, 0], [s8, 0], [s9, 0], [s10, 0], [s11, 0], [s12, 0], [s13, 0], [s14, 0], [s15, 0], [s16, 0], [s17, 0], [s18, 0], [s19, 0], [s20, 0], [s21, 0], [s22, 0], [s23, 0], [s24, 0]];
sfx = function (num, zad) {
if (_root.sound_play == true) {
var v4 = SFX[num][0];
var v3 = SFX[num][1];
if (v3 == 0) {
v4.start();
SFX[num][1] = zad;
}
}
};
}
onClipEvent (enterFrame) {
var ln = SFX.length;
var i = 0;
while (i < ln) {
if (SFX[i][1] > 0) {
--SFX[i][1];
}
++i;
}
}
}
movieClip 151 {
}
movieClip 154 {
}
movieClip 157 {
}
movieClip 160 {
}
movieClip 161 {
frame 1 {
_parent._parent.f37(this);
}
}
movieClip 163 {
}
movieClip 167 {
}
movieClip 170 {
}
movieClip 173 {
}
movieClip 176 {
}
movieClip 179 {
}
movieClip 182 {
}
movieClip 185 {
}
movieClip 187 {
}
movieClip 188 {
frame 1 {
stop();
}
}
movieClip 189 {
}
movieClip 194 {
}
movieClip 197 {
}
movieClip 200 {
}
movieClip 203 {
}
movieClip 204 {
frame 1 {
_parent._parent.f37(this);
}
}
movieClip 207 {
}
movieClip 212 {
}
movieClip 213 {
}
movieClip 214 {
}
movieClip 224 {
frame 1 {
_parent._parent.f37(this);
}
}
movieClip 225 {
instance el0 of movieClip 204 {
onClipEvent (press) {
_parent._parent.clix(this, 0);
}
}
instance el1 of movieClip 224 {
onClipEvent (press) {
_parent._parent.clix(this, 1);
}
}
}
movieClip 226 {
frame 1 {
el0.el0.gotoAndStop(37);
el0.el1.gotoAndStop(37);
el2.gotoAndStop(37);
clix = function (id, num) {
if (id._currentframe != 37) {
if (!_root.help_exist) {
_root.sfx.sfx(4, 0);
var v3 = id._currentframe + num * 12;
_parent.inv.it_drag.gotoAndStop(v3);
_parent.inv.it_drag._visible = true;
switch (num) {
case 0:
_parent.inv.itt0_none = xxx;
break;
case 1:
_parent.inv.itt1_none = xxx;
break;
case 2:
_parent.inv.itt2_none = xxx;
}
_parent.inv.itt_drag = v3;
id.gotoAndStop(37);
}
}
};
f37 = function (id) {};
}
instance el2 of movieClip 161 {
onClipEvent (press) {
_parent.clix(this, 2);
}
}
frame 100 {
gotoAndPlay(2);
}
}
instance pet of movieClip 226 {
onClipEvent (load) {
ten._visible = false;
}
}
movieClip 230 {
}
// unknown tag 88 length 219
button 235 {
on (release) {
_root.sfx.sfx(11, 0);
_root.nextFrame();
}
}
button 239 {
on (release) {
_root.sfx.sfx(11, 0);
getURL(_root.linkURL, '_blank');
}
}
button 244 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 246 {
}
movieClip 247 {
}
// unknown tag 88 length 103
movieClip 254 {
frame 1 {
stop();
}
}
instance kn2 of movieClip 254 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
this.gotoAndStop(2);
} else {
_root.sound_play = true;
this.gotoAndStop(1);
}
}
}
movieClip 256 {
}
instance kn1 of movieClip 256 {
onClipEvent (release) {
switch (_root.qual) {
case 0:
_root._quality = 'MEDIUM';
++_root.qual;
break;
case 1:
_root._quality = 'LOW';
++_root.qual;
break;
case 2:
_root._quality = 'HIGH';
_root.qual = 0;
}
}
}
movieClip 258 {
frame 1 {
stop();
}
}
instance kn3 of movieClip 258 {
onClipEvent (load) {
if (_root.backsound_play == false) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.so.setVolume(0);
this.gotoAndStop(2);
} else {
_root.backsound_play = true;
_root.mus.so.setVolume(100);
this.gotoAndStop(1);
}
}
}
frame 5 {
_root.attachMovie('m_osv', 'm_osv', 3000);
}
button 266 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
button 267 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 277 {
}
movieClip 279 {
}
movieClip 282 {
}
movieClip 285 {
}
movieClip 287 {
}
frame 6 {
_root.attachMovie('m_osv', 'm_osv', 3000);
_root.prog.gotoAndStop(1);
pro = 0;
pro_step1 = 11.12;
}
movieClip 290 {
}
movieClip 296 {
}
movieClip 299 {
}
movieClip 300 {
}
movieClip 303 {
}
movieClip 305 {
}
movieClip 311 {
}
movieClip 312 {
frame 1 {
MR = [ma1, ma2, ma3, ma4, ma5, ma6, ma7, ma8, ma9];
}
}
instance dog_mask of movieClip 312 {
onClipEvent (load) {
tt = 0;
yy = _y;
}
onClipEvent (enterFrame) {
tt += 0.1;
if (tt > 360) {
tt = 0;
}
_y = yy + Math.sin(tt);
}
}
movieClip 315 {
}
movieClip 316 {
frame 1 {
stop();
}
frame 2 {
if (_alpha == 100) {
_root.sfx.sfx(8, 20);
}
}
frame 5 {
stop();
}
}
instance gubka of movieClip 316 {
onClipEvent (load) {
faild_nowater = false;
_alpha = 0;
hide_zad = 10;
pena_dp = 0;
_root.drag_option(this, 0, 60, 5, 1.2, 5);
zad = 0;
_press = false;
size = 0;
al_d = function () {
if (_alpha > 0) {
_alpha = _alpha - 10;
if (_alpha < 0) {
_alpha = 0;
}
}
if (_xscale > 80) {
_xscale = _xscale - 1;
_yscale = _xscale - 1;
}
};
al_u = function () {
if (_alpha < 100) {
_alpha = _alpha + 20;
if (_alpha > 100) {
_alpha = 100;
}
}
if (_xscale < 100) {
_xscale = _xscale + 1;
_yscale = _xscale + 1;
}
};
create = function () {
if (_root.dog_mask.hitTest(_root._xmouse, _root._ymouse, true)) {
if (faild_nowater == false) {
if (_root.pro < 100) {
if (pena_dp >= 30) {
faild_nowater = true;
_root.attachMovie('pre_zat', 'pre_zat', 2999);
}
}
}
if (pena_dp < 30) {
if (zad > 0) {
--zad;
} else {
_root.sfx.sfx(12, 3);
_root.wet_prog.gotoAndStop(101 - Math.round((pena_dp / 30) * 100));
zad = 2;
++pena_dp;
var v4 = _root.dog_mask.attachMovie('pena', 'pena' + pena_dp, pena_dp);
v4._x = _root._xmouse - _root.dog_mask._x;
v4._y = _root._ymouse - _root.dog_mask._y;
if (size < 50) {
size += 5;
}
v4._xscale = 50 + size;
v4._yscale = v4._xscale;
var v5 = random(100);
if (v5 < 50) {
v4._xscale *= -1;
}
var v3 = 0;
while (v3 < 9) {
var v2 = _root.dog_mask.MR[v3];
if (v2.en != true) {
if (v2.hitTest(v4)) {
v2.en = true;
_root.pro_plus(_root.pro_step1);
}
}
++v3;
}
}
}
}
};
}
onClipEvent (enterFrame) {
if (hide_zad > 0) {
--hide_zad;
} else {
if (_root._ymouse < 90 or _root.helper.hitTest(_root._xmouse, _root._ymouse, 1)) {
hide = false;
} else {
hide = true;
}
if (hide == true && _root.help_exist == false) {
Mouse.hide();
_root.myDrag(this);
al_u();
} else {
Mouse.show();
al_d();
}
_root.myDrag(this);
if (_alpha >= 100) {
if (_press == true) {
create();
}
}
}
}
onClipEvent (mouseDown) {
_press = true;
if (this._currentframe < 2) {
this.gotoAndPlay(2);
}
}
onClipEvent (mouseUp) {
_press = false;
size = 0;
if (this._currentframe < 6) {
this.gotoAndPlay(6);
}
}
}
movieClip 318 {
}
movieClip 321 {
frame 1 {
stop();
}
}
instance wet_prog of movieClip 321 {
onClipEvent (load) {
this.gotoAndStop(100);
}
onClipEvent (enterFrame) {
_x = _root._xmouse - 40;
_y = _root._ymouse - 40;
_alpha = _root.gubka._alpha;
}
}
movieClip 323 {
}
// unknown tag 88 length 171
movieClip 344 {
frame 1 {
stop();
}
}
movieClip 345 {
}
movieClip 351 {
frame 12 {
tx.tx.gotoAndStop(txt);
}
frame 27 {
stop();
}
frame 40 {
stop();
_parent.mordaha.enabled = true;
_root.help_exist = false;
}
}
movieClip 352 {
frame 1 {
clix = function () {
if (dial._currentframe > 26) {
if (dial._currentframe < 28) {
dial.gotoAndPlay(28);
_root.sfx.sfx(1, 0);
}
}
};
}
instance of movieClip 287 {
onClipEvent (press) {
if (_parent.dial._currentframe == 40) {
_parent.dial.gotoAndPlay(1);
_root.help_exist = true;
_root.sfx.sfx(11, 0);
}
if (_parent.dial._currentframe == 27) {
_parent.clix();
}
}
}
instance dial of movieClip 351 {
onClipEvent (enterFrame) {
_alpha = 100 * _currentframe / 16;
if (_currentframe > 30) {
_alpha = 100 - 100 * (_currentframe - 30) / 9;
}
}
onClipEvent (press) {
_parent.clix();
}
}
}
instance helper of movieClip 352 {
onClipEvent (load) {
dial.txt = 1;
}
}
movieClip 357 {
frame 1 {
stop();
}
}
button 361 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 362 {
}
instance kn2 of movieClip 254 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
this.gotoAndStop(2);
} else {
_root.sound_play = true;
this.gotoAndStop(1);
}
}
}
instance kn1 of movieClip 256 {
onClipEvent (release) {
switch (_root.qual) {
case 0:
_root._quality = 'MEDIUM';
++_root.qual;
break;
case 1:
_root._quality = 'LOW';
++_root.qual;
break;
case 2:
_root._quality = 'HIGH';
_root.qual = 0;
}
}
}
instance kn3 of movieClip 258 {
onClipEvent (load) {
if (_root.backsound_play == false) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.so.setVolume(0);
this.gotoAndStop(2);
} else {
_root.backsound_play = true;
_root.mus.so.setVolume(100);
this.gotoAndStop(1);
}
}
}
movieClip 364 {
}
instance timer of movieClip 364 {
onClipEvent (load) {
t = 0;
time = 30;
}
onClipEvent (enterFrame) {
if (time <= 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
if (_root.help_exist == false) {
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
}
frame 7 {
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step1 = 0.2083333333333333;
}
movieClip 365 {
}
movieClip 366 {
}
movieClip 383 {
frame 1 {
stop();
}
frame 16 {
_parent.nextFrame();
}
}
movieClip 384 {
}
movieClip 385 {
frame 1 {
stop();
}
instance prog of movieClip 383 {
onClipEvent (load) {
_alpha = 0;
pro = 0;
al_d = function () {
if (_alpha > 0) {
_alpha = _alpha - 10;
if (_alpha < 0) {
_alpha = 0;
}
}
if (_xscale > 80) {
_xscale = _xscale - 1;
_yscale = _xscale - 1;
}
};
al_u = function () {
if (_alpha < 100) {
_alpha = _alpha + 20;
if (_alpha > 100) {
_alpha = 100;
}
}
if (_xscale < 100) {
_xscale = _xscale + 1;
_yscale = _xscale + 1;
}
};
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (pro <= 100) {
if (_root.help_exist == false) {
if (_root._currentframe != 10) {
_root.sfx.sfx(14, 26);
}
al_u();
_root.pro_plus(_root.pro_step1);
pro += 2;
this.gotoAndStop(Math.round((pro / 100) * 16));
if (_alpha == 100) {
zad = 30;
}
}
}
} else {
if (zad > 0) {
--zad;
} else {
al_d();
}
}
}
}
instance of movieClip 384 {
onClipEvent (load) {
_alpha = 0;
var r = random(100);
if (r < 50) {
_xscale = _xscale * -1;
}
r = random(100);
if (r < 50) {
_yscale = _yscale * -1;
}
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = _alpha + 5;
}
}
}
}
movieClip 386 {
}
instance of movieClip 386 {
onClipEvent (load) {
_alpha = 0;
_root.drag_option(this, 0, 60, 5, 1.5, 5);
al_d = function () {
if (_alpha > 0) {
_alpha = _alpha - 10;
if (_alpha < 0) {
_alpha = 0;
}
}
if (_xscale > 80) {
_xscale = _xscale - 1;
_yscale = _xscale - 1;
}
};
al_u = function () {
if (_alpha < 100) {
_alpha = _alpha + 20;
if (_alpha > 100) {
_alpha = 100;
}
}
if (_xscale < 100) {
_xscale = _xscale + 1;
_yscale = _xscale + 1;
}
};
}
onClipEvent (enterFrame) {
if (_root._ymouse < 90 or _root.helper.hitTest(_root._xmouse, _root._ymouse, 1)) {
hide = false;
} else {
hide = true;
}
if (hide == true && _root.help_exist == false) {
_root.myDrag(this);
al_u();
} else {
Mouse.show();
al_d();
}
}
}
instance helper of movieClip 352 {
onClipEvent (load) {
dial.txt = 2;
}
}
instance timer of movieClip 364 {
onClipEvent (load) {
t = 0;
time = 60;
}
onClipEvent (enterFrame) {
if (time <= 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
if (_root.help_exist == false) {
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
}
frame 8 {
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step1 = 0.07002801120448179;
}
movieClip 389 {
}
movieClip 390 {
}
movieClip 391 {
frame 1 {
stop();
}
frame 105 {
stop();
this.swapDepths(666);
this.removeMovieClip();
}
}
movieClip 392 {
frame 1 {
hit_test = function (id) {
if (id.hitTest(_root.leika.leika_mask)) {
_root.pro_plus(_root.pro_step1);
id.gotoAndStop(id._currentframe + 1);
}
};
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
_parent.hit_test(this);
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
_parent.hit_test(this);
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
_parent.hit_test(this);
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
_parent.hit_test(this);
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
_parent.hit_test(this);
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
_parent.hit_test(this);
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
_parent.hit_test(this);
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
_parent.hit_test(this);
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
_parent.hit_test(this);
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
_parent.hit_test(this);
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
_parent.hit_test(this);
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
_parent.hit_test(this);
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
_parent.hit_test(this);
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
_parent.hit_test(this);
}
}
}
instance pena of movieClip 392 {
onClipEvent (load) {
tt = 0;
yy = _y;
}
onClipEvent (enterFrame) {
tt += 0.1;
if (tt > 360) {
tt = 0;
}
_y = yy + Math.sin(tt);
}
}
movieClip 395 {
}
movieClip 400 {
}
movieClip 402 {
}
movieClip 403 {
frame 1 {
stop();
}
frame 10 {
stop();
pour = true;
}
frame 11 {
pour = false;
}
}
instance leika of movieClip 403 {
onClipEvent (load) {
zapas = 100;
pour = false;
_alpha = 0;
_root.drag_option(this, 0, 60, 5, 1.5, 5);
al_d = function () {
if (_alpha > 0) {
_alpha = _alpha - 10;
if (_alpha < 0) {
_alpha = 0;
}
}
if (_xscale > 80) {
_xscale = _xscale - 1;
_yscale = _xscale - 1;
}
};
al_u = function () {
if (_alpha < 100) {
_alpha = _alpha + 20;
if (_alpha > 100) {
_alpha = 100;
}
}
if (_xscale < 100) {
_xscale = _xscale + 1;
_yscale = _xscale + 1;
}
};
}
onClipEvent (enterFrame) {
if (_root._ymouse < 90 or _root.helper.hitTest(_root._xmouse, _root._ymouse, 1) or _root._ymouse > 180) {
hide = false;
} else {
hide = true;
}
if (hide == true && _root.help_exist == false) {
Mouse.hide();
_root.myDrag(this);
al_u();
} else {
Mouse.show();
al_d();
}
if (pour) {
if (zapas >= 0) {
zapas -= 0.3;
if (zapas < 0) {
zapas = 0;
}
_root.wet_prog.gotoAndStop(int(zapas));
if (zapas == 0) {
trace('fin');
zapas = -1;
_root.attachMovie('pre_zat', 'pre_zat', 2999);
}
}
}
}
onClipEvent (mouseDown) {
if (_currentframe < 2) {
this.gotoAndPlay(2);
}
}
onClipEvent (mouseUp) {
this.gotoAndPlay(11);
}
}
instance wet_prog of movieClip 321 {
onClipEvent (load) {
this.gotoAndStop(100);
}
onClipEvent (enterFrame) {
_x = _root._xmouse - 40;
_y = _root._ymouse - 60;
_alpha = _root.leika._alpha;
}
}
movieClip 405 {
}
instance helper of movieClip 352 {
onClipEvent (load) {
dial.txt = 3;
}
}
instance timer of movieClip 364 {
onClipEvent (load) {
t = 0;
time = 40;
}
onClipEvent (enterFrame) {
if (time <= 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
if (_root.help_exist == false) {
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
}
frame 9 {
_root.attachMovie('m_osv', 'm_osv', 3000);
Mouse.show();
pro = 0;
pro_step1 = 16.66666666666667;
}
movieClip 407 {
}
movieClip 409 {
}
movieClip 410 {
frame 1 {
stop();
}
instance of movieClip 409 {
onClipEvent (load) {
rot_last = 0;
sp = 0;
krug_now = 0;
krug_max = 6;
krug_pred = 100;
del = false;
}
onClipEvent (enterFrame) {
if (del == true) {
_alpha = _alpha - 12;
if (_alpha < 0) {
_alpha = 0;
_root.pro_plus(_root.pro_step1);
_root.sfx.sfx(1, 0);
this.swapDepths(666);
this.removeMovieClip();
}
} else {
var pds = pdis(_parent._x, _parent._y, _root._xmouse, _root._ymouse);
if (pds < 60 && !_root.help_exist) {
var pdr = pdir(_parent._x, _parent._y, _root._xmouse, _root._ymouse);
var rot = _rotation;
if (rot < 0) {
rot += 360;
}
rot = 360 - rot;
if (rot == 360) {
rot = 0;
}
if (rot_last > rot) {
++krug_now;
krug_pred = 100 - 70 * (krug_now / krug_max);
if (krug_now >= krug_max) {
trace('del');
del = true;
}
}
rot_last = rot;
var dd = pdr - rot;
var go = false;
if (pdr > rot) {
go = true;
}
if (rot > 260) {
if (pdr + 360 > rot) {
go = true;
}
}
if (dd < 120) {
if (go) {
if (dd < 0) {
dd += 360;
}
_rotation = _rotation - dd / 2;
if (Math.abs(dd) > 10) {
if (_xscale > krug_pred) {
_xscale = _xscale - 1;
_yscale = _xscale - 1;
}
}
var fr = _root.pet._currentframe - 1;
if (fr < 1) {
fr = _root.pet._totalframes;
}
_root.pet.gotoAndStop(fr);
_root.sfx.sfx(8, 20);
}
}
} else {
krug_pred = 0;
krug_now = 0;
if (_xscale < 100) {
_xscale = _xscale + (100 - _xscale) / 3;
_yscale = _xscale + (100 - _xscale) / 3;
if (_xscale > 100) {
_xscale = 100;
}
}
var a = 0;
a = -_rotation / 5;
if (Math.abs(_rotation) < 1) {
_rotation = 0;
a = 0;
}
sp = (sp + a) / 1.2;
_rotation = _rotation + sp;
}
}
}
}
frame 2 {
trace('HIW');
}
}
movieClip 412 {
}
movieClip 413 {
frame 1 {
stop();
}
instance of movieClip 412 {
onClipEvent (load) {
rot_last = 0;
sp = 0;
krug_now = 0;
krug_max = 6;
krug_pred = 100;
del = false;
}
onClipEvent (enterFrame) {
if (del == true) {
_alpha = _alpha - 10;
if (_alpha < 0) {
_alpha = 0;
_root.pro_plus(_root.pro_step1);
_root.sfx.sfx(1, 0);
this.swapDepths(666);
this.removeMovieClip();
}
} else {
var pds = pdis(_parent._x, _parent._y, _root._xmouse, _root._ymouse);
if (pds < 60 && !_root.help_exist) {
var pdr = pdir(_parent._x, _parent._y, _root._xmouse, _root._ymouse);
var rot = _rotation;
if (rot < 0) {
rot += 360;
}
rot = 360 - rot;
if (rot == 0) {
rot = 360;
}
if (rot_last < rot) {
++krug_now;
krug_pred = 100 - 70 * (krug_now / krug_max);
if (krug_now >= krug_max) {
trace('del');
del = true;
}
}
rot_last = rot;
var dd = pdr - rot;
var go = false;
if (pdr < rot) {
go = true;
} else {
dd = pdr - 360 - rot;
if (rot < 120) {
if (pdr - 360 < rot) {
go = true;
}
}
}
if (Math.abs(dd) < 120) {
if (go) {
_rotation = _rotation - dd / 2;
if (Math.abs(dd) > 10) {
if (_xscale > krug_pred) {
_xscale = _xscale - 1;
_yscale = _xscale - 1;
}
}
var fr = _root.pet._currentframe + 1;
if (fr > _root.pet._totalframes) {
fr = 1;
}
_root.pet.gotoAndStop(fr);
_root.sfx.sfx(8, 20);
}
}
} else {
krug_pred = 0;
krug_now = 0;
if (_xscale < 100) {
_xscale = _xscale + (100 - _xscale) / 3;
_yscale = _xscale + (100 - _xscale) / 3;
if (_xscale > 100) {
_xscale = 100;
}
}
var a = 0;
a = -_rotation / 5;
if (Math.abs(_rotation) < 1) {
_rotation = 360;
a = 0;
}
sp = (sp + a) / 1.2;
_rotation = _rotation + sp;
}
}
}
}
frame 2 {
trace('HIW');
_root.sfx.sfx(1, 0);
}
}
instance helper of movieClip 352 {
onClipEvent (load) {
dial.txt = 4;
}
}
instance timer of movieClip 364 {
onClipEvent (load) {
t = 0;
time = 60;
}
onClipEvent (enterFrame) {
if (time <= 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
if (_root.help_exist == false) {
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
}
frame 10 {
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step1 = 0.04048582995951417;
}
movieClip 421 {
}
movieClip 424 {
}
instance area of movieClip 424 {
onClipEvent (load) {
dp_max = 0;
DP = [];
dp_sort = function () {
var v5 = true;
var v3 = false;
var v2 = 0;
do {
v3 = false;
var v4 = DP.length - 1;
var v1 = 0;
while (v1 < v4) {
if (DP[v1]._y > DP[v1 + 1]._y) {
v2 = DP[v1];
DP[v1] = DP[v1 + 1];
DP[v1 + 1] = v2;
v3 = true;
}
++v1;
}
v5 = !v3;
} while (!v5);
};
redepths = function () {
var v2;
var v3 = DP.length - 1;
var v1 = 0;
while (v1 < v3) {
v2 = DP[v1];
v2.swapDepths(v1);
++v1;
}
};
}
onClipEvent (press) {
var id = undefined;
var dp_len = DP.length;
var i = dp_len;
while (i >= 0) {
id = DP[i];
if (id.hitTest(_root._xmouse, _root._ymouse, 1)) {
_root.sfx.sfx(4, 0);
DP.splice(i, 1);
_root.vv.it_ac = true;
_root.vv.cur_green.gotoAndStop(id._currentframe);
_root.vv.cur_red.gotoAndStop(id._currentframe);
id.removeMovieClip();
break;
}
--i;
}
}
}
movieClip 427 {
}
movieClip 429 {
}
movieClip 430 {
frame 1 {
stop();
}
}
movieClip 431 {
frame 1 {
hit_test = function (id) {
if (id.hitTest(_root.pol._mask)) {
if (id.pro == undefined) {
id.pro = 0;
}
if (id.pro < 100) {
id.pro += 0.5;
}
_root.pro_plus(_root.pro_step1);
id.gotoAndStop(Math.round((id.pro / 100) * 35));
}
};
}
instance of movieClip 430 {
onClipEvent (mouseMove) {
_parent.hit_test(this);
}
}
instance of movieClip 430 {
onClipEvent (mouseMove) {
_parent.hit_test(this);
}
}
instance of movieClip 430 {
onClipEvent (mouseMove) {
_parent.hit_test(this);
}
}
instance of movieClip 430 {
onClipEvent (mouseMove) {
_parent.hit_test(this);
}
}
instance of movieClip 430 {
onClipEvent (mouseMove) {
_parent.hit_test(this);
}
}
instance of movieClip 430 {
onClipEvent (mouseMove) {
_parent.hit_test(this);
}
}
instance of movieClip 430 {
onClipEvent (mouseMove) {
_parent.hit_test(this);
}
}
instance of movieClip 430 {
onClipEvent (mouseMove) {
_parent.hit_test(this);
}
}
instance of movieClip 430 {
onClipEvent (mouseMove) {
_parent.hit_test(this);
}
}
instance of movieClip 430 {
onClipEvent (mouseMove) {
_parent.hit_test(this);
}
}
instance of movieClip 430 {
onClipEvent (mouseMove) {
_parent.hit_test(this);
}
}
instance of movieClip 430 {
onClipEvent (mouseMove) {
_parent.hit_test(this);
}
}
instance of movieClip 430 {
onClipEvent (mouseMove) {
_parent.hit_test(this);
}
}
}
movieClip 434 {
}
movieClip 435 {
frame 1 {
stop();
}
}
instance pol of movieClip 435 {
onClipEvent (load) {
_root.drag_option(this, 0, 60, 5, 1.2, 5);
al_d = function () {
if (_alpha > 0) {
_alpha = _alpha - 10;
if (_alpha < 0) {
_alpha = 0;
}
}
if (_xscale > 80) {
_xscale = _xscale - 1;
_yscale = _xscale - 1;
}
};
al_u = function () {
if (_alpha < 100) {
_alpha = _alpha + 20;
if (_alpha > 100) {
_alpha = 100;
}
}
if (_xscale < 100) {
_xscale = _xscale + 1;
_yscale = _xscale + 1;
}
};
}
onClipEvent (enterFrame) {
if (_root._ymouse < 90 or _root.helper.hitTest(_root._xmouse, _root._ymouse, 1)) {
hide = false;
} else {
hide = true;
}
if (hide == true && _root.help_exist == false) {
Mouse.hide();
_root.myDrag(this);
al_u();
} else {
Mouse.show();
al_d();
}
}
}
instance helper of movieClip 352 {
onClipEvent (load) {
dial.txt = 5;
}
}
instance timer of movieClip 364 {
onClipEvent (load) {
t = 0;
time = 30;
}
onClipEvent (enterFrame) {
if (time <= 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
if (_root.help_exist == false) {
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
}
frame 11 {
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step1 = 0.1374570446735395;
}
movieClip 437 {
}
movieClip 439 {
}
movieClip 445 {
frame 1 {
stop();
}
}
movieClip 449 {
frame 1 {
stop();
}
}
movieClip 450 {
frame 1 {
it_ac = false;
fr_stop = 5;
cur_green.gotoAndStop(fr_stop);
cur_red.gotoAndStop(fr_stop);
clix = function (id, num) {
if (!_root.help_exist) {
if (num != cur_green._currentframe) {
it_ac = true;
cur_green.gotoAndStop(num);
cur_red.gotoAndStop(num);
_root.sfx.sfx(4, 0);
} else {
reset();
}
}
};
reset = function () {
_root.sfx.sfx(5, 0);
it_ac = false;
cur_green.gotoAndStop(fr_stop);
cur_red.gotoAndStop(fr_stop);
};
}
instance it1 of movieClip 445 {
onClipEvent (load) {
gotoAndStop(1);
}
onClipEvent (press) {
_parent.clix(this, _currentframe);
}
}
instance it1 of movieClip 445 {
onClipEvent (load) {
gotoAndStop(2);
}
onClipEvent (press) {
_parent.clix(this, _currentframe);
}
}
instance it1 of movieClip 445 {
onClipEvent (load) {
gotoAndStop(3);
}
onClipEvent (press) {
_parent.clix(this, _currentframe);
}
}
instance it1 of movieClip 445 {
onClipEvent (load) {
gotoAndStop(4);
}
onClipEvent (press) {
_parent.clix(this, _currentframe);
}
}
instance it1 of movieClip 449 {
onClipEvent (press) {
if (_parent.it_ac) {
_parent.reset();
}
}
}
instance cur_green of movieClip 48 dec {
onClipEvent (load) {
_visible = false;
enabled = false;
}
onClipEvent (enterFrame) {
_x = _root._xmouse - _parent._x;
_y = _root._ymouse - _parent._y;
if (_parent.dec_floor.hitTest(_root._xmouse, _root._ymouse, 1)) {
_visible = true;
_parent.cur_red._visible = false;
enabled = true;
} else {
_visible = false;
_parent.cur_red._visible = true;
}
if (_parent.it_ac == false) {
_visible = false;
_parent.cur_red._visible = false;
}
}
onClipEvent (release) {
var pa = _root.area;
++pa.dp_max;
trace(pa.dp_max);
var mc = pa.attachMovie('dec', 'dec' + pa.dp_max, pa.dp_max);
mc._x = this._x;
mc._y = this._y;
mc.gotoAndStop(this._currentframe);
pa.DP.push(mc);
pa.dp_sort();
pa.redepths();
_parent.reset();
}
}
instance cur_red of movieClip 48 dec {
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root._xmouse - _parent._x;
_y = _root._ymouse - _parent._y;
}
}
}
movieClip 454 {
frame 1 {
stop();
}
}
instance bt_rt of movieClip 454 {
onClipEvent (press) {
if (!_root.help_exist) {
_root.sfx.sfx(11, 0);
_root.pro_plus(100);
enabled = false;
_root.pet.el0.el0.enabled = false;
_root.pet.el1.el1.enabled = false;
_root.pet.el1.el2.enabled = false;
}
}
onClipEvent (rollOver) {
gotoAndStop(5);
}
onClipEvent (rollOut) {
gotoAndStop(4);
}
}
instance helper of movieClip 352 {
onClipEvent (load) {
dial.txt = 6;
}
}
frame 12 {
_root.attachMovie('m_osv', 'm_osv', 3000);
_root.prog.gotoAndStop(1);
pro = 0;
pro_step1 = 0.2;
area.enabled = false;
}
movieClip 455 {
frame 1 {
el0.el0.gotoAndStop(37);
el0.el1.gotoAndStop(37);
el2.gotoAndStop(37);
stop();
}
}
instance pet of movieClip 455 {
onClipEvent (load) {
var zad = 0;
var vpanchir = false;
}
onClipEvent (enterFrame) {
if (_root.lamp._currentframe > 15) {
if (vpanchir) {
if (zad > 0) {
--zad;
} else {
vpanchir = false;
}
}
} else {
if (!vpanchir) {
zad = 33;
vpanchir = true;
}
}
if (vpanchir) {
if (this._currentframe < 20) {
this.gotoAndStop(this._currentframe + 1);
}
} else {
if (this._currentframe > 1) {
this.gotoAndStop(this._currentframe - 1);
}
}
if (this._currentframe == 1) {
_root.pro_plus(_root.pro_step1);
}
}
}
instance pet of movieClip 455 {
onClipEvent (load) {
var zad = 0;
var vpanchir = false;
}
onClipEvent (enterFrame) {
if (_root.lamp._currentframe > 15) {
if (vpanchir) {
if (zad > 0) {
--zad;
} else {
vpanchir = false;
}
}
} else {
if (!vpanchir) {
zad = 33;
vpanchir = true;
}
}
if (vpanchir) {
if (this._currentframe < 20) {
this.gotoAndStop(this._currentframe + 1);
}
} else {
if (this._currentframe > 1) {
this.gotoAndStop(this._currentframe - 1);
}
}
if (this._currentframe == 1) {
_root.pro_plus(_root.pro_step1);
}
}
}
movieClip 458 {
}
movieClip 461 {
}
movieClip 462 {
frame 1 {
stop();
}
}
instance lamp of movieClip 462 {
onClipEvent (load) {
var ttt = 0;
}
onClipEvent (enterFrame) {
if (!_root.help_exist) {
if (ttt > 0) {
--ttt;
} else {
ttt = random(20);
if (this._currentframe > 1) {
this.gotoAndStop(this._currentframe - 1);
}
}
}
}
onClipEvent (release) {
if (!_root.help_exist) {
if (this._currentframe < 20) {
this.gotoAndStop(this._currentframe + 1);
}
}
}
}
instance helper of movieClip 352 {
onClipEvent (load) {
dial.txt = 7;
}
}
instance timer of movieClip 364 {
onClipEvent (load) {
t = 0;
time = 60;
}
onClipEvent (enterFrame) {
if (time <= 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
if (_root.help_exist == false) {
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
}
frame 13 {
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step1 = 0.4504504504504505;
}
movieClip 467 {
}
movieClip 474 {
frame 1 {
stop();
}
}
movieClip 476 {
}
movieClip 478 {
}
movieClip 480 {
}
movieClip 482 {
}
movieClip 483 {
frame 1 {
bb = 1;
}
frame 1 {
nf = function () {
if (_root.help_exist == false) {
_root.pro_plus(_root.pro_step1);
this.nextFrame();
}
};
}
frame 5 {
stop();
}
instance mask of movieClip 482 {
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, 1)) {
_parent.nf();
}
}
}
frame 6 {
_root.sfx.sfx(18, bb);
}
frame 7 {
_root.sfx.sfx(18, bb);
}
frame 8 {
_root.sfx.sfx(18, bb);
}
frame 9 {
_root.sfx.sfx(19, bb);
}
frame 10 {
_root.sfx.sfx(19, bb);
}
frame 11 {
_root.sfx.sfx(19, bb);
}
frame 12 {
_root.sfx.sfx(20, bb);
}
frame 13 {
_root.sfx.sfx(20, bb);
}
frame 14 {
_root.sfx.sfx(20, bb);
}
frame 15 {
_root.sfx.sfx(21, bb);
}
frame 16 {
_root.sfx.sfx(21, bb);
}
frame 17 {
_root.sfx.sfx(21, bb);
}
frame 18 {
_root.sfx.sfx(22, bb);
}
frame 19 {
_root.sfx.sfx(22, bb);
}
frame 20 {
_root.sfx.sfx(22, bb);
}
frame 21 {
_root.sfx.sfx(23, bb);
}
frame 22 {
_root.sfx.sfx(23, bb);
}
frame 23 {
_root.sfx.sfx(23, bb);
}
frame 24 {
_root.sfx.sfx(23, bb);
}
frame 24 {
gotoAndPlay(_currentframe + 1);
}
frame 29 {
_parent.gotoAndPlay(_parent._currentframe + 1);
}
}
movieClip 486 {
}
movieClip 487 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 5 {
_root.sfx.sfx(13, 0);
}
frame 8 {
nail.gotoAndStop(nail._currentframe + 1);
}
frame 20 {
stop();
}
frame 24 {
_root.sfx.sfx(13, 0);
}
frame 27 {
nail.gotoAndStop(nail._currentframe + 1);
}
frame 36 {
stop();
}
frame 41 {
_root.sfx.sfx(13, 0);
}
frame 44 {
nail.gotoAndStop(nail._currentframe + 1);
}
frame 58 {
_parent.nextFrame();
}
}
movieClip 488 {
frame 1 {
stop();
}
frame 1 {
n1.gotoAndStop(2);
n1.swapDepths(6);
}
frame 2 {
n2.gotoAndStop(2);
n2.swapDepths(6);
}
frame 3 {
n3.gotoAndStop(2);
n3.swapDepths(6);
}
frame 4 {
n4.gotoAndStop(2);
n4.swapDepths(6);
}
}
instance helper of movieClip 352 {
onClipEvent (load) {
dial.txt = 8;
}
}
instance timer of movieClip 364 {
onClipEvent (load) {
t = 0;
time = 60;
}
onClipEvent (enterFrame) {
if (time <= 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
if (_root.help_exist == false) {
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
}
frame 14 {
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step1 = 0.4504504504504505;
}
instance helper of movieClip 352 {
onClipEvent (load) {
dial.txt = 9;
}
}
instance timer of movieClip 364 {
onClipEvent (load) {
t = 0;
time = 60;
}
onClipEvent (enterFrame) {
if (time <= 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
if (_root.help_exist == false) {
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
}
frame 15 {
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step1 = 0.04048582995951417;
}
movieClip 491 {
}
movieClip 492 {
frame 1 {
el0.el0.gotoAndStop(37);
el0.el1.gotoAndStop(37);
el2.gotoAndStop(37);
clix = function (id, num) {
if (_root._currentframe == 15) {
if (id._currentframe != 37) {
if (!_root.help_exist) {
_root.sfx.sfx(4, 0);
var v3 = id._currentframe + num * 12;
_parent.inv.it_drag.gotoAndStop(v3);
_parent.inv.it_drag._visible = true;
switch (num) {
case 0:
_parent.inv.itt0_none = xxx;
break;
case 1:
_parent.inv.itt1_none = xxx;
break;
case 2:
_parent.inv.itt2_none = xxx;
}
_parent.inv.itt_drag = v3;
id.gotoAndStop(37);
}
}
}
};
f37 = function (id) {};
}
instance el2 of movieClip 161 {
onClipEvent (press) {
_parent.clix(this, 2);
}
}
frame 100 {
gotoAndPlay(2);
}
}
movieClip 494 {
}
movieClip 498 {
frame 1 {
stop();
}
}
movieClip 500 {
}
movieClip 504 {
frame 1 {
stop();
}
}
movieClip 508 {
frame 1 {
stop();
}
}
movieClip 512 {
frame 1 {
stop();
}
}
movieClip 515 {
}
movieClip 516 {
}
movieClip 522 {
}
movieClip 524 {
frame 1 {
stop();
}
}
movieClip 526 {
frame 1 {
stop();
raz1.gotoAndStop(2);
ITM = [];
ITM.push(it1, it2, it3, it4, it5, it6);
itt0 = [[1, 2, 3, 4, 5, 6], [7, 8, 9, 10, 11, 12]];
itt1 = [[13, 14, 15, 16, 17, 18], [19, 20, 21, 22, 23, 24]];
itt2 = [[25, 26, 27, 28, 29, 30], [31, 32, 33, 34, 35, 36]];
itt_vis = [itt0, itt1, itt2];
itt_cur = 0;
page_cur = 0;
itt0_none = undefined;
itt1_none = undefined;
itt2_none = undefined;
itt_drag = undefined;
item_update = function () {
var id_img = 0;
var i = 0;
while (i < ITM.length) {
var id = ITM[i];
var frm = itt_vis[itt_cur][page_cur][id_img];
id.myID = frm;
id.gotoAndStop(frm);
var itt_none = eval('itt' + itt_cur + '_none');
if (itt_none == frm) {
id.gotoAndStop(37);
}
if (itt_drag == frm) {
id.gotoAndStop(37);
}
++id_img;
++i;
}
};
razdel_change = function (id) {
if (!_root.help_exist) {
_root.sfx.sfx(11, 0);
if_it_drag_vis();
var i = 1;
while (i < 4) {
var id2 = eval('raz' + i);
id2.enabled = true;
id2.gotoAndStop(1);
++i;
}
id.enabled = false;
id.gotoAndStop(2);
switch (id._name) {
case 'raz1':
itt_cur = 0;
break;
case 'raz2':
itt_cur = 1;
break;
case 'raz3':
itt_cur = 2;
}
page_cur = 0;
item_update();
bt_lf.enabled = false;
bt_lf._alpha = 0;
bt_rt.enabled = true;
bt_rt._alpha = 100;
}
};
clix = function (id) {
if (!_root.help_exist) {
_root.sfx.sfx(4, 0);
itt_drag = id.myID;
it_drag.gotoAndStop(id.myID);
it_drag._visible = true;
item_update();
}
};
itt_none_sw = function (xxx) {
switch (itt_cur) {
case 0:
itt0_none = xxx;
break;
case 1:
itt1_none = xxx;
break;
case 2:
itt2_none = xxx;
}
};
if_it_drag_vis = function () {
if (!_root.help_exist) {
if (it_drag._visible == true) {
itt_drag = undefined;
it_drag._visible = false;
_root.sfx.sfx(5, 0);
}
}
};
item_update();
}
instance bt_rt of movieClip 498 {
onClipEvent (press) {
if (!_root.help_exist) {
_root.sfx.sfx(11, 0);
_parent.if_it_drag_vis();
++_parent.page_cur;
_parent.item_update();
_parent.bt_lf.enabled = true;
_parent.bt_lf._alpha = 100;
enabled = false;
_alpha = 0;
}
}
onClipEvent (rollOver) {
gotoAndStop(2);
}
onClipEvent (rollOut) {
gotoAndStop(1);
}
}
instance bt_lf of movieClip 498 {
onClipEvent (load) {
_alpha = 0;
enabled = false;
}
onClipEvent (press) {
if (!_root.help_exist) {
_root.sfx.sfx(11, 0);
_parent.if_it_drag_vis();
--_parent.page_cur;
_parent.item_update();
_parent.bt_rt.enabled = true;
_parent.bt_rt._alpha = 100;
_alpha = 0;
enabled = false;
}
}
onClipEvent (rollOver) {
gotoAndStop(2);
}
onClipEvent (rollOut) {
gotoAndStop(1);
}
}
instance raz1 of movieClip 504 {
onClipEvent (release) {
_parent.razdel_change(this);
}
}
instance raz2 of movieClip 508 {
onClipEvent (release) {
_parent.razdel_change(this);
}
}
instance raz3 of movieClip 512 {
onClipEvent (release) {
_parent.razdel_change(this);
}
}
instance it1 of movieClip 524 {
onClipEvent (press) {
_parent.clix(this);
}
}
instance it2 of movieClip 524 {
onClipEvent (press) {
_parent.clix(this);
}
}
instance it3 of movieClip 524 {
onClipEvent (press) {
_parent.clix(this);
}
}
instance it4 of movieClip 524 {
onClipEvent (press) {
_parent.clix(this);
}
}
instance it5 of movieClip 524 {
onClipEvent (press) {
_parent.clix(this);
}
}
instance it6 of movieClip 524 {
onClipEvent (press) {
_parent.clix(this);
}
}
instance it_drag of movieClip 524 {
onClipEvent (load) {
function who_ell() {
var ell;
switch (_parent.itt_cur) {
return ell;
case 0:
ell = _root.pet.el0.el0;
return ell;
case 1:
ell = _root.pet.el0.el1;
return ell;
case 2:
ell = _root.pet.el2;
return ell;
}
return ell;
}
_root.drag_option(this, 0, 60, 5, 1.2, 5);
_visible = false;
}
onClipEvent (enterFrame) {
_root.myDrag(this);
_x = _x - _parent._x;
_y = _y - _parent._y;
}
onClipEvent (mouseUp) {
if (_root.pet.hitTest(_root._xmouse, _root._ymouse, 1)) {
var ell = who_ell();
if (_visible) {
_root.sfx.sfx(5, 0);
}
ell.gotoAndStop(_parent.itt_drag - _parent.itt_cur * 12);
_parent.itt_none_sw(_parent.itt_drag);
_parent.it_drag._visible = false;
} else {
_parent.if_it_drag_vis();
}
_parent.item_update();
}
}
}
instance bt_rt of movieClip 454 {
onClipEvent (press) {
if (!_root.help_exist) {
_root.sfx.sfx(11, 0);
_root.pro_plus(100);
enabled = false;
_root.pet.el0.el0.enabled = false;
_root.pet.el1.el1.enabled = false;
_root.pet.el1.el2.enabled = false;
}
}
onClipEvent (rollOver) {
gotoAndStop(5);
}
onClipEvent (rollOut) {
gotoAndStop(4);
}
}
instance helper of movieClip 352 {
onClipEvent (load) {
dial.txt = 10;
}
}
frame 16 {
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step1 = 10;
pet.el0.el0.enabled = false;
pet.el0.el1.enabled = false;
pet.el2.enabled = false;
}
movieClip 528 {
}
movieClip 532 {
frame 1 {
stop();
}
frame 2 {
}
}
movieClip 533 {
}
instance of movieClip 533 {
onClipEvent (load) {
xx = _x;
sp = 0;
sp2 = 3;
zd = 0;
enabled = false;
dir = 0;
}
onClipEvent (enterFrame) {
if (_root.pro == 100) {
xx += 500;
_root.pro = 101;
}
if (_root.help_exist == false) {
enabled = true;
} else {
enabled = false;
}
if (_root.help_exist == false) {
var pdr = pdir(_x, _y, _root._xmouse, _root._ymouse);
var ras = pdis(_x, _y, _root._xmouse, _root._ymouse);
sp2 = 20 - ras / 20;
if (sp2 > 10) {
sp2 = 10;
}
if (sp2 < 2) {
sp2 = 2;
}
if (_x > 550 or _x < 150 or _y < 150 or _y > 300) {
zd += 10;
} else {
if (zd > 0) {
zd -= 40;
}
if (zd < 0) {
zd = 0;
}
}
dir = pdr - 180;
dir += zd;
if (Math.abs(ras - 300) < 10) {
if (this.bones._currentframe < 2) {
this.bones.gotoAndPlay(2);
}
}
if (ras > 300) {
dir = pdr;
sp2 /= 3;
}
if (dir < 0) {
dir += 360;
}
if (dir > 360) {
dir -= 360;
}
_x = _x + sp2 * Math.cos(dir / 57.32);
_y = _y - sp2 * Math.sin(dir / 57.32);
}
}
onClipEvent (press) {
if (_root.help_exist == false) {
if (_root.pro < 100) {
if (_root.bone._visible == false) {
_root.bone._visible = true;
_root.sfx.sfx(4, 0);
} else {
_root.bone._visible = false;
_root.sfx.sfx(5, 0);
}
} else {
enabled = false;
}
}
}
}
movieClip 535 {
}
instance bone of movieClip 535 {
onClipEvent (load) {
_visible = false;
_root.drag_option(this, 0, 60, 5, 1.2, 5);
di;
al_d = function () {
if (_alpha > 0) {
_alpha = _alpha - 10;
if (_alpha < 0) {
_alpha = 0;
}
}
if (_xscale > 80) {
_xscale = _xscale - 1;
_yscale = _xscale - 1;
}
};
al_u = function () {
if (_alpha < 100) {
_alpha = _alpha + 20;
if (_alpha > 100) {
_alpha = 100;
}
}
if (_xscale < 100) {
_xscale = _xscale + 1;
_yscale = _xscale + 1;
}
};
}
onClipEvent (enterFrame) {
if (_root._ymouse < 90 or _root.helper.hitTest(_root._xmouse, _root._ymouse, 1)) {
hide = false;
} else {
hide = true;
}
if (hide == true && _root.help_exist == false) {
if (_visible) {
Mouse.hide();
}
_root.myDrag(this);
al_u();
} else {
Mouse.show();
al_d();
}
}
onClipEvent (mouseUp) {
if (_root.help_exist == false) {
if (this._visible == true) {
if (_root.morda_mask.hitTest(this)) {
_root.pro_plus(_root.pro_step1);
_root.pet.gol.rot.gotoAndPlay(2);
_root.sfx.sfx(9, 0);
} else {
_root.sfx.sfx(5, 0);
}
_visible = false;
Mouse.show();
}
}
}
}
instance helper of movieClip 352 {
onClipEvent (load) {
dial.txt = 11;
}
}
instance timer of movieClip 364 {
onClipEvent (load) {
t = 0;
time = 30;
}
onClipEvent (enterFrame) {
if (time <= 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
if (_root.help_exist == false) {
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
}
frame 17 {
function mod(x) {
if (x > 0) {
return x;
}
x = -x;
return x;
}
_root.attachMovie('m_osv', 'm_osv', 3000);
pet._x = 240;
pet._y = 120;
trace('win');
time = 0;
wt = true;
onEnterFrame = function () {
++time;
if (wt == true) {
if (time > 180) {
_root.pro_plus(100);
wt = false;
}
}
};
_root.game_result = Math.round(_root.score / 11);
if (game_result > 100) {
game_result = 100;
}
if (game_result < 0) {
game_result = 0;
}
trace(_root.game_result);
if (game_result < 0) {
game_result = 1;
}
if (game_result > 100) {
game_result = 100;
}
h = 0;
++h;
var mc = _root.m_krepej.attachMovie('m_RES', 'RES' + h, 200 + h);
mc._x = 0;
mc._y = 20;
mc.t = 66 + h * 10 + 20;
var txr = 'NOT BAD!';
if (game_result > 40) {
txr = 'GOOD!';
}
if (game_result > 50) {
txr = 'SUPERB!';
}
if (game_result > 60) {
txr = 'GREAT!';
}
if (game_result > 70) {
txr = 'MARVELOUS!';
}
if (game_result > 80) {
txr = 'COOL!';
}
if (game_result > 90) {
txr = 'AWESOME!';
}
mc.txt.text = txr;
++h;
var mc = _root.m_krepej.attachMovie('m_hint2', 'hint2' + h, 200 + h);
mc._x = 0;
mc._y = 60;
mc.t = 66 + h * 10 + 20;
mc.txt.text = 'your score: ' + game_result + ' / 100';
}
movieClip 538 {
}
movieClip 541 {
}
movieClip 543 {
}
movieClip 545 {
frame 31 {
stop();
}
}
movieClip 546 {
}
movieClip 547 {
frame 1 {
nn = 3;
}
instance of movieClip 277 {
onClipEvent (load) {
gotoAndStop(31);
}
}
frame 62 {
--nn;
if (nn > 0) {
gotoAndPlay('bk');
} else {
if (_root.game_result > 40) {
gotoAndPlay('WIN');
} else {
gotoAndPlay('faild');
}
}
}
frame 64 {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
}
frame 137 {
gotoAndPlay('bk_faild');
}
frame 139 {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
}
frame 202 {
gotoAndPlay('bk_WIN');
}
}
movieClip 548 {
instance dial of movieClip 351 {
onClipEvent (enterFrame) {
_alpha = 100 * _currentframe / 16;
if (_currentframe > 30) {
_alpha = 100 - 100 * (_currentframe - 30) / 9;
}
}
}
}
instance helper of movieClip 548 {
onClipEvent (load) {
dial.txt = 12;
}
}
movieClip 550 {
}
instance m_krepej of movieClip 550 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 18 {
_root.b_more.swapDepths(301);
_root.b_play.swapDepths(302);
_root.attachMovie('m_osv', 'm_osv', 3000);
}
movieClip 551 {
frame 1 {
}
instance of movieClip 287 {
onClipEvent (press) {
if (_parent.dial._currentframe == 40) {
_parent.dial.gotoAndPlay(1);
_root.help_exist = true;
}
if (_parent.dial._currentframe == 27) {
_parent.clix();
}
}
}
instance dial of movieClip 351 {
onClipEvent (load) {
gotoAndPlay(11);
}
onClipEvent (enterFrame) {
_alpha = 100 * _currentframe / 16;
if (_currentframe > 30) {
_alpha = 100 - 100 * (_currentframe - 30) / 9;
}
}
}
}
instance helper of movieClip 551 {
onClipEvent (load) {
dial.txt = 13;
}
}
button 553 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
button 555 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.m_krepej.removeMovieClip();
_root.m1.removeMovieClip();
_root.b_more.removeMovieClip();
_root.b_play.removeMovieClip();
_root.gotoAndStop('mainmenu');
}
}
button 559 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.m_krepej.removeMovieClip();
_root.m1.removeMovieClip();
_root.b_more.removeMovieClip();
_root.b_play.removeMovieClip();
_root.gotoAndStop('mainmenu');
}
}
button 560 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}