Combined Code
movieClip 16 {
}
movieClip 17 m_heart {
}
// unknown tag 88 length 153
// unknown tag 88 length 153
movieClip 30 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 32 m_flash {
frame 1 {
}
frame 20 {
this.removeMovieClip();
}
}
movieClip 39 m_osvet {
frame 42 {
this.removeMovieClip();
}
}
movieClip 40 l_bon_end {
frame 11 {
_root.gotoAndStop('play_game');
this.removeMovieClip();
}
}
movieClip 59 {
frame 1 {
stop();
}
}
movieClip 60 l_uron {
frame 16 {
this.removeMovieClip();
}
}
// unknown tag 88 length 229
movieClip 66 {
}
movieClip 70 {
instance txt of movieClip 66 {
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;
}
}
}
}
}
movieClip 71 l_monstr_3 {
frame 1 {
ss = 0;
stop();
tt = 0;
onEnterFrame = function () {
if (this.vr.vis == true) {
++tt;
if (tt > 60) {
tt = 0;
this.vr.vis = false;
}
}
++ss;
if (ss > ss_max) {
ss = 0;
this.nextFrame();
}
++ss;
if (ss > ss_max) {
ss = 0;
this.nextFrame();
}
++ss;
if (ss > ss_max) {
ss = 0;
this.nextFrame();
}
++ss;
if (ss > ss_max) {
ss = 0;
this.nextFrame();
}
++ss;
if (ss > ss_max) {
ss = 0;
this.nextFrame();
}
};
}
frame 613 {
gotoAndPlay('start');
}
}
movieClip 72 l_monstr_2 {
frame 1 {
ss = 0;
stop();
tt = 0;
onEnterFrame = function () {
if (this.vr.vis == true) {
++tt;
if (tt > 60) {
tt = 0;
this.vr.vis = false;
}
}
++ss;
if (ss > ss_max) {
ss = 0;
this.nextFrame();
}
++ss;
if (ss > ss_max) {
ss = 0;
this.nextFrame();
}
++ss;
if (ss > ss_max) {
ss = 0;
this.nextFrame();
}
++ss;
if (ss > ss_max) {
ss = 0;
this.nextFrame();
}
++ss;
if (ss > ss_max) {
ss = 0;
this.nextFrame();
}
};
}
frame 613 {
gotoAndPlay('start');
}
}
movieClip 73 l_monstr {
frame 1 {
ss = 0;
stop();
tt = 0;
onEnterFrame = function () {
if (this.vr.vis == true) {
++tt;
if (tt > 60) {
tt = 0;
this.vr.vis = false;
}
}
++ss;
if (ss > ss_max) {
ss = 0;
this.nextFrame();
}
++ss;
if (ss > ss_max) {
ss = 0;
this.nextFrame();
}
++ss;
if (ss > ss_max) {
ss = 0;
this.nextFrame();
}
++ss;
if (ss > ss_max) {
ss = 0;
this.nextFrame();
}
++ss;
if (ss > ss_max) {
ss = 0;
this.nextFrame();
}
};
}
frame 613 {
gotoAndPlay('start');
}
}
movieClip 77 l_exp {
frame 1 {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
}
frame 12 {
this.removeMovieClip();
}
}
movieClip 79 {
}
movieClip 81 l_but_drop {
frame 15 {
if (_root.ha_ba_zad == 0) {
gotoAndPlay('p5');
}
if (_root.ha_ba_zad == 1) {
gotoAndPlay('p4');
}
if (_root.ha_ba_zad == 2) {
gotoAndPlay('p3');
}
if (_root.ha_ba_zad == 3) {
gotoAndPlay('p2');
}
if (_root.ha_ba_zad == 4) {
gotoAndPlay('p1');
}
if (_root.ha_ba_zad == 5) {
gotoAndPlay('p0');
}
}
frame 140 {
var i = 0;
while (i < _root.MONSTERS.AS.length) {
var id = _root.MONSTERS.AS[i];
if (id.hitTest(this)) {
id.hp -= _root.ha_uron + 1;
if (id.hp <= 0) {
if (_root.sound_play == true) {
_root.sfx.s8.start();
}
_root.asterplus(id.hp_max);
var xx = id.vr._x + id._x - 5;
var yy = id.vr._y + id._y - 17;
var mc = _root.attachMovie('l_skel_del', 'l_skel_del' + random(5000), id.getDepth());
mc._x = xx;
mc._y = yy;
_root.MONSTERS.AS.splice(i, 1);
id.removeMovieClip();
--_root.MONSTERS.vr_num;
} else {
id.vr.vis = true;
id.vr.txt.txt.text = id.hp;
}
}
++i;
}
}
frame 148 {
--_root.ba_num;
this.removeMovieClip();
}
}
movieClip 89 l_skel_del {
frame 22 {
this.removeMovieClip();
}
}
movieClip 91 l_clear {
}
frame 2 {
stop();
System.security.allowDomain('www.playpink.com');
var lc = new LocalConnection();
_root.gamedomain = lc.domain();
_root.gamename = 'THE_MAGES_KISSING';
_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 99 {
frame 1 {
stop();
}
}
movieClip 104 {
}
movieClip 106 {
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 111 {
on (release) {
getURL(_root.linkURL, '_blank');
}
}
// unknown tag 88 length 219
movieClip 114 {
}
frame 3 {
gotoAndPlay(_currentframe + 1);
}
button 115 {
on (press) {
getURL(_root.linkURL, '_blank');
}
}
movieClip 118 {
}
movieClip 121 {
}
movieClip 123 {
}
movieClip 125 {
}
movieClip 127 {
}
movieClip 129 {
}
movieClip 131 {
}
movieClip 133 {
}
movieClip 135 {
}
movieClip 137 {
}
movieClip 139 {
}
movieClip 141 {
}
movieClip 142 {
}
movieClip 144 {
}
movieClip 147 {
}
movieClip 149 {
}
movieClip 152 {
}
movieClip 153 {
}
movieClip 155 {
}
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_ba_nummax = 0;
_root.ha_ba_zad = 0;
_root.ha_uron = 0;
_root.ha_kp_add = 0;
_root.ha_times = 0;
_root.ha_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_pause == 5 && _root.ha_bonus == 5 && _root.ha_ba_nummax == 5 && _root.ha_ba_zad == 5 && _root.ha_uron == 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 = 3 * levels;
if (levels > 10) {
aster_lvlpoints += 3 * 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 234
movieClip 158 {
}
instance mus of movieClip 158 {
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 160 {
}
instance sfx of movieClip 160 {
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');
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_met');
s8 = new Sound(this);
s8.attachSound('so_skel_death');
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 164 {
}
button 169 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 171 {
}
movieClip 172 {
}
movieClip 176 {
}
// unknown tag 88 length 219
button 181 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
button 185 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 188 {
}
movieClip 193 {
frame 1 {
stop();
}
}
instance kn2 of movieClip 193 {
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 195 {
}
instance kn1 of movieClip 195 {
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 197 {
frame 1 {
stop();
}
}
instance kn3 of movieClip 197 {
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 198 {
frame 1 {
this.swapDepths(3001);
}
frame 13 {
this.removeMovieClip();
}
}
movieClip 202 {
}
button 207 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
movieClip 210 {
}
frame 190 {
stop();
var mc = _root.GAME.createEmptyMovieClip('HG', 7);
mc._x = 0;
mc._y = 0;
mc.depth = 0;
k = 1;
x1 = 208;
y1 = 350;
x2 = 196;
y2 = 30;
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 {
_root.sfx.sof.start(0, 3000);
stop();
_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 {
stop();
}
movieClip 212 {
frame 1 {
AS = [];
vr_num = 0;
mdepth = 0;
index = 0;
}
frame 73 {
++mdepth;
if (mdepth > 6) {
mdepth = 0;
}
++index;
var r = choose('l_monstr', 'l_monstr_2', 'l_monstr_3');
var mc = _root.attachMovie(r, 'l_monstr' + mdepth + index, 11 + mdepth);
mc._x = 314;
mc._y = 208;
mc.hp_max = 1 + random(Math.floor(_root.levels / 2));
mc.hp = mc.hp_max;
mc.ss_max = 6;
if (_root.levels > 5) {
mc.ss_max = 5;
}
if (_root.levels > 10) {
mc.ss_max = 4;
}
if (_root.levels > 15) {
mc.ss_max = 3;
}
if (_root.levels > 20) {
mc.ss_max = 2;
}
if (_root.levels > 25) {
mc.ss_max = 1;
}
if (_root.levels > 30) {
mc.ss_max = 0;
}
++vr_num;
AS.push(mc);
}
frame 80 {
var r = random(300);
if (vr_num < 5) {
if (r < 10) {
gotoAndPlay('start');
} else {
gotoAndPlay('back');
}
} else {
gotoAndPlay('back');
}
}
}
movieClip 213 {
}
instance of movieClip 213 {
onClipEvent (load) {
this.swapDepths(99);
badepth = 0;
_root.ba_num = 0;
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
if (_root.ba_mask.hitTest(_x, _y, 1)) {
vis = true;
if (_alpha < 100) {
_alpha = _alpha + 20;
}
} else {
vis = false;
if (_alpha > 0) {
_alpha = _alpha - 20;
}
}
if (this._visible == false) {
if (_root.ba_num < _root.ha_ba_nummax + 1) {
this._visible = true;
}
}
onMouseDown = function () {
if (vis == true) {
if (_root.ba_num < _root.ha_ba_nummax + 1) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
++badepth;
if (badepth > 10) {
badepth = 0;
}
var v3 = _root.attachMovie('l_but_drop', 'l_but_drop' + badepth, badepth);
v3._x = _x;
v3._y = _y;
++_root.ba_num;
if (_root.ba_num >= _root.ha_ba_nummax + 1) {
this._visible = false;
}
}
}
};
}
}
movieClip 231 {
}
movieClip 233 {
}
movieClip 240 {
frame 1 {
_root.palevo = false;
}
frame 30 {
}
frame 61 {
gotoAndPlay('idle');
}
frame 63 {
if (_root.kissing != true) {
_root.kissing = true;
}
}
frame 69 {
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
}
frame 80 {
_root.hearts_create();
}
frame 85 {
_root.hearts_create();
}
frame 89 {
_root.hearts_create();
}
frame 94 {
_root.hearts_create();
}
frame 98 {
_root.hearts_create();
}
frame 102 {
_root.hearts_create();
}
frame 106 {
_root.hearts_create();
}
frame 110 {
_root.hearts_create();
}
frame 114 {
_root.hearts_create();
}
frame 118 {
_root.hearts_create();
}
frame 122 {
gotoAndPlay('ks');
}
frame 128 {
gotoAndPlay('idle');
}
}
movieClip 245 {
frame 1 {
stop();
}
}
movieClip 249 {
frame 9 {
gotoAndPlay('walk');
}
frame 20 {
gotoAndPlay('stare');
}
}
movieClip 250 {
frame 1 {
gotoAndPlay('back');
}
frame 2 {
_root.last_vrag = this;
}
frame 19 {
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 245 {
onClipEvent (enterFrame) {
var urkp = Math.round(100 * _parent.dl / _parent.dl_max);
this.gotoAndStop(urkp + 1);
}
}
frame 28 {
if (dl > 0) {
dl -= 5;
if (dl < 0) {
dl = 0;
}
gotoAndPlay('pause');
} else {
dl = 0;
}
}
frame 29 {
onEnterFrame = function () {};
enabled = false;
gotoAndPlay(_currentframe + 1);
}
frame 30 {
if (_root.last_vrag == this) {
_root.vrag_exist = false;
}
}
frame 55 {
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 256 {
}
movieClip 257 {
}
movieClip 259 {
}
movieClip 261 {
frame 9 {
gotoAndPlay('walk');
}
frame 20 {
gotoAndPlay('stare');
}
}
movieClip 262 {
frame 1 {
gotoAndPlay('back');
}
frame 2 {
_root.last_vrag = this;
}
frame 19 {
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 245 {
onClipEvent (enterFrame) {
var urkp = Math.round(100 * _parent.dl / _parent.dl_max);
this.gotoAndStop(urkp + 1);
}
}
frame 28 {
if (dl > 0) {
dl -= 5;
if (dl < 0) {
dl = 0;
}
gotoAndPlay('pause');
} else {
dl = 0;
}
}
frame 29 {
onEnterFrame = function () {};
enabled = false;
gotoAndPlay(_currentframe + 1);
}
frame 30 {
if (_root.last_vrag == this) {
_root.vrag_exist = false;
}
}
frame 59 {
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 267 {
}
movieClip 268 {
}
movieClip 270 {
}
movieClip 271 {
frame 9 {
gotoAndPlay('walk');
}
frame 20 {
gotoAndPlay('stare');
}
}
movieClip 272 {
frame 1 {
gotoAndPlay('back');
}
frame 2 {
_root.last_vrag = this;
}
frame 19 {
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 245 {
onClipEvent (enterFrame) {
var urkp = Math.round(100 * _parent.dl / _parent.dl_max);
this.gotoAndStop(urkp + 1);
}
}
frame 28 {
if (dl > 0) {
dl -= 5;
if (dl < 0) {
dl = 0;
}
gotoAndPlay('pause');
} else {
dl = 0;
}
}
frame 29 {
onEnterFrame = function () {};
enabled = false;
gotoAndPlay(_currentframe + 1);
}
frame 30 {
if (_root.last_vrag == this) {
_root.vrag_exist = false;
}
}
frame 60 {
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 275 {
}
movieClip 279 {
}
movieClip 280 {
frame 1 {
stop();
}
}
movieClip 284 {
}
movieClip 285 {
frame 1 {
stop();
}
}
movieClip 289 {
}
movieClip 290 {
}
movieClip 392 {
frame 1 {
stop();
}
}
movieClip 393 {
instance pa of movieClip 290 {
}
instance mclock of movieClip 392 {
}
}
movieClip 395 {
}
instance clickpara of movieClip 395 {
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;
};
}
}
movieClip 397 {
frame 1 {
stop();
}
}
instance ba_mask of movieClip 397 {
onClipEvent (load) {
_visible = false;
}
}
button 401 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 402 {
}
movieClip 404 {
frame 1 {
stop();
}
}
movieClip 405 {
instance kn2 of movieClip 193 {
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 195 {
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 197 {
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 404 {
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 405 {
onClipEvent (load) {
this.swapDepths(1999);
}
}
frame 191 {
var i = 0;
while (i < 100) {
var mc = _root.attachMovie('l_clear', 'l_clear', i);
mc.removeMovieClip();
++i;
}
var mc = _root.attachMovie('l_clear', 'l_clear', 1998);
mc.removeMovieClip();
var mc = _root.attachMovie('l_clear', 'l_clear', 1999);
mc.removeMovieClip();
onEnterFrame = function () {};
if (_root.sound_play == true) {
var s15 = new Sound(this);
s15.attachSound('so_tom');
this.s15.start();
}
}
movieClip 406 {
}
button 412 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.gotoAndStop('mainmenu');
}
}
movieClip 417 {
}
frame 192 {
var i = 0;
while (i < 100) {
var mc = _root.attachMovie('l_clear', 'l_clear', i);
mc.removeMovieClip();
++i;
}
var mc = _root.attachMovie('l_clear', 'l_clear', 1998);
mc.removeMovieClip();
var mc = _root.attachMovie('l_clear', 'l_clear', 1999);
mc.removeMovieClip();
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 420 {
}
movieClip 423 {
}
button 428 {
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_uron + 1);
r8.gotoAndStop(_root.ha_ba_nummax + 1);
r9.gotoAndStop(_root.ha_ba_zad + 1);
}
movieClip 431 {
}
movieClip 444 {
frame 1 {
stop();
}
}
instance r1 of movieClip 444 {
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 444 {
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 444 {
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 r5 of movieClip 444 {
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 444 {
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 444 {
onClipEvent (release) {
if (_root.bonus > 0) {
if (_root.ha_uron < 5) {
++_root.ha_uron;
_parent.r7.gotoAndStop(_root.ha_uron + 1);
--_root.bonus;
if (_root.bonus == 0 or _root.all_done()) {
_root.attachMovie('l_bon_end', 'l_bon_end', 1000);
}
}
}
}
}
instance r9 of movieClip 444 {
onClipEvent (release) {
if (_root.bonus > 0) {
if (_root.ha_ba_zad < 5) {
++_root.ha_ba_zad;
_parent.r9.gotoAndStop(_root.ha_ba_zad + 1);
--_root.bonus;
if (_root.bonus == 0 or _root.all_done()) {
_root.attachMovie('l_bon_end', 'l_bon_end', 1000);
}
}
}
}
}
instance r8 of movieClip 444 {
onClipEvent (release) {
if (_root.bonus > 0) {
if (_root.ha_ba_nummax < 5) {
++_root.ha_ba_nummax;
_parent.r8.gotoAndStop(_root.ha_ba_nummax + 1);
--_root.bonus;
if (_root.bonus == 0 or _root.all_done()) {
_root.attachMovie('l_bon_end', 'l_bon_end', 1000);
}
}
}
}
}