Combined Code
movieClip 16 {
}
movieClip 17 m_heart {
}
movieClip 19 m_flash {
frame 1 {
}
frame 20 {
this.removeMovieClip();
}
}
// unknown tag 88 length 153
movieClip 27 m_osvet {
frame 42 {
this.removeMovieClip();
}
}
movieClip 28 l_bon_end {
frame 11 {
_root.gotoAndStop('play_game');
this.removeMovieClip();
}
}
movieClip 47 {
frame 1 {
stop();
}
}
movieClip 48 l_uron {
frame 16 {
this.removeMovieClip();
}
}
// unknown tag 88 length 153
movieClip 59 m_helper {
frame 1 {
_alpha = 0;
t = 250;
onEnterFrame = function () {
--t;
if (t == 0) {
_root.help = false;
_root.huee.kn5.gotoAndStop(1);
}
if (_root.help == true) {
if (_alpha < 100) {
_alpha = _alpha + 4;
}
} else {
_alpha = _alpha - 4;
if (_alpha < 0) {
this.removeMovieClip();
}
}
};
}
}
button 67 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
trace(this._parent);
this._parent.removeMovieClip();
}
}
button 74 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 78 {
}
movieClip 82 {
}
movieClip 90 {
frame 1 {
stop();
}
}
movieClip 91 nx_dial {
}
frame 1 {
stop();
System.security.allowDomain('www.playpink.com');
var lc = new LocalConnection();
_root.gamedomain = lc.domain();
_root.gamename = 'Bratz_Wedding';
_root.createEmptyMovieClip('temp', 1123);
loadMovie('http://www.playpink.com/partners/connect.swf', temp);
var clickurl = 'http://www.kissinggames.com/?utm_medium=brandedgames_external&utm_campaign=' + _root.gamename + '&utm_source=' + _root.gamedomain + '&utm_content=ingame&checkpartner=1';
linkURL = clickurl;
}
button 93 {
on (release) {
getURL(_root.linkURL, '_blank');
}
}
movieClip 99 {
}
movieClip 100 {
}
movieClip 101 {
}
movieClip 103 {
}
button 107 {
on (release) {
_root.nextFrame();
}
}
movieClip 108 {
frame 201 {
play();
}
frame 202 {
if (_parent._currentframe < _parent._totalframes) {
gotoAndPlay(201);
} else {
gotoAndStop(203);
}
}
frame 203 {
stop();
}
}
movieClip 110 {
}
movieClip 112 {
}
movieClip 276 {
}
movieClip 278 {
}
movieClip 279 {
}
movieClip 282 {
}
movieClip 283 {
}
movieClip 284 {
instance of movieClip 108 {
}
frame 326 {
stop();
}
}
frame 2 {
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();
qual = 1;
_quality = 'MEDIUM';
_root.bonus = 0;
_root.scores = 0;
_root.levels = 1;
_root.zad = 0;
_root.ha_fishluck = 0;
_root.ha_kp_add = 0;
_root.ha_times = 0;
_root.ha_power = 0;
_root.ha_aster_power = 0;
_root.ha_pause = 0;
_root.ha_bonus = 0;
_root.pa1x = 0;
_root.pa1y = 0;
_root.pa2x = 0;
_root.pa2y = 0;
_root.help = true;
all_done = function () {
if (_root.ha_kp_add == 5 && _root.ha_times == 5 && _root.ha_power == 5 && _root.ha_aster_power == 5 && _root.ha_pause == 5 && _root.ha_bonus == 5 && _root.ha_fishluck == 5) {
return true;
}
};
new_level = function () {
if (levels > 1) {
if (levels < 11) {
var v2 = _root.attachMovie('nx_dial', 'nx_dial', 2999);
v2.dil.gotoAndStop(levels - 1);
v2._x = 130;
v2._y = 150;
}
}
v2 = _root.attachMovie('m_osvet', 'm_osvet', 3000);
if (levels < 21) {
hard = 300 - 30 * levels;
} else {
hard = 5;
}
if (hard < 5) {
hard = 5;
}
aster_lvlpoints = 5 * levels;
if (levels > 10) {
aster_lvlpoints += 5 * levels;
}
if (levels > 20) {
aster_lvlpoints += 5 * levels;
}
if (levels > 30) {
aster_lvlpoints += 5 * levels;
}
if (levels > 40) {
aster_lvlpoints += 5 * levels;
}
if (levels > 50) {
aster_lvlpoints += 5 * levels;
}
v2 = _root.attachMovie('m_osvet', 'm_osvet', 3000);
v2._x = -15;
v2._y = -15;
v2.num.gotoAndStop(_root.levels);
_root.gameover = false;
_root.vrag_zad = 200;
_root.kissing = false;
_root.times = 40 + 12 * _root.ha_times;
_root.times_t = 0;
_root.lives_max = 5;
if (levels <= 10) {
_root.lives = 5;
} else {
_root.lives = 4;
}
_root.aster_points = 0;
_root.kisspoints_max = 100;
_root.kisspoints = Math.round(_root.kisspoints_max / 2);
_root.vrag_exist = false;
_root.last_vrag = null;
_root.step2 = true;
_root.t = 0;
GAME.para.gotoAndPlay('idle');
GAME.mclock.gotoAndStop(61);
GAME.mserd.gotoAndStop(_root.kisspoints + 1);
GAME.vr1.gotoAndPlay(1);
GAME.vr2.gotoAndPlay(1);
};
pause_para = function () {
var v1 = false;
if (kn1.hitTest(_xmouse, _ymouse, true) or kn2.hitTest(_xmouse, _ymouse, true) or kn3.hitTest(_xmouse, _ymouse, true) or kn4.hitTest(_xmouse, _ymouse, true) or m_playmore.hitTest(_xmouse, _ymouse, true) or m_hide.b_hide.hitTest(_xmouse, _ymouse, true) or GAME.vr1.hitTest(_xmouse, _ymouse, true) or GAME.vr2.hitTest(_xmouse, _ymouse, true) or GAME.vr3.hitTest(_xmouse, _ymouse, true) or GAME.okno.hitTest(_xmouse, _ymouse, true)) {
v1 = true;
}
return v1;
};
asterplus = function (xx) {
aster_points += xx;
if (aster_points >= aster_lvlpoints) {
aster_points = aster_lvlpoints;
trace('WIN');
var v2 = 0;
if (_root.ha_bonus >= 2) {
v2 = 1;
}
if (_root.ha_bonus == 5) {
v2 = 2;
}
_root.bonus += v2;
++_root.levels;
mus.so.stop();
sfx.sof.stop();
gotoAndStop('Win');
}
var v3 = Math.floor(100 * aster_points / aster_lvlpoints);
GAME.pa.aste.gotoAndStop(v3 + 1);
scores += (xx + Math.round(random(2))) * _root.levels;
};
zad_minus = function () {
if (zad > 0) {
--zad;
}
};
kissplus = function () {
scores += (1 + Math.round(random(2))) * _root.levels;
kisspoints += 1;
if (kisspoints > kisspoints_max) {
var v2 = false;
kisspoints = 0;
++lives;
if (lives > lives_max) {
lives = lives_max;
kisspoints = kisspoints_max;
v2 = true;
}
if (v2 == false) {
if (_root.sound_play == true) {
_root.sfx.s9.start();
}
}
}
var v3 = Math.floor(100 * kisspoints / kisspoints_max);
GAME.pa.ha.gotoAndStop(v3 + 1);
};
lives_minus = function () {
if (lives > 0) {
if (_root.sound_play == true) {
_root.sfx.s10.start();
}
--lives;
} else {
trace('game over');
_root.gameover = false;
mus.so.stop();
sfx.sof.stop();
gotoAndStop('Faild');
}
};
kp_minus = function () {
--kisspoints;
if (kisspoints < 0) {
kisspoints = kisspoints_max;
lives_minus();
}
var v1 = Math.floor(100 * kisspoints / kisspoints_max);
GAME.pa.ha.gotoAndStop(v1 + 1);
};
_global.pdis = function (x1, y1, x2, y2) {
var v2 = x2 - x1;
var v1 = y2 - y1;
var v3 = v2 * v2 + v1 * v1;
return v3;
};
_global.pdir = function (x1, y1, x2, y2) {
var v3 = x2 - x1;
var v1 = y2 - y1;
var v2 = Math.atan2(v1, v3);
var v4 = v2 * 57.32;
return v4;
};
_global.choose = function () {
return arguments[random(arguments.length)];
};
_global.mod = function (x) {
if (x > 0) {
return x;
}
x = -x;
return x;
};
}
frame 2 {
function goToThisURL() {
getURL(_root.linkURL, '_blank');
}
var myMenu = new ContextMenu();
var copyright = new ContextMenuItem('!!!PLAY MORE GAMES!!!', goToThisURL);
myMenu.customItems.push(copyright);
myMenu.hideBuiltInItems();
_root.menu = myMenu;
}
// unknown tag 88 length 197
movieClip 288 {
}
instance mus of movieClip 288 {
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 290 {
}
instance sfx of movieClip 290 {
onClipEvent (load) {
if (_root.sound_loaded != true) {
_root.sound_loaded = true;
_root.sound_play = true;
}
sof = new Sound(this);
sof.attachSound('so_fon');
s1 = new Sound(this);
s1.attachSound('so_las');
s2 = new Sound(this);
s2.attachSound('so_drop');
s3 = new Sound(this);
s3.attachSound('so_flash');
s4 = new Sound(this);
s4.attachSound('so_kissing');
s5 = new Sound(this);
s5.attachSound('so_shell');
s6 = new Sound(this);
s6.attachSound('so_impulse');
s7 = new Sound(this);
s7.attachSound('so_lodka');
s9 = new Sound(this);
s9.attachSound('so_serd_app');
s10 = new Sound(this);
s10.attachSound('so_serda_del');
s11 = new Sound(this);
s11.attachSound('so_exp');
s12 = new Sound(this);
s12.attachSound('so_ahh1');
s13 = new Sound(this);
s13.attachSound('so_ahh2');
s14 = new Sound(this);
s14.attachSound('so_ahh3');
s16 = new Sound(this);
s16.attachSound('so_click');
}
}
movieClip 294 {
}
// unknown tag 88 length 148
movieClip 298 {
}
movieClip 301 {
}
movieClip 303 {
}
button 304 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 305 {
}
movieClip 306 {
}
movieClip 310 {
}
// unknown tag 88 length 219
button 315 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
button 319 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 324 {
frame 1 {
stop();
}
}
instance kn2 of movieClip 324 {
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 326 {
}
instance kn1 of movieClip 326 {
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 328 {
frame 1 {
stop();
}
}
instance kn3 of movieClip 328 {
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 329 {
frame 1 {
this.swapDepths(3001);
}
frame 13 {
this.removeMovieClip();
}
}
movieClip 332 {
}
movieClip 334 {
}
button 338 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
button 339 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 342 {
}
frame 4 {
stop();
var mc = _root.GAME.createEmptyMovieClip('HG', 7);
mc._x = 0;
mc._y = 0;
mc.depth = 0;
k = 1;
x1 = 395;
y1 = 340;
x2 = 220;
y2 = 55;
hearts_create = function () {
++GAME.HG.depth;
if (GAME.HG.depth > 20) {
GAME.HG.depth = 0;
}
var v1 = GAME.HG.attachMovie('m_heart', 'm_heart' + GAME.HG.depth, GAME.HG.depth);
v1.gotoAndStop(random(3) + 1);
v1._x = x1 + (Math.random() - 0.5) * 40;
v1._y = y1 + (Math.random() - 0.5) * 40;
v1.xsp = (x2 - v1._x) / 40;
v1.ysp = (y2 - v1._y) / 40;
v1.a = 1 + Math.random() * 2;
};
hearts_move = function () {
if (k_sp != true) {
k -= 0.1;
if (k <= -1) {
k_sp = true;
}
} else {
k += 0.1;
if (k >= 1) {
k_sp = false;
}
}
for (var v2 in GAME.HG) {
var v1 = GAME.HG[v2];
if (v1.a > 1) {
v1.a -= 0.1;
}
v1._x += v1.a * v1.xsp + 1 * Math.sin(k);
v1._y += v1.a * v1.ysp + 1 * Math.cos(k);
if (mod(x2 - v1._x) < 40) {
if (mod(y2 - v1._y) < 40) {
v1.del = true;
}
}
if (v1.del == true) {
v1._alpha -= 15;
if (v1._alpha < 16) {
v1.removeMovieClip();
}
}
}
};
mod = function (x) {
if (x > 0) {
return x;
}
x *= -1;
return x;
};
}
frame 4 {
stop();
_root.sfx.sof.start(0, 3000);
_root.new_level();
tk1 = 0;
tk2 = 0;
onEnterFrame = function () {
if (kissing == true) {
if (palevo == false) {
++tk1;
if (tk1 > 7 - ha_kp_add) {
tk1 = 0;
kissplus();
}
} else {
kp_minus();
}
} else {
++tk2;
if (tk2 > 10) {
tk2 = 0;
kp_minus();
}
}
zad_minus();
_root.hearts_move();
if (_root.vrag_zad > 0) {
--_root.vrag_zad;
}
if (palevo == true) {
}
if (step2 == true) {
++t;
if (t == 2) {
step2 = false;
}
}
if (times > -1) {
++times_t;
if (times_t > 24) {
times_t = 0;
--times;
GAME.mclock.gotoAndStop(times + 1);
}
} else {
times = 40 + 12 * _root.ha_times;
GAME.mclock.gotoAndStop(times + 1);
lives_minus();
}
};
}
movieClip 351 {
}
movieClip 352 {
}
movieClip 353 {
}
movieClip 359 {
}
movieClip 361 {
}
movieClip 363 {
frame 9 {
gotoAndPlay('walk');
}
frame 20 {
gotoAndPlay('stare');
}
}
movieClip 366 {
frame 1 {
stop();
}
}
movieClip 367 {
frame 1 {
gotoAndPlay('back');
}
frame 2 {
_root.last_vrag = this;
}
frame 22 {
enabled = true;
dp = 0;
onPress = function () {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
var v3 = choose(0, 1, 2) + _root.ha_power;
dl -= v3 * 6;
_root.score += v3 * _root.levels;
if (dp > 10) {
dp = 0;
}
var v2 = _root.attachMovie('l_uron', 'l_uron', 300 + dp++);
v2._x = _root._xmouse;
v2._y = _root._ymouse;
v2.num.gotoAndStop(1 + v3);
};
onEnterFrame = function () {
if (_root.kissing == true) {
if (_root.palevo == false) {
_root.palevo = true;
_root.attachMovie('m_flash', 'm_flash', 1000);
if (_root.sound_play == true) {
_root.sfx.s12.start();
}
stop();
}
if (vr._currentframe < 10) {
vr.gotoAndPlay('stare');
}
} else {
gotoAndPlay(_currentframe);
if (vr._currentframe > 9) {
vr.gotoAndPlay('walk');
}
}
};
}
instance of movieClip 366 {
onClipEvent (enterFrame) {
var urkp = Math.round(100 * _parent.dl / _parent.dl_max);
this.gotoAndStop(urkp + 1);
}
}
frame 30 {
if (dl > 0) {
dl -= 5;
if (dl < 0) {
dl = 0;
}
gotoAndPlay('pause');
} else {
dl = 0;
}
}
frame 31 {
onEnterFrame = function () {};
enabled = false;
gotoAndPlay(_currentframe + 1);
}
frame 32 {
if (_root.last_vrag == this) {
_root.vrag_exist = false;
}
}
frame 73 {
if (_root.vrag_zad > 0) {
gotoAndPlay('back');
} else {
if (_root.zad == 0) {
var r = random(_root.hard);
if (r < 10) {
_root.vrag_exist = true;
gotoAndPlay('start');
dl = 50 + 20 * _root.levels;
dl_max = dl;
_root.zad = dl / 2 + _root.ha_pause * 50;
enabled = true;
} else {
gotoAndPlay('back');
}
} else {
gotoAndPlay('back');
}
}
}
}
movieClip 375 {
}
movieClip 377 {
frame 9 {
gotoAndPlay('walk');
}
frame 20 {
gotoAndPlay('stare');
}
}
movieClip 378 {
frame 1 {
gotoAndPlay('back');
}
frame 2 {
_root.last_vrag = this;
}
frame 24 {
enabled = true;
dp = 0;
onPress = function () {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
var v3 = choose(0, 1, 2) + _root.ha_power;
dl -= v3 * 6;
_root.score += v3 * _root.levels;
if (dp > 10) {
dp = 0;
}
var v2 = _root.attachMovie('l_uron', 'l_uron', 300 + dp++);
v2._x = _root._xmouse;
v2._y = _root._ymouse;
v2.num.gotoAndStop(1 + v3);
};
onEnterFrame = function () {
if (_root.kissing == true) {
if (_root.palevo == false) {
_root.palevo = true;
_root.attachMovie('m_flash', 'm_flash', 1000);
if (_root.sound_play == true) {
_root.sfx.s13.start();
}
stop();
}
if (vr._currentframe < 10) {
vr.gotoAndPlay('stare');
}
} else {
gotoAndPlay(_currentframe);
if (vr._currentframe > 9) {
vr.gotoAndPlay('walk');
}
}
};
}
instance of movieClip 366 {
onClipEvent (enterFrame) {
var urkp = Math.round(100 * _parent.dl / _parent.dl_max);
this.gotoAndStop(urkp + 1);
}
}
frame 32 {
if (dl > 0) {
dl -= 5;
if (dl < 0) {
dl = 0;
}
gotoAndPlay('pause');
} else {
dl = 0;
}
}
frame 33 {
onEnterFrame = function () {};
enabled = false;
gotoAndPlay(_currentframe + 1);
}
frame 34 {
if (_root.last_vrag == this) {
_root.vrag_exist = false;
}
}
frame 88 {
if (_root.vrag_zad > 0) {
gotoAndPlay('back');
} else {
if (_root.zad == 0) {
var r = random(_root.hard);
if (r < 10) {
_root.vrag_exist = true;
gotoAndPlay('start');
dl = 50 + 20 * _root.levels;
dl_max = dl;
_root.zad = dl / 2 + _root.ha_pause * 50;
enabled = true;
} else {
gotoAndPlay('back');
}
} else {
gotoAndPlay('back');
}
}
}
}
movieClip 382 {
}
movieClip 389 {
}
movieClip 391 {
}
movieClip 392 {
frame 9 {
gotoAndPlay('walk');
}
frame 20 {
gotoAndPlay('stare');
}
}
movieClip 393 {
}
movieClip 394 {
frame 1 {
gotoAndPlay('back');
}
frame 2 {
_root.last_vrag = this;
}
frame 22 {
enabled = true;
dp = 0;
onPress = function () {
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
var v3 = choose(0, 1, 2) + _root.ha_power;
dl -= v3 * 6;
_root.score += v3 * _root.levels;
if (dp > 10) {
dp = 0;
}
var v2 = _root.attachMovie('l_uron', 'l_uron', 300 + dp++);
v2._x = _root._xmouse;
v2._y = _root._ymouse;
v2.num.gotoAndStop(1 + v3);
};
onEnterFrame = function () {
if (_root.kissing == true) {
if (_root.palevo == false) {
_root.palevo = true;
_root.attachMovie('m_flash', 'm_flash', 1000);
if (_root.sound_play == true) {
_root.sfx.s14.start();
}
stop();
}
if (vr._currentframe < 10) {
vr.gotoAndPlay('stare');
}
} else {
gotoAndPlay(_currentframe);
if (vr._currentframe > 9) {
vr.gotoAndPlay('walk');
}
}
};
}
instance of movieClip 366 {
onClipEvent (enterFrame) {
var urkp = Math.round(100 * _parent.dl / _parent.dl_max);
this.gotoAndStop(urkp + 1);
}
}
frame 30 {
if (dl > 0) {
dl -= 5;
if (dl < 0) {
dl = 0;
}
gotoAndPlay('pause');
} else {
dl = 0;
}
}
frame 31 {
onEnterFrame = function () {};
enabled = false;
gotoAndPlay(_currentframe + 1);
}
frame 32 {
if (_root.last_vrag == this) {
_root.vrag_exist = false;
}
}
frame 73 {
if (_root.vrag_zad > 0) {
gotoAndPlay('back');
} else {
if (_root.zad == 0) {
var r = random(_root.hard);
if (r < 10) {
_root.vrag_exist = true;
gotoAndPlay('start');
dl = 50 + 20 * _root.levels;
dl_max = dl;
_root.zad = dl / 2 + _root.ha_pause * 50;
enabled = true;
} else {
gotoAndPlay('back');
}
} else {
gotoAndPlay('back');
}
}
}
}
movieClip 408 {
}
movieClip 410 {
}
movieClip 411 {
}
movieClip 412 {
}
movieClip 413 {
}
movieClip 414 {
}
movieClip 415 {
}
movieClip 416 {
}
movieClip 417 {
}
movieClip 418 {
}
movieClip 419 {
}
movieClip 420 {
}
movieClip 421 {
}
movieClip 422 {
}
movieClip 424 {
}
movieClip 426 {
}
movieClip 428 {
}
movieClip 430 {
}
movieClip 432 {
}
movieClip 433 {
frame 1 {
_root.palevo = false;
}
frame 39 {
gotoAndPlay('idle');
}
frame 81 {
gotoAndPlay('idle');
}
frame 83 {
if (_root.kissing != true) {
_root.kissing = true;
}
}
frame 89 {
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
}
frame 98 {
_root.hearts_create();
}
frame 104 {
_root.hearts_create();
}
frame 110 {
_root.hearts_create();
}
frame 115 {
_root.hearts_create();
}
frame 120 {
_root.hearts_create();
}
frame 126 {
_root.hearts_create();
}
frame 132 {
_root.hearts_create();
}
frame 139 {
_root.hearts_create();
}
frame 146 {
_root.hearts_create();
}
frame 149 {
gotoAndPlay('ks');
}
frame 154 {
gotoAndPlay('idle');
}
}
movieClip 436 {
}
movieClip 439 {
}
movieClip 440 {
frame 1 {
stop();
}
}
movieClip 444 {
}
movieClip 445 {
frame 1 {
stop();
}
}
movieClip 449 {
}
movieClip 450 {
}
// unknown tag 88 length 219
movieClip 553 {
frame 1 {
stop();
}
}
movieClip 554 {
instance pa of movieClip 450 {
}
instance mclock of movieClip 553 {
}
}
movieClip 556 {
}
instance clickpara of movieClip 556 {
onClipEvent (load) {
_visible = false;
onMouseDown = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, 1)) {
_root.GAME.para.gotoAndPlay('kiss');
}
};
onMouseUp = function () {
if (_root.kissing == true) {
_root.GAME.para.gotoAndPlay('ke');
}
_root.kissing = false;
};
}
}
// unknown tag 88 length 229
movieClip 559 {
}
movieClip 563 {
}
movieClip 564 {
instance txt of movieClip 559 {
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_parent.vis == true) {
if (_alpha < 100) {
_alpha = _alpha + 10;
}
}
if (_parent.vis == false) {
if (_alpha > 0) {
_alpha = _alpha - 25;
}
}
}
}
frame 40 {
var r = random(70 - 10 * _root.ha_fishluck);
if (r < 10) {
hp_max = 1 + random(Math.floor(_root.levels * 2));
hp = hp_max;
txt.txt.text = String(hp);
gotoAndPlay('start');
} else {
gotoAndPlay('back');
}
}
frame 49 {
onEnterFrame = function () {
if (zad > 0) {
--zad;
} else {
vis = false;
}
};
this.enabled = true;
onRelease = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
hp -= 1 + _root.ha_aster_power;
if (hp != 0) {
txt.txt.text = hp;
vis = true;
zad = 30;
}
if (hp <= 0) {
vis = false;
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
_root.asterplus(hp_max);
this.enabled = false;
this.onEnterFrame = function () {};
_root.GAME.para.gotoAndPlay('gal');
gotoAndPlay('fish_start');
}
};
}
frame 67 {
gotoAndPlay('fish');
}
frame 76 {
gotoAndPlay('back');
}
}
button 568 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 569 {
}
movieClip 571 {
frame 1 {
stop();
}
}
movieClip 572 {
instance kn2 of movieClip 324 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
_root.sfx.sof.setVolume(0);
this.gotoAndStop(2);
} else {
_root.sound_play = true;
_root.sfx.sof.setVolume(100);
this.gotoAndStop(1);
}
}
}
instance kn1 of movieClip 326 {
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 328 {
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);
}
}
}
instance kn5 of movieClip 571 {
onClipEvent (load) {
if (_root.levels == 1) {
_root.help = true;
var mc = _root.attachMovie('m_helper', 'm_helper', 1998);
mc._x = 10;
mc._y = 85;
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.help == true) {
_root.help = false;
this.gotoAndStop(1);
} else {
_root.help = true;
var mc = _root.attachMovie('m_helper', 'm_helper', 1998);
mc._x = 10;
mc._y = 85;
this.gotoAndStop(2);
}
}
}
}
instance huee of movieClip 572 {
onClipEvent (load) {
this.swapDepths(1999);
}
}
frame 5 {
var mc = _root.attachMovie('m_helper', 'm_helper', 1998);
mc.removeMovieClip();
var mc = _root.attachMovie('m_helper', 'm_helper', 1999);
mc.removeMovieClip();
var mc = _root.attachMovie('m_helper', 'm_helper', 2999);
mc.removeMovieClip();
onEnterFrame = function () {};
if (_root.sound_play == true) {
var s15 = new Sound(this);
s15.attachSound('so_tom');
this.s15.start();
}
}
movieClip 573 {
}
movieClip 575 {
}
button 580 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.gotoAndStop('mainmenu');
}
}
movieClip 585 {
}
frame 6 {
var mc = _root.attachMovie('m_helper', 'm_helper', 1998);
mc.removeMovieClip();
var mc = _root.attachMovie('m_helper', 'm_helper', 1999);
mc.removeMovieClip();
var mc = _root.attachMovie('m_helper', 'm_helper', 2999);
mc.removeMovieClip();
onEnterFrame = function () {};
if (_root.sound_play == true) {
var s15 = new Sound(this);
s15.attachSound('so_tom');
this.s15.start();
}
}
frame 6 {
var clickurl = 'http://www.playpink.com/?utm_medium=brandedgames_external&utm_campaign=' + _root.gamename + '&utm_source=' + _root.gamedomain + '&utm_content=ingame&checkpartner=1';
var clickurl = 'http://www.playpink.com/?utm_medium=brandedgames_external&utm_campaign=' + _root.gamename + '&utm_source=' + _root.gamedomain + '&utm_content=ingame&checkpartner=1';
}
movieClip 587 {
}
button 592 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
if (_root.all_done()) {
_root.gotoAndStop('play_game');
} else {
++_root.bonus;
_root.gotoAndStop('kach');
}
}
}
frame 8 {
r1.gotoAndStop(_root.ha_kp_add + 1);
r2.gotoAndStop(_root.ha_times + 1);
r3.gotoAndStop(_root.ha_power + 1);
r4.gotoAndStop(_root.ha_aster_power + 1);
r5.gotoAndStop(_root.ha_pause + 1);
r6.gotoAndStop(_root.ha_bonus + 1);
r7.gotoAndStop(_root.ha_fishluck + 1);
}
movieClip 597 {
}
movieClip 606 {
frame 1 {
stop();
}
}
instance r1 of movieClip 606 {
onClipEvent (release) {
if (_root.bonus > 0) {
if (_root.ha_kp_add < 5) {
++_root.ha_kp_add;
_parent.r1.gotoAndStop(_root.ha_kp_add + 1);
--_root.bonus;
if (_root.bonus == 0 or _root.all_done()) {
_root.attachMovie('l_bon_end', 'l_bon_end', 1000);
}
}
}
}
}
instance r2 of movieClip 606 {
onClipEvent (release) {
if (_root.bonus > 0) {
if (_root.ha_times < 5) {
++_root.ha_times;
_parent.r2.gotoAndStop(_root.ha_times + 1);
--_root.bonus;
if (_root.bonus == 0 or _root.all_done()) {
_root.attachMovie('l_bon_end', 'l_bon_end', 1000);
}
}
}
}
}
instance r3 of movieClip 606 {
onClipEvent (release) {
if (_root.bonus > 0) {
if (_root.ha_power < 5) {
++_root.ha_power;
_parent.r3.gotoAndStop(_root.ha_power + 1);
--_root.bonus;
if (_root.bonus == 0 or _root.all_done()) {
_root.attachMovie('l_bon_end', 'l_bon_end', 1000);
}
}
}
}
}
instance r4 of movieClip 606 {
onClipEvent (release) {
if (_root.bonus > 0) {
if (_root.ha_aster_power < 5) {
++_root.ha_aster_power;
_parent.r4.gotoAndStop(_root.ha_aster_power + 1);
--_root.bonus;
if (_root.bonus == 0 or _root.all_done()) {
_root.attachMovie('l_bon_end', 'l_bon_end', 1000);
}
}
}
}
}
instance r5 of movieClip 606 {
onClipEvent (release) {
if (_root.bonus > 0) {
if (_root.ha_pause < 5) {
++_root.ha_pause;
_parent.r5.gotoAndStop(_root.ha_pause + 1);
--_root.bonus;
if (_root.bonus == 0 or _root.all_done()) {
_root.attachMovie('l_bon_end', 'l_bon_end', 1000);
}
}
}
}
}
instance r6 of movieClip 606 {
onClipEvent (release) {
if (_root.bonus > 0) {
if (_root.ha_bonus < 5) {
++_root.ha_bonus;
_parent.r6.gotoAndStop(_root.ha_bonus + 1);
--_root.bonus;
if (_root.bonus == 0 or _root.all_done()) {
_root.attachMovie('l_bon_end', 'l_bon_end', 1000);
}
}
}
}
}
instance r7 of movieClip 606 {
onClipEvent (release) {
if (_root.bonus > 0) {
if (_root.ha_fishluck < 5) {
++_root.ha_fishluck;
_parent.r7.gotoAndStop(_root.ha_fishluck + 1);
--_root.bonus;
if (_root.bonus == 0 or _root.all_done()) {
_root.attachMovie('l_bon_end', 'l_bon_end', 1000);
}
}
}
}
}