Combined Code
movieClip 16 {
}
movieClip 17 m_heart {
}
movieClip 19 m_flash {
frame 1 {
}
frame 20 {
this.removeMovieClip();
}
}
movieClip 21 {
}
movieClip 24 l_aster {
frame 1 {
this.txt.text = this.hp;
}
}
movieClip 26 {
}
movieClip 28 l_laser3 {
frame 8 {
this.removeMovieClip();
}
}
movieClip 30 l_laser2 {
frame 8 {
this.removeMovieClip();
}
}
movieClip 32 l_laser1 {
frame 6 {
this.removeMovieClip();
}
}
movieClip 35 l_exp {
frame 12 {
this.removeMovieClip();
}
}
movieClip 37 l_bon_end {
frame 11 {
_root.gotoAndStop('play_game');
this.removeMovieClip();
}
}
// unknown tag 88 length 153
movieClip 44 m_osvet {
frame 42 {
this.removeMovieClip();
}
}
// unknown tag 88 length 153
movieClip 54 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 73 {
frame 1 {
stop();
}
}
movieClip 74 l_uron {
frame 16 {
this.removeMovieClip();
}
}
frame 1 {
linkURL = 'http://www.playpink.com/?utm_medium=brandedgames_external&utm_campaign=SPACE_KISS&utm_source=ingame&utm_content=ingame';
}
frame 2 {
stop();
}
// unknown tag 88 length 56
movieClip 82 {
frame 1 {
stop();
}
}
movieClip 87 {
}
movieClip 89 {
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 94 {
on (release) {
getURL(_root.linkURL, '_blank');
}
}
// unknown tag 88 length 219
movieClip 97 {
}
frame 3 {
gotoAndPlay(_currentframe + 1);
}
button 98 {
on (press) {
getURL(_root.linkURL, '_blank');
}
}
movieClip 101 {
}
movieClip 104 {
}
movieClip 106 {
}
movieClip 108 {
}
movieClip 110 {
}
movieClip 112 {
}
movieClip 114 {
}
movieClip 116 {
}
movieClip 118 {
}
movieClip 120 {
}
movieClip 122 {
}
movieClip 124 {
}
movieClip 125 {
}
movieClip 127 {
}
movieClip 130 {
}
movieClip 132 {
}
movieClip 135 {
}
movieClip 136 {
}
movieClip 138 {
}
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_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) {
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 = 10 + 13 * levels;
if (levels > 10) {
aster_lvlpoints += 5 * levels;
}
if (levels > 20) {
aster_lvlpoints += 5 * levels;
}
if (levels > 30) {
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 <= 3) {
_root.lives = 4;
} else {
_root.lives = 3;
}
_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();
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();
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 138
movieClip 141 {
}
instance mus of movieClip 141 {
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 143 {
}
instance sfx of movieClip 143 {
onClipEvent (load) {
if (_root.sound_loaded != true) {
_root.sound_loaded = true;
_root.sound_play = true;
}
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_klava');
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 147 {
}
button 152 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 154 {
}
movieClip 155 {
}
movieClip 159 {
}
// unknown tag 88 length 219
button 164 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
button 168 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 173 {
frame 1 {
stop();
}
}
instance kn2 of movieClip 173 {
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 175 {
}
instance kn1 of movieClip 175 {
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 177 {
frame 1 {
stop();
}
}
instance kn3 of movieClip 177 {
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 178 {
frame 1 {
this.swapDepths(3001);
}
frame 13 {
this.removeMovieClip();
}
}
movieClip 184 {
}
movieClip 188 {
}
button 192 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
frame 190 {
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();
var mc = _root.GAME.createEmptyMovieClip('HG', 7);
mc._x = 0;
mc._y = 0;
mc.depth = 0;
k = 1;
x1 = 370;
y1 = 307;
x2 = 260;
y2 = 60;
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;
};
}
movieClip 197 {
}
movieClip 200 {
frame 2 {
AS = [];
var i = 0;
while (i < 10) {
var mc = this.attachMovie('l_aster', 'l_aster' + i, i);
mc._x = 300 + random(200);
mc._y = -20 + random(300);
mc.hp_max = 1 + random(Math.floor(_root.levels / 2));
mc.hp = mc.hp_max;
mc.txt.text = mc.hp;
mc.xs = 1 + Math.random(1) * 2;
mc.ys = (Math.random(1) - 0.5) * 0.5;
mc.ast._rotation = Math.floor(random(360));
AS.push(mc);
++i;
}
onEnterFrame = function () {
var v3 = 0;
while (v3 < AS.length) {
var v2 = AS[v3];
v2._x -= v2.xs;
v2._y -= v2.ys;
if (v2._x < -50) {
v2.ast._rotation = Math.floor(random(360));
v2._x = 300;
v2._y = -20 + random(300);
v2.hp_max = 1 + random(Math.floor(_root.levels / 2));
v2.hp = v2.hp_max;
v2.txt.text = v2.hp;
v2.xs = 1 + Math.random(1) * 2;
v2.ys = (Math.random(1) - 0.5) * 0.5;
}
++v3;
}
};
}
frame 3 {
stop();
}
}
movieClip 201 {
}
movieClip 208 {
}
movieClip 210 {
}
movieClip 211 {
}
movieClip 213 {
frame 10 {
gotoAndPlay('walk');
}
frame 16 {
gotoAndPlay('stare');
}
}
movieClip 216 {
frame 1 {
stop();
}
}
movieClip 217 {
frame 1 {
gotoAndPlay('back');
}
frame 2 {
_root.last_vrag = this;
}
frame 18 {
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 216 {
onClipEvent (enterFrame) {
var urkp = Math.round(100 * _parent.dl / _parent.dl_max);
this.gotoAndStop(urkp + 1);
}
}
frame 30 {
if (dl > 0) {
dl -= 11;
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 38 {
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 * 20;
enabled = true;
} else {
gotoAndPlay('back');
}
} else {
gotoAndPlay('back');
}
}
}
}
movieClip 222 {
}
movieClip 224 {
}
movieClip 228 {
frame 9 {
gotoAndPlay('walk');
}
frame 15 {
gotoAndPlay('stare');
}
}
movieClip 229 {
frame 1 {
gotoAndPlay('back');
}
frame 2 {
_root.last_vrag = this;
}
instance of movieClip 216 {
onClipEvent (enterFrame) {
var urkp = Math.round(100 * _parent.dl / _parent.dl_max);
this.gotoAndStop(urkp + 1);
}
}
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');
}
}
};
}
frame 29 {
if (dl > 0) {
dl -= 5;
if (dl < 0) {
dl = 0;
}
gotoAndPlay('pause');
} else {
dl = 0;
}
}
frame 30 {
onEnterFrame = function () {};
enabled = false;
gotoAndPlay(_currentframe + 1);
}
frame 31 {
if (_root.last_vrag == this) {
_root.vrag_exist = false;
}
}
frame 54 {
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 234 {
}
movieClip 236 {
frame 9 {
gotoAndPlay('walk');
}
frame 15 {
gotoAndPlay('stare');
}
}
movieClip 237 {
frame 1 {
gotoAndPlay('back');
}
frame 2 {
_root.last_vrag = this;
}
instance of movieClip 216 {
onClipEvent (enterFrame) {
var urkp = Math.round(100 * _parent.dl / _parent.dl_max);
this.gotoAndStop(urkp + 1);
}
}
frame 20 {
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');
}
}
};
}
frame 27 {
if (dl > 0) {
dl -= 6;
if (dl < 0) {
dl = 0;
}
gotoAndPlay('pause');
} else {
dl = 0;
}
}
frame 28 {
onEnterFrame = function () {};
enabled = false;
gotoAndPlay(_currentframe + 1);
}
frame 29 {
if (_root.last_vrag == this) {
_root.vrag_exist = false;
}
}
frame 44 {
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 248 {
}
movieClip 253 {
}
movieClip 254 {
}
movieClip 263 {
}
movieClip 265 {
}
movieClip 270 {
}
movieClip 272 {
}
movieClip 280 {
}
movieClip 281 {
frame 1 {
_root.palevo = false;
}
frame 12 {
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
}
frame 29 {
gotoAndPlay('idle');
}
frame 31 {
if (_root.kissing != true) {
_root.kissing = true;
}
}
frame 36 {
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
}
frame 46 {
_root.hearts_create();
}
frame 50 {
gotoAndPlay('ks');
}
frame 55 {
gotoAndPlay('idle');
}
}
movieClip 284 {
}
movieClip 287 {
}
movieClip 291 {
}
movieClip 292 {
frame 1 {
stop();
}
}
movieClip 296 {
}
movieClip 297 {
frame 1 {
stop();
}
}
movieClip 301 {
}
movieClip 302 {
}
movieClip 404 {
frame 1 {
stop();
}
}
movieClip 413 {
frame 9 {
gotoAndPlay('walk');
}
frame 14 {
gotoAndPlay('stare');
}
}
movieClip 416 {
frame 1 {
gotoAndPlay('back');
}
frame 2 {
_root.last_vrag = this;
}
frame 35 {
enabled = true;
onPress = function () {
dl -= 1 + _root.ha_power;
};
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) {
var v2 = Math.round(Math.random() * 2);
if (v2 == 0) {
_root.sfx.s12.start();
}
if (v2 == 1) {
_root.sfx.s13.start();
}
if (v2 == 2) {
_root.sfx.s14.start();
}
}
stop();
}
if (vr._currentframe < 10) {
vr.gotoAndPlay('stare');
}
} else {
gotoAndPlay(_currentframe);
if (vr._currentframe > 9) {
vr.gotoAndPlay('walk');
}
}
};
}
frame 45 {
if (dl > 0) {
dl -= 5;
gotoAndPlay('pause');
}
}
frame 49 {
onEnterFrame = function () {};
enabled = false;
gotoAndPlay(_currentframe + 1);
}
frame 90 {
if (_root.last_vrag == this) {
_root.vrag_exist = false;
}
}
frame 113 {
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;
_root.zad = dl / 2 + _root.ha_pause * 50;
enabled = true;
} else {
gotoAndPlay('back');
}
} else {
gotoAndPlay('back');
}
}
}
}
movieClip 425 {
frame 1 {
stop();
}
instance of movieClip 197 {
onClipEvent (load) {
xx = _x - 10;
yy = _y - 10;
nx = xx;
ny = yy;
t = 0;
}
onClipEvent (enterFrame) {
t += random(4);
if (t > 20) {
t = 0;
nx = xx + random(30);
ny = yy + random(30);
}
_x = _x + (nx - _x) / 40;
_y = _y + (ny - _y) / 40;
}
}
instance okno of movieClip 201 {
onClipEvent (load) {
ls_dp = 0;
this.useHandCursor = false;
onRelease = function () {
var v4 = 0;
while (v4 < this.aster.AS.length) {
var v3 = this.aster.AS[v4];
if (v3.hitTest(_root._xmouse, _root._ymouse, 1)) {
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
var v5 = 'l_laser1';
if (_root.ha_aster_power > 2) {
v5 = 'l_laser2';
}
if (_root.ha_aster_power > 4) {
v5 = 'l_laser3';
}
++ls_dp;
if (ls_dp > 30) {
ls_dp = 0;
}
var v6 = this.attachMovie(v5, 'laser' + ls_dp, 501 + ls_dp);
v6._x = v3._x;
v6._y = v3._y;
v6._rotation = pdir(v3._x, v3._y, 130, 200);
v3.hp -= 1 + _root.ha_aster_power;
v3.txt.text = v3.hp;
if (v3.hp <= 0) {
_root.asterplus(v3.hp_max);
v6 = this.attachMovie('l_exp', 'l_exp', 500);
v6._x = v3._x;
v6._y = v3._y;
v3.laser._x += 400;
v3._x -= 400;
}
if (_root.ha_aster_power != 5) {
break;
}
}
++v4;
}
};
}
}
instance pa of movieClip 302 {
onClipEvent (load) {
if (_root.pa1x == 0 && _root.pa1y == 0) {
_root.pa1x = _x;
_root.pa1y = _y;
} else {
_x = _root.pa1x;
_y = _root.pa1y;
}
onPress = function () {
this.startDrag();
};
onMouseUp = function () {
this.stopDrag();
_root.pa1x = _x;
_root.pa1y = _y;
};
}
}
instance mclock of movieClip 404 {
onClipEvent (load) {
if (_root.pa2x == 0 && _root.pa2y == 0) {
_root.pa2x = _x;
_root.pa2y = _y;
} else {
_x = _root.pa2x;
_y = _root.pa2y;
}
onPress = function () {
this.startDrag();
};
onMouseUp = function () {
this.stopDrag();
_root.pa2x = _x;
_root.pa2y = _y;
};
}
}
frame 2 {
stop();
}
}
movieClip 426 {
}
instance clickpara of movieClip 426 {
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 430 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 431 {
}
movieClip 433 {
frame 1 {
stop();
}
}
movieClip 434 {
instance kn2 of movieClip 173 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
this.gotoAndStop(2);
} else {
_root.sound_play = true;
this.gotoAndStop(1);
}
}
}
instance kn1 of movieClip 175 {
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 177 {
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 433 {
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 434 {
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 437 {
}
button 445 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.gotoAndStop('mainmenu');
}
}
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();
}
}
movieClip 448 {
}
button 453 {
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);
}
movieClip 456 {
}
movieClip 472 {
frame 1 {
stop();
}
}
instance r1 of movieClip 472 {
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 472 {
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 472 {
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 472 {
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 472 {
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 472 {
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);
}
}
}
}
}