Frame 1
Stage.showMenu = false;
_focusrect = false;
mochi.as2.MochiAd.showPreGameAd({id:"e8cc5dbdd0b25ec2", res:"550x400"});
mochi.as2.MochiServices.connect("e8cc5dbdd0b25ec2");
Frame 2
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("462da91d", this, 10301, true);
Frame 3
this.stop();
Instance of Symbol 332 MovieClip "r_1" in Frame 3
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time2 == false) {
_root.mframe.coord_x = _root._xmouse;
_root.mframe.coord_y = _root._ymouse;
_root.r_fire._x = 300;
_root.r_fire._y = _root.mframe.coord_y;
_root.p_2_cloud._x = _root.pers_2._x;
_root.p_2_cloud._y = _root.pers_2._y;
if (_root.mframe.per2_h == 1) {
_root.pers_r9.gotoAndPlay(7);
} else {
switch (_root.mframe.per2_h) {
case 9 :
_root.pers_r1._visible = false;
break;
case 8 :
_root.pers_r2._visible = false;
break;
case 7 :
_root.pers_r3._visible = false;
break;
case 6 :
_root.pers_r4._visible = false;
break;
case 5 :
_root.pers_r5._visible = false;
break;
case 4 :
_root.pers_r6._visible = false;
break;
case 3 :
_root.pers_r7._visible = false;
break;
case 2 :
_root.pers_r8._visible = false;
break;
case 10 :
_root.pers_r0._visible = false;
break;
case 11 :
_root.pers_ra._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_2_cloud._visible = true;
_root.p_2_cloud.gotoAndPlay(1);
_root.pers_r9._visible = true;
_root.pers_r9.gotoAndPlay(1);
}
_root.mframe.per2_h = 1;
if (_root.mframe.energy > 0) {
_root.mframe.energy = _root.mframe.energy - 1;
if (_root.the_pause.g_slot.cry == 2) {
_root.r_fire_yellow._x = _root.r_fire._x;
_root.r_fire_yellow._y = _root.r_fire._y;
_root.r_fire_yellow.gotoAndPlay(2);
}
if (_root.the_pause.g_slot.cry == 4) {
_root.r_fire_red._x = _root.r_fire._x;
_root.r_fire_red._y = _root.r_fire._y;
_root.r_fire_red.gotoAndPlay(2);
}
if (_root.the_pause.g_slot.cry == 3) {
_root.r_fire_blue._x = _root.r_fire._x;
_root.r_fire_blue._y = _root.r_fire._y;
_root.r_fire_blue.gotoAndPlay(2);
_root.mframe.energy = _root.mframe.energy + 1;
}
_root.r_fire._visible = true;
_root.r_fire.gotoAndPlay(2);
_root.mframe.bullet_time2 = true;
}
}
}
}
Instance of Symbol 332 MovieClip "r_2" in Frame 3
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time2 == false) {
_root.mframe.coord_x = _root._xmouse;
_root.mframe.coord_y = _root._ymouse;
_root.r_fire._x = 310;
_root.r_fire._y = _root.mframe.coord_y;
_root.p_2_cloud._x = _root.pers_2._x;
_root.p_2_cloud._y = _root.pers_2._y;
if (_root.mframe.per2_h == 2) {
_root.pers_r8.gotoAndPlay(7);
} else {
switch (_root.mframe.per2_h) {
case 9 :
_root.pers_r1._visible = false;
break;
case 8 :
_root.pers_r2._visible = false;
break;
case 7 :
_root.pers_r3._visible = false;
break;
case 6 :
_root.pers_r4._visible = false;
break;
case 5 :
_root.pers_r5._visible = false;
break;
case 4 :
_root.pers_r6._visible = false;
break;
case 3 :
_root.pers_r7._visible = false;
break;
case 1 :
_root.pers_r9._visible = false;
break;
case 10 :
_root.pers_r0._visible = false;
break;
case 11 :
_root.pers_ra._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_2_cloud._visible = true;
_root.p_2_cloud.gotoAndPlay(1);
_root.pers_r8._visible = true;
_root.pers_r8.gotoAndPlay(1);
}
_root.mframe.per2_h = 2;
if (_root.mframe.energy > 0) {
_root.mframe.energy = _root.mframe.energy - 1;
if (_root.the_pause.g_slot.cry == 2) {
_root.r_fire_yellow._x = _root.r_fire._x;
_root.r_fire_yellow._y = _root.r_fire._y;
_root.r_fire_yellow.gotoAndPlay(2);
}
if (_root.the_pause.g_slot.cry == 4) {
_root.r_fire_red._x = _root.r_fire._x;
_root.r_fire_red._y = _root.r_fire._y;
_root.r_fire_red.gotoAndPlay(2);
}
if (_root.the_pause.g_slot.cry == 3) {
_root.r_fire_blue._x = _root.r_fire._x;
_root.r_fire_blue._y = _root.r_fire._y;
_root.r_fire_blue.gotoAndPlay(2);
_root.mframe.energy = _root.mframe.energy + 1;
}
_root.r_fire._visible = true;
_root.r_fire.gotoAndPlay(2);
_root.mframe.bullet_time2 = true;
}
}
}
}
Instance of Symbol 332 MovieClip "r_3" in Frame 3
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time2 == false) {
_root.mframe.coord_x = _root._xmouse;
_root.mframe.coord_y = _root._ymouse;
_root.r_fire._x = 310;
_root.r_fire._y = _root.mframe.coord_y;
_root.p_2_cloud._x = _root.pers_2._x;
_root.p_2_cloud._y = _root.pers_2._y;
if (_root.mframe.per2_h == 3) {
_root.pers_r7.gotoAndPlay(7);
} else {
switch (_root.mframe.per2_h) {
case 9 :
_root.pers_r1._visible = false;
break;
case 8 :
_root.pers_r2._visible = false;
break;
case 7 :
_root.pers_r3._visible = false;
break;
case 6 :
_root.pers_r4._visible = false;
break;
case 5 :
_root.pers_r5._visible = false;
break;
case 4 :
_root.pers_r6._visible = false;
break;
case 1 :
_root.pers_r9._visible = false;
break;
case 2 :
_root.pers_r8._visible = false;
break;
case 10 :
_root.pers_r0._visible = false;
break;
case 11 :
_root.pers_ra._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_2_cloud._visible = true;
_root.p_2_cloud.gotoAndPlay(1);
_root.pers_r7._visible = true;
_root.pers_r7.gotoAndPlay(1);
}
_root.mframe.per2_h = 3;
if (_root.mframe.energy > 0) {
_root.mframe.energy = _root.mframe.energy - 1;
if (_root.the_pause.g_slot.cry == 2) {
_root.r_fire_yellow._x = _root.r_fire._x;
_root.r_fire_yellow._y = _root.r_fire._y;
_root.r_fire_yellow.gotoAndPlay(2);
}
if (_root.the_pause.g_slot.cry == 4) {
_root.r_fire_red._x = _root.r_fire._x;
_root.r_fire_red._y = _root.r_fire._y;
_root.r_fire_red.gotoAndPlay(2);
}
if (_root.the_pause.g_slot.cry == 3) {
_root.r_fire_blue._x = _root.r_fire._x;
_root.r_fire_blue._y = _root.r_fire._y;
_root.r_fire_blue.gotoAndPlay(2);
_root.mframe.energy = _root.mframe.energy + 1;
}
_root.r_fire._visible = true;
_root.r_fire.gotoAndPlay(2);
_root.mframe.bullet_time2 = true;
}
}
}
}
Instance of Symbol 332 MovieClip "r_4" in Frame 3
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time2 == false) {
_root.mframe.coord_x = _root._xmouse;
_root.mframe.coord_y = _root._ymouse;
_root.r_fire._x = 315;
_root.r_fire._y = _root.mframe.coord_y;
_root.p_2_cloud._x = _root.pers_2._x;
_root.p_2_cloud._y = _root.pers_2._y;
if (_root.mframe.per2_h == 4) {
_root.pers_r6.gotoAndPlay(7);
} else {
switch (_root.mframe.per2_h) {
case 9 :
_root.pers_r1._visible = false;
break;
case 8 :
_root.pers_r2._visible = false;
break;
case 7 :
_root.pers_r3._visible = false;
break;
case 6 :
_root.pers_r4._visible = false;
break;
case 5 :
_root.pers_r5._visible = false;
break;
case 1 :
_root.pers_r9._visible = false;
break;
case 3 :
_root.pers_r7._visible = false;
break;
case 2 :
_root.pers_r8._visible = false;
break;
case 10 :
_root.pers_r0._visible = false;
break;
case 11 :
_root.pers_ra._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_2_cloud._visible = true;
_root.p_2_cloud.gotoAndPlay(1);
_root.pers_r6._visible = true;
_root.pers_r6.gotoAndPlay(1);
}
_root.mframe.per2_h = 4;
if (_root.mframe.energy > 0) {
_root.mframe.energy = _root.mframe.energy - 1;
if (_root.the_pause.g_slot.cry == 2) {
_root.r_fire_yellow._x = _root.r_fire._x;
_root.r_fire_yellow._y = _root.r_fire._y;
_root.r_fire_yellow.gotoAndPlay(2);
}
if (_root.the_pause.g_slot.cry == 4) {
_root.r_fire_red._x = _root.r_fire._x;
_root.r_fire_red._y = _root.r_fire._y;
_root.r_fire_red.gotoAndPlay(2);
}
if (_root.the_pause.g_slot.cry == 3) {
_root.r_fire_blue._x = _root.r_fire._x;
_root.r_fire_blue._y = _root.r_fire._y;
_root.r_fire_blue.gotoAndPlay(2);
_root.mframe.energy = _root.mframe.energy + 1;
}
_root.r_fire._visible = true;
_root.r_fire.gotoAndPlay(2);
_root.mframe.bullet_time2 = true;
}
}
}
}
Instance of Symbol 332 MovieClip "r_5" in Frame 3
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time2 == false) {
_root.mframe.coord_x = _root._xmouse;
_root.mframe.coord_y = _root._ymouse;
_root.r_fire._x = 325;
_root.r_fire._y = _root.mframe.coord_y;
_root.p_2_cloud._x = _root.pers_2._x;
_root.p_2_cloud._y = _root.pers_2._y;
if (_root.mframe.per2_h == 5) {
_root.pers_r5.gotoAndPlay(7);
} else {
switch (_root.mframe.per2_h) {
case 9 :
_root.pers_r1._visible = false;
break;
case 8 :
_root.pers_r2._visible = false;
break;
case 7 :
_root.pers_r3._visible = false;
break;
case 6 :
_root.pers_r4._visible = false;
break;
case 1 :
_root.pers_r9._visible = false;
break;
case 4 :
_root.pers_r6._visible = false;
break;
case 3 :
_root.pers_r7._visible = false;
break;
case 2 :
_root.pers_r8._visible = false;
break;
case 10 :
_root.pers_r0._visible = false;
break;
case 11 :
_root.pers_ra._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_2_cloud._visible = true;
_root.p_2_cloud.gotoAndPlay(1);
_root.pers_r5._visible = true;
_root.pers_r5.gotoAndPlay(1);
}
_root.mframe.per2_h = 5;
if (_root.mframe.energy > 0) {
_root.mframe.energy = _root.mframe.energy - 1;
if (_root.the_pause.g_slot.cry == 2) {
_root.r_fire_yellow._x = _root.r_fire._x;
_root.r_fire_yellow._y = _root.r_fire._y;
_root.r_fire_yellow.gotoAndPlay(2);
}
if (_root.the_pause.g_slot.cry == 4) {
_root.r_fire_red._x = _root.r_fire._x;
_root.r_fire_red._y = _root.r_fire._y;
_root.r_fire_red.gotoAndPlay(2);
}
if (_root.the_pause.g_slot.cry == 3) {
_root.r_fire_blue._x = _root.r_fire._x;
_root.r_fire_blue._y = _root.r_fire._y;
_root.r_fire_blue.gotoAndPlay(2);
_root.mframe.energy = _root.mframe.energy + 1;
}
_root.r_fire._visible = true;
_root.r_fire.gotoAndPlay(2);
_root.mframe.bullet_time2 = true;
}
}
}
}
Instance of Symbol 332 MovieClip "r_6" in Frame 3
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time2 == false) {
_root.mframe.coord_x = _root._xmouse;
_root.mframe.coord_y = _root._ymouse;
_root.r_fire._x = 320;
_root.r_fire._y = _root.mframe.coord_y;
_root.p_2_cloud._x = _root.pers_2._x;
_root.p_2_cloud._y = _root.pers_2._y;
if (_root.mframe.per2_h == 6) {
_root.pers_r4.gotoAndPlay(7);
} else {
switch (_root.mframe.per2_h) {
case 9 :
_root.pers_r1._visible = false;
break;
case 8 :
_root.pers_r2._visible = false;
break;
case 7 :
_root.pers_r3._visible = false;
break;
case 1 :
_root.pers_r9._visible = false;
break;
case 5 :
_root.pers_r5._visible = false;
break;
case 4 :
_root.pers_r6._visible = false;
break;
case 3 :
_root.pers_r7._visible = false;
break;
case 2 :
_root.pers_r8._visible = false;
break;
case 10 :
_root.pers_r0._visible = false;
break;
case 11 :
_root.pers_ra._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_2_cloud._visible = true;
_root.p_2_cloud.gotoAndPlay(1);
_root.pers_r4._visible = true;
_root.pers_r4.gotoAndPlay(1);
}
_root.mframe.per2_h = 6;
if (_root.mframe.energy > 0) {
_root.mframe.energy = _root.mframe.energy - 1;
if (_root.the_pause.g_slot.cry == 2) {
_root.r_fire_yellow._x = _root.r_fire._x;
_root.r_fire_yellow._y = _root.r_fire._y;
_root.r_fire_yellow.gotoAndPlay(2);
}
if (_root.the_pause.g_slot.cry == 4) {
_root.r_fire_red._x = _root.r_fire._x;
_root.r_fire_red._y = _root.r_fire._y;
_root.r_fire_red.gotoAndPlay(2);
}
if (_root.the_pause.g_slot.cry == 3) {
_root.r_fire_blue._x = _root.r_fire._x;
_root.r_fire_blue._y = _root.r_fire._y;
_root.r_fire_blue.gotoAndPlay(2);
_root.mframe.energy = _root.mframe.energy + 1;
}
_root.r_fire._visible = true;
_root.r_fire.gotoAndPlay(2);
_root.mframe.bullet_time2 = true;
}
}
}
}
Instance of Symbol 332 MovieClip "r_7" in Frame 3
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time2 == false) {
_root.mframe.coord_x = _root._xmouse;
_root.mframe.coord_y = _root._ymouse;
_root.r_fire._x = 325;
_root.r_fire._y = _root.mframe.coord_y;
_root.p_2_cloud._x = _root.pers_2._x;
_root.p_2_cloud._y = _root.pers_2._y;
if (_root.mframe.per2_h == 7) {
_root.pers_r3.gotoAndPlay(7);
} else {
switch (_root.mframe.per2_h) {
case 9 :
_root.pers_r1._visible = false;
break;
case 8 :
_root.pers_r2._visible = false;
break;
case 1 :
_root.pers_r9._visible = false;
break;
case 6 :
_root.pers_r4._visible = false;
break;
case 5 :
_root.pers_r5._visible = false;
break;
case 4 :
_root.pers_r6._visible = false;
break;
case 3 :
_root.pers_r7._visible = false;
break;
case 2 :
_root.pers_r8._visible = false;
break;
case 10 :
_root.pers_r0._visible = false;
break;
case 11 :
_root.pers_ra._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_2_cloud._visible = true;
_root.p_2_cloud.gotoAndPlay(1);
_root.pers_r3._visible = true;
_root.pers_r3.gotoAndPlay(1);
}
_root.mframe.per2_h = 7;
if (_root.mframe.energy > 0) {
_root.mframe.energy = _root.mframe.energy - 1;
if (_root.the_pause.g_slot.cry == 2) {
_root.r_fire_yellow._x = _root.r_fire._x;
_root.r_fire_yellow._y = _root.r_fire._y;
_root.r_fire_yellow.gotoAndPlay(2);
}
if (_root.the_pause.g_slot.cry == 4) {
_root.r_fire_red._x = _root.r_fire._x;
_root.r_fire_red._y = _root.r_fire._y;
_root.r_fire_red.gotoAndPlay(2);
}
if (_root.the_pause.g_slot.cry == 3) {
_root.r_fire_blue._x = _root.r_fire._x;
_root.r_fire_blue._y = _root.r_fire._y;
_root.r_fire_blue.gotoAndPlay(2);
_root.mframe.energy = _root.mframe.energy + 1;
}
_root.r_fire._visible = true;
_root.r_fire.gotoAndPlay(2);
_root.mframe.bullet_time2 = true;
}
}
}
}
Instance of Symbol 332 MovieClip "r_8" in Frame 3
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time2 == false) {
_root.mframe.coord_x = _root._xmouse;
_root.mframe.coord_y = _root._ymouse;
_root.r_fire._x = 340;
_root.r_fire._y = _root.mframe.coord_y;
_root.p_2_cloud._x = _root.pers_2._x;
_root.p_2_cloud._y = _root.pers_2._y;
if (_root.mframe.per2_h == 8) {
_root.pers_r2.gotoAndPlay(7);
} else {
switch (_root.mframe.per2_h) {
case 9 :
_root.pers_r1._visible = false;
break;
case 1 :
_root.pers_r9._visible = false;
break;
case 7 :
_root.pers_r3._visible = false;
break;
case 6 :
_root.pers_r4._visible = false;
break;
case 5 :
_root.pers_r5._visible = false;
break;
case 4 :
_root.pers_r6._visible = false;
break;
case 3 :
_root.pers_r7._visible = false;
break;
case 2 :
_root.pers_r8._visible = false;
break;
case 10 :
_root.pers_r0._visible = false;
break;
case 11 :
_root.pers_ra._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_2_cloud._visible = true;
_root.p_2_cloud.gotoAndPlay(1);
_root.pers_r2._visible = true;
_root.pers_r2.gotoAndPlay(1);
}
_root.mframe.per2_h = 8;
if (_root.mframe.energy > 0) {
_root.mframe.energy = _root.mframe.energy - 1;
if (_root.the_pause.g_slot.cry == 2) {
_root.r_fire_yellow._x = _root.r_fire._x;
_root.r_fire_yellow._y = _root.r_fire._y;
_root.r_fire_yellow.gotoAndPlay(2);
}
if (_root.the_pause.g_slot.cry == 4) {
_root.r_fire_red._x = _root.r_fire._x;
_root.r_fire_red._y = _root.r_fire._y;
_root.r_fire_red.gotoAndPlay(2);
}
if (_root.the_pause.g_slot.cry == 3) {
_root.r_fire_blue._x = _root.r_fire._x;
_root.r_fire_blue._y = _root.r_fire._y;
_root.r_fire_blue.gotoAndPlay(2);
_root.mframe.energy = _root.mframe.energy + 1;
}
_root.r_fire._visible = true;
_root.r_fire.gotoAndPlay(2);
_root.mframe.bullet_time2 = true;
}
}
}
}
Instance of Symbol 332 MovieClip "r_9" in Frame 3
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time2 == false) {
_root.mframe.coord_x = _root._xmouse;
_root.mframe.coord_y = _root._ymouse;
_root.r_fire._x = 345;
_root.r_fire._y = _root.mframe.coord_y;
_root.p_2_cloud._x = _root.pers_2._x;
_root.p_2_cloud._y = _root.pers_2._y;
if (_root.mframe.per2_h == 9) {
_root.pers_r1.gotoAndPlay(7);
} else {
switch (_root.mframe.per2_h) {
case 1 :
_root.pers_r9._visible = false;
break;
case 8 :
_root.pers_r2._visible = false;
break;
case 7 :
_root.pers_r3._visible = false;
break;
case 6 :
_root.pers_r4._visible = false;
break;
case 5 :
_root.pers_r5._visible = false;
break;
case 4 :
_root.pers_r6._visible = false;
break;
case 3 :
_root.pers_r7._visible = false;
break;
case 2 :
_root.pers_r8._visible = false;
break;
case 10 :
_root.pers_r0._visible = false;
break;
case 11 :
_root.pers_ra._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_2_cloud._visible = true;
_root.p_2_cloud.gotoAndPlay(1);
_root.pers_r1._visible = true;
_root.pers_r1.gotoAndPlay(1);
}
_root.mframe.per2_h = 9;
if (_root.mframe.energy > 0) {
_root.mframe.energy = _root.mframe.energy - 1;
if (_root.the_pause.g_slot.cry == 2) {
_root.r_fire_yellow._x = _root.r_fire._x;
_root.r_fire_yellow._y = _root.r_fire._y;
_root.r_fire_yellow.gotoAndPlay(2);
}
if (_root.the_pause.g_slot.cry == 4) {
_root.r_fire_red._x = _root.r_fire._x;
_root.r_fire_red._y = _root.r_fire._y;
_root.r_fire_red.gotoAndPlay(2);
}
if (_root.the_pause.g_slot.cry == 3) {
_root.r_fire_blue._x = _root.r_fire._x;
_root.r_fire_blue._y = _root.r_fire._y;
_root.r_fire_blue.gotoAndPlay(2);
_root.mframe.energy = _root.mframe.energy + 1;
}
_root.r_fire._visible = true;
_root.r_fire.gotoAndPlay(2);
_root.mframe.bullet_time2 = true;
}
}
}
}
Instance of Symbol 332 MovieClip "r_10" in Frame 3
onClipEvent (load) {
}
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time2 == false) {
_root.p_2_cloud._x = _root.pers_2._x;
_root.p_2_cloud._y = _root.pers_2._y;
switch (_root.mframe.per2_h) {
case 9 :
_root.pers_r1._visible = false;
break;
case 8 :
_root.pers_r2._visible = false;
break;
case 7 :
_root.pers_r3._visible = false;
break;
case 6 :
_root.pers_r4._visible = false;
break;
case 5 :
_root.pers_r5._visible = false;
break;
case 4 :
_root.pers_r6._visible = false;
break;
case 3 :
_root.pers_r7._visible = false;
break;
case 2 :
_root.pers_r8._visible = false;
break;
case 1 :
_root.pers_r9._visible = false;
break;
case 10 :
_root.pers_r0._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_2_cloud._visible = true;
_root.p_2_cloud.gotoAndPlay(1);
_root.pers_ra._visible = true;
_root.pers_ra.gotoAndPlay(1);
_root.mframe.per2_h = 11;
}
}
}
onClipEvent (enterFrame) {
if (_root.mframe.pause_time == false) {
}
}
Instance of Symbol 332 MovieClip "l_1" in Frame 3
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time1 == false) {
_root.mframe.coord_x = _root._xmouse;
_root.mframe.coord_y = _root._ymouse;
_root.l_fire._x = 215;
_root.l_fire._y = _root.mframe.coord_y;
_root.p_1_cloud._x = _root.pers_1._x;
_root.p_1_cloud._y = _root.pers_1._y;
if (_root.mframe.per1_h == 1) {
_root.pers_l9.gotoAndPlay(7);
} else {
switch (_root.mframe.per1_h) {
case 9 :
_root.pers_l1._visible = false;
break;
case 8 :
_root.pers_l2._visible = false;
break;
case 7 :
_root.pers_l3._visible = false;
break;
case 6 :
_root.pers_l4._visible = false;
break;
case 5 :
_root.pers_l5._visible = false;
break;
case 4 :
_root.pers_l6._visible = false;
break;
case 3 :
_root.pers_l7._visible = false;
break;
case 2 :
_root.pers_l8._visible = false;
break;
case 10 :
_root.pers_l0._visible = false;
break;
case 11 :
_root.pers_la._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_1_cloud._visible = true;
_root.p_1_cloud.gotoAndPlay(1);
_root.pers_l9._visible = true;
_root.pers_l9.gotoAndPlay(1);
}
_root.mframe.per1_h = 1;
if (_root.mframe.energy > 0) {
_root.mframe.energy = _root.mframe.energy - 1;
if (_root.the_pause.b_slot.cry == 2) {
_root.l_fire_yellow._x = _root.l_fire._x;
_root.l_fire_yellow._y = _root.l_fire._y;
_root.l_fire_yellow.gotoAndPlay(2);
}
if (_root.the_pause.b_slot.cry == 4) {
_root.l_fire_red._x = _root.l_fire._x;
_root.l_fire_red._y = _root.l_fire._y;
_root.l_fire_red.gotoAndPlay(2);
}
if (_root.the_pause.b_slot.cry == 3) {
_root.l_fire_blue._x = _root.l_fire._x;
_root.l_fire_blue._y = _root.l_fire._y;
_root.l_fire_blue.gotoAndPlay(2);
_root.mframe.energy = _root.mframe.energy + 1;
}
_root.l_fire._visible = true;
_root.l_fire.gotoAndPlay(2);
_root.mframe.bullet_time1 = true;
}
}
}
}
Instance of Symbol 332 MovieClip "l_2" in Frame 3
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time1 == false) {
_root.mframe.coord_x = _root._xmouse;
_root.mframe.coord_y = _root._ymouse;
_root.l_fire._x = 220;
_root.l_fire._y = _root.mframe.coord_y;
_root.p_1_cloud._x = _root.pers_1._x;
_root.p_1_cloud._y = _root.pers_1._y;
if (_root.mframe.per1_h == 2) {
_root.pers_l8.gotoAndPlay(7);
} else {
switch (_root.mframe.per1_h) {
case 9 :
_root.pers_l1._visible = false;
break;
case 8 :
_root.pers_l2._visible = false;
break;
case 7 :
_root.pers_l3._visible = false;
break;
case 6 :
_root.pers_l4._visible = false;
break;
case 5 :
_root.pers_l5._visible = false;
break;
case 4 :
_root.pers_l6._visible = false;
break;
case 3 :
_root.pers_l7._visible = false;
break;
case 1 :
_root.pers_l9._visible = false;
break;
case 10 :
_root.pers_l0._visible = false;
break;
case 11 :
_root.pers_la._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_1_cloud._visible = true;
_root.p_1_cloud.gotoAndPlay(1);
_root.pers_l8._visible = true;
_root.pers_l8.gotoAndPlay(1);
}
_root.mframe.per1_h = 2;
if (_root.mframe.energy > 0) {
_root.mframe.energy = _root.mframe.energy - 1;
if (_root.the_pause.b_slot.cry == 2) {
_root.l_fire_yellow._x = _root.l_fire._x;
_root.l_fire_yellow._y = _root.l_fire._y;
_root.l_fire_yellow.gotoAndPlay(2);
}
if (_root.the_pause.b_slot.cry == 4) {
_root.l_fire_red._x = _root.l_fire._x;
_root.l_fire_red._y = _root.l_fire._y;
_root.l_fire_red.gotoAndPlay(2);
}
if (_root.the_pause.b_slot.cry == 3) {
_root.l_fire_blue._x = _root.l_fire._x;
_root.l_fire_blue._y = _root.l_fire._y;
_root.l_fire_blue.gotoAndPlay(2);
_root.mframe.energy = _root.mframe.energy + 1;
}
_root.l_fire._visible = true;
_root.l_fire.gotoAndPlay(2);
_root.mframe.bullet_time1 = true;
}
}
}
}
Instance of Symbol 332 MovieClip "l_3" in Frame 3
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time1 == false) {
_root.mframe.coord_x = _root._xmouse;
_root.mframe.coord_y = _root._ymouse;
_root.l_fire._x = 220;
_root.l_fire._y = _root.mframe.coord_y;
_root.p_1_cloud._x = _root.pers_1._x;
_root.p_1_cloud._y = _root.pers_1._y;
if (_root.mframe.per1_h == 3) {
_root.pers_l7.gotoAndPlay(7);
} else {
switch (_root.mframe.per1_h) {
case 9 :
_root.pers_l1._visible = false;
break;
case 8 :
_root.pers_l2._visible = false;
break;
case 7 :
_root.pers_l3._visible = false;
break;
case 6 :
_root.pers_l4._visible = false;
break;
case 5 :
_root.pers_l5._visible = false;
break;
case 4 :
_root.pers_l6._visible = false;
break;
case 1 :
_root.pers_l9._visible = false;
break;
case 2 :
_root.pers_l8._visible = false;
break;
case 10 :
_root.pers_l0._visible = false;
break;
case 11 :
_root.pers_la._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_1_cloud._visible = true;
_root.p_1_cloud.gotoAndPlay(1);
_root.pers_l7._visible = true;
_root.pers_l7.gotoAndPlay(1);
}
_root.mframe.per1_h = 3;
if (_root.mframe.energy > 0) {
_root.mframe.energy = _root.mframe.energy - 1;
if (_root.the_pause.b_slot.cry == 2) {
_root.l_fire_yellow._x = _root.l_fire._x;
_root.l_fire_yellow._y = _root.l_fire._y;
_root.l_fire_yellow.gotoAndPlay(2);
}
if (_root.the_pause.b_slot.cry == 4) {
_root.l_fire_red._x = _root.l_fire._x;
_root.l_fire_red._y = _root.l_fire._y;
_root.l_fire_red.gotoAndPlay(2);
}
if (_root.the_pause.b_slot.cry == 3) {
_root.l_fire_blue._x = _root.l_fire._x;
_root.l_fire_blue._y = _root.l_fire._y;
_root.l_fire_blue.gotoAndPlay(2);
_root.mframe.energy = _root.mframe.energy + 1;
}
_root.l_fire._visible = true;
_root.l_fire.gotoAndPlay(2);
_root.mframe.bullet_time1 = true;
}
}
}
}
Instance of Symbol 332 MovieClip "l_4" in Frame 3
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time1 == false) {
_root.mframe.coord_x = _root._xmouse;
_root.mframe.coord_y = _root._ymouse;
_root.l_fire._x = 220;
_root.l_fire._y = _root.mframe.coord_y;
_root.p_1_cloud._x = _root.pers_1._x;
_root.p_1_cloud._y = _root.pers_1._y;
if (_root.mframe.per1_h == 4) {
_root.pers_l6.gotoAndPlay(7);
} else {
switch (_root.mframe.per1_h) {
case 9 :
_root.pers_l1._visible = false;
break;
case 8 :
_root.pers_l2._visible = false;
break;
case 7 :
_root.pers_l3._visible = false;
break;
case 6 :
_root.pers_l4._visible = false;
break;
case 5 :
_root.pers_l5._visible = false;
break;
case 1 :
_root.pers_l9._visible = false;
break;
case 3 :
_root.pers_l7._visible = false;
break;
case 2 :
_root.pers_l8._visible = false;
break;
case 10 :
_root.pers_l0._visible = false;
break;
case 11 :
_root.pers_la._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_1_cloud._visible = true;
_root.p_1_cloud.gotoAndPlay(1);
_root.pers_l6._visible = true;
_root.pers_l6.gotoAndPlay(1);
}
_root.mframe.per1_h = 4;
if (_root.mframe.energy > 0) {
_root.mframe.energy = _root.mframe.energy - 1;
if (_root.the_pause.b_slot.cry == 2) {
_root.l_fire_yellow._x = _root.l_fire._x;
_root.l_fire_yellow._y = _root.l_fire._y;
_root.l_fire_yellow.gotoAndPlay(2);
}
if (_root.the_pause.b_slot.cry == 4) {
_root.l_fire_red._x = _root.l_fire._x;
_root.l_fire_red._y = _root.l_fire._y;
_root.l_fire_red.gotoAndPlay(2);
}
if (_root.the_pause.b_slot.cry == 3) {
_root.l_fire_blue._x = _root.l_fire._x;
_root.l_fire_blue._y = _root.l_fire._y;
_root.l_fire_blue.gotoAndPlay(2);
_root.mframe.energy = _root.mframe.energy + 1;
}
_root.l_fire._visible = true;
_root.l_fire.gotoAndPlay(2);
_root.mframe.bullet_time1 = true;
}
}
}
}
Instance of Symbol 332 MovieClip "l_5" in Frame 3
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time1 == false) {
_root.mframe.coord_x = _root._xmouse;
_root.mframe.coord_y = _root._ymouse;
_root.l_fire._x = 220;
_root.l_fire._y = _root.mframe.coord_y;
_root.p_1_cloud._x = _root.pers_1._x;
_root.p_1_cloud._y = _root.pers_1._y;
if (_root.mframe.per1_h == 5) {
_root.pers_l5.gotoAndPlay(7);
} else {
switch (_root.mframe.per1_h) {
case 9 :
_root.pers_l1._visible = false;
break;
case 8 :
_root.pers_l2._visible = false;
break;
case 7 :
_root.pers_l3._visible = false;
break;
case 6 :
_root.pers_l4._visible = false;
break;
case 1 :
_root.pers_l9._visible = false;
break;
case 4 :
_root.pers_l6._visible = false;
break;
case 3 :
_root.pers_l7._visible = false;
break;
case 2 :
_root.pers_l8._visible = false;
break;
case 10 :
_root.pers_l0._visible = false;
break;
case 11 :
_root.pers_la._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_1_cloud._visible = true;
_root.p_1_cloud.gotoAndPlay(1);
_root.pers_l5._visible = true;
_root.pers_l5.gotoAndPlay(1);
}
_root.mframe.per1_h = 5;
if (_root.mframe.energy > 0) {
_root.mframe.energy = _root.mframe.energy - 1;
if (_root.the_pause.b_slot.cry == 2) {
_root.l_fire_yellow._x = _root.l_fire._x;
_root.l_fire_yellow._y = _root.l_fire._y;
_root.l_fire_yellow.gotoAndPlay(2);
}
if (_root.the_pause.b_slot.cry == 4) {
_root.l_fire_red._x = _root.l_fire._x;
_root.l_fire_red._y = _root.l_fire._y;
_root.l_fire_red.gotoAndPlay(2);
}
if (_root.the_pause.b_slot.cry == 3) {
_root.l_fire_blue._x = _root.l_fire._x;
_root.l_fire_blue._y = _root.l_fire._y;
_root.l_fire_blue.gotoAndPlay(2);
_root.mframe.energy = _root.mframe.energy + 1;
}
_root.l_fire._visible = true;
_root.l_fire.gotoAndPlay(2);
_root.mframe.bullet_time1 = true;
}
}
}
}
Instance of Symbol 332 MovieClip "l_6" in Frame 3
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time1 == false) {
_root.mframe.coord_x = _root._xmouse;
_root.mframe.coord_y = _root._ymouse;
_root.l_fire._x = 210;
_root.l_fire._y = _root.mframe.coord_y;
_root.p_1_cloud._x = _root.pers_1._x;
_root.p_1_cloud._y = _root.pers_1._y;
if (_root.mframe.per1_h == 6) {
_root.pers_l4.gotoAndPlay(7);
} else {
switch (_root.mframe.per1_h) {
case 9 :
_root.pers_l1._visible = false;
break;
case 8 :
_root.pers_l2._visible = false;
break;
case 7 :
_root.pers_l3._visible = false;
break;
case 1 :
_root.pers_l9._visible = false;
break;
case 5 :
_root.pers_l5._visible = false;
break;
case 4 :
_root.pers_l6._visible = false;
break;
case 3 :
_root.pers_l7._visible = false;
break;
case 2 :
_root.pers_l8._visible = false;
break;
case 10 :
_root.pers_l0._visible = false;
break;
case 11 :
_root.pers_la._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_1_cloud._visible = true;
_root.p_1_cloud.gotoAndPlay(1);
_root.pers_l4._visible = true;
_root.pers_l4.gotoAndPlay(1);
}
_root.mframe.per1_h = 6;
if (_root.mframe.energy > 0) {
_root.mframe.energy = _root.mframe.energy - 1;
if (_root.the_pause.b_slot.cry == 2) {
_root.l_fire_yellow._x = _root.l_fire._x;
_root.l_fire_yellow._y = _root.l_fire._y;
_root.l_fire_yellow.gotoAndPlay(2);
}
if (_root.the_pause.b_slot.cry == 4) {
_root.l_fire_red._x = _root.l_fire._x;
_root.l_fire_red._y = _root.l_fire._y;
_root.l_fire_red.gotoAndPlay(2);
}
if (_root.the_pause.b_slot.cry == 3) {
_root.l_fire_blue._x = _root.l_fire._x;
_root.l_fire_blue._y = _root.l_fire._y;
_root.l_fire_blue.gotoAndPlay(2);
_root.mframe.energy = _root.mframe.energy + 1;
}
_root.l_fire._visible = true;
_root.l_fire.gotoAndPlay(2);
_root.mframe.bullet_time1 = true;
}
}
}
}
Instance of Symbol 332 MovieClip "l_7" in Frame 3
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time1 == false) {
_root.mframe.coord_x = _root._xmouse;
_root.mframe.coord_y = _root._ymouse;
_root.l_fire._x = 215;
_root.l_fire._y = _root.mframe.coord_y;
_root.p_1_cloud._x = _root.pers_1._x;
_root.p_1_cloud._y = _root.pers_1._y;
if (_root.mframe.per1_h == 7) {
_root.pers_l3.gotoAndPlay(7);
} else {
switch (_root.mframe.per1_h) {
case 9 :
_root.pers_l1._visible = false;
break;
case 8 :
_root.pers_l2._visible = false;
break;
case 1 :
_root.pers_l9._visible = false;
break;
case 6 :
_root.pers_l4._visible = false;
break;
case 5 :
_root.pers_l5._visible = false;
break;
case 4 :
_root.pers_l6._visible = false;
break;
case 3 :
_root.pers_l7._visible = false;
break;
case 2 :
_root.pers_l8._visible = false;
break;
case 10 :
_root.pers_l0._visible = false;
break;
case 11 :
_root.pers_la._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_1_cloud._visible = true;
_root.p_1_cloud.gotoAndPlay(1);
_root.pers_l3._visible = true;
_root.pers_l3.gotoAndPlay(1);
}
_root.mframe.per1_h = 7;
if (_root.mframe.energy > 0) {
_root.mframe.energy = _root.mframe.energy - 1;
if (_root.the_pause.b_slot.cry == 2) {
_root.l_fire_yellow._x = _root.l_fire._x;
_root.l_fire_yellow._y = _root.l_fire._y;
_root.l_fire_yellow.gotoAndPlay(2);
}
if (_root.the_pause.b_slot.cry == 4) {
_root.l_fire_red._x = _root.l_fire._x;
_root.l_fire_red._y = _root.l_fire._y;
_root.l_fire_red.gotoAndPlay(2);
}
if (_root.the_pause.b_slot.cry == 3) {
_root.l_fire_blue._x = _root.l_fire._x;
_root.l_fire_blue._y = _root.l_fire._y;
_root.l_fire_blue.gotoAndPlay(2);
_root.mframe.energy = _root.mframe.energy + 1;
}
_root.l_fire._visible = true;
_root.l_fire.gotoAndPlay(2);
_root.mframe.bullet_time1 = true;
}
}
}
}
Instance of Symbol 332 MovieClip "l_8" in Frame 3
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time1 == false) {
_root.mframe.coord_x = _root._xmouse;
_root.mframe.coord_y = _root._ymouse;
_root.l_fire._x = 215;
_root.l_fire._y = _root.mframe.coord_y;
_root.p_1_cloud._x = _root.pers_1._x;
_root.p_1_cloud._y = _root.pers_1._y;
if (_root.mframe.per1_h == 8) {
_root.pers_l2.gotoAndPlay(7);
} else {
switch (_root.mframe.per1_h) {
case 9 :
_root.pers_l1._visible = false;
break;
case 1 :
_root.pers_l9._visible = false;
break;
case 7 :
_root.pers_l3._visible = false;
break;
case 6 :
_root.pers_l4._visible = false;
break;
case 5 :
_root.pers_l5._visible = false;
break;
case 4 :
_root.pers_l6._visible = false;
break;
case 3 :
_root.pers_l7._visible = false;
break;
case 2 :
_root.pers_l8._visible = false;
break;
case 10 :
_root.pers_l0._visible = false;
break;
case 11 :
_root.pers_la._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_1_cloud._visible = true;
_root.p_1_cloud.gotoAndPlay(1);
_root.pers_l2._visible = true;
_root.pers_l2.gotoAndPlay(1);
}
_root.mframe.per1_h = 8;
if (_root.mframe.energy > 0) {
_root.mframe.energy = _root.mframe.energy - 1;
if (_root.the_pause.b_slot.cry == 2) {
_root.l_fire_yellow._x = _root.l_fire._x;
_root.l_fire_yellow._y = _root.l_fire._y;
_root.l_fire_yellow.gotoAndPlay(2);
}
if (_root.the_pause.b_slot.cry == 4) {
_root.l_fire_red._x = _root.l_fire._x;
_root.l_fire_red._y = _root.l_fire._y;
_root.l_fire_red.gotoAndPlay(2);
}
if (_root.the_pause.b_slot.cry == 3) {
_root.l_fire_blue._x = _root.l_fire._x;
_root.l_fire_blue._y = _root.l_fire._y;
_root.l_fire_blue.gotoAndPlay(2);
_root.mframe.energy = _root.mframe.energy + 1;
}
_root.l_fire._visible = true;
_root.l_fire.gotoAndPlay(2);
_root.mframe.bullet_time1 = true;
}
}
}
}
Instance of Symbol 332 MovieClip "l_9" in Frame 3
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time1 == false) {
_root.mframe.coord_x = _root._xmouse;
_root.mframe.coord_y = _root._ymouse;
_root.l_fire._x = 215;
_root.l_fire._y = _root.mframe.coord_y;
_root.p_1_cloud._x = _root.pers_1._x;
_root.p_1_cloud._y = _root.pers_1._y;
if (_root.mframe.per1_h == 9) {
_root.pers_l1.gotoAndPlay(7);
} else {
switch (_root.mframe.per1_h) {
case 1 :
_root.pers_l9._visible = false;
break;
case 8 :
_root.pers_l2._visible = false;
break;
case 7 :
_root.pers_l3._visible = false;
break;
case 6 :
_root.pers_l4._visible = false;
break;
case 5 :
_root.pers_l5._visible = false;
break;
case 4 :
_root.pers_l6._visible = false;
break;
case 3 :
_root.pers_l7._visible = false;
break;
case 2 :
_root.pers_l8._visible = false;
break;
case 10 :
_root.pers_l0._visible = false;
break;
case 11 :
_root.pers_la._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_1_cloud._visible = true;
_root.p_1_cloud.gotoAndPlay(1);
_root.pers_l1._visible = true;
_root.pers_l1.gotoAndPlay(1);
}
_root.mframe.per1_h = 9;
if (_root.mframe.energy > 0) {
_root.mframe.energy = _root.mframe.energy - 1;
if (_root.the_pause.b_slot.cry == 2) {
_root.l_fire_yellow._x = _root.l_fire._x;
_root.l_fire_yellow._y = _root.l_fire._y;
_root.l_fire_yellow.gotoAndPlay(2);
}
if (_root.the_pause.b_slot.cry == 4) {
_root.l_fire_red._x = _root.l_fire._x;
_root.l_fire_red._y = _root.l_fire._y;
_root.l_fire_red.gotoAndPlay(2);
}
if (_root.the_pause.b_slot.cry == 3) {
_root.l_fire_blue._x = _root.l_fire._x;
_root.l_fire_blue._y = _root.l_fire._y;
_root.l_fire_blue.gotoAndPlay(2);
_root.mframe.energy = _root.mframe.energy + 1;
}
_root.l_fire._visible = true;
_root.l_fire.gotoAndPlay(2);
_root.mframe.bullet_time1 = true;
}
}
}
}
Instance of Symbol 332 MovieClip "l_10" in Frame 3
onClipEvent (load) {
}
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time1 == false) {
_root.p_1_cloud._x = _root.pers_1._x;
_root.p_1_cloud._y = _root.pers_1._y;
switch (_root.mframe.per1_h) {
case 9 :
_root.pers_l1._visible = false;
break;
case 8 :
_root.pers_l2._visible = false;
break;
case 7 :
_root.pers_l3._visible = false;
break;
case 6 :
_root.pers_l4._visible = false;
break;
case 5 :
_root.pers_l5._visible = false;
break;
case 4 :
_root.pers_l6._visible = false;
break;
case 3 :
_root.pers_l7._visible = false;
break;
case 2 :
_root.pers_l8._visible = false;
break;
case 1 :
_root.pers_l9._visible = false;
break;
case 10 :
_root.pers_l0._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_1_cloud._visible = true;
_root.p_1_cloud.gotoAndPlay(1);
_root.pers_la._visible = true;
_root.pers_la.gotoAndPlay(1);
_root.mframe.per1_h = 11;
}
}
}
onClipEvent (enterFrame) {
if (_root.mframe.pause_time == false) {
}
}
Instance of Symbol 334 MovieClip "p_2_zar" in Frame 3
onClipEvent (load) {
var timer_p2 = 0;
}
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time2 == false) {
_root.p_2_cloud._x = _root.pers_2._x;
_root.p_2_cloud._y = _root.pers_2._y;
switch (_root.mframe.per2_h) {
case 9 :
_root.pers_r1._visible = false;
break;
case 8 :
_root.pers_r2._visible = false;
break;
case 7 :
_root.pers_r3._visible = false;
break;
case 6 :
_root.pers_r4._visible = false;
break;
case 5 :
_root.pers_r5._visible = false;
break;
case 4 :
_root.pers_r6._visible = false;
break;
case 3 :
_root.pers_r7._visible = false;
break;
case 2 :
_root.pers_r8._visible = false;
break;
case 1 :
_root.pers_r9._visible = false;
break;
case 11 :
_root.pers_ra._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_2_cloud._visible = true;
_root.p_2_cloud.gotoAndPlay(1);
_root.pers_r0._visible = true;
_root.pers_r0.gotoAndPlay(1);
_root.mframe.per2_h = 10;
}
}
}
onClipEvent (enterFrame) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.per2_h == 10) {
timer_p2 = timer_p2 + 1;
if (timer_p2 > 15) {
timer_p2 = 0;
_root.mframe.energy = _root.mframe.energy + 1;
if (_root.mframe.per2_haste == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
}
}
}
}
}
Instance of Symbol 336 MovieClip "p_1_zar" in Frame 3
onClipEvent (load) {
var timer_p1 = 0;
}
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time1 == false) {
_root.p_1_cloud._x = _root.pers_1._x;
_root.p_1_cloud._y = _root.pers_1._y;
switch (_root.mframe.per1_h) {
case 9 :
_root.pers_l1._visible = false;
break;
case 8 :
_root.pers_l2._visible = false;
break;
case 7 :
_root.pers_l3._visible = false;
break;
case 6 :
_root.pers_l4._visible = false;
break;
case 5 :
_root.pers_l5._visible = false;
break;
case 4 :
_root.pers_l6._visible = false;
break;
case 3 :
_root.pers_l7._visible = false;
break;
case 2 :
_root.pers_l8._visible = false;
break;
case 1 :
_root.pers_l9._visible = false;
break;
case 11 :
_root.pers_la._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_1_cloud._visible = true;
_root.p_1_cloud.gotoAndPlay(1);
_root.pers_l0._visible = true;
_root.pers_l0.gotoAndPlay(1);
_root.mframe.per1_h = 10;
}
}
}
onClipEvent (enterFrame) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.per1_h == 10) {
timer_p1 = timer_p1 + 1;
if (timer_p1 > 15) {
timer_p1 = 0;
_root.mframe.energy = _root.mframe.energy + 1;
if (_root.mframe.per1_haste == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
}
}
}
}
}
Instance of Symbol 347 MovieClip "tower_model" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 364 MovieClip "tower_r2" in Frame 3
onClipEvent (load) {
_visible = false;
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.pause_time == true) {
stop();
} else if (_root.mframe.t_r2 == true) {
play();
if (this._currentframe == 18) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("arrows.wav");
_root.soundFX.start();
}
}
}
if (_root.mframe.t_r2_haste == 1) {
if (this._currentframe == 70) {
_root.r2_shot.gotoAndPlay(1);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 366 MovieClip "r2_shot" in Frame 3
onClipEvent (load) {
_visible = false;
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.pause_time == true) {
stop();
} else if (_root.mframe.t_r2 == true) {
play();
}
}
Instance of Symbol 367 MovieClip "l2_shot" in Frame 3
onClipEvent (load) {
_visible = false;
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.pause_time == true) {
stop();
} else if (_root.mframe.t_l2 == true) {
play();
}
}
Instance of Symbol 380 MovieClip "tower_l3" in Frame 3
onClipEvent (load) {
_visible = false;
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.pause_time == true) {
stop();
} else if (_root.mframe.t_l3 == true) {
play();
if (this._currentframe == 18) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("arrows.wav");
_root.soundFX.start();
}
}
}
if (_root.mframe.t_l3_haste == 1) {
if (this._currentframe == 70) {
_root.l3_shot.gotoAndPlay(1);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 381 MovieClip "l3_shot" in Frame 3
onClipEvent (load) {
_visible = false;
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.pause_time == true) {
stop();
} else if (_root.mframe.t_l3 == true) {
play();
}
}
Instance of Symbol 384 MovieClip "tower_l2" in Frame 3
onClipEvent (load) {
_visible = false;
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.pause_time == true) {
stop();
} else if (_root.mframe.t_l2 == true) {
play();
if (this._currentframe == 18) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("arrows.wav");
_root.soundFX.start();
}
}
}
if (_root.mframe.t_l2_haste == 1) {
if (this._currentframe == 70) {
_root.l2_shot.gotoAndPlay(1);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 390 MovieClip in Frame 3
onClipEvent (load) {
stop();
var the_flag = false;
}
Instance of Symbol 393 MovieClip "tower_l1" in Frame 3
onClipEvent (load) {
_visible = false;
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.pause_time == true) {
stop();
} else if (_root.mframe.t_l1 == true) {
play();
if (this._currentframe == 18) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("arrows.wav");
_root.soundFX.start();
}
}
}
if (_root.mframe.t_l1_haste == 1) {
if (this._currentframe == 70) {
_root.l1_shot.gotoAndPlay(1);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 394 MovieClip "l1_shot" in Frame 3
onClipEvent (load) {
_visible = false;
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.pause_time == true) {
stop();
} else if (_root.mframe.t_l1 == true) {
play();
}
}
Instance of Symbol 396 MovieClip "gir_1" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.energy > 50) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 396 MovieClip "gir_2" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.energy > 100) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 396 MovieClip "gir_3" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.energy > 150) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 396 MovieClip "gir_4" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.energy > 200) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 396 MovieClip "gir_5" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.energy > 250) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 396 MovieClip "gir_6" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.energy > 300) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 396 MovieClip "gir_7" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.energy > 350) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 396 MovieClip "gir_8" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.energy > 400) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 396 MovieClip "gir_9" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.energy > 450) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 396 MovieClip "gir_10" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.energy > 500) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 396 MovieClip "gir_11" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.energy > 550) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 396 MovieClip "gir_12" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.energy > 600) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 396 MovieClip "gir_13" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.energy > 650) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 396 MovieClip "gir_14" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.energy > 700) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 396 MovieClip "gir_15" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.energy > 750) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 396 MovieClip "gir_16" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.energy > 800) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 399 MovieClip "podb2" in Frame 3
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time1 == false) {
_root.p_1_cloud._x = _root.pers_1._x;
_root.p_1_cloud._y = _root.pers_1._y;
switch (_root.mframe.per1_h) {
case 9 :
_root.pers_l1._visible = false;
break;
case 8 :
_root.pers_l2._visible = false;
break;
case 7 :
_root.pers_l3._visible = false;
break;
case 6 :
_root.pers_l4._visible = false;
break;
case 5 :
_root.pers_l5._visible = false;
break;
case 4 :
_root.pers_l6._visible = false;
break;
case 3 :
_root.pers_l7._visible = false;
break;
case 2 :
_root.pers_l8._visible = false;
break;
case 1 :
_root.pers_l9._visible = false;
break;
case 10 :
_root.pers_l0._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_1_cloud._visible = true;
_root.p_1_cloud.gotoAndPlay(1);
_root.pers_la._visible = true;
_root.pers_la.gotoAndPlay(1);
_root.mframe.per1_h = 11;
}
}
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 400 MovieClip "podg2" in Frame 3
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time2 == false) {
_root.p_2_cloud._x = _root.pers_2._x;
_root.p_2_cloud._y = _root.pers_2._y;
switch (_root.mframe.per2_h) {
case 9 :
_root.pers_r1._visible = false;
break;
case 8 :
_root.pers_r2._visible = false;
break;
case 7 :
_root.pers_r3._visible = false;
break;
case 6 :
_root.pers_r4._visible = false;
break;
case 5 :
_root.pers_r5._visible = false;
break;
case 4 :
_root.pers_r6._visible = false;
break;
case 3 :
_root.pers_r7._visible = false;
break;
case 2 :
_root.pers_r8._visible = false;
break;
case 1 :
_root.pers_r9._visible = false;
break;
case 10 :
_root.pers_r0._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_2_cloud._visible = true;
_root.p_2_cloud.gotoAndPlay(1);
_root.pers_ra._visible = true;
_root.pers_ra.gotoAndPlay(1);
_root.mframe.per2_h = 11;
}
}
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 402 MovieClip "podb" in Frame 3
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time1 == false) {
_root.p_1_cloud._x = _root.pers_1._x;
_root.p_1_cloud._y = _root.pers_1._y;
switch (_root.mframe.per1_h) {
case 9 :
_root.pers_l1._visible = false;
break;
case 8 :
_root.pers_l2._visible = false;
break;
case 7 :
_root.pers_l3._visible = false;
break;
case 6 :
_root.pers_l4._visible = false;
break;
case 5 :
_root.pers_l5._visible = false;
break;
case 4 :
_root.pers_l6._visible = false;
break;
case 3 :
_root.pers_l7._visible = false;
break;
case 2 :
_root.pers_l8._visible = false;
break;
case 1 :
_root.pers_l9._visible = false;
break;
case 11 :
_root.pers_la._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_1_cloud._visible = true;
_root.p_1_cloud.gotoAndPlay(1);
_root.pers_l0._visible = true;
_root.pers_l0.gotoAndPlay(1);
_root.mframe.per1_h = 10;
}
}
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 403 MovieClip "podg" in Frame 3
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.pause_time == false) {
if (_root.mframe.bullet_time2 == false) {
_root.p_2_cloud._x = _root.pers_2._x;
_root.p_2_cloud._y = _root.pers_2._y;
switch (_root.mframe.per2_h) {
case 9 :
_root.pers_r1._visible = false;
break;
case 8 :
_root.pers_r2._visible = false;
break;
case 7 :
_root.pers_r3._visible = false;
break;
case 6 :
_root.pers_r4._visible = false;
break;
case 5 :
_root.pers_r5._visible = false;
break;
case 4 :
_root.pers_r6._visible = false;
break;
case 3 :
_root.pers_r7._visible = false;
break;
case 2 :
_root.pers_r8._visible = false;
break;
case 1 :
_root.pers_r9._visible = false;
break;
case 11 :
_root.pers_ra._visible = false;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("blink.wav");
_root.soundFX.start();
}
_root.p_2_cloud._visible = true;
_root.p_2_cloud.gotoAndPlay(1);
_root.pers_r0._visible = true;
_root.pers_r0.gotoAndPlay(1);
_root.mframe.per2_h = 10;
}
}
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 413 MovieClip "pers_r1" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("perscast.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 17) {
this.gotoAndStop(18);
}
}
Instance of Symbol 413 MovieClip "pers_r9" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("perscast.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 17) {
this.gotoAndStop(18);
}
}
Instance of Symbol 422 MovieClip "pers_r3" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("perscast.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 17) {
this.gotoAndStop(18);
}
}
Instance of Symbol 422 MovieClip "pers_r5" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("perscast.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 17) {
this.gotoAndStop(18);
}
}
Instance of Symbol 422 MovieClip "pers_r8" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("perscast.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 17) {
this.gotoAndStop(18);
}
}
Instance of Symbol 429 MovieClip "pers_r4" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("perscast.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 17) {
this.gotoAndStop(18);
}
}
Instance of Symbol 429 MovieClip "pers_r6" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("perscast.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 17) {
this.gotoAndStop(18);
}
}
Instance of Symbol 429 MovieClip "pers_r2" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("perscast.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 17) {
this.gotoAndStop(18);
}
}
Instance of Symbol 432 MovieClip "pers_r0" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
this.gotoAndPlay(7);
}
}
Instance of Symbol 435 MovieClip "pers_l0" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
this.gotoAndPlay(7);
}
}
Instance of Symbol 442 MovieClip "pers_l1" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("perscast.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 17) {
this.gotoAndStop(18);
}
}
Instance of Symbol 442 MovieClip "pers_l9" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("perscast.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 17) {
this.gotoAndStop(18);
}
}
Instance of Symbol 451 MovieClip "pers_l2" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("perscast.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 17) {
this.gotoAndStop(18);
}
}
Instance of Symbol 451 MovieClip "pers_l3" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("perscast.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 17) {
this.gotoAndStop(18);
}
}
Instance of Symbol 451 MovieClip "pers_l5" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("perscast.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 17) {
this.gotoAndStop(18);
}
}
Instance of Symbol 451 MovieClip "pers_l6" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("perscast.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 17) {
this.gotoAndStop(18);
}
}
Instance of Symbol 451 MovieClip "pers_l8" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("perscast.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 17) {
this.gotoAndStop(18);
}
}
Instance of Symbol 458 MovieClip "pers_l7" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("perscast.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 17) {
this.gotoAndStop(18);
}
}
Instance of Symbol 458 MovieClip "pers_l4" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("perscast.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 17) {
this.gotoAndStop(18);
}
}
Instance of Symbol 459 MovieClip "pers_la" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 6) {
this.gotoAndStop(7);
}
if (this._currentframe == this._totalframes) {
this.gotoAndStop(7);
}
}
Instance of Symbol 460 MovieClip "pers_ra" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 6) {
this.gotoAndStop(7);
}
if (this._currentframe == this._totalframes) {
this.gotoAndStop(7);
}
}
Instance of Symbol 469 MovieClip "pers_1" in Frame 3
onClipEvent (enterFrame) {
if (this._currentframe == 10) {
this.gotoAndStop(11);
}
}
Instance of Symbol 478 MovieClip "pers_2" in Frame 3
onClipEvent (enterFrame) {
if (this._currentframe == 10) {
this.gotoAndStop(11);
}
}
Instance of Symbol 479 MovieClip "p_1_cloud" in Frame 3
onClipEvent (load) {
_visible = false;
stop();
}
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
_visible = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 480 MovieClip "p_2_cloud" in Frame 3
onClipEvent (load) {
_visible = false;
stop();
}
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
_visible = false;
this.gotoAndStop(1);
}
}
Instance of Symbol 487 MovieClip "mm1l" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.per1_h == 10) {
if (_root.mframe.per1_haste == 1) {
_root.mm2l.play();
} else {
play();
}
} else {
this.gotoAndStop(1);
_root.mm2l.gotoAndStop(1);
}
}
Instance of Symbol 494 MovieClip "mm2l" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 487 MovieClip "mm1r" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.per2_h == 10) {
if (_root.mframe.per2_haste == 1) {
_root.mm2r.play();
} else {
play();
}
} else {
this.gotoAndStop(1);
_root.mm2r.gotoAndStop(1);
}
}
Instance of Symbol 494 MovieClip "mm2r" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 497 MovieClip "tower_r1" in Frame 3
onClipEvent (load) {
_visible = false;
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.pause_time == true) {
stop();
} else if (_root.mframe.t_r1 == true) {
play();
if (this._currentframe == 18) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("arrows.wav");
_root.soundFX.start();
}
}
}
if (_root.mframe.t_r1_haste == 1) {
if (this._currentframe == 70) {
_root.r1_shot.gotoAndPlay(1);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 498 MovieClip "r1_shot" in Frame 3
onClipEvent (load) {
_visible = false;
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.pause_time == true) {
stop();
} else if (_root.mframe.t_r1 == true) {
play();
}
}
Instance of Symbol 501 MovieClip "tower_r3" in Frame 3
onClipEvent (load) {
_visible = false;
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.pause_time == true) {
stop();
} else if (_root.mframe.t_r3 == true) {
play();
if (this._currentframe == 18) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("arrows.wav");
_root.soundFX.start();
}
}
}
if (_root.mframe.t_r3_haste == 1) {
if (this._currentframe == 70) {
_root.r3_shot.gotoAndPlay(1);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 502 MovieClip "r3_shot" in Frame 3
onClipEvent (load) {
_visible = false;
stop();
}
onClipEvent (enterFrame) {
if (_root.mframe.pause_time == true) {
stop();
} else if (_root.mframe.t_r3 == true) {
play();
}
}
Instance of Symbol 422 MovieClip "pers_r7" in Frame 3
onClipEvent (load) {
stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe == 8) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("perscast.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 17) {
this.gotoAndStop(18);
}
}
Instance of Symbol 504 MovieClip "mframe" in Frame 3
onClipEvent (load) {
var the_score = 0;
var coord_x = 0;
var coord_y = 0;
var i = 0;
var bullet_time1 = false;
var bullet_time2 = false;
var per1_h = 0;
var per2_h = 0;
var the_game = 0;
var per1_akk = 75;
var per2_akk = 75;
var per1_dm = 1;
var per2_dm = 1;
var per1_haste = 0;
var per2_haste = 0;
var energy = 50;
var castle_hp = 100;
var pause_time = false;
var t_r1 = false;
var t_r2 = false;
var t_r3 = false;
var t_l1 = false;
var t_l2 = false;
var t_l3 = false;
var t_r1_akk = 75;
var t_r2_akk = 75;
var t_r3_akk = 75;
var t_l1_akk = 75;
var t_l2_akk = 75;
var t_l3_akk = 75;
var t_r1_dm = 1;
var t_r2_dm = 1;
var t_r3_dm = 1;
var t_l1_dm = 1;
var t_l2_dm = 1;
var t_l3_dm = 1;
var t_r1_crit = 0;
var t_r2_crit = 0;
var t_r3_crit = 0;
var t_l1_crit = 0;
var t_l2_crit = 0;
var t_l3_crit = 0;
var t_r1_haste = 0;
var t_r2_haste = 0;
var t_r3_haste = 0;
var t_l1_haste = 0;
var t_l2_haste = 0;
var t_l3_haste = 0;
var t_r1_mana = 0;
var t_r2_mana = 0;
var t_r3_mana = 0;
var t_l1_mana = 0;
var t_l2_mana = 0;
var t_l3_mana = 0;
var bullTimer = 0;
var bullTimer2 = -600;
var bullTimer3 = -2000;
var bonusTimer = 0;
var roketwavenumber = 0;
var bulletwavenumber = 0;
var karwavenumber = 0;
var r = 0;
var bullTimerBl = -4000;
var blroketwavenumber = 0;
var bullTimerGo = -12000;
var goroketwavenumber = 0;
var bullTimerGh = -8000;
var ghwavenumber = 0;
var bullTimerFa = -5000;
var fawavenumber = 0;
var frogTimer = -400;
var start_milisek = getTimer();
var milisek;
var sek = 0;
var min = 0;
var hour = 0;
var sek_line = "0";
var min_line = "0";
var hour_line = "0";
var sound_enable = 1;
_root.soundFX = new Sound();
}
onClipEvent (enterFrame) {
if (the_game == 1) {
if (castle_hp <= 0) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("gameend.wav");
_root.soundFX.start();
}
_root.die.diesubmit.thegame = the_game;
the_game = 0;
_root.die.finalscore.text = the_score;
_root.die._visible = true;
}
milisek = getTimer() - start_milisek;
sek = Math.round(milisek / 1000);
if (sek > 59) {
start_milisek = getTimer();
min = min + 1;
}
if (min > 59) {
min = 0;
hour = hour + 1;
}
if (sek < 10) {
sek_line = "0" + sek;
} else {
sek_line = sek;
}
if (min < 10) {
min_line = "0" + min;
} else {
min_line = min;
}
if (hour < 10) {
hour_line = "0" + hour;
} else {
hour_line = hour;
}
_root.the_time.text = (((hour_line + ":") + min_line) + ":") + sek_line;
if (energy > 800) {
energy = 800;
_root.energy_field.text = 800;
} else {
_root.energy_field.text = energy;
}
_root.score_field.text = the_score;
_root.hp_field.text = castle_hp;
if (_root.mframe.pause_time == false) {
bullTimer = bullTimer + 1;
if (bullTimer >= 80) {
bullTimer = 0;
roketwavenumber = roketwavenumber + 1;
if ((roketwavenumber > 0) && (roketwavenumber < 200)) {
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
_root.attachMovie("roket_r1", "roket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("roket_l1", "roket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
if ((roketwavenumber > 200) && (roketwavenumber < 400)) {
r = Math.round(Math.random() * 2);
switch (r) {
case 0 :
_root.attachMovie("roket_r1", "roket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("roket_r1", "roket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("roket_l1", "roket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("roket_l1", "roket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
if ((roketwavenumber > 400) && (roketwavenumber < 600)) {
r = Math.round(Math.random() * 2);
switch (r) {
case 0 :
_root.attachMovie("roket_r1", "roket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("roket_r1", "roket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("roket_r1", "roket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("roket_l1", "roket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("roket_l1", "roket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("roket_l1", "roket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
if (roketwavenumber > 600) {
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
_root.attachMovie("goroket_r", "goroket_r" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("goroket_l", "goroket_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
_root.attachMovie("frog_r", "frog_r" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("frog_l", "frog_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
r = Math.round(Math.random() * 9);
switch (r) {
case 0 :
_root.attachMovie("roket_r1", "roket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("roket_l1", "roket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("goroket_r", "goroket_r" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("roket_r1", "roket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("roket_l1", "roket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("blueroket_r1", "blueroket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("blueroket_l1", "blueroket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("blueroket_r1", "blueroket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("blueroket_r1", "blueroket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("blueroket_l1", "blueroket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("blueroket_l1", "blueroket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 3 :
_root.attachMovie("faerie", "faerie" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("goroket_r", "goroket_r" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("goroket_l", "goroket_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 4 :
_root.attachMovie("ghost_r", "ghost_r" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("ghost_l", "ghost_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("goroket_l", "goroket_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 5 :
_root.attachMovie("kar_r1", "kar_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("kar_l1", "kar_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("kar_r1", "kar_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("kar_l1", "kar_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 6 :
_root.attachMovie("bullet_r1", "bullet_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("bullet_l1", "bullet_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("bullet_r1", "bullet_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("bullet_l1", "bullet_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 7 :
_root.attachMovie("ghost_r", "ghost_r" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("ghost_l", "ghost_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("blueroket_r1", "blueroket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("blueroket_l1", "blueroket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 8 :
_root.attachMovie("frog_l", "frog_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 9 :
_root.attachMovie("frog_r", "frog_r" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
}
bullTimerBl = bullTimerBl + 1;
if (bullTimerBl >= 500) {
bullTimerBl = 0;
blroketwavenumber = blroketwavenumber + 1;
if ((blroketwavenumber > 0) && (blroketwavenumber < 20)) {
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
_root.attachMovie("blueroket_r1", "blueroket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("blueroket_l1", "blueroket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
if ((blroketwavenumber > 40) && (blroketwavenumber < 80)) {
r = Math.round(Math.random() * 3);
switch (r) {
case 0 :
_root.attachMovie("blueroket_r1", "blueroket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("blueroket_r1", "blueroket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("blueroket_l1", "blueroket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("blueroket_l1", "blueroket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("blueroket_r1", "blueroket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("blueroket_r1", "blueroket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("blueroket_l1", "blueroket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("blueroket_l1", "blueroket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
}
bullTimerGo = bullTimerGo + 1;
if (bullTimerGo >= 700) {
bullTimerGo = 0;
goroketwavenumber = goroketwavenumber + 1;
if ((goroketwavenumber > 0) && (goroketwavenumber < 20)) {
r = Math.round(Math.random() * 2);
switch (r) {
case 0 :
_root.attachMovie("goroket_r", "goroket_r" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("goroket_l", "goroket_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
}
bullTimerGh = bullTimerGh + 1;
if (bullTimerGh >= 1000) {
bullTimerGh = 0;
ghwavenumber = ghwavenumber + 1;
if ((ghwavenumber > 0) && (ghwavenumber < 20)) {
r = Math.round(Math.random() * 3);
switch (r) {
case 0 :
_root.attachMovie("ghost_r", "ghost_r" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("ghost_l", "ghost_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("ghost_l", "ghost_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
}
bullTimerFa = bullTimerFa + 1;
if (bullTimerFa >= 2000) {
bullTimerFa = 0;
fawavenumber = fawavenumber + 1;
if ((fawavenumber > 0) && (fawavenumber < 50)) {
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
break;
case 1 :
_root.attachMovie("faerie", "faerie" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
}
bullTimer2 = bullTimer2 + 1;
if (bullTimer2 >= 120) {
bullTimer2 = 0;
bulletwavenumber = bulletwavenumber + 1;
if ((bulletwavenumber > 350) && (bulletwavenumber < 400)) {
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
_root.attachMovie("bullet_r1", "bullet_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("bullet_l1", "bullet_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
if ((bulletwavenumber > 130) && (bulletwavenumber < 270)) {
r = Math.round(Math.random() * 2);
switch (r) {
case 0 :
_root.attachMovie("bullet_r1", "bullet_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("bullet_r1", "bullet_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("bullet_l1", "bullet_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("bullet_l1", "bullet_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
if ((bulletwavenumber > 30) && (bulletwavenumber < 70)) {
r = Math.round(Math.random() * 2);
switch (r) {
case 0 :
_root.attachMovie("bullet_r1", "bullet_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("bullet_r1", "bullet_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("bullet_l1", "bullet_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("bullet_l1", "bullet_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
}
bullTimer3 = bullTimer3 + 1;
if (bullTimer3 >= 200) {
bullTimer3 = 0;
karwavenumber = karwavenumber + 1;
if ((karwavenumber > 60) && (karwavenumber < 110)) {
r = Math.round(Math.random() * 2);
switch (r) {
case 0 :
_root.attachMovie("kar_r1", "kar_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("kar_r1", "kar_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("kar_l1", "kar_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("kar_l1", "kar_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
if ((karwavenumber > 160) && (karwavenumber < 200)) {
r = Math.round(Math.random() * 2);
switch (r) {
case 0 :
_root.attachMovie("kar_r1", "kar_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("kar_r1", "kar_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("kar_r1", "kar_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("kar_l1", "kar_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("kar_l1", "kar_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.attachMovie("kar_l1", "kar_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
}
bonusTimer = bonusTimer + 1;
if (bonusTimer >= 80) {
bonusTimer = 0;
r = Math.round(Math.random() * 70);
switch (r) {
case 60 :
_root.attachMovie("bonus_1", "bonus_1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 50 :
_root.attachMovie("bonus_1", "bonus_1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 40 :
_root.attachMovie("bonus_1", "bonus_1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 30 :
_root.attachMovie("bonus_1", "bonus_1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 22 :
_root.attachMovie("bonus_1", "bonus_1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 21 :
_root.attachMovie("bonus_1", "bonus_1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 20 :
_root.attachMovie("bonus_1", "bonus_1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 0 :
_root.attachMovie("bonus_1", "bonus_1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("bonus_1", "bonus_1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("bonus_1", "bonus_1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 3 :
_root.attachMovie("bonus_1", "bonus_1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 4 :
_root.attachMovie("bonus_2", "bonus_2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 5 :
_root.attachMovie("bonus_2", "bonus_2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 6 :
_root.attachMovie("bonus_2", "bonus_2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 7 :
_root.attachMovie("bonus_3", "bonus_3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 8 :
_root.attachMovie("bonus_3", "bonus_3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 9 :
_root.attachMovie("bonus_4", "bonus_4" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 10 :
_root.attachMovie("bonus_4", "bonus_4" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
frogTimer = frogTimer + 1;
if (frogTimer >= 290) {
frogTimer = 0;
r = Math.round(Math.random() * 4);
switch (r) {
case 0 :
_root.attachMovie("frog_l", "frog_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("frog_r", "frog_r" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
}
}
if (the_game == 2) {
if (castle_hp <= 0) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("gameend.wav");
_root.soundFX.start();
}
_root.die.diesubmit.thegame = the_game;
the_game = 0;
_root.die.finalscore.text = the_score;
_root.die._visible = true;
}
if (roketwavenumber > 440) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("gameend.wav");
_root.soundFX.start();
}
_root.die.diesubmit.thegame = the_game;
the_game = 0;
the_score = the_score + 2000;
_root.die.congratulations._visible = true;
_root.die.finalscore.text = the_score;
_root.die._visible = true;
}
milisek = getTimer() - start_milisek;
sek = Math.round(milisek / 1000);
if (sek > 59) {
start_milisek = getTimer();
min = min + 1;
}
if (min > 59) {
min = 0;
hour = hour + 1;
}
if (sek < 10) {
sek_line = "0" + sek;
} else {
sek_line = sek;
}
if (min < 10) {
min_line = "0" + min;
} else {
min_line = min;
}
if (hour < 10) {
hour_line = "0" + hour;
} else {
hour_line = hour;
}
_root.the_time.text = (((hour_line + ":") + min_line) + ":") + sek_line;
if (energy > 800) {
energy = 800;
_root.energy_field.text = 800;
} else {
_root.energy_field.text = energy;
}
_root.score_field.text = the_score;
_root.hp_field.text = castle_hp;
if (_root.mframe.pause_time == false) {
bullTimer = bullTimer + 1;
if (bullTimer >= 80) {
bullTimer = 0;
roketwavenumber = roketwavenumber + 1;
if (roketwavenumber == 295) {
roketwavenumber = 296;
_root.attachMovie("faerie", "faerie" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
if ((roketwavenumber > 0) && (roketwavenumber < 33)) {
_root.dayswaves.text = "* Wave 1 *";
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
_root.attachMovie("bullet_r1", "bullet_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("bullet_l1", "bullet_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
_root.attachMovie("bullet_r1", "bullet_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("bullet_l1", "bullet_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
if ((roketwavenumber > 37) && (roketwavenumber < 70)) {
_root.dayswaves.text = "* Wave 2 *";
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
_root.attachMovie("roket_r1", "roket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("roket_l1", "roket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
_root.attachMovie("roket_r1", "roket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("roket_l1", "roket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
if ((roketwavenumber > 74) && (roketwavenumber < 107)) {
_root.dayswaves.text = "* Wave 3 *";
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
_root.attachMovie("kar_r1", "kar_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("kar_l1", "kar_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
_root.attachMovie("roket_r1", "roket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("roket_l1", "roket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
if ((roketwavenumber > 111) && (roketwavenumber < 144)) {
_root.dayswaves.text = "* Wave 4 *";
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
_root.attachMovie("kar_r1", "kar_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("kar_l1", "kar_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
_root.attachMovie("kar_r1", "kar_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("kar_l1", "kar_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
if ((roketwavenumber > 147) && (roketwavenumber < 180)) {
_root.dayswaves.text = "* Wave 5 *";
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
_root.attachMovie("blueroket_r1", "blueroket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("blueroket_l1", "blueroket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
if ((roketwavenumber > 184) && (roketwavenumber < 217)) {
_root.dayswaves.text = "* Wave 6 *";
r = Math.round(Math.random() * 3);
switch (r) {
case 0 :
_root.attachMovie("blueroket_r1", "blueroket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("blueroket_l1", "blueroket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("bullet_r1", "bullet_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 3 :
_root.attachMovie("bullet_l1", "bullet_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
_root.attachMovie("bullet_r1", "bullet_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("bullet_l1", "bullet_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
r = Math.round(Math.random() * 4);
switch (r) {
case 0 :
_root.attachMovie("blueroket_r1", "blueroket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("blueroket_l1", "blueroket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
if ((roketwavenumber > 221) && (roketwavenumber < 254)) {
_root.dayswaves.text = "* Wave 7 *";
r = Math.round(Math.random() * 3);
switch (r) {
case 0 :
_root.attachMovie("roket_r1", "roket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("roket_l1", "roket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("ghost_r", "ghost_r" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 3 :
_root.attachMovie("ghost_l", "ghost_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
_root.attachMovie("roket_r1", "roket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("roket_l1", "roket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
r = Math.round(Math.random() * 4);
switch (r) {
case 0 :
_root.attachMovie("ghost_r1", "ghost_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("ghost_l1", "ghost_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
if ((roketwavenumber > 258) && (roketwavenumber < 291)) {
_root.dayswaves.text = "* Wave 8 *";
r = Math.round(Math.random() * 3);
switch (r) {
case 0 :
_root.attachMovie("goroket_r", "goroket_r" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("goroket_l", "goroket_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("kar_r1", "kar_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 3 :
_root.attachMovie("kar_l1", "kar_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
if ((roketwavenumber > 295) && (roketwavenumber < 328)) {
_root.dayswaves.text = "* Wave 9 *";
r = Math.round(Math.random() * 2);
switch (r) {
case 0 :
_root.attachMovie("blueroket_r1", "blueroket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("blueroket_l1", "blueroket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
r = Math.round(Math.random() * 2);
switch (r) {
case 0 :
_root.attachMovie("blueroket_r1", "blueroket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("blueroket_l1", "blueroket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
if ((roketwavenumber > 332) && (roketwavenumber < 365)) {
_root.dayswaves.text = "* Wave 10 *";
r = Math.round(Math.random() * 5);
switch (r) {
case 0 :
_root.attachMovie("bullet_r1", "bullet_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("bullet_l1", "bullet_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("ghost_r", "ghost_r" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 3 :
_root.attachMovie("ghost_l", "ghost_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 4 :
_root.attachMovie("kar_r1", "kar_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 5 :
_root.attachMovie("kar_l1", "kar_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
r = Math.round(Math.random() * 4);
switch (r) {
case 0 :
_root.attachMovie("bullet_r1", "bullet_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("bullet_l1", "bullet_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("kar_r1", "kar_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 3 :
_root.attachMovie("kar_l1", "kar_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
if ((roketwavenumber > 369) && (roketwavenumber < 402)) {
_root.dayswaves.text = "* Wave 11 *";
r = Math.round(Math.random() * 5);
switch (r) {
case 0 :
_root.attachMovie("roket_r1", "roket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("roket_l1", "roket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("goroket_r", "goroket_r" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 3 :
_root.attachMovie("goroket_l", "goroket_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 4 :
_root.attachMovie("blueroket_r1", "blueroket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 5 :
_root.attachMovie("blueroket_l1", "blueroket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
r = Math.round(Math.random() * 5);
switch (r) {
case 0 :
_root.attachMovie("roket_r1", "roket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("roket_l1", "roket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("goroket_r", "goroket_r" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 3 :
_root.attachMovie("goroket_l", "goroket_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 4 :
_root.attachMovie("blueroket_r1", "blueroket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 5 :
_root.attachMovie("blueroket_l1", "blueroket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
if ((roketwavenumber > 410) && (roketwavenumber < 440)) {
_root.dayswaves.text = "* Wave 12 *";
r = Math.round(Math.random() * 5);
switch (r) {
case 0 :
_root.attachMovie("roket_r1", "roket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("roket_l1", "roket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("ghost_r", "ghost_r" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 3 :
_root.attachMovie("ghost_l", "ghost_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 4 :
_root.attachMovie("blueroket_r1", "blueroket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 5 :
_root.attachMovie("blueroket_l1", "blueroket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
r = Math.round(Math.random() * 4);
switch (r) {
case 0 :
_root.attachMovie("frog_l", "frog_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("frog_r", "frog_r" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
r = Math.round(Math.random() * 5);
switch (r) {
case 0 :
_root.attachMovie("roket_r1", "roket_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("roket_l1", "roket_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("bullet_r1", "bullet_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 3 :
_root.attachMovie("bullet_l1", "bullet_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 4 :
_root.attachMovie("kar_r1", "kar_r1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 5 :
_root.attachMovie("kar_l1", "kar_l1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
}
bonusTimer = bonusTimer + 1;
if (bonusTimer >= 80) {
bonusTimer = 0;
r = Math.round(Math.random() * 70);
switch (r) {
case 20 :
_root.attachMovie("bonus_1", "bonus_1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 0 :
_root.attachMovie("bonus_1", "bonus_1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("bonus_1", "bonus_1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 2 :
_root.attachMovie("bonus_1", "bonus_1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 3 :
_root.attachMovie("bonus_1", "bonus_1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 4 :
_root.attachMovie("bonus_2", "bonus_2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 5 :
_root.attachMovie("bonus_2", "bonus_2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 6 :
_root.attachMovie("bonus_2", "bonus_2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 7 :
_root.attachMovie("bonus_3", "bonus_3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 8 :
_root.attachMovie("bonus_3", "bonus_3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 9 :
_root.attachMovie("bonus_4", "bonus_4" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 10 :
_root.attachMovie("bonus_4", "bonus_4" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
frogTimer = frogTimer + 1;
if ((frogTimer >= 200) && (roketwavenumber > 111)) {
frogTimer = 0;
r = Math.round(Math.random() * 4);
switch (r) {
case 0 :
_root.attachMovie("frog_l", "frog_l" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
break;
case 1 :
_root.attachMovie("frog_r", "frog_r" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
bullTimerFa = bullTimerFa + 1;
if ((bullTimerFa >= 1600) && (roketwavenumber > 310)) {
bullTimerFa = 0;
fawavenumber = fawavenumber + 1;
if ((fawavenumber > 0) && (fawavenumber < 500)) {
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
break;
case 1 :
_root.attachMovie("faerie", "faerie" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
}
}
}
}
Instance of Symbol 519 MovieClip "r_fire" in Frame 3
onClipEvent (load) {
_visible = false;
stop();
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
_root.r_fire_red._x = 100;
_root.r_fire_red._y = -2000;
_root.r_fire_red.gotoAndStop(2);
_root.r_fire_blue._x = 100;
_root.r_fire_blue._y = -2000;
_root.r_fire_blue.gotoAndStop(2);
_root.r_fire_yellow._x = 100;
_root.r_fire_yellow._y = -2000;
_root.r_fire_yellow.gotoAndStop(2);
gotoAndStop (2);
}
if (this._currentframe == 15) {
_root.mframe.bullet_time2 = false;
}
if (this._currentframe == this._totalframes) {
this._visible = false;
_x = 400;
_y = -2000;
gotoAndStop (1);
}
}
Instance of Symbol 519 MovieClip "l_fire" in Frame 3
onClipEvent (load) {
_visible = false;
stop();
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
_root.l_fire_red._x = 100;
_root.l_fire_red._y = -2000;
_root.l_fire_red.gotoAndStop(2);
_root.l_fire_blue._x = 100;
_root.l_fire_blue._y = -2000;
_root.l_fire_blue.gotoAndStop(2);
_root.l_fire_yellow._x = 100;
_root.l_fire_yellow._y = -2000;
_root.l_fire_yellow.gotoAndStop(2);
gotoAndStop (2);
}
if (this._currentframe == 15) {
_root.mframe.bullet_time1 = false;
}
if (this._currentframe == this._totalframes) {
this._visible = false;
_x = 100;
_y = -2000;
gotoAndStop (1);
}
}
Instance of Symbol 525 MovieClip "tomenumain" in Frame 3
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
_root.mframe.pause_time = true;
_root.the_pause._visible = true;
_root.l_fire._visible = false;
_root.r_fire._visible = false;
_root.the_clouds.stop();
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 540 MovieClip "r_fire_blue" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 540 MovieClip "l_fire_blue" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 555 MovieClip "l_fire_red" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 570 MovieClip "l_fire_yellow" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 555 MovieClip "r_fire_red" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 570 MovieClip "r_fire_yellow" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 681 MovieClip "the_pause" in Frame 3
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 684 MovieClip "blind" in Frame 3
onClipEvent (load) {
_visible = false;
var started = 0;
stop();
}
onClipEvent (enterFrame) {
if (started == 1) {
if (_root.mframe.pause_time == true) {
_root.blind_info.text = "PAUSE... Blind effect is stoped";
stop();
} else {
_visible = true;
play();
_root.blind_info.text = "BLIND";
}
if (this._currentframe == this._totalframes) {
_root.blind_info.text = "";
started = 0;
_visible = false;
gotoAndStop (1);
}
}
}
Instance of Symbol 701 MovieClip "die" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 747 MovieClip "credits" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 775 MovieClip "mainhelp" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Symbol 35 MovieClip [frog_r] Frame 1
#initclip 71
Object.registerClass("frog_r", frog_r);
#endinitclip
Symbol 39 MovieClip [frog_l] Frame 1
#initclip 27
Object.registerClass("frog_l", frog_l);
#endinitclip
Symbol 69 MovieClip [faerie] Frame 1
#initclip 28
Object.registerClass("faerie", faerie);
#endinitclip
Symbol 75 MovieClip [bonus_1_get] Frame 1
#initclip 29
Object.registerClass("bonus_1_get", bonus_get);
#endinitclip
Symbol 78 MovieClip [bonus_1] Frame 1
#initclip 30
Object.registerClass("bonus_1", bonus_1);
#endinitclip
Symbol 81 MovieClip [bonus_2] Frame 1
#initclip 31
Object.registerClass("bonus_2", bonus_2);
#endinitclip
Symbol 87 MovieClip [bonus_2_get] Frame 1
#initclip 32
Object.registerClass("bonus_2_get", bonus_get2);
#endinitclip
Symbol 90 MovieClip [bonus_3] Frame 1
#initclip 33
Object.registerClass("bonus_3", bonus_3);
#endinitclip
Symbol 96 MovieClip [bonus_3_get] Frame 1
#initclip 34
Object.registerClass("bonus_3_get", krash);
#endinitclip
Symbol 102 MovieClip [bonus_4_get] Frame 1
#initclip 35
Object.registerClass("bonus_4_get", krash);
#endinitclip
Symbol 105 MovieClip [bonus_4] Frame 1
#initclip 36
Object.registerClass("bonus_4", bonus_4);
#endinitclip
Symbol 108 MovieClip [minus25] Frame 1
#initclip 37
Object.registerClass("minus25", krash);
#endinitclip
Symbol 111 MovieClip [plus25] Frame 1
#initclip 38
Object.registerClass("plus25", krash);
#endinitclip
Symbol 120 MovieClip [manageting2] Frame 1
#initclip 39
Object.registerClass("manageting2", krash);
#endinitclip
Symbol 121 MovieClip [manageting] Frame 1
#initclip 40
Object.registerClass("manageting", krash);
#endinitclip
Symbol 126 MovieClip [frog_kill] Frame 1
#initclip 41
Object.registerClass("frog_kill", krash);
#endinitclip
Symbol 133 MovieClip [de_ghostr] Frame 1
#initclip 42
Object.registerClass("de_ghostr", krash);
#endinitclip
Symbol 137 MovieClip [de_ghostl] Frame 1
#initclip 43
Object.registerClass("de_ghostl", krash);
#endinitclip
Symbol 156 MovieClip [de_goroketr] Frame 1
#initclip 44
Object.registerClass("de_goroketr", krash);
#endinitclip
Symbol 166 MovieClip [de_goroketl] Frame 1
#initclip 45
Object.registerClass("de_goroketl", krash);
#endinitclip
Symbol 171 MovieClip [kar_r1] Frame 1
#initclip 46
Object.registerClass("kar_r1", kar_r1);
#endinitclip
Symbol 174 MovieClip [kar_l1] Frame 1
#initclip 47
Object.registerClass("kar_l1", kar_l1);
#endinitclip
Symbol 179 MovieClip [roket_r1] Frame 1
#initclip 48
Object.registerClass("roket_r1", roket_r1);
#endinitclip
Symbol 181 MovieClip [miss] Frame 1
#initclip 49
Object.registerClass("miss", krash);
#endinitclip
Symbol 198 MovieClip [goroket_r] Frame 1
#initclip 50
Object.registerClass("goroket_r", goroket_r);
#endinitclip
Symbol 201 MovieClip [goroket_l] Frame 1
#initclip 51
Object.registerClass("goroket_l", goroket_l);
#endinitclip
Symbol 210 MovieClip [ghost_r] Frame 1
#initclip 52
Object.registerClass("ghost_r", ghost_r);
#endinitclip
Symbol 213 MovieClip [ghost_l] Frame 1
#initclip 53
Object.registerClass("ghost_l", ghost_l);
#endinitclip
Symbol 223 MovieClip [blueroket_r1] Frame 1
#initclip 54
Object.registerClass("blueroket_r1", blueroket_r1);
#endinitclip
Symbol 226 MovieClip [blueroket_l1] Frame 1
#initclip 55
Object.registerClass("blueroket_l1", blueroket_l1);
#endinitclip
Symbol 229 MovieClip [roket_l1] Frame 1
#initclip 56
Object.registerClass("roket_l1", roket_l1);
#endinitclip
Symbol 232 MovieClip [bullet_l1] Frame 1
#initclip 57
Object.registerClass("bullet_l1", bullet_l1);
#endinitclip
Symbol 234 MovieClip [bullet_r1] Frame 1
#initclip 58
Object.registerClass("bullet_r1", bullet_r1);
#endinitclip
Symbol 242 MovieClip [de_roketl] Frame 1
#initclip 59
Object.registerClass("de_roketl", krash);
#endinitclip
Symbol 250 MovieClip [de_roketbl] Frame 1
#initclip 60
Object.registerClass("de_roketbl", krash);
#endinitclip
Symbol 258 MovieClip [de_roketbr] Frame 1
#initclip 61
Object.registerClass("de_roketbr", krash);
#endinitclip
Symbol 266 MovieClip [de_roketr] Frame 1
#initclip 62
Object.registerClass("de_roketr", krash);
#endinitclip
Symbol 269 MovieClip [destroy_roketb] Frame 1
#initclip 63
Object.registerClass("destroy_roketb", krash);
#endinitclip
Symbol 272 MovieClip [destroy_roket] Frame 1
#initclip 64
Object.registerClass("destroy_roket", krash);
#endinitclip
Symbol 276 MovieClip [destroy_faerie] Frame 1
#initclip 65
Object.registerClass("destroy_faerie", krash);
#endinitclip
Symbol 279 MovieClip [destroy_bullet] Frame 1
#initclip 66
Object.registerClass("destroy_bullet", krash);
#endinitclip
Symbol 287 MovieClip [destroy_kar] Frame 1
#initclip 67
Object.registerClass("destroy_kar", krash);
#endinitclip
Symbol 300 MovieClip [krash_frogr] Frame 1
#initclip 68
Object.registerClass("krash_frogr", krash);
#endinitclip
Symbol 307 MovieClip [krash_frogl] Frame 1
#initclip 69
Object.registerClass("krash_frogl", krash);
#endinitclip
Symbol 311 MovieClip [krash] Frame 1
#initclip 70
Object.registerClass("krash", krash);
#endinitclip
Symbol 776 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("3.02 as2");
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {id:"hostLoadPcnt", pcnt:_local2}, clip._mochiad._containerLCName);
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
if (_local7._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new Object();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
containerNotify(clip, {id:"unload"}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
containerRpcResult(clip, callbackID, _local4, clip._mochiad._containerLCName);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
containerRpcResult(clip, callbackID, _local3, clip._mochiad._containerLCName);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
static function containerNotify(clip, args, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.notify) {
_local1.notify(args);
} else {
new LocalConnection().send(lcName, "notify", args);
}
}
static function containerRpcResult(clip, callbackID, val, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.rpcResult) {
_local1.rpcResult(callbackID, val);
} else {
new LocalConnection().send(lcName, "rpcResult", callbackID, val);
}
}
}
Symbol 777 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _loader, _loaderListener, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.02 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local3 = "_mochiservices_com_" + id;
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servicesURL != undefined) {
_servicesURL = urlOptions().servicesURL;
}
allowDomains(_servicesURL);
_clip = clip.createEmptyMovieClip(_local3, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
_loader = new MovieClipLoader();
if (_loaderListener.waitInterval != null) {
clearInterval(_loaderListener.waitInterval);
}
_loaderListener = {};
_loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, [errorCode]);
};
_loaderListener.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_loaderListener.startTime = getTimer();
_loaderListener.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000);
_loader.addListener(_loaderListener);
_loader.loadClip((((_servicesURL + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
onError.apply(null, ["NotConnected"]);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
if (_root.mochiad_options) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static var _servicesURL = "http://www.mochiads.com/static/lib/services/services.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
}
Symbol 778 MovieClip [__Packages.frog_l] Frame 0
class frog_l extends MovieClip
{
var my_x, my_y, _x, _y, removeMovieClip, unloadMovie, _visible;
function frog_l () {
super();
}
function onLoad() {
my_x = 200;
my_y = 200;
_x = -20;
_y = 384;
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
_x = _x + frog_x_speed;
if ((_x > 170) && (_x < 190)) {
if (_root.mframe.per1_h == 11) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("elec.wav");
_root.soundFX.start();
}
_root.pers_la.gotoAndPlay(8);
var _local3 = _root.attachMovie("krash_frogl", "krash_frogl" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 5;
removeMovieClip();
unloadMovie();
}
}
if (_x > 260) {
_root.mframe.castle_hp = _root.mframe.castle_hp - 5;
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("lifelost.wav");
_root.soundFX.start();
}
var _local4 = _root.attachMovie("frog_kill", "frog_kill" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
}
var frog_x_speed = 0.5;
}
Symbol 779 MovieClip [__Packages.faerie] Frame 0
class faerie extends MovieClip
{
var r, _x, move_timer, blind_timer, _y, hp, gotoAndStop, removeMovieClip, unloadMovie, _visible, gotoAndPlay, hitTest, c, _currentframe, _totalframes;
function faerie () {
super();
}
function onLoad() {
r = Math.round(Math.random() * 1);
switch (r) {
case 0 :
_x = 10;
break;
case 1 :
_x = 540;
}
move_timer = (Math.random() * 200) + 50;
blind_timer = (Math.random() * 200) + 300;
_y = (Math.random() * 300) + 50;
hp = Math.round(Math.random() * 10) + 10;
gotoAndStop(hp);
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
blind_timer = blind_timer - 1;
if (blind_timer < 0) {
blind_timer = (Math.random() * 300) + 100;
gotoAndPlay(21);
}
} else {
_visible = false;
}
move_timer = move_timer - 1;
if (move_timer < 0) {
move_timer = (Math.random() * 100) + 50;
r = Math.round(Math.random() * 3);
switch (r) {
case 0 :
faerie_x_speed = faerie_x_speed * -1;
break;
case 1 :
faerie_y_speed = faerie_y_speed * -1;
break;
case 2 :
faerie_x_speed = faerie_x_speed * -1;
faerie_y_speed = faerie_y_speed * -1;
}
}
_x = _x + faerie_x_speed;
_y = _y + faerie_y_speed;
if ((_x > 550) or (_x < 0)) {
faerie_x_speed = faerie_x_speed * -1;
}
if ((_y > 350) or (_y < 0)) {
faerie_y_speed = faerie_y_speed * -1;
}
if (hitTest(_root.l_fire)) {
_root.mframe.bullet_time1 = false;
_root.l_fire._visible = false;
_root.l_fire._x = 100;
_root.l_fire._y = -2000;
_root.l_fire.gotoAndStop(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.per1_akk;
if (_root.the_pause.b_slot.cry == 2) {
c = c - 10;
}
if (_root.the_pause.b_slot.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.per1_dm;
if (_root.the_pause.b_slot.cry == 2) {
c = c + 2;
}
if (_root.the_pause.b_slot.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 2));
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("faeryshot.wav");
_root.soundFX.start();
}
gotoAndPlay(25);
} else {
var _local4 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y + 5;
}
}
if (hitTest(_root.r_fire)) {
_root.mframe.bullet_time2 = false;
_root.r_fire._visible = false;
_root.r_fire._x = 100;
_root.r_fire._y = -2000;
_root.r_fire.gotoAndStop(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.per2_akk;
if (_root.the_pause.g_slot.cry == 2) {
c = c - 10;
}
if (_root.the_pause.g_slot.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.per2_dm;
if (_root.the_pause.g_slot.cry == 2) {
c = c + 2;
}
if (_root.the_pause.g_slot.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 2));
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("faeryshot.wav");
_root.soundFX.start();
}
gotoAndPlay(25);
} else {
var _local4 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y + 5;
}
}
if (_currentframe == 24) {
_root.blind.started = 1;
}
if (_currentframe == _totalframes) {
if (hp > 0) {
gotoAndStop(hp);
}
}
if (hp <= 0) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("faerydie.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_faerie", "destroy_faerie" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 100;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l1_shot)) {
_root.l1_shot.gotoAndPlay(1);
_root.tower_l1.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_l1_akk;
if (_root.the_pause.tl1_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tl1_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_l1_dm;
if (_root.the_pause.tl1_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.the_pause.tl1_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
}
if (_root.mframe.t_l1_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("faeryshot.wav");
_root.soundFX.start();
}
gotoAndPlay(25);
} else {
var _local4 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y + 5;
}
}
if (hitTest(_root.l2_shot)) {
_root.l2_shot.gotoAndPlay(1);
_root.tower_l2.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_l2_akk;
if (_root.the_pause.tl2_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tl2_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_l2_dm;
if (_root.the_pause.tl2_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.the_pause.tl2_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
}
if (_root.mframe.t_l2_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("faeryshot.wav");
_root.soundFX.start();
}
gotoAndPlay(25);
} else {
var _local4 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y + 5;
}
}
if (hitTest(_root.l3_shot)) {
_root.l3_shot.gotoAndPlay(1);
_root.tower_l3.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_l3_akk;
if (_root.the_pause.tl3_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tl3_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_l3_dm;
if (_root.the_pause.tl3_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.the_pause.tl3_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
}
if (_root.mframe.t_l3_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("faeryshot.wav");
_root.soundFX.start();
}
gotoAndPlay(25);
} else {
var _local4 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y + 5;
}
}
if (hitTest(_root.r1_shot)) {
_root.r1_shot.gotoAndPlay(1);
_root.tower_r1.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_r1_akk;
if (_root.the_pause.tr1_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tr1_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_r1_dm;
if (_root.the_pause.tr1_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.the_pause.tr1_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
}
if (_root.mframe.t_r1_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("faeryshot.wav");
_root.soundFX.start();
}
gotoAndPlay(25);
} else {
var _local4 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y + 5;
}
}
if (hitTest(_root.r2_shot)) {
_root.r2_shot.gotoAndPlay(1);
_root.tower_r2.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_r2_akk;
if (_root.the_pause.tr2_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tr2_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_r2_dm;
if (_root.the_pause.tr2_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.the_pause.tr2_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
}
if (_root.mframe.t_r2_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("faeryshot.wav");
_root.soundFX.start();
}
gotoAndPlay(25);
} else {
var _local4 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y + 5;
}
}
if (hitTest(_root.r3_shot)) {
_root.r3_shot.gotoAndPlay(1);
_root.tower_r3.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_r3_akk;
if (_root.the_pause.tr3_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tr3_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_r3_dm;
if (_root.the_pause.tr3_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.the_pause.tr3_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
}
if (_root.mframe.t_r3_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("faeryshot.wav");
_root.soundFX.start();
}
gotoAndPlay(25);
} else {
var _local4 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y + 5;
}
}
} else {
_visible = false;
}
}
var faerie_x_speed = 1;
var faerie_y_speed = 1;
}
Symbol 780 MovieClip [__Packages.bonus_get] Frame 0
class bonus_get extends MovieClip
{
var removeMovieClip, unloadMovie, _visible, _y, _x, _totalframes, _currentframe, stop;
function bonus_get () {
super();
}
function onLoad() {
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
if (_y < 390) {
_y = _y + bonus_speed;
} else {
if (_x > 275) {
_x = _x - bonus_speed;
}
if (_x < 270) {
_x = _x + bonus_speed;
}
}
if ((_x > 269) && (_x < 276)) {
_root.mframe.energy = _root.mframe.energy + 25;
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("bonusplus.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("plus25", "plus25" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
if (_currentframe == _totalframes) {
stop();
}
}
var bonus_speed = 1.5;
}
Symbol 781 MovieClip [__Packages.bonus_1] Frame 0
class bonus_1 extends MovieClip
{
var my_x, my_y, _x, _y, removeMovieClip, unloadMovie, _visible, hitTest;
function bonus_1 () {
super();
}
function onLoad() {
my_x = 200;
my_y = 200;
_x = (Math.random() * 380) + 20;
if (_x > 210) {
_x = _x + 130;
}
_y = 400;
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
_y = _y - bonus_y_speed;
if (hitTest(_root.r_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("ballon.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("bonus_1_get", "bonus_1_get" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 10;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("ballon.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("bonus_1_get", "bonus_1_get" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 10;
removeMovieClip();
unloadMovie();
}
if (_y < -30) {
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
}
var bonus_y_speed = 1;
}
Symbol 782 MovieClip [__Packages.bonus_2] Frame 0
class bonus_2 extends MovieClip
{
var my_x, my_y, _x, _y, removeMovieClip, unloadMovie, _visible, hitTest;
function bonus_2 () {
super();
}
function onLoad() {
my_x = 200;
my_y = 200;
_x = (Math.random() * 380) + 20;
if (_x > 210) {
_x = _x + 130;
}
_y = 400;
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
_y = _y - bonus_y_speed;
if (hitTest(_root.r_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("ballon.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("bonus_2_get", "bonus_2_get" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("ballon.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("bonus_2_get", "bonus_2_get" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
removeMovieClip();
unloadMovie();
}
if (_y < -30) {
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
}
var bonus_y_speed = 1;
}
Symbol 783 MovieClip [__Packages.bonus_get2] Frame 0
class bonus_get2 extends MovieClip
{
var removeMovieClip, unloadMovie, _visible, _y, _x, _totalframes, _currentframe, stop;
function bonus_get2 () {
super();
}
function onLoad() {
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
if (_y < 390) {
_y = _y + bonus_speed;
} else {
if (_x > 275) {
_x = _x - bonus_speed;
}
if (_x < 270) {
_x = _x + bonus_speed;
}
}
if ((_x > 269) && (_x < 276)) {
_root.mframe.energy = _root.mframe.energy - 25;
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("bonusminus.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("minus25", "minus25" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
if (_currentframe == _totalframes) {
stop();
}
}
var bonus_speed = 1.5;
}
Symbol 784 MovieClip [__Packages.bonus_3] Frame 0
class bonus_3 extends MovieClip
{
var my_x, my_y, _x, _y, removeMovieClip, unloadMovie, _visible, hitTest;
function bonus_3 () {
super();
}
function onLoad() {
my_x = 200;
my_y = 200;
_x = (Math.random() * 380) + 20;
if (_x > 210) {
_x = _x + 130;
}
_y = 400;
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
_y = _y - bonus_y_speed;
if (hitTest(_root.r_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("ballon.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("bonus_3_get", "bonus_3_get" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.castle_hp < 100) {
_root.mframe.castle_hp = _root.mframe.castle_hp + 1;
}
_root.mframe.the_score = _root.mframe.the_score + 10;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("ballon.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("bonus_3_get", "bonus_3_get" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.castle_hp < 100) {
_root.mframe.castle_hp = _root.mframe.castle_hp + 1;
}
_root.mframe.the_score = _root.mframe.the_score + 10;
removeMovieClip();
unloadMovie();
}
if (_y < -30) {
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
}
var bonus_y_speed = 1;
}
Symbol 785 MovieClip [__Packages.krash] Frame 0
class krash extends MovieClip
{
var removeMovieClip, unloadMovie, _totalframes, _currentframe;
function krash () {
super();
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_currentframe == _totalframes) {
removeMovieClip();
unloadMovie();
}
}
}
Symbol 786 MovieClip [__Packages.bonus_4] Frame 0
class bonus_4 extends MovieClip
{
var my_x, my_y, _x, _y, removeMovieClip, unloadMovie, _visible, hitTest;
function bonus_4 () {
super();
}
function onLoad() {
my_x = 200;
my_y = 200;
_x = (Math.random() * 380) + 20;
if (_x > 210) {
_x = _x + 130;
}
_y = 400;
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
_y = _y - bonus_y_speed;
if (hitTest(_root.r_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("lifelost.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("bonus_4_get", "bonus_4_get" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.castle_hp = _root.mframe.castle_hp - 1;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("ballon.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("bonus_4_get", "bonus_4_get" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.castle_hp = _root.mframe.castle_hp - 1;
removeMovieClip();
unloadMovie();
}
if (_y < -30) {
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
}
var bonus_y_speed = 1;
}
Symbol 787 MovieClip [__Packages.kar_r1] Frame 0
class kar_r1 extends MovieClip
{
var my_x, my_y, _x, _y, removeMovieClip, unloadMovie, _visible, hitTest;
function kar_r1 () {
super();
}
function onLoad() {
my_x = 200;
my_y = 200;
_x = (Math.random() * 275) + 400;
_y = 0;
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
_x = _x - kar_x_speed;
_y = _y + kar_y_speed;
if (hitTest(_root.r_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("birddie.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_kar", "destroy_kar" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 10;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("birddie.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_kar", "destroy_kar" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 10;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.r1_shot)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("birddie.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_kar", "destroy_kar" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.t_r1_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tr1_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
_root.mframe.the_score = _root.mframe.the_score + 5;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.r2_shot)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("birddie.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_kar", "destroy_kar" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.t_r2_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tr2_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
_root.mframe.the_score = _root.mframe.the_score + 5;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.r3_shot)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("birddie.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_kar", "destroy_kar" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.t_r3_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tr3_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
_root.mframe.the_score = _root.mframe.the_score + 5;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.tower_model)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("lifelost.wav");
_root.soundFX.start();
}
_root.mframe.castle_hp = _root.mframe.castle_hp - 1;
_root.mframe.energy = _root.mframe.energy - 15;
if (_root.mframe.energy < -10) {
_root.mframe.energy = -10;
}
var _local5 = _root.attachMovie("krash", "krash" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y;
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
}
var kar_x_speed = 0.5;
var kar_y_speed = 0.5;
}
Symbol 788 MovieClip [__Packages.kar_l1] Frame 0
class kar_l1 extends MovieClip
{
var my_x, my_y, _x, _y, removeMovieClip, unloadMovie, _visible, hitTest;
function kar_l1 () {
super();
}
function onLoad() {
my_x = 200;
my_y = 200;
_x = (Math.random() * 275) - 125;
_y = 0;
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
_x = _x + kar_x_speed;
_y = _y + kar_y_speed;
if (hitTest(_root.r_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("birddie.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_kar", "destroy_kar" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 10;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("birddie.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_kar", "destroy_kar" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 5;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l1_shot)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("birddie.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_kar", "destroy_kar" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.t_l1_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tl1_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
_root.mframe.the_score = _root.mframe.the_score + 5;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l2_shot)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("birddie.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_kar", "destroy_kar" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.t_l2_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tl2_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
_root.mframe.the_score = _root.mframe.the_score + 5;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l3_shot)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("birddie.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_kar", "destroy_kar" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.t_l3_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tl3_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
_root.mframe.the_score = _root.mframe.the_score + 5;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.tower_model)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("lifelost.wav");
_root.soundFX.start();
}
_root.mframe.castle_hp = _root.mframe.castle_hp - 1;
_root.mframe.energy = _root.mframe.energy - 15;
if (_root.mframe.energy < -10) {
_root.mframe.energy = -10;
}
var _local5 = _root.attachMovie("krash", "krash" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y;
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
}
var kar_x_speed = 0.5;
var kar_y_speed = 0.5;
}
Symbol 789 MovieClip [__Packages.roket_r1] Frame 0
class roket_r1 extends MovieClip
{
var my_x, my_y, _x, _y, removeMovieClip, unloadMovie, _visible, hitTest;
function roket_r1 () {
super();
}
function onLoad() {
my_x = 200;
my_y = 200;
_x = 570;
_y = (Math.random() * 300) + 50;
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
_x = _x - roket_x_speed;
if (hitTest(_root.r_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("roketexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_roket", "destroy_roket" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 5;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("roketexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_roket", "destroy_roket" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 5;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.r1_shot)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("roketexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_roket", "destroy_roket" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.t_r1_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tr1_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
_root.mframe.the_score = _root.mframe.the_score + 1;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.r2_shot)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("roketexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_roket", "destroy_roket" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.t_r2_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tr2_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
_root.mframe.the_score = _root.mframe.the_score + 1;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.r3_shot)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("roketexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_roket", "destroy_roket" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.t_r3_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tr3_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
_root.mframe.the_score = _root.mframe.the_score + 1;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.tower_model)) {
if (_root.mframe.energy > 20) {
_root.mframe.energy = _root.mframe.energy - 20;
} else {
_root.mframe.castle_hp = _root.mframe.castle_hp - 1;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("rokettotower.wav");
_root.soundFX.start();
}
var _local5 = _root.attachMovie("de_roketr", "de_roketr" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y;
removeMovieClip();
unloadMovie();
}
if (_y < 10) {
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
}
var roket_x_speed = 0.5;
var roket_y_speed = 0.5;
}
Symbol 790 MovieClip [__Packages.goroket_r] Frame 0
class goroket_r extends MovieClip
{
var _x, _y, gotoAndStop, removeMovieClip, unloadMovie, _visible, hitTest, r, c, gotoAndPlay, _totalframes, _currentframe;
function goroket_r () {
super();
}
function onLoad() {
_x = 570;
_y = (Math.random() * 300) + 50;
gotoAndStop(10);
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
_x = _x + roket_x_speed;
if (hitTest(_root.r_fire)) {
_root.mframe.bullet_time2 = false;
_root.r_fire._visible = false;
_root.r_fire._x = 100;
_root.r_fire._y = -2000;
_root.r_fire.gotoAndStop(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.per2_akk;
if (_root.the_pause.g_slot.cry == 2) {
c = c - 10;
}
if (_root.the_pause.g_slot.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.per2_dm;
if (_root.the_pause.g_slot.cry == 2) {
c = c + 2;
}
if (_root.the_pause.g_slot.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 2));
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("broketshot.wav");
_root.soundFX.start();
}
gotoAndPlay(11);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (_currentframe == _totalframes) {
if (hp > 0) {
gotoAndStop(hp);
}
}
if (hp <= 0) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("goroketdie.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("de_goroketr", "de_goroketr" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 50;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.r1_shot)) {
_root.r1_shot.gotoAndPlay(1);
_root.tower_r1.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_r1_akk;
if (_root.the_pause.tr1_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tr1_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_r1_dm;
if (_root.the_pause.tr1_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.mframe.t_r1_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tr1_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("broketshot.wav");
_root.soundFX.start();
}
gotoAndPlay(11);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (hitTest(_root.r2_shot)) {
_root.r2_shot.gotoAndPlay(1);
_root.tower_r2.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_r2_akk;
if (_root.the_pause.tr2_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tr2_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_r2_dm;
if (_root.the_pause.tr2_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.mframe.t_r2_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tr2_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("broketshot.wav");
_root.soundFX.start();
}
gotoAndPlay(11);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (hitTest(_root.r3_shot)) {
_root.r3_shot.gotoAndPlay(1);
_root.tower_r3.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_r3_akk;
if (_root.the_pause.tr3_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tr3_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_r3_dm;
if (_root.the_pause.tr3_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.mframe.t_r3_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tr3_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("broketshot.wav");
_root.soundFX.start();
}
gotoAndPlay(11);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (hitTest(_root.tower_model)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("rokettotower.wav");
_root.soundFX.start();
}
_root.mframe.castle_hp = _root.mframe.castle_hp - 7;
var _local6 = _root.attachMovie("krash", "krash" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local6._x = _x;
_local6._y = _y;
removeMovieClip();
unloadMovie();
}
if (_y < 10) {
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
}
var hp = 10;
var roket_x_speed = -0.5;
}
Symbol 791 MovieClip [__Packages.goroket_l] Frame 0
class goroket_l extends MovieClip
{
var _x, _y, gotoAndStop, removeMovieClip, unloadMovie, _visible, hitTest, r, c, gotoAndPlay, _totalframes, _currentframe;
function goroket_l () {
super();
}
function onLoad() {
_x = -20;
_y = (Math.random() * 300) + 50;
gotoAndStop(10);
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
_x = _x + roket_x_speed;
if (hitTest(_root.l_fire)) {
_root.mframe.bullet_time1 = false;
_root.l_fire._visible = false;
_root.l_fire._x = 100;
_root.l_fire._y = -2000;
_root.l_fire.gotoAndStop(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.per1_akk;
if (_root.the_pause.b_slot.cry == 2) {
c = c - 10;
}
if (_root.the_pause.b_slot.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.per1_dm;
if (_root.the_pause.b_slot.cry == 2) {
c = c + 2;
}
if (_root.the_pause.b_slot.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 2));
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("broketshot.wav");
_root.soundFX.start();
}
gotoAndPlay(11);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (_currentframe == _totalframes) {
if (hp > 0) {
gotoAndStop(hp);
}
}
if (hp <= 0) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("goroketdie.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("de_goroketl", "de_goroketl" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 50;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l1_shot)) {
_root.l1_shot.gotoAndPlay(1);
_root.tower_l1.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_l1_akk;
if (_root.the_pause.tl1_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tl1_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_l1_dm;
if (_root.the_pause.tl1_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.mframe.t_l1_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tl1_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("broketshot.wav");
_root.soundFX.start();
}
gotoAndPlay(11);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (hitTest(_root.l2_shot)) {
_root.l2_shot.gotoAndPlay(1);
_root.tower_l2.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_l2_akk;
if (_root.the_pause.tl2_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tl2_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_l2_dm;
if (_root.the_pause.tl2_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.mframe.t_l2_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tl2_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("broketshot.wav");
_root.soundFX.start();
}
gotoAndPlay(11);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (hitTest(_root.l3_shot)) {
_root.l3_shot.gotoAndPlay(1);
_root.tower_l3.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_l3_akk;
if (_root.the_pause.tl3_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tl3_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_l3_dm;
if (_root.the_pause.tl3_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.mframe.t_l3_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tl3_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("broketshot.wav");
_root.soundFX.start();
}
gotoAndPlay(11);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (hitTest(_root.tower_model)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("rokettotower.wav");
_root.soundFX.start();
}
_root.mframe.castle_hp = _root.mframe.castle_hp - 7;
var _local6 = _root.attachMovie("krash", "krash" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local6._x = _x;
_local6._y = _y;
removeMovieClip();
unloadMovie();
}
if (_y < 10) {
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
}
var hp = 10;
var roket_x_speed = 0.5;
}
Symbol 792 MovieClip [__Packages.ghost_r] Frame 0
class ghost_r extends MovieClip
{
var _x, _y, gotoAndStop, removeMovieClip, unloadMovie, _visible, hitTest, r, c, gotoAndPlay, _totalframes, _currentframe;
function ghost_r () {
super();
}
function onLoad() {
_x = 570;
_y = (Math.random() * 300) + 50;
gotoAndStop(4);
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
_x = _x + ghost_x_speed;
if (hitTest(_root.r_fire)) {
_root.mframe.bullet_time2 = false;
_root.r_fire._visible = false;
_root.r_fire._x = 100;
_root.r_fire._y = -2000;
_root.r_fire.gotoAndStop(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.per2_akk;
if (_root.the_pause.g_slot.cry == 2) {
c = c - 10;
}
if (_root.the_pause.g_slot.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.per2_dm;
if (_root.the_pause.g_slot.cry == 2) {
c = c + 2;
}
if (_root.the_pause.g_slot.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 2));
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("ghostshot.wav");
_root.soundFX.start();
}
gotoAndPlay(5);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (_currentframe == _totalframes) {
if (hp > 0) {
gotoAndStop(hp);
}
}
if (hp <= 0) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("ghostdie.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("de_ghostr", "de_ghostr" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 50;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.r1_shot)) {
_root.r1_shot.gotoAndPlay(1);
_root.tower_r1.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_r1_akk;
if (_root.the_pause.tr1_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tr1_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_r1_dm;
if (_root.the_pause.tr1_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.mframe.t_r1_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tr1_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("ghostshot.wav");
_root.soundFX.start();
}
gotoAndPlay(5);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (hitTest(_root.r2_shot)) {
_root.r2_shot.gotoAndPlay(1);
_root.tower_r2.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_r2_akk;
if (_root.the_pause.tr2_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tr2_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_r2_dm;
if (_root.the_pause.tr2_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.mframe.t_r2_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tr2_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("ghostshot.wav");
_root.soundFX.start();
}
gotoAndPlay(5);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (hitTest(_root.r3_shot)) {
_root.r3_shot.gotoAndPlay(1);
_root.tower_r3.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_r3_akk;
if (_root.the_pause.tr3_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tr3_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_r3_dm;
if (_root.the_pause.tr3_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.mframe.t_r3_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tr3_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("ghostshot.wav");
_root.soundFX.start();
}
gotoAndPlay(5);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (hitTest(_root.tower_model)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("lifelost.wav");
_root.soundFX.start();
}
_root.mframe.castle_hp = _root.mframe.castle_hp - 3;
var _local6 = _root.attachMovie("krash", "krash" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local6._x = _x;
_local6._y = _y;
removeMovieClip();
unloadMovie();
}
if (_y < 10) {
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
}
var hp = 4;
var ghost_x_speed = -1;
}
Symbol 793 MovieClip [__Packages.ghost_l] Frame 0
class ghost_l extends MovieClip
{
var _x, _y, gotoAndStop, removeMovieClip, unloadMovie, _visible, hitTest, r, c, gotoAndPlay, _totalframes, _currentframe;
function ghost_l () {
super();
}
function onLoad() {
_x = -20;
_y = (Math.random() * 300) + 50;
gotoAndStop(4);
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
_x = _x + ghost_x_speed;
if (hitTest(_root.l_fire)) {
_root.mframe.bullet_time1 = false;
_root.l_fire._visible = false;
_root.l_fire._x = 100;
_root.l_fire._y = -2000;
_root.l_fire.gotoAndStop(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.per1_akk;
if (_root.the_pause.b_slot.cry == 2) {
c = c - 10;
}
if (_root.the_pause.b_slot.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.per1_dm;
if (_root.the_pause.b_slot.cry == 2) {
c = c + 2;
}
if (_root.the_pause.b_slot.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 2));
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("ghostshot.wav");
_root.soundFX.start();
}
gotoAndPlay(5);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (_currentframe == _totalframes) {
if (hp > 0) {
gotoAndStop(hp);
}
}
if (hp <= 0) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("ghostdie.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("de_ghostl", "de_ghostl" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 50;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l1_shot)) {
_root.l1_shot.gotoAndPlay(1);
_root.tower_l1.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_l1_akk;
if (_root.the_pause.tl1_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tl1_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_l1_dm;
if (_root.the_pause.tl1_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.mframe.t_l1_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tl1_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("ghostshot.wav");
_root.soundFX.start();
}
gotoAndPlay(5);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (hitTest(_root.l2_shot)) {
_root.l2_shot.gotoAndPlay(1);
_root.tower_l2.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_l2_akk;
if (_root.the_pause.tl2_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tl2_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_l2_dm;
if (_root.the_pause.tl2_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.mframe.t_l2_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tl2_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("ghostshot.wav");
_root.soundFX.start();
}
gotoAndPlay(5);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (hitTest(_root.l3_shot)) {
_root.l3_shot.gotoAndPlay(1);
_root.tower_l3.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_l3_akk;
if (_root.the_pause.tl3_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tl3_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_l3_dm;
if (_root.the_pause.tl3_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.mframe.t_l3_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tl3_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("ghostshot.wav");
_root.soundFX.start();
}
gotoAndPlay(5);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (hitTest(_root.tower_model)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("lifelost.wav");
_root.soundFX.start();
}
_root.mframe.castle_hp = _root.mframe.castle_hp - 3;
var _local6 = _root.attachMovie("krash", "krash" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local6._x = _x;
_local6._y = _y;
removeMovieClip();
unloadMovie();
}
if (_y < 10) {
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
}
var hp = 4;
var ghost_x_speed = 1;
}
Symbol 794 MovieClip [__Packages.blueroket_r1] Frame 0
class blueroket_r1 extends MovieClip
{
var _x, _y, gotoAndStop, removeMovieClip, unloadMovie, _visible, hitTest, r, c, gotoAndPlay, _totalframes, _currentframe;
function blueroket_r1 () {
super();
}
function onLoad() {
_x = 570;
_y = (Math.random() * 300) + 50;
gotoAndStop(5);
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
_x = _x + roket_x_speed;
if (hitTest(_root.r_fire)) {
_root.mframe.bullet_time2 = false;
_root.r_fire._visible = false;
_root.r_fire._x = 100;
_root.r_fire._y = -2000;
_root.r_fire.gotoAndStop(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.per2_akk;
if (_root.the_pause.g_slot.cry == 2) {
c = c - 10;
}
if (_root.the_pause.g_slot.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.per2_dm;
if (_root.the_pause.g_slot.cry == 2) {
c = c + 2;
}
if (_root.the_pause.g_slot.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 2));
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("broketshot.wav");
_root.soundFX.start();
}
gotoAndPlay(6);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (_currentframe == _totalframes) {
if (hp > 0) {
gotoAndStop(hp);
}
}
if (hp <= 0) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("broketdie.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_roketb", "destroy_roketb" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 20;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.r1_shot)) {
_root.r1_shot.gotoAndPlay(1);
_root.tower_r1.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_r1_akk;
if (_root.the_pause.tr1_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tr1_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_r1_dm;
if (_root.the_pause.tr1_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.mframe.t_r1_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tr1_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("broketshot.wav");
_root.soundFX.start();
}
gotoAndPlay(6);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (hitTest(_root.r2_shot)) {
_root.r2_shot.gotoAndPlay(1);
_root.tower_r2.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_r2_akk;
if (_root.the_pause.tr2_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tr2_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_r2_dm;
if (_root.the_pause.tr2_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.mframe.t_r2_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tr2_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("broketshot.wav");
_root.soundFX.start();
}
gotoAndPlay(6);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (hitTest(_root.r3_shot)) {
_root.r3_shot.gotoAndPlay(1);
_root.tower_r3.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_r3_akk;
if (_root.the_pause.tr3_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tr3_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_r3_dm;
if (_root.the_pause.tr3_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.mframe.t_r3_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tr3_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("broketshot.wav");
_root.soundFX.start();
}
gotoAndPlay(6);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (hitTest(_root.tower_model)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("rokettotower.wav");
_root.soundFX.start();
}
if (_root.mframe.energy > 50) {
_root.mframe.energy = _root.mframe.energy - 50;
} else {
_root.mframe.castle_hp = _root.mframe.castle_hp - 4;
}
var _local6 = _root.attachMovie("de_roketbr", "de_roketbr" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local6._x = _x;
_local6._y = _y;
removeMovieClip();
unloadMovie();
}
if (_y < 10) {
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
}
var hp = 5;
var roket_x_speed = -0.5;
}
Symbol 795 MovieClip [__Packages.blueroket_l1] Frame 0
class blueroket_l1 extends MovieClip
{
var _x, _y, gotoAndStop, removeMovieClip, unloadMovie, _visible, hitTest, r, c, gotoAndPlay, _totalframes, _currentframe;
function blueroket_l1 () {
super();
}
function onLoad() {
_x = -20;
_y = (Math.random() * 300) + 50;
gotoAndStop(5);
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
_x = _x + roket_x_speed;
if (hitTest(_root.l_fire)) {
_root.mframe.bullet_time1 = false;
_root.l_fire._visible = false;
_root.l_fire._x = 100;
_root.l_fire._y = -2000;
_root.l_fire.gotoAndStop(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.per1_akk;
if (_root.the_pause.b_slot.cry == 2) {
c = c - 10;
}
if (_root.the_pause.b_slot.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.per1_dm;
if (_root.the_pause.b_slot.cry == 2) {
c = c + 2;
}
if (_root.the_pause.b_slot.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 2));
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("broketshot.wav");
_root.soundFX.start();
}
gotoAndPlay(6);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (_currentframe == _totalframes) {
if (hp > 0) {
gotoAndStop(hp);
}
}
if (hp <= 0) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("broketdie.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_roketb", "destroy_roketb" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 20;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l1_shot)) {
_root.l1_shot.gotoAndPlay(1);
_root.tower_l1.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_l1_akk;
if (_root.the_pause.tl1_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tl1_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_l1_dm;
if (_root.the_pause.tl1_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.mframe.t_l1_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tl1_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("broketshot.wav");
_root.soundFX.start();
}
gotoAndPlay(6);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (hitTest(_root.l2_shot)) {
_root.l2_shot.gotoAndPlay(1);
_root.tower_l2.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_l2_akk;
if (_root.the_pause.tl2_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tl2_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_l2_dm;
if (_root.the_pause.tl2_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.mframe.t_l2_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tl2_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("broketshot.wav");
_root.soundFX.start();
}
gotoAndPlay(6);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (hitTest(_root.l3_shot)) {
_root.l3_shot.gotoAndPlay(1);
_root.tower_l3.gotoAndPlay(1);
r = Math.round(Math.random() * 100);
c = _root.mframe.t_l3_akk;
if (_root.the_pause.tl3_s.cry == 2) {
c = c + 15;
}
if (_root.the_pause.tl3_s.cry == 4) {
c = c + 5;
}
if (r <= c) {
c = _root.mframe.t_l3_dm;
if (_root.the_pause.tl3_s.cry == 4) {
c = c + 1;
}
hp = hp - (c + Math.round(Math.random() * 1));
if (_root.mframe.t_l3_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tl3_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("broketshot.wav");
_root.soundFX.start();
}
gotoAndPlay(6);
} else {
var _local5 = _root.attachMovie("miss", "miss" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y + 5;
}
}
if (hitTest(_root.tower_model)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("rokettotower.wav");
_root.soundFX.start();
}
if (_root.mframe.energy > 50) {
_root.mframe.energy = _root.mframe.energy - 50;
} else {
_root.mframe.castle_hp = _root.mframe.castle_hp - 4;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("lifelost.wav");
_root.soundFX.start();
}
var _local6 = _root.attachMovie("de_roketbl", "de_roketbl" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local6._x = _x;
_local6._y = _y;
removeMovieClip();
unloadMovie();
}
if (_y < 10) {
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
}
var hp = 5;
var roket_x_speed = 0.5;
}
Symbol 796 MovieClip [__Packages.roket_l1] Frame 0
class roket_l1 extends MovieClip
{
var my_x, my_y, _x, _y, removeMovieClip, unloadMovie, _visible, hitTest;
function roket_l1 () {
super();
}
function onLoad() {
my_x = 200;
my_y = 200;
_x = -20;
_y = (Math.random() * 300) + 50;
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
_x = _x + roket_x_speed;
if (hitTest(_root.r_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("roketexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_roket", "destroy_roket" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 5;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("roketexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_roket", "destroy_roket" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 5;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l1_shot)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("roketexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_roket", "destroy_roket" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.t_l1_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tl1_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
_root.mframe.the_score = _root.mframe.the_score + 1;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l2_shot)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("roketexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_roket", "destroy_roket" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.t_l2_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tl2_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
_root.mframe.the_score = _root.mframe.the_score + 1;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l3_shot)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("roketexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_roket", "destroy_roket" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.t_l3_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tl3_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
_root.mframe.the_score = _root.mframe.the_score + 1;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.tower_model)) {
if (_root.mframe.energy > 20) {
_root.mframe.energy = _root.mframe.energy - 20;
} else {
_root.mframe.castle_hp = _root.mframe.castle_hp - 1;
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("rokettotower.wav");
_root.soundFX.start();
}
var _local5 = _root.attachMovie("de_roketl", "de_roketl" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y;
removeMovieClip();
unloadMovie();
}
if (_y < 10) {
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
}
var roket_x_speed = 0.5;
}
Symbol 797 MovieClip [__Packages.bullet_l1] Frame 0
class bullet_l1 extends MovieClip
{
var my_x, my_y, _x, _y, removeMovieClip, unloadMovie, _visible, hitTest;
function bullet_l1 () {
super();
}
function onLoad() {
my_x = 200;
my_y = 200;
_x = (Math.random() * 50) - 100;
_y = 400;
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
_x = _x + bullet_x_speed;
_y = _y - bullet_y_speed;
if (hitTest(_root.r_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("bulletexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_bullet", "destroy_bullet" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 5;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("bulletexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_bullet", "destroy_bullet" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 5;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l1_shot)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("bulletexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_bullet", "destroy_bullet" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.t_l1_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tl1_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
_root.mframe.the_score = _root.mframe.the_score + 2;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l2_shot)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("bulletexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_bullet", "destroy_bullet" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.t_l2_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tl2_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
_root.mframe.the_score = _root.mframe.the_score + 2;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l3_shot)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("bulletexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_bullet", "destroy_bullet" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.t_l3_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tl3_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
_root.mframe.the_score = _root.mframe.the_score + 2;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.tower_model)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("lifelost.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 10;
_root.mframe.castle_hp = _root.mframe.castle_hp - 2;
if (_root.mframe.energy < -5) {
_root.mframe.energy = -5;
}
var _local5 = _root.attachMovie("krash", "krash" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y;
removeMovieClip();
unloadMovie();
}
if (_y < 10) {
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
}
var bullet_x_speed = 0.3;
var bullet_y_speed = 0.3;
}
Symbol 798 MovieClip [__Packages.bullet_r1] Frame 0
class bullet_r1 extends MovieClip
{
var my_x, my_y, _x, _y, removeMovieClip, unloadMovie, _visible, hitTest;
function bullet_r1 () {
super();
}
function onLoad() {
my_x = 200;
my_y = 200;
_x = (Math.random() * 150) + 500;
_y = 400;
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
_x = _x - bullet_x_speed;
_y = _y - bullet_y_speed;
if (hitTest(_root.r_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("bulletexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_bullet", "destroy_bullet" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 5;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.l_fire)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("bulletexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_bullet", "destroy_bullet" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 5;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.r1_shot)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("bulletexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_bullet", "destroy_bullet" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.t_r1_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tr1_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
_root.mframe.the_score = _root.mframe.the_score + 2;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.r2_shot)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("bulletexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_bullet", "destroy_bullet" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.t_r2_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tr2_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
_root.mframe.the_score = _root.mframe.the_score + 2;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.r3_shot)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("bulletexpl.wav");
_root.soundFX.start();
}
var _local3 = _root.attachMovie("destroy_bullet", "destroy_bullet" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
if (_root.mframe.t_r3_mana == 1) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting", "manageting" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
if (_root.the_pause.tr3_s.cry == 3) {
_root.mframe.energy = _root.mframe.energy + 1;
var _local4 = _root.attachMovie("manageting2", "manageting2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
}
_root.mframe.the_score = _root.mframe.the_score + 2;
removeMovieClip();
unloadMovie();
}
if (hitTest(_root.tower_model)) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("lifelost.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 10;
_root.mframe.castle_hp = _root.mframe.castle_hp - 2;
if (_root.mframe.energy < -5) {
_root.mframe.energy = -5;
}
var _local5 = _root.attachMovie("krash", "krash" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local5._x = _x;
_local5._y = _y;
removeMovieClip();
unloadMovie();
}
if (_y < 10) {
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
}
var bullet_x_speed = 0.3;
var bullet_y_speed = 0.3;
}
Symbol 799 MovieClip [__Packages.frog_r] Frame 0
class frog_r extends MovieClip
{
var my_x, my_y, _x, _y, removeMovieClip, unloadMovie, _visible;
function frog_r () {
super();
}
function onLoad() {
my_x = 200;
my_y = 200;
_x = 570;
_y = 384;
}
function onEnterFrame() {
if (_root.mframe.the_game == 0) {
removeMovieClip();
unloadMovie();
}
if (_root.mframe.pause_time == false) {
if (_root.blind.started == 0) {
_visible = true;
} else {
_visible = false;
}
_x = _x - frog_x_speed;
if ((_x > 350) && (_x < 370)) {
if (_root.mframe.per2_h == 11) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("elec.wav");
_root.soundFX.start();
}
_root.pers_ra.gotoAndPlay(8);
var _local3 = _root.attachMovie("krash_frogr", "krash_frogr" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_root.mframe.the_score = _root.mframe.the_score + 5;
removeMovieClip();
unloadMovie();
}
}
if (_x < 280) {
_root.mframe.castle_hp = _root.mframe.castle_hp - 5;
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("lifelost.wav");
_root.soundFX.start();
}
var _local4 = _root.attachMovie("frog_kill", "frog_kill" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local4._x = _x;
_local4._y = _y;
removeMovieClip();
unloadMovie();
}
} else {
_visible = false;
}
}
var frog_x_speed = 0.5;
}
Symbol 800 MovieClip [__Packages.mochi.as2.MochiScores] Frame 0
class mochi.as2.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.as2.MochiServices.warnID(boardID, true);
mochi.as2.MochiScores.boardID = boardID;
mochi.as2.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
if ((options.clip == null) || (options.clip == undefined)) {
options.clip = mochi.as2.MochiServices.clip;
}
if ((options.clip != mochi.as2.MochiServices.__get__clip()) || (mochi.as2.MochiServices.__get__childClip()._target == undefined)) {
mochi.as2.MochiServices.disconnect();
trace("WARNING! This application is attempting to connect to MochiServices inside a showLeaderboard call!");
trace("make sure MochiServices.connect is called as early in the application runtime as possible.");
mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip);
}
delete options.clip;
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (options.score instanceof TextField) {
if (options.score.text != undefined) {
options.score = options.score.text;
}
} else if (options.score instanceof mochi.as2.MochiDigits) {
options.score = options.score.value;
}
var _local1 = Number(options.score);
if (isNaN(_local1)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'");
} else if ((_local1 == Number.NEGATIVE_INFINITY) || (_local1 == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(_local1) != _local1) {
trace(("WARNING: Submitted score '" + options.score) + "' will be truncated");
}
options.score = _local1;
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.as2.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
mochi.as2.MochiServices.__get__clip().play();
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
mochi.as2.MochiServices.warnID(options.boardID, true);
trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal");
mochi.as2.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.as2.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
score = Number(score);
if (isNaN(score)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is 'Not a Number'");
} else if ((score == Number.NEGATIVE_INFINITY) || (score == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(score) != score) {
trace(("WARNING: Submitted score '" + String(score)) + "' will be truncated");
}
score = Number(score);
}
mochi.as2.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 801 MovieClip [__Packages.mochi.as2.MochiDigits] Frame 0
class mochi.as2.MochiDigits
{
var Encoder, Fragment, Sibling;
function MochiDigits (digit, index) {
Encoder = 0;
setValue(digit, index);
}
function get value() {
return(Number(toString()));
}
function set value(v) {
setValue(v);
//return(value);
}
function addValue(v) {
value = value + v;
}
function setValue(digit, index) {
var _local3 = digit.toString();
if ((index == undefined) || (isNaN(index))) {
index = 0;
}
Fragment = _local3.charCodeAt(index++) ^ Encoder;
if (index < _local3.length) {
Sibling = new mochi.as2.MochiDigits(digit, index);
} else {
Sibling = null;
}
reencode();
}
function reencode() {
var _local2 = int(2147483647 * Math.random());
Fragment = Fragment ^ (_local2 ^ Encoder);
Encoder = _local2;
}
function toString() {
var _local2 = String.fromCharCode(Fragment ^ Encoder);
return(((Sibling != null) ? (_local2.concat(Sibling.toString())) : (_local2)));
}
}
Instance of Symbol 573 MovieClip "podsvet" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 585 MovieClip "sl1" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
var cry = 1;
stop();
this.hitArea = hit1;
}
on (rollOver) {
_root.the_pause.line_1.text = "Empty Slot 1";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
on (release) {
if (_root.the_pause.c0._visible == true) {
_root.the_pause.c0._visible = false;
if (cry > 1) {
switch (_root.the_pause.c0.sloto) {
case 2 :
_root.the_pause.sl2.cry = cry;
_root.the_pause.sl2.gotoAndStop(_root.the_pause.sl2.cry);
break;
case 3 :
_root.the_pause.sl3.cry = cry;
_root.the_pause.sl3.gotoAndStop(_root.the_pause.sl3.cry);
break;
case 4 :
_root.the_pause.sl4.cry = cry;
_root.the_pause.sl4.gotoAndStop(_root.the_pause.sl4.cry);
break;
case 5 :
_root.the_pause.sl5.cry = cry;
_root.the_pause.sl5.gotoAndStop(_root.the_pause.sl5.cry);
break;
case 6 :
_root.the_pause.sl6.cry = cry;
_root.the_pause.sl6.gotoAndStop(_root.the_pause.sl6.cry);
break;
case 7 :
_root.the_pause.b_slot.cry = cry;
_root.the_pause.b_slot.gotoAndStop(_root.the_pause.b_slot.cry);
break;
case 8 :
_root.the_pause.g_slot.cry = cry;
_root.the_pause.g_slot.gotoAndStop(_root.the_pause.g_slot.cry);
break;
case 9 :
_root.the_pause.tl3_s.cry = cry;
_root.the_pause.tl3_s.gotoAndStop(_root.the_pause.tl3_s.cry);
break;
case 10 :
_root.the_pause.tl2_s.cry = cry;
_root.the_pause.tl2_s.gotoAndStop(_root.the_pause.tl2_s.cry);
break;
case 11 :
_root.the_pause.tl1_s.cry = cry;
_root.the_pause.tl1_s.gotoAndStop(_root.the_pause.tl1_s.cry);
break;
case 12 :
_root.the_pause.tr3_s.cry = cry;
_root.the_pause.tr3_s.gotoAndStop(_root.the_pause.tr3_s.cry);
break;
case 13 :
_root.the_pause.tr2_s.cry = cry;
_root.the_pause.tr2_s.gotoAndStop(_root.the_pause.tr2_s.cry);
break;
case 14 :
_root.the_pause.tr1_s.cry = cry;
_root.the_pause.tr1_s.gotoAndStop(_root.the_pause.tr1_s.cry);
}
}
cry = _root.the_pause.c0.crys;
this.gotoAndStop(cry);
_root.the_pause.c0.crys = 0;
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("cryinslot.wav");
_root.soundFX.start();
}
} else if (cry > 1) {
_root.the_pause.c0._x = _x;
_root.the_pause.c0._y = _y;
_root.the_pause.c0._visible = true;
_root.the_pause.c0.crys = cry;
_root.the_pause.c0.sloto = 1;
this.gotoAndStop(1);
_root.the_pause.c0.gotoAndStop(cry);
cry = 1;
}
}
onClipEvent (enterFrame) {
if (_root.the_pause.line_1.text == "Empty Slot 1") {
switch (cry) {
case 2 :
_root.the_pause.line_1.text = "Prizma";
_root.the_pause.line_2.text = "wizard get +2 damadge and -10 accuracy";
_root.the_pause.line_3.text = "or tower get +15 accuracy";
break;
case 3 :
_root.the_pause.line_1.text = "Enigma";
_root.the_pause.line_2.text = "wizard no need power to shot, or";
_root.the_pause.line_3.text = "tower get 1 power for hit";
break;
case 4 :
_root.the_pause.line_1.text = "Bloodstone";
_root.the_pause.line_2.text = "+1 damadge and +5 accuracy";
_root.the_pause.line_3.text = "to chosen wizard or tower";
}
}
}
Instance of Symbol 585 MovieClip "sl2" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
var cry = 1;
stop();
this.hitArea = hit1;
}
on (rollOver) {
_root.the_pause.line_1.text = "Empty Slot 2";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
on (release) {
if (_root.the_pause.c0._visible == true) {
_root.the_pause.c0._visible = false;
if (cry > 1) {
switch (_root.the_pause.c0.sloto) {
case 1 :
_root.the_pause.sl1.cry = cry;
_root.the_pause.sl1.gotoAndStop(_root.the_pause.sl1.cry);
break;
case 3 :
_root.the_pause.sl3.cry = cry;
_root.the_pause.sl3.gotoAndStop(_root.the_pause.sl3.cry);
break;
case 4 :
_root.the_pause.sl4.cry = cry;
_root.the_pause.sl4.gotoAndStop(_root.the_pause.sl4.cry);
break;
case 5 :
_root.the_pause.sl5.cry = cry;
_root.the_pause.sl5.gotoAndStop(_root.the_pause.sl5.cry);
break;
case 6 :
_root.the_pause.sl6.cry = cry;
_root.the_pause.sl6.gotoAndStop(_root.the_pause.sl6.cry);
break;
case 7 :
_root.the_pause.b_slot.cry = cry;
_root.the_pause.b_slot.gotoAndStop(_root.the_pause.b_slot.cry);
break;
case 8 :
_root.the_pause.g_slot.cry = cry;
_root.the_pause.g_slot.gotoAndStop(_root.the_pause.g_slot.cry);
break;
case 9 :
_root.the_pause.tl3_s.cry = cry;
_root.the_pause.tl3_s.gotoAndStop(_root.the_pause.tl3_s.cry);
break;
case 10 :
_root.the_pause.tl2_s.cry = cry;
_root.the_pause.tl2_s.gotoAndStop(_root.the_pause.tl2_s.cry);
break;
case 11 :
_root.the_pause.tl1_s.cry = cry;
_root.the_pause.tl1_s.gotoAndStop(_root.the_pause.tl1_s.cry);
break;
case 12 :
_root.the_pause.tr3_s.cry = cry;
_root.the_pause.tr3_s.gotoAndStop(_root.the_pause.tr3_s.cry);
break;
case 13 :
_root.the_pause.tr2_s.cry = cry;
_root.the_pause.tr2_s.gotoAndStop(_root.the_pause.tr2_s.cry);
break;
case 14 :
_root.the_pause.tr1_s.cry = cry;
_root.the_pause.tr1_s.gotoAndStop(_root.the_pause.tr1_s.cry);
}
}
cry = _root.the_pause.c0.crys;
this.gotoAndStop(cry);
_root.the_pause.c0.crys = 0;
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("cryinslot.wav");
_root.soundFX.start();
}
} else if (cry > 1) {
_root.the_pause.c0._x = _x;
_root.the_pause.c0._y = _y;
_root.the_pause.c0._visible = true;
_root.the_pause.c0.crys = cry;
_root.the_pause.c0.sloto = 2;
this.gotoAndStop(1);
_root.the_pause.c0.gotoAndStop(cry);
cry = 1;
}
}
onClipEvent (enterFrame) {
if (_root.the_pause.line_1.text == "Empty Slot 2") {
switch (cry) {
case 2 :
_root.the_pause.line_1.text = "Prizma";
_root.the_pause.line_2.text = "wizard get +2 damadge and -10 accuracy";
_root.the_pause.line_3.text = "or tower get +15 accuracy";
break;
case 3 :
_root.the_pause.line_1.text = "Enigma";
_root.the_pause.line_2.text = "wizard no need power to shot, or";
_root.the_pause.line_3.text = "tower get 1 power for hit";
break;
case 4 :
_root.the_pause.line_1.text = "Bloodstone";
_root.the_pause.line_2.text = "+1 damadge and +5 accuracy";
_root.the_pause.line_3.text = "to chosen wizard or tower";
}
}
}
Instance of Symbol 585 MovieClip "sl3" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
var cry = 1;
stop();
this.hitArea = hit1;
}
on (rollOver) {
_root.the_pause.line_1.text = "Empty Slot 3";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
on (release) {
if (_root.the_pause.c0._visible == true) {
_root.the_pause.c0._visible = false;
if (cry > 1) {
switch (_root.the_pause.c0.sloto) {
case 2 :
_root.the_pause.sl2.cry = cry;
_root.the_pause.sl2.gotoAndStop(_root.the_pause.sl2.cry);
break;
case 1 :
_root.the_pause.sl1.cry = cry;
_root.the_pause.sl1.gotoAndStop(_root.the_pause.sl1.cry);
break;
case 4 :
_root.the_pause.sl4.cry = cry;
_root.the_pause.sl4.gotoAndStop(_root.the_pause.sl4.cry);
break;
case 5 :
_root.the_pause.sl5.cry = cry;
_root.the_pause.sl5.gotoAndStop(_root.the_pause.sl5.cry);
break;
case 6 :
_root.the_pause.sl6.cry = cry;
_root.the_pause.sl6.gotoAndStop(_root.the_pause.sl6.cry);
break;
case 7 :
_root.the_pause.b_slot.cry = cry;
_root.the_pause.b_slot.gotoAndStop(_root.the_pause.b_slot.cry);
break;
case 8 :
_root.the_pause.g_slot.cry = cry;
_root.the_pause.g_slot.gotoAndStop(_root.the_pause.g_slot.cry);
break;
case 9 :
_root.the_pause.tl3_s.cry = cry;
_root.the_pause.tl3_s.gotoAndStop(_root.the_pause.tl3_s.cry);
break;
case 10 :
_root.the_pause.tl2_s.cry = cry;
_root.the_pause.tl2_s.gotoAndStop(_root.the_pause.tl2_s.cry);
break;
case 11 :
_root.the_pause.tl1_s.cry = cry;
_root.the_pause.tl1_s.gotoAndStop(_root.the_pause.tl1_s.cry);
break;
case 12 :
_root.the_pause.tr3_s.cry = cry;
_root.the_pause.tr3_s.gotoAndStop(_root.the_pause.tr3_s.cry);
break;
case 13 :
_root.the_pause.tr2_s.cry = cry;
_root.the_pause.tr2_s.gotoAndStop(_root.the_pause.tr2_s.cry);
break;
case 14 :
_root.the_pause.tr1_s.cry = cry;
_root.the_pause.tr1_s.gotoAndStop(_root.the_pause.tr1_s.cry);
}
}
cry = _root.the_pause.c0.crys;
this.gotoAndStop(cry);
_root.the_pause.c0.crys = 0;
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("cryinslot.wav");
_root.soundFX.start();
}
} else if (cry > 1) {
_root.the_pause.c0._x = _x;
_root.the_pause.c0._y = _y;
_root.the_pause.c0._visible = true;
_root.the_pause.c0.crys = cry;
_root.the_pause.c0.sloto = 3;
this.gotoAndStop(1);
_root.the_pause.c0.gotoAndStop(cry);
cry = 1;
}
}
onClipEvent (enterFrame) {
if (_root.the_pause.line_1.text == "Empty Slot 3") {
switch (cry) {
case 2 :
_root.the_pause.line_1.text = "Prizma";
_root.the_pause.line_2.text = "wizard get +2 damadge and -10 accuracy";
_root.the_pause.line_3.text = "or tower get +15 accuracy";
break;
case 3 :
_root.the_pause.line_1.text = "Enigma";
_root.the_pause.line_2.text = "wizard no need power to shot, or";
_root.the_pause.line_3.text = "tower get 1 power for hit";
break;
case 4 :
_root.the_pause.line_1.text = "Bloodstone";
_root.the_pause.line_2.text = "+1 damadge and +5 accuracy";
_root.the_pause.line_3.text = "to chosen wizard or tower";
}
}
}
Instance of Symbol 585 MovieClip "sl4" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
var cry = 1;
stop();
this.hitArea = hit1;
}
on (rollOver) {
_root.the_pause.line_1.text = "Empty Slot 4";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
on (release) {
if (_root.the_pause.c0._visible == true) {
_root.the_pause.c0._visible = false;
if (cry > 1) {
switch (_root.the_pause.c0.sloto) {
case 2 :
_root.the_pause.sl2.cry = cry;
_root.the_pause.sl2.gotoAndStop(_root.the_pause.sl2.cry);
break;
case 3 :
_root.the_pause.sl3.cry = cry;
_root.the_pause.sl3.gotoAndStop(_root.the_pause.sl3.cry);
break;
case 1 :
_root.the_pause.sl1.cry = cry;
_root.the_pause.sl1.gotoAndStop(_root.the_pause.sl1.cry);
break;
case 5 :
_root.the_pause.sl5.cry = cry;
_root.the_pause.sl5.gotoAndStop(_root.the_pause.sl5.cry);
break;
case 6 :
_root.the_pause.sl6.cry = cry;
_root.the_pause.sl6.gotoAndStop(_root.the_pause.sl6.cry);
break;
case 7 :
_root.the_pause.b_slot.cry = cry;
_root.the_pause.b_slot.gotoAndStop(_root.the_pause.b_slot.cry);
break;
case 8 :
_root.the_pause.g_slot.cry = cry;
_root.the_pause.g_slot.gotoAndStop(_root.the_pause.g_slot.cry);
break;
case 9 :
_root.the_pause.tl3_s.cry = cry;
_root.the_pause.tl3_s.gotoAndStop(_root.the_pause.tl3_s.cry);
break;
case 10 :
_root.the_pause.tl2_s.cry = cry;
_root.the_pause.tl2_s.gotoAndStop(_root.the_pause.tl2_s.cry);
break;
case 11 :
_root.the_pause.tl1_s.cry = cry;
_root.the_pause.tl1_s.gotoAndStop(_root.the_pause.tl1_s.cry);
break;
case 12 :
_root.the_pause.tr3_s.cry = cry;
_root.the_pause.tr3_s.gotoAndStop(_root.the_pause.tr3_s.cry);
break;
case 13 :
_root.the_pause.tr2_s.cry = cry;
_root.the_pause.tr2_s.gotoAndStop(_root.the_pause.tr2_s.cry);
break;
case 14 :
_root.the_pause.tr1_s.cry = cry;
_root.the_pause.tr1_s.gotoAndStop(_root.the_pause.tr1_s.cry);
}
}
cry = _root.the_pause.c0.crys;
this.gotoAndStop(cry);
_root.the_pause.c0.crys = 0;
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("cryinslot.wav");
_root.soundFX.start();
}
} else if (cry > 1) {
_root.the_pause.c0._x = _x;
_root.the_pause.c0._y = _y;
_root.the_pause.c0._visible = true;
_root.the_pause.c0.crys = cry;
_root.the_pause.c0.sloto = 4;
this.gotoAndStop(1);
_root.the_pause.c0.gotoAndStop(cry);
cry = 1;
}
}
onClipEvent (enterFrame) {
if (_root.the_pause.line_1.text == "Empty Slot 4") {
switch (cry) {
case 2 :
_root.the_pause.line_1.text = "Prizma";
_root.the_pause.line_2.text = "wizard get +2 damadge and -10 accuracy";
_root.the_pause.line_3.text = "or tower get +15 accuracy";
break;
case 3 :
_root.the_pause.line_1.text = "Enigma";
_root.the_pause.line_2.text = "wizard no need power to shot, or";
_root.the_pause.line_3.text = "tower get 1 power for hit";
break;
case 4 :
_root.the_pause.line_1.text = "Bloodstone";
_root.the_pause.line_2.text = "+1 damadge and +5 accuracy";
_root.the_pause.line_3.text = "to chosen wizard or tower";
}
}
}
Instance of Symbol 585 MovieClip "sl5" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
var cry = 1;
stop();
this.hitArea = hit1;
}
on (rollOver) {
_root.the_pause.line_1.text = "Empty Slot 5";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
on (release) {
if (_root.the_pause.c0._visible == true) {
_root.the_pause.c0._visible = false;
if (cry > 1) {
switch (_root.the_pause.c0.sloto) {
case 2 :
_root.the_pause.sl2.cry = cry;
_root.the_pause.sl2.gotoAndStop(_root.the_pause.sl2.cry);
break;
case 3 :
_root.the_pause.sl3.cry = cry;
_root.the_pause.sl3.gotoAndStop(_root.the_pause.sl3.cry);
break;
case 4 :
_root.the_pause.sl4.cry = cry;
_root.the_pause.sl4.gotoAndStop(_root.the_pause.sl4.cry);
break;
case 1 :
_root.the_pause.sl1.cry = cry;
_root.the_pause.sl1.gotoAndStop(_root.the_pause.sl1.cry);
break;
case 6 :
_root.the_pause.sl6.cry = cry;
_root.the_pause.sl6.gotoAndStop(_root.the_pause.sl6.cry);
break;
case 7 :
_root.the_pause.b_slot.cry = cry;
_root.the_pause.b_slot.gotoAndStop(_root.the_pause.b_slot.cry);
break;
case 8 :
_root.the_pause.g_slot.cry = cry;
_root.the_pause.g_slot.gotoAndStop(_root.the_pause.g_slot.cry);
break;
case 9 :
_root.the_pause.tl3_s.cry = cry;
_root.the_pause.tl3_s.gotoAndStop(_root.the_pause.tl3_s.cry);
break;
case 10 :
_root.the_pause.tl2_s.cry = cry;
_root.the_pause.tl2_s.gotoAndStop(_root.the_pause.tl2_s.cry);
break;
case 11 :
_root.the_pause.tl1_s.cry = cry;
_root.the_pause.tl1_s.gotoAndStop(_root.the_pause.tl1_s.cry);
break;
case 12 :
_root.the_pause.tr3_s.cry = cry;
_root.the_pause.tr3_s.gotoAndStop(_root.the_pause.tr3_s.cry);
break;
case 13 :
_root.the_pause.tr2_s.cry = cry;
_root.the_pause.tr2_s.gotoAndStop(_root.the_pause.tr2_s.cry);
break;
case 14 :
_root.the_pause.tr1_s.cry = cry;
_root.the_pause.tr1_s.gotoAndStop(_root.the_pause.tr1_s.cry);
}
}
cry = _root.the_pause.c0.crys;
this.gotoAndStop(cry);
_root.the_pause.c0.crys = 0;
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("cryinslot.wav");
_root.soundFX.start();
}
} else if (cry > 1) {
_root.the_pause.c0._x = _x;
_root.the_pause.c0._y = _y;
_root.the_pause.c0._visible = true;
_root.the_pause.c0.crys = cry;
_root.the_pause.c0.sloto = 5;
this.gotoAndStop(1);
_root.the_pause.c0.gotoAndStop(cry);
cry = 1;
}
}
onClipEvent (enterFrame) {
if (_root.the_pause.line_1.text == "Empty Slot 5") {
switch (cry) {
case 2 :
_root.the_pause.line_1.text = "Prizma";
_root.the_pause.line_2.text = "wizard get +2 damadge and -10 accuracy";
_root.the_pause.line_3.text = "or tower get +15 accuracy";
break;
case 3 :
_root.the_pause.line_1.text = "Enigma";
_root.the_pause.line_2.text = "wizard no need power to shot, or";
_root.the_pause.line_3.text = "tower get 1 power for hit";
break;
case 4 :
_root.the_pause.line_1.text = "Bloodstone";
_root.the_pause.line_2.text = "+1 damadge and +5 accuracy";
_root.the_pause.line_3.text = "to chosen wizard or tower";
}
}
}
Instance of Symbol 585 MovieClip "sl6" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
var cry = 1;
stop();
this.hitArea = hit1;
}
on (rollOver) {
_root.the_pause.line_1.text = "Empty Slot 6";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
on (release) {
if (_root.the_pause.c0._visible == true) {
_root.the_pause.c0._visible = false;
if (cry > 1) {
switch (_root.the_pause.c0.sloto) {
case 2 :
_root.the_pause.sl2.cry = cry;
_root.the_pause.sl2.gotoAndStop(_root.the_pause.sl2.cry);
break;
case 3 :
_root.the_pause.sl3.cry = cry;
_root.the_pause.sl3.gotoAndStop(_root.the_pause.sl3.cry);
break;
case 4 :
_root.the_pause.sl4.cry = cry;
_root.the_pause.sl4.gotoAndStop(_root.the_pause.sl4.cry);
break;
case 5 :
_root.the_pause.sl5.cry = cry;
_root.the_pause.sl5.gotoAndStop(_root.the_pause.sl5.cry);
break;
case 1 :
_root.the_pause.sl1.cry = cry;
_root.the_pause.sl1.gotoAndStop(_root.the_pause.sl1.cry);
break;
case 7 :
_root.the_pause.b_slot.cry = cry;
_root.the_pause.b_slot.gotoAndStop(_root.the_pause.b_slot.cry);
break;
case 8 :
_root.the_pause.g_slot.cry = cry;
_root.the_pause.g_slot.gotoAndStop(_root.the_pause.g_slot.cry);
break;
case 9 :
_root.the_pause.tl3_s.cry = cry;
_root.the_pause.tl3_s.gotoAndStop(_root.the_pause.tl3_s.cry);
break;
case 10 :
_root.the_pause.tl2_s.cry = cry;
_root.the_pause.tl2_s.gotoAndStop(_root.the_pause.tl2_s.cry);
break;
case 11 :
_root.the_pause.tl1_s.cry = cry;
_root.the_pause.tl1_s.gotoAndStop(_root.the_pause.tl1_s.cry);
break;
case 12 :
_root.the_pause.tr3_s.cry = cry;
_root.the_pause.tr3_s.gotoAndStop(_root.the_pause.tr3_s.cry);
break;
case 13 :
_root.the_pause.tr2_s.cry = cry;
_root.the_pause.tr2_s.gotoAndStop(_root.the_pause.tr2_s.cry);
break;
case 14 :
_root.the_pause.tr1_s.cry = cry;
_root.the_pause.tr1_s.gotoAndStop(_root.the_pause.tr1_s.cry);
}
}
cry = _root.the_pause.c0.crys;
this.gotoAndStop(cry);
_root.the_pause.c0.crys = 0;
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("cryinslot.wav");
_root.soundFX.start();
}
} else if (cry > 1) {
_root.the_pause.c0._x = _x;
_root.the_pause.c0._y = _y;
_root.the_pause.c0._visible = true;
_root.the_pause.c0.crys = cry;
_root.the_pause.c0.sloto = 6;
this.gotoAndStop(1);
_root.the_pause.c0.gotoAndStop(cry);
cry = 1;
}
}
onClipEvent (enterFrame) {
if (_root.the_pause.line_1.text == "Empty Slot 6") {
switch (cry) {
case 2 :
_root.the_pause.line_1.text = "Prizma";
_root.the_pause.line_2.text = "wizard get +2 damadge and -10 accuracy";
_root.the_pause.line_3.text = "or tower get +15 accuracy";
break;
case 3 :
_root.the_pause.line_1.text = "Enigma";
_root.the_pause.line_2.text = "wizard no need power to shot, or";
_root.the_pause.line_3.text = "tower get 1 power for hit";
break;
case 4 :
_root.the_pause.line_1.text = "Bloodstone";
_root.the_pause.line_2.text = "+1 damadge and +5 accuracy";
_root.the_pause.line_3.text = "to chosen wizard or tower";
}
}
}
Instance of Symbol 588 MovieClip "g_slot" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
var cry = 1;
var plusik;
var plusik2;
stop();
}
on (rollOver) {
_root.the_pause.line_1.text = "Green Wizard";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.infoline1.text = "";
_root.the_pause.infoline2.text = "";
_root.the_pause.infoline3.text = "";
}
on (release) {
if (_root.the_pause.c0._visible == true) {
_root.the_pause.c0._visible = false;
if (cry > 1) {
switch (_root.the_pause.c0.sloto) {
case 1 :
_root.the_pause.sl1.cry = cry;
_root.the_pause.sl1.gotoAndStop(_root.the_pause.sl1.cry);
break;
case 2 :
_root.the_pause.sl2.cry = cry;
_root.the_pause.sl2.gotoAndStop(_root.the_pause.sl2.cry);
break;
case 3 :
_root.the_pause.sl3.cry = cry;
_root.the_pause.sl3.gotoAndStop(_root.the_pause.sl3.cry);
break;
case 4 :
_root.the_pause.sl4.cry = cry;
_root.the_pause.sl4.gotoAndStop(_root.the_pause.sl4.cry);
break;
case 5 :
_root.the_pause.sl5.cry = cry;
_root.the_pause.sl5.gotoAndStop(_root.the_pause.sl5.cry);
break;
case 6 :
_root.the_pause.sl6.cry = cry;
_root.the_pause.sl6.gotoAndStop(_root.the_pause.sl6.cry);
break;
case 7 :
_root.the_pause.b_slot.cry = cry;
_root.the_pause.b_slot.gotoAndStop(_root.the_pause.b_slot.cry);
break;
case 9 :
_root.the_pause.tl3_s.cry = cry;
_root.the_pause.tl3_s.gotoAndStop(_root.the_pause.tl3_s.cry);
break;
case 10 :
_root.the_pause.tl2_s.cry = cry;
_root.the_pause.tl2_s.gotoAndStop(_root.the_pause.tl2_s.cry);
break;
case 11 :
_root.the_pause.tl1_s.cry = cry;
_root.the_pause.tl1_s.gotoAndStop(_root.the_pause.tl1_s.cry);
break;
case 12 :
_root.the_pause.tr3_s.cry = cry;
_root.the_pause.tr3_s.gotoAndStop(_root.the_pause.tr3_s.cry);
break;
case 13 :
_root.the_pause.tr2_s.cry = cry;
_root.the_pause.tr2_s.gotoAndStop(_root.the_pause.tr2_s.cry);
break;
case 14 :
_root.the_pause.tr1_s.cry = cry;
_root.the_pause.tr1_s.gotoAndStop(_root.the_pause.tr1_s.cry);
}
}
cry = _root.the_pause.c0.crys;
this.gotoAndStop(cry);
_root.the_pause.c0.crys = 0;
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("cryinslot.wav");
_root.soundFX.start();
}
} else if (cry > 1) {
_root.the_pause.c0._x = _x;
_root.the_pause.c0._y = _y;
_root.the_pause.c0._visible = true;
_root.the_pause.c0.crys = cry;
_root.the_pause.c0.sloto = 8;
this.gotoAndStop(1);
_root.the_pause.c0.gotoAndStop(cry);
cry = 1;
}
}
onClipEvent (enterFrame) {
if (_root.the_pause.line_1.text == "Green Wizard") {
switch (cry) {
case 1 :
_root.the_pause.line_2.text = "You may insert crystal in slot";
plusik = _root.mframe.per2_dm + 2;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.per2_dm) + " - ") + plusik;
_root.the_pause.infoline3.text = ("accuracy: " + _root.mframe.per2_akk) + "%";
break;
case 2 :
_root.the_pause.line_2.text = "+2 damadge, -10 accuracy";
_root.the_pause.line_3.text = "(in tower slot: get +15 accuracy)";
plusik = _root.mframe.per2_dm + 2;
plusik2 = plusik + 2;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + plusik) + " - ") + plusik2;
plusik = _root.mframe.per2_akk - 10;
_root.the_pause.infoline3.text = ("accuracy: " + plusik) + "%";
break;
case 3 :
_root.the_pause.line_2.text = "this wizard no need power to shot";
_root.the_pause.line_3.text = "(in tower slot: get 1 power for hit)";
plusik = _root.mframe.per2_dm + 2;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.per2_dm) + " - ") + plusik;
_root.the_pause.infoline3.text = ("accuracy: " + _root.mframe.per2_akk) + "%";
break;
case 4 :
_root.the_pause.line_2.text = "+1 damadge, +5 accuracy";
_root.the_pause.line_3.text = "(in tower slot: some effect)";
plusik = _root.mframe.per2_dm + 1;
plusik2 = plusik + 2;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + plusik) + " - ") + plusik2;
plusik = _root.mframe.per2_akk + 5;
_root.the_pause.infoline3.text = ("accuracy: " + plusik) + "%";
}
}
}
Instance of Symbol 591 MovieClip "b_slot" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
var cry = 1;
var plusik;
var plusik2;
stop();
}
on (rollOver) {
_root.the_pause.line_1.text = "Blue Wizard";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.infoline1.text = "";
_root.the_pause.infoline2.text = "";
_root.the_pause.infoline3.text = "";
}
on (release) {
if (_root.the_pause.c0._visible == true) {
_root.the_pause.c0._visible = false;
if (cry > 1) {
switch (_root.the_pause.c0.sloto) {
case 1 :
_root.the_pause.sl1.cry = cry;
_root.the_pause.sl1.gotoAndStop(_root.the_pause.sl1.cry);
break;
case 2 :
_root.the_pause.sl2.cry = cry;
_root.the_pause.sl2.gotoAndStop(_root.the_pause.sl2.cry);
break;
case 3 :
_root.the_pause.sl3.cry = cry;
_root.the_pause.sl3.gotoAndStop(_root.the_pause.sl3.cry);
break;
case 4 :
_root.the_pause.sl4.cry = cry;
_root.the_pause.sl4.gotoAndStop(_root.the_pause.sl4.cry);
break;
case 5 :
_root.the_pause.sl5.cry = cry;
_root.the_pause.sl5.gotoAndStop(_root.the_pause.sl5.cry);
break;
case 6 :
_root.the_pause.sl6.cry = cry;
_root.the_pause.sl6.gotoAndStop(_root.the_pause.sl6.cry);
break;
case 8 :
_root.the_pause.g_slot.cry = cry;
_root.the_pause.g_slot.gotoAndStop(_root.the_pause.g_slot.cry);
break;
case 9 :
_root.the_pause.tl3_s.cry = cry;
_root.the_pause.tl3_s.gotoAndStop(_root.the_pause.tl3_s.cry);
break;
case 10 :
_root.the_pause.tl2_s.cry = cry;
_root.the_pause.tl2_s.gotoAndStop(_root.the_pause.tl2_s.cry);
break;
case 11 :
_root.the_pause.tl1_s.cry = cry;
_root.the_pause.tl1_s.gotoAndStop(_root.the_pause.tl1_s.cry);
break;
case 12 :
_root.the_pause.tr3_s.cry = cry;
_root.the_pause.tr3_s.gotoAndStop(_root.the_pause.tr3_s.cry);
break;
case 13 :
_root.the_pause.tr2_s.cry = cry;
_root.the_pause.tr2_s.gotoAndStop(_root.the_pause.tr2_s.cry);
break;
case 14 :
_root.the_pause.tr1_s.cry = cry;
_root.the_pause.tr1_s.gotoAndStop(_root.the_pause.tr1_s.cry);
}
}
cry = _root.the_pause.c0.crys;
this.gotoAndStop(cry);
_root.the_pause.c0.crys = 0;
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("cryinslot.wav");
_root.soundFX.start();
}
} else if (cry > 1) {
_root.the_pause.c0._x = _x;
_root.the_pause.c0._y = _y;
_root.the_pause.c0._visible = true;
_root.the_pause.c0.crys = cry;
_root.the_pause.c0.sloto = 7;
this.gotoAndStop(1);
_root.the_pause.c0.gotoAndStop(cry);
cry = 1;
}
}
onClipEvent (enterFrame) {
if (_root.the_pause.line_1.text == "Blue Wizard") {
switch (cry) {
case 1 :
_root.the_pause.line_2.text = "You may insert crystal in slot";
plusik = _root.mframe.per1_dm + 2;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.per1_dm) + " - ") + plusik;
_root.the_pause.infoline3.text = ("accuracy: " + _root.mframe.per1_akk) + "%";
break;
case 2 :
_root.the_pause.line_2.text = "+2 damadge, -10 accuracy";
_root.the_pause.line_3.text = "(in tower slot: get +15 accuracy)";
plusik = _root.mframe.per1_dm + 2;
plusik2 = plusik + 2;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + plusik) + " - ") + plusik2;
plusik = _root.mframe.per1_akk - 10;
_root.the_pause.infoline3.text = ("accuracy: " + plusik) + "%";
break;
case 3 :
_root.the_pause.line_2.text = "this wizard no need power to shot";
_root.the_pause.line_3.text = "(in tower slot: get 1 power for hit)";
plusik = _root.mframe.per1_dm + 2;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.per1_dm) + " - ") + plusik;
_root.the_pause.infoline3.text = ("accuracy: " + _root.mframe.per1_akk) + "%";
break;
case 4 :
_root.the_pause.line_2.text = "+1 damadge, +5 accuracy";
_root.the_pause.line_3.text = "(in tower slot: some effect)";
plusik = _root.mframe.per1_dm + 1;
plusik2 = plusik + 2;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + plusik) + " - ") + plusik2;
plusik = _root.mframe.per1_akk + 5;
_root.the_pause.infoline3.text = ("accuracy: " + plusik) + "%";
}
}
}
Instance of Symbol 594 MovieClip "tl1_s" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
var cry = 1;
var plusik;
var plusik2;
stop();
}
on (rollOver) {
_root.the_pause.line_1.text = "Tower C";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.infoline1.text = "";
_root.the_pause.infoline2.text = "";
_root.the_pause.infoline3.text = "";
}
on (release) {
if (_root.the_pause.c0._visible == true) {
_root.the_pause.c0._visible = false;
if (cry > 1) {
switch (_root.the_pause.c0.sloto) {
case 1 :
_root.the_pause.sl1.cry = cry;
_root.the_pause.sl1.gotoAndStop(_root.the_pause.sl1.cry);
break;
case 2 :
_root.the_pause.sl2.cry = cry;
_root.the_pause.sl2.gotoAndStop(_root.the_pause.sl2.cry);
break;
case 3 :
_root.the_pause.sl3.cry = cry;
_root.the_pause.sl3.gotoAndStop(_root.the_pause.sl3.cry);
break;
case 4 :
_root.the_pause.sl4.cry = cry;
_root.the_pause.sl4.gotoAndStop(_root.the_pause.sl4.cry);
break;
case 5 :
_root.the_pause.sl5.cry = cry;
_root.the_pause.sl5.gotoAndStop(_root.the_pause.sl5.cry);
break;
case 6 :
_root.the_pause.sl6.cry = cry;
_root.the_pause.sl6.gotoAndStop(_root.the_pause.sl6.cry);
break;
case 7 :
_root.the_pause.b_slot.cry = cry;
_root.the_pause.b_slot.gotoAndStop(_root.the_pause.b_slot.cry);
break;
case 8 :
_root.the_pause.g_slot.cry = cry;
_root.the_pause.g_slot.gotoAndStop(_root.the_pause.g_slot.cry);
break;
case 10 :
_root.the_pause.tl2_s.cry = cry;
_root.the_pause.tl2_s.gotoAndStop(_root.the_pause.tl2_s.cry);
break;
case 9 :
_root.the_pause.tl3_s.cry = cry;
_root.the_pause.tl3_s.gotoAndStop(_root.the_pause.tl3_s.cry);
break;
case 12 :
_root.the_pause.tr3_s.cry = cry;
_root.the_pause.tr3_s.gotoAndStop(_root.the_pause.tr3_s.cry);
break;
case 13 :
_root.the_pause.tr2_s.cry = cry;
_root.the_pause.tr2_s.gotoAndStop(_root.the_pause.tr2_s.cry);
break;
case 14 :
_root.the_pause.tr1_s.cry = cry;
_root.the_pause.tr1_s.gotoAndStop(_root.the_pause.tr1_s.cry);
}
}
cry = _root.the_pause.c0.crys;
this.gotoAndStop(cry);
_root.the_pause.c0.crys = 0;
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("cryinslot.wav");
_root.soundFX.start();
}
} else if (cry > 1) {
_root.the_pause.c0._x = _x;
_root.the_pause.c0._y = _y;
_root.the_pause.c0._visible = true;
_root.the_pause.c0.crys = cry;
_root.the_pause.c0.sloto = 11;
this.gotoAndStop(1);
_root.the_pause.c0.gotoAndStop(cry);
cry = 1;
}
}
onClipEvent (enterFrame) {
if (_root.the_pause.line_1.text == "Tower C") {
switch (cry) {
case 1 :
_root.the_pause.line_2.text = "You may insert crystal in slot";
plusik = _root.mframe.t_l1_dm + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.t_l1_dm) + " - ") + plusik;
_root.the_pause.infoline3.text = ("accuracy: " + _root.mframe.t_l1_akk) + "%";
break;
case 2 :
_root.the_pause.line_2.text = "+15 accuracy";
_root.the_pause.line_3.text = "(in wizard slot: +2 damadge, -10 accuracy)";
plusik = _root.mframe.t_l1_dm + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.t_l1_dm) + " - ") + plusik;
plusik = _root.mframe.t_l1_akk + 15;
_root.the_pause.infoline3.text = ("accuracy: " + plusik) + "%";
break;
case 3 :
_root.the_pause.line_2.text = "this tower get 1 power for hit";
_root.the_pause.line_3.text = "(in wizard slot: no need power to shot)";
plusik = _root.mframe.t_l1_dm + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.t_l1_dm) + " - ") + plusik;
_root.the_pause.infoline3.text = ("accuracy: " + _root.mframe.t_l1_akk) + "%";
break;
case 4 :
_root.the_pause.line_2.text = "+1 damadge, +5 accuracy";
_root.the_pause.line_3.text = "(in wizard slot: some effect)";
plusik = _root.mframe.t_l1_dm + 1;
plusik2 = plusik + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + plusik) + " - ") + plusik2;
plusik = _root.mframe.t_l1_akk + 5;
_root.the_pause.infoline3.text = ("accuracy: " + plusik) + "%";
}
}
}
Instance of Symbol 594 MovieClip "tr1_s" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
var cry = 1;
var plusik;
var plusik2;
stop();
}
on (rollOver) {
_root.the_pause.line_1.text = "Tower Z";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.infoline1.text = "";
_root.the_pause.infoline2.text = "";
_root.the_pause.infoline3.text = "";
}
on (release) {
if (_root.the_pause.c0._visible == true) {
_root.the_pause.c0._visible = false;
if (cry > 1) {
switch (_root.the_pause.c0.sloto) {
case 1 :
_root.the_pause.sl1.cry = cry;
_root.the_pause.sl1.gotoAndStop(_root.the_pause.sl1.cry);
break;
case 2 :
_root.the_pause.sl2.cry = cry;
_root.the_pause.sl2.gotoAndStop(_root.the_pause.sl2.cry);
break;
case 3 :
_root.the_pause.sl3.cry = cry;
_root.the_pause.sl3.gotoAndStop(_root.the_pause.sl3.cry);
break;
case 4 :
_root.the_pause.sl4.cry = cry;
_root.the_pause.sl4.gotoAndStop(_root.the_pause.sl4.cry);
break;
case 5 :
_root.the_pause.sl5.cry = cry;
_root.the_pause.sl5.gotoAndStop(_root.the_pause.sl5.cry);
break;
case 6 :
_root.the_pause.sl6.cry = cry;
_root.the_pause.sl6.gotoAndStop(_root.the_pause.sl6.cry);
break;
case 7 :
_root.the_pause.b_slot.cry = cry;
_root.the_pause.b_slot.gotoAndStop(_root.the_pause.b_slot.cry);
break;
case 8 :
_root.the_pause.g_slot.cry = cry;
_root.the_pause.g_slot.gotoAndStop(_root.the_pause.g_slot.cry);
break;
case 10 :
_root.the_pause.tl2_s.cry = cry;
_root.the_pause.tl2_s.gotoAndStop(_root.the_pause.tl2_s.cry);
break;
case 11 :
_root.the_pause.tl1_s.cry = cry;
_root.the_pause.tl1_s.gotoAndStop(_root.the_pause.tl1_s.cry);
break;
case 12 :
_root.the_pause.tr3_s.cry = cry;
_root.the_pause.tr3_s.gotoAndStop(_root.the_pause.tr3_s.cry);
break;
case 13 :
_root.the_pause.tr2_s.cry = cry;
_root.the_pause.tr2_s.gotoAndStop(_root.the_pause.tr2_s.cry);
break;
case 9 :
_root.the_pause.tl3_s.cry = cry;
_root.the_pause.tl3_s.gotoAndStop(_root.the_pause.tl3_s.cry);
}
}
cry = _root.the_pause.c0.crys;
this.gotoAndStop(cry);
_root.the_pause.c0.crys = 0;
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("cryinslot.wav");
_root.soundFX.start();
}
} else if (cry > 1) {
_root.the_pause.c0._x = _x;
_root.the_pause.c0._y = _y;
_root.the_pause.c0._visible = true;
_root.the_pause.c0.crys = cry;
_root.the_pause.c0.sloto = 14;
this.gotoAndStop(1);
_root.the_pause.c0.gotoAndStop(cry);
cry = 1;
}
}
onClipEvent (enterFrame) {
if (_root.the_pause.line_1.text == "Tower Z") {
switch (cry) {
case 1 :
_root.the_pause.line_2.text = "You may insert crystal in slot";
plusik = _root.mframe.t_r1_dm + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.t_r1_dm) + " - ") + plusik;
_root.the_pause.infoline3.text = ("accuracy: " + _root.mframe.t_r1_akk) + "%";
break;
case 2 :
_root.the_pause.line_2.text = "+15 accuracy";
_root.the_pause.line_3.text = "(in wizard slot: +2 damadge, -10 accuracy)";
plusik = _root.mframe.t_r1_dm + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.t_r1_dm) + " - ") + plusik;
plusik = _root.mframe.t_r1_akk + 15;
_root.the_pause.infoline3.text = ("accuracy: " + plusik) + "%";
break;
case 3 :
_root.the_pause.line_2.text = "this tower get 1 power for hit";
_root.the_pause.line_3.text = "(in wizard slot: no need power to shot)";
plusik = _root.mframe.t_r1_dm + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.t_r1_dm) + " - ") + plusik;
_root.the_pause.infoline3.text = ("accuracy: " + _root.mframe.t_r1_akk) + "%";
break;
case 4 :
_root.the_pause.line_2.text = "+1 damadge, +5 accuracy";
_root.the_pause.line_3.text = "(in wizard slot: some effect)";
plusik = _root.mframe.t_r1_dm + 1;
plusik2 = plusik + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + plusik) + " - ") + plusik2;
plusik = _root.mframe.t_r1_akk + 5;
_root.the_pause.infoline3.text = ("accuracy: " + plusik) + "%";
}
}
}
Instance of Symbol 594 MovieClip "tl2_s" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
var cry = 1;
var plusik;
var plusik2;
stop();
}
on (rollOver) {
_root.the_pause.line_1.text = "Tower B";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.infoline1.text = "";
_root.the_pause.infoline2.text = "";
_root.the_pause.infoline3.text = "";
}
on (release) {
if (_root.the_pause.c0._visible == true) {
_root.the_pause.c0._visible = false;
if (cry > 1) {
switch (_root.the_pause.c0.sloto) {
case 1 :
_root.the_pause.sl1.cry = cry;
_root.the_pause.sl1.gotoAndStop(_root.the_pause.sl1.cry);
break;
case 2 :
_root.the_pause.sl2.cry = cry;
_root.the_pause.sl2.gotoAndStop(_root.the_pause.sl2.cry);
break;
case 3 :
_root.the_pause.sl3.cry = cry;
_root.the_pause.sl3.gotoAndStop(_root.the_pause.sl3.cry);
break;
case 4 :
_root.the_pause.sl4.cry = cry;
_root.the_pause.sl4.gotoAndStop(_root.the_pause.sl4.cry);
break;
case 5 :
_root.the_pause.sl5.cry = cry;
_root.the_pause.sl5.gotoAndStop(_root.the_pause.sl5.cry);
break;
case 6 :
_root.the_pause.sl6.cry = cry;
_root.the_pause.sl6.gotoAndStop(_root.the_pause.sl6.cry);
break;
case 7 :
_root.the_pause.b_slot.cry = cry;
_root.the_pause.b_slot.gotoAndStop(_root.the_pause.b_slot.cry);
break;
case 8 :
_root.the_pause.g_slot.cry = cry;
_root.the_pause.g_slot.gotoAndStop(_root.the_pause.g_slot.cry);
break;
case 9 :
_root.the_pause.tl3_s.cry = cry;
_root.the_pause.tl3_s.gotoAndStop(_root.the_pause.tl3_s.cry);
break;
case 11 :
_root.the_pause.tl1_s.cry = cry;
_root.the_pause.tl1_s.gotoAndStop(_root.the_pause.tl1_s.cry);
break;
case 12 :
_root.the_pause.tr3_s.cry = cry;
_root.the_pause.tr3_s.gotoAndStop(_root.the_pause.tr3_s.cry);
break;
case 13 :
_root.the_pause.tr2_s.cry = cry;
_root.the_pause.tr2_s.gotoAndStop(_root.the_pause.tr2_s.cry);
break;
case 14 :
_root.the_pause.tr1_s.cry = cry;
_root.the_pause.tr1_s.gotoAndStop(_root.the_pause.tr1_s.cry);
}
}
cry = _root.the_pause.c0.crys;
this.gotoAndStop(cry);
_root.the_pause.c0.crys = 0;
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("cryinslot.wav");
_root.soundFX.start();
}
} else if (cry > 1) {
_root.the_pause.c0._x = _x;
_root.the_pause.c0._y = _y;
_root.the_pause.c0._visible = true;
_root.the_pause.c0.crys = cry;
_root.the_pause.c0.sloto = 10;
this.gotoAndStop(1);
_root.the_pause.c0.gotoAndStop(cry);
cry = 1;
}
}
onClipEvent (enterFrame) {
if (_root.the_pause.line_1.text == "Tower B") {
switch (cry) {
case 1 :
_root.the_pause.line_2.text = "You may insert crystal in slot";
plusik = _root.mframe.t_l2_dm + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.t_l2_dm) + " - ") + plusik;
_root.the_pause.infoline3.text = ("accuracy: " + _root.mframe.t_l2_akk) + "%";
break;
case 2 :
_root.the_pause.line_2.text = "+15 accuracy";
_root.the_pause.line_3.text = "(in wizard slot: +2 damadge, -10 accuracy)";
plusik = _root.mframe.t_l2_dm + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.t_l2_dm) + " - ") + plusik;
plusik = _root.mframe.t_l2_akk + 15;
_root.the_pause.infoline3.text = ("accuracy: " + plusik) + "%";
break;
case 3 :
_root.the_pause.line_2.text = "this tower get 1 power for hit";
_root.the_pause.line_3.text = "(in wizard slot: no need power to shot)";
plusik = _root.mframe.t_l2_dm + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.t_l2_dm) + " - ") + plusik;
_root.the_pause.infoline3.text = ("accuracy: " + _root.mframe.t_l2_akk) + "%";
break;
case 4 :
_root.the_pause.line_2.text = "+1 damadge, +5 accuracy";
_root.the_pause.line_3.text = "(in wizard slot: some effect)";
plusik = _root.mframe.t_l2_dm + 1;
plusik2 = plusik + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + plusik) + " - ") + plusik2;
plusik = _root.mframe.t_l2_akk + 5;
_root.the_pause.infoline3.text = ("accuracy: " + plusik) + "%";
}
}
}
Instance of Symbol 594 MovieClip "tr2_s" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
var cry = 1;
var plusik;
var plusik2;
stop();
}
on (rollOver) {
_root.the_pause.line_1.text = "Tower Y";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.infoline1.text = "";
_root.the_pause.infoline2.text = "";
_root.the_pause.infoline3.text = "";
}
on (release) {
if (_root.the_pause.c0._visible == true) {
_root.the_pause.c0._visible = false;
if (cry > 1) {
switch (_root.the_pause.c0.sloto) {
case 1 :
_root.the_pause.sl1.cry = cry;
_root.the_pause.sl1.gotoAndStop(_root.the_pause.sl1.cry);
break;
case 2 :
_root.the_pause.sl2.cry = cry;
_root.the_pause.sl2.gotoAndStop(_root.the_pause.sl2.cry);
break;
case 3 :
_root.the_pause.sl3.cry = cry;
_root.the_pause.sl3.gotoAndStop(_root.the_pause.sl3.cry);
break;
case 4 :
_root.the_pause.sl4.cry = cry;
_root.the_pause.sl4.gotoAndStop(_root.the_pause.sl4.cry);
break;
case 5 :
_root.the_pause.sl5.cry = cry;
_root.the_pause.sl5.gotoAndStop(_root.the_pause.sl5.cry);
break;
case 6 :
_root.the_pause.sl6.cry = cry;
_root.the_pause.sl6.gotoAndStop(_root.the_pause.sl6.cry);
break;
case 7 :
_root.the_pause.b_slot.cry = cry;
_root.the_pause.b_slot.gotoAndStop(_root.the_pause.b_slot.cry);
break;
case 8 :
_root.the_pause.g_slot.cry = cry;
_root.the_pause.g_slot.gotoAndStop(_root.the_pause.g_slot.cry);
break;
case 10 :
_root.the_pause.tl2_s.cry = cry;
_root.the_pause.tl2_s.gotoAndStop(_root.the_pause.tl2_s.cry);
break;
case 11 :
_root.the_pause.tl1_s.cry = cry;
_root.the_pause.tl1_s.gotoAndStop(_root.the_pause.tl1_s.cry);
break;
case 12 :
_root.the_pause.tr3_s.cry = cry;
_root.the_pause.tr3_s.gotoAndStop(_root.the_pause.tr3_s.cry);
break;
case 9 :
_root.the_pause.tl3_s.cry = cry;
_root.the_pause.tl3_s.gotoAndStop(_root.the_pause.tl3_s.cry);
break;
case 14 :
_root.the_pause.tr1_s.cry = cry;
_root.the_pause.tr1_s.gotoAndStop(_root.the_pause.tr1_s.cry);
}
}
cry = _root.the_pause.c0.crys;
this.gotoAndStop(cry);
_root.the_pause.c0.crys = 0;
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("cryinslot.wav");
_root.soundFX.start();
}
} else if (cry > 1) {
_root.the_pause.c0._x = _x;
_root.the_pause.c0._y = _y;
_root.the_pause.c0._visible = true;
_root.the_pause.c0.crys = cry;
_root.the_pause.c0.sloto = 13;
this.gotoAndStop(1);
_root.the_pause.c0.gotoAndStop(cry);
cry = 1;
}
}
onClipEvent (enterFrame) {
if (_root.the_pause.line_1.text == "Tower Y") {
switch (cry) {
case 1 :
_root.the_pause.line_2.text = "You may insert crystal in slot";
plusik = _root.mframe.t_r2_dm + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.t_r2_dm) + " - ") + plusik;
_root.the_pause.infoline3.text = ("accuracy: " + _root.mframe.t_r2_akk) + "%";
break;
case 2 :
_root.the_pause.line_2.text = "+15 accuracy";
_root.the_pause.line_3.text = "(in wizard slot: +2 damadge, -10 accuracy)";
plusik = _root.mframe.t_r2_dm + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.t_r2_dm) + " - ") + plusik;
plusik = _root.mframe.t_r2_akk + 15;
_root.the_pause.infoline3.text = ("accuracy: " + plusik) + "%";
break;
case 3 :
_root.the_pause.line_2.text = "this tower get 1 power for hit";
_root.the_pause.line_3.text = "(in wizard slot: no need power to shot)";
plusik = _root.mframe.t_r2_dm + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.t_r2_dm) + " - ") + plusik;
_root.the_pause.infoline3.text = ("accuracy: " + _root.mframe.t_r2_akk) + "%";
break;
case 4 :
_root.the_pause.line_2.text = "+1 damadge, +5 accuracy";
_root.the_pause.line_3.text = "(in wizard slot: some effect)";
plusik = _root.mframe.t_r2_dm + 1;
plusik2 = plusik + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + plusik) + " - ") + plusik2;
plusik = _root.mframe.t_r2_akk + 5;
_root.the_pause.infoline3.text = ("accuracy: " + plusik) + "%";
}
}
}
Instance of Symbol 594 MovieClip "tl3_s" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
var cry = 1;
var plusik;
var plusik2;
stop();
}
on (rollOver) {
_root.the_pause.line_1.text = "Tower A";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.infoline1.text = "";
_root.the_pause.infoline2.text = "";
_root.the_pause.infoline3.text = "";
}
on (release) {
if (_root.the_pause.c0._visible == true) {
_root.the_pause.c0._visible = false;
if (cry > 1) {
switch (_root.the_pause.c0.sloto) {
case 1 :
_root.the_pause.sl1.cry = cry;
_root.the_pause.sl1.gotoAndStop(_root.the_pause.sl1.cry);
break;
case 2 :
_root.the_pause.sl2.cry = cry;
_root.the_pause.sl2.gotoAndStop(_root.the_pause.sl2.cry);
break;
case 3 :
_root.the_pause.sl3.cry = cry;
_root.the_pause.sl3.gotoAndStop(_root.the_pause.sl3.cry);
break;
case 4 :
_root.the_pause.sl4.cry = cry;
_root.the_pause.sl4.gotoAndStop(_root.the_pause.sl4.cry);
break;
case 5 :
_root.the_pause.sl5.cry = cry;
_root.the_pause.sl5.gotoAndStop(_root.the_pause.sl5.cry);
break;
case 6 :
_root.the_pause.sl6.cry = cry;
_root.the_pause.sl6.gotoAndStop(_root.the_pause.sl6.cry);
break;
case 7 :
_root.the_pause.b_slot.cry = cry;
_root.the_pause.b_slot.gotoAndStop(_root.the_pause.b_slot.cry);
break;
case 8 :
_root.the_pause.g_slot.cry = cry;
_root.the_pause.g_slot.gotoAndStop(_root.the_pause.g_slot.cry);
break;
case 10 :
_root.the_pause.tl2_s.cry = cry;
_root.the_pause.tl2_s.gotoAndStop(_root.the_pause.tl2_s.cry);
break;
case 11 :
_root.the_pause.tl1_s.cry = cry;
_root.the_pause.tl1_s.gotoAndStop(_root.the_pause.tl1_s.cry);
break;
case 12 :
_root.the_pause.tr3_s.cry = cry;
_root.the_pause.tr3_s.gotoAndStop(_root.the_pause.tr3_s.cry);
break;
case 13 :
_root.the_pause.tr2_s.cry = cry;
_root.the_pause.tr2_s.gotoAndStop(_root.the_pause.tr2_s.cry);
break;
case 14 :
_root.the_pause.tr1_s.cry = cry;
_root.the_pause.tr1_s.gotoAndStop(_root.the_pause.tr1_s.cry);
}
}
cry = _root.the_pause.c0.crys;
this.gotoAndStop(cry);
_root.the_pause.c0.crys = 0;
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("cryinslot.wav");
_root.soundFX.start();
}
} else if (cry > 1) {
_root.the_pause.c0._x = _x;
_root.the_pause.c0._y = _y;
_root.the_pause.c0._visible = true;
_root.the_pause.c0.crys = cry;
_root.the_pause.c0.sloto = 9;
this.gotoAndStop(1);
_root.the_pause.c0.gotoAndStop(cry);
cry = 1;
}
}
onClipEvent (enterFrame) {
if (_root.the_pause.line_1.text == "Tower A") {
switch (cry) {
case 1 :
_root.the_pause.line_2.text = "You may insert crystal in slot";
plusik = _root.mframe.t_l3_dm + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.t_l3_dm) + " - ") + plusik;
_root.the_pause.infoline3.text = ("accuracy: " + _root.mframe.t_l3_akk) + "%";
break;
case 2 :
_root.the_pause.line_2.text = "+15 accuracy";
_root.the_pause.line_3.text = "(in wizard slot: +2 damadge, -10 accuracy)";
plusik = _root.mframe.t_l3_dm + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.t_l3_dm) + " - ") + plusik;
plusik = _root.mframe.t_l3_akk + 15;
_root.the_pause.infoline3.text = ("accuracy: " + plusik) + "%";
break;
case 3 :
_root.the_pause.line_2.text = "this tower get 1 power for hit";
_root.the_pause.line_3.text = "(in wizard slot: no need power to shot)";
plusik = _root.mframe.t_l3_dm + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.t_l3_dm) + " - ") + plusik;
_root.the_pause.infoline3.text = ("accuracy: " + _root.mframe.t_l3_akk) + "%";
break;
case 4 :
_root.the_pause.line_2.text = "+1 damadge, +5 accuracy";
_root.the_pause.line_3.text = "(in wizard slot: some effect)";
plusik = _root.mframe.t_l3_dm + 1;
plusik2 = plusik + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + plusik) + " - ") + plusik2;
plusik = _root.mframe.t_l3_akk + 5;
_root.the_pause.infoline3.text = ("accuracy: " + plusik) + "%";
}
}
}
Instance of Symbol 594 MovieClip "tr3_s" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
var cry = 1;
var plusik;
var plusik2;
stop();
}
on (rollOver) {
_root.the_pause.line_1.text = "Tower X";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.infoline1.text = "";
_root.the_pause.infoline2.text = "";
_root.the_pause.infoline3.text = "";
}
on (release) {
if (_root.the_pause.c0._visible == true) {
_root.the_pause.c0._visible = false;
if (cry > 1) {
switch (_root.the_pause.c0.sloto) {
case 1 :
_root.the_pause.sl1.cry = cry;
_root.the_pause.sl1.gotoAndStop(_root.the_pause.sl1.cry);
break;
case 2 :
_root.the_pause.sl2.cry = cry;
_root.the_pause.sl2.gotoAndStop(_root.the_pause.sl2.cry);
break;
case 3 :
_root.the_pause.sl3.cry = cry;
_root.the_pause.sl3.gotoAndStop(_root.the_pause.sl3.cry);
break;
case 4 :
_root.the_pause.sl4.cry = cry;
_root.the_pause.sl4.gotoAndStop(_root.the_pause.sl4.cry);
break;
case 5 :
_root.the_pause.sl5.cry = cry;
_root.the_pause.sl5.gotoAndStop(_root.the_pause.sl5.cry);
break;
case 6 :
_root.the_pause.sl6.cry = cry;
_root.the_pause.sl6.gotoAndStop(_root.the_pause.sl6.cry);
break;
case 7 :
_root.the_pause.b_slot.cry = cry;
_root.the_pause.b_slot.gotoAndStop(_root.the_pause.b_slot.cry);
break;
case 8 :
_root.the_pause.g_slot.cry = cry;
_root.the_pause.g_slot.gotoAndStop(_root.the_pause.g_slot.cry);
break;
case 10 :
_root.the_pause.tl2_s.cry = cry;
_root.the_pause.tl2_s.gotoAndStop(_root.the_pause.tl2_s.cry);
break;
case 11 :
_root.the_pause.tl1_s.cry = cry;
_root.the_pause.tl1_s.gotoAndStop(_root.the_pause.tl1_s.cry);
break;
case 9 :
_root.the_pause.tl3_s.cry = cry;
_root.the_pause.tl3_s.gotoAndStop(_root.the_pause.tl3_s.cry);
break;
case 13 :
_root.the_pause.tr2_s.cry = cry;
_root.the_pause.tr2_s.gotoAndStop(_root.the_pause.tr2_s.cry);
break;
case 14 :
_root.the_pause.tr1_s.cry = cry;
_root.the_pause.tr1_s.gotoAndStop(_root.the_pause.tr1_s.cry);
}
}
cry = _root.the_pause.c0.crys;
this.gotoAndStop(cry);
_root.the_pause.c0.crys = 0;
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("cryinslot.wav");
_root.soundFX.start();
}
} else if (cry > 1) {
_root.the_pause.c0._x = _x;
_root.the_pause.c0._y = _y;
_root.the_pause.c0._visible = true;
_root.the_pause.c0.crys = cry;
_root.the_pause.c0.sloto = 12;
this.gotoAndStop(1);
_root.the_pause.c0.gotoAndStop(cry);
cry = 1;
}
}
onClipEvent (enterFrame) {
if (_root.the_pause.line_1.text == "Tower X") {
switch (cry) {
case 1 :
_root.the_pause.line_2.text = "You may insert crystal in slot";
plusik = _root.mframe.t_r3_dm + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.t_r3_dm) + " - ") + plusik;
_root.the_pause.infoline3.text = ("accuracy: " + _root.mframe.t_r3_akk) + "%";
break;
case 2 :
_root.the_pause.line_2.text = "+15 accuracy";
_root.the_pause.line_3.text = "(in wizard slot: +2 damadge, -10 accuracy)";
plusik = _root.mframe.t_r3_dm + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.t_r3_dm) + " - ") + plusik;
plusik = _root.mframe.t_r3_akk + 15;
_root.the_pause.infoline3.text = ("accuracy: " + plusik) + "%";
break;
case 3 :
_root.the_pause.line_2.text = "this tower get +1 power for hit";
_root.the_pause.line_3.text = "(in wizard slot: no needs power to shot)";
plusik = _root.mframe.t_r3_dm + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + _root.mframe.t_r3_dm) + " - ") + plusik;
_root.the_pause.infoline3.text = ("accuracy: " + _root.mframe.t_r3_akk) + "%";
break;
case 4 :
_root.the_pause.line_2.text = "+1 damadge, +5 accuracy";
_root.the_pause.line_3.text = "(in wizard slot: some effect)";
plusik = _root.mframe.t_r3_dm + 1;
plusik2 = plusik + 1;
_root.the_pause.infoline1.text = "Info";
_root.the_pause.infoline2.text = ((" damadge: " + plusik) + " - ") + plusik2;
plusik = _root.mframe.t_r3_akk + 5;
_root.the_pause.infoline3.text = ("accuracy: " + plusik) + "%";
}
}
}
Instance of Symbol 597 MovieClip in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_1.text = "Fortune Whell (800 power)";
_root.the_pause.line_2.text = "Get one - increase towers damadge,";
_root.the_pause.line_3.text = "increase wizards damadge or";
_root.the_pause.line_4.text = "restore 10 life.";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.line_4.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 600 MovieClip in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 200) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("crycreate.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 200;
_root.the_pause.alch.gotoAndPlay(2);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Alchemy (200 power)";
_root.the_pause.line_2.text = "Create crystal at random";
_root.the_pause.line_3.text = "and put them into the Slot 1";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 603 MovieClip "tl3_2" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
_x = (_x - 10000);
stop();
}
on (press) {
if (_root.mframe.energy >= 600) {
_root.mframe.energy = _root.mframe.energy - 600;
_root.mframe.t_l3_crit = 1;
_visible = false;
_root.the_pause.tl3a_2._x = _x;
_root.the_pause.tl3a_2._y = _y;
_root.the_pause.tl3a_2.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Heroic Mode(600 power)";
_root.the_pause.line_2.text = "50% shance to critical strike";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 606 MovieClip "tl3_4" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 220) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 220;
_root.mframe.t_l3_mana = 1;
_visible = false;
_root.the_pause.tl3a_4._x = _x;
_root.the_pause.tl3a_4._y = _y;
_root.the_pause.tl3a_4.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Drain Power(220 power)";
_root.the_pause.line_2.text = "get 1 power for hit";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 603 MovieClip "tr3_2" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
_x = (_x - 10000);
stop();
}
on (press) {
if (_root.mframe.energy >= 600) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 600;
_root.mframe.t_r3_crit = 1;
_visible = false;
_root.the_pause.tr3a_2._x = _x;
_root.the_pause.tr3a_2._y = _y;
_root.the_pause.tr3a_2.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Heroic Mode(600 power)";
_root.the_pause.line_2.text = "50% shance to critical strike";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 606 MovieClip "tr3_4" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 220) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 220;
_root.mframe.t_r3_mana = 1;
_visible = false;
_root.the_pause.tr3a_4._x = _x;
_root.the_pause.tr3a_4._y = _y;
_root.the_pause.tr3a_4.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Drain Power(220 power)";
_root.the_pause.line_2.text = "get 1 power for hit";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 603 MovieClip "tl2_2" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
_x = (_x - 10000);
stop();
}
on (press) {
if (_root.mframe.energy >= 600) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 600;
_root.mframe.t_l2_crit = 1;
_visible = false;
_root.the_pause.tl2a_2._x = _x;
_root.the_pause.tl2a_2._y = _y;
_root.the_pause.tl2a_2.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Heroic Mode(600 power)";
_root.the_pause.line_2.text = "50% shance to critical strike";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 606 MovieClip "tl2_4" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 220) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 220;
_root.mframe.t_l2_mana = 1;
_visible = false;
_root.the_pause.tl2a_4._x = _x;
_root.the_pause.tl2a_4._y = _y;
_root.the_pause.tl2a_4.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Drain Power(220 power)";
_root.the_pause.line_2.text = "get 1 power for hit";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 603 MovieClip "tr2_2" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
_x = (_x - 10000);
stop();
}
on (press) {
if (_root.mframe.energy >= 600) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 600;
_root.mframe.t_r2_crit = 1;
_visible = false;
_root.the_pause.tr2a_2._x = _x;
_root.the_pause.tr2a_2._y = _y;
_root.the_pause.tr2a_2.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Heroic Mode(600 power)";
_root.the_pause.line_2.text = "50% shance to critical strike";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 606 MovieClip "tr2_4" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 220) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 220;
_root.mframe.t_r2_mana = 1;
_visible = false;
_root.the_pause.tr2a_4._x = _x;
_root.the_pause.tr2a_4._y = _y;
_root.the_pause.tr2a_4.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Drain Power(220 power)";
_root.the_pause.line_2.text = "get 1 power for hit";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 603 MovieClip "tl1_2" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
_x = (_x - 10000);
stop();
}
on (press) {
if (_root.mframe.energy >= 600) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 600;
_root.mframe.t_l1_crit = 1;
_visible = false;
_root.the_pause.tl1a_2._x = _x;
_root.the_pause.tl1a_2._y = _y;
_root.the_pause.tl1a_2.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Heroic Mode(600 power)";
_root.the_pause.line_2.text = "50% shance to critical strike";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 606 MovieClip "tl1_4" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 220) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 220;
_root.mframe.t_l1_mana = 1;
_visible = false;
_root.the_pause.tl1a_4._x = _x;
_root.the_pause.tl1a_4._y = _y;
_root.the_pause.tl1a_4.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Drain Power(220 power)";
_root.the_pause.line_2.text = "get 1 power for hit";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 603 MovieClip "tr1_2" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
_x = (_x - 10000);
stop();
}
on (press) {
if (_root.mframe.energy >= 600) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 600;
_root.mframe.t_r1_crit = 1;
_visible = false;
_root.the_pause.tr1a_2._x = _x;
_root.the_pause.tr1a_2._y = _y;
_root.the_pause.tr1a_2.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Heroic Mode(600 power)";
_root.the_pause.line_2.text = "50% shance to critical strike";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 606 MovieClip "tr1_4" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 220) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 220;
_root.mframe.t_r1_mana = 1;
_visible = false;
_root.the_pause.tr1a_4._x = _x;
_root.the_pause.tr1a_4._y = _y;
_root.the_pause.tr1a_4.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Drain Power(220 power)";
_root.the_pause.line_2.text = "get 1 power for hit";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 609 MovieClip "tl3_1" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 150) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 150;
_root.mframe.t_l3_akk = 85;
_visible = false;
_root.the_pause.tl3a_1._x = _x;
_root.the_pause.tl3a_1._y = _y;
_root.the_pause.tl3a_1.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Up Tower Accuracy (150 power)";
_root.the_pause.line_2.text = "+10 accuracy";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 609 MovieClip "tr3_1" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 150) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 150;
_root.mframe.t_r3_akk = 85;
_visible = false;
_root.the_pause.tr3a_1._x = _x;
_root.the_pause.tr3a_1._y = _y;
_root.the_pause.tr3a_1.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Up Tower Accuracy (150 power)";
_root.the_pause.line_2.text = "+10 accuracy";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 609 MovieClip "tl2_1" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 150) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 150;
_root.mframe.t_l2_akk = 85;
_visible = false;
_root.the_pause.tl2a_1._x = _x;
_root.the_pause.tl2a_1._y = _y;
_root.the_pause.tl2a_1.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Up Tower Accuracy (150 power)";
_root.the_pause.line_2.text = "+10 accuracy";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 609 MovieClip "tr2_1" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 150) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 150;
_root.mframe.t_r2_akk = 85;
_visible = false;
_root.the_pause.tr2a_1._x = _x;
_root.the_pause.tr2a_1._y = _y;
_root.the_pause.tr2a_1.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Up Tower Accuracy (150 power)";
_root.the_pause.line_2.text = "+10 accuracy";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 609 MovieClip "tl1_1" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 150) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 150;
_root.mframe.t_l1_akk = 85;
_visible = false;
_root.the_pause.tl1a_1._x = _x;
_root.the_pause.tl1a_1._y = _y;
_root.the_pause.tl1a_1.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Up Tower Accuracy (150 power)";
_root.the_pause.line_2.text = "+10 accuracy";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 609 MovieClip "tr1_1" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 150) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 150;
_root.mframe.t_r1_akk = 85;
_visible = false;
_root.the_pause.tr1a_1._x = _x;
_root.the_pause.tr1a_1._y = _y;
_root.the_pause.tr1a_1.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Up Tower Accuracy (150 power)";
_root.the_pause.line_2.text = "+10 accuracy";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 612 MovieClip "tl3_3" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 200) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 200;
_root.mframe.t_l3_haste = 1;
_visible = false;
_root.the_pause.tl3a_3._x = _x;
_root.the_pause.tl3a_3._y = _y;
_root.the_pause.tl3a_3.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Haste (200 power)";
_root.the_pause.line_2.text = "decrease recharge time";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 612 MovieClip "tr3_3" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 200) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 200;
_root.mframe.t_r3_haste = 1;
_visible = false;
_root.the_pause.tr3a_3._x = _x;
_root.the_pause.tr3a_3._y = _y;
_root.the_pause.tr3a_3.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Haste (200 power)";
_root.the_pause.line_2.text = "decrease recharge time";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 612 MovieClip "tl2_3" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 200) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 200;
_root.mframe.t_l2_haste = 1;
_visible = false;
_root.the_pause.tl2a_3._x = _x;
_root.the_pause.tl2a_3._y = _y;
_root.the_pause.tl2a_3.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Haste (200 power)";
_root.the_pause.line_2.text = "decrease recharge time";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 612 MovieClip "tr2_3" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 200) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 200;
_root.mframe.t_r2_haste = 1;
_visible = false;
_root.the_pause.tr2a_3._x = _x;
_root.the_pause.tr2a_3._y = _y;
_root.the_pause.tr2a_3.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Haste (200 power)";
_root.the_pause.line_2.text = "decrease recharge time";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 612 MovieClip "tl1_3" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 200) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 200;
_root.mframe.t_l1_haste = 1;
_visible = false;
_root.the_pause.tl1a_3._x = _x;
_root.the_pause.tl1a_3._y = _y;
_root.the_pause.tl1a_3.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Haste (200 power)";
_root.the_pause.line_2.text = "decrease recharge time";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 612 MovieClip "tr1_3" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 200) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 200;
_root.mframe.t_r1_haste = 1;
_visible = false;
_root.the_pause.tr1a_3._x = _x;
_root.the_pause.tr1a_3._y = _y;
_root.the_pause.tr1a_3.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Haste (200 power)";
_root.the_pause.line_2.text = "decrease recharge time";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 620 MovieClip "sldestroy" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_1.text = "Slot for Destruction";
_root.the_pause.line_2.text = "Insert crystall to destroy them";
_root.the_pause.line_3.text = "and give 50 power.";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
on (release) {
if (_root.the_pause.c0._visible == true) {
_root.the_pause.c0._visible = false;
if (_root.the_pause.c0.sloto > 0) {
switch (_root.the_pause.c0.sloto) {
case 6 :
_root.the_pause.sl6.cry = 1;
_root.the_pause.sl6.gotoAndStop(1);
break;
case 2 :
_root.the_pause.sl2.cry = 1;
_root.the_pause.sl2.gotoAndStop(1);
break;
case 3 :
_root.the_pause.sl3.cry = 1;
_root.the_pause.sl3.gotoAndStop(1);
break;
case 4 :
_root.the_pause.sl4.cry = 1;
_root.the_pause.sl4.gotoAndStop(1);
break;
case 5 :
_root.the_pause.sl5.cry = 1;
_root.the_pause.sl5.gotoAndStop(1);
break;
case 1 :
_root.the_pause.sl1.cry = 1;
_root.the_pause.sl1.gotoAndStop(1);
break;
case 7 :
_root.the_pause.b_slot.cry = 1;
_root.the_pause.b_slot.gotoAndStop(1);
break;
case 8 :
_root.the_pause.g_slot.cry = 1;
_root.the_pause.g_slot.gotoAndStop(1);
break;
case 9 :
_root.the_pause.tl3_s.cry = 1;
_root.the_pause.tl3_s.gotoAndStop(1);
break;
case 10 :
_root.the_pause.tl2_s.cry = 1;
_root.the_pause.tl2_s.gotoAndStop(1);
break;
case 11 :
_root.the_pause.tl1_s.cry = 1;
_root.the_pause.tl1_s.gotoAndStop(1);
break;
case 12 :
_root.the_pause.tr3_s.cry = 1;
_root.the_pause.tr3_s.gotoAndStop(1);
break;
case 13 :
_root.the_pause.tr2_s.cry = 1;
_root.the_pause.tr2_s.gotoAndStop(1);
break;
case 14 :
_root.the_pause.tr1_s.cry = 1;
_root.the_pause.tr1_s.gotoAndStop(1);
}
}
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("crydestroy.wav");
_root.soundFX.start();
}
this.gotoAndPlay(2);
_root.the_pause.c0.crys = 0;
_root.the_pause.c0.sloto = 0;
}
}
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
_root.mframe.energy = _root.mframe.energy + 50;
gotoAndStop (1);
}
}
Instance of Symbol 623 MovieClip "upag" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 250) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 250;
_root.mframe.per2_akk = 90;
_visible = false;
_root.the_pause.gw_akk._x = _x;
_root.the_pause.gw_akk._y = _y;
_root.the_pause.gw_akk.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Up Accuracy (250 power)";
_root.the_pause.line_2.text = "+15 accuracy";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 626 MovieClip "upagm" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 470) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 470;
_root.mframe.per2_haste = 1;
_visible = false;
_root.the_pause.gw_haste._x = _x;
_root.the_pause.gw_haste._y = _y;
_root.the_pause.gw_haste.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Turbomeditation (470 power)";
_root.the_pause.line_2.text = "increase power regeneration speed";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 623 MovieClip "upab" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 250) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 250;
_root.mframe.per1_akk = 90;
_visible = false;
_root.the_pause.bw_akk._x = _x;
_root.the_pause.bw_akk._y = _y;
_root.the_pause.bw_akk.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Up Accuracy (250 power)";
_root.the_pause.line_2.text = "+15 accuracy";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 626 MovieClip "upabm" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 470) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("upgrades.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 470;
_root.mframe.per1_haste = 1;
_visible = false;
_root.the_pause.bw_haste._x = _x;
_root.the_pause.bw_haste._y = _y;
_root.the_pause.bw_haste.gotoAndPlay(1);
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Turbomeditation (470 power)";
_root.the_pause.line_2.text = "increase power regeneration speed";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 629 MovieClip "tower_r1_strelka" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 380) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("bildtower.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 380;
_visible = false;
_root.mframe.t_r1 = true;
_root.tower_r1._visible = true;
_root.tower_r1.gotoAndPlay(1);
_root.r1_shot.gotoAndPlay(1);
_root.the_pause.tr1_s._y = _root.the_pause.tr1_s._y - 500;
_root.the_pause.tr1_1._y = _root.the_pause.tr1_1._y - 500;
_root.the_pause.tr1_2._y = _root.the_pause.tr1_2._y - 500;
_root.the_pause.tr1_3._y = _root.the_pause.tr1_3._y - 500;
_root.the_pause.tr1_4._y = _root.the_pause.tr1_4._y - 500;
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Add Tower (380 power)";
_root.the_pause.line_2.text = "Build additional tower";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 630 MovieClip "tower_r2_strelka" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 380) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("bildtower.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 380;
_visible = false;
_root.mframe.t_r2 = true;
_root.tower_r2._visible = true;
_root.tower_r2.gotoAndPlay(1);
_root.r2_shot.gotoAndPlay(1);
_root.the_pause.tr2_s._y = _root.the_pause.tr2_s._y - 500;
_root.the_pause.tr2_1._y = _root.the_pause.tr2_1._y - 500;
_root.the_pause.tr2_2._y = _root.the_pause.tr2_2._y - 500;
_root.the_pause.tr2_3._y = _root.the_pause.tr2_3._y - 500;
_root.the_pause.tr2_4._y = _root.the_pause.tr2_4._y - 500;
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Add Tower (380 power)";
_root.the_pause.line_2.text = "Build additional tower";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 631 MovieClip "tower_r3_strelka" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 380) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("bildtower.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 380;
_visible = false;
_root.mframe.t_r3 = true;
_root.tower_r3._visible = true;
_root.tower_r3.gotoAndPlay(1);
_root.r3_shot.gotoAndPlay(1);
_root.the_pause.tr3_s._y = _root.the_pause.tr3_s._y - 500;
_root.the_pause.tr3_1._y = _root.the_pause.tr3_1._y - 500;
_root.the_pause.tr3_2._y = _root.the_pause.tr3_2._y - 500;
_root.the_pause.tr3_3._y = _root.the_pause.tr3_3._y - 500;
_root.the_pause.tr3_4._y = _root.the_pause.tr3_4._y - 500;
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Add Tower (380 power)";
_root.the_pause.line_2.text = "Build additional tower";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 632 MovieClip "tower_l1_strelka" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 380) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("bildtower.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 380;
_visible = false;
_root.mframe.t_l1 = true;
_root.tower_l1._visible = true;
_root.tower_l1.gotoAndPlay(1);
_root.l1_shot.gotoAndPlay(1);
_root.the_pause.tl1_s._y = _root.the_pause.tl1_s._y - 500;
_root.the_pause.tl1_1._y = _root.the_pause.tl1_1._y - 500;
_root.the_pause.tl1_2._y = _root.the_pause.tl1_2._y - 500;
_root.the_pause.tl1_3._y = _root.the_pause.tl1_3._y - 500;
_root.the_pause.tl1_4._y = _root.the_pause.tl1_4._y - 500;
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Add Tower (380 power)";
_root.the_pause.line_2.text = "Build additional tower";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 633 MovieClip "tower_l2_strelka" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 380) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("bildtower.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 380;
_visible = false;
_root.mframe.t_l2 = true;
_root.tower_l2._visible = true;
_root.tower_l2.gotoAndPlay(1);
_root.l2_shot.gotoAndPlay(1);
_root.the_pause.tl2_s._y = _root.the_pause.tl2_s._y - 500;
_root.the_pause.tl2_1._y = _root.the_pause.tl2_1._y - 500;
_root.the_pause.tl2_2._y = _root.the_pause.tl2_2._y - 500;
_root.the_pause.tl2_3._y = _root.the_pause.tl2_3._y - 500;
_root.the_pause.tl2_4._y = _root.the_pause.tl2_4._y - 500;
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Add Tower (380 power)";
_root.the_pause.line_2.text = "Build additional tower";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 634 MovieClip "tower_l3_strelka" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.energy >= 380) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("bildtower.wav");
_root.soundFX.start();
}
_root.mframe.energy = _root.mframe.energy - 380;
_visible = false;
_root.mframe.t_l3 = true;
_root.tower_l3._visible = true;
_root.tower_l3.gotoAndPlay(1);
_root.l3_shot.gotoAndPlay(1);
_root.the_pause.tl3_s._y = _root.the_pause.tl3_s._y - 500;
_root.the_pause.tl3_1._y = _root.the_pause.tl3_1._y - 500;
_root.the_pause.tl3_2._y = _root.the_pause.tl3_2._y - 500;
_root.the_pause.tl3_3._y = _root.the_pause.tl3_3._y - 500;
_root.the_pause.tl3_4._y = _root.the_pause.tl3_4._y - 500;
} else {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("nopower.wav");
_root.soundFX.start();
}
_root.the_pause.errorline.text = "NEED MORE POWER";
}
}
on (rollOver) {
_root.the_pause.line_1.text = "Add Tower (380 power)";
_root.the_pause.line_2.text = "Build additional tower";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 525 MovieClip in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
_root.mframe.pause_time = false;
_root.the_pause._visible = false;
_root.the_clouds.play();
_root.the_pause.line_1.text = "";
}
on (rollOver) {
_root.the_pause.line_1.text = "Return to Game";
_root.the_pause.errorline.text = "";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 643 MovieClip "tr3a_1" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "base accuracy: 85%";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 646 MovieClip "tr3a_2" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "50% shance to critical strike";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 649 MovieClip "tr3a_3" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "recharge time decreased";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 652 MovieClip "tr3a_4" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "get 1 power for hit";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 643 MovieClip "tr2a_1" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "base accuracy: 85%";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 646 MovieClip "tr2a_2" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "50% shance to critical strike";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 649 MovieClip "tr2a_3" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "recharge time decreased";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 652 MovieClip "tr2a_4" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "get 1 power for hit";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 643 MovieClip "tr1a_1" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "base accuracy: 85%";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 646 MovieClip "tr1a_2" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "50% shance to critical strike";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 649 MovieClip "tr1a_3" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "recharge time decreased";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 652 MovieClip "tr1a_4" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "get 1 power for hit";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 643 MovieClip "tl3a_1" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "base accuracy: 85%";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 646 MovieClip "tl3a_2" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "50% shance to critical strike";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 649 MovieClip "tl3a_3" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "recharge time decreased";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 652 MovieClip "tl3a_4" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "get 1 power for hit";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 643 MovieClip "tl2a_1" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "base accuracy: 85%";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 646 MovieClip "tl2a_2" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "50% shance to critical strike";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 649 MovieClip "tl2a_3" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "recharge time decreased";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 652 MovieClip "tl2a_4" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "get 1 power for hit";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 643 MovieClip "tl1a_1" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "base accuracy: 85%";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 646 MovieClip "tl1a_2" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "50% shance to critical strike";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 649 MovieClip "tl1a_3" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "recharge time decreased";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 652 MovieClip "tl1a_4" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "get 1 power for hit";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 655 MovieClip "bw_haste" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "power regeneration speed increased";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 655 MovieClip "gw_haste" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "power regeneration speed increased";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 658 MovieClip "bw_akk" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "base accuracy: 90%";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 658 MovieClip "gw_akk" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (rollOver) {
_root.the_pause.line_2.text = "base accuracy: 90%";
_root.the_pause.errorline.text = "";
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.line_3.text = "";
}
onClipEvent (enterFrame) {
if (this._currentframe == 12) {
gotoAndStop (13);
}
}
Instance of Symbol 669 MovieClip "alch" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
var rand_cry;
}
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
rand_cry = Math.round(Math.random() * 2);
switch (rand_cry) {
case 0 :
_root.the_pause.sl1.cry = 2;
break;
case 1 :
_root.the_pause.sl1.cry = 3;
break;
case 2 :
_root.the_pause.sl1.cry = 4;
}
_root.the_pause.sl1.gotoAndStop(_root.the_pause.sl1.cry);
this.gotoAndStop(1);
}
}
Instance of Symbol 674 MovieClip "sounder" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.sound_enable == 1) {
_root.mframe.sound_enable = 0;
this.gotoAndStop(2);
} else {
_root.mframe.sound_enable = 1;
this.gotoAndStop(1);
}
_root.the_pause.line_1.text = "";
}
on (rollOver) {
_root.the_pause.line_1.text = "Sound";
if (_root.mframe.sound_enable == 1) {
_root.the_pause.line_2.text = "ON";
} else {
_root.the_pause.line_2.text = "OFF";
}
_root.the_pause.errorline.text = "";
_root.the_pause.podsvet.play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.errorline.text = "";
_root.the_pause.podsvet.gotoAndPlay(12);
}
onClipEvent (enterFrame) {
if (_root.the_pause.podsvet._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (_root.the_pause.podsvet._currentframe == 10) {
_root.the_pause.podsvet.gotoAndStop(11);
}
if (_root.the_pause.podsvet._currentframe == _root.the_pause.podsvet._totalframes) {
_root.the_pause.podsvet.gotoAndStop(1);
}
}
Instance of Symbol 677 MovieClip "theend" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("pressmenu.wav");
_root.soundFX.start();
}
_root.mframe.pause_time = false;
_root.the_pause._visible = false;
_root.the_clouds.play();
_root.tomenumain.gotoAndStop(1);
_root.the_pause.tower_l3_strelka._visible = true;
_root.mframe.t_l3 = false;
_root.tower_l3._visible = false;
_root.the_pause.tl3_s._y = 406.8;
_root.the_pause.tl3_1._y = 386;
_root.the_pause.tl3_2._y = 365.5;
_root.the_pause.tl3_3._y = 429.4;
_root.the_pause.tl3_4._y = 407.8;
_root.the_pause.tower_l2_strelka._visible = true;
_root.mframe.t_l2 = false;
_root.tower_l2._visible = false;
_root.the_pause.tl2_s._y = 508.4;
_root.the_pause.tl2_1._y = 487;
_root.the_pause.tl2_2._y = 466;
_root.the_pause.tl2_3._y = 529.1;
_root.the_pause.tl2_4._y = 509.4;
_root.the_pause.tower_l1_strelka._visible = true;
_root.mframe.t_l1 = false;
_root.tower_l1._visible = false;
_root.the_pause.tl1_s._y = 606.5;
_root.the_pause.tl1_1._y = 586;
_root.the_pause.tl1_2._y = 565;
_root.the_pause.tl1_3._y = 628;
_root.the_pause.tl1_4._y = 608;
_root.the_pause.tower_r3_strelka._visible = true;
_root.mframe.t_r3 = false;
_root.tower_r3._visible = false;
_root.the_pause.tr3_s._y = 406;
_root.the_pause.tr3_1._y = 386;
_root.the_pause.tr3_2._y = 364.6;
_root.the_pause.tr3_3._y = 428;
_root.the_pause.tr3_4._y = 406;
_root.the_pause.tower_r2_strelka._visible = true;
_root.mframe.t_r2 = false;
_root.tower_r2._visible = false;
_root.the_pause.tr2_s._y = 507;
_root.the_pause.tr2_1._y = 485.4;
_root.the_pause.tr2_2._y = 464.1;
_root.the_pause.tr2_3._y = 528.8;
_root.the_pause.tr2_4._y = 507.1;
_root.the_pause.tower_r1_strelka._visible = true;
_root.mframe.t_r1 = false;
_root.tower_r1._visible = false;
_root.the_pause.tr1_s._y = 608;
_root.the_pause.tr1_1._y = 588;
_root.the_pause.tr1_2._y = 565.5;
_root.the_pause.tr1_3._y = 630;
_root.the_pause.tr1_4._y = 609.5;
_root.the_pause.tower_l3_strelka.gotoAndStop(1);
_root.the_pause.tower_l2_strelka.gotoAndStop(1);
_root.the_pause.tower_l1_strelka.gotoAndStop(1);
_root.the_pause.tower_r3_strelka.gotoAndStop(1);
_root.the_pause.tower_r2_strelka.gotoAndStop(1);
_root.the_pause.tower_r1_strelka.gotoAndStop(1);
_root.the_pause.tl3a_1._x = 5000;
_root.the_pause.tl3a_1._y = 5000;
_root.the_pause.tl3a_2._x = 5000;
_root.the_pause.tl3a_2._y = 5000;
_root.the_pause.tl3a_3._x = 5000;
_root.the_pause.tl3a_3._y = 5000;
_root.the_pause.tl3a_4._x = 5000;
_root.the_pause.tl3a_4._y = 5000;
_root.the_pause.tl2a_1._x = 5000;
_root.the_pause.tl2a_1._y = 5000;
_root.the_pause.tl2a_2._x = 5000;
_root.the_pause.tl2a_2._y = 5000;
_root.the_pause.tl2a_3._x = 5000;
_root.the_pause.tl2a_3._y = 5000;
_root.the_pause.tl2a_4._x = 5000;
_root.the_pause.tl2a_4._y = 5000;
_root.the_pause.tl1a_1._x = 5000;
_root.the_pause.tl1a_1._y = 5000;
_root.the_pause.tl1a_2._x = 5000;
_root.the_pause.tl1a_2._y = 5000;
_root.the_pause.tl1a_3._x = 5000;
_root.the_pause.tl1a_3._y = 5000;
_root.the_pause.tl1a_4._x = 5000;
_root.the_pause.tl1a_4._y = 5000;
_root.the_pause.tr3a_1._x = 5000;
_root.the_pause.tr3a_1._y = 5000;
_root.the_pause.tr3a_2._x = 5000;
_root.the_pause.tr3a_2._y = 5000;
_root.the_pause.tr3a_3._x = 5000;
_root.the_pause.tr3a_3._y = 5000;
_root.the_pause.tr3a_4._x = 5000;
_root.the_pause.tr3a_4._y = 5000;
_root.the_pause.tr2a_1._x = 5000;
_root.the_pause.tr2a_1._y = 5000;
_root.the_pause.tr2a_2._x = 5000;
_root.the_pause.tr2a_2._y = 5000;
_root.the_pause.tr2a_3._x = 5000;
_root.the_pause.tr2a_3._y = 5000;
_root.the_pause.tr2a_4._x = 5000;
_root.the_pause.tr2a_4._y = 5000;
_root.the_pause.tr1a_1._x = 5000;
_root.the_pause.tr1a_1._y = 5000;
_root.the_pause.tr1a_2._x = 5000;
_root.the_pause.tr1a_2._y = 5000;
_root.the_pause.tr1a_3._x = 5000;
_root.the_pause.tr1a_3._y = 5000;
_root.the_pause.tr1a_4._x = 5000;
_root.the_pause.tr1a_4._y = 5000;
_root.the_pause.tl3_s._visible = true;
_root.the_pause.tl3_1._visible = true;
_root.the_pause.tl3_2._visible = true;
_root.the_pause.tl3_3._visible = true;
_root.the_pause.tl3_4._visible = true;
_root.the_pause.tl2_s._visible = true;
_root.the_pause.tl2_1._visible = true;
_root.the_pause.tl2_2._visible = true;
_root.the_pause.tl2_3._visible = true;
_root.the_pause.tl2_4._visible = true;
_root.the_pause.tl1_s._visible = true;
_root.the_pause.tl1_1._visible = true;
_root.the_pause.tl1_2._visible = true;
_root.the_pause.tl1_3._visible = true;
_root.the_pause.tl1_4._visible = true;
_root.the_pause.tr3_s._visible = true;
_root.the_pause.tr3_1._visible = true;
_root.the_pause.tr3_2._visible = true;
_root.the_pause.tr3_3._visible = true;
_root.the_pause.tr3_4._visible = true;
_root.the_pause.tr2_s._visible = true;
_root.the_pause.tr2_1._visible = true;
_root.the_pause.tr2_2._visible = true;
_root.the_pause.tr2_3._visible = true;
_root.the_pause.tr2_4._visible = true;
_root.the_pause.tr1_s._visible = true;
_root.the_pause.tr1_1._visible = true;
_root.the_pause.tr1_2._visible = true;
_root.the_pause.tr1_3._visible = true;
_root.the_pause.tr1_4._visible = true;
_root.the_pause.tl3_s.gotoAndStop(1);
_root.the_pause.tl3_1.gotoAndStop(1);
_root.the_pause.tl3_2.gotoAndStop(1);
_root.the_pause.tl3_3.gotoAndStop(1);
_root.the_pause.tl3_4.gotoAndStop(1);
_root.the_pause.tl2_s.gotoAndStop(1);
_root.the_pause.tl2_1.gotoAndStop(1);
_root.the_pause.tl2_2.gotoAndStop(1);
_root.the_pause.tl2_3.gotoAndStop(1);
_root.the_pause.tl2_4.gotoAndStop(1);
_root.the_pause.tl1_s.gotoAndStop(1);
_root.the_pause.tl1_1.gotoAndStop(1);
_root.the_pause.tl1_2.gotoAndStop(1);
_root.the_pause.tl1_3.gotoAndStop(1);
_root.the_pause.tl1_4.gotoAndStop(1);
_root.the_pause.tr3_s.gotoAndStop(1);
_root.the_pause.tr3_1.gotoAndStop(1);
_root.the_pause.tr3_2.gotoAndStop(1);
_root.the_pause.tr3_3.gotoAndStop(1);
_root.the_pause.tr3_4.gotoAndStop(1);
_root.the_pause.tr2_s.gotoAndStop(1);
_root.the_pause.tr2_1.gotoAndStop(1);
_root.the_pause.tr2_2.gotoAndStop(1);
_root.the_pause.tr2_3.gotoAndStop(1);
_root.the_pause.tr2_4.gotoAndStop(1);
_root.the_pause.tr1_s.gotoAndStop(1);
_root.the_pause.tr1_1.gotoAndStop(1);
_root.the_pause.tr1_2.gotoAndStop(1);
_root.the_pause.tr1_3.gotoAndStop(1);
_root.the_pause.tr1_4.gotoAndStop(1);
_root.the_pause.bw_haste._x = 6000;
_root.the_pause.bw_haste._y = 6000;
_root.the_pause.gw_haste._x = 6000;
_root.the_pause.gw_haste._y = 6000;
_root.the_pause.bw_akk._x = 6000;
_root.the_pause.bw_akk._y = 6000;
_root.the_pause.gw_akk._x = 6000;
_root.the_pause.gw_akk._y = 6000;
_root.the_pause.upab._visible = true;
_root.the_pause.upag._visible = true;
_root.the_pause.upabm._visible = true;
_root.the_pause.upagm._visible = true;
_root.the_pause.upab.gotoAndStop(1);
_root.the_pause.upag.gotoAndStop(1);
_root.the_pause.upabm.gotoAndStop(1);
_root.the_pause.upagm.gotoAndStop(1);
_root.the_pause.b_slot.cry = 1;
_root.the_pause.b_slot.gotoAndStop(1);
_root.the_pause.g_slot.cry = 1;
_root.the_pause.g_slot.gotoAndStop(1);
_root.the_pause.tl3_s.cry = 1;
_root.the_pause.tl3_s.gotoAndStop(1);
_root.the_pause.tl2_s.cry = 1;
_root.the_pause.tl2_s.gotoAndStop(1);
_root.the_pause.tl1_s.cry = 1;
_root.the_pause.tl1_s.gotoAndStop(1);
_root.the_pause.tr3_s.cry = 1;
_root.the_pause.tr3_s.gotoAndStop(1);
_root.the_pause.tr2_s.cry = 1;
_root.the_pause.tr2_s.gotoAndStop(1);
_root.the_pause.tr1_s.cry = 1;
_root.the_pause.tr1_s.gotoAndStop(1);
_root.the_pause.sl1.cry = 1;
_root.the_pause.sl1.gotoAndStop(1);
_root.the_pause.sl2.cry = 1;
_root.the_pause.sl2.gotoAndStop(1);
_root.the_pause.sl3_s.cry = 1;
_root.the_pause.sl3.gotoAndStop(1);
_root.the_pause.sl4.cry = 1;
_root.the_pause.sl4.gotoAndStop(1);
_root.the_pause.sl5.cry = 1;
_root.the_pause.sl5.gotoAndStop(1);
_root.the_pause.sl6.cry = 1;
_root.the_pause.sl6.gotoAndStop(1);
_root.blind_info.text = "";
_root.blind.started = 0;
_root.blind._visible = false;
_root.blind.gotoAndStop(1);
_root.mframe.per1_h = 1;
_root.mframe.per2_h = 1;
_root.pers_ra._visible = false;
_root.pers_r0._visible = false;
_root.pers_r1._visible = false;
_root.pers_r2._visible = false;
_root.pers_r3._visible = false;
_root.pers_r4._visible = false;
_root.pers_r5._visible = false;
_root.pers_r6._visible = false;
_root.pers_r7._visible = false;
_root.pers_r8._visible = false;
_root.pers_r9._visible = false;
_root.pers_la._visible = false;
_root.pers_l0._visible = false;
_root.pers_l1._visible = false;
_root.pers_l2._visible = false;
_root.pers_l3._visible = false;
_root.pers_l4._visible = false;
_root.pers_l5._visible = false;
_root.pers_l6._visible = false;
_root.pers_l7._visible = false;
_root.pers_l8._visible = false;
_root.pers_l9._visible = false;
_root.the_pause.c0.crys = 0;
_root.the_pause.c0.sloto = 0;
_root.the_pause.podb.gotoAndStop(1);
_root.the_pause.podb2.gotoAndStop(1);
_root.the_pause.podg.gotoAndStop(1);
_root.the_pause.podg2.gotoAndStop(1);
_root.mainmenu._visible = true;
_root.mframe.the_game = 0;
}
on (rollOver) {
_root.the_pause.line_1.text = "EXIT TO MAIN MENU";
_root.the_pause.line_2.text = "Reset current game";
_root.the_pause.errorline.text = "";
play();
}
on (rollOut) {
_root.the_pause.line_1.text = "";
_root.the_pause.line_2.text = "";
_root.the_pause.errorline.text = "";
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 680 MovieClip "c0" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
var crys = 0;
var sloto = 0;
stop();
_root.the_pause.c0.startDrag();
}
onClipEvent (enterFrame) {
}
Instance of Symbol 687 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
}
Instance of Symbol 691 MovieClip "dieback" in Symbol 701 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("pressmenu.wav");
_root.soundFX.start();
}
_root.die.congratulations._visible = false;
_root.mframe.pause_time = false;
_root.the_pause._visible = false;
_root.the_clouds.play();
_root.tomenumain.gotoAndStop(1);
_root.the_pause.tower_l3_strelka._visible = true;
_root.mframe.t_l3 = false;
_root.tower_l3._visible = false;
_root.the_pause.tl3_s._y = 406.8;
_root.the_pause.tl3_1._y = 386;
_root.the_pause.tl3_2._y = 365.5;
_root.the_pause.tl3_3._y = 429.4;
_root.the_pause.tl3_4._y = 407.8;
_root.the_pause.tower_l2_strelka._visible = true;
_root.mframe.t_l2 = false;
_root.tower_l2._visible = false;
_root.the_pause.tl2_s._y = 508.4;
_root.the_pause.tl2_1._y = 487;
_root.the_pause.tl2_2._y = 466;
_root.the_pause.tl2_3._y = 529.1;
_root.the_pause.tl2_4._y = 509.4;
_root.the_pause.tower_l1_strelka._visible = true;
_root.mframe.t_l1 = false;
_root.tower_l1._visible = false;
_root.the_pause.tl1_s._y = 606.5;
_root.the_pause.tl1_1._y = 586;
_root.the_pause.tl1_2._y = 565;
_root.the_pause.tl1_3._y = 628;
_root.the_pause.tl1_4._y = 608;
_root.the_pause.tower_r3_strelka._visible = true;
_root.mframe.t_r3 = false;
_root.tower_r3._visible = false;
_root.the_pause.tr3_s._y = 406;
_root.the_pause.tr3_1._y = 386;
_root.the_pause.tr3_2._y = 364.6;
_root.the_pause.tr3_3._y = 428;
_root.the_pause.tr3_4._y = 406;
_root.the_pause.tower_r2_strelka._visible = true;
_root.mframe.t_r2 = false;
_root.tower_r2._visible = false;
_root.the_pause.tr2_s._y = 507;
_root.the_pause.tr2_1._y = 485.4;
_root.the_pause.tr2_2._y = 464.1;
_root.the_pause.tr2_3._y = 528.8;
_root.the_pause.tr2_4._y = 507.1;
_root.the_pause.tower_r1_strelka._visible = true;
_root.mframe.t_r1 = false;
_root.tower_r1._visible = false;
_root.the_pause.tr1_s._y = 608;
_root.the_pause.tr1_1._y = 588;
_root.the_pause.tr1_2._y = 565.5;
_root.the_pause.tr1_3._y = 630;
_root.the_pause.tr1_4._y = 609.5;
_root.the_pause.tower_l3_strelka.gotoAndStop(1);
_root.the_pause.tower_l2_strelka.gotoAndStop(1);
_root.the_pause.tower_l1_strelka.gotoAndStop(1);
_root.the_pause.tower_r3_strelka.gotoAndStop(1);
_root.the_pause.tower_r2_strelka.gotoAndStop(1);
_root.the_pause.tower_r1_strelka.gotoAndStop(1);
_root.the_pause.tl3a_1._x = 5000;
_root.the_pause.tl3a_1._y = 5000;
_root.the_pause.tl3a_2._x = 5000;
_root.the_pause.tl3a_2._y = 5000;
_root.the_pause.tl3a_3._x = 5000;
_root.the_pause.tl3a_3._y = 5000;
_root.the_pause.tl3a_4._x = 5000;
_root.the_pause.tl3a_4._y = 5000;
_root.the_pause.tl2a_1._x = 5000;
_root.the_pause.tl2a_1._y = 5000;
_root.the_pause.tl2a_2._x = 5000;
_root.the_pause.tl2a_2._y = 5000;
_root.the_pause.tl2a_3._x = 5000;
_root.the_pause.tl2a_3._y = 5000;
_root.the_pause.tl2a_4._x = 5000;
_root.the_pause.tl2a_4._y = 5000;
_root.the_pause.tl1a_1._x = 5000;
_root.the_pause.tl1a_1._y = 5000;
_root.the_pause.tl1a_2._x = 5000;
_root.the_pause.tl1a_2._y = 5000;
_root.the_pause.tl1a_3._x = 5000;
_root.the_pause.tl1a_3._y = 5000;
_root.the_pause.tl1a_4._x = 5000;
_root.the_pause.tl1a_4._y = 5000;
_root.the_pause.tr3a_1._x = 5000;
_root.the_pause.tr3a_1._y = 5000;
_root.the_pause.tr3a_2._x = 5000;
_root.the_pause.tr3a_2._y = 5000;
_root.the_pause.tr3a_3._x = 5000;
_root.the_pause.tr3a_3._y = 5000;
_root.the_pause.tr3a_4._x = 5000;
_root.the_pause.tr3a_4._y = 5000;
_root.the_pause.tr2a_1._x = 5000;
_root.the_pause.tr2a_1._y = 5000;
_root.the_pause.tr2a_2._x = 5000;
_root.the_pause.tr2a_2._y = 5000;
_root.the_pause.tr2a_3._x = 5000;
_root.the_pause.tr2a_3._y = 5000;
_root.the_pause.tr2a_4._x = 5000;
_root.the_pause.tr2a_4._y = 5000;
_root.the_pause.tr1a_1._x = 5000;
_root.the_pause.tr1a_1._y = 5000;
_root.the_pause.tr1a_2._x = 5000;
_root.the_pause.tr1a_2._y = 5000;
_root.the_pause.tr1a_3._x = 5000;
_root.the_pause.tr1a_3._y = 5000;
_root.the_pause.tr1a_4._x = 5000;
_root.the_pause.tr1a_4._y = 5000;
_root.the_pause.tl3_s._visible = true;
_root.the_pause.tl3_1._visible = true;
_root.the_pause.tl3_2._visible = true;
_root.the_pause.tl3_3._visible = true;
_root.the_pause.tl3_4._visible = true;
_root.the_pause.tl2_s._visible = true;
_root.the_pause.tl2_1._visible = true;
_root.the_pause.tl2_2._visible = true;
_root.the_pause.tl2_3._visible = true;
_root.the_pause.tl2_4._visible = true;
_root.the_pause.tl1_s._visible = true;
_root.the_pause.tl1_1._visible = true;
_root.the_pause.tl1_2._visible = true;
_root.the_pause.tl1_3._visible = true;
_root.the_pause.tl1_4._visible = true;
_root.the_pause.tr3_s._visible = true;
_root.the_pause.tr3_1._visible = true;
_root.the_pause.tr3_2._visible = true;
_root.the_pause.tr3_3._visible = true;
_root.the_pause.tr3_4._visible = true;
_root.the_pause.tr2_s._visible = true;
_root.the_pause.tr2_1._visible = true;
_root.the_pause.tr2_2._visible = true;
_root.the_pause.tr2_3._visible = true;
_root.the_pause.tr2_4._visible = true;
_root.the_pause.tr1_s._visible = true;
_root.the_pause.tr1_1._visible = true;
_root.the_pause.tr1_2._visible = true;
_root.the_pause.tr1_3._visible = true;
_root.the_pause.tr1_4._visible = true;
_root.the_pause.tl3_s.gotoAndStop(1);
_root.the_pause.tl3_1.gotoAndStop(1);
_root.the_pause.tl3_2.gotoAndStop(1);
_root.the_pause.tl3_3.gotoAndStop(1);
_root.the_pause.tl3_4.gotoAndStop(1);
_root.the_pause.tl2_s.gotoAndStop(1);
_root.the_pause.tl2_1.gotoAndStop(1);
_root.the_pause.tl2_2.gotoAndStop(1);
_root.the_pause.tl2_3.gotoAndStop(1);
_root.the_pause.tl2_4.gotoAndStop(1);
_root.the_pause.tl1_s.gotoAndStop(1);
_root.the_pause.tl1_1.gotoAndStop(1);
_root.the_pause.tl1_2.gotoAndStop(1);
_root.the_pause.tl1_3.gotoAndStop(1);
_root.the_pause.tl1_4.gotoAndStop(1);
_root.the_pause.tr3_s.gotoAndStop(1);
_root.the_pause.tr3_1.gotoAndStop(1);
_root.the_pause.tr3_2.gotoAndStop(1);
_root.the_pause.tr3_3.gotoAndStop(1);
_root.the_pause.tr3_4.gotoAndStop(1);
_root.the_pause.tr2_s.gotoAndStop(1);
_root.the_pause.tr2_1.gotoAndStop(1);
_root.the_pause.tr2_2.gotoAndStop(1);
_root.the_pause.tr2_3.gotoAndStop(1);
_root.the_pause.tr2_4.gotoAndStop(1);
_root.the_pause.tr1_s.gotoAndStop(1);
_root.the_pause.tr1_1.gotoAndStop(1);
_root.the_pause.tr1_2.gotoAndStop(1);
_root.the_pause.tr1_3.gotoAndStop(1);
_root.the_pause.tr1_4.gotoAndStop(1);
_root.the_pause.bw_haste._x = 6000;
_root.the_pause.bw_haste._y = 6000;
_root.the_pause.gw_haste._x = 6000;
_root.the_pause.gw_haste._y = 6000;
_root.the_pause.bw_akk._x = 6000;
_root.the_pause.bw_akk._y = 6000;
_root.the_pause.gw_akk._x = 6000;
_root.the_pause.gw_akk._y = 6000;
_root.the_pause.upab._visible = true;
_root.the_pause.upag._visible = true;
_root.the_pause.upabm._visible = true;
_root.the_pause.upagm._visible = true;
_root.the_pause.upab.gotoAndStop(1);
_root.the_pause.upag.gotoAndStop(1);
_root.the_pause.upabm.gotoAndStop(1);
_root.the_pause.upagm.gotoAndStop(1);
_root.the_pause.b_slot.cry = 1;
_root.the_pause.b_slot.gotoAndStop(1);
_root.the_pause.g_slot.cry = 1;
_root.the_pause.g_slot.gotoAndStop(1);
_root.the_pause.tl3_s.cry = 1;
_root.the_pause.tl3_s.gotoAndStop(1);
_root.the_pause.tl2_s.cry = 1;
_root.the_pause.tl2_s.gotoAndStop(1);
_root.the_pause.tl1_s.cry = 1;
_root.the_pause.tl1_s.gotoAndStop(1);
_root.the_pause.tr3_s.cry = 1;
_root.the_pause.tr3_s.gotoAndStop(1);
_root.the_pause.tr2_s.cry = 1;
_root.the_pause.tr2_s.gotoAndStop(1);
_root.the_pause.tr1_s.cry = 1;
_root.the_pause.tr1_s.gotoAndStop(1);
_root.the_pause.sl1.cry = 1;
_root.the_pause.sl1.gotoAndStop(1);
_root.the_pause.sl2.cry = 1;
_root.the_pause.sl2.gotoAndStop(1);
_root.the_pause.sl3_s.cry = 1;
_root.the_pause.sl3.gotoAndStop(1);
_root.the_pause.sl4.cry = 1;
_root.the_pause.sl4.gotoAndStop(1);
_root.the_pause.sl5.cry = 1;
_root.the_pause.sl5.gotoAndStop(1);
_root.the_pause.sl6.cry = 1;
_root.the_pause.sl6.gotoAndStop(1);
_root.blind_info.text = "";
_root.blind.started = 0;
_root.blind._visible = false;
_root.blind.gotoAndStop(1);
_root.mframe.per1_h = 1;
_root.mframe.per2_h = 1;
_root.pers_ra._visible = false;
_root.pers_r0._visible = false;
_root.pers_r1._visible = false;
_root.pers_r2._visible = false;
_root.pers_r3._visible = false;
_root.pers_r4._visible = false;
_root.pers_r5._visible = false;
_root.pers_r6._visible = false;
_root.pers_r7._visible = false;
_root.pers_r8._visible = false;
_root.pers_r9._visible = false;
_root.pers_la._visible = false;
_root.pers_l0._visible = false;
_root.pers_l1._visible = false;
_root.pers_l2._visible = false;
_root.pers_l3._visible = false;
_root.pers_l4._visible = false;
_root.pers_l5._visible = false;
_root.pers_l6._visible = false;
_root.pers_l7._visible = false;
_root.pers_l8._visible = false;
_root.pers_l9._visible = false;
_root.the_pause.c0.crys = 0;
_root.the_pause.c0.sloto = 0;
_root.the_pause.podb.gotoAndStop(1);
_root.the_pause.podb2.gotoAndStop(1);
_root.the_pause.podg.gotoAndStop(1);
_root.the_pause.podg2.gotoAndStop(1);
_root.mainmenu._visible = true;
_root.mframe.the_game = 0;
_root.die._visible = false;
this.gotoAndStop(1);
_root.die.diesubmit.gotoAndStop(1);
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 694 MovieClip "diesubmit" in Symbol 701 MovieClip Frame 1
onClipEvent (load) {
stop();
var thegame = 0;
}
on (release) {
if (thegame == 1) {
var o = {n:[4, 14, 8, 10, 1, 10, 9, 3, 15, 1, 10, 10, 2, 4, 1, 13], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, score:_root.mframe.the_score, onClose:function () {
_root.stop();
}});
}
if (thegame == 2) {
var o = {n:[10, 9, 15, 2, 4, 8, 14, 14, 11, 7, 15, 10, 1, 7, 6, 12], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, score:_root.mframe.the_score, onClose:function () {
_root.stop();
}});
}
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 700 MovieClip "congratulations" in Symbol 701 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 705 MovieClip in Symbol 739 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
}
Instance of Symbol 713 MovieClip "menuplay" in Symbol 739 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
_root.mainmenu.menuhelp._visible = false;
_root.mainmenu.menucredits._visible = false;
_root.mainmenu.menuhigh._visible = false;
_root.mainmenu.menumore._visible = false;
_root.mainmenu.menuplay._visible = false;
_root.mainmenu.modeb._visible = true;
_root.mainmenu.mode1._visible = true;
_root.mainmenu.mode2._visible = true;
this.gotoAndStop(1);
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (11);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 10) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 716 MovieClip "menuhelp" in Symbol 739 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
_root.mainhelp.hpage1._visible = true;
_root.mainhelp.hpage2._visible = false;
_root.mainhelp.hpage3._visible = false;
_root.mainhelp.hpage4._visible = false;
_root.mainhelp.pag1._y = -209.9;
_root.mainhelp.pag2._y = -222.9;
_root.mainhelp.pag3._y = -222.9;
_root.mainhelp.pag4._y = -222.9;
_root.mainhelp._visible = true;
_root.mainmenu._visible = false;
this.gotoAndStop(1);
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (11);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 10) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 719 MovieClip "menucredits" in Symbol 739 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
_root.credits._visible = true;
_root.mainmenu._visible = false;
this.gotoAndStop(1);
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (11);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 10) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 722 MovieClip "menuhigh" in Symbol 739 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
_root.mainmenu.menuhelp._visible = false;
_root.mainmenu.menucredits._visible = false;
_root.mainmenu.menuhigh._visible = false;
_root.mainmenu.menumore._visible = false;
_root.mainmenu.menuplay._visible = false;
_root.mainmenu.hhigh._visible = true;
_root.mainmenu.hbasic._visible = true;
_root.mainmenu.hsurvival._visible = true;
_root.mainmenu.hback._visible = true;
this.gotoAndStop(1);
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (11);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 10) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 725 MovieClip "menumore" in Symbol 739 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (release) {
_root.getURL("http://inavatars.ucoz.com/news/2009-07-24-3");
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (11);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 10) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 728 MovieClip "modeb" in Symbol 739 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
stop();
}
on (press) {
_root.mainmenu.modeb._visible = false;
_root.mainmenu.mode1._visible = false;
_root.mainmenu.mode2._visible = false;
_root.mainmenu.menuplay._visible = true;
_root.mainmenu.menuhelp._visible = true;
_root.mainmenu.menucredits._visible = true;
_root.mainmenu.menuhigh._visible = true;
_root.mainmenu.menumore._visible = true;
this.gotoAndStop(1);
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (11);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 10) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 731 MovieClip "mode1" in Symbol 739 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
stop();
}
on (press) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("pressmenu.wav");
_root.soundFX.start();
}
_root.mainmenu._visible = false;
this.gotoAndStop(1);
_root.the_pause.theend.gotoAndStop(1);
_root.mframe.the_score = 0;
_root.mframe.coord_x = 0;
_root.mframe.coord_y = 0;
_root.mframe.i = 0;
_root.mframe.bullet_time1 = false;
_root.mframe.bullet_time2 = false;
_root.mframe.per1_h = 0;
_root.mframe.per2_h = 0;
_root.mframe.per1_akk = 75;
_root.mframe.per2_akk = 75;
_root.mframe.per1_dm = 1;
_root.mframe.per2_dm = 1;
_root.mframe.per1_haste = 0;
_root.mframe.per2_haste = 0;
_root.mframe.energy = 300;
_root.mframe.castle_hp = 90;
_root.mframe.pause_time = false;
_root.mframe.t_r1 = false;
_root.mframe.t_r2 = false;
_root.mframe.t_r3 = false;
_root.mframe.t_l1 = false;
_root.mframe.t_l2 = false;
_root.mframe.t_l3 = false;
_root.mframe.t_r1_akk = 75;
_root.mframe.t_r2_akk = 75;
_root.mframe.t_r3_akk = 75;
_root.mframe.t_l1_akk = 75;
_root.mframe.t_l2_akk = 75;
_root.mframe.t_l3_akk = 75;
_root.mframe.t_r1_dm = 1;
_root.mframe.t_r2_dm = 1;
_root.mframe.t_r3_dm = 1;
_root.mframe.t_l1_dm = 1;
_root.mframe.t_l2_dm = 1;
_root.mframe.t_l3_dm = 1;
_root.mframe.t_r1_crit = 0;
_root.mframe.t_r2_crit = 0;
_root.mframe.t_r3_crit = 0;
_root.mframe.t_l1_crit = 0;
_root.mframe.t_l2_crit = 0;
_root.mframe.t_l3_crit = 0;
_root.mframe.t_r1_haste = 0;
_root.mframe.t_r2_haste = 0;
_root.mframe.t_r3_haste = 0;
_root.mframe.t_l1_haste = 0;
_root.mframe.t_l2_haste = 0;
_root.mframe.t_l3_haste = 0;
_root.mframe.t_r1_mana = 0;
_root.mframe.t_r2_mana = 0;
_root.mframe.t_r3_mana = 0;
_root.mframe.t_l1_mana = 0;
_root.mframe.t_l2_mana = 0;
_root.mframe.t_l3_mana = 0;
_root.mframe.bullTimer = 0;
_root.mframe.bullTimer2 = -600;
_root.mframe.bullTimer3 = -2000;
_root.mframe.bonusTimer = 0;
_root.mframe.roketwavenumber = 0;
_root.mframe.bulletwavenumber = 0;
_root.mframe.karwavenumber = 0;
_root.mframe.r = 0;
_root.mframe.bullTimerBl = -4000;
_root.mframe.blroketwavenumber = 0;
_root.mframe.bullTimerGo = -12000;
_root.mframe.goroketwavenumber = 0;
_root.mframe.bullTimerGh = -8000;
_root.mframe.ghwavenumber = 0;
_root.mframe.bullTimerFa = -5000;
_root.mframe.fawavenumber = 0;
_root.mframe.frogTimer = -400;
_root.mframe.start_milisek = getTimer();
_root.mframe.milisek;
_root.mframe.sek = 0;
_root.mframe.min = 0;
_root.mframe.hour = 0;
_root.mframe.sek_line = "0";
_root.mframe.min_line = "0";
_root.mframe.hour_line = "0";
_root.r1_shot.gotoAndStop(1);
_root.r2_shot.gotoAndStop(1);
_root.r3_shot.gotoAndStop(1);
_root.l1_shot.gotoAndStop(1);
_root.l2_shot.gotoAndStop(1);
_root.l3_shot.gotoAndStop(1);
_root.dayswaves.text = "";
_root.mframe.the_game = 2;
_root.mainmenu.modeb._visible = false;
_root.mainmenu.mode1._visible = false;
_root.mainmenu.mode2._visible = false;
_root.mainmenu.menuplay._visible = true;
_root.mainmenu.menuhelp._visible = true;
_root.mainmenu.menucredits._visible = true;
_root.mainmenu.menuhigh._visible = true;
_root.mainmenu.menumore._visible = true;
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (11);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 10) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 734 MovieClip "mode2" in Symbol 739 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
stop();
}
on (press) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("pressmenu.wav");
_root.soundFX.start();
}
_root.mainmenu._visible = false;
this.gotoAndStop(1);
_root.the_pause.theend.gotoAndStop(1);
_root.mframe.the_score = 0;
_root.mframe.coord_x = 0;
_root.mframe.coord_y = 0;
_root.mframe.i = 0;
_root.mframe.bullet_time1 = false;
_root.mframe.bullet_time2 = false;
_root.mframe.per1_h = 0;
_root.mframe.per2_h = 0;
_root.mframe.per1_akk = 75;
_root.mframe.per2_akk = 75;
_root.mframe.per1_dm = 1;
_root.mframe.per2_dm = 1;
_root.mframe.per1_haste = 0;
_root.mframe.per2_haste = 0;
_root.mframe.energy = 10;
_root.mframe.castle_hp = 100;
_root.mframe.pause_time = false;
_root.mframe.t_r1 = false;
_root.mframe.t_r2 = false;
_root.mframe.t_r3 = false;
_root.mframe.t_l1 = false;
_root.mframe.t_l2 = false;
_root.mframe.t_l3 = false;
_root.mframe.t_r1_akk = 75;
_root.mframe.t_r2_akk = 75;
_root.mframe.t_r3_akk = 75;
_root.mframe.t_l1_akk = 75;
_root.mframe.t_l2_akk = 75;
_root.mframe.t_l3_akk = 75;
_root.mframe.t_r1_dm = 1;
_root.mframe.t_r2_dm = 1;
_root.mframe.t_r3_dm = 1;
_root.mframe.t_l1_dm = 1;
_root.mframe.t_l2_dm = 1;
_root.mframe.t_l3_dm = 1;
_root.mframe.t_r1_crit = 0;
_root.mframe.t_r2_crit = 0;
_root.mframe.t_r3_crit = 0;
_root.mframe.t_l1_crit = 0;
_root.mframe.t_l2_crit = 0;
_root.mframe.t_l3_crit = 0;
_root.mframe.t_r1_haste = 0;
_root.mframe.t_r2_haste = 0;
_root.mframe.t_r3_haste = 0;
_root.mframe.t_l1_haste = 0;
_root.mframe.t_l2_haste = 0;
_root.mframe.t_l3_haste = 0;
_root.mframe.t_r1_mana = 0;
_root.mframe.t_r2_mana = 0;
_root.mframe.t_r3_mana = 0;
_root.mframe.t_l1_mana = 0;
_root.mframe.t_l2_mana = 0;
_root.mframe.t_l3_mana = 0;
_root.mframe.bullTimer = 0;
_root.mframe.bullTimer2 = -600;
_root.mframe.bullTimer3 = -2000;
_root.mframe.bonusTimer = 0;
_root.mframe.roketwavenumber = 0;
_root.mframe.bulletwavenumber = 0;
_root.mframe.karwavenumber = 0;
_root.mframe.r = 0;
_root.mframe.bullTimerBl = -4000;
_root.mframe.blroketwavenumber = 0;
_root.mframe.bullTimerGo = -12000;
_root.mframe.goroketwavenumber = 0;
_root.mframe.bullTimerGh = -8000;
_root.mframe.ghwavenumber = 0;
_root.mframe.bullTimerFa = -5000;
_root.mframe.fawavenumber = 0;
_root.mframe.frogTimer = -400;
_root.mframe.start_milisek = getTimer();
_root.mframe.milisek;
_root.mframe.sek = 0;
_root.mframe.min = 0;
_root.mframe.hour = 0;
_root.mframe.sek_line = "0";
_root.mframe.min_line = "0";
_root.mframe.hour_line = "0";
_root.r1_shot.gotoAndStop(1);
_root.r2_shot.gotoAndStop(1);
_root.r3_shot.gotoAndStop(1);
_root.l1_shot.gotoAndStop(1);
_root.l2_shot.gotoAndStop(1);
_root.l3_shot.gotoAndStop(1);
_root.dayswaves.text = "";
_root.mframe.the_game = 1;
_root.mainmenu.modeb._visible = false;
_root.mainmenu.mode1._visible = false;
_root.mainmenu.mode2._visible = false;
_root.mainmenu.menuplay._visible = true;
_root.mainmenu.menuhelp._visible = true;
_root.mainmenu.menucredits._visible = true;
_root.mainmenu.menuhigh._visible = true;
_root.mainmenu.menumore._visible = true;
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (11);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 10) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 735 MovieClip "hback" in Symbol 739 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
stop();
}
on (press) {
_root.mainmenu.hhigh._visible = false;
_root.mainmenu.hbasic._visible = false;
_root.mainmenu.hsurvival._visible = false;
_root.mainmenu.hback._visible = false;
_root.mainmenu.menuplay._visible = true;
_root.mainmenu.menuhelp._visible = true;
_root.mainmenu.menucredits._visible = true;
_root.mainmenu.menuhigh._visible = true;
_root.mainmenu.menumore._visible = true;
this.gotoAndStop(1);
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (11);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 10) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 736 MovieClip "hsurvival" in Symbol 739 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
stop();
}
on (release) {
var o = {n:[4, 14, 8, 10, 1, 10, 9, 3, 15, 1, 10, 10, 2, 4, 1, 13], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, onClose:function () {
_root.stop();
}});
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (11);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 10) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 737 MovieClip "hbasic" in Symbol 739 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
stop();
}
on (release) {
var o = {n:[10, 9, 15, 2, 4, 8, 14, 14, 11, 7, 15, 10, 1, 7, 6, 12], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, onClose:function () {
_root.stop();
}});
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (11);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 10) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 738 MovieClip "hhigh" in Symbol 739 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 743 MovieClip in Symbol 747 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
}
Instance of Symbol 746 MovieClip "btm2" in Symbol 747 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
gotoAndStop (1);
_root.mainmenu._visible = true;
_root.credits._visible = false;
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 746 MovieClip "btm" in Symbol 775 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
this.gotoAndStop(1);
_root.mainmenu._visible = true;
_root.mainhelp._visible = false;
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 750 MovieClip in Symbol 775 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
}
Instance of Symbol 746 MovieClip "btm" in Symbol 775 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
gotoAndStop (1);
_root.mainmenu._visible = true;
_root.mainhelp._visible = false;
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 753 MovieClip "pag1" in Symbol 775 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
_root.mainhelp.hpage1._visible = true;
_root.mainhelp.hpage2._visible = false;
_root.mainhelp.hpage3._visible = false;
_root.mainhelp.hpage4._visible = false;
_root.mainhelp.pag1._y = -209.9;
_root.mainhelp.pag2._y = -222.9;
_root.mainhelp.pag3._y = -222.9;
_root.mainhelp.pag4._y = -222.9;
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 756 MovieClip "pag2" in Symbol 775 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
_root.mainhelp.hpage1._visible = false;
_root.mainhelp.hpage2._visible = true;
_root.mainhelp.hpage3._visible = false;
_root.mainhelp.hpage4._visible = false;
_root.mainhelp.pag1._y = -222.9;
_root.mainhelp.pag2._y = -209.9;
_root.mainhelp.pag3._y = -222.9;
_root.mainhelp.pag4._y = -222.9;
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 759 MovieClip "pag3" in Symbol 775 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
_root.mainhelp.hpage1._visible = false;
_root.mainhelp.hpage2._visible = false;
_root.mainhelp.hpage3._visible = true;
_root.mainhelp.hpage4._visible = false;
_root.mainhelp.pag1._y = -222.9;
_root.mainhelp.pag2._y = -222.9;
_root.mainhelp.pag3._y = -209.9;
_root.mainhelp.pag4._y = -222.9;
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}
Instance of Symbol 762 MovieClip "pag4" in Symbol 775 MovieClip Frame 1
onClipEvent (load) {
stop();
}
on (press) {
_root.mainhelp.hpage1._visible = false;
_root.mainhelp.hpage2._visible = false;
_root.mainhelp.hpage3._visible = false;
_root.mainhelp.hpage4._visible = true;
_root.mainhelp.pag1._y = -222.9;
_root.mainhelp.pag2._y = -222.9;
_root.mainhelp.pag3._y = -222.9;
_root.mainhelp.pag4._y = -209.9;
}
on (rollOver) {
play();
}
on (rollOut) {
gotoAndPlay (12);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (_root.mframe.sound_enable == 1) {
_root.soundFX.attachSound("buttonsound.wav");
_root.soundFX.start();
}
}
if (this._currentframe == 11) {
stop();
}
if (this._currentframe == this._totalframes) {
gotoAndStop (1);
}
}