Combined Code
// unknown tag 88 length 153
movieClip 19 m_osvet {
frame 42 {
this.removeMovieClip();
}
}
movieClip 20 l_bon_end {
frame 11 {
_root.gotoAndStop('play_game');
this.removeMovieClip();
}
}
movieClip 22 {
}
movieClip 23 m_heart {
}
// unknown tag 88 length 153
movieClip 35 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();
}
}
};
}
}
movieClip 54 {
frame 1 {
stop();
}
}
movieClip 55 l_uron {
frame 16 {
this.removeMovieClip();
}
}
movieClip 57 m_flash {
frame 1 {
if (_root.sound_play == true) {
_root.sfx.s3.start();
}
}
frame 20 {
this.removeMovieClip();
}
}
frame 2 {
stop();
System.security.allowDomain('www.playpink.com');
var lc = new LocalConnection();
_root.gamedomain = lc.domain();
_root.gamename = 'Kiss_Zac_Efron';
_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;
}
// unknown tag 88 length 56
movieClip 65 {
frame 1 {
stop();
}
}
movieClip 70 {
}
movieClip 72 {
frame 1 {
stop();
onEnterFrame = function () {
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
so.stop();
this.removeMovieClip();
_root.nextFrame();
} else {
pr = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
anim.gotoAndStop(Math.round(pr * 24 / 100));
}
};
}
}
button 77 {
on (release) {
getURL(_root.linkURL, '_blank');
}
}
// unknown tag 88 length 219
movieClip 80 {
}
frame 3 {
gotoAndPlay(_currentframe + 1);
}
button 81 {
on (press) {
getURL(_root.linkURL, '_blank');
}
}
movieClip 84 {
}
movieClip 87 {
}
movieClip 89 {
}
movieClip 91 {
}
movieClip 93 {
}
movieClip 95 {
}
movieClip 97 {
}
movieClip 99 {
}
movieClip 101 {
}
movieClip 103 {
}
movieClip 105 {
}
movieClip 107 {
}
movieClip 108 {
}
movieClip 110 {
}
movieClip 113 {
}
movieClip 115 {
}
movieClip 118 {
}
movieClip 119 {
}
movieClip 121 {
}
frame 187 {
onEnterFrame();
}
frame 188 {
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 () {
var v2 = _root.attachMovie('m_osvet', 'm_osvet', 3000);
if (levels < 21) {
hard = 1050 - 50 * levels;
} else {
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 188 {
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 124 {
}
instance mus of movieClip 124 {
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 126 {
}
instance sfx of movieClip 126 {
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');
}
}
button 132 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 134 {
}
movieClip 135 {
}
movieClip 139 {
}
// unknown tag 88 length 219
button 144 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
button 148 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 151 {
}
movieClip 156 {
frame 1 {
stop();
}
}
instance kn2 of movieClip 156 {
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 158 {
}
instance kn1 of movieClip 158 {
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 160 {
frame 1 {
stop();
}
}
instance kn3 of movieClip 160 {
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 161 {
frame 1 {
this.swapDepths(3001);
}
frame 13 {
this.removeMovieClip();
}
}
movieClip 166 {
}
button 171 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
movieClip 174 {
}
frame 190 {
stop();
var mc = _root.GAME.createEmptyMovieClip('HG', 7);
mc._x = 0;
mc._y = 0;
mc.depth = 0;
k = 1;
x1 = 240;
y1 = 200;
x2 = 210;
y2 = 65;
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 190 {
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();
}
};
}
frame 190 {
_root.sfx.sof.start(0, 3000);
}
movieClip 178 {
}
movieClip 181 {
}
movieClip 182 {
frame 1 {
stop();
}
}
movieClip 186 {
}
movieClip 187 {
frame 1 {
stop();
}
}
movieClip 191 {
}
movieClip 192 {
}
movieClip 294 {
frame 1 {
stop();
}
}
movieClip 305 {
frame 1 {
stop();
}
}
movieClip 322 {
frame 1 {
stop();
}
}
movieClip 334 {
frame 1 {
stop();
}
}
movieClip 338 {
}
movieClip 340 {
}
movieClip 351 {
frame 1 {
_root.palevo = false;
}
frame 39 {
gotoAndPlay('idle');
}
frame 54 {
gal.nextFrame();
gal2.nextFrame();
gal3.nextFrame();
if (gal._currentframe >= gal._totalframes) {
gal.gotoAndStop(1);
gal2.gotoAndStop(1);
gal3.gotoAndStop(1);
}
}
frame 65 {
gotoAndPlay('idle');
}
frame 67 {
if (_root.kissing != true) {
_root.kissing = true;
}
}
frame 73 {
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
}
frame 83 {
_root.hearts_create();
}
frame 89 {
_root.hearts_create();
}
frame 95 {
_root.hearts_create();
}
frame 100 {
_root.hearts_create();
}
frame 105 {
_root.hearts_create();
}
frame 111 {
_root.hearts_create();
}
frame 117 {
_root.hearts_create();
}
frame 122 {
_root.hearts_create();
}
frame 128 {
_root.hearts_create();
}
frame 133 {
gotoAndPlay('ks');
}
frame 138 {
gotoAndPlay('idle');
}
}
movieClip 352 {
instance pa of movieClip 192 {
}
instance mclock of movieClip 294 {
}
}
movieClip 356 {
frame 9 {
gotoAndPlay('walk');
}
frame 20 {
gotoAndPlay('stare');
}
}
movieClip 359 {
frame 1 {
stop();
}
}
movieClip 360 {
frame 1 {
gotoAndPlay('back');
}
frame 2 {
_root.last_vrag = this;
}
frame 21 {
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);
stop();
}
if (vr._currentframe < 10) {
vr.gotoAndPlay('stare');
}
} else {
gotoAndPlay(_currentframe);
if (vr._currentframe > 9) {
vr.gotoAndPlay('walk');
}
}
};
}
instance of movieClip 359 {
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 56 {
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 363 {
frame 9 {
gotoAndPlay('walk');
}
frame 20 {
gotoAndPlay('stare');
}
}
movieClip 364 {
frame 1 {
gotoAndPlay('back');
}
frame 2 {
_root.last_vrag = this;
}
frame 21 {
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);
stop();
}
if (vr._currentframe < 10) {
vr.gotoAndPlay('stare');
}
} else {
gotoAndPlay(_currentframe);
if (vr._currentframe > 9) {
vr.gotoAndPlay('walk');
}
}
};
}
instance of movieClip 359 {
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 56 {
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);
stop();
}
if (vr._currentframe < 10) {
vr.gotoAndPlay('stare');
}
} else {
gotoAndPlay(_currentframe);
if (vr._currentframe > 9) {
vr.gotoAndPlay('walk');
}
}
};
}
instance of movieClip 359 {
onClipEvent (enterFrame) {
var urkp = Math.round(100 * _parent.dl / _parent.dl_max);
this.gotoAndStop(urkp + 1);
}
}
frame 31 {
if (dl > 0) {
dl -= 5;
if (dl < 0) {
dl = 0;
}
gotoAndPlay('pause');
} else {
dl = 0;
}
}
frame 32 {
onEnterFrame = function () {};
enabled = false;
gotoAndPlay(_currentframe + 1);
}
frame 33 {
if (_root.last_vrag == this) {
_root.vrag_exist = false;
}
}
frame 57 {
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');
}
}
}
}
// unknown tag 88 length 229
movieClip 373 {
}
movieClip 377 {
}
movieClip 378 {
instance txt of movieClip 373 {
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');
}
}
movieClip 380 {
}
instance clickpara of movieClip 380 {
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;
};
}
}
button 384 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 385 {
}
movieClip 387 {
frame 1 {
stop();
}
}
movieClip 388 {
instance kn2 of movieClip 156 {
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 158 {
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 160 {
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 387 {
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 388 {
onClipEvent (load) {
this.swapDepths(1999);
}
}
frame 191 {
var mc = _root.attachMovie('m_helper', 'm_helper', 1998);
mc.removeMovieClip();
var mc = _root.attachMovie('m_helper', 'm_helper', 1999);
mc.removeMovieClip();
onEnterFrame = function () {};
if (_root.sound_play == true) {
var s15 = new Sound(this);
s15.attachSound('so_tom');
this.s15.start();
}
}
movieClip 389 {
}
button 395 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.gotoAndStop('mainmenu');
}
}
movieClip 400 {
}
frame 192 {
var mc = _root.attachMovie('m_helper', 'm_helper', 1998);
mc.removeMovieClip();
var mc = _root.attachMovie('m_helper', 'm_helper', 1999);
mc.removeMovieClip();
onEnterFrame = function () {};
if (_root.sound_play == true) {
var s15 = new Sound(this);
s15.attachSound('so_tom');
this.s15.start();
}
btt = 20;
b_nl.enabled = false;
b_mn.enabled = false;
onEnterFrame = function () {
if (btt > 0) {
--btt;
} else {
b_nl.enabled = true;
b_mn.enabled = true;
onEnterFrame = function () {};
}
};
}
movieClip 402 {
}
movieClip 404 {
}
button 409 {
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 194 {
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 414 {
}
movieClip 423 {
frame 1 {
stop();
}
}
instance r1 of movieClip 423 {
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 423 {
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 423 {
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 423 {
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 423 {
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 423 {
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 423 {
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);
}
}
}
}
}