Combined Code
movieClip 14 {
frame 1 {
var mc = undefined;
var r = 50;
i = 0;
while (i < 20) {
mc = this.attachMovie('shta', 's' + i, i);
mc._x = 30 + random(350);
mc._y = r + Math.random() * 150;
mc.gotoAndStop(Math.floor(Math.random() * mc._totalframes));
++i;
}
}
}
movieClip 19 {
}
movieClip 20 {
frame 1 {
++_root.kadr;
if (_root.kadr > 5) {
_root.kadr = 1;
}
gotoAndStop(_root.kadr);
}
instance of movieClip 19 {
onClipEvent (load) {
_x = _x + random(15);
_y = _y + random(15);
_rotation = random(360);
}
}
}
movieClip 21 {
frame 2 {
_root.ras(this, 99);
}
}
movieClip 26 {
}
movieClip 32 {
frame 1 {
stop();
}
}
movieClip 34 {
}
movieClip 35 {
frame 1 {
stop();
}
frame 2 {
var cc = Math.round(Math.random() * rc._totalframes);
rc.gotoAndStop(cc);
}
instance rc of movieClip 32 {
}
}
movieClip 36 {
frame 2 {
_root.ras(this, 99);
}
}
movieClip 37 {
frame 2 {
_root.ras(this, 99);
}
}
movieClip 38 {
frame 1 {
stop();
}
instance of movieClip 35 {
onClipEvent (load) {
if (_root.no_rock == true) {
del(this);
}
tip = 1;
_x = _x + Math.random() * 240;
if (_root.wii.t < 50) {
if (_root.levels < 20) {
var r = Math.random() * ((1 - _root.levels / 20) * 60);
if (r > 10) {
del(this);
}
}
if (choose(true, true, true, true, false)) {
gotoAndStop(2);
tip = 2;
}
if (_root.lives < 10) {
if (choose(true, false, false, false, false, false, false)) {
gotoAndStop(3);
tip = 3;
}
}
} else {
_root.wii.t = 0;
}
this.swapDepths(100);
}
onClipEvent (enterFrame) {
var xx = _x + _parent._parent._x + _parent._parent._parent._x;
var yy = _y + _parent._parent._y + _parent._parent._parent._y;
if (this.hitTest(_root.sanki._x, _root.sanki._y, 0)) {
if (tip == 1) {
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
}
if (tip == 3) {
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
}
if (tip == 1) {
++_root.star_dp;
if (_root.star_dp > 50) {
_root.star_dp = 0;
}
var mc = _root.attachMovie('star', 'st' + _root.star_dp, 500 + _root.star_dp);
mc._x = xx;
mc._y = yy + 10;
_root.coin += 1;
if (_root.coin >= _root.coin_need) {
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
_root.win = true;
_root.levels += 1;
if (_root.levels > 20) {
_root.gotoAndStop('Win');
} else {
_root.gotoAndStop('Map');
}
} else {
_root.coin_text.text = _root.coin + '/' + _root.coin_need;
}
}
if (tip == 2) {
_root.sanki.crash(0);
var mc = _parent.attachMovie('exp', 'exp', 1000);
mc._x = _x;
mc._y = _y;
}
if (tip == 3) {
++_root.star_dp;
if (_root.star_dp > 50) {
_root.star_dp = 0;
}
var mc = _root.attachMovie('star', 'st' + _root.star_dp, 500 + _root.star_dp);
mc._x = xx;
mc._y = yy;
_root.lives += 1;
_root.lives_text.text = _root.lives;
}
del(this);
}
}
}
}
movieClip 39 m_trace {
instance nap of movieClip 38 {
onClipEvent (load) {
yy = 50;
_yscale = yy;
ef = function () {
_yscale = yy + _parent._y / 9.6;
_parent._y += _root.globalspeed * (_yscale / 100);
if (_parent._y > 680) {
del(_parent);
}
};
}
onClipEvent (enterFrame) {
ef();
}
}
}
movieClip 58 shta {
}
movieClip 61 exp {
frame 21 {
del(this);
}
}
movieClip 63 {
}
movieClip 64 star {
frame 15 {
stop();
this.swapDepths(666);
this.removeMovieClip();
}
}
movieClip 74 m_tree {
frame 1 {
stop();
}
}
movieClip 76 osv {
frame 16 {
this.swapDepths(666);
this.removeMovieClip();
}
}
frame 1 {
function goToThisURL() {
getURL(_root.linkURL, '_blank');
}
linkURL = 'http://www.girlgaming.com';
var myMenu = new ContextMenu();
var copyright = new ContextMenuItem('More Best Games!', goToThisURL);
myMenu.customItems.push(copyright);
myMenu.hideBuiltInItems();
_root.menu = myMenu;
}
button 78 {
on (release) {
_root.getURL('http://www.girlgaming.com', '_blank');
}
}
movieClip 81 {
}
movieClip 84 {
}
movieClip 87 {
}
movieClip 114 {
}
movieClip 122 {
}
movieClip 128 {
}
movieClip 139 {
frame 1 {
_parent.stop();
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent = (loading / total) * 100;
loadBar._xscale = percent;
if (loading != total) {
loadBar._xscale = percent;
} else {
this.gotoAndPlay(3);
}
}
frame 2 {
gotoAndPlay(1);
}
frame 149 {
_root.play();
}
}
frame 2 {
stop();
_quality = 'medium';
qual = 1;
levels = 1;
win = true;
sof_vol = 40;
_root.sof.sof.setVolume(sof_vol);
ftext = true;
}
// unknown tag 88 length 197
movieClip 143 {
}
instance mus of movieClip 143 {
onClipEvent (load) {
if (_root.music_loaded != true) {
_root.music_loaded = true;
s0 = new Sound(this);
s0.attachSound('so_BG');
s1 = new Sound(this);
s1.attachSound('so_menu');
s1.start(0, 30000);
_root.first_start = true;
_root.backsound_play = true;
} else {
if (_root.first_start == true) {
_root.first_start = false;
} else {
_root.first_start = true;
_root.mus.s1.start(0, 30000);
}
if (_root.backsound_play == false) {
so.setVolume(0);
}
}
}
}
movieClip 145 {
}
instance sfx of movieClip 145 {
onClipEvent (load) {
_root.sound_play = true;
s1 = new Sound(this);
s1.attachSound('s0');
s2 = new Sound(this);
s2.attachSound('s3');
s3 = new Sound(this);
s3.attachSound('s1');
s4 = new Sound(this);
s4.attachSound('s4');
s5 = new Sound(this);
s5.attachSound('so_win');
s6 = new Sound(this);
s6.attachSound('so_fail');
s7 = new Sound(this);
s7.attachSound('s5');
s16 = new Sound(this);
s16.attachSound('so_click');
}
}
instance sof of movieClip 145 {
onClipEvent (load) {
if (_root.sound_loaded != true) {
_root.sound_loaded = true;
sof = new Sound(this);
sof.attachSound('so_fon');
sof.start(0, 30000);
_root.sof.sof.setVolume(_root.sof_vol);
}
}
}
// unknown tag 88 length 97
movieClip 148 {
}
instance of movieClip 148 {
onClipEvent (load) {
zad = 0;
zad_max = 10;
}
onClipEvent (enterFrame) {
if (zad == 0) {
if (Key.isDown(77)) {
trace('M');
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.s0.setVolume(0);
_root.mus.s1.setVolume(0);
zad = zad_max;
} else {
_root.backsound_play = true;
_root.mus.s0.setVolume(100);
_root.mus.s1.setVolume(100);
zad = zad_max;
}
}
} else {
--zad;
}
if (zad == 0) {
if (Key.isDown(83)) {
if (_root.sound_play == true) {
_root.sound_play = false;
_root.sof.sof.setVolume(0);
zad = zad_max;
} else {
_root.sound_play = true;
_root.sof.sof.setVolume(_root.sof_vol);
zad = zad_max;
}
}
}
if (zad == 0) {
if (Key.isDown(81)) {
zad = zad_max;
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 151 {
}
movieClip 154 {
}
movieClip 157 {
}
movieClip 158 {
frame 1 {
stop();
}
}
instance of movieClip 158 {
onClipEvent (load) {
if (_root.win == false) {
gotoAndStop(2);
}
}
}
movieClip 160 {
}
button 163 {
on (release) {
if (_root.sound_play == true) {
_root.sfx.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
button 166 {
on (release) {
if (_root.sound_play == true) {
_root.sfx.s16.start();
}
_root.nextFrame();
}
}
movieClip 167 {
}
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 170 {
}
// unknown tag 88 length 98
frame 3 {
sof_vol = 0;
_root.sof.sof.setVolume(sof_vol);
}
button 178 {
on (release) {
if (_root.sound_play == true) {
_root.sfx.s16.start();
}
_root.nextFrame();
}
}
frame 4 {
stop();
sof_vol = 0;
_root.sof.sof.setVolume(sof_vol);
lvl_en = function (id) {
if (id.num < levels + 1) {
id.gotoAndStop(2);
}
if (id.num == levels) {
id.gotoAndStop(3);
}
};
trace('delll_ro');
var i = 0;
while (i < 50) {
var mc = _root.attachMovie('star', 'st' + i, 500 + i);
mc.removeMovieClip();
++i;
}
if (first_start == true) {
first_start = false;
} else {
first_start = true;
_root.mus.s0.stop();
_root.mus.s1.start(0, 30000);
}
}
instance of movieClip 148 {
onClipEvent (load) {
zad = 0;
zad_max = 10;
}
onClipEvent (enterFrame) {
if (zad == 0) {
if (Key.isDown(77)) {
trace('M');
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.s0.setVolume(0);
_root.mus.s1.setVolume(0);
zad = zad_max;
} else {
_root.backsound_play = true;
_root.mus.s0.setVolume(100);
_root.mus.s1.setVolume(100);
zad = zad_max;
}
}
} else {
--zad;
}
if (zad == 0) {
if (Key.isDown(83)) {
if (_root.sound_play == true) {
_root.sound_play = false;
_root.sof.sof.setVolume(0);
zad = zad_max;
} else {
_root.sound_play = true;
_root.sof.sof.setVolume(_root.sof_vol);
zad = zad_max;
}
}
}
if (zad == 0) {
if (Key.isDown(81)) {
zad = zad_max;
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 180 {
}
movieClip 182 {
}
movieClip 185 {
}
movieClip 186 {
frame 1 {
stop();
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 2;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 3;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 4;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 6;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 7;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 9;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 10;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 11;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 12;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 13;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 14;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 15;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 16;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 17;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 18;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 19;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 20;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 8;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 5;
_root.lvl_en(this);
}
}
instance of movieClip 186 {
onClipEvent (load) {
num = 1;
_root.lvl_en(this);
}
}
button 190 {
on (release) {
if (_root.sound_play == true) {
_root.sfx.s16.start();
}
_root.nextFrame();
}
}
button 193 {
on (release) {
if (_root.sound_play == true) {
_root.sfx.s16.start();
}
_root.gotoAndStop('Menu');
}
}
button 194 {
on (release) {
if (_root.sound_play == true) {
_root.sfx.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
// unknown tag 88 length 79
movieClip 200 {
frame 1 {
stop();
}
}
movieClip 201 {
instance of movieClip 158 {
onClipEvent (load) {
if (_root.win == false) {
gotoAndStop(2);
}
}
}
instance of movieClip 200 {
onClipEvent (load) {
if (_root.win == false) {
gotoAndStop(3);
} else {
gotoAndStop(2);
}
if (_root.ftext == true) {
if (_root.levels == 1) {
gotoAndStop(1);
}
}
}
}
frame 18 {
stop();
if (_root.ftext == true) {
_root.ftext = false;
}
}
}
frame 5 {
stop();
sof_vol = 100;
_root.sof.sof.setVolume(sof_vol);
_root.mus.s1.stop();
_root.mus.s0.start(0, 30000);
first_start = false;
globalspeed = 10;
lives = 10;
kadr = 0;
coin_need = 2 + 3 * levels;
coin = 0;
star_dp = 0;
_root.lives_text.text = _root.lives;
_root.coin_text.text = _root.coin + '/' + _root.coin_need;
if (levels > 6) {
globalspeed = 16;
}
if (levels > 11) {
globalspeed = 20;
}
var jj = 7;
if (levels > 4) {
jj = 7;
}
if (levels > 9) {
jj = 11;
}
if (levels > 14) {
jj = 15;
}
var i = 0;
while (i < 12) {
var id = eval('_root.der' + i);
if (i >= jj) {
id._visible = false;
}
++i;
}
vetka = function (id) {
id._y += _root.globalspeed + id.a;
var v3 = String(id);
var v4 = v3.charAt(v3.length - 1);
if (v4 < 7) {
id.a += 0.2;
}
id.kk = 100 - 100 * (id._y / 480);
if (id._y > 680) {
id._y = -200;
var v5 = Math.round(Math.random() * id._totalframes);
id.gotoAndStop(v5);
id.a = random(3);
}
};
}
frame 5 {
function ras(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();
}
function ras_hw(obj, bdLev, ww, hh) {
var v3 = obj._parent;
var v5 = bdLev || v3.getNextHighestDepth();
var v1 = v3.createEmptyMovieClip(obj._name + 'BD', v5);
var v4 = new flash.display.BitmapData(ww, hh, true, 0);
v4.draw(obj);
v1.attachBitmap(v4, v1.getNextHighestDepth());
v1._x = obj._x;
v1._y = obj._y;
}
_global.pdis = function (x1, y1, x2, y2) {
var v2 = x2 - x1;
var v1 = y2 - y1;
var v3 = v2 * v2 + v1 * v1;
return Math.sqrt(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;
};
_global.del = function (id) {
id.swapDepths(666);
id.removeMovieClip();
};
my_min = function () {
sorted = true;
changed = false;
temp = 0;
do {
changed = false;
var v2 = 0;
while (v2 < arguments.length - 1) {
if (arguments[v2] > arguments[v2 + 1]) {
temp = arguments[v2];
arguments[v2] = arguments[v2 + 1];
arguments[v2 + 1] = temp;
changed = true;
}
++v2;
}
sorted = !changed;
} while (!sorted);
return arguments[0];
};
}
// unknown tag 88 length 58
movieClip 204 {
}
instance m_trace of movieClip 204 {
onClipEvent (load) {
tt = 0;
id = 0;
sdvig = 0;
xx = 500;
ten = 0;
tt_ten = 20;
xm_dis = 0;
yy = 0;
_root.no_rock = true;
t_no_rock = 50;
ef = function () {
if (quake > 0) {
_y = yy;
_y = _y + choose(1, -1) * random(quake);
quake -= 3;
if (quake < 1) {
_y = yy;
}
}
_x = -(_root.sanki._x * 1.56 - 200);
if (tt < 1) {
++id;
if (id > 1000) {
id = 0;
}
tt = Math.round((100 - _root.globalspeed) / _root.globalspeed) - 2;
var v3 = this.attachMovie('m_trace', 'mt' + id, 1000 - id);
v3._x = xx;
v3._y = -100;
if (tt_ten < 1) {
ten = choose(0, 1, -1);
tt_ten = Math.round(Math.random() * 50);
} else {
--tt_ten;
}
if (ten == 0) {
sdvig = choose(0, 1, -1);
}
if (ten == 1) {
sdvig = choose(0, 1, -1, 1, 1, 1, 1, 1);
}
if (ten == -1) {
sdvig = choose(0, 1, -1, -1, -1, -1, -1, -1);
}
if (xx < 740) {
if (sdvig == 1) {
xx += 20;
v3.nap.gotoAndStop(2);
}
}
if (xx > 40) {
if (sdvig == -1) {
xx -= 20;
v3.nap.gotoAndStop(3);
}
}
} else {
--tt;
}
};
var nn = 0;
if (_root.globalspeed == 10) {
nn = 9;
}
if (_root.globalspeed == 16) {
nn = 5.25;
}
if (_root.globalspeed == 20) {
nn = 4;
}
if (_root.globalspeed == 33) {
nn = 2;
}
var i = 0;
while (i < 14 * nn) {
ef();
++i;
}
var i = 0;
while (i < 12) {
var idd = eval('this.mt' + String(i));
idd._y = 470 - 49 * i;
++i;
}
tt = 0;
}
onClipEvent (enterFrame) {
ef();
if (_root.no_rock == true) {
if (t_no_rock > 0) {
--t_no_rock;
} else {
_root.no_rock = false;
trace('rock!');
}
}
}
}
movieClip 206 {
}
movieClip 208 {
}
movieClip 209 {
frame 1 {
_parent.fly = false;
}
frame 5 {
_parent.fly = true;
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
}
frame 16 {
_parent.fly = false;
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
}
}
movieClip 210 {
}
instance sanki of movieClip 210 {
onClipEvent (load) {
crash = function (nap) {
if (_root.sound_play == true) {
_root.sfx.s3.start();
}
_root.attachMovie('osv', 'osv', 1000);
--_root.lives;
if (_root.lives <= 0) {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
_root.win = false;
_root.gotoAndStop('Map');
} else {
_root.lives_text.text = _root.lives;
}
_root.m_trace.quake = 50;
if (nap == 0) {
_y = _y + 35;
}
if (nap == 1) {
_x = _x - 20;
}
if (nap == -1) {
_x = _x + 20;
}
};
x_last = _x;
}
onClipEvent (enterFrame) {
if (_root.m_trace.quake > 0) {
_y = yy;
_y = _y + choose(1, -1) * random(_root.m_trace.quake / 2);
quake -= 3;
if (quake < 1) {
_y = yy;
}
}
var dx = mod(_x - x_last);
if (dx < 2) {
gotoAndStop('idle');
} else {
if (x_last > _x) {
gotoAndStop('left');
}
if (x_last < _x) {
gotoAndStop('right');
}
}
x_last = _x;
_yscale = 120 - _y / 9.6;
if (fly == true) {
var pd = 0;
pd = pdir(_x, _y, _root._xmouse, _root._ymouse);
cc._rotation = pd - 90;
} else {
cc._rotation = 180;
}
var idd = _root.m_trace;
var dis = 0;
var mdis = 1000;
var id_dis = undefined;
for (var i in idd) {
var id = idd[i];
var dis = mod(id._y + 50 - _y);
if (dis < mdis) {
mdis = dis;
id_dis = id;
}
}
if (_root.levels == 1) {
_root.m_bor.xx = idd._x + id_dis._x;
_root.m_bor.yy = _y;
}
fall = false;
if (_x < idd._x + id_dis._x) {
fall = true;
crash(-1);
}
if (_x > idd._x + id_dis._x + 400) {
fall = true;
crash(1);
}
if (fly == true) {
if (fall == false) {
_x = _x + _xmouse / 10;
_y = _y + _ymouse / 10;
}
} else {
_y = _y + _root.globalspeed;
}
}
}
movieClip 212 {
}
instance wii of movieClip 212 {
onClipEvent (load) {
t = 0;
}
onClipEvent (enterFrame) {
++t;
}
}
instance der10 of movieClip 74 m_tree {
onClipEvent (load) {
var cc = Math.round(Math.random() * _totalframes);
this.gotoAndStop(cc);
a = 0;
}
onClipEvent (enterFrame) {
_root.vetka(this);
}
}
instance der8 of movieClip 74 m_tree {
onClipEvent (load) {
var cc = Math.round(Math.random() * _totalframes);
this.gotoAndStop(cc);
a = 0;
}
onClipEvent (enterFrame) {
_root.vetka(this);
}
}
instance der11 of movieClip 74 m_tree {
onClipEvent (load) {
var cc = Math.round(Math.random() * _totalframes);
this.gotoAndStop(cc);
a = 0;
}
onClipEvent (enterFrame) {
_root.vetka(this);
}
}
instance der9 of movieClip 74 m_tree {
onClipEvent (load) {
var cc = Math.round(Math.random() * _totalframes);
this.gotoAndStop(cc);
a = 0;
}
onClipEvent (enterFrame) {
_root.vetka(this);
}
}
instance der7 of movieClip 74 m_tree {
onClipEvent (load) {
var cc = Math.round(Math.random() * _totalframes);
this.gotoAndStop(cc);
a = 0;
}
onClipEvent (enterFrame) {
_root.vetka(this);
}
}
instance der1 of movieClip 74 m_tree {
onClipEvent (load) {
var cc = Math.round(Math.random() * _totalframes);
this.gotoAndStop(cc);
a = 0;
}
onClipEvent (enterFrame) {
_root.vetka(this);
}
}
instance der3 of movieClip 74 m_tree {
onClipEvent (load) {
var cc = Math.round(Math.random() * _totalframes);
this.gotoAndStop(cc);
a = 0;
}
onClipEvent (enterFrame) {
_root.vetka(this);
}
}
instance der5 of movieClip 74 m_tree {
onClipEvent (load) {
var cc = Math.round(Math.random() * _totalframes);
this.gotoAndStop(cc);
a = 0;
}
onClipEvent (enterFrame) {
_root.vetka(this);
}
}
instance der4 of movieClip 74 m_tree {
onClipEvent (load) {
var cc = Math.round(Math.random() * _totalframes);
this.gotoAndStop(cc);
a = 0;
}
onClipEvent (enterFrame) {
_root.vetka(this);
}
}
instance der2 of movieClip 74 m_tree {
onClipEvent (load) {
var cc = Math.round(Math.random() * _totalframes);
this.gotoAndStop(cc);
a = 0;
}
onClipEvent (enterFrame) {
_root.vetka(this);
}
}
instance der6 of movieClip 74 m_tree {
onClipEvent (load) {
var cc = Math.round(Math.random() * _totalframes);
this.gotoAndStop(cc);
a = 0;
}
onClipEvent (enterFrame) {
_root.vetka(this);
}
}
movieClip 218 {
}
instance m_bor of movieClip 218 {
onClipEvent (load) {
if (_root.levels != 1) {
this.swapDepths(666);
this.removeMovieClip();
}
xx = _x;
yy = _y;
}
onClipEvent (enterFrame) {
_x = _x + (xx - _x) / 5;
_y = _y + (yy - _y) / 5;
}
}
instance of movieClip 148 {
onClipEvent (load) {
zad = 0;
zad_max = 10;
}
onClipEvent (enterFrame) {
if (zad == 0) {
if (Key.isDown(77)) {
trace('M');
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.s0.setVolume(0);
_root.mus.s1.setVolume(0);
zad = zad_max;
} else {
_root.backsound_play = true;
_root.mus.s0.setVolume(100);
_root.mus.s1.setVolume(100);
zad = zad_max;
}
}
} else {
--zad;
}
if (zad == 0) {
if (Key.isDown(83)) {
if (_root.sound_play == true) {
_root.sound_play = false;
_root.sof.sof.setVolume(0);
zad = zad_max;
} else {
_root.sound_play = true;
_root.sof.sof.setVolume(_root.sof_vol);
zad = zad_max;
}
}
}
if (zad == 0) {
if (Key.isDown(81)) {
zad = zad_max;
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;
}
}
}
}
}
// unknown tag 88 length 153
movieClip 221 {
}
instance of movieClip 221 {
onClipEvent (load) {
if (_root.levels != 1) {
_x = 5000;
this.swapDepths(666);
this.removeMovieClip();
}
}
}
movieClip 228 {
frame 58 {
del(this);
}
}
frame 6 {
stop();
if (first_start == true) {
first_start = false;
} else {
first_start = true;
_root.mus.s0.stop();
_root.mus.s1.start(0, 30000);
}
}
movieClip 230 {
}
button 231 {
on (release) {
if (_root.sound_play == true) {
_root.sfx.s16.start();
}
_root.gotoAndStop('Menu');
}
}