Combined Code
movieClip 17 m_flash {
frame 1 {
}
frame 20 {
this.removeMovieClip();
}
}
// unknown tag 88 length 153
movieClip 25 m_osvet {
frame 42 {
this.removeMovieClip();
}
}
movieClip 44 {
frame 1 {
stop();
}
}
movieClip 45 l_uron {
frame 16 {
this.removeMovieClip();
}
}
movieClip 46 l_bon_end {
frame 11 {
_root.gotoAndStop('play_game');
this.removeMovieClip();
}
}
button 54 {
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 61 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 65 {
}
movieClip 69 {
}
movieClip 77 {
frame 1 {
stop();
}
}
movieClip 78 nx_dial {
}
movieClip 80 {
}
movieClip 81 m_heart {
}
// unknown tag 88 length 153
movieClip 92 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();
}
}
};
}
}
frame 1 {
stop();
System.security.allowDomain('www.playpink.com');
var lc = new LocalConnection();
_root.gamedomain = lc.domain();
_root.gamename = 'Marry_Zac_Efron';
_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 94 {
on (release) {
getURL(_root.linkURL, '_blank');
}
}
movieClip 100 {
}
movieClip 101 {
}
movieClip 102 {
}
movieClip 104 {
}
button 108 {
on (release) {
_root.nextFrame();
}
}
movieClip 109 {
frame 201 {
play();
}
frame 202 {
if (_parent._currentframe < _parent._totalframes) {
gotoAndPlay(201);
} else {
gotoAndStop(203);
}
}
frame 203 {
stop();
}
}
movieClip 111 {
}
movieClip 113 {
}
movieClip 277 {
}
movieClip 279 {
}
movieClip 280 {
}
movieClip 283 {
}
movieClip 284 {
}
movieClip 285 {
instance of movieClip 109 {
}
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 289 {
}
instance mus of movieClip 289 {
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 291 {
}
instance sfx of movieClip 291 {
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');
s8 = new Sound(this);
s8.attachSound('s3');
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 295 {
}
// unknown tag 88 length 219
movieClip 299 {
}
movieClip 302 {
}
movieClip 304 {
}
button 305 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 306 {
}
movieClip 307 {
}
movieClip 311 {
}
// unknown tag 88 length 219
button 316 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
button 320 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 325 {
frame 1 {
stop();
}
}
instance kn2 of movieClip 325 {
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 327 {
}
instance kn1 of movieClip 327 {
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 329 {
frame 1 {
stop();
}
}
instance kn3 of movieClip 329 {
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 330 {
frame 1 {
this.swapDepths(3001);
}
frame 13 {
this.removeMovieClip();
}
}
movieClip 333 {
}
movieClip 336 {
}
button 337 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 340 {
}
button 344 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
frame 4 {
stop();
var mc = _root.GAME.createEmptyMovieClip('HG', 7);
mc._x = 0;
mc._y = 0;
mc.depth = 0;
k = 1;
x1 = 400;
y1 = 275;
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 349 {
}
movieClip 350 {
}
movieClip 353 {
}
movieClip 354 {
frame 9 {
gotoAndPlay('walk');
}
frame 20 {
gotoAndPlay('stare');
}
}
movieClip 357 {
frame 1 {
stop();
}
}
movieClip 358 {
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 357 {
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 361 {
frame 9 {
gotoAndPlay('walk');
}
frame 20 {
gotoAndPlay('stare');
}
}
movieClip 362 {
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.s13.start();
}
stop();
}
if (vr._currentframe < 10) {
vr.gotoAndPlay('stare');
}
} else {
gotoAndPlay(_currentframe);
if (vr._currentframe > 9) {
vr.gotoAndPlay('walk');
}
}
};
}
instance of movieClip 357 {
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 367 {
}
movieClip 368 {
frame 9 {
gotoAndPlay('walk');
}
frame 20 {
gotoAndPlay('stare');
}
}
movieClip 369 {
}
movieClip 370 {
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 357 {
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 387 {
}
movieClip 388 {
}
movieClip 389 {
}
movieClip 390 {
}
movieClip 391 {
}
movieClip 392 {
}
movieClip 393 {
}
movieClip 394 {
}
movieClip 395 {
}
movieClip 396 {
}
movieClip 397 {
}
movieClip 399 {
}
movieClip 401 {
}
movieClip 402 {
frame 1 {
_root.palevo = false;
}
frame 39 {
gotoAndPlay('idle');
}
frame 40 {
}
frame 75 {
gotoAndPlay('idle');
}
frame 77 {
if (_root.kissing != true) {
_root.kissing = true;
}
}
frame 83 {
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
}
frame 92 {
_root.hearts_create();
}
frame 98 {
_root.hearts_create();
}
frame 104 {
_root.hearts_create();
}
frame 109 {
_root.hearts_create();
}
frame 114 {
_root.hearts_create();
}
frame 120 {
_root.hearts_create();
}
frame 126 {
_root.hearts_create();
}
frame 133 {
_root.hearts_create();
}
frame 140 {
_root.hearts_create();
}
frame 143 {
gotoAndPlay('ks');
}
frame 148 {
gotoAndPlay('idle');
}
}
movieClip 410 {
}
movieClip 411 {
}
movieClip 413 {
}
movieClip 415 {
}
movieClip 418 {
}
movieClip 421 {
}
movieClip 422 {
frame 1 {
stop();
}
}
movieClip 426 {
}
movieClip 427 {
frame 1 {
stop();
}
}
movieClip 431 {
}
movieClip 432 {
}
movieClip 534 {
frame 1 {
stop();
}
}
movieClip 535 {
instance pa of movieClip 432 {
}
instance mclock of movieClip 534 {
}
}
movieClip 537 {
}
instance clickpara of movieClip 537 {
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 540 {
}
movieClip 544 {
}
movieClip 545 {
instance txt of movieClip 540 {
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 549 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 550 {
}
movieClip 552 {
frame 1 {
stop();
}
}
movieClip 553 {
instance kn2 of movieClip 325 {
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 327 {
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 329 {
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 552 {
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 553 {
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 555 {
}
movieClip 557 {
}
button 562 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.gotoAndStop('mainmenu');
}
}
movieClip 567 {
}
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 570 {
}
button 575 {
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 580 {
}
movieClip 589 {
frame 1 {
stop();
}
}
instance r1 of movieClip 589 {
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 589 {
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 589 {
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 589 {
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 589 {
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 589 {
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 589 {
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);
}
}
}
}
}