STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
235712
/disc/ · /res/   —   /show/ · /fap/ · /gg/ · /swf/P0001 · P2694 · P5387

<div style="position:absolute;top:-99px;left:-99px;"><img src="https://tools.swfchan.com/stathit.asp?noj=FRM44967647-29DC&rnd=44967647" width="1" height="1"></div>

20.swf

This is the info page for
Flash #269241

(Click the ID number above for more basic data on this flash file.)


Text
http://www.qingdaono1.com

THIS GAME IS EXCLUSIVELY FOR FREEONLINEGAMES.COM

Please click on the logo above to play the game.

FREE

ONLINE

GAMES.COM

Start Demo

Start Demo

Start Demo

Start Demo

疯狂坦克

开始游戏

更多游戏

开始游戏

更多游戏

分数排行

分数排行

1

<p align="right"><font face="宋体" size="12" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>灭敌数</b><font face="_sans"><b>:</b></font></font></p>

杀敌数:

0

0

<p align="right"><font face="宋体" size="12" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>射中数目:</b></font></p>

<p align="right"><font face="宋体" size="12" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>射击总数:</b></font></p>

0

0

<p align="right"><font face="宋体" size="12" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>正确性:</b></font></p>

0

闯关成功

闯关失败

祝贺您 通过所有关

目录

目录

no1访客

请输入姓名:

继续游戏

Continue

重新游戏

目录

back to main menu

分数:

0

发送分数

发送分数

按住空格键开始游戏

游戏暂停

LEVEL 2

游戏方法:
鼠标左键-开炮
W,S,A,D键-移动
空格键-暂停

<p align="left"><font face="_sans" size="60" color="#ffffff" letterSpacing="9.150000" kerning="0">C<font letterSpacing="6.950000">L<font letterSpacing="13.200000">A<font letterSpacing="6.350000">SS<font letterSpacing="-6.100000">I<font letterSpacing="7.200000">F</font>I<font letterSpacing="7.500000">E<font letterSpacing="0.000000">D</font></font></font></font></font></font></font></p><p align="left"></p>

<p align="left"><font face="_sans" size="14" color="#ffff00" letterSpacing="4.100000" kerning="0">m<font letterSpacing="3.100000">a<font letterSpacing="-1.450000">i<font letterSpacing="2.450000">n<font letterSpacing="-2.700000"> </font></font></font>m<font letterSpacing="1.750000">e<font letterSpacing="2.450000">n<font letterSpacing="0.000000">u</font></font></font></font></font></p><p align="left"></p>

<p align="left"><font face="_sans" size="14" color="#009900" letterSpacing="4.100000" kerning="0">m<font letterSpacing="3.100000">a<font letterSpacing="-1.450000">i<font letterSpacing="2.450000">n<font letterSpacing="-2.700000"> </font></font></font>m<font letterSpacing="1.750000">e<font letterSpacing="2.450000">n<font letterSpacing="0.000000">u</font></font></font></font></font></p><p align="left"></p>

ActionScript [AS1/AS2]

Frame 1
stop(); Stage.scaleMode = "noScale"; Stage.showMenu = false; Stage.align = "TL"; System.useCodepage = true; secureMovie = new Object(); secureMovie.auth_ret = true;
Instance of Symbol 43 MovieClip in Frame 1
on (release) { getURL ("http://www.qingdaono1.com", "_blank"); }
Frame 2
if (false) { }
Frame 8
stop(); fscommand ("allowscale", true); _global.myscore = 0; _root.lives = 5555; glevel = 1; ppause = false;
Frame 14
function gg(ss) { if (_root.glevel == 9) { _root.finalstagesound.stop(); } else { _root.levelsound.stop(); _root.awardsound.start(0, 99); } _root["ggmenu" + glevel]._visible = true; _root["ggmenu" + glevel].mgg(ss); } function slice(arrayname, index) { i = 0; while (i <= _root[arrayname].length) { if (_root[arrayname][i] == index) { _root[arrayname].splice(i, 1); } i++; } } function swapz(obj, type) { _root[obj].swapDepths(_root[type]); _root[type]++; } function getdmg(int) { _root.tank.hp = _root.tank.hp - int; } function t_countshot() { t_readyshot = true; t_z1 = true; } function path(px, py, pr, ps) { duplicateMovieClip ("path", "path_" + _root.pathdp, pathdp); _root["path_" + _root.pathdp]._x = px; _root["path_" + _root.pathdp]._y = py; _root["path_" + _root.pathdp]._width = ps; _root["path_" + _root.pathdp]._rotation = pr; _root.pathdp++; } function boom(bx, by, bs) { boom_ns.start(); boomdp++; duplicateMovieClip ("boom", "boom_" + _root.boomdp, boomdp); _root["boom_" + _root.boomdp]._x = bx; _root["boom_" + _root.boomdp]._y = by; _root["boom_" + _root.boomdp]._height = bs; _root["boom_" + _root.boomdp]._width = bs; } function booms(bx, by, bs) { boomsdp++; duplicateMovieClip ("booms", "booms_" + _root.boomsdp, boomsdp); _root["booms_" + _root.boomsdp]._x = bx; _root["booms_" + _root.boomsdp]._y = by; _root["booms_" + _root.boomsdp]._height = bs; _root["booms_" + _root.boomsdp]._width = bs; } function re() { do { removeMovieClip(getInstanceAtDepth(getNextHighestDepth() - 1)); } while ((getNextHighestDepth() - 1) > 0); _root.coversound.stop(); gotoAndStop ("re"); } function rem() { do { removeMovieClip(getInstanceAtDepth(getNextHighestDepth() - 1)); } while ((getNextHighestDepth() - 1) > 0); gotoAndStop ("Menu"); } function swapn(nm) { _root[nm]._name = nm + namedp; _root.namedp = _root.namedp + 1; } function htTest(trg) { cx1 = tank._x; cy1 = tank._y; cx2 = tank._x + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy2 = tank._y - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx3 = tank._x - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy3 = tank._y + (20 * Math.cos(tank.body._rotation * 0.01745329)); cx4 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy4 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx5 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy5 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx6 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy6 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx6 = cx6 + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy6 = cy6 - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx7 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy7 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx7 = cx7 + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy7 = cy7 - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx8 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy8 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx8 = cx8 - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy8 = cy8 + (20 * Math.cos(tank.body._rotation * 0.01745329)); cx9 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy9 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx9 = cx9 - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy9 = cy9 + (20 * Math.cos(tank.body._rotation * 0.01745329)); if ((((((((_root[trg].hitTest(cx1, cy1, false) || (_root[trg].hitTest(cx2, cy2, false))) || (_root[trg].hitTest(cx3, cy3, false))) || (_root[trg].hitTest(cx4, cy4, false))) || (_root[trg].hitTest(cx5, cy5, false))) || (_root[trg].hitTest(cx6, cy6, false))) || (_root[trg].hitTest(cx7, cy7, false))) || (_root[trg].hitTest(cx8, cy8, false))) || (_root[trg].hitTest(cx9, cy9, false))) { return(true); } return(false); } tank.hp = 1000; namedp = 1; boomsdp = 300; obj0dp = 400; pathdp = 500; objdp = 1100; shotdp = 2010; boomdp = 2101; obj2dp = 2201; menudp = 3001; var keyListener = new Object(); var pauseListener = new Object(); var gameoversound = new Sound(); gameoversound.attachSound("negativefinish"); var finalstagesound = new Sound(); finalstagesound.attachSound("finalstagesound"); var awardsound = new Sound(); awardsound.attachSound("awarding"); var endsound = new Sound(); endsound.attachSound("endsound"); var levelsound = new Sound(); levelsound.attachSound("levelsound"); var boom_ns = new Sound(); boom_ns.attachSound("boom_s"); var cg_ns = new Sound(); cg_ns.attachSound("cg_s"); var rl_ns = new Sound(); rl_ns.attachSound("rl_s"); var ss_ns = new Sound(); ss_ns.attachSound("ss_s"); var back_ns = new Sound(); back_ns.attachSound("back_s"); objmaxsize = 90; enemyKilled = 0; enemySurvived = 0; totalShots = 0; hitShots = 0; terArray = new Array(); lose = false; ggame = false; aa = _root._url; isDown = false; isToggle = true; t_readyshot = false; t_z1 = true; speed = 0; i = 0; ilk = 0; time = 0; duplicateMovieClip ("t_shot", "t_shot_1", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_2", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_3", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_4", _root.shotdp); _root.shotdp++; _root.t_shot_1._x = 200000 /* 0x030D40 */; _root.t_shot_1._y = 200000 /* 0x030D40 */; _root.t_shot_2._x = 200000 /* 0x030D40 */; _root.t_shot_2._y = 200000 /* 0x030D40 */; _root.t_shot_3._x = 200000 /* 0x030D40 */; _root.t_shot_3._y = 200000 /* 0x030D40 */; _root.t_shot_4._x = 200000 /* 0x030D40 */; _root.t_shot_4._y = 200000 /* 0x030D40 */; boss.swapDepths(2003); tank.swapDepths(2002); _root.terArray.push("tank"); onEnterFrame = function () { if (!_root.ppause) { if (_root.tank.hp > 0) { time++; } if (((time >= leveltime) && (terArray.length <= 1)) && (lose == false)) { ggame = true; setTimeout(gg, 100, 1); lose = true; } if ((_root.tank.hp <= 0) && (lose == false)) { boom(tank._x, tank._y, 100); boom(tank._x - 5, tank._y + 4, 150); booms(tank._x, tank._y, 100); _root["stats" + glevel].m_hp.gotoAndStop(11); _root.lives = _root.lives - 1; _root.tank.hp = 0; if (_root.lives <= 0) { setTimeout(gg, 2000, 3); } else { setTimeout(gg, 2000, 2); } lose = true; tank.removeMovieClip(); } if (_root.tank.hp > 0) { _root["stats" + glevel].m_hp.gotoAndStop(11 - Math.ceil(_root.tank.hp / 100)); } _root["stats" + glevel].m_lv.gotoAndStop(6 - _root.lives); if (boomsdp >= 399) { boomsdp = 300; } if (pathdp >= 1000) { pathdp = 500; } if (terArray.length >= 7) { if (boomdp >= 2115) { boomdp = 2101; } } else if (boomdp >= 2200) { boomdp = 2101; } if (shotdp >= 2100) { shotdp = 2011; } if (objdp >= 2000) { objdp = 1100; } if (obj0dp >= 499) { obj0dp = 400; } if (obj2dp >= 3000) { shotdp = 2200; } if ((speed >= -0.2) && (speed <= 0.2)) { speed = 0; } else if (Key.isDown(39) || (Key.isDown(37))) { path(tank._x, tank._y, tank.body._rotation); } if ((speed - 0.2) >= 0) { speed = speed - 0.2; } if ((speed + 0.2) <= 0) { speed = speed + 0.2; } tank._x = tank._x + (speed * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (speed * Math.cos(tank.body._rotation * 0.01745329)); if (tilemap._y >= (-((tilemap._height / 2) - 500))) { tilemap._y = (-tilemap._height) + 500; } if (!ggame) { tilemap._y = tilemap._y + 1; } if (tank._y > 401) { tank._y = 401; path(tank._x, tank._y, 0); } if (tank._y < 20) { tank._y = 20; } if (tank._x < 20) { tank._x = 20; } if (tank._x > 530) { tank._x = 530; } if (!ggame) { tank._y = tank._y + 1; } if (lose == false) { if (Key.isDown(68)) { tank.body._rotation = tank.body._rotation + 2; if (speed >= 3) { tank.body._rotation = tank.body._rotation + 3; } if (((!Key.isDown(83)) && (!Key.isDown(87))) && (speed == 0)) { tank._x = tank._x + (0.5 * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (0.5 * Math.cos(tank.body._rotation * 0.01745329)); } } if (Key.isDown(65)) { tank.body._rotation = tank.body._rotation - 2; if (speed >= 3) { tank.body._rotation = tank.body._rotation - 3; } if (((!Key.isDown(87)) && (!Key.isDown(83))) && (speed == 0)) { tank._x = tank._x + (0.5 * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (0.5 * Math.cos(tank.body._rotation * 0.01745329)); } } if (Key.isDown(87)) { if ((speed + 0.5) <= 4) { speed = speed + 0.5; } } if (Key.isDown(83)) { if ((speed - 0.5) >= -3) { speed = speed - 0.5; } } if (t_readyshot == false) { if (t_z1 == true) { t_z1 = false; intervalId = setTimeout(t_countshot, 500); } } } } if (Key.isDown(32)) { if (!_root.ppause) { _root.ppause = true; _root.pmenu._visible = true; } else { _root.ppause = false; _root.pmenu._visible = false; } } }; onMouseDown = function () { isDown = true; }; onMouseUp = function () { isDown = false; }; tank.onEnterFrame = function () { if (!_root.ppause) { if (lose == false) { delta_x = this._x - _xmouse; delta_y = this._y - _ymouse; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (isDown) { tilemap.collapse(); if (t_readyshot) { ilk++; if (ilk > 4) { ilk = 1; } t_readyshot = false; this.gun.gotoAndPlay(2); totalShots++; duplicateMovieClip ("t_shot", "t_shot_" + ilk, 2005 + ilk); _root["t_shot_" + ilk]._rotation = this.gun._rotation; _root["t_shot_" + ilk]._x = (this._x + this.dulo._x) + (_root.speed * Math.sin(_root.tank.body._rotation * 0.01745329)); _root["t_shot_" + ilk]._y = (this._y + this.dulo._y) - (_root.speed * Math.cos(_root.tank.body._rotation * 0.01745329)); } } } } }; Key.addListener(keyListener); ppause = false; leveltime = 2300; levelsound.start(0, 999);
Instance of Symbol 173 MovieClip [explode] "boom" in Frame 14
onClipEvent (enterFrame) { if (!_root.ppause) { play(); if (this._name != "boom") { this._y = this._y + 1; } if ((((this._x >= 600) || (this._x <= -50)) || (this._y >= 475)) || (this._y <= -50)) { this.removeMovieClip(); } } else { stop(); } }
Instance of Symbol 225 MovieClip "t_shot" in Frame 14
onClipEvent (enterFrame) { if (!_root.ppause) { if (this._name != "t_shot") { this._y = this._y + 1; this._x = this._x + (10 * Math.sin(this._rotation * 0.01745329)); this._y = this._y - (10 * Math.cos(this._rotation * 0.01745329)); if ((((this._x >= 600) || (this._x <= -50)) || (this._y >= 475)) || (this._y <= -50)) { this.removeMovieClip(); } } } }
Instance of Symbol 227 MovieClip "cg" in Frame 14
onClipEvent (enterFrame) { if (!_root.ppause) { if (this._name != "cg") { this._y = this._y + 1; if (_root.tank.hitTest(this._x, this._y, true)) { _root.getdmg(15); _root.boom(this._x, this._y, 35); this.removeMovieClip(); } this._x = this._x + (8 * Math.sin(this._rotation * 0.01745329)); this._y = this._y - (8 * Math.cos(this._rotation * 0.01745329)); if ((((this._x >= 600) || (this._x <= -50)) || (this._y >= 475)) || (this._y <= -50)) { this.removeMovieClip(); } } } } onClipEvent (load) { this.i = 5; }
Instance of Symbol 230 MovieClip "rl" in Frame 14
onClipEvent (load) { this.i = 4; } onClipEvent (enterFrame) { if (!_root.ppause) { if (this._name != "rl") { this._y = this._y + 1; if (_root.tank.hitTest(this._x, this._y, true)) { _root.boom(this._x, this._y, 75); _root.getdmg(75); this.removeMovieClip(); } this.i = this.i + 0.1; this._x = this._x + (i * Math.sin(this._rotation * 0.01745329)); if ((((this._x >= 600) || (this._x <= -50)) || (this._y >= 475)) || (this._y <= -50)) { this.removeMovieClip(); } this._y = this._y - (i * Math.cos(this._rotation * 0.01745329)); } } }
Instance of Symbol 255 MovieClip "stats1" in Frame 14
onClipEvent (load) { _root.swapz(this._name, "menudp"); }
Instance of Symbol 258 MovieClip "tree1" in Frame 14
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } _y = (_y + 1); } }
Instance of Symbol 261 MovieClip "tree1" in Frame 14
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } _y = (_y + 1); } }
Instance of Symbol 258 MovieClip "tree1" in Frame 14
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } _y = (_y + 1); } }
Instance of Symbol 264 MovieClip in Frame 14
onClipEvent (load) { _root.swapz(this._name, "menudp"); }
Instance of Symbol 266 MovieClip "path" in Frame 14
onClipEvent (enterFrame) { if (!_root.ppause) { if (!_root.ggame) { _y = (_y+1); _y = (_y+1); } if (_y >= 435) { this.removeMovieClip(); } } } onClipEvent (load) { _alpha = (random(20) + 10); }
Instance of Symbol 269 MovieClip "booms" in Frame 14
onClipEvent (enterFrame) { if (!_root.ppause) { if ((this._name != "booms") && (!_root.ggame)) { this._y = this._y + 1; } if ((((this._x >= 600) || (this._x <= -50)) || (this._y >= 475)) || (this._y <= -50)) { this.removeMovieClip(); } } }
Instance of Symbol 227 MovieClip "cgb" in Frame 14
onClipEvent (enterFrame) { if (!_root.ppause) { if (this._name != "cgb") { this._y = this._y + 1; if (_root.tank.hitTest(this._x, this._y, true)) { _root.getdmg(25); _root.boom(this._x, this._y, 35); this.removeMovieClip(); } this._x = this._x + (9 * Math.sin(this._rotation * 0.01745329)); this._y = this._y - (9 * Math.cos(this._rotation * 0.01745329)); if ((((this._x >= 600) || (this._x <= -50)) || (this._y >= 475)) || (this._y <= -50)) { this.removeMovieClip(); } } } } onClipEvent (load) { this.i = 5; }
Instance of Symbol 225 MovieClip "shot" in Frame 14
onClipEvent (enterFrame) { if (!_root.ppause) { if (this._name != "shot") { this._y = this._y + 1; if (_root.tank.hitTest(this._x, this._y, true)) { _root.getdmg(75); _root.boom(this._x, this._y, 100); this.removeMovieClip(); } this._x = this._x + (6 * Math.sin(this._rotation * 0.01745329)); this._y = this._y - (6 * Math.cos(this._rotation * 0.01745329)); if ((((this._x >= 570) || (this._x <= -20)) || (this._y >= 445)) || (this._y <= -20)) { this.removeMovieClip(); } } } } onClipEvent (load) { this.i = 5; }
Instance of Symbol 271 MovieClip "mshot" in Frame 14
onClipEvent (enterFrame) { if (!_root.ppause) { if (this._name != "mshot") { this._y = this._y + 1; if (_root.tank.hitTest(this._x, this._y, true)) { _root.getdmg(120); _root.boom(this._x, this._y, 100); this.removeMovieClip(); } this._x = this._x + (9 * Math.sin(this._rotation * 0.01745329)); this._y = this._y - (9 * Math.cos(this._rotation * 0.01745329)); if ((((this._x >= 570) || (this._x <= -20)) || (this._y >= 445)) || (this._y <= -20)) { this.removeMovieClip(); } } } } onClipEvent (load) { this.i = 5; }
Instance of Symbol 281 MovieClip "tower1" in Frame 14
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 258 MovieClip "tree1" in Frame 14
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree1" in Frame 14
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 281 MovieClip "tower2" in Frame 14
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 290 MovieClip "cacg1" in Frame 14
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (1000 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "cacg2" in Frame 14
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (1000 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "carl1" in Frame 14
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 281 MovieClip "tower4" in Frame 14
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 290 MovieClip "cacg3" in Frame 14
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (400 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "cacg4" in Frame 14
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (400 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "cacg5" in Frame 14
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (400 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 281 MovieClip "tower5" in Frame 14
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "tower6" in Frame 14
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 304 MovieClip "lacg1" in Frame 14
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "carl3" in Frame 14
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (1000 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "carl4" in Frame 14
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (1000 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "cacg6" in Frame 14
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "cacg7" in Frame 14
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "cacg8" in Frame 14
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 281 MovieClip "tower8" in Frame 14
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "tower7" in Frame 14
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 304 MovieClip "lacg2" in Frame 14
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "cacg9" in Frame 14
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "cacg10" in Frame 14
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (400 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "carl5" in Frame 14
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem < (400 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "carl6" in Frame 14
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem < (400 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 281 MovieClip "tower10" in Frame 14
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "tower9" in Frame 14
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 304 MovieClip "lacg3" in Frame 14
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation + 1); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 304 MovieClip "lacg4" in Frame 14
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation + 1); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 261 MovieClip "tree1" in Frame 14
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree1" in Frame 14
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 258 MovieClip "tree1" in Frame 14
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 258 MovieClip "tree1" in Frame 14
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree1" in Frame 14
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 258 MovieClip "tree1" in Frame 14
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree1" in Frame 14
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 258 MovieClip "tree1" in Frame 14
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree1" in Frame 14
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree1" in Frame 14
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 258 MovieClip "tree1" in Frame 14
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 281 MovieClip "tower3" in Frame 14
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 304 MovieClip "lacg6" in Frame 14
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation + 0.4); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "carl7" in Frame 14
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "carl8" in Frame 14
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 307 MovieClip "can1" in Frame 14
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "can2" in Frame 14
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "can3" in Frame 14
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "can4" in Frame 14
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "can5" in Frame 14
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "can6" in Frame 14
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 374 MovieClip "ggmenu1" in Frame 14
onClipEvent (load) { _root.swapz(this._name, "menudp"); _visible = false; } onClipEvent (enterFrame) { function mgg(ss) { if (_root.lives <= 0) { menui._visible = false; } else { menui._visible = true; } this.stat.gotoAndStop(ss); this.butl.gotoAndStop(ss); enemykill = _root.enemyKilled; enemysurv = _root.enemySurvived; shottotal = _root.totalShots; shothit = _root.hitShots; accu = Math.round((shothit * 100) / shottotal) + "%"; gamescore = gamescore + _global.myscore; if ((shothit <= 0) && (shottotal <= 0)) { accu = "0%"; } } if ((_visible == true) && (_alpha <= 100)) { _alpha = (_alpha + 5); } if (_visible == false) { _alpha = 0; } }
Instance of Symbol 380 MovieClip "pmenu" in Frame 14
onClipEvent (load) { _visible = false; swapDepths(100350); }
Frame 20
function gg(ss) { if (_root.glevel == 9) { _root.finalstagesound.stop(); } else { _root.levelsound.stop(); _root.awardsound.start(0, 99); } _root["ggmenu" + glevel]._visible = true; _root["ggmenu" + glevel].mgg(ss); } function slice(arrayname, index) { i = 0; while (i <= _root[arrayname].length) { if (_root[arrayname][i] == index) { _root[arrayname].splice(i, 1); } i++; } } function swapz(obj, type) { _root[obj].swapDepths(_root[type]); _root[type]++; } function getdmg(int) { _root.tank.hp = _root.tank.hp - int; } function t_countshot() { t_readyshot = true; t_z1 = true; } function path(px, py, pr, ps) { duplicateMovieClip ("path", "path_" + _root.pathdp, pathdp); _root["path_" + _root.pathdp]._x = px; _root["path_" + _root.pathdp]._y = py; _root["path_" + _root.pathdp]._width = ps; _root["path_" + _root.pathdp]._rotation = pr; _root.pathdp++; } function boom(bx, by, bs) { boom_ns.start(); boomdp++; duplicateMovieClip ("boom", "boom_" + _root.boomdp, boomdp); _root["boom_" + _root.boomdp]._x = bx; _root["boom_" + _root.boomdp]._y = by; _root["boom_" + _root.boomdp]._height = bs; _root["boom_" + _root.boomdp]._width = bs; } function booms(bx, by, bs) { boomsdp++; duplicateMovieClip ("booms", "booms_" + _root.boomsdp, boomsdp); _root["booms_" + _root.boomsdp]._x = bx; _root["booms_" + _root.boomsdp]._y = by; _root["booms_" + _root.boomsdp]._height = bs; _root["booms_" + _root.boomsdp]._width = bs; } function re() { do { removeMovieClip(getInstanceAtDepth(getNextHighestDepth() - 1)); } while ((getNextHighestDepth() - 1) > 0); _root.coversound.stop(); gotoAndStop ("re"); } function rem() { do { removeMovieClip(getInstanceAtDepth(getNextHighestDepth() - 1)); } while ((getNextHighestDepth() - 1) > 0); gotoAndStop ("Menu"); } function swapn(nm) { _root[nm]._name = nm + namedp; _root.namedp = _root.namedp + 1; } function htTest(trg) { cx1 = tank._x; cy1 = tank._y; cx2 = tank._x + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy2 = tank._y - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx3 = tank._x - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy3 = tank._y + (20 * Math.cos(tank.body._rotation * 0.01745329)); cx4 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy4 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx5 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy5 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx6 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy6 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx6 = cx6 + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy6 = cy6 - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx7 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy7 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx7 = cx7 + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy7 = cy7 - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx8 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy8 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx8 = cx8 - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy8 = cy8 + (20 * Math.cos(tank.body._rotation * 0.01745329)); cx9 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy9 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx9 = cx9 - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy9 = cy9 + (20 * Math.cos(tank.body._rotation * 0.01745329)); if ((((((((_root[trg].hitTest(cx1, cy1, false) || (_root[trg].hitTest(cx2, cy2, false))) || (_root[trg].hitTest(cx3, cy3, false))) || (_root[trg].hitTest(cx4, cy4, false))) || (_root[trg].hitTest(cx5, cy5, false))) || (_root[trg].hitTest(cx6, cy6, false))) || (_root[trg].hitTest(cx7, cy7, false))) || (_root[trg].hitTest(cx8, cy8, false))) || (_root[trg].hitTest(cx9, cy9, false))) { return(true); } return(false); } tank.hp = 1000; namedp = 1; boomsdp = 300; obj0dp = 400; pathdp = 500; objdp = 1100; shotdp = 2010; boomdp = 2101; obj2dp = 2201; menudp = 3001; var keyListener = new Object(); var pauseListener = new Object(); var gameoversound = new Sound(); gameoversound.attachSound("negativefinish"); var finalstagesound = new Sound(); finalstagesound.attachSound("finalstagesound"); var awardsound = new Sound(); awardsound.attachSound("awarding"); var endsound = new Sound(); endsound.attachSound("endsound"); var levelsound = new Sound(); levelsound.attachSound("levelsound"); var boom_ns = new Sound(); boom_ns.attachSound("boom_s"); var cg_ns = new Sound(); cg_ns.attachSound("cg_s"); var rl_ns = new Sound(); rl_ns.attachSound("rl_s"); var ss_ns = new Sound(); ss_ns.attachSound("ss_s"); var back_ns = new Sound(); back_ns.attachSound("back_s"); objmaxsize = 90; enemyKilled = 0; enemySurvived = 0; totalShots = 0; hitShots = 0; terArray = new Array(); lose = false; ggame = false; aa = _root._url; isDown = false; isToggle = true; t_readyshot = false; t_z1 = true; speed = 0; i = 0; ilk = 0; time = 0; duplicateMovieClip ("t_shot", "t_shot_1", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_2", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_3", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_4", _root.shotdp); _root.shotdp++; _root.t_shot_1._x = 200000 /* 0x030D40 */; _root.t_shot_1._y = 200000 /* 0x030D40 */; _root.t_shot_2._x = 200000 /* 0x030D40 */; _root.t_shot_2._y = 200000 /* 0x030D40 */; _root.t_shot_3._x = 200000 /* 0x030D40 */; _root.t_shot_3._y = 200000 /* 0x030D40 */; _root.t_shot_4._x = 200000 /* 0x030D40 */; _root.t_shot_4._y = 200000 /* 0x030D40 */; boss.swapDepths(2003); tank.swapDepths(2002); _root.terArray.push("tank"); onEnterFrame = function () { if (!_root.ppause) { if (_root.tank.hp > 0) { time++; } if (((time >= leveltime) && (terArray.length <= 1)) && (lose == false)) { ggame = true; setTimeout(gg, 100, 1); lose = true; } if ((_root.tank.hp <= 0) && (lose == false)) { boom(tank._x, tank._y, 100); boom(tank._x - 5, tank._y + 4, 150); booms(tank._x, tank._y, 100); _root["stats" + glevel].m_hp.gotoAndStop(11); _root.lives = _root.lives - 1; _root.tank.hp = 0; if (_root.lives <= 0) { setTimeout(gg, 2000, 3); } else { setTimeout(gg, 2000, 2); } lose = true; tank.removeMovieClip(); } if (_root.tank.hp > 0) { _root["stats" + glevel].m_hp.gotoAndStop(11 - Math.ceil(_root.tank.hp / 100)); } _root["stats" + glevel].m_lv.gotoAndStop(6 - _root.lives); if (boomsdp >= 399) { boomsdp = 300; } if (pathdp >= 1000) { pathdp = 500; } if (terArray.length >= 7) { if (boomdp >= 2115) { boomdp = 2101; } } else if (boomdp >= 2200) { boomdp = 2101; } if (shotdp >= 2100) { shotdp = 2011; } if (objdp >= 2000) { objdp = 1100; } if (obj0dp >= 499) { obj0dp = 400; } if (obj2dp >= 3000) { shotdp = 2200; } if ((speed >= -0.2) && (speed <= 0.2)) { speed = 0; } else if (Key.isDown(39) || (Key.isDown(37))) { path(tank._x, tank._y, tank.body._rotation); } if ((speed - 0.2) >= 0) { speed = speed - 0.2; } if ((speed + 0.2) <= 0) { speed = speed + 0.2; } tank._x = tank._x + (speed * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (speed * Math.cos(tank.body._rotation * 0.01745329)); if (tilemap._y >= (-((tilemap._height / 2) - 500))) { tilemap._y = (-tilemap._height) + 500; } if (!ggame) { tilemap._y = tilemap._y + 1; } if (tank._y > 401) { tank._y = 401; path(tank._x, tank._y, 0); } if (tank._y < 20) { tank._y = 20; } if (tank._x < 20) { tank._x = 20; } if (tank._x > 530) { tank._x = 530; } if (!ggame) { tank._y = tank._y + 1; } if (lose == false) { if (Key.isDown(68)) { tank.body._rotation = tank.body._rotation + 2; if (speed >= 3) { tank.body._rotation = tank.body._rotation + 3; } if (((!Key.isDown(83)) && (!Key.isDown(87))) && (speed == 0)) { tank._x = tank._x + (0.5 * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (0.5 * Math.cos(tank.body._rotation * 0.01745329)); } } if (Key.isDown(65)) { tank.body._rotation = tank.body._rotation - 2; if (speed >= 3) { tank.body._rotation = tank.body._rotation - 3; } if (((!Key.isDown(87)) && (!Key.isDown(83))) && (speed == 0)) { tank._x = tank._x + (0.5 * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (0.5 * Math.cos(tank.body._rotation * 0.01745329)); } } if (Key.isDown(87)) { if ((speed + 0.5) <= 4) { speed = speed + 0.5; } } if (Key.isDown(83)) { if ((speed - 0.5) >= -3) { speed = speed - 0.5; } } if (t_readyshot == false) { if (t_z1 == true) { t_z1 = false; intervalId = setTimeout(t_countshot, 500); } } } } if (Key.isDown(32)) { if (!_root.ppause) { _root.ppause = true; _root.pmenu._visible = true; } else { _root.ppause = false; _root.pmenu._visible = false; } } }; onMouseDown = function () { isDown = true; }; onMouseUp = function () { isDown = false; }; tank.onEnterFrame = function () { if (!_root.ppause) { if (lose == false) { delta_x = this._x - _xmouse; delta_y = this._y - _ymouse; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (isDown) { tilemap.collapse(); if (t_readyshot) { ilk++; if (ilk > 4) { ilk = 1; } t_readyshot = false; this.gun.gotoAndPlay(2); totalShots++; duplicateMovieClip ("t_shot", "t_shot_" + ilk, 2005 + ilk); _root["t_shot_" + ilk]._rotation = this.gun._rotation; _root["t_shot_" + ilk]._x = (this._x + this.dulo._x) + (_root.speed * Math.sin(_root.tank.body._rotation * 0.01745329)); _root["t_shot_" + ilk]._y = (this._y + this.dulo._y) - (_root.speed * Math.cos(_root.tank.body._rotation * 0.01745329)); } } } } }; Key.addListener(keyListener); leveltime = 2300; ppause = false; levelsound.start(0, 999);
Instance of Symbol 199 MovieClip "tilemap" in Frame 20
onClipEvent (load) { function collapse() { as.gotoAndPlay(3); } }
Instance of Symbol 255 MovieClip "stats2" in Frame 20
onClipEvent (load) { _root.swapz(this._name, "menudp"); }
Instance of Symbol 258 MovieClip "tree2" in Frame 20
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } _y = (_y + 1); } }
Instance of Symbol 261 MovieClip "tree2" in Frame 20
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } _y = (_y + 1); } }
Instance of Symbol 258 MovieClip "tree2" in Frame 20
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } _y = (_y + 1); } }
Instance of Symbol 385 MovieClip in Frame 20
onClipEvent (load) { _root.swapz(this._name, "menudp"); }
Instance of Symbol 281 MovieClip "tower11" in Frame 20
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 258 MovieClip "tree2" in Frame 20
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree2" in Frame 20
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 290 MovieClip "cacg11" in Frame 20
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (1000 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "cacg12" in Frame 20
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (1000 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 281 MovieClip "tower12" in Frame 20
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 290 MovieClip "cacg13" in Frame 20
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "carl9" in Frame 20
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 304 MovieClip "lacg6" in Frame 20
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 304 MovieClip "lacg5" in Frame 20
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 390 MovieClip "lacss2" in Frame 20
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "lacss1" in Frame 20
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "lacss3" in Frame 20
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 281 MovieClip "tower13" in Frame 20
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 261 MovieClip "tree2" in Frame 20
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 304 MovieClip "lacg8" in Frame 20
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 281 MovieClip "tower14" in Frame 20
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 295 MovieClip "carl10" in Frame 20
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "carl11" in Frame 20
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "cacg14" in Frame 20
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (150 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "cacg15" in Frame 20
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (1000 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 390 MovieClip "lacss4" in Frame 20
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "lacss1" in Frame 20
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (150 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 281 MovieClip "tower15" in Frame 20
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "tower16" in Frame 20
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 390 MovieClip "lacss5" in Frame 20
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (load) { speed = 0.5; } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 390 MovieClip "lacss6" in Frame 20
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (load) { speed = 0.5; } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 390 MovieClip "lacss8" in Frame 20
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 0.5; }
Instance of Symbol 390 MovieClip "lacss7" in Frame 20
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation - 0.4); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 281 MovieClip "tower18" in Frame 20
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 304 MovieClip "lacg11" in Frame 20
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation + 0.2); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 304 MovieClip "lacg12" in Frame 20
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 304 MovieClip "lacg13" in Frame 20
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation - 0.2); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 304 MovieClip "lacg14" in Frame 20
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 258 MovieClip "tree2" in Frame 20
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 258 MovieClip "tree2" in Frame 20
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree2" in Frame 20
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree2" in Frame 20
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree2" in Frame 20
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 258 MovieClip "tree2" in Frame 20
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree2" in Frame 20
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 258 MovieClip "tree2" in Frame 20
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 258 MovieClip "tree2" in Frame 20
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 307 MovieClip "can7" in Frame 20
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "can8" in Frame 20
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "can9" in Frame 20
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "can10" in Frame 20
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "can12" in Frame 20
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 304 MovieClip "lacg9" in Frame 20
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 304 MovieClip "lacg10" in Frame 20
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (150 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 307 MovieClip "can11" in Frame 20
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "tower17" in Frame 20
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 374 MovieClip "ggmenu2" in Frame 20
onClipEvent (load) { _root.swapz(this._name, "menudp"); _visible = false; } onClipEvent (enterFrame) { function mgg(ss) { if (_root.lives <= 0) { menui._visible = false; } else { menui._visible = true; } this.stat.gotoAndStop(ss); this.butl.gotoAndStop(ss); this.stat.award.medals.gotoAndPlay("l1"); enemykill = _root.enemyKilled; enemysurv = _root.enemySurvived; shottotal = _root.totalShots; shothit = _root.hitShots; accu = Math.round((shothit * 100) / shottotal) + "%"; gamescore = gamescore + _global.myscore; if ((shothit <= 0) && (shottotal <= 0)) { accu = "0%"; } } if ((_visible == true) && (_alpha <= 100)) { _alpha = (_alpha + 5); } if (_visible == false) { _alpha = 0; } }
Frame 26
function gg(ss) { if (_root.glevel == 9) { _root.finalstagesound.stop(); } else { _root.levelsound.stop(); _root.awardsound.start(0, 99); } _root["ggmenu" + glevel]._visible = true; _root["ggmenu" + glevel].mgg(ss); } function slice(arrayname, index) { i = 0; while (i <= _root[arrayname].length) { if (_root[arrayname][i] == index) { _root[arrayname].splice(i, 1); } i++; } } function swapz(obj, type) { _root[obj].swapDepths(_root[type]); _root[type]++; } function getdmg(int) { _root.tank.hp = _root.tank.hp - int; } function t_countshot() { t_readyshot = true; t_z1 = true; } function path(px, py, pr, ps) { duplicateMovieClip ("path", "path_" + _root.pathdp, pathdp); _root["path_" + _root.pathdp]._x = px; _root["path_" + _root.pathdp]._y = py; _root["path_" + _root.pathdp]._width = ps; _root["path_" + _root.pathdp]._rotation = pr; _root.pathdp++; } function boom(bx, by, bs) { boom_ns.start(); boomdp++; duplicateMovieClip ("boom", "boom_" + _root.boomdp, boomdp); _root["boom_" + _root.boomdp]._x = bx; _root["boom_" + _root.boomdp]._y = by; _root["boom_" + _root.boomdp]._height = bs; _root["boom_" + _root.boomdp]._width = bs; } function booms(bx, by, bs) { boomsdp++; duplicateMovieClip ("booms", "booms_" + _root.boomsdp, boomsdp); _root["booms_" + _root.boomsdp]._x = bx; _root["booms_" + _root.boomsdp]._y = by; _root["booms_" + _root.boomsdp]._height = bs; _root["booms_" + _root.boomsdp]._width = bs; } function re() { do { removeMovieClip(getInstanceAtDepth(getNextHighestDepth() - 1)); } while ((getNextHighestDepth() - 1) > 0); _root.coversound.stop(); gotoAndStop ("re"); } function rem() { do { removeMovieClip(getInstanceAtDepth(getNextHighestDepth() - 1)); } while ((getNextHighestDepth() - 1) > 0); gotoAndStop ("Menu"); } function swapn(nm) { _root[nm]._name = nm + namedp; _root.namedp = _root.namedp + 1; } function htTest(trg) { cx1 = tank._x; cy1 = tank._y; cx2 = tank._x + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy2 = tank._y - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx3 = tank._x - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy3 = tank._y + (20 * Math.cos(tank.body._rotation * 0.01745329)); cx4 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy4 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx5 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy5 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx6 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy6 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx6 = cx6 + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy6 = cy6 - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx7 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy7 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx7 = cx7 + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy7 = cy7 - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx8 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy8 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx8 = cx8 - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy8 = cy8 + (20 * Math.cos(tank.body._rotation * 0.01745329)); cx9 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy9 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx9 = cx9 - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy9 = cy9 + (20 * Math.cos(tank.body._rotation * 0.01745329)); if ((((((((_root[trg].hitTest(cx1, cy1, false) || (_root[trg].hitTest(cx2, cy2, false))) || (_root[trg].hitTest(cx3, cy3, false))) || (_root[trg].hitTest(cx4, cy4, false))) || (_root[trg].hitTest(cx5, cy5, false))) || (_root[trg].hitTest(cx6, cy6, false))) || (_root[trg].hitTest(cx7, cy7, false))) || (_root[trg].hitTest(cx8, cy8, false))) || (_root[trg].hitTest(cx9, cy9, false))) { return(true); } return(false); } tank.hp = 1000; namedp = 1; boomsdp = 300; obj0dp = 400; pathdp = 500; objdp = 1100; shotdp = 2010; boomdp = 2101; obj2dp = 2201; menudp = 3001; var keyListener = new Object(); var pauseListener = new Object(); var gameoversound = new Sound(); gameoversound.attachSound("negativefinish"); var finalstagesound = new Sound(); finalstagesound.attachSound("finalstagesound"); var awardsound = new Sound(); awardsound.attachSound("awarding"); var endsound = new Sound(); endsound.attachSound("endsound"); var levelsound = new Sound(); levelsound.attachSound("levelsound"); var boom_ns = new Sound(); boom_ns.attachSound("boom_s"); var cg_ns = new Sound(); cg_ns.attachSound("cg_s"); var rl_ns = new Sound(); rl_ns.attachSound("rl_s"); var ss_ns = new Sound(); ss_ns.attachSound("ss_s"); var back_ns = new Sound(); back_ns.attachSound("back_s"); objmaxsize = 90; enemyKilled = 0; enemySurvived = 0; totalShots = 0; hitShots = 0; terArray = new Array(); lose = false; ggame = false; aa = _root._url; isDown = false; isToggle = true; t_readyshot = false; t_z1 = true; speed = 0; i = 0; ilk = 0; time = 0; duplicateMovieClip ("t_shot", "t_shot_1", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_2", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_3", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_4", _root.shotdp); _root.shotdp++; _root.t_shot_1._x = 200000 /* 0x030D40 */; _root.t_shot_1._y = 200000 /* 0x030D40 */; _root.t_shot_2._x = 200000 /* 0x030D40 */; _root.t_shot_2._y = 200000 /* 0x030D40 */; _root.t_shot_3._x = 200000 /* 0x030D40 */; _root.t_shot_3._y = 200000 /* 0x030D40 */; _root.t_shot_4._x = 200000 /* 0x030D40 */; _root.t_shot_4._y = 200000 /* 0x030D40 */; boss.swapDepths(2003); tank.swapDepths(2002); _root.terArray.push("tank"); onEnterFrame = function () { if (!_root.ppause) { if (_root.tank.hp > 0) { time++; } if (((time >= leveltime) && (terArray.length <= 1)) && (lose == false)) { ggame = true; setTimeout(gg, 100, 1); lose = true; } if ((_root.tank.hp <= 0) && (lose == false)) { boom(tank._x, tank._y, 100); boom(tank._x - 5, tank._y + 4, 150); booms(tank._x, tank._y, 100); _root["stats" + glevel].m_hp.gotoAndStop(11); _root.lives = _root.lives - 1; _root.tank.hp = 0; if (_root.lives <= 0) { setTimeout(gg, 2000, 3); } else { setTimeout(gg, 2000, 2); } lose = true; tank.removeMovieClip(); } if (_root.tank.hp > 0) { _root["stats" + glevel].m_hp.gotoAndStop(11 - Math.ceil(_root.tank.hp / 100)); } _root["stats" + glevel].m_lv.gotoAndStop(6 - _root.lives); if (boomsdp >= 399) { boomsdp = 300; } if (pathdp >= 1000) { pathdp = 500; } if (terArray.length >= 7) { if (boomdp >= 2115) { boomdp = 2101; } } else if (boomdp >= 2200) { boomdp = 2101; } if (shotdp >= 2100) { shotdp = 2011; } if (objdp >= 2000) { objdp = 1100; } if (obj0dp >= 499) { obj0dp = 400; } if (obj2dp >= 3000) { shotdp = 2200; } if ((speed >= -0.2) && (speed <= 0.2)) { speed = 0; } else if (Key.isDown(39) || (Key.isDown(37))) { path(tank._x, tank._y, tank.body._rotation); } if ((speed - 0.2) >= 0) { speed = speed - 0.2; } if ((speed + 0.2) <= 0) { speed = speed + 0.2; } tank._x = tank._x + (speed * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (speed * Math.cos(tank.body._rotation * 0.01745329)); if (tilemap._y >= (-((tilemap._height / 2) - 500))) { tilemap._y = (-tilemap._height) + 500; } if (!ggame) { tilemap._y = tilemap._y + 1; } if (tank._y > 401) { tank._y = 401; path(tank._x, tank._y, 0); } if (tank._y < 20) { tank._y = 20; } if (tank._x < 20) { tank._x = 20; } if (tank._x > 530) { tank._x = 530; } if (!ggame) { tank._y = tank._y + 1; } if (lose == false) { if (Key.isDown(68)) { tank.body._rotation = tank.body._rotation + 2; if (speed >= 3) { tank.body._rotation = tank.body._rotation + 3; } if (((!Key.isDown(83)) && (!Key.isDown(87))) && (speed == 0)) { tank._x = tank._x + (0.5 * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (0.5 * Math.cos(tank.body._rotation * 0.01745329)); } } if (Key.isDown(65)) { tank.body._rotation = tank.body._rotation - 2; if (speed >= 3) { tank.body._rotation = tank.body._rotation - 3; } if (((!Key.isDown(87)) && (!Key.isDown(83))) && (speed == 0)) { tank._x = tank._x + (0.5 * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (0.5 * Math.cos(tank.body._rotation * 0.01745329)); } } if (Key.isDown(87)) { if ((speed + 0.5) <= 4) { speed = speed + 0.5; } } if (Key.isDown(83)) { if ((speed - 0.5) >= -3) { speed = speed - 0.5; } } if (t_readyshot == false) { if (t_z1 == true) { t_z1 = false; intervalId = setTimeout(t_countshot, 500); } } } } if (Key.isDown(32)) { if (!_root.ppause) { _root.ppause = true; _root.pmenu._visible = true; } else { _root.ppause = false; _root.pmenu._visible = false; } } }; onMouseDown = function () { isDown = true; }; onMouseUp = function () { isDown = false; }; tank.onEnterFrame = function () { if (!_root.ppause) { if (lose == false) { delta_x = this._x - _xmouse; delta_y = this._y - _ymouse; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (isDown) { tilemap.collapse(); if (t_readyshot) { ilk++; if (ilk > 4) { ilk = 1; } t_readyshot = false; this.gun.gotoAndPlay(2); totalShots++; duplicateMovieClip ("t_shot", "t_shot_" + ilk, 2005 + ilk); _root["t_shot_" + ilk]._rotation = this.gun._rotation; _root["t_shot_" + ilk]._x = (this._x + this.dulo._x) + (_root.speed * Math.sin(_root.tank.body._rotation * 0.01745329)); _root["t_shot_" + ilk]._y = (this._y + this.dulo._y) - (_root.speed * Math.cos(_root.tank.body._rotation * 0.01745329)); } } } } }; Key.addListener(keyListener); leveltime = 2400; ppause = false; levelsound.start(0, 999);
Instance of Symbol 255 MovieClip "stats3" in Frame 26
onClipEvent (load) { _root.swapz(this._name, "menudp"); }
Instance of Symbol 258 MovieClip "tree3" in Frame 26
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } _y = (_y + 1); } }
Instance of Symbol 261 MovieClip "tree3" in Frame 26
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } _y = (_y + 1); } }
Instance of Symbol 258 MovieClip "tree3" in Frame 26
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } _y = (_y + 1); } }
Instance of Symbol 391 MovieClip in Frame 26
onClipEvent (load) { _root.swapz(this._name, "menudp"); }
Instance of Symbol 390 MovieClip "l3lass1" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l3lass2" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 290 MovieClip "l3cacg1" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l3cacg2" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 390 MovieClip "l3lass3" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l3lass4" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l3larl1" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l3larl2" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 281 MovieClip "l3tower1" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l3tower2" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 304 MovieClip "l3lacg1" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation + 0.3); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 0.5; }
Instance of Symbol 290 MovieClip "l3cacg4" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l3cacg3" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l3cacg7" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "l3car1" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "l3carl2" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 281 MovieClip "l3tower3" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l3tower4" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l3tower5" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 395 MovieClip "l3larl4" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l3larl3" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l3larl5" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l3lass6" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l3lass7" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l3lass5" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l3lass8" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l3larl6" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 304 MovieClip "l3lacg2" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 304 MovieClip "l3lacg3" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l3lass9" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation + 0.3); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l3lass10" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 304 MovieClip "l3lacg4" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation - 0.3); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 281 MovieClip "l3tower6" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 290 MovieClip "l3cacg7" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "l3carl2" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation - 0.3); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l3cacg8" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 281 MovieClip "l3tower8" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l3tower7" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 395 MovieClip "l3larl8" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l3larl7" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l3larl10" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l3larl9" in Frame 26
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l3lass11" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l3lass12" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l3lass13" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 295 MovieClip "l3carl3" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation - 0.3); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "l3carl4" in Frame 26
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation - 0.3); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 307 MovieClip "l3can1" in Frame 26
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "l3can2" in Frame 26
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "l3can3" in Frame 26
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "l3can4" in Frame 26
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "l3can6" in Frame 26
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "l3can5" in Frame 26
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "l3can7" in Frame 26
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "l3can9" in Frame 26
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "l3can8" in Frame 26
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "l3can10" in Frame 26
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "l3can11" in Frame 26
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 258 MovieClip "tree3" in Frame 26
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree3" in Frame 26
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 258 MovieClip "tree3" in Frame 26
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree3" in Frame 26
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree3" in Frame 26
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree3" in Frame 26
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 258 MovieClip "tree3" in Frame 26
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 258 MovieClip "tree3" in Frame 26
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 258 MovieClip "tree3" in Frame 26
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree3" in Frame 26
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 258 MovieClip "tree3" in Frame 26
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree3" in Frame 26
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree3" in Frame 26
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree3" in Frame 26
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 374 MovieClip "ggmenu3" in Frame 26
onClipEvent (load) { _root.swapz(this._name, "menudp"); _visible = false; } onClipEvent (enterFrame) { function mgg(ss) { if (_root.lives <= 0) { menui._visible = false; } else { menui._visible = true; } this.stat.gotoAndStop(ss); this.butl.gotoAndStop(ss); this.stat.award.medals.gotoAndPlay("l2"); enemykill = _root.enemyKilled; enemysurv = _root.enemySurvived; shottotal = _root.totalShots; shothit = _root.hitShots; accu = Math.round((shothit * 100) / shottotal) + "%"; gamescore = gamescore + _global.myscore; if ((shothit <= 0) && (shottotal <= 0)) { accu = "0%"; } } if ((_visible == true) && (_alpha <= 100)) { _alpha = (_alpha + 5); } if (_visible == false) { _alpha = 0; } }
Frame 32
function gg(ss) { if (_root.glevel == 9) { _root.finalstagesound.stop(); } else { _root.levelsound.stop(); _root.awardsound.start(0, 99); } _root["ggmenu" + glevel]._visible = true; _root["ggmenu" + glevel].mgg(ss); } function slice(arrayname, index) { i = 0; while (i <= _root[arrayname].length) { if (_root[arrayname][i] == index) { _root[arrayname].splice(i, 1); } i++; } } function swapz(obj, type) { _root[obj].swapDepths(_root[type]); _root[type]++; } function getdmg(int) { _root.tank.hp = _root.tank.hp - int; } function t_countshot() { t_readyshot = true; t_z1 = true; } function path(px, py, pr, ps) { duplicateMovieClip ("path", "path_" + _root.pathdp, pathdp); _root["path_" + _root.pathdp]._x = px; _root["path_" + _root.pathdp]._y = py; _root["path_" + _root.pathdp]._width = ps; _root["path_" + _root.pathdp]._rotation = pr; _root.pathdp++; } function boom(bx, by, bs) { boom_ns.start(); boomdp++; duplicateMovieClip ("boom", "boom_" + _root.boomdp, boomdp); _root["boom_" + _root.boomdp]._x = bx; _root["boom_" + _root.boomdp]._y = by; _root["boom_" + _root.boomdp]._height = bs; _root["boom_" + _root.boomdp]._width = bs; } function booms(bx, by, bs) { boomsdp++; duplicateMovieClip ("booms", "booms_" + _root.boomsdp, boomsdp); _root["booms_" + _root.boomsdp]._x = bx; _root["booms_" + _root.boomsdp]._y = by; _root["booms_" + _root.boomsdp]._height = bs; _root["booms_" + _root.boomsdp]._width = bs; } function re() { do { removeMovieClip(getInstanceAtDepth(getNextHighestDepth() - 1)); } while ((getNextHighestDepth() - 1) > 0); _root.coversound.stop(); gotoAndStop ("re"); } function rem() { do { removeMovieClip(getInstanceAtDepth(getNextHighestDepth() - 1)); } while ((getNextHighestDepth() - 1) > 0); gotoAndStop ("Menu"); } function swapn(nm) { _root[nm]._name = nm + namedp; _root.namedp = _root.namedp + 1; } function htTest(trg) { cx1 = tank._x; cy1 = tank._y; cx2 = tank._x + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy2 = tank._y - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx3 = tank._x - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy3 = tank._y + (20 * Math.cos(tank.body._rotation * 0.01745329)); cx4 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy4 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx5 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy5 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx6 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy6 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx6 = cx6 + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy6 = cy6 - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx7 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy7 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx7 = cx7 + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy7 = cy7 - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx8 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy8 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx8 = cx8 - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy8 = cy8 + (20 * Math.cos(tank.body._rotation * 0.01745329)); cx9 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy9 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx9 = cx9 - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy9 = cy9 + (20 * Math.cos(tank.body._rotation * 0.01745329)); if ((((((((_root[trg].hitTest(cx1, cy1, false) || (_root[trg].hitTest(cx2, cy2, false))) || (_root[trg].hitTest(cx3, cy3, false))) || (_root[trg].hitTest(cx4, cy4, false))) || (_root[trg].hitTest(cx5, cy5, false))) || (_root[trg].hitTest(cx6, cy6, false))) || (_root[trg].hitTest(cx7, cy7, false))) || (_root[trg].hitTest(cx8, cy8, false))) || (_root[trg].hitTest(cx9, cy9, false))) { return(true); } return(false); } tank.hp = 1000; namedp = 1; boomsdp = 300; obj0dp = 400; pathdp = 500; objdp = 1100; shotdp = 2010; boomdp = 2101; obj2dp = 2201; menudp = 3001; var keyListener = new Object(); var pauseListener = new Object(); var gameoversound = new Sound(); gameoversound.attachSound("negativefinish"); var finalstagesound = new Sound(); finalstagesound.attachSound("finalstagesound"); var awardsound = new Sound(); awardsound.attachSound("awarding"); var endsound = new Sound(); endsound.attachSound("endsound"); var levelsound = new Sound(); levelsound.attachSound("levelsound"); var boom_ns = new Sound(); boom_ns.attachSound("boom_s"); var cg_ns = new Sound(); cg_ns.attachSound("cg_s"); var rl_ns = new Sound(); rl_ns.attachSound("rl_s"); var ss_ns = new Sound(); ss_ns.attachSound("ss_s"); var back_ns = new Sound(); back_ns.attachSound("back_s"); objmaxsize = 90; enemyKilled = 0; enemySurvived = 0; totalShots = 0; hitShots = 0; terArray = new Array(); lose = false; ggame = false; aa = _root._url; isDown = false; isToggle = true; t_readyshot = false; t_z1 = true; speed = 0; i = 0; ilk = 0; time = 0; duplicateMovieClip ("t_shot", "t_shot_1", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_2", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_3", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_4", _root.shotdp); _root.shotdp++; _root.t_shot_1._x = 200000 /* 0x030D40 */; _root.t_shot_1._y = 200000 /* 0x030D40 */; _root.t_shot_2._x = 200000 /* 0x030D40 */; _root.t_shot_2._y = 200000 /* 0x030D40 */; _root.t_shot_3._x = 200000 /* 0x030D40 */; _root.t_shot_3._y = 200000 /* 0x030D40 */; _root.t_shot_4._x = 200000 /* 0x030D40 */; _root.t_shot_4._y = 200000 /* 0x030D40 */; boss.swapDepths(2003); tank.swapDepths(2002); _root.terArray.push("tank"); onEnterFrame = function () { if (!_root.ppause) { if (_root.tank.hp > 0) { time++; } if (((time >= leveltime) && (terArray.length <= 1)) && (lose == false)) { ggame = true; setTimeout(gg, 100, 1); lose = true; } if ((_root.tank.hp <= 0) && (lose == false)) { boom(tank._x, tank._y, 100); boom(tank._x - 5, tank._y + 4, 150); booms(tank._x, tank._y, 100); _root["stats" + glevel].m_hp.gotoAndStop(11); _root.lives = _root.lives - 1; _root.tank.hp = 0; if (_root.lives <= 0) { setTimeout(gg, 2000, 3); } else { setTimeout(gg, 2000, 2); } lose = true; tank.removeMovieClip(); } if (_root.tank.hp > 0) { _root["stats" + glevel].m_hp.gotoAndStop(11 - Math.ceil(_root.tank.hp / 100)); } _root["stats" + glevel].m_lv.gotoAndStop(6 - _root.lives); if (boomsdp >= 399) { boomsdp = 300; } if (pathdp >= 1000) { pathdp = 500; } if (terArray.length >= 7) { if (boomdp >= 2115) { boomdp = 2101; } } else if (boomdp >= 2200) { boomdp = 2101; } if (shotdp >= 2100) { shotdp = 2011; } if (objdp >= 2000) { objdp = 1100; } if (obj0dp >= 499) { obj0dp = 400; } if (obj2dp >= 3000) { shotdp = 2200; } if ((speed >= -0.2) && (speed <= 0.2)) { speed = 0; } else if (Key.isDown(39) || (Key.isDown(37))) { path(tank._x, tank._y, tank.body._rotation); } if ((speed - 0.2) >= 0) { speed = speed - 0.2; } if ((speed + 0.2) <= 0) { speed = speed + 0.2; } tank._x = tank._x + (speed * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (speed * Math.cos(tank.body._rotation * 0.01745329)); if (tilemap._y >= (-((tilemap._height / 2) - 500))) { tilemap._y = (-tilemap._height) + 500; } if (!ggame) { tilemap._y = tilemap._y + 1; } if (tank._y > 401) { tank._y = 401; path(tank._x, tank._y, 0); } if (tank._y < 20) { tank._y = 20; } if (tank._x < 20) { tank._x = 20; } if (tank._x > 530) { tank._x = 530; } if (!ggame) { tank._y = tank._y + 1; } if (lose == false) { if (Key.isDown(68)) { tank.body._rotation = tank.body._rotation + 2; if (speed >= 3) { tank.body._rotation = tank.body._rotation + 3; } if (((!Key.isDown(83)) && (!Key.isDown(87))) && (speed == 0)) { tank._x = tank._x + (0.5 * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (0.5 * Math.cos(tank.body._rotation * 0.01745329)); } } if (Key.isDown(65)) { tank.body._rotation = tank.body._rotation - 2; if (speed >= 3) { tank.body._rotation = tank.body._rotation - 3; } if (((!Key.isDown(87)) && (!Key.isDown(83))) && (speed == 0)) { tank._x = tank._x + (0.5 * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (0.5 * Math.cos(tank.body._rotation * 0.01745329)); } } if (Key.isDown(87)) { if ((speed + 0.5) <= 4) { speed = speed + 0.5; } } if (Key.isDown(83)) { if ((speed - 0.5) >= -3) { speed = speed - 0.5; } } if (t_readyshot == false) { if (t_z1 == true) { t_z1 = false; intervalId = setTimeout(t_countshot, 500); } } } } if (Key.isDown(32)) { if (!_root.ppause) { _root.ppause = true; _root.pmenu._visible = true; } else { _root.ppause = false; _root.pmenu._visible = false; } } }; onMouseDown = function () { isDown = true; }; onMouseUp = function () { isDown = false; }; tank.onEnterFrame = function () { if (!_root.ppause) { if (lose == false) { delta_x = this._x - _xmouse; delta_y = this._y - _ymouse; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (isDown) { tilemap.collapse(); if (t_readyshot) { ilk++; if (ilk > 4) { ilk = 1; } t_readyshot = false; this.gun.gotoAndPlay(2); totalShots++; duplicateMovieClip ("t_shot", "t_shot_" + ilk, 2005 + ilk); _root["t_shot_" + ilk]._rotation = this.gun._rotation; _root["t_shot_" + ilk]._x = (this._x + this.dulo._x) + (_root.speed * Math.sin(_root.tank.body._rotation * 0.01745329)); _root["t_shot_" + ilk]._y = (this._y + this.dulo._y) - (_root.speed * Math.cos(_root.tank.body._rotation * 0.01745329)); } } } } }; Key.addListener(keyListener); leveltime = 2500; levelsound.start(0, 999); ppause = false;
Instance of Symbol 255 MovieClip "stats4" in Frame 32
onClipEvent (load) { _root.swapz(this._name, "menudp"); }
Instance of Symbol 396 MovieClip in Frame 32
onClipEvent (load) { _root.swapz(this._name, "menudp"); }
Instance of Symbol 261 MovieClip "tree3" in Frame 32
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } _y = (_y + 1); } }
Instance of Symbol 261 MovieClip "tree3" in Frame 32
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } _y = (_y + 1); } }
Instance of Symbol 395 MovieClip "l4larl1" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 304 MovieClip "l4lacg1" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 281 MovieClip "l4tower1" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l4tower2" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 402 MovieClip "l4lane1" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation - 0.3); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l4cacg1" in Frame 32
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (400 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 402 MovieClip "l4lane2" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 0.5; }
Instance of Symbol 395 MovieClip "l4larl2" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l4larl3" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l4lass2" in Frame 32
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l4lass1" in Frame 32
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 307 MovieClip "l4can1" in Frame 32
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "l4can8" in Frame 32
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "l4can6" in Frame 32
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l4tower4" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l4tower3" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 304 MovieClip "l4lacg2" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 0.5; }
Instance of Symbol 304 MovieClip "l4lacg5" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 0.5; }
Instance of Symbol 295 MovieClip "l4carl2" in Frame 32
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "l4carl1" in Frame 32
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 390 MovieClip "l4lass4" in Frame 32
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (150 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l4lass3" in Frame 32
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (150 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 307 MovieClip "l4can9" in Frame 32
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "l4can10" in Frame 32
onClipEvent (load) { hp = 50; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _global.myscore = _global.myscore + 50; this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 120, this._x, this._y, 45); _root.boom(this._x, this._y, 150); i = 0; while (i <= _root.terArray.length) { if (Math.sqrt(((_x - _root[_root.terArray[i]]._x) * (_x - _root[_root.terArray[i]]._x)) + ((_y - _root[_root.terArray[i]]._y) * (_y - _root[_root.terArray[i]]._y))) < (65 + (_root[_root.terArray[i]]._width / 2))) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 150; } i++; } _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 290 MovieClip "l4cacg2" in Frame 32
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (1000 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 304 MovieClip "l4lacg6" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 304 MovieClip "l4lacg7" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 402 MovieClip "l4lane3" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 281 MovieClip "l4tower7" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l4tower6" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l4tower5" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 395 MovieClip "l4larl5" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l4larl4" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 281 MovieClip "l4tower8" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l4tower9" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 402 MovieClip "l4lane" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (150 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1.5; }
Instance of Symbol 295 MovieClip "l4carl3" in Frame 32
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "l4carl4" in Frame 32
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 390 MovieClip "l4lass6" in Frame 32
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (50 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 0.5; }
Instance of Symbol 390 MovieClip "l4lass5" in Frame 32
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (50 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 0.5; }
Instance of Symbol 390 MovieClip "l4lass7" in Frame 32
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (150 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1.2; }
Instance of Symbol 395 MovieClip "l3larl5" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (150 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1.2; }
Instance of Symbol 290 MovieClip "l4cacg4" in Frame 32
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l4cacg3" in Frame 32
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 402 MovieClip "l4lane6" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (150 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 402 MovieClip "l4lane5" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 281 MovieClip "l4tower10" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 402 MovieClip "l4lane7" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (150 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation + 0.2); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 402 MovieClip "l4lane9" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l4larl6" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (150 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1.2; }
Instance of Symbol 261 MovieClip "tree4" in Frame 32
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree4" in Frame 32
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree4" in Frame 32
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 258 MovieClip "tree4" in Frame 32
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 258 MovieClip "tree4" in Frame 32
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 258 MovieClip "tree4" in Frame 32
onClipEvent (load) { st = false; _root.swapz(this._name, "obj2dp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { this.removeMovieClip(); } if (st && (!_root.ggame)) { _y = (_y + 1); } } }
Instance of Symbol 261 MovieClip "tree4" in Frame 32
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree4" in Frame 32
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree4" in Frame 32
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree4" in Frame 32
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree4" in Frame 32
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree4" in Frame 32
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree4" in Frame 32
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree4" in Frame 32
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l4can7" in Frame 32
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l4can12" in Frame 32
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l4can11" in Frame 32
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l4can14" in Frame 32
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l4can13" in Frame 32
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l4can16" in Frame 32
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l4can15" in Frame 32
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l4can17" in Frame 32
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree4" in Frame 32
onClipEvent (load) { !!!ERROR
Instance of Symbol 281 MovieClip "l4tower13" in Frame 32
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 374 MovieClip "ggmenu4" in Frame 32
onClipEvent (load) { !!!ERROR
Frame 38
function gg(ss) { if (_root.glevel == 9) { _root.finalstagesound.stop(); } else { _root.levelsound.stop(); _root.awardsound.start(0, 99); } _root["ggmenu" + glevel]._visible = true; _root["ggmenu" + glevel].mgg(ss); } function slice(arrayname, index) { i = 0; while (i <= _root[arrayname].length) { if (_root[arrayname][i] == index) { _root[arrayname].splice(i, 1); } i++; } } function swapz(obj, type) { _root[obj].swapDepths(_root[type]); _root[type]++; } function getdmg(int) { _root.tank.hp = _root.tank.hp - int; } function t_countshot() { t_readyshot = true; t_z1 = true; } function path(px, py, pr, ps) { duplicateMovieClip ("path", "path_" + _root.pathdp, pathdp); _root["path_" + _root.pathdp]._x = px; _root["path_" + _root.pathdp]._y = py; _root["path_" + _root.pathdp]._width = ps; _root["path_" + _root.pathdp]._rotation = pr; _root.pathdp++; } function boom(bx, by, bs) { boom_ns.start(); boomdp++; duplicateMovieClip ("boom", "boom_" + _root.boomdp, boomdp); _root["boom_" + _root.boomdp]._x = bx; _root["boom_" + _root.boomdp]._y = by; _root["boom_" + _root.boomdp]._height = bs; _root["boom_" + _root.boomdp]._width = bs; } function booms(bx, by, bs) { boomsdp++; duplicateMovieClip ("booms", "booms_" + _root.boomsdp, boomsdp); _root["booms_" + _root.boomsdp]._x = bx; _root["booms_" + _root.boomsdp]._y = by; _root["booms_" + _root.boomsdp]._height = bs; _root["booms_" + _root.boomsdp]._width = bs; } function re() { do { removeMovieClip(getInstanceAtDepth(getNextHighestDepth() - 1)); } while ((getNextHighestDepth() - 1) > 0); _root.coversound.stop(); gotoAndStop ("re"); } function rem() { do { removeMovieClip(getInstanceAtDepth(getNextHighestDepth() - 1)); } while ((getNextHighestDepth() - 1) > 0); gotoAndStop ("Menu"); } function swapn(nm) { _root[nm]._name = nm + namedp; _root.namedp = _root.namedp + 1; } function htTest(trg) { cx1 = tank._x; cy1 = tank._y; cx2 = tank._x + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy2 = tank._y - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx3 = tank._x - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy3 = tank._y + (20 * Math.cos(tank.body._rotation * 0.01745329)); cx4 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy4 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx5 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy5 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx6 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy6 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx6 = cx6 + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy6 = cy6 - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx7 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy7 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx7 = cx7 + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy7 = cy7 - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx8 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy8 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx8 = cx8 - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy8 = cy8 + (20 * Math.cos(tank.body._rotation * 0.01745329)); cx9 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy9 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx9 = cx9 - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy9 = cy9 + (20 * Math.cos(tank.body._rotation * 0.01745329)); if ((((((((_root[trg].hitTest(cx1, cy1, false) || (_root[trg].hitTest(cx2, cy2, false))) || (_root[trg].hitTest(cx3, cy3, false))) || (_root[trg].hitTest(cx4, cy4, false))) || (_root[trg].hitTest(cx5, cy5, false))) || (_root[trg].hitTest(cx6, cy6, false))) || (_root[trg].hitTest(cx7, cy7, false))) || (_root[trg].hitTest(cx8, cy8, false))) || (_root[trg].hitTest(cx9, cy9, false))) { return(true); } return(false); } tank.hp = 1000; namedp = 1; boomsdp = 300; obj0dp = 400; pathdp = 500; objdp = 1100; shotdp = 2010; boomdp = 2101; obj2dp = 2201; menudp = 3001; var keyListener = new Object(); var pauseListener = new Object(); var gameoversound = new Sound(); gameoversound.attachSound("negativefinish"); var finalstagesound = new Sound(); finalstagesound.attachSound("finalstagesound"); var awardsound = new Sound(); awardsound.attachSound("awarding"); var endsound = new Sound(); endsound.attachSound("endsound"); var levelsound = new Sound(); levelsound.attachSound("levelsound"); var boom_ns = new Sound(); boom_ns.attachSound("boom_s"); var cg_ns = new Sound(); cg_ns.attachSound("cg_s"); var rl_ns = new Sound(); rl_ns.attachSound("rl_s"); var ss_ns = new Sound(); ss_ns.attachSound("ss_s"); var back_ns = new Sound(); back_ns.attachSound("back_s"); objmaxsize = 90; enemyKilled = 0; enemySurvived = 0; totalShots = 0; hitShots = 0; terArray = new Array(); lose = false; ggame = false; aa = _root._url; isDown = false; isToggle = true; t_readyshot = false; t_z1 = true; speed = 0; i = 0; ilk = 0; time = 0; duplicateMovieClip ("t_shot", "t_shot_1", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_2", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_3", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_4", _root.shotdp); _root.shotdp++; _root.t_shot_1._x = 200000 /* 0x030D40 */; _root.t_shot_1._y = 200000 /* 0x030D40 */; _root.t_shot_2._x = 200000 /* 0x030D40 */; _root.t_shot_2._y = 200000 /* 0x030D40 */; _root.t_shot_3._x = 200000 /* 0x030D40 */; _root.t_shot_3._y = 200000 /* 0x030D40 */; _root.t_shot_4._x = 200000 /* 0x030D40 */; _root.t_shot_4._y = 200000 /* 0x030D40 */; boss.swapDepths(2003); tank.swapDepths(2002); _root.terArray.push("tank"); onEnterFrame = function () { if (!_root.ppause) { if (_root.tank.hp > 0) { time++; } if (((time >= leveltime) && (terArray.length <= 1)) && (lose == false)) { ggame = true; setTimeout(gg, 100, 1); lose = true; } if ((_root.tank.hp <= 0) && (lose == false)) { boom(tank._x, tank._y, 100); boom(tank._x - 5, tank._y + 4, 150); booms(tank._x, tank._y, 100); _root["stats" + glevel].m_hp.gotoAndStop(11); _root.lives = _root.lives - 1; _root.tank.hp = 0; if (_root.lives <= 0) { setTimeout(gg, 2000, 3); } else { setTimeout(gg, 2000, 2); } lose = true; tank.removeMovieClip(); } if (_root.tank.hp > 0) { _root["stats" + glevel].m_hp.gotoAndStop(11 - Math.ceil(_root.tank.hp / 100)); } _root["stats" + glevel].m_lv.gotoAndStop(6 - _root.lives); if (boomsdp >= 399) { boomsdp = 300; } if (pathdp >= 1000) { pathdp = 500; } if (terArray.length >= 7) { if (boomdp >= 2115) { boomdp = 2101; } } else if (boomdp >= 2200) { boomdp = 2101; } if (shotdp >= 2100) { shotdp = 2011; } if (objdp >= 2000) { objdp = 1100; } if (obj0dp >= 499) { obj0dp = 400; } if (obj2dp >= 3000) { shotdp = 2200; } if ((speed >= -0.2) && (speed <= 0.2)) { speed = 0; } else if (Key.isDown(39) || (Key.isDown(37))) { path(tank._x, tank._y, tank.body._rotation); } if ((speed - 0.2) >= 0) { speed = speed - 0.2; } if ((speed + 0.2) <= 0) { speed = speed + 0.2; } tank._x = tank._x + (speed * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (speed * Math.cos(tank.body._rotation * 0.01745329)); if (tilemap._y >= (-((tilemap._height / 2) - 500))) { tilemap._y = (-tilemap._height) + 500; } if (!ggame) { tilemap._y = tilemap._y + 1; } if (tank._y > 401) { tank._y = 401; path(tank._x, tank._y, 0); } if (tank._y < 20) { tank._y = 20; } if (tank._x < 20) { tank._x = 20; } if (tank._x > 530) { tank._x = 530; } if (!ggame) { tank._y = tank._y + 1; } if (lose == false) { if (Key.isDown(68)) { tank.body._rotation = tank.body._rotation + 2; if (speed >= 3) { tank.body._rotation = tank.body._rotation + 3; } if (((!Key.isDown(83)) && (!Key.isDown(87))) && (speed == 0)) { tank._x = tank._x + (0.5 * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (0.5 * Math.cos(tank.body._rotation * 0.01745329)); } } if (Key.isDown(65)) { tank.body._rotation = tank.body._rotation - 2; if (speed >= 3) { tank.body._rotation = tank.body._rotation - 3; } if (((!Key.isDown(87)) && (!Key.isDown(83))) && (speed == 0)) { tank._x = tank._x + (0.5 * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (0.5 * Math.cos(tank.body._rotation * 0.01745329)); } } if (Key.isDown(87)) { if ((speed + 0.5) <= 4) { speed = speed + 0.5; } } if (Key.isDown(83)) { if ((speed - 0.5) >= -3) { speed = speed - 0.5; } } if (t_readyshot == false) { if (t_z1 == true) { t_z1 = false; intervalId = setTimeout(t_countshot, 500); } } } } if (Key.isDown(32)) { if (!_root.ppause) { _root.ppause = true; _root.pmenu._visible = true; } else { _root.ppause = false; _root.pmenu._visible = false; } } }; onMouseDown = function () { isDown = true; }; onMouseUp = function () { isDown = false; }; tank.onEnterFrame = function () { if (!_root.ppause) { if (lose == false) { delta_x = this._x - _xmouse; delta_y = this._y - _ymouse; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (isDown) { tilemap.collapse(); if (t_readyshot) { ilk++; if (ilk > 4) { ilk = 1; } t_readyshot = false; this.gun.gotoAndPlay(2); totalShots++; duplicateMovieClip ("t_shot", "t_shot_" + ilk, 2005 + ilk); _root["t_shot_" + ilk]._rotation = this.gun._rotation; _root["t_shot_" + ilk]._x = (this._x + this.dulo._x) + (_root.speed * Math.sin(_root.tank.body._rotation * 0.01745329)); _root["t_shot_" + ilk]._y = (this._y + this.dulo._y) - (_root.speed * Math.cos(_root.tank.body._rotation * 0.01745329)); } } } } }; Key.addListener(keyListener); leveltime = 2600; ppause = false; levelsound.start(0, 999);
Instance of Symbol 255 MovieClip "stats5" in Frame 38
onClipEvent (load) { _root.swapz(this._name, "menudp"); }
Instance of Symbol 403 MovieClip in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 295 MovieClip "l5carl" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 281 MovieClip "l5tower1" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l5tower2" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 304 MovieClip "l5lacg1" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 304 MovieClip "l5lacg2" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 390 MovieClip "l5lass1" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation - 0.1); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l5lass2" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation + 0.1); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l5larl1" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 402 MovieClip "l5lane1" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (150 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation + 0.3); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l5larl2" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 402 MovieClip "l5lane2" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (150 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation - 0.3); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l5larl4" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l5larl3" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 307 MovieClip "l5can2" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l5can1" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 290 MovieClip "l5cacg1" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (1000 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 281 MovieClip "l5tower3" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 406 MovieClip "l5tower4" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 406 MovieClip "l5tower5" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 304 MovieClip "l5lacg3" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 395 MovieClip "l5larl8" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l5larl7" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l5larl6" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l5larl5" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 406 MovieClip "l5tower6" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l5tower7" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l5tower8" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "l5can3" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l5can4" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 390 MovieClip "l5lass4" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation - 0.2); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l5lass3" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation - 0.3); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 290 MovieClip "l5cacg2" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l5cacg3" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l5cacg4" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l5cacg4" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (140 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l5cacg5" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (140 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "l5carl2" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (140 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "l5carl3" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (140 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 390 MovieClip "l5lass6" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l5lass7" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 406 MovieClip "l5tower9" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 406 MovieClip "l5tower10" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 406 MovieClip "l5tower11" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 395 MovieClip "l5larl10" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation + 0.3); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l5larl9" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation - 0.3); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 402 MovieClip "l5lane12" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 402 MovieClip "l5lane11" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 406 MovieClip "l5tower15" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 290 MovieClip "l5cacg13" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (140 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l5cacg14" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (140 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 406 MovieClip "l5tower13" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l5tower12" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l5tower14" in Frame 38
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 290 MovieClip "l5cacg17" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (140 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "l5carl15" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (140 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "l5carl16" in Frame 38
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (140 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 307 MovieClip "l5can7" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l5can8" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l5can9" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l5can10" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l5can11" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree51" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree5" in Frame 38
onClipEvent (load) { !!!ERROR
Instance of Symbol 374 MovieClip "ggmenu5" in Frame 38
onClipEvent (load) { !!!ERROR
Frame 44
function gg(ss) { if (_root.glevel == 9) { _root.finalstagesound.stop(); } else { _root.levelsound.stop(); _root.awardsound.start(0, 99); } _root["ggmenu" + glevel]._visible = true; _root["ggmenu" + glevel].mgg(ss); } function slice(arrayname, index) { i = 0; while (i <= _root[arrayname].length) { if (_root[arrayname][i] == index) { _root[arrayname].splice(i, 1); } i++; } } function swapz(obj, type) { _root[obj].swapDepths(_root[type]); _root[type]++; } function getdmg(int) { _root.tank.hp = _root.tank.hp - int; } function t_countshot() { t_readyshot = true; t_z1 = true; } function path(px, py, pr, ps) { duplicateMovieClip ("path", "path_" + _root.pathdp, pathdp); _root["path_" + _root.pathdp]._x = px; _root["path_" + _root.pathdp]._y = py; _root["path_" + _root.pathdp]._width = ps; _root["path_" + _root.pathdp]._rotation = pr; _root.pathdp++; } function boom(bx, by, bs) { boom_ns.start(); boomdp++; duplicateMovieClip ("boom", "boom_" + _root.boomdp, boomdp); _root["boom_" + _root.boomdp]._x = bx; _root["boom_" + _root.boomdp]._y = by; _root["boom_" + _root.boomdp]._height = bs; _root["boom_" + _root.boomdp]._width = bs; } function booms(bx, by, bs) { boomsdp++; duplicateMovieClip ("booms", "booms_" + _root.boomsdp, boomsdp); _root["booms_" + _root.boomsdp]._x = bx; _root["booms_" + _root.boomsdp]._y = by; _root["booms_" + _root.boomsdp]._height = bs; _root["booms_" + _root.boomsdp]._width = bs; } function re() { do { removeMovieClip(getInstanceAtDepth(getNextHighestDepth() - 1)); } while ((getNextHighestDepth() - 1) > 0); _root.coversound.stop(); gotoAndStop ("re"); } function rem() { do { removeMovieClip(getInstanceAtDepth(getNextHighestDepth() - 1)); } while ((getNextHighestDepth() - 1) > 0); gotoAndStop ("Menu"); } function swapn(nm) { _root[nm]._name = nm + namedp; _root.namedp = _root.namedp + 1; } function htTest(trg) { cx1 = tank._x; cy1 = tank._y; cx2 = tank._x + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy2 = tank._y - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx3 = tank._x - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy3 = tank._y + (20 * Math.cos(tank.body._rotation * 0.01745329)); cx4 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy4 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx5 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy5 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx6 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy6 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx6 = cx6 + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy6 = cy6 - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx7 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy7 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx7 = cx7 + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy7 = cy7 - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx8 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy8 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx8 = cx8 - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy8 = cy8 + (20 * Math.cos(tank.body._rotation * 0.01745329)); cx9 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy9 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx9 = cx9 - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy9 = cy9 + (20 * Math.cos(tank.body._rotation * 0.01745329)); if ((((((((_root[trg].hitTest(cx1, cy1, false) || (_root[trg].hitTest(cx2, cy2, false))) || (_root[trg].hitTest(cx3, cy3, false))) || (_root[trg].hitTest(cx4, cy4, false))) || (_root[trg].hitTest(cx5, cy5, false))) || (_root[trg].hitTest(cx6, cy6, false))) || (_root[trg].hitTest(cx7, cy7, false))) || (_root[trg].hitTest(cx8, cy8, false))) || (_root[trg].hitTest(cx9, cy9, false))) { return(true); } return(false); } tank.hp = 1000; namedp = 1; boomsdp = 300; obj0dp = 400; pathdp = 500; objdp = 1100; shotdp = 2010; boomdp = 2101; obj2dp = 2201; menudp = 3001; var keyListener = new Object(); var pauseListener = new Object(); var gameoversound = new Sound(); gameoversound.attachSound("negativefinish"); var finalstagesound = new Sound(); finalstagesound.attachSound("finalstagesound"); var awardsound = new Sound(); awardsound.attachSound("awarding"); var endsound = new Sound(); endsound.attachSound("endsound"); var levelsound = new Sound(); levelsound.attachSound("levelsound"); var boom_ns = new Sound(); boom_ns.attachSound("boom_s"); var cg_ns = new Sound(); cg_ns.attachSound("cg_s"); var rl_ns = new Sound(); rl_ns.attachSound("rl_s"); var ss_ns = new Sound(); ss_ns.attachSound("ss_s"); var back_ns = new Sound(); back_ns.attachSound("back_s"); objmaxsize = 90; enemyKilled = 0; enemySurvived = 0; totalShots = 0; hitShots = 0; terArray = new Array(); lose = false; ggame = false; aa = _root._url; isDown = false; isToggle = true; t_readyshot = false; t_z1 = true; speed = 0; i = 0; ilk = 0; time = 0; duplicateMovieClip ("t_shot", "t_shot_1", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_2", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_3", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_4", _root.shotdp); _root.shotdp++; _root.t_shot_1._x = 200000 /* 0x030D40 */; _root.t_shot_1._y = 200000 /* 0x030D40 */; _root.t_shot_2._x = 200000 /* 0x030D40 */; _root.t_shot_2._y = 200000 /* 0x030D40 */; _root.t_shot_3._x = 200000 /* 0x030D40 */; _root.t_shot_3._y = 200000 /* 0x030D40 */; _root.t_shot_4._x = 200000 /* 0x030D40 */; _root.t_shot_4._y = 200000 /* 0x030D40 */; boss.swapDepths(2003); tank.swapDepths(2002); _root.terArray.push("tank"); onEnterFrame = function () { if (!_root.ppause) { if (_root.tank.hp > 0) { time++; } if (((time >= leveltime) && (terArray.length <= 1)) && (lose == false)) { ggame = true; setTimeout(gg, 100, 1); lose = true; } if ((_root.tank.hp <= 0) && (lose == false)) { boom(tank._x, tank._y, 100); boom(tank._x - 5, tank._y + 4, 150); booms(tank._x, tank._y, 100); _root["stats" + glevel].m_hp.gotoAndStop(11); _root.lives = _root.lives - 1; _root.tank.hp = 0; if (_root.lives <= 0) { setTimeout(gg, 2000, 3); } else { setTimeout(gg, 2000, 2); } lose = true; tank.removeMovieClip(); } if (_root.tank.hp > 0) { _root["stats" + glevel].m_hp.gotoAndStop(11 - Math.ceil(_root.tank.hp / 100)); } _root["stats" + glevel].m_lv.gotoAndStop(6 - _root.lives); if (boomsdp >= 399) { boomsdp = 300; } if (pathdp >= 1000) { pathdp = 500; } if (terArray.length >= 7) { if (boomdp >= 2115) { boomdp = 2101; } } else if (boomdp >= 2200) { boomdp = 2101; } if (shotdp >= 2100) { shotdp = 2011; } if (objdp >= 2000) { objdp = 1100; } if (obj0dp >= 499) { obj0dp = 400; } if (obj2dp >= 3000) { shotdp = 2200; } if ((speed >= -0.2) && (speed <= 0.2)) { speed = 0; } else if (Key.isDown(39) || (Key.isDown(37))) { path(tank._x, tank._y, tank.body._rotation); } if ((speed - 0.2) >= 0) { speed = speed - 0.2; } if ((speed + 0.2) <= 0) { speed = speed + 0.2; } tank._x = tank._x + (speed * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (speed * Math.cos(tank.body._rotation * 0.01745329)); if (tilemap._y >= (-((tilemap._height / 2) - 500))) { tilemap._y = (-tilemap._height) + 500; } if (!ggame) { tilemap._y = tilemap._y + 1; } if (tank._y > 401) { tank._y = 401; path(tank._x, tank._y, 0); } if (tank._y < 20) { tank._y = 20; } if (tank._x < 20) { tank._x = 20; } if (tank._x > 530) { tank._x = 530; } if (!ggame) { tank._y = tank._y + 1; } if (lose == false) { if (Key.isDown(68)) { tank.body._rotation = tank.body._rotation + 2; if (speed >= 3) { tank.body._rotation = tank.body._rotation + 3; } if (((!Key.isDown(83)) && (!Key.isDown(87))) && (speed == 0)) { tank._x = tank._x + (0.5 * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (0.5 * Math.cos(tank.body._rotation * 0.01745329)); } } if (Key.isDown(65)) { tank.body._rotation = tank.body._rotation - 2; if (speed >= 3) { tank.body._rotation = tank.body._rotation - 3; } if (((!Key.isDown(87)) && (!Key.isDown(83))) && (speed == 0)) { tank._x = tank._x + (0.5 * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (0.5 * Math.cos(tank.body._rotation * 0.01745329)); } } if (Key.isDown(87)) { if ((speed + 0.5) <= 4) { speed = speed + 0.5; } } if (Key.isDown(83)) { if ((speed - 0.5) >= -3) { speed = speed - 0.5; } } if (t_readyshot == false) { if (t_z1 == true) { t_z1 = false; intervalId = setTimeout(t_countshot, 500); } } } } if (Key.isDown(32)) { if (!_root.ppause) { _root.ppause = true; _root.pmenu._visible = true; } else { _root.ppause = false; _root.pmenu._visible = false; } } }; onMouseDown = function () { isDown = true; }; onMouseUp = function () { isDown = false; }; tank.onEnterFrame = function () { if (!_root.ppause) { if (lose == false) { delta_x = this._x - _xmouse; delta_y = this._y - _ymouse; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (isDown) { tilemap.collapse(); if (t_readyshot) { ilk++; if (ilk > 4) { ilk = 1; } t_readyshot = false; this.gun.gotoAndPlay(2); totalShots++; duplicateMovieClip ("t_shot", "t_shot_" + ilk, 2005 + ilk); _root["t_shot_" + ilk]._rotation = this.gun._rotation; _root["t_shot_" + ilk]._x = (this._x + this.dulo._x) + (_root.speed * Math.sin(_root.tank.body._rotation * 0.01745329)); _root["t_shot_" + ilk]._y = (this._y + this.dulo._y) - (_root.speed * Math.cos(_root.tank.body._rotation * 0.01745329)); } } } } }; Key.addListener(keyListener); leveltime = 2500; ppause = false; levelsound.start(0, 999);
Instance of Symbol 255 MovieClip "stats6" in Frame 44
onClipEvent (load) { _root.swapz(this._name, "menudp"); }
Instance of Symbol 407 MovieClip in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree6" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l6can43" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 395 MovieClip "l6larl2" in Frame 44
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l6larl1" in Frame 44
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 413 MovieClip "l6hamb4" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 413 MovieClip "l6hamb3" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 413 MovieClip "l6hamb7" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 0.5; }
Instance of Symbol 290 MovieClip "l6cacg12" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l6cacg11" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l6cacg10" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l6cacg9" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "l6carl14" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (150 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 390 MovieClip "l6lacs20" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 406 MovieClip "l6tower19" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 413 MovieClip "l6hamb18" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 402 MovieClip "l6lane15" in Frame 44
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 402 MovieClip "l6lane13" in Frame 44
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 406 MovieClip "l6tower28" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l6tower24" in Frame 44
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 418 MovieClip "l6wall27" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l6wall26" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 413 MovieClip "l6hamb31" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 413 MovieClip "l6hamb32" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 295 MovieClip "l6carl25" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "l6carl33" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 395 MovieClip "l6larl35" in Frame 44
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 281 MovieClip "l6tower38" in Frame 44
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 402 MovieClip "l6lane39" in Frame 44
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 402 MovieClip "l6lane40" in Frame 44
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 418 MovieClip "l6wall41" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l6wall42" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l6wall50" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l6wall51" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 413 MovieClip "l6hamb46" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 413 MovieClip "l6hamb49" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 413 MovieClip "l6hamb44" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 307 MovieClip "l6can36" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l6can48" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l6can47" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l6can45" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 281 MovieClip "l6tower52" in Frame 44
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l6tower53" in Frame 44
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l6tower54" in Frame 44
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l6tower55" in Frame 44
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 406 MovieClip "l6tower60" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 406 MovieClip "l6tower63" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 413 MovieClip "l6hamb56" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 0.5; }
Instance of Symbol 413 MovieClip "l6hamb57" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 0.5; }
Instance of Symbol 413 MovieClip "l6hamb61" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 0.5; }
Instance of Symbol 413 MovieClip "l6hamb58" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 0.5; }
Instance of Symbol 395 MovieClip "l6larl64" in Frame 44
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 281 MovieClip "l6tower67" in Frame 44
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 295 MovieClip "l6carl66" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation + 0.2); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 390 MovieClip "l6lacs65" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l6lacs69" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (250 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 413 MovieClip "l6hamb68" in Frame 44
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 0.5; }
Instance of Symbol 304 MovieClip "l6lacg70" in Frame 44
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 307 MovieClip "l6can37" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l6can34" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l6can30" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l6can29" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l6can21" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l6can17" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l6can16" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l6can8" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree6" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree6" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree6" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree6" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree6" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree6" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree6" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree6" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree6" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree6" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree6" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree6" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree6" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree6" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree6" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l6wall22" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l6wall3" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree6" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l6canB1" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l6canB2" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l6canB3" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l6canB3" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l6canB3" in Frame 44
onClipEvent (load) { !!!ERROR
Instance of Symbol 374 MovieClip "ggmenu6" in Frame 44
onClipEvent (load) { !!!ERROR
Frame 50
function gg(ss) { if (_root.glevel == 9) { _root.finalstagesound.stop(); } else { _root.levelsound.stop(); _root.awardsound.start(0, 99); } _root["ggmenu" + glevel]._visible = true; _root["ggmenu" + glevel].mgg(ss); } function slice(arrayname, index) { i = 0; while (i <= _root[arrayname].length) { if (_root[arrayname][i] == index) { _root[arrayname].splice(i, 1); } i++; } } function swapz(obj, type) { _root[obj].swapDepths(_root[type]); _root[type]++; } function getdmg(int) { _root.tank.hp = _root.tank.hp - int; } function t_countshot() { t_readyshot = true; t_z1 = true; } function path(px, py, pr, ps) { duplicateMovieClip ("path", "path_" + _root.pathdp, pathdp); _root["path_" + _root.pathdp]._x = px; _root["path_" + _root.pathdp]._y = py; _root["path_" + _root.pathdp]._width = ps; _root["path_" + _root.pathdp]._rotation = pr; _root.pathdp++; } function boom(bx, by, bs) { boom_ns.start(); boomdp++; duplicateMovieClip ("boom", "boom_" + _root.boomdp, boomdp); _root["boom_" + _root.boomdp]._x = bx; _root["boom_" + _root.boomdp]._y = by; _root["boom_" + _root.boomdp]._height = bs; _root["boom_" + _root.boomdp]._width = bs; } function booms(bx, by, bs) { boomsdp++; duplicateMovieClip ("booms", "booms_" + _root.boomsdp, boomsdp); _root["booms_" + _root.boomsdp]._x = bx; _root["booms_" + _root.boomsdp]._y = by; _root["booms_" + _root.boomsdp]._height = bs; _root["booms_" + _root.boomsdp]._width = bs; } function re() { do { removeMovieClip(getInstanceAtDepth(getNextHighestDepth() - 1)); } while ((getNextHighestDepth() - 1) > 0); _root.coversound.stop(); gotoAndStop ("re"); } function rem() { do { removeMovieClip(getInstanceAtDepth(getNextHighestDepth() - 1)); } while ((getNextHighestDepth() - 1) > 0); gotoAndStop ("Menu"); } function swapn(nm) { _root[nm]._name = nm + namedp; _root.namedp = _root.namedp + 1; } function htTest(trg) { cx1 = tank._x; cy1 = tank._y; cx2 = tank._x + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy2 = tank._y - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx3 = tank._x - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy3 = tank._y + (20 * Math.cos(tank.body._rotation * 0.01745329)); cx4 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy4 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx5 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy5 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx6 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy6 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx6 = cx6 + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy6 = cy6 - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx7 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy7 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx7 = cx7 + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy7 = cy7 - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx8 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy8 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx8 = cx8 - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy8 = cy8 + (20 * Math.cos(tank.body._rotation * 0.01745329)); cx9 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy9 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx9 = cx9 - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy9 = cy9 + (20 * Math.cos(tank.body._rotation * 0.01745329)); if ((((((((_root[trg].hitTest(cx1, cy1, false) || (_root[trg].hitTest(cx2, cy2, false))) || (_root[trg].hitTest(cx3, cy3, false))) || (_root[trg].hitTest(cx4, cy4, false))) || (_root[trg].hitTest(cx5, cy5, false))) || (_root[trg].hitTest(cx6, cy6, false))) || (_root[trg].hitTest(cx7, cy7, false))) || (_root[trg].hitTest(cx8, cy8, false))) || (_root[trg].hitTest(cx9, cy9, false))) { return(true); } return(false); } tank.hp = 1000; namedp = 1; boomsdp = 300; obj0dp = 400; pathdp = 500; objdp = 1100; shotdp = 2010; boomdp = 2101; obj2dp = 2201; menudp = 3001; var keyListener = new Object(); var pauseListener = new Object(); var gameoversound = new Sound(); gameoversound.attachSound("negativefinish"); var finalstagesound = new Sound(); finalstagesound.attachSound("finalstagesound"); var awardsound = new Sound(); awardsound.attachSound("awarding"); var endsound = new Sound(); endsound.attachSound("endsound"); var levelsound = new Sound(); levelsound.attachSound("levelsound"); var boom_ns = new Sound(); boom_ns.attachSound("boom_s"); var cg_ns = new Sound(); cg_ns.attachSound("cg_s"); var rl_ns = new Sound(); rl_ns.attachSound("rl_s"); var ss_ns = new Sound(); ss_ns.attachSound("ss_s"); var back_ns = new Sound(); back_ns.attachSound("back_s"); objmaxsize = 90; enemyKilled = 0; enemySurvived = 0; totalShots = 0; hitShots = 0; terArray = new Array(); lose = false; ggame = false; aa = _root._url; isDown = false; isToggle = true; t_readyshot = false; t_z1 = true; speed = 0; i = 0; ilk = 0; time = 0; duplicateMovieClip ("t_shot", "t_shot_1", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_2", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_3", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_4", _root.shotdp); _root.shotdp++; _root.t_shot_1._x = 200000 /* 0x030D40 */; _root.t_shot_1._y = 200000 /* 0x030D40 */; _root.t_shot_2._x = 200000 /* 0x030D40 */; _root.t_shot_2._y = 200000 /* 0x030D40 */; _root.t_shot_3._x = 200000 /* 0x030D40 */; _root.t_shot_3._y = 200000 /* 0x030D40 */; _root.t_shot_4._x = 200000 /* 0x030D40 */; _root.t_shot_4._y = 200000 /* 0x030D40 */; boss.swapDepths(2003); tank.swapDepths(2002); _root.terArray.push("tank"); onEnterFrame = function () { if (!_root.ppause) { if (_root.tank.hp > 0) { time++; } if (((time >= leveltime) && (terArray.length <= 1)) && (lose == false)) { ggame = true; setTimeout(gg, 100, 1); lose = true; } if ((_root.tank.hp <= 0) && (lose == false)) { boom(tank._x, tank._y, 100); boom(tank._x - 5, tank._y + 4, 150); booms(tank._x, tank._y, 100); _root["stats" + glevel].m_hp.gotoAndStop(11); _root.lives = _root.lives - 1; _root.tank.hp = 0; if (_root.lives <= 0) { setTimeout(gg, 2000, 3); } else { setTimeout(gg, 2000, 2); } lose = true; tank.removeMovieClip(); } if (_root.tank.hp > 0) { _root["stats" + glevel].m_hp.gotoAndStop(11 - Math.ceil(_root.tank.hp / 100)); } _root["stats" + glevel].m_lv.gotoAndStop(6 - _root.lives); if (boomsdp >= 399) { boomsdp = 300; } if (pathdp >= 1000) { pathdp = 500; } if (terArray.length >= 7) { if (boomdp >= 2115) { boomdp = 2101; } } else if (boomdp >= 2200) { boomdp = 2101; } if (shotdp >= 2100) { shotdp = 2011; } if (objdp >= 2000) { objdp = 1100; } if (obj0dp >= 499) { obj0dp = 400; } if (obj2dp >= 3000) { shotdp = 2200; } if ((speed >= -0.2) && (speed <= 0.2)) { speed = 0; } else if (Key.isDown(39) || (Key.isDown(37))) { path(tank._x, tank._y, tank.body._rotation); } if ((speed - 0.2) >= 0) { speed = speed - 0.2; } if ((speed + 0.2) <= 0) { speed = speed + 0.2; } tank._x = tank._x + (speed * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (speed * Math.cos(tank.body._rotation * 0.01745329)); if (tilemap._y >= (-((tilemap._height / 2) - 500))) { tilemap._y = (-tilemap._height) + 500; } if (!ggame) { tilemap._y = tilemap._y + 1; } if (tank._y > 401) { tank._y = 401; path(tank._x, tank._y, 0); } if (tank._y < 20) { tank._y = 20; } if (tank._x < 20) { tank._x = 20; } if (tank._x > 530) { tank._x = 530; } if (!ggame) { tank._y = tank._y + 1; } if (lose == false) { if (Key.isDown(68)) { tank.body._rotation = tank.body._rotation + 2; if (speed >= 3) { tank.body._rotation = tank.body._rotation + 3; } if (((!Key.isDown(83)) && (!Key.isDown(87))) && (speed == 0)) { tank._x = tank._x + (0.5 * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (0.5 * Math.cos(tank.body._rotation * 0.01745329)); } } if (Key.isDown(65)) { tank.body._rotation = tank.body._rotation - 2; if (speed >= 3) { tank.body._rotation = tank.body._rotation - 3; } if (((!Key.isDown(87)) && (!Key.isDown(83))) && (speed == 0)) { tank._x = tank._x + (0.5 * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (0.5 * Math.cos(tank.body._rotation * 0.01745329)); } } if (Key.isDown(87)) { if ((speed + 0.5) <= 4) { speed = speed + 0.5; } } if (Key.isDown(83)) { if ((speed - 0.5) >= -3) { speed = speed - 0.5; } } if (t_readyshot == false) { if (t_z1 == true) { t_z1 = false; intervalId = setTimeout(t_countshot, 500); } } } } if (Key.isDown(32)) { if (!_root.ppause) { _root.ppause = true; _root.pmenu._visible = true; } else { _root.ppause = false; _root.pmenu._visible = false; } } }; onMouseDown = function () { isDown = true; }; onMouseUp = function () { isDown = false; }; tank.onEnterFrame = function () { if (!_root.ppause) { if (lose == false) { delta_x = this._x - _xmouse; delta_y = this._y - _ymouse; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (isDown) { tilemap.collapse(); if (t_readyshot) { ilk++; if (ilk > 4) { ilk = 1; } t_readyshot = false; this.gun.gotoAndPlay(2); totalShots++; duplicateMovieClip ("t_shot", "t_shot_" + ilk, 2005 + ilk); _root["t_shot_" + ilk]._rotation = this.gun._rotation; _root["t_shot_" + ilk]._x = (this._x + this.dulo._x) + (_root.speed * Math.sin(_root.tank.body._rotation * 0.01745329)); _root["t_shot_" + ilk]._y = (this._y + this.dulo._y) - (_root.speed * Math.cos(_root.tank.body._rotation * 0.01745329)); } } } } }; Key.addListener(keyListener); leveltime = 2500; ppause = false; levelsound.start(0, 999);
Instance of Symbol 255 MovieClip "stats7" in Frame 50
onClipEvent (load) { _root.swapz(this._name, "menudp"); }
Instance of Symbol 422 MovieClip in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 290 MovieClip "l7cacg25" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "l7carl24" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 281 MovieClip "l7tower1" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l7tower3" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 406 MovieClip "l7tower2" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 406 MovieClip "l7tower4" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 413 MovieClip "l7hamb5" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation + 0.2); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 413 MovieClip "l7hamb6" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _rotation = (_rotation + 0.3); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 418 MovieClip "l7wall8" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l7wall7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 390 MovieClip "l7lacs9" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l7lacs10" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l7lacs13" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l7lacs12" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 433 MovieClip "l7hasz14" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 1000; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 1000; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 281 MovieClip "l7tower11" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 418 MovieClip "l7wall17" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l7wall16" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l7wall18" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l7wall19" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 304 MovieClip "l7lacg15" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 304 MovieClip "l7lacg116" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 433 MovieClip "l7hasz21" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 1000; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 1000; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 433 MovieClip "l7hasz20" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 1000; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 1000; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 290 MovieClip "l7cacg22" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l7cacg26" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "l7carl27" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 406 MovieClip "l7tower36" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 290 MovieClip "l7cacg29" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 433 MovieClip "l7hasz30" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 1000; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 1000; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 433 MovieClip "l7hasz32" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 1000; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 1000; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 295 MovieClip "l7carl33" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l7cacg45" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 307 MovieClip "l7can37" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can43" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can38" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can46" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can53" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can52" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can45" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can57" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can39" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can56" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can63" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can60" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can62" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can65" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 390 MovieClip "l7lacs40" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 402 MovieClip "l7lane55" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 402 MovieClip "l7lane51" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l7larl49" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l7larl58" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 304 MovieClip "l7lacg61" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 304 MovieClip "l7lacg48" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 304 MovieClip "l7lacg42" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 402 MovieClip "l7lane64" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 418 MovieClip "l7wall71" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l7wall69" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l7wall73" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l7wall72" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 281 MovieClip "l7tower67" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l7tower68" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 433 MovieClip "l7hasz80" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 1000; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 1000; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 433 MovieClip "l7hasz79" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 1000; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 1000; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 413 MovieClip "l7hamb76" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 290 MovieClip "l7cacg77" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l7cacg75" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 406 MovieClip "l7tower78" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 406 MovieClip "l7tower74" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "l7can82" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can87" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can89" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l6canB92" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 433 MovieClip "l7hasz98" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 1000; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 1000; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 413 MovieClip "l7hamb86" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 433 MovieClip "l7hasz91" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 1000; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 1000; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 413 MovieClip "l7hamb94" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 433 MovieClip "l7hasz83" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 1000; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 1000; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 413 MovieClip "l7hamb97" in Frame 50
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 307 MovieClip "l7can90" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can95" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can81" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can84" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can88" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can96" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can101" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can102" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can103" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can99" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 395 MovieClip "l7larl93" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l7larl100" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l7larl105" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 307 MovieClip "l7can104" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 395 MovieClip "l7larl85" in Frame 50
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 258 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree7" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l6canB112" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l6canB111" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can114" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can113" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can115" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can110" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l7can119" in Frame 50
onClipEvent (load) { !!!ERROR
Instance of Symbol 374 MovieClip "ggmenu7" in Frame 50
onClipEvent (load) { !!!ERROR
Frame 56
function gg(ss) { if (_root.glevel == 9) { _root.finalstagesound.stop(); } else { _root.levelsound.stop(); _root.awardsound.start(0, 99); } _root["ggmenu" + glevel]._visible = true; _root["ggmenu" + glevel].mgg(ss); } function slice(arrayname, index) { i = 0; while (i <= _root[arrayname].length) { if (_root[arrayname][i] == index) { _root[arrayname].splice(i, 1); } i++; } } function swapz(obj, type) { _root[obj].swapDepths(_root[type]); _root[type]++; } function getdmg(int) { _root.tank.hp = _root.tank.hp - int; } function t_countshot() { t_readyshot = true; t_z1 = true; } function path(px, py, pr, ps) { duplicateMovieClip ("path", "path_" + _root.pathdp, pathdp); _root["path_" + _root.pathdp]._x = px; _root["path_" + _root.pathdp]._y = py; _root["path_" + _root.pathdp]._width = ps; _root["path_" + _root.pathdp]._rotation = pr; _root.pathdp++; } function boom(bx, by, bs) { boom_ns.start(); boomdp++; duplicateMovieClip ("boom", "boom_" + _root.boomdp, boomdp); _root["boom_" + _root.boomdp]._x = bx; _root["boom_" + _root.boomdp]._y = by; _root["boom_" + _root.boomdp]._height = bs; _root["boom_" + _root.boomdp]._width = bs; } function booms(bx, by, bs) { boomsdp++; duplicateMovieClip ("booms", "booms_" + _root.boomsdp, boomsdp); _root["booms_" + _root.boomsdp]._x = bx; _root["booms_" + _root.boomsdp]._y = by; _root["booms_" + _root.boomsdp]._height = bs; _root["booms_" + _root.boomsdp]._width = bs; } function re() { do { removeMovieClip(getInstanceAtDepth(getNextHighestDepth() - 1)); } while ((getNextHighestDepth() - 1) > 0); _root.coversound.stop(); gotoAndStop ("re"); } function rem() { do { removeMovieClip(getInstanceAtDepth(getNextHighestDepth() - 1)); } while ((getNextHighestDepth() - 1) > 0); gotoAndStop ("Menu"); } function swapn(nm) { _root[nm]._name = nm + namedp; _root.namedp = _root.namedp + 1; } function htTest(trg) { cx1 = tank._x; cy1 = tank._y; cx2 = tank._x + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy2 = tank._y - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx3 = tank._x - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy3 = tank._y + (20 * Math.cos(tank.body._rotation * 0.01745329)); cx4 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy4 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx5 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy5 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx6 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy6 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx6 = cx6 + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy6 = cy6 - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx7 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy7 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx7 = cx7 + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy7 = cy7 - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx8 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy8 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx8 = cx8 - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy8 = cy8 + (20 * Math.cos(tank.body._rotation * 0.01745329)); cx9 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy9 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx9 = cx9 - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy9 = cy9 + (20 * Math.cos(tank.body._rotation * 0.01745329)); if ((((((((_root[trg].hitTest(cx1, cy1, false) || (_root[trg].hitTest(cx2, cy2, false))) || (_root[trg].hitTest(cx3, cy3, false))) || (_root[trg].hitTest(cx4, cy4, false))) || (_root[trg].hitTest(cx5, cy5, false))) || (_root[trg].hitTest(cx6, cy6, false))) || (_root[trg].hitTest(cx7, cy7, false))) || (_root[trg].hitTest(cx8, cy8, false))) || (_root[trg].hitTest(cx9, cy9, false))) { return(true); } return(false); } tank.hp = 1000; namedp = 1; boomsdp = 300; obj0dp = 400; pathdp = 500; objdp = 1100; shotdp = 2010; boomdp = 2101; obj2dp = 2201; menudp = 3001; var keyListener = new Object(); var pauseListener = new Object(); var gameoversound = new Sound(); gameoversound.attachSound("negativefinish"); var finalstagesound = new Sound(); finalstagesound.attachSound("finalstagesound"); var awardsound = new Sound(); awardsound.attachSound("awarding"); var endsound = new Sound(); endsound.attachSound("endsound"); var levelsound = new Sound(); levelsound.attachSound("levelsound"); var boom_ns = new Sound(); boom_ns.attachSound("boom_s"); var cg_ns = new Sound(); cg_ns.attachSound("cg_s"); var rl_ns = new Sound(); rl_ns.attachSound("rl_s"); var ss_ns = new Sound(); ss_ns.attachSound("ss_s"); var back_ns = new Sound(); back_ns.attachSound("back_s"); objmaxsize = 90; enemyKilled = 0; enemySurvived = 0; totalShots = 0; hitShots = 0; terArray = new Array(); lose = false; ggame = false; aa = _root._url; isDown = false; isToggle = true; t_readyshot = false; t_z1 = true; speed = 0; i = 0; ilk = 0; time = 0; duplicateMovieClip ("t_shot", "t_shot_1", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_2", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_3", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_4", _root.shotdp); _root.shotdp++; _root.t_shot_1._x = 200000 /* 0x030D40 */; _root.t_shot_1._y = 200000 /* 0x030D40 */; _root.t_shot_2._x = 200000 /* 0x030D40 */; _root.t_shot_2._y = 200000 /* 0x030D40 */; _root.t_shot_3._x = 200000 /* 0x030D40 */; _root.t_shot_3._y = 200000 /* 0x030D40 */; _root.t_shot_4._x = 200000 /* 0x030D40 */; _root.t_shot_4._y = 200000 /* 0x030D40 */; boss.swapDepths(2003); tank.swapDepths(2002); _root.terArray.push("tank"); onEnterFrame = function () { if (!_root.ppause) { if (_root.tank.hp > 0) { time++; } if (((time >= leveltime) && (terArray.length <= 1)) && (lose == false)) { ggame = true; setTimeout(gg, 100, 1); lose = true; } if ((_root.tank.hp <= 0) && (lose == false)) { boom(tank._x, tank._y, 100); boom(tank._x - 5, tank._y + 4, 150); booms(tank._x, tank._y, 100); _root["stats" + glevel].m_hp.gotoAndStop(11); _root.lives = _root.lives - 1; _root.tank.hp = 0; if (_root.lives <= 0) { setTimeout(gg, 2000, 3); } else { setTimeout(gg, 2000, 2); } lose = true; tank.removeMovieClip(); } if (_root.tank.hp > 0) { _root["stats" + glevel].m_hp.gotoAndStop(11 - Math.ceil(_root.tank.hp / 100)); } _root["stats" + glevel].m_lv.gotoAndStop(6 - _root.lives); if (boomsdp >= 399) { boomsdp = 300; } if (pathdp >= 1000) { pathdp = 500; } if (terArray.length >= 7) { if (boomdp >= 2115) { boomdp = 2101; } } else if (boomdp >= 2200) { boomdp = 2101; } if (shotdp >= 2100) { shotdp = 2011; } if (objdp >= 2000) { objdp = 1100; } if (obj0dp >= 499) { obj0dp = 400; } if (obj2dp >= 3000) { shotdp = 2200; } if ((speed >= -0.2) && (speed <= 0.2)) { speed = 0; } else if (Key.isDown(39) || (Key.isDown(37))) { path(tank._x, tank._y, tank.body._rotation); } if ((speed - 0.2) >= 0) { speed = speed - 0.2; } if ((speed + 0.2) <= 0) { speed = speed + 0.2; } tank._x = tank._x + (speed * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (speed * Math.cos(tank.body._rotation * 0.01745329)); if (tilemap._y >= (-((tilemap._height / 2) - 500))) { tilemap._y = (-tilemap._height) + 500; } if (!ggame) { tilemap._y = tilemap._y + 1; } if (tank._y > 401) { tank._y = 401; path(tank._x, tank._y, 0); } if (tank._y < 20) { tank._y = 20; } if (tank._x < 20) { tank._x = 20; } if (tank._x > 530) { tank._x = 530; } if (!ggame) { tank._y = tank._y + 1; } if (lose == false) { if (Key.isDown(68)) { tank.body._rotation = tank.body._rotation + 2; if (speed >= 3) { tank.body._rotation = tank.body._rotation + 3; } if (((!Key.isDown(83)) && (!Key.isDown(87))) && (speed == 0)) { tank._x = tank._x + (0.5 * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (0.5 * Math.cos(tank.body._rotation * 0.01745329)); } } if (Key.isDown(65)) { tank.body._rotation = tank.body._rotation - 2; if (speed >= 3) { tank.body._rotation = tank.body._rotation - 3; } if (((!Key.isDown(87)) && (!Key.isDown(83))) && (speed == 0)) { tank._x = tank._x + (0.5 * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (0.5 * Math.cos(tank.body._rotation * 0.01745329)); } } if (Key.isDown(87)) { if ((speed + 0.5) <= 4) { speed = speed + 0.5; } } if (Key.isDown(83)) { if ((speed - 0.5) >= -3) { speed = speed - 0.5; } } if (t_readyshot == false) { if (t_z1 == true) { t_z1 = false; intervalId = setTimeout(t_countshot, 500); } } } } if (Key.isDown(32)) { if (!_root.ppause) { _root.ppause = true; _root.pmenu._visible = true; } else { _root.ppause = false; _root.pmenu._visible = false; } } }; onMouseDown = function () { isDown = true; }; onMouseUp = function () { isDown = false; }; tank.onEnterFrame = function () { if (!_root.ppause) { if (lose == false) { delta_x = this._x - _xmouse; delta_y = this._y - _ymouse; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (isDown) { tilemap.collapse(); if (t_readyshot) { ilk++; if (ilk > 4) { ilk = 1; } t_readyshot = false; this.gun.gotoAndPlay(2); totalShots++; duplicateMovieClip ("t_shot", "t_shot_" + ilk, 2005 + ilk); _root["t_shot_" + ilk]._rotation = this.gun._rotation; _root["t_shot_" + ilk]._x = (this._x + this.dulo._x) + (_root.speed * Math.sin(_root.tank.body._rotation * 0.01745329)); _root["t_shot_" + ilk]._y = (this._y + this.dulo._y) - (_root.speed * Math.cos(_root.tank.body._rotation * 0.01745329)); } } } } }; Key.addListener(keyListener); leveltime = 2500; ppause = false; levelsound.start(0, 999);
Instance of Symbol 255 MovieClip "stats8" in Frame 56
onClipEvent (load) { _root.swapz(this._name, "menudp"); }
Instance of Symbol 434 MovieClip in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree7" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree7" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree7" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 440 MovieClip "srocket" in Frame 56
onClipEvent (load) { function newrr() { newr = 1; } this.i = 4; newr = 2; setTimeout(this.newrr, 600); } onClipEvent (enterFrame) { if (!_root.ppause) { if (this._name != "srocket") { this._y = this._y + 1; if (newr == 2) { delta_x = _x - _root.tank._x; delta_y = _y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; _rotation = a; } if (_root.tank.hitTest(this._x, this._y, true)) { _root.boom(this._x, this._y, 75); _root.getdmg(100); this.removeMovieClip(); } this.i = this.i + 0.1; this._x = this._x + (i * Math.sin(this._rotation * 0.01745329)); if ((((this._x >= 600) || (this._x <= -50)) || (this._y >= 475)) || (this._y <= -50)) { this.removeMovieClip(); } this._y = this._y - (i * Math.cos(this._rotation * 0.01745329)); } } }
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 290 MovieClip "l8cacg" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (1000 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 281 MovieClip "l8tower" in Frame 56
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 295 MovieClip "l8carl" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 304 MovieClip "l8lacg" in Frame 56
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 390 MovieClip "l8lacs" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (300 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 418 MovieClip "l8wall60" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 402 MovieClip "l8lane" in Frame 56
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 406 MovieClip "l8tower" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 413 MovieClip "l8hamb" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 433 MovieClip "l8hasz" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 1000; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 1000; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l8can1" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l8canB100" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l8can2" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l8can5" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l8can9" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l8can8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l8can10" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l8can11" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l8canB" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l8can21" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l8can27" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l8canB13" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l8canB32" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 281 MovieClip "l8tower6" in Frame 56
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 406 MovieClip "l8tower4" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 406 MovieClip "l8tower7" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 406 MovieClip "l8tower14" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l8tower12" in Frame 56
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l8tower15" in Frame 56
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 307 MovieClip "l8can100" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l8canB3" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l8can22" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 390 MovieClip "l8lacs25" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l8lacs24" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l8lacs33" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l8lacs29" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l8lacs30" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 390 MovieClip "l8lacs31" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 281 MovieClip "l8tower28" in Frame 56
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l8tower23" in Frame 56
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 444 MovieClip "l8haro34" in Frame 56
onClipEvent (load) { function cgshot(nm, ztp) { _root.rl_ns.start(); if (ztp == 1) { _root[nm].gun.gotoAndPlay("z1"); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (10 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (10 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (10 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (10 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root.shotdp++; } if (ztp == 2) { _root[nm].gun.gotoAndPlay("z2"); _root.shotdp++; duplicateMovieClip (_root.srocket, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; } } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 500; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name, 2); setTimeout(cgshot, 600, this._name, 1); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 500; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (400 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 290 MovieClip "l8cacg36" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (1000 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l8cacg37" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (1000 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 406 MovieClip "l8tower38" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 413 MovieClip "l8hamb40" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 413 MovieClip "l8hamb39" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l8larl44" in Frame 56
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l8larl43" in Frame 56
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 281 MovieClip "l8tower41" in Frame 56
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 433 MovieClip "l8hasz50" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 1000; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 1000; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 433 MovieClip "l8hasz49" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 1000; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 1000; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 444 MovieClip "l8haro45" in Frame 56
onClipEvent (load) { function cgshot(nm, ztp) { _root.rl_ns.start(); if (ztp == 1) { _root[nm].gun.gotoAndPlay("z1"); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (10 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (10 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (10 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (10 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root.shotdp++; } if (ztp == 2) { _root[nm].gun.gotoAndPlay("z2"); _root.shotdp++; duplicateMovieClip (_root.srocket, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; } } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 500; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name, 2); setTimeout(cgshot, 600, this._name, 1); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 500; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 444 MovieClip "l8haro48" in Frame 56
onClipEvent (load) { function cgshot(nm, ztp) { _root.rl_ns.start(); if (ztp == 1) { _root[nm].gun.gotoAndPlay("z1"); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (10 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (10 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (10 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (10 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root.shotdp++; } if (ztp == 2) { _root[nm].gun.gotoAndPlay("z2"); _root.shotdp++; duplicateMovieClip (_root.srocket, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; } } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 500; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name, 2); setTimeout(cgshot, 600, this._name, 1); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 500; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 281 MovieClip "l8tower51" in Frame 56
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 413 MovieClip "l8hamb52" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.mshot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 750; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 750; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (100 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 444 MovieClip "l8haro153" in Frame 56
onClipEvent (load) { function cgshot(nm, ztp) { _root.rl_ns.start(); if (ztp == 1) { _root[nm].gun.gotoAndPlay("z1"); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (10 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (10 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (10 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (10 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root.shotdp++; } if (ztp == 2) { _root[nm].gun.gotoAndPlay("z2"); _root.shotdp++; duplicateMovieClip (_root.srocket, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; } } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 500; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name, 2); setTimeout(cgshot, 600, this._name, 1); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 500; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 295 MovieClip "l8carl55" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 295 MovieClip "l8carl54" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.rl_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; z1 = true; readyshot = false; movem = 0; i = 1; hp = 99; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 150; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 402 MovieClip "l8lane56" in Frame 56
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = ((_root[nm]._rotation + _root[nm].gun._rotation) + random(20)) - 10; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (35 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (35 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 350; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 75, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 250, this._name); setTimeout(cgshot, 325, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 350; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 418 MovieClip "l8wall61" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l8wall62" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l8wall63" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l8wall" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l8wall64" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 406 MovieClip "l8tower58" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 406 MovieClip "l8tower59" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 433 MovieClip "l8hasz67" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 1000; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 1000; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 433 MovieClip "l8hasz65" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = (_root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (6 * Math.sin((_root[nm].gun._rotation + 90) * 0.01745329)); _root["ss_" + _root.shotdp]._y = (_root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (6 * Math.cos((_root[nm].gun._rotation + 90) * 0.01745329)); _root.shotdp++; } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 1000; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 1000; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 444 MovieClip "l8haro66" in Frame 56
onClipEvent (load) { function cgshot(nm, ztp) { _root.rl_ns.start(); if (ztp == 1) { _root[nm].gun.gotoAndPlay("z1"); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (10 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (10 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (10 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (10 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root.shotdp++; } if (ztp == 2) { _root[nm].gun.gotoAndPlay("z2"); _root.shotdp++; duplicateMovieClip (_root.srocket, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; } } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 500; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name, 2); setTimeout(cgshot, 600, this._name, 1); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 500; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (0 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 290 MovieClip "l8cacg70" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (1000 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 290 MovieClip "l8cacg69" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.cg_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = _root[nm]._x + (20 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["chain_" + _root.shotdp]._y = _root[nm]._y - (20 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } speed = 1; movem = 0; z1 = true; readyshot = false; i = 1; hp = 100; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); setTimeout(cgshot, 400, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 20, this._x, this._y, 55); _root.enemyKilled++; _global.myscore = _global.myscore + 100; _root.boom(this._x, this._y, 100); _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (1000 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 444 MovieClip "l8haro89" in Frame 56
onClipEvent (load) { function cgshot(nm, ztp) { _root.rl_ns.start(); if (ztp == 1) { _root[nm].gun.gotoAndPlay("z1"); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (10 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (10 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (10 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (10 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root.shotdp++; } if (ztp == 2) { _root[nm].gun.gotoAndPlay("z2"); _root.shotdp++; duplicateMovieClip (_root.srocket, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; } } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 500; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name, 2); setTimeout(cgshot, 600, this._name, 1); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 500; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 281 MovieClip "l8tower72" in Frame 56
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l8tower73" in Frame 56
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 444 MovieClip "l8haro76" in Frame 56
onClipEvent (load) { function cgshot(nm, ztp) { _root.rl_ns.start(); if (ztp == 1) { _root[nm].gun.gotoAndPlay("z1"); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (10 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (10 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (10 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (10 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root.shotdp++; } if (ztp == 2) { _root[nm].gun.gotoAndPlay("z2"); _root.shotdp++; duplicateMovieClip (_root.srocket, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; } } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 500; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name, 2); setTimeout(cgshot, 600, this._name, 1); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 500; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 304 MovieClip "l8lacg71" in Frame 56
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cg, "chain_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chain_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chain_" + _root.shotdp]._x = (_root[nm]._x + (25 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chain_" + _root.shotdp]._y = (_root[nm]._y - (25 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; speed = 1; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 250; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 300, this._name, 2); setTimeout(cgshot, 600, this._name, 1); setTimeout(cgshot, 900, this._name, 2); setTimeout(cgshot, 1200, this._name, 1); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 250; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } }
Instance of Symbol 390 MovieClip "l8lacs74" in Frame 56
onClipEvent (load) { function cgshot(nm) { _root.shotdp++; _root.ss_ns.start(); _root[nm].gun.gotoAndPlay(3); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 300; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 300; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (150 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 395 MovieClip "l8larl78" in Frame 56
onClipEvent (load) { function cgshot(nm, pos) { _root.rl_ns.start(); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); if (pos == 1) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(3); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { if (_root.fpp >= 24) { _root[nm].gun.gotoAndPlay(20); } _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (4 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (4 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; movem = 0; i = 1; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 400; _root.slice("terArray", this._name); this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 600, this._name, 2); readyshot = false; } if ((_root.htTest(this._name) && (this._x > 0)) && (this._x < 550)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if ((this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if ((this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if ((this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if ((this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (this._x > 0)) && (this._x < 550)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 75); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 120); _root.enemyKilled++; _global.myscore = _global.myscore + 400; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 261 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l8can26" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l8canB42" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l8can36" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l8can35" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l8can46" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l8can47" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l8canB68" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l8can57" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l8can75" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l8canB77" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l8canB20" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 258 MovieClip "tree8" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l8canB4110" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l8can474" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l8canB4110" in Frame 56
onClipEvent (load) { !!!ERROR
Instance of Symbol 374 MovieClip "ggmenu8" in Frame 56
onClipEvent (load) { !!!ERROR
Frame 62
function gg(ss) { _root["ggmenu" + glevel]._visible = true; _root["ggmenu" + glevel].mgg(ss); } function slice(arrayname, index) { i = 0; while (i <= _root[arrayname].length) { if (_root[arrayname][i] == index) { _root[arrayname].splice(i, 1); } i++; } } function swapz(obj, type) { _root[obj].swapDepths(_root[type]); _root[type]++; } function getdmg(int) { _root.tank.hp = _root.tank.hp - int; } function t_countshot() { t_readyshot = true; t_z1 = true; } function path(px, py, pr, ps) { duplicateMovieClip ("path", "path_" + _root.pathdp, pathdp); _root["path_" + _root.pathdp]._x = px; _root["path_" + _root.pathdp]._y = py; _root["path_" + _root.pathdp]._width = ps; _root["path_" + _root.pathdp]._rotation = pr; _root.pathdp++; } function boom(bx, by, bs) { boom_ns.start(); boomdp++; duplicateMovieClip ("boom", "boom_" + _root.boomdp, boomdp); _root["boom_" + _root.boomdp]._x = bx; _root["boom_" + _root.boomdp]._y = by; _root["boom_" + _root.boomdp]._height = bs; _root["boom_" + _root.boomdp]._width = bs; } function booms(bx, by, bs) { boomsdp++; duplicateMovieClip ("booms", "booms_" + _root.boomsdp, boomsdp); _root["booms_" + _root.boomsdp]._x = bx; _root["booms_" + _root.boomsdp]._y = by; _root["booms_" + _root.boomsdp]._height = bs; _root["booms_" + _root.boomsdp]._width = bs; } function re() { do { removeMovieClip(getInstanceAtDepth(getNextHighestDepth() - 1)); } while ((getNextHighestDepth() - 1) > 0); gotoAndStop ("re"); } function rem() { do { removeMovieClip(getInstanceAtDepth(getNextHighestDepth() - 1)); } while ((getNextHighestDepth() - 1) > 0); gotoAndStop ("Menu"); } function swapn(nm) { _root[nm]._name = nm + namedp; _root.namedp = _root.namedp + 1; } function htTest(trg) { cx1 = tank._x; cy1 = tank._y; cx2 = tank._x + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy2 = tank._y - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx3 = tank._x - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy3 = tank._y + (20 * Math.cos(tank.body._rotation * 0.01745329)); cx4 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy4 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx5 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy5 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx6 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy6 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx6 = cx6 + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy6 = cy6 - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx7 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy7 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx7 = cx7 + (20 * Math.sin(tank.body._rotation * 0.01745329)); cy7 = cy7 - (20 * Math.cos(tank.body._rotation * 0.01745329)); cx8 = tank._x + (15 * Math.sin((tank.body._rotation - 90) * 0.01745329)); cy8 = tank._y - (15 * Math.cos((tank.body._rotation - 90) * 0.01745329)); cx8 = cx8 - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy8 = cy8 + (20 * Math.cos(tank.body._rotation * 0.01745329)); cx9 = tank._x + (15 * Math.sin((tank.body._rotation + 90) * 0.01745329)); cy9 = tank._y - (15 * Math.cos((tank.body._rotation + 90) * 0.01745329)); cx9 = cx9 - (20 * Math.sin(tank.body._rotation * 0.01745329)); cy9 = cy9 + (20 * Math.cos(tank.body._rotation * 0.01745329)); if ((((((((_root[trg].hitTest(cx1, cy1, false) || (_root[trg].hitTest(cx2, cy2, false))) || (_root[trg].hitTest(cx3, cy3, false))) || (_root[trg].hitTest(cx4, cy4, false))) || (_root[trg].hitTest(cx5, cy5, false))) || (_root[trg].hitTest(cx6, cy6, false))) || (_root[trg].hitTest(cx7, cy7, false))) || (_root[trg].hitTest(cx8, cy8, false))) || (_root[trg].hitTest(cx9, cy9, false))) { return(true); } return(false); } tank.hp = 1000; namedp = 1; boomsdp = 300; obj0dp = 400; pathdp = 500; objdp = 1100; shotdp = 2010; boomdp = 2101; obj2dp = 2201; menudp = 3001; var keyListener = new Object(); var boom_ns = new Sound(); boom_ns.attachSound("boom_s"); var cg_ns = new Sound(); cg_ns.attachSound("cg_s"); var rl_ns = new Sound(); rl_ns.attachSound("rl_s"); var ss_ns = new Sound(); ss_ns.attachSound("ss_s"); var back_ns = new Sound(); back_ns.attachSound("back_s"); objmaxsize = 90; enemyKilled = 0; enemySurvived = 0; totalShots = 0; hitShots = 0; terArray = new Array(); lose = false; ggame = false; aa = _root._url; isDown = false; isToggle = true; t_readyshot = false; t_z1 = true; speed = 0; i = 0; ilk = 0; time = 0; duplicateMovieClip ("t_shot", "t_shot_1", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_2", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_3", _root.shotdp); _root.shotdp++; duplicateMovieClip ("t_shot", "t_shot_4", _root.shotdp); _root.shotdp++; _root.t_shot_1._x = 200000 /* 0x030D40 */; _root.t_shot_1._y = 200000 /* 0x030D40 */; _root.t_shot_2._x = 200000 /* 0x030D40 */; _root.t_shot_2._y = 200000 /* 0x030D40 */; _root.t_shot_3._x = 200000 /* 0x030D40 */; _root.t_shot_3._y = 200000 /* 0x030D40 */; _root.t_shot_4._x = 200000 /* 0x030D40 */; _root.t_shot_4._y = 200000 /* 0x030D40 */; boss.swapDepths(2003); tank.swapDepths(2002); _root.terArray.push("tank"); onEnterFrame = function () { if (!_root.ppause) { if ((_root.tank.hp > 0) && (!ggame)) { time++; } if ((bhp <= 0) && (lose == false)) { ggame = true; setTimeout(gg, 100, 4); lose = true; } if ((_root.tank.hp <= 0) && (lose == false)) { boom(tank._x, tank._y, 100); boom(tank._x - 5, tank._y + 4, 150); booms(tank._x, tank._y, 100); _root["stats" + glevel].m_hp.gotoAndStop(11); _root.lives = _root.lives - 1; _root.tank.hp = 0; if (_root.lives <= 0) { setTimeout(gg, 2000, 3); } else { setTimeout(gg, 2000, 2); } lose = true; tank.removeMovieClip(); } if (_root.tank.hp > 0) { _root["stats" + glevel].m_hp.gotoAndStop(11 - Math.ceil(_root.tank.hp / 100)); } _root["stats" + glevel].m_lv.gotoAndStop(6 - _root.lives); if (boomsdp >= 399) { boomsdp = 300; } if (pathdp >= 1000) { pathdp = 500; } if (terArray.length >= 7) { if (boomdp >= 2115) { boomdp = 2101; } } else if (boomdp >= 2200) { boomdp = 2101; } if (shotdp >= 2100) { shotdp = 2011; } if (objdp >= 2000) { objdp = 1100; } if (obj0dp >= 499) { obj0dp = 400; } if (obj2dp >= 3000) { shotdp = 2200; } if ((speed >= -0.2) && (speed <= 0.2)) { speed = 0; } else if (Key.isDown(39) || (Key.isDown(37))) { path(tank._x, tank._y, tank.body._rotation); } if ((speed - 0.2) >= 0) { speed = speed - 0.2; } if ((speed + 0.2) <= 0) { speed = speed + 0.2; } tank._x = tank._x + (speed * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (speed * Math.cos(tank.body._rotation * 0.01745329)); if (tilemap._y >= (-((tilemap._height / 2) - 500))) { tilemap._y = (-tilemap._height) + 500; } if (!ggame) { tilemap._y = tilemap._y + 1; } if (tank._y > 401) { tank._y = 401; path(tank._x, tank._y, 0); } if (tank._y < 20) { tank._y = 20; } if (tank._x < 20) { tank._x = 20; } if (tank._x > 530) { tank._x = 530; } tank._y = tank._y + 1; if (lose == false) { if (Key.isDown(68)) { tank.body._rotation = tank.body._rotation + 2; if (speed >= 3) { tank.body._rotation = tank.body._rotation + 3; } if (((!Key.isDown(83)) && (!Key.isDown(87))) && (speed == 0)) { tank._x = tank._x + (0.5 * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (0.5 * Math.cos(tank.body._rotation * 0.01745329)); } } if (Key.isDown(65)) { tank.body._rotation = tank.body._rotation - 2; if (speed >= 3) { tank.body._rotation = tank.body._rotation - 3; } if (((!Key.isDown(87)) && (!Key.isDown(83))) && (speed == 0)) { tank._x = tank._x + (0.5 * Math.sin(tank.body._rotation * 0.01745329)); tank._y = tank._y - (0.5 * Math.cos(tank.body._rotation * 0.01745329)); } } if (Key.isDown(87)) { if ((speed + 0.5) <= 4) { speed = speed + 0.5; } } if (Key.isDown(83)) { if ((speed - 0.5) >= -3) { speed = speed - 0.5; } } if (t_readyshot == false) { if (t_z1 == true) { t_z1 = false; intervalId = setTimeout(t_countshot, 500); } } } } }; onMouseDown = function () { isDown = true; }; onMouseUp = function () { isDown = false; }; tank.onEnterFrame = function () { if (!_root.ppause) { if (lose == false) { delta_x = this._x - _xmouse; delta_y = this._y - _ymouse; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (isDown) { tilemap.collapse(); if (t_readyshot) { ilk++; if (ilk > 4) { ilk = 1; } t_readyshot = false; this.gun.gotoAndPlay(2); totalShots++; duplicateMovieClip ("t_shot", "t_shot_" + ilk, 2005 + ilk); _root["t_shot_" + ilk]._rotation = this.gun._rotation; _root["t_shot_" + ilk]._x = (this._x + this.dulo._x) + (_root.speed * Math.sin(_root.tank.body._rotation * 0.01745329)); _root["t_shot_" + ilk]._y = (this._y + this.dulo._y) - (_root.speed * Math.cos(_root.tank.body._rotation * 0.01745329)); } } } } }; Key.addListener(keyListener); leveltime = 2500; bhp = 1000; ppause = false; finalstagesound.start(0, 999);
Instance of Symbol 255 MovieClip "stats9" in Frame 62
onClipEvent (load) { _root.swapz(this._name, "menudp"); }
Instance of Symbol 445 MovieClip in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 450 MovieClip "boss" in Frame 62
onClipEvent (load) { hp = 10000; _root.terArray.push("boss"); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this._rotation = a; speed = 5; } onClipEvent (enterFrame) { if (!_root.ppause) { _y = (_y + 1); _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); if ((((this._x >= 800) || (this._x <= -300)) || (this._y >= 750)) || (this._y <= -300)) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this._rotation = a; } i = 0; while (i <= _root.terArray.length) { if (this.hitTest(_root[_root.terArray[i]]._x, _root[_root.terArray[i]]._y, true) && (_root.terArray[i] != "boss")) { _root[_root.terArray[i]].hp = _root[_root.terArray[i]].hp - 100000; } i++; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true) && (_root.t_shot_1._x > 0)) { _root.hitShots++; this.hp = this.hp - 150; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true) && (_root.t_shot_2._x > 0)) { _root.hitShots++; this.hp = this.hp - 150; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true) && (_root.t_shot_3._x > 0)) { _root.hitShots++; this.hp = this.hp - 150; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true) && (_root.t_shot_4._x > 0)) { _root.hitShots++; this.hp = this.hp - 150; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 300); _root.boom(this._x - 5, this._y - 5, 70); setTimeout(_root.boom, 50, this._x, this._y, 400); setTimeout(_root.boom, 50, this._x + 100, this._y - 50, 250); setTimeout(_root.boom, 250, this._x, this._y, 550); _root.enemyKilled++; _root.slice("terArray", this._name); _root.bhp = 0; this.removeMovieClip(); } } }
Instance of Symbol 281 MovieClip "l9tower2" in Frame 62
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 444 MovieClip "l9haro18" in Frame 62
onClipEvent (load) { function cgshot(nm, ztp) { _root.rl_ns.start(); if (ztp == 1) { _root[nm].gun.gotoAndPlay("z1"); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (10 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (10 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (10 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (10 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root.shotdp++; } if (ztp == 2) { _root[nm].gun.gotoAndPlay("z2"); _root.shotdp++; duplicateMovieClip (_root.srocket, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; } } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 500; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name, 2); setTimeout(cgshot, 600, this._name, 1); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 500; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 281 MovieClip "l9tower1" in Frame 62
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 406 MovieClip "l9tower9" in Frame 62
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l9tower6" in Frame 62
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 421 MovieClip "l9canB4" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l9canB7" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l9canB10" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l9canB14" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l9canB11" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l9canB15" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l9can" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l9can5" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l9can13" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l9can19" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l9canB22" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l9can20" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l9canB28" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l9canB30" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l9can23" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l9canB42" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 406 MovieClip "l9tower24" in Frame 62
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 406 MovieClip "l9tower25" in Frame 62
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 444 MovieClip "l9haro129" in Frame 62
onClipEvent (load) { function cgshot(nm, ztp) { _root.rl_ns.start(); if (ztp == 1) { _root[nm].gun.gotoAndPlay("z1"); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (10 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (10 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = (_root[nm]._x + (45 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (10 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (_root[nm]._y - (45 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (10 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root.shotdp++; } if (ztp == 2) { _root[nm].gun.gotoAndPlay("z2"); _root.shotdp++; duplicateMovieClip (_root.srocket, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["rocket_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root.shotdp++; } } function countshot() { readyshot = true; z1 = true; } z1 = true; movem = 0; readyshot = false; i = 1; hp = 350; speed = 1; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; clearTimeout(intervalId); } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _root.enemySurvived++; _global.myscore = _global.myscore - 500; this.removeMovieClip(); } if (st) { _y = (_y + 1); } if ((((this._y >= (-_height)) && (this._y <= (425 + _height))) && (this._x >= ((-_width) / 2))) && (this._x <= (550 + (_width / 2)))) { delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; this.dulo._x = this.gun._x; this.dulo._y = this.gun._y; this.dulo._rotation = this.gun._rotation; this.dulo._x = this.dulo._x + (20 * Math.sin(this.dulo._rotation * 0.01745329)); this.dulo._y = this.dulo._y - (20 * Math.cos(this.dulo._rotation * 0.01745329)); updateAfterEvent(); if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 2000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 10, this._name, 2); setTimeout(cgshot, 600, this._name, 1); readyshot = false; } if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - (this.hp * 2); _root.boom(this._x + 2, this._y - 2, 75); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 75); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 75); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 75); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { _root.hitShots++; this.hp = this.hp - 100; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 75); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 100); _root.boom(this._x, this._y, 100); _root.enemyKilled++; _global.myscore = _global.myscore + 500; _root.slice("terArray", this._name); this.removeMovieClip(); } } } } onClipEvent (enterFrame) { if ((movem <= (200 / speed)) && (_y >= ((-this._height) / 2))) { movem++; _x = (_x + (speed * Math.sin(_rotation * 0.01745329))); _y = (_y - (speed * Math.cos(_rotation * 0.01745329))); } } onClipEvent (load) { speed = 1; }
Instance of Symbol 281 MovieClip "l9tower21" in Frame 62
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l9tower31" in Frame 62
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 281 MovieClip "l9tower38" in Frame 62
onClipEvent (load) { function cgshot(nm, pos) { _root.cg_ns.start(); _root.shotdp++; duplicateMovieClip (_root.cgb, "chainb_" + _root.shotdp, _root.shotdp); if (pos == 1) { _root[nm].gun.gotoAndPlay(3); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (5 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (5 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) + 90) * 0.01745329)); } if (pos == 2) { _root[nm].gun.gotoAndPlay(20); _root["chainb_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["chainb_" + _root.shotdp]._x = (_root[nm]._x + (55 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) + (3 * Math.sin(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); _root["chainb_" + _root.shotdp]._y = (_root[nm]._y - (55 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329))) - (3 * Math.cos(((_root[nm]._rotation + _root[nm].gun._rotation) - 90) * 0.01745329)); } return("aa"); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 200; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.enemySurvived++; _global.myscore = _global.myscore - 100; _root.slice("terArray", this._name); this.removeMovieClip(); } if (_y > 0) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name, 1); setTimeout(cgshot, 200, this._name, 2); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, false)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y + 35, 125); setTimeout(_root.boom, 100, this._x, this._y + 35, 150); _root.slice("terArray", this._name); _root.enemyKilled++; _global.myscore = _global.myscore + 100; this.removeMovieClip(); } } } }
Instance of Symbol 406 MovieClip "l9tower34" in Frame 62
onClipEvent (load) { function cgshot(nm) { _root.ss_ns.start(); _root.shotdp++; _root[nm].gun.gotoAndPlay(2); duplicateMovieClip (_root.shot, "ss_" + _root.shotdp, _root.shotdp); _root["ss_" + _root.shotdp]._rotation = _root[nm]._rotation + _root[nm].gun._rotation; _root["ss_" + _root.shotdp]._x = _root[nm]._x + (40 * Math.sin((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); _root["ss_" + _root.shotdp]._y = _root[nm]._y - (40 * Math.cos((_root[nm]._rotation + _root[nm].gun._rotation) * 0.01745329)); } function countshot() { readyshot = true; z1 = true; } z1 = true; readyshot = false; hp = 300; st = false; _root.swapz(this._name, "objdp"); } onClipEvent (enterFrame) { if (!_root.ppause) { if (((Math.abs(this._y) - _root.objmaxsize) <= _root.time) && (st == false)) { _root.terArray.push(this._name); _y = (-_root.objmaxsize); st = true; } if (_y >= (425 + _root.objmaxsize)) { _root.slice("terArray", this._name); _global.myscore = _global.myscore - 150; this.removeMovieClip(); } if (_y > -100) { if (readyshot == false) { if (z1) { intervalId = setTimeout(countshot, 1000); z1 = false; } } if (readyshot && (!_root.lose)) { setTimeout(cgshot, 1, this._name); setTimeout(cgshot, 150, this._name); readyshot = false; } } if (st) { _y = (_y + 1); delta_x = this._x - _root.tank._x; delta_y = this._y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this.gun._rotation = a - this._rotation; if (_root.htTest(this._name)) { _root.tank.hp = _root.tank.hp - 200; _root.boom(this._x, this._y, 100); this.hp = this.hp - 1000000; } if (this.hitTest(_root.t_shot_1._x, _root.t_shot_1._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_1._x, _root.t_shot_1._y, 100); _root.t_shot_1.removeMovieClip(); } if (this.hitTest(_root.t_shot_2._x, _root.t_shot_2._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_2._x, _root.t_shot_2._y, 100); _root.t_shot_2.removeMovieClip(); } if (this.hitTest(_root.t_shot_3._x, _root.t_shot_3._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_3._x, _root.t_shot_3._y, 100); _root.t_shot_3.removeMovieClip(); } if (this.hitTest(_root.t_shot_4._x, _root.t_shot_4._y, true)) { this.hp = this.hp - 100; _root.hitShots++; _root.boom(_root.t_shot_4._x, _root.t_shot_4._y, 100); _root.t_shot_4.removeMovieClip(); } if (this.hp <= 0) { setTimeout(_root.booms, 110, this._x, this._y, 125); setTimeout(_root.boom, 100, this._x - random(7), this._y - random(7), 150); _root.boom(this._x, this._y, 120); _global.myscore = _global.myscore + 150; _root.slice("terArray", this._name); this.removeMovieClip(); } } } }
Instance of Symbol 421 MovieClip "l9canB32" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l9can33" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l9canB39" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 307 MovieClip "l9can40" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l9canB41" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 421 MovieClip "l9canB3" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l9wall8" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l9wall12" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l9wall17" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l9wall16" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l9wall26" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l9wall27" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l9wall37" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l9wall" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l9wall36" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 418 MovieClip "l9wall35" in Frame 62
onClipEvent (load) { !!!ERROR
Instance of Symbol 374 MovieClip "ggmenu9" in Frame 62
onClipEvent (load) { !!!ERROR
Frame 68
if (false) { }
Frame 71
!!!ERROR
Frame 72
function updateScoreboard(sNum) { xmlPlayer = new XML(); xmlPlayer.ignoreWhite = true; xmlPlayer.onLoad = function (success) { if (success) { _root["mcScoreboard" + sNum].mcLoading._visible = false; myPlayer = xmlPlayer.firstChild.childNodes; ctr2 = 0; while (ctr2 < myPlayer.length) { thisPlayer = _root["mcScoreboard" + sNum].sboard.mcScoreHolder.mcScore.duplicateMovieClip("mcScore" + ctr2, ctr2); thisPlayer._y = ctr2 * thisPlayer._height; thisPlayer._visible = true; if ((ctr2 % 2) > 0) { thisPlayer.gotoAndStop(2); } thisPlayer.txtNumber.text = (ctr2 + 1) + ")"; thisPlayer.txtNickname.text = myPlayer[ctr2].attributes.player; thisPlayer.txtScore.text = myPlayer[ctr2].attributes.score; ctr2++; } _root["mcScoreboard" + sNum].sboard.mcScoreHolder.item = myPlayer.length; _root["mcScoreboard" + sNum].sboard.mcScoreHolder.speedy = 0; _root["mcScoreboard" + sNum].sboard.mcScoreHolder.desty = 0; _root["mcScoreboard" + sNum].sboard.mcScoreHolder.onEnterFrame = function () { if ((this.desty < 0) && (this._parent.dir == "up")) { this.desty = this.desty + 10; if (this.desty > 0) { this.desty = 0; } } if ((this.desty > (this._parent.mcBlock._height - (this.mcScore._height * this.item))) && (this._parent.dir == "down")) { this.desty = this.desty - 10; if (this.desty < (this._parent.mcBlock._height - (this.mcScore._height * this.item))) { this.desty = this._parent.mcBlock._height - (this.mcScore._height * this.item); } } this.speedy = (this.desty - this._y) + (this.speedy * 0.4); this._y = this._y + this.speedy; }; } if (sNum == 1) { updateScoreboard(2); } }; if (sNum == 1) { xmlPlayer.load((("http://www.freeonlinegames.com/scoreboard/getTopPlayer.php?id=" + _root.gameID) + "&rand=") + random(999999)); } else if (sNum == 2) { xmlPlayer.load(((("http://www.freeonlinegames.com/scoreboard/getTopPlayer.php?id=" + _root.gameID) + "&rand=") + random(999999)) + "&filt=1"); } } stop(); _root.coversound.stop(); mcScoreboard1.sboard.dir = "stop"; mcScoreboard2.sboard.dir = "stop"; mcScoreboard1.sboard.mcScoreHolder.mcScore._visible = false; mcScoreboard2.sboard.mcScoreHolder.mcScore._visible = false; updateScoreboard(1);
Symbol 41 MovieClip Frame 8
if (_root.getBytesLoaded() >= _root.getBytesTotal()) { loadingBar._x = (((_root.getBytesLoaded() * 100) / _root.getBytesTotal()) * 1.47) + -153.7; if (_root.secureMovie.auth_ret) { this._parent.gotoAndPlay("loadingOk"); } else { stop(); loadingBar.onEnterFrame = function () { trace(this._x); if (_root.secureMovie.auth_ret) { this._parent.gotoAndPlay("loadingOk"); this.onEnterFrame = null; } }; } } else { stop(); loadingBar.onEnterFrame = function () { trace(this._x); this._x = (((_root.getBytesLoaded() * 100) / _root.getBytesTotal()) * 1.47) + -143.7; if (_root.getBytesLoaded() >= _root.getBytesTotal()) { if (_root.secureMovie.auth_ret) { this._parent.gotoAndPlay("loadingOk"); this.onEnterFrame = null; } else { loadingBar._x = (((_root.getBytesLoaded() * 100) / _root.getBytesTotal()) * 1.47) + -153.7; } } }; }
Symbol 41 MovieClip Frame 24
!!!ERROR
Symbol 43 MovieClip Frame 165
!!!ERROR
Symbol 43 MovieClip Frame 174
if (_root.secureMovie.auth_ret) { _root.gotoAndPlay("menu"); stop(); } else { this._parent.gotoAndStop(1); }
Symbol 63 MovieClip Frame 55
!!!ERROR
Symbol 104 MovieClip Frame 1
!!!ERROR
Instance of Symbol 47 MovieClip "mcNotice" in Symbol 104 MovieClip Frame 1
onClipEvent (load) { !!!ERROR
Symbol 104 MovieClip Frame 28
l++; if (l < 3) { gotoAndPlay ("loop"); } else if ((_url.indexOf("freeonlinegames.com") >= 0) && (_url.indexOf("file:") == -1)) { _root.okToPlay = true; _root.play(); stop(); } else if (_root.debug) { _root.okToPlay = true; _root.play(); stop(); } else { mcNotice._visible = true; l = 3; gotoAndPlay ("loop"); }
Instance of Symbol 104 MovieClip "logo" in Symbol 105 MovieClip Frame 1
on (release) { !!!ERROR
Symbol 112 Button
on (release) { !!!ERROR
Instance of Symbol 127 MovieClip in Symbol 173 MovieClip [explode] Frame 1
onClipEvent (enterFrame) { !!!ERROR
Symbol 173 MovieClip [explode] Frame 24
!!!ERROR
Symbol 174 MovieClip Frame 45
!!!ERROR
Symbol 181 Button
on (release) { !!!ERROR
Symbol 188 Button
on (release) { !!!ERROR
Symbol 194 Button
on (release) { !!!ERROR
Symbol 195 MovieClip Frame 30
!!!ERROR
Symbol 216 MovieClip Frame 10
!!!ERROR
Symbol 218 MovieClip Frame 1
!!!ERROR
Instance of Symbol 234 MovieClip in Symbol 235 MovieClip Frame 1
onClipEvent (enterFrame) { _rotation = (_root.tank.body._rotation - 180); }
Symbol 247 MovieClip Frame 1
!!!ERROR
Symbol 247 MovieClip Frame 2
!!!ERROR
Symbol 247 MovieClip Frame 3
!!!ERROR
Symbol 247 MovieClip Frame 4
!!!ERROR
Symbol 247 MovieClip Frame 5
!!!ERROR
Symbol 247 MovieClip Frame 6
!!!ERROR
Symbol 247 MovieClip Frame 7
!!!ERROR
Symbol 247 MovieClip Frame 8
!!!ERROR
Symbol 247 MovieClip Frame 9
!!!ERROR
Symbol 247 MovieClip Frame 10
!!!ERROR
Symbol 247 MovieClip Frame 11
!!!ERROR
Symbol 254 MovieClip Frame 1
!!!ERROR
Symbol 254 MovieClip Frame 2
!!!ERROR
Symbol 254 MovieClip Frame 3
!!!ERROR
Symbol 254 MovieClip Frame 4
!!!ERROR
Symbol 254 MovieClip Frame 5
!!!ERROR
Symbol 254 MovieClip Frame 6
!!!ERROR
Symbol 264 MovieClip Frame 100
!!!ERROR
Symbol 266 MovieClip Frame 545
!!!ERROR
Symbol 280 MovieClip Frame 1
!!!ERROR
Symbol 280 MovieClip Frame 10
!!!ERROR
Symbol 280 MovieClip Frame 28
!!!ERROR
Symbol 289 MovieClip Frame 1
!!!ERROR
Symbol 294 MovieClip Frame 1
!!!ERROR
Symbol 303 MovieClip Frame 1
!!!ERROR
Symbol 303 MovieClip Frame 8
!!!ERROR
Symbol 303 MovieClip Frame 25
!!!ERROR
Symbol 338 MovieClip Frame 1
!!!ERROR
Symbol 338 MovieClip Frame 110
!!!ERROR
Symbol 338 MovieClip Frame 205
!!!ERROR
Symbol 338 MovieClip Frame 320
!!!ERROR
Symbol 338 MovieClip Frame 435
!!!ERROR
Symbol 338 MovieClip Frame 525
!!!ERROR
Symbol 338 MovieClip Frame 615
!!!ERROR
Symbol 338 MovieClip Frame 720
!!!ERROR
Symbol 344 MovieClip Frame 40
!!!ERROR
Symbol 350 MovieClip Frame 125
!!!ERROR
Symbol 351 MovieClip Frame 1
!!!ERROR
Symbol 351 MovieClip Frame 2
_root.levelsound.stop(); _root.gameoversound.start(0, 999); stop();
Symbol 351 MovieClip Frame 3
_root.levelsound.stop(); _root.endsound.start(0, 1); stop();
Symbol 351 MovieClip Frame 4
_root.finalstagesound.stop(); _root.endsound.start(0, 1); stop();
Symbol 355 Button
on (release) { !!!ERROR
Symbol 362 Button
on (release) { stopAllSounds(); _root.glevel++; _root.re(); }
Symbol 364 Button
on (release) { !!!ERROR
Symbol 367 Button
on (release) { !!!ERROR
Symbol 368 MovieClip Frame 1
!!!ERROR
Symbol 368 MovieClip Frame 2
!!!ERROR
Symbol 368 MovieClip Frame 3
!!!ERROR
Symbol 368 MovieClip Frame 4
!!!ERROR
Symbol 373 Button
on (release) { var score2 = (_global.myscore + 0.1234); var score3 = Math.floor(Math.sqrt(score2)); var score4 = (Math.sqrt(score2) - (score3 - 1)); var score1 = Math.floor(score4 * 10000); var score5 = Math.floor(score1); var score6 = (score5 / 10000); _global.score1 = (score6 + _global.myscore) - 1; _global.player1 = player; this._visible = false; getURL (((("http://www.qingdaono1.com/bbs/gamefree_login.php?score=" + _global.score1) + "&mb_nick=") + _global.player1) + "&wr_id=1319", "_blank"); stopAllSounds(); _root.rem(); }
Symbol 382 Button
on (keyPress "p") { if (ppause) { i = 0; while (i <= _root.terArray.length) { _root[_root.terArray[i]].movem = _root[_root.terArray[i]].gmovem; i++; } pmenu._visible = false; ppause = false; } else { ppause = true; pmenu._visible = true; i = 0; while (i <= _root.terArray.length) { _root[_root.terArray[i]].gmovem = _root[_root.terArray[i]].movem; _root[_root.terArray[i]].movem = 100000 /* 0x0186A0 */; i++; } } }
Symbol 385 MovieClip Frame 100
!!!ERROR
Symbol 389 MovieClip Frame 1
!!!ERROR
Instance of Symbol 384 MovieClip in Symbol 391 MovieClip Frame 8
onClipEvent (load) { lvl.text = "level 3"; }
Symbol 391 MovieClip Frame 100
!!!ERROR
Symbol 394 MovieClip Frame 1
!!!ERROR
Symbol 394 MovieClip Frame 9
!!!ERROR
Symbol 394 MovieClip Frame 28
!!!ERROR
Instance of Symbol 384 MovieClip in Symbol 396 MovieClip Frame 8
onClipEvent (load) { lvl.text = "level 4"; }
Symbol 396 MovieClip Frame 100
!!!ERROR
Symbol 401 MovieClip Frame 1
!!!ERROR
Instance of Symbol 384 MovieClip in Symbol 403 MovieClip Frame 8
onClipEvent (load) { lvl.text = "level 5"; }
Symbol 403 MovieClip Frame 100
!!!ERROR
Symbol 405 MovieClip Frame 1
!!!ERROR
Symbol 405 MovieClip Frame 16
!!!ERROR
Instance of Symbol 384 MovieClip in Symbol 407 MovieClip Frame 8
onClipEvent (load) { lvl.text = "level 6"; }
Symbol 407 MovieClip Frame 100
!!!ERROR
Symbol 412 MovieClip Frame 1
!!!ERROR
Symbol 418 MovieClip Frame 1
!!!ERROR
Symbol 418 MovieClip Frame 2
!!!ERROR
Instance of Symbol 384 MovieClip in Symbol 422 MovieClip Frame 8
onClipEvent (load) { lvl.text = "level 7"; }
Symbol 422 MovieClip Frame 100
!!!ERROR
Symbol 427 MovieClip Frame 10
!!!ERROR
Symbol 429 MovieClip Frame 10
!!!ERROR
Symbol 431 MovieClip Frame 10
!!!ERROR
Symbol 432 MovieClip Frame 1
!!!ERROR
Symbol 432 MovieClip Frame 11
!!!ERROR
Instance of Symbol 384 MovieClip in Symbol 434 MovieClip Frame 8
onClipEvent (load) { lvl.text = "level 8"; }
Symbol 434 MovieClip Frame 100
!!!ERROR
Symbol 443 MovieClip Frame 1
!!!ERROR
Symbol 443 MovieClip Frame 10
!!!ERROR
Symbol 443 MovieClip Frame 11
!!!ERROR
Instance of Symbol 384 MovieClip in Symbol 445 MovieClip Frame 8
onClipEvent (load) { lvl.text = "Boss"; }
Symbol 445 MovieClip Frame 100
!!!ERROR
Symbol 449 MovieClip Frame 1
!!!ERROR
Instance of Symbol 394 MovieClip "rok2" in Symbol 450 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.ppause) { var myPoint = {x:this._x, y:this._y}; _root.boss.localToGlobal(myPoint); delta_x = myPoint.x - _root.tank._x; delta_y = myPoint.y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this._rotation = (-_root.boss._rotation) + a; } } onClipEvent (load) { function shot(nm, pos) { if (!_root.ppause) { if ((((_root.boss._x <= 600) && (_root.boss._x >= -50)) && (_root.boss._y <= 475)) && (_root.boss._y >= -50)) { _root.rl_ns.start(); } var _local3 = {x:_root.boss[nm]._x, y:_root.boss[nm]._y}; _root.boss.localToGlobal(_local3); xx = _local3.x; yy = _local3.y; if (pos == 1) { _root.boss[nm].gotoAndPlay(2); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root.boss._rotation + _root.boss[nm]._rotation; _root["rocket_" + _root.shotdp]._x = (xx - (40 * Math.sin(_root.boss[nm]._rotation * 0.01745329))) + (4 * Math.sin((_root.boss[nm]._rotation + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (yy + (40 * Math.cos(_root.boss[nm]._rotation * 0.01745329))) - (4 * Math.cos((_root.boss[nm]._rotation + 90) * 0.01745329)); } if (pos == 2) { _root.shotdp++; _root.boss[nm].gotoAndPlay(21); duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root.boss._rotation + _root.boss[nm]._rotation; _root["rocket_" + _root.shotdp]._x = (xx - (40 * Math.sin(_root.boss[nm]._rotation * 0.01745329))) + (4 * Math.sin((_root.boss[nm]._rotation - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (yy + (40 * Math.cos(_root.boss[nm]._rotation * 0.01745329))) - (4 * Math.cos((_root.boss[nm]._rotation - 90) * 0.01745329)); _root.shotdp++; } } } function shotsc(nn) { setTimeout(shot, 10, nn, 1); setTimeout(shot, 500, nn, 2); } setInterval(shotsc, 3000, this._name); }
Instance of Symbol 394 MovieClip "rok1" in Symbol 450 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.ppause) { var myPoint = {x:this._x, y:this._y}; _root.boss.localToGlobal(myPoint); delta_x = myPoint.x - _root.tank._x; delta_y = myPoint.y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this._rotation = (-_root.boss._rotation) + a; } } onClipEvent (load) { function shot(nm, pos) { if (!_root.ppause) { if ((((_root.boss._x <= 600) && (_root.boss._x >= -50)) && (_root.boss._y <= 475)) && (_root.boss._y >= -50)) { _root.rl_ns.start(); } var _local3 = {x:_root.boss[nm]._x, y:_root.boss[nm]._y}; _root.boss.localToGlobal(_local3); xx = _local3.x; yy = _local3.y; if (pos == 1) { _root.boss[nm].gotoAndPlay(2); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root.boss._rotation + _root.boss[nm]._rotation; _root["rocket_" + _root.shotdp]._x = (xx - (40 * Math.sin(_root.boss[nm]._rotation * 0.01745329))) + (4 * Math.sin((_root.boss[nm]._rotation + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (yy + (40 * Math.cos(_root.boss[nm]._rotation * 0.01745329))) - (4 * Math.cos((_root.boss[nm]._rotation + 90) * 0.01745329)); } if (pos == 2) { _root.boss[nm].gotoAndPlay(21); _root.shotdp++; duplicateMovieClip (_root.rl, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root.boss._rotation + _root.boss[nm]._rotation; _root["rocket_" + _root.shotdp]._x = (xx - (40 * Math.sin(_root.boss[nm]._rotation * 0.01745329))) + (4 * Math.sin((_root.boss[nm]._rotation - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (yy + (40 * Math.cos(_root.boss[nm]._rotation * 0.01745329))) - (4 * Math.cos((_root.boss[nm]._rotation - 90) * 0.01745329)); _root.shotdp++; } } } function shotsc(nn) { setTimeout(shot, 10, nn, 1); setTimeout(shot, 500, nn, 2); } setInterval(shotsc, 3000, this._name); }
Instance of Symbol 303 MovieClip "cg2" in Symbol 450 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.ppause) { var myPoint = {x:this._x, y:this._y}; _root.boss.localToGlobal(myPoint); delta_x = myPoint.x - _root.tank._x; delta_y = myPoint.y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this._rotation = (-_root.boss._rotation) + a; } } onClipEvent (load) { function shot(nm, pos) { if (!_root.ppause) { var _local3 = {x:_root.boss[nm]._x, y:_root.boss[nm]._y}; _root.boss.localToGlobal(_local3); xx = _local3.x; yy = _local3.y; if ((((_root.boss._x <= 600) && (_root.boss._x >= -50)) && (_root.boss._y <= 475)) && (_root.boss._y >= -50)) { _root.cg_ns.start(); } if (pos == 1) { _root.boss[nm].gotoAndPlay(19); _root.shotdp++; duplicateMovieClip (_root.cg, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root.boss._rotation + _root.boss[nm]._rotation; _root["rocket_" + _root.shotdp]._x = (xx - (30 * Math.sin(_root.boss[nm]._rotation * 0.01745329))) + (4 * Math.sin((_root.boss[nm]._rotation + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (yy + (30 * Math.cos(_root.boss[nm]._rotation * 0.01745329))) - (4 * Math.cos((_root.boss[nm]._rotation + 90) * 0.01745329)); } if (pos == 2) { _root.boss[nm].gotoAndPlay(2); _root.shotdp++; duplicateMovieClip (_root.cg, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root.boss._rotation + _root.boss[nm]._rotation; _root["rocket_" + _root.shotdp]._x = (xx - (40 * Math.sin(_root.boss[nm]._rotation * 0.01745329))) + (4 * Math.sin((_root.boss[nm]._rotation - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (yy + (40 * Math.cos(_root.boss[nm]._rotation * 0.01745329))) - (4 * Math.cos((_root.boss[nm]._rotation - 90) * 0.01745329)); _root.shotdp++; } } } function shotsc(nn) { setTimeout(shot, 200, nn, 1); setTimeout(shot, 400, nn, 2); setTimeout(shot, 600, nn, 1); setTimeout(shot, 800, nn, 2); setTimeout(shot, 1000, nn, 1); setTimeout(shot, 1200, nn, 2); setTimeout(shot, 1400, nn, 1); } setInterval(shotsc, 3000, this._name); }
Instance of Symbol 303 MovieClip "cg1" in Symbol 450 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.ppause) { var myPoint = {x:this._x, y:this._y}; _root.boss.localToGlobal(myPoint); delta_x = myPoint.x - _root.tank._x; delta_y = myPoint.y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this._rotation = (-_root.boss._rotation) + a; } } onClipEvent (load) { function shot(nm, pos) { if (!_root.ppause) { if ((((_root.boss._x <= 600) && (_root.boss._x >= -50)) && (_root.boss._y <= 475)) && (_root.boss._y >= -50)) { _root.cg_ns.start(); } var _local3 = {x:_root.boss[nm]._x, y:_root.boss[nm]._y}; _root.boss.localToGlobal(_local3); xx = _local3.x; yy = _local3.y; if (pos == 1) { _root.boss[nm].gotoAndPlay(19); _root.shotdp++; duplicateMovieClip (_root.cg, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root.boss._rotation + _root.boss[nm]._rotation; _root["rocket_" + _root.shotdp]._x = (xx - (30 * Math.sin(_root.boss[nm]._rotation * 0.01745329))) + (4 * Math.sin((_root.boss[nm]._rotation + 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (yy + (30 * Math.cos(_root.boss[nm]._rotation * 0.01745329))) - (4 * Math.cos((_root.boss[nm]._rotation + 90) * 0.01745329)); } if (pos == 2) { _root.boss[nm].gotoAndPlay(2); _root.shotdp++; duplicateMovieClip (_root.cg, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root.boss._rotation + _root.boss[nm]._rotation; _root["rocket_" + _root.shotdp]._x = (xx - (40 * Math.sin(_root.boss[nm]._rotation * 0.01745329))) + (4 * Math.sin((_root.boss[nm]._rotation - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (yy + (40 * Math.cos(_root.boss[nm]._rotation * 0.01745329))) - (4 * Math.cos((_root.boss[nm]._rotation - 90) * 0.01745329)); _root.shotdp++; } } } function shotsc(nn) { setTimeout(shot, 200, nn, 1); setTimeout(shot, 400, nn, 2); setTimeout(shot, 600, nn, 1); setTimeout(shot, 800, nn, 2); setTimeout(shot, 1000, nn, 1); setTimeout(shot, 1200, nn, 2); setTimeout(shot, 1400, nn, 1); } setInterval(shotsc, 3000, this._name); }
Instance of Symbol 449 MovieClip "gun2" in Symbol 450 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.ppause) { var myPoint = {x:this._x, y:this._y}; _root.boss.localToGlobal(myPoint); delta_x = myPoint.x - _root.tank._x; delta_y = myPoint.y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this._rotation = (-_root.boss._rotation) + a; } } onClipEvent (load) { function shot(nm, pos) { if (!_root.ppause) { if ((((_root.boss._x <= 600) && (_root.boss._x >= -50)) && (_root.boss._y <= 475)) && (_root.boss._y >= -50)) { _root.cg_ns.start(); } var _local3 = {x:_root.boss[nm]._x, y:_root.boss[nm]._y}; _root.boss.localToGlobal(_local3); xx = _local3.x; yy = _local3.y; if (pos == 1) { _root.boss[nm].gotoAndPlay(2); _root.shotdp++; duplicateMovieClip (_root.cgb, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root.boss._rotation + _root.boss[nm]._rotation; _root["rocket_" + _root.shotdp]._x = xx - (50 * Math.sin(_root.boss[nm]._rotation * 0.01745329)); _root["rocket_" + _root.shotdp]._y = yy + (50 * Math.cos(_root.boss[nm]._rotation * 0.01745329)); } if (pos == 2) { _root.boss[nm].gotoAndPlay(2); _root.shotdp++; duplicateMovieClip (_root.cgb, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root.boss._rotation + _root.boss[nm]._rotation; _root["rocket_" + _root.shotdp]._x = (xx - (50 * Math.sin(_root.boss[nm]._rotation * 0.01745329))) + (4 * Math.sin((_root.boss[nm]._rotation - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (yy + (50 * Math.cos(_root.boss[nm]._rotation * 0.01745329))) - (4 * Math.cos((_root.boss[nm]._rotation - 90) * 0.01745329)); _root.shotdp++; } } } function shotsc(nn) { setTimeout(shot, 200, nn, 1); setTimeout(shot, 400, nn, 1); } setInterval(shotsc, 3500, this._name); }
Instance of Symbol 449 MovieClip "gun1" in Symbol 450 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.ppause) { var myPoint = {x:this._x, y:this._y}; _root.boss.localToGlobal(myPoint); delta_x = myPoint.x - _root.tank._x; delta_y = myPoint.y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this._rotation = (-_root.boss._rotation) + a; } } onClipEvent (load) { function shot(nm, pos) { if (!_root.ppause) { if ((((_root.boss._x <= 600) && (_root.boss._x >= -50)) && (_root.boss._y <= 475)) && (_root.boss._y >= -50)) { _root.cg_ns.start(); } var _local3 = {x:_root.boss[nm]._x, y:_root.boss[nm]._y}; _root.boss.localToGlobal(_local3); xx = _local3.x; yy = _local3.y; if (pos == 1) { _root.boss[nm].gotoAndPlay(2); _root.shotdp++; duplicateMovieClip (_root.cgb, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root.boss._rotation + _root.boss[nm]._rotation; _root["rocket_" + _root.shotdp]._x = xx - (50 * Math.sin(_root.boss[nm]._rotation * 0.01745329)); _root["rocket_" + _root.shotdp]._y = yy + (50 * Math.cos(_root.boss[nm]._rotation * 0.01745329)); } if (pos == 2) { _root.boss[nm].gotoAndPlay(2); _root.shotdp++; duplicateMovieClip (_root.cgb, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root.boss._rotation + _root.boss[nm]._rotation; _root["rocket_" + _root.shotdp]._x = (xx - (50 * Math.sin(_root.boss[nm]._rotation * 0.01745329))) + (4 * Math.sin((_root.boss[nm]._rotation - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (yy + (50 * Math.cos(_root.boss[nm]._rotation * 0.01745329))) - (4 * Math.cos((_root.boss[nm]._rotation - 90) * 0.01745329)); _root.shotdp++; } } } function shotsc(nn) { setTimeout(shot, 200, nn, 1); setTimeout(shot, 400, nn, 1); } setInterval(shotsc, 3300, this._name); }
Instance of Symbol 412 MovieClip "bg" in Symbol 450 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.ppause) { var myPoint = {x:this._x, y:this._y}; _root.boss.localToGlobal(myPoint); delta_x = myPoint.x - _root.tank._x; delta_y = myPoint.y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this._rotation = (-_root.boss._rotation) + a; } } onClipEvent (load) { function shot(nm, pos) { if (!_root.ppause) { if ((((_root.boss._x <= 600) && (_root.boss._x >= -50)) && (_root.boss._y <= 475)) && (_root.boss._y >= -50)) { } var _local3 = {x:_root.boss[nm]._x, y:_root.boss[nm]._y}; _root.boss.localToGlobal(_local3); xx = _local3.x; yy = _local3.y; if (pos == 1) { _root.boss[nm].gotoAndPlay(2); _root.shotdp++; duplicateMovieClip (_root.mshot, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root.boss._rotation + _root.boss[nm]._rotation; _root["rocket_" + _root.shotdp]._x = xx - (30 * Math.sin(_root.boss[nm]._rotation * 0.01745329)); _root["rocket_" + _root.shotdp]._y = yy + (30 * Math.cos(_root.boss[nm]._rotation * 0.01745329)); } if (pos == 2) { _root.boss[nm].gotoAndPlay(2); _root.shotdp++; duplicateMovieClip (_root.cgb, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root.boss._rotation + _root.boss[nm]._rotation; _root["rocket_" + _root.shotdp]._x = (xx - (30 * Math.sin(_root.boss[nm]._rotation * 0.01745329))) + (4 * Math.sin((_root.boss[nm]._rotation - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (yy + (30 * Math.cos(_root.boss[nm]._rotation * 0.01745329))) - (4 * Math.cos((_root.boss[nm]._rotation - 90) * 0.01745329)); _root.shotdp++; } } } function shotsc(nn) { setTimeout(shot, 200, nn, 1); setTimeout(shot, 800, nn, 1); } setInterval(shotsc, 3500, this._name); }
Instance of Symbol 389 MovieClip "gun" in Symbol 450 MovieClip Frame 1
onClipEvent (enterFrame) { if (!_root.ppause) { var myPoint = {x:this._x, y:this._y}; _root.boss.localToGlobal(myPoint); delta_x = myPoint.x - _root.tank._x; delta_y = myPoint.y - _root.tank._y; a = (-Math.atan2(delta_x, delta_y)) / 0.01745329; this._rotation = (-_root.boss._rotation) + a; } } onClipEvent (load) { function shot(nm, pos) { if (!_root.ppause) { if ((((_root.boss._x <= 600) && (_root.boss._x >= -50)) && (_root.boss._y <= 475)) && (_root.boss._y >= -50)) { _root.ss_ns.start(); } var _local3 = {x:_root.boss[nm]._x, y:_root.boss[nm]._y}; _root.boss.localToGlobal(_local3); xx = _local3.x; yy = _local3.y; if (pos == 1) { _root.boss[nm].gotoAndPlay(2); _root.shotdp++; duplicateMovieClip (_root.shot, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root.boss._rotation + _root.boss[nm]._rotation; _root["rocket_" + _root.shotdp]._x = xx - (30 * Math.sin(_root.boss[nm]._rotation * 0.01745329)); _root["rocket_" + _root.shotdp]._y = yy + (30 * Math.cos(_root.boss[nm]._rotation * 0.01745329)); } if (pos == 2) { _root.boss[nm].gotoAndPlay(2); _root.shotdp++; duplicateMovieClip (_root.cgb, "rocket_" + _root.shotdp, _root.shotdp); _root["rocket_" + _root.shotdp]._rotation = _root.boss._rotation + _root.boss[nm]._rotation; _root["rocket_" + _root.shotdp]._x = (xx - (30 * Math.sin(_root.boss[nm]._rotation * 0.01745329))) + (4 * Math.sin((_root.boss[nm]._rotation - 90) * 0.01745329)); _root["rocket_" + _root.shotdp]._y = (yy + (30 * Math.cos(_root.boss[nm]._rotation * 0.01745329))) - (4 * Math.cos((_root.boss[nm]._rotation - 90) * 0.01745329)); _root.shotdp++; } } } function shotsc(nn) { setTimeout(shot, 10, nn, 1); } setInterval(shotsc, 1000, this._name); }
Symbol 453 MovieClip Frame 85
!!!ERROR
Symbol 458 Button
on (release) { !!!ERROR

Library Items

Symbol 1 Sound [awarding]
Symbol 2 Sound [boom_s]
Symbol 3 Sound [cg_s]
Symbol 4 Sound [endsound]
Symbol 5 Sound [finalstagesound]
Symbol 6 Sound [levelsound]
Symbol 7 Sound [negativefinish]
Symbol 8 Sound [rl_s]
Symbol 9 Sound [back_s]
Symbol 10 Sound [ss_s]
Symbol 11 Sound [frontsound]Used by:Timeline
Symbol 12 GraphicUsed by:43
Symbol 13 GraphicUsed by:14 43
Symbol 14 MovieClipUses:13Used by:43
Symbol 15 GraphicUsed by:43
Symbol 16 GraphicUsed by:43
Symbol 17 GraphicUsed by:43
Symbol 18 GraphicUsed by:43
Symbol 19 FontUsed by:20 361 366
Symbol 20 TextUses:19Used by:43
Symbol 21 ShapeTweeningUsed by:43
Symbol 22 GraphicUsed by:43
Symbol 23 GraphicUsed by:43
Symbol 24 GraphicUsed by:43
Symbol 25 GraphicUsed by:43
Symbol 26 GraphicUsed by:43
Symbol 27 GraphicUsed by:43
Symbol 28 GraphicUsed by:43
Symbol 29 GraphicUsed by:43
Symbol 30 GraphicUsed by:43
Symbol 31 GraphicUsed by:43
Symbol 32 GraphicUsed by:43
Symbol 33 GraphicUsed by:43
Symbol 34 GraphicUsed by:43
Symbol 35 GraphicUsed by:43
Symbol 36 GraphicUsed by:39 41
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:41
Symbol 39 MovieClipUses:36Used by:41
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:36 38 39 40Used by:43
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:12 14 13 15 16 17 18 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 41 42Used by:Timeline
Symbol 44 FontUsed by:45 46
Symbol 45 TextUses:44Used by:47
Symbol 46 TextUses:44Used by:47
Symbol 47 MovieClipUses:45 46Used by:104
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:63 104
Symbol 50 GraphicUsed by:63
Symbol 51 FontUsed by:52 57 59
Symbol 52 TextUses:51Used by:53 63
Symbol 53 MovieClipUses:52Used by:63
Symbol 54 SoundUsed by:63
Symbol 55 SoundUsed by:63
Symbol 56 SoundUsed by:63
Symbol 57 TextUses:51Used by:58 63
Symbol 58 MovieClipUses:57Used by:63
Symbol 59 TextUses:51Used by:60 63
Symbol 60 MovieClipUses:59Used by:63
Symbol 61 SoundUsed by:63
Symbol 62 SoundUsed by:63
Symbol 63 MovieClipUses:49 50 53 54 55 56 58 60 59 57 52 61 62Used by:104
Symbol 64 BitmapUsed by:65
Symbol 65 GraphicUses:64Used by:104
Symbol 66 BitmapUsed by:67
Symbol 67 GraphicUses:66Used by:104
Symbol 68 BitmapUsed by:69
Symbol 69 GraphicUses:68Used by:104
Symbol 70 BitmapUsed by:71
Symbol 71 GraphicUses:70Used by:104
Symbol 72 BitmapUsed by:73
Symbol 73 GraphicUses:72Used by:104
Symbol 74 BitmapUsed by:75
Symbol 75 GraphicUses:74Used by:104
Symbol 76 BitmapUsed by:77
Symbol 77 GraphicUses:76Used by:104
Symbol 78 BitmapUsed by:79
Symbol 79 GraphicUses:78Used by:104
Symbol 80 BitmapUsed by:81
Symbol 81 GraphicUses:80Used by:104
Symbol 82 BitmapUsed by:83
Symbol 83 GraphicUses:82Used by:104
Symbol 84 BitmapUsed by:85
Symbol 85 GraphicUses:84Used by:104
Symbol 86 BitmapUsed by:87
Symbol 87 GraphicUses:86Used by:104
Symbol 88 BitmapUsed by:89
Symbol 89 GraphicUses:88Used by:104
Symbol 90 BitmapUsed by:91
Symbol 91 GraphicUses:90Used by:104
Symbol 92 BitmapUsed by:93
Symbol 93 GraphicUses:92Used by:104
Symbol 94 BitmapUsed by:95
Symbol 95 GraphicUses:94Used by:104
Symbol 96 BitmapUsed by:97
Symbol 97 GraphicUses:96Used by:104
Symbol 98 BitmapUsed by:99
Symbol 99 GraphicUses:98Used by:104
Symbol 100 BitmapUsed by:101
Symbol 101 GraphicUses:100Used by:104
Symbol 102 BitmapUsed by:103
Symbol 103 GraphicUses:102Used by:104
Symbol 104 MovieClipUses:47 63 49 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99 101 103Used by:105
Symbol 105 MovieClipUses:104Used by:Timeline
Symbol 106 FontUsed by:107 108 109 111 383 454 455 456
Symbol 107 TextUses:106Used by:112
Symbol 108 TextUses:106Used by:112
Symbol 109 TextUses:106Used by:112
Symbol 110 GraphicUsed by:112
Symbol 111 TextUses:106Used by:112
Symbol 112 ButtonUses:107 108 109 110 111Used by:Timeline
Symbol 113 BitmapUsed by:114
Symbol 114 GraphicUses:113Used by:351  Timeline
Symbol 115 FontUsed by:116
Symbol 116 TextUses:115Used by:117
Symbol 117 MovieClipUses:116Used by:174
Symbol 118 MovieClipUsed by:174
Symbol 119 BitmapUsed by:120
Symbol 120 GraphicUses:119Used by:173
Symbol 121 ShapeTweeningUsed by:127
Symbol 122 GraphicUsed by:127
Symbol 123 GraphicUsed by:127
Symbol 124 ShapeTweeningUsed by:127
Symbol 125 GraphicUsed by:127
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:121 122 123 124 125 126Used by:173
Symbol 128 GraphicUsed by:173
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:173
Symbol 131 BitmapUsed by:132
Symbol 132 GraphicUses:131Used by:173
Symbol 133 BitmapUsed by:134
Symbol 134 GraphicUses:133Used by:173
Symbol 135 BitmapUsed by:136
Symbol 136 GraphicUses:135Used by:173
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:173
Symbol 139 BitmapUsed by:140
Symbol 140 GraphicUses:139Used by:173
Symbol 141 BitmapUsed by:142
Symbol 142 GraphicUses:141Used by:173
Symbol 143 BitmapUsed by:144
Symbol 144 GraphicUses:143Used by:173
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:145Used by:173
Symbol 147 BitmapUsed by:148
Symbol 148 GraphicUses:147Used by:173
Symbol 149 BitmapUsed by:150
Symbol 150 GraphicUses:149Used by:173
Symbol 151 BitmapUsed by:152
Symbol 152 GraphicUses:151Used by:173
Symbol 153 BitmapUsed by:154
Symbol 154 GraphicUses:153Used by:173
Symbol 155 BitmapUsed by:156
Symbol 156 GraphicUses:155Used by:173
Symbol 157 BitmapUsed by:158
Symbol 158 GraphicUses:157Used by:173
Symbol 159 BitmapUsed by:160
Symbol 160 GraphicUses:159Used by:173
Symbol 161 BitmapUsed by:162
Symbol 162 GraphicUses:161Used by:173
Symbol 163 BitmapUsed by:164
Symbol 164 GraphicUses:163Used by:173
Symbol 165 BitmapUsed by:166
Symbol 166 GraphicUses:165Used by:173
Symbol 167 BitmapUsed by:168
Symbol 168 GraphicUses:167Used by:173
Symbol 169 BitmapUsed by:170
Symbol 170 GraphicUses:169Used by:173
Symbol 171 BitmapUsed by:172
Symbol 172 GraphicUses:171Used by:173
Symbol 173 MovieClip [explode]Uses:120 127 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172Used by:174  Timeline
Symbol 174 MovieClipUses:117 118 173Used by:Timeline
Symbol 175 FontUsed by:176 182 183 187 189 190
Symbol 176 TextUses:175Used by:180 181
Symbol 177 GraphicUsed by:178
Symbol 178 MovieClipUses:177Used by:180 181
Symbol 179 GraphicUsed by:180
Symbol 180 ButtonUses:176 178 179Used by:195
Symbol 181 ButtonUses:176 178Used by:195
Symbol 182 TextUses:175Used by:186 188
Symbol 183 TextUses:175Used by:186
Symbol 184 GraphicUsed by:186
Symbol 185 GraphicUsed by:186
Symbol 186 ButtonUses:182 183 184 185Used by:195
Symbol 187 TextUses:175Used by:188
Symbol 188 ButtonUses:182 187Used by:195
Symbol 189 TextUses:175Used by:193 194
Symbol 190 TextUses:175Used by:193 194
Symbol 191 GraphicUsed by:193
Symbol 192 GraphicUsed by:193
Symbol 193 ButtonUses:189 190 191 192Used by:195
Symbol 194 ButtonUses:189 190Used by:195
Symbol 195 MovieClipUses:180 181 186 188 193 194Used by:Timeline
Symbol 196 BitmapUsed by:197
Symbol 197 GraphicUses:196Used by:198
Symbol 198 MovieClipUses:197Used by:199
Symbol 199 MovieClipUses:198Used by:Timeline
Symbol 200 BitmapUsed by:201
Symbol 201 GraphicUses:200Used by:204
Symbol 202 FontUsed by:203
Symbol 203 TextUses:202Used by:204
Symbol 204 MovieClipUses:201 203Used by:220
Symbol 205 BitmapUsed by:206 207
Symbol 206 GraphicUses:205Used by:218
Symbol 207 GraphicUses:205Used by:218
Symbol 208 GraphicUsed by:216 219 405 427 429 431
Symbol 209 GraphicUsed by:216 405 427 429 431
Symbol 210 GraphicUsed by:216 405 427 429 431
Symbol 211 GraphicUsed by:216 427 429 431
Symbol 212 ShapeTweeningUsed by:216
Symbol 213 GraphicUsed by:216 427 429 431
Symbol 214 GraphicUsed by:216 427 429 431
Symbol 215 GraphicUsed by:216 427 429 431
Symbol 216 MovieClipUses:208 209 210 211 212 213 214 215Used by:218 289 294 389 401 405 412 449
Symbol 217 SoundUsed by:218
Symbol 218 MovieClipUses:206 207 216 217Used by:220
Symbol 219 MovieClipUses:208Used by:220
Symbol 220 MovieClipUses:204 218 219Used by:Timeline
Symbol 221 BitmapUsed by:222
Symbol 222 GraphicUses:221Used by:225
Symbol 223 GraphicUsed by:224
Symbol 224 MovieClipUses:223Used by:225 230 271 412 440
Symbol 225 MovieClipUses:222 224Used by:Timeline
Symbol 226 GraphicUsed by:227
Symbol 227 MovieClipUses:226Used by:Timeline
Symbol 228 BitmapUsed by:229 435
Symbol 229 GraphicUses:228Used by:230
Symbol 230 MovieClipUses:229 224Used by:Timeline
Symbol 231 BitmapUsed by:232 233
Symbol 232 GraphicUses:231Used by:235
Symbol 233 GraphicUses:231Used by:234
Symbol 234 MovieClipUses:233Used by:235
Symbol 235 MovieClipUses:232 234Used by:255
Symbol 236 BitmapUsed by:237 238 239 240 241 242 243 244 245 246
Symbol 237 GraphicUses:236Used by:247
Symbol 238 GraphicUses:236Used by:247
Symbol 239 GraphicUses:236Used by:247
Symbol 240 GraphicUses:236Used by:247
Symbol 241 GraphicUses:236Used by:247
Symbol 242 GraphicUses:236Used by:247
Symbol 243 GraphicUses:236Used by:247
Symbol 244 GraphicUses:236Used by:247
Symbol 245 GraphicUses:236Used by:247
Symbol 246 GraphicUses:236Used by:247
Symbol 247 MovieClipUses:237 238 239 240 241 242 243 244 245 246Used by:255
Symbol 248 BitmapUsed by:249 250 251 252 253
Symbol 249 GraphicUses:248Used by:254
Symbol 250 GraphicUses:248Used by:254
Symbol 251 GraphicUses:248Used by:254
Symbol 252 GraphicUses:248Used by:254
Symbol 253 GraphicUses:248Used by:254
Symbol 254 MovieClipUses:249 250 251 252 253Used by:255
Symbol 255 MovieClipUses:235 247 254Used by:Timeline
Symbol 256 BitmapUsed by:257
Symbol 257 GraphicUses:256Used by:258
Symbol 258 MovieClipUses:257Used by:Timeline
Symbol 259 BitmapUsed by:260
Symbol 260 GraphicUses:259Used by:261
Symbol 261 MovieClipUses:260Used by:Timeline
Symbol 262 GraphicUsed by:263
Symbol 263 MovieClipUses:262Used by:264
Symbol 264 MovieClipUses:263Used by:Timeline
Symbol 265 GraphicUsed by:266
Symbol 266 MovieClipUses:265Used by:Timeline
Symbol 267 BitmapUsed by:268
Symbol 268 GraphicUses:267Used by:269
Symbol 269 MovieClipUses:268Used by:Timeline
Symbol 270 GraphicUsed by:271
Symbol 271 MovieClipUses:270 224Used by:Timeline
Symbol 272 BitmapUsed by:273 404
Symbol 273 GraphicUses:272Used by:281
Symbol 274 GraphicUsed by:281 406
Symbol 275 BitmapUsed by:276 277 278 298 299 300
Symbol 276 GraphicUses:275Used by:280
Symbol 277 GraphicUses:275Used by:280
Symbol 278 GraphicUses:275Used by:280
Symbol 279 GraphicUsed by:280
Symbol 280 MovieClipUses:276 277 278 279Used by:281
Symbol 281 MovieClipUses:273 274 280Used by:Timeline
Symbol 282 BitmapUsed by:283
Symbol 283 GraphicUses:282Used by:284
Symbol 284 MovieClipUses:283Used by:290 295
Symbol 285 BitmapUsed by:286 287
Symbol 286 GraphicUses:285Used by:289 449
Symbol 287 GraphicUses:285Used by:289 449
Symbol 288 Sound [s_minigunshot]Used by:289
Symbol 289 MovieClipUses:286 287 216 288Used by:290
Symbol 290 MovieClipUses:284 289Used by:Timeline
Symbol 291 BitmapUsed by:292
Symbol 292 GraphicUses:291Used by:294 405
Symbol 293 Sound [s_rocket]Used by:294
Symbol 294 MovieClipUses:292 216 293Used by:295
Symbol 295 MovieClipUses:284 294Used by:Timeline
Symbol 296 BitmapUsed by:297
Symbol 297 GraphicUses:296Used by:304 390 395 402
Symbol 298 GraphicUses:275Used by:303
Symbol 299 GraphicUses:275Used by:303
Symbol 300 GraphicUses:275Used by:303
Symbol 301 GraphicUsed by:303 394 443
Symbol 302 GraphicUsed by:303
Symbol 303 MovieClipUses:298 299 300 301 302Used by:304 450
Symbol 304 MovieClipUses:297 303Used by:Timeline
Symbol 305 BitmapUsed by:306
Symbol 306 GraphicUses:305Used by:307 419
Symbol 307 MovieClipUses:306Used by:Timeline
Symbol 308 GraphicUsed by:374
Symbol 309 FontUsed by:310 316 317 320
Symbol 310 EditableTextUses:309Used by:374
Symbol 311 FontUsed by:312 353 354 357 358 363 365 369 371 372
Symbol 312 TextUses:311Used by:374
Symbol 313 FontUsed by:314 315 318 319 321 356 370
Symbol 314 EditableTextUses:313Used by:374
Symbol 315 EditableTextUses:313Used by:374
Symbol 316 EditableTextUses:309Used by:374
Symbol 317 EditableTextUses:309Used by:374
Symbol 318 EditableTextUses:313Used by:374
Symbol 319 EditableTextUses:313Used by:374
Symbol 320 EditableTextUses:309Used by:374
Symbol 321 EditableTextUses:313Used by:374
Symbol 322 FontUsed by:323 340 379 452
Symbol 323 TextUses:322Used by:351
Symbol 324 BitmapUsed by:325
Symbol 325 GraphicUses:324Used by:338 350
Symbol 326 BitmapUsed by:327
Symbol 327 GraphicUses:326Used by:338 350
Symbol 328 BitmapUsed by:329
Symbol 329 GraphicUses:328Used by:338 350
Symbol 330 BitmapUsed by:331
Symbol 331 GraphicUses:330Used by:338 350
Symbol 332 BitmapUsed by:333
Symbol 333 GraphicUses:332Used by:338 350
Symbol 334 BitmapUsed by:335
Symbol 335 GraphicUses:334Used by:338 350
Symbol 336 BitmapUsed by:337
Symbol 337 GraphicUses:336Used by:338 350
Symbol 338 MovieClipUses:325 327 329 331 333 335 337Used by:339
Symbol 339 MovieClipUses:338Used by:351
Symbol 340 TextUses:322Used by:351
Symbol 341 BitmapUsed by:342
Symbol 342 GraphicUses:341Used by:343
Symbol 343 MovieClipUses:342Used by:344
Symbol 344 MovieClipUses:343Used by:351
Symbol 345 GraphicUsed by:351
Symbol 346 FontUsed by:347
Symbol 347 TextUses:346Used by:351
Symbol 348 BitmapUsed by:349
Symbol 349 GraphicUses:348Used by:350
Symbol 350 MovieClipUses:325 327 329 331 333 335 337 349Used by:351
Symbol 351 MovieClipUses:323 114 339 340 344 345 347 350Used by:374
Symbol 352 GraphicUsed by:355 362 364 367 373 458
Symbol 353 TextUses:311Used by:355 458
Symbol 354 TextUses:311Used by:355
Symbol 355 ButtonUses:352 353 354Used by:374
Symbol 356 EditableTextUses:313Used by:374
Symbol 357 TextUses:311Used by:374
Symbol 358 TextUses:311Used by:362
Symbol 359 GraphicUsed by:362 364 367
Symbol 360 GraphicUsed by:362 364 367
Symbol 361 TextUses:19Used by:362
Symbol 362 ButtonUses:352 358 359 360 361Used by:368
Symbol 363 TextUses:311Used by:364
Symbol 364 ButtonUses:352 363 359 360Used by:368
Symbol 365 TextUses:311Used by:367
Symbol 366 TextUses:19Used by:367
Symbol 367 ButtonUses:352 365 359 360 366Used by:368
Symbol 368 MovieClipUses:362 364 367Used by:374
Symbol 369 TextUses:311Used by:374
Symbol 370 EditableTextUses:313Used by:374
Symbol 371 TextUses:311Used by:373
Symbol 372 TextUses:311Used by:373
Symbol 373 ButtonUses:352 371 372Used by:374
Symbol 374 MovieClipUses:308 310 312 314 315 316 317 318 319 320 321 351 355 356 357 368 369 370 373Used by:Timeline
Symbol 375 GraphicUsed by:380
Symbol 376 FontUsed by:377
Symbol 377 TextUses:376Used by:378
Symbol 378 MovieClipUses:377Used by:380
Symbol 379 TextUses:322Used by:380
Symbol 380 MovieClipUses:375 378 379Used by:Timeline
Symbol 381 GraphicUsed by:382
Symbol 382 ButtonUses:381Used by:Timeline
Symbol 383 EditableTextUses:106Used by:384
Symbol 384 MovieClipUses:383Used by:385 391 396 403 407 422 434 445
Symbol 385 MovieClipUses:384Used by:Timeline
Symbol 386 BitmapUsed by:387 388
Symbol 387 GraphicUses:386Used by:389
Symbol 388 GraphicUses:386Used by:389
Symbol 389 MovieClipUses:387 388 216Used by:390 450
Symbol 390 MovieClipUses:297 389Used by:Timeline
Symbol 391 MovieClipUses:384Used by:Timeline
Symbol 392 BitmapUsed by:393
Symbol 393 GraphicUses:392Used by:394
Symbol 394 MovieClipUses:393 301Used by:395 450
Symbol 395 MovieClipUses:297 394Used by:Timeline
Symbol 396 MovieClipUses:384Used by:Timeline
Symbol 397 BitmapUsed by:398 399
Symbol 398 GraphicUses:397Used by:401
Symbol 399 GraphicUses:397Used by:401
Symbol 400 GraphicUsed by:401
Symbol 401 MovieClipUses:398 399 216 400Used by:402
Symbol 402 MovieClipUses:297 401Used by:Timeline
Symbol 403 MovieClipUses:384Used by:Timeline
Symbol 404 GraphicUses:272Used by:406
Symbol 405 MovieClipUses:292 208 209 210 216Used by:406
Symbol 406 MovieClipUses:404 274 405Used by:Timeline
Symbol 407 MovieClipUses:384Used by:Timeline
Symbol 408 BitmapUsed by:409
Symbol 409 GraphicUses:408Used by:413 433 444
Symbol 410 BitmapUsed by:411
Symbol 411 GraphicUses:410Used by:412
Symbol 412 MovieClipUses:411 224 216Used by:413 450
Symbol 413 MovieClipUses:409 412Used by:Timeline
Symbol 414 BitmapUsed by:415
Symbol 415 GraphicUses:414Used by:418
Symbol 416 BitmapUsed by:417
Symbol 417 GraphicUses:416Used by:418
Symbol 418 MovieClipUses:415 417Used by:Timeline
Symbol 419 MovieClipUses:306Used by:421
Symbol 420 GraphicUsed by:421
Symbol 421 MovieClipUses:419 420Used by:Timeline
Symbol 422 MovieClipUses:384Used by:Timeline
Symbol 423 BitmapUsed by:424 425
Symbol 424 GraphicUses:423Used by:432
Symbol 425 GraphicUses:423Used by:432
Symbol 426 ShapeTweeningUsed by:427
Symbol 427 MovieClipUses:208 209 210 211 426 213 214 215Used by:432
Symbol 428 ShapeTweeningUsed by:429
Symbol 429 MovieClipUses:208 209 210 211 428 213 214 215Used by:432
Symbol 430 ShapeTweeningUsed by:431
Symbol 431 MovieClipUses:208 209 210 211 430 213 214 215Used by:432
Symbol 432 MovieClipUses:424 425 427 429 431Used by:433
Symbol 433 MovieClipUses:409 432Used by:Timeline
Symbol 434 MovieClipUses:384Used by:Timeline
Symbol 435 GraphicUses:228Used by:440
Symbol 436 BitmapUsed by:437
Symbol 437 GraphicUses:436Used by:440
Symbol 438 GraphicUsed by:439
Symbol 439 MovieClipUses:438Used by:440
Symbol 440 MovieClipUses:435 224 437 439Used by:Timeline
Symbol 441 BitmapUsed by:442
Symbol 442 GraphicUses:441Used by:443
Symbol 443 MovieClipUses:442 301Used by:444
Symbol 444 MovieClipUses:409 443Used by:Timeline
Symbol 445 MovieClipUses:384Used by:Timeline
Symbol 446 BitmapUsed by:447
Symbol 447 GraphicUses:446Used by:448
Symbol 448 MovieClipUses:447Used by:450
Symbol 449 MovieClipUses:286 287 216Used by:450
Symbol 450 MovieClipUses:448 394 303 449 412 389Used by:Timeline
Symbol 451 GraphicUsed by:Timeline
Symbol 452 TextUses:322Used by:453  Timeline
Symbol 453 MovieClipUses:452Used by:Timeline
Symbol 454 EditableTextUses:106Used by:Timeline
Symbol 455 EditableTextUses:106Used by:458
Symbol 456 EditableTextUses:106Used by:458
Symbol 457 GraphicUsed by:458
Symbol 458 ButtonUses:352 353 455 456 457Used by:Timeline

Instance Names

"logo"Frame 2Symbol 105 MovieClip
"tilemap"Frame 14Symbol 199 MovieClip
"tank"Frame 14Symbol 220 MovieClip
"boom"Frame 14Symbol 173 MovieClip [explode]
"t_shot"Frame 14Symbol 225 MovieClip
"cg"Frame 14Symbol 227 MovieClip
"rl"Frame 14Symbol 230 MovieClip
"stats1"Frame 14Symbol 255 MovieClip
"tree1"Frame 14Symbol 258 MovieClip
"tree1"Frame 14Symbol 261 MovieClip
"tree1"Frame 14Symbol 258 MovieClip
"path"Frame 14Symbol 266 MovieClip
"booms"Frame 14Symbol 269 MovieClip
"cgb"Frame 14Symbol 227 MovieClip
"shot"Frame 14Symbol 225 MovieClip
"mshot"Frame 14Symbol 271 MovieClip
"tower1"Frame 14Symbol 281 MovieClip
"tree1"Frame 14Symbol 258 MovieClip
"tree1"Frame 14Symbol 261 MovieClip
"tower2"Frame 14Symbol 281 MovieClip
"cacg1"Frame 14Symbol 290 MovieClip
"cacg2"Frame 14Symbol 290 MovieClip
"carl1"Frame 14Symbol 295 MovieClip
"tower4"Frame 14Symbol 281 MovieClip
"cacg3"Frame 14Symbol 290 MovieClip
"cacg4"Frame 14Symbol 290 MovieClip
"cacg5"Frame 14Symbol 290 MovieClip
"tower5"Frame 14Symbol 281 MovieClip
"tower6"Frame 14Symbol 281 MovieClip
"lacg1"Frame 14Symbol 304 MovieClip
"carl3"Frame 14Symbol 295 MovieClip
"carl4"Frame 14Symbol 295 MovieClip
"cacg6"Frame 14Symbol 290 MovieClip
"cacg7"Frame 14Symbol 290 MovieClip
"cacg8"Frame 14Symbol 290 MovieClip
"tower8"Frame 14Symbol 281 MovieClip
"tower7"Frame 14Symbol 281 MovieClip
"lacg2"Frame 14Symbol 304 MovieClip
"cacg9"Frame 14Symbol 290 MovieClip
"cacg10"Frame 14Symbol 290 MovieClip
"carl5"Frame 14Symbol 295 MovieClip
"carl6"Frame 14Symbol 295 MovieClip
"tower10"Frame 14Symbol 281 MovieClip
"tower9"Frame 14Symbol 281 MovieClip
"lacg3"Frame 14Symbol 304 MovieClip
"lacg4"Frame 14Symbol 304 MovieClip
"tree1"Frame 14Symbol 261 MovieClip
"tree1"Frame 14Symbol 261 MovieClip
"tree1"Frame 14Symbol 258 MovieClip
"tree1"Frame 14Symbol 258 MovieClip
"tree1"Frame 14Symbol 261 MovieClip
"tree1"Frame 14Symbol 258 MovieClip
"tree1"Frame 14Symbol 261 MovieClip
"tree1"Frame 14Symbol 258 MovieClip
"tree1"Frame 14Symbol 261 MovieClip
"tree1"Frame 14Symbol 261 MovieClip
"tree1"Frame 14Symbol 258 MovieClip
"tower3"Frame 14Symbol 281 MovieClip
"lacg6"Frame 14Symbol 304 MovieClip
"carl7"Frame 14Symbol 295 MovieClip
"carl8"Frame 14Symbol 295 MovieClip
"can1"Frame 14Symbol 307 MovieClip
"can2"Frame 14Symbol 307 MovieClip
"can3"Frame 14Symbol 307 MovieClip
"can4"Frame 14Symbol 307 MovieClip
"can5"Frame 14Symbol 307 MovieClip
"can6"Frame 14Symbol 307 MovieClip
"ggmenu1"Frame 14Symbol 374 MovieClip
"pmenu"Frame 14Symbol 380 MovieClip
"tilemap"Frame 20Symbol 199 MovieClip
"stats2"Frame 20Symbol 255 MovieClip
"tree2"Frame 20Symbol 258 MovieClip
"tree2"Frame 20Symbol 261 MovieClip
"tree2"Frame 20Symbol 258 MovieClip
"tower11"Frame 20Symbol 281 MovieClip
"tree2"Frame 20Symbol 258 MovieClip
"tree2"Frame 20Symbol 261 MovieClip
"cacg11"Frame 20Symbol 290 MovieClip
"cacg12"Frame 20Symbol 290 MovieClip
"tower12"Frame 20Symbol 281 MovieClip
"cacg13"Frame 20Symbol 290 MovieClip
"carl9"Frame 20Symbol 295 MovieClip
"lacg6"Frame 20Symbol 304 MovieClip
"lacg5"Frame 20Symbol 304 MovieClip
"lacss2"Frame 20Symbol 390 MovieClip
"lacss1"Frame 20Symbol 390 MovieClip
"lacss3"Frame 20Symbol 390 MovieClip
"tower13"Frame 20Symbol 281 MovieClip
"tree2"Frame 20Symbol 261 MovieClip
"lacg8"Frame 20Symbol 304 MovieClip
"tower14"Frame 20Symbol 281 MovieClip
"carl10"Frame 20Symbol 295 MovieClip
"carl11"Frame 20Symbol 295 MovieClip
"cacg14"Frame 20Symbol 290 MovieClip
"cacg15"Frame 20Symbol 290 MovieClip
"lacss4"Frame 20Symbol 390 MovieClip
"lacss1"Frame 20Symbol 390 MovieClip
"tower15"Frame 20Symbol 281 MovieClip
"tower16"Frame 20Symbol 281 MovieClip
"lacss5"Frame 20Symbol 390 MovieClip
"lacss6"Frame 20Symbol 390 MovieClip
"lacss8"Frame 20Symbol 390 MovieClip
"lacss7"Frame 20Symbol 390 MovieClip
"tower18"Frame 20Symbol 281 MovieClip
"lacg11"Frame 20Symbol 304 MovieClip
"lacg12"Frame 20Symbol 304 MovieClip
"lacg13"Frame 20Symbol 304 MovieClip
"lacg14"Frame 20Symbol 304 MovieClip
"tree2"Frame 20Symbol 258 MovieClip
"tree2"Frame 20Symbol 258 MovieClip
"tree2"Frame 20Symbol 261 MovieClip
"tree2"Frame 20Symbol 261 MovieClip
"tree2"Frame 20Symbol 261 MovieClip
"tree2"Frame 20Symbol 258 MovieClip
"tree2"Frame 20Symbol 261 MovieClip
"tree2"Frame 20Symbol 258 MovieClip
"tree2"Frame 20Symbol 258 MovieClip
"can7"Frame 20Symbol 307 MovieClip
"can8"Frame 20Symbol 307 MovieClip
"can9"Frame 20Symbol 307 MovieClip
"can10"Frame 20Symbol 307 MovieClip
"can12"Frame 20Symbol 307 MovieClip
"lacg9"Frame 20Symbol 304 MovieClip
"lacg10"Frame 20Symbol 304 MovieClip
"can11"Frame 20Symbol 307 MovieClip
"tower17"Frame 20Symbol 281 MovieClip
"ggmenu2"Frame 20Symbol 374 MovieClip
"stats3"Frame 26Symbol 255 MovieClip
"tree3"Frame 26Symbol 258 MovieClip
"tree3"Frame 26Symbol 261 MovieClip
"tree3"Frame 26Symbol 258 MovieClip
"l3lass1"Frame 26Symbol 390 MovieClip
"l3lass2"Frame 26Symbol 390 MovieClip
"l3cacg1"Frame 26Symbol 290 MovieClip
"l3cacg2"Frame 26Symbol 290 MovieClip
"l3lass3"Frame 26Symbol 390 MovieClip
"l3lass4"Frame 26Symbol 390 MovieClip
"l3larl1"Frame 26Symbol 395 MovieClip
"l3larl2"Frame 26Symbol 395 MovieClip
"l3tower1"Frame 26Symbol 281 MovieClip
"l3tower2"Frame 26Symbol 281 MovieClip
"l3lacg1"Frame 26Symbol 304 MovieClip
"l3cacg4"Frame 26Symbol 290 MovieClip
"l3cacg3"Frame 26Symbol 290 MovieClip
"l3cacg7"Frame 26Symbol 290 MovieClip
"l3car1"Frame 26Symbol 295 MovieClip
"l3carl2"Frame 26Symbol 295 MovieClip
"l3tower3"Frame 26Symbol 281 MovieClip
"l3tower4"Frame 26Symbol 281 MovieClip
"l3tower5"Frame 26Symbol 281 MovieClip
"l3larl4"Frame 26Symbol 395 MovieClip
"l3larl3"Frame 26Symbol 395 MovieClip
"l3larl5"Frame 26Symbol 395 MovieClip
"l3lass6"Frame 26Symbol 390 MovieClip
"l3lass7"Frame 26Symbol 390 MovieClip
"l3lass5"Frame 26Symbol 390 MovieClip
"l3lass8"Frame 26Symbol 390 MovieClip
"l3larl6"Frame 26Symbol 395 MovieClip
"l3lacg2"Frame 26Symbol 304 MovieClip
"l3lacg3"Frame 26Symbol 304 MovieClip
"l3lass9"Frame 26Symbol 390 MovieClip
"l3lass10"Frame 26Symbol 390 MovieClip
"l3lacg4"Frame 26Symbol 304 MovieClip
"l3tower6"Frame 26Symbol 281 MovieClip
"l3cacg7"Frame 26Symbol 290 MovieClip
"l3carl2"Frame 26Symbol 295 MovieClip
"l3cacg8"Frame 26Symbol 290 MovieClip
"l3tower8"Frame 26Symbol 281 MovieClip
"l3tower7"Frame 26Symbol 281 MovieClip
"l3larl8"Frame 26Symbol 395 MovieClip
"l3larl7"Frame 26Symbol 395 MovieClip
"l3larl10"Frame 26Symbol 395 MovieClip
"l3larl9"Frame 26Symbol 395 MovieClip
"l3lass11"Frame 26Symbol 390 MovieClip
"l3lass12"Frame 26Symbol 390 MovieClip
"l3lass13"Frame 26Symbol 390 MovieClip
"l3carl3"Frame 26Symbol 295 MovieClip
"l3carl4"Frame 26Symbol 295 MovieClip
"l3can1"Frame 26Symbol 307 MovieClip
"l3can2"Frame 26Symbol 307 MovieClip
"l3can3"Frame 26Symbol 307 MovieClip
"l3can4"Frame 26Symbol 307 MovieClip
"l3can6"Frame 26Symbol 307 MovieClip
"l3can5"Frame 26Symbol 307 MovieClip
"l3can7"Frame 26Symbol 307 MovieClip
"l3can9"Frame 26Symbol 307 MovieClip
"l3can8"Frame 26Symbol 307 MovieClip
"l3can10"Frame 26Symbol 307 MovieClip
"l3can11"Frame 26Symbol 307 MovieClip
"tree3"Frame 26Symbol 258 MovieClip
"tree3"Frame 26Symbol 261 MovieClip
"tree3"Frame 26Symbol 258 MovieClip
"tree3"Frame 26Symbol 261 MovieClip
"tree3"Frame 26Symbol 261 MovieClip
"tree3"Frame 26Symbol 261 MovieClip
"tree3"Frame 26Symbol 258 MovieClip
"tree3"Frame 26Symbol 258 MovieClip
"tree3"Frame 26Symbol 258 MovieClip
"tree3"Frame 26Symbol 261 MovieClip
"tree3"Frame 26Symbol 258 MovieClip
"tree3"Frame 26Symbol 261 MovieClip
"tree3"Frame 26Symbol 261 MovieClip
"tree3"Frame 26Symbol 261 MovieClip
"ggmenu3"Frame 26Symbol 374 MovieClip
"stats4"Frame 32Symbol 255 MovieClip
"tree3"Frame 32Symbol 261 MovieClip
"tree3"Frame 32Symbol 261 MovieClip
"l4larl1"Frame 32Symbol 395 MovieClip
"l4lacg1"Frame 32Symbol 304 MovieClip
"l4tower1"Frame 32Symbol 281 MovieClip
"l4tower2"Frame 32Symbol 281 MovieClip
"l4lane1"Frame 32Symbol 402 MovieClip
"l4cacg1"Frame 32Symbol 290 MovieClip
"l4lane2"Frame 32Symbol 402 MovieClip
"l4larl2"Frame 32Symbol 395 MovieClip
"l4larl3"Frame 32Symbol 395 MovieClip
"l4lass2"Frame 32Symbol 390 MovieClip
"l4lass1"Frame 32Symbol 390 MovieClip
"l4can1"Frame 32Symbol 307 MovieClip
"l4can8"Frame 32Symbol 307 MovieClip
"l4can6"Frame 32Symbol 307 MovieClip
"l4tower4"Frame 32Symbol 281 MovieClip
"l4tower3"Frame 32Symbol 281 MovieClip
"l4lacg2"Frame 32Symbol 304 MovieClip
"l4lacg5"Frame 32Symbol 304 MovieClip
"l4carl2"Frame 32Symbol 295 MovieClip
"l4carl1"Frame 32Symbol 295 MovieClip
"l4lass4"Frame 32Symbol 390 MovieClip
"l4lass3"Frame 32Symbol 390 MovieClip
"l4can9"Frame 32Symbol 307 MovieClip
"l4can10"Frame 32Symbol 307 MovieClip
"l4cacg2"Frame 32Symbol 290 MovieClip
"l4lacg6"Frame 32Symbol 304 MovieClip
"l4lacg7"Frame 32Symbol 304 MovieClip
"l4lane3"Frame 32Symbol 402 MovieClip
"l4tower7"Frame 32Symbol 281 MovieClip
"l4tower6"Frame 32Symbol 281 MovieClip
"l4tower5"Frame 32Symbol 281 MovieClip
"l4larl5"Frame 32Symbol 395 MovieClip
"l4larl4"Frame 32Symbol 395 MovieClip
"l4tower8"Frame 32Symbol 281 MovieClip
"l4tower9"Frame 32Symbol 281 MovieClip
"l4lane"Frame 32Symbol 402 MovieClip
"l4carl3"Frame 32Symbol 295 MovieClip
"l4carl4"Frame 32Symbol 295 MovieClip
"l4lass6"Frame 32Symbol 390 MovieClip
"l4lass5"Frame 32Symbol 390 MovieClip
"l4lass7"Frame 32Symbol 390 MovieClip
"l3larl5"Frame 32Symbol 395 MovieClip
"l4cacg4"Frame 32Symbol 290 MovieClip
"l4cacg3"Frame 32Symbol 290 MovieClip
"l4lane6"Frame 32Symbol 402 MovieClip
"l4lane5"Frame 32Symbol 402 MovieClip
"l4tower10"Frame 32Symbol 281 MovieClip
"l4lane7"Frame 32Symbol 402 MovieClip
"l4lane9"Frame 32Symbol 402 MovieClip
"l4larl6"Frame 32Symbol 395 MovieClip
"tree4"Frame 32Symbol 261 MovieClip
"tree4"Frame 32Symbol 261 MovieClip
"tree4"Frame 32Symbol 261 MovieClip
"tree4"Frame 32Symbol 258 MovieClip
"tree4"Frame 32Symbol 258 MovieClip
"tree4"Frame 32Symbol 258 MovieClip
"tree4"Frame 32Symbol 261 MovieClip
"tree4"Frame 32Symbol 261 MovieClip
"tree4"Frame 32Symbol 258 MovieClip
"tree4"Frame 32Symbol 258 MovieClip
"tree4"Frame 32Symbol 258 MovieClip
"tree4"Frame 32Symbol 261 MovieClip
"tree4"Frame 32Symbol 261 MovieClip
"tree4"Frame 32Symbol 258 MovieClip
"l4can7"Frame 32Symbol 307 MovieClip
"l4can12"Frame 32Symbol 307 MovieClip
"l4can11"Frame 32Symbol 307 MovieClip
"l4can14"Frame 32Symbol 307 MovieClip
"l4can13"Frame 32Symbol 307 MovieClip
"l4can16"Frame 32Symbol 307 MovieClip
"l4can15"Frame 32Symbol 307 MovieClip
"l4can17"Frame 32Symbol 307 MovieClip
"tree4"Frame 32Symbol 261 MovieClip
"l4tower13"Frame 32Symbol 281 MovieClip
"ggmenu4"Frame 32Symbol 374 MovieClip
"stats5"Frame 38Symbol 255 MovieClip
"tree5"Frame 38Symbol 261 MovieClip
"tree5"Frame 38Symbol 258 MovieClip
"l5carl"Frame 38Symbol 295 MovieClip
"l5tower1"Frame 38Symbol 281 MovieClip
"l5tower2"Frame 38Symbol 281 MovieClip
"l5lacg1"Frame 38Symbol 304 MovieClip
"l5lacg2"Frame 38Symbol 304 MovieClip
"l5lass1"Frame 38Symbol 390 MovieClip
"l5lass2"Frame 38Symbol 390 MovieClip
"l5larl1"Frame 38Symbol 395 MovieClip
"l5lane1"Frame 38Symbol 402 MovieClip
"l5larl2"Frame 38Symbol 395 MovieClip
"l5lane2"Frame 38Symbol 402 MovieClip
"l5larl4"Frame 38Symbol 395 MovieClip
"l5larl3"Frame 38Symbol 395 MovieClip
"l5can2"Frame 38Symbol 307 MovieClip
"l5can1"Frame 38Symbol 307 MovieClip
"l5cacg1"Frame 38Symbol 290 MovieClip
"l5tower3"Frame 38Symbol 281 MovieClip
"l5tower4"Frame 38Symbol 406 MovieClip
"l5tower5"Frame 38Symbol 406 MovieClip
"l5lacg3"Frame 38Symbol 304 MovieClip
"l5larl8"Frame 38Symbol 395 MovieClip
"l5larl7"Frame 38Symbol 395 MovieClip
"l5larl6"Frame 38Symbol 395 MovieClip
"l5larl5"Frame 38Symbol 395 MovieClip
"l5tower6"Frame 38Symbol 406 MovieClip
"l5tower7"Frame 38Symbol 281 MovieClip
"l5tower8"Frame 38Symbol 281 MovieClip
"l5can3"Frame 38Symbol 307 MovieClip
"l5can4"Frame 38Symbol 307 MovieClip
"l5lass4"Frame 38Symbol 390 MovieClip
"l5lass3"Frame 38Symbol 390 MovieClip
"l5cacg2"Frame 38Symbol 290 MovieClip
"l5cacg3"Frame 38Symbol 290 MovieClip
"l5cacg4"Frame 38Symbol 290 MovieClip
"l5cacg4"Frame 38Symbol 290 MovieClip
"l5cacg5"Frame 38Symbol 290 MovieClip
"l5carl2"Frame 38Symbol 295 MovieClip
"l5carl3"Frame 38Symbol 295 MovieClip
"l5lass6"Frame 38Symbol 390 MovieClip
"l5lass7"Frame 38Symbol 390 MovieClip
"l5tower9"Frame 38Symbol 406 MovieClip
"l5tower10"Frame 38Symbol 406 MovieClip
"l5tower11"Frame 38Symbol 406 MovieClip
"l5larl10"Frame 38Symbol 395 MovieClip
"l5larl9"Frame 38Symbol 395 MovieClip
"l5lane12"Frame 38Symbol 402 MovieClip
"l5lane11"Frame 38Symbol 402 MovieClip
"l5tower15"Frame 38Symbol 406 MovieClip
"l5cacg13"Frame 38Symbol 290 MovieClip
"l5cacg14"Frame 38Symbol 290 MovieClip
"l5tower13"Frame 38Symbol 406 MovieClip
"l5tower12"Frame 38Symbol 281 MovieClip
"l5tower14"Frame 38Symbol 281 MovieClip
"l5cacg17"Frame 38Symbol 290 MovieClip
"l5carl15"Frame 38Symbol 295 MovieClip
"l5carl16"Frame 38Symbol 295 MovieClip
"l5can7"Frame 38Symbol 307 MovieClip
"l5can8"Frame 38Symbol 307 MovieClip
"l5can9"Frame 38Symbol 307 MovieClip
"l5can10"Frame 38Symbol 307 MovieClip
"l5can11"Frame 38Symbol 307 MovieClip
"tree5"Frame 38Symbol 258 MovieClip
"tree5"Frame 38Symbol 258 MovieClip
"tree5"Frame 38Symbol 258 MovieClip
"tree5"Frame 38Symbol 261 MovieClip
"tree5"Frame 38Symbol 258 MovieClip
"tree5"Frame 38Symbol 258 MovieClip
"tree51"Frame 38Symbol 261 MovieClip
"tree5"Frame 38Symbol 258 MovieClip
"tree5"Frame 38Symbol 258 MovieClip
"tree5"Frame 38Symbol 261 MovieClip
"tree5"Frame 38Symbol 261 MovieClip
"tree5"Frame 38Symbol 261 MovieClip
"tree5"Frame 38Symbol 261 MovieClip
"tree5"Frame 38Symbol 258 MovieClip
"tree5"Frame 38Symbol 261 MovieClip
"tree5"Frame 38Symbol 261 MovieClip
"tree5"Frame 38Symbol 261 MovieClip
"tree5"Frame 38Symbol 258 MovieClip
"tree5"Frame 38Symbol 258 MovieClip
"ggmenu5"Frame 38Symbol 374 MovieClip
"stats6"Frame 44Symbol 255 MovieClip
"tree6"Frame 44Symbol 258 MovieClip
"l6can43"Frame 44Symbol 307 MovieClip
"l6larl2"Frame 44Symbol 395 MovieClip
"l6larl1"Frame 44Symbol 395 MovieClip
"l6hamb4"Frame 44Symbol 413 MovieClip
"l6hamb3"Frame 44Symbol 413 MovieClip
"l6hamb7"Frame 44Symbol 413 MovieClip
"l6cacg12"Frame 44Symbol 290 MovieClip
"l6cacg11"Frame 44Symbol 290 MovieClip
"l6cacg10"Frame 44Symbol 290 MovieClip
"l6cacg9"Frame 44Symbol 290 MovieClip
"l6carl14"Frame 44Symbol 295 MovieClip
"l6lacs20"Frame 44Symbol 390 MovieClip
"l6tower19"Frame 44Symbol 406 MovieClip
"l6hamb18"Frame 44Symbol 413 MovieClip
"l6lane15"Frame 44Symbol 402 MovieClip
"l6lane13"Frame 44Symbol 402 MovieClip
"l6tower28"Frame 44Symbol 406 MovieClip
"l6tower24"Frame 44Symbol 281 MovieClip
"l6wall27"Frame 44Symbol 418 MovieClip
"l6wall26"Frame 44Symbol 418 MovieClip
"l6hamb31"Frame 44Symbol 413 MovieClip
"l6hamb32"Frame 44Symbol 413 MovieClip
"l6carl25"Frame 44Symbol 295 MovieClip
"l6carl33"Frame 44Symbol 295 MovieClip
"l6larl35"Frame 44Symbol 395 MovieClip
"l6tower38"Frame 44Symbol 281 MovieClip
"l6lane39"Frame 44Symbol 402 MovieClip
"l6lane40"Frame 44Symbol 402 MovieClip
"l6wall41"Frame 44Symbol 418 MovieClip
"l6wall42"Frame 44Symbol 418 MovieClip
"l6wall50"Frame 44Symbol 418 MovieClip
"l6wall51"Frame 44Symbol 418 MovieClip
"l6hamb46"Frame 44Symbol 413 MovieClip
"l6hamb49"Frame 44Symbol 413 MovieClip
"l6hamb44"Frame 44Symbol 413 MovieClip
"l6can36"Frame 44Symbol 307 MovieClip
"l6can48"Frame 44Symbol 307 MovieClip
"l6can47"Frame 44Symbol 307 MovieClip
"l6can45"Frame 44Symbol 307 MovieClip
"l6tower52"Frame 44Symbol 281 MovieClip
"l6tower53"Frame 44Symbol 281 MovieClip
"l6tower54"Frame 44Symbol 281 MovieClip
"l6tower55"Frame 44Symbol 281 MovieClip
"l6tower60"Frame 44Symbol 406 MovieClip
"l6tower63"Frame 44Symbol 406 MovieClip
"l6hamb56"Frame 44Symbol 413 MovieClip
"l6hamb57"Frame 44Symbol 413 MovieClip
"l6hamb61"Frame 44Symbol 413 MovieClip
"l6hamb58"Frame 44Symbol 413 MovieClip
"l6larl64"Frame 44Symbol 395 MovieClip
"l6tower67"Frame 44Symbol 281 MovieClip
"l6carl66"Frame 44Symbol 295 MovieClip
"l6lacs65"Frame 44Symbol 390 MovieClip
"l6lacs69"Frame 44Symbol 390 MovieClip
"l6hamb68"Frame 44Symbol 413 MovieClip
"l6lacg70"Frame 44Symbol 304 MovieClip
"l6can37"Frame 44Symbol 307 MovieClip
"l6can34"Frame 44Symbol 307 MovieClip
"l6can30"Frame 44Symbol 307 MovieClip
"l6can29"Frame 44Symbol 307 MovieClip
"l6can21"Frame 44Symbol 307 MovieClip
"l6can17"Frame 44Symbol 307 MovieClip
"l6can16"Frame 44Symbol 307 MovieClip
"l6can8"Frame 44Symbol 307 MovieClip
"tree6"Frame 44Symbol 258 MovieClip
"tree6"Frame 44Symbol 258 MovieClip
"tree6"Frame 44Symbol 261 MovieClip
"tree6"Frame 44Symbol 258 MovieClip
"tree6"Frame 44Symbol 258 MovieClip
"tree6"Frame 44Symbol 261 MovieClip
"tree6"Frame 44Symbol 258 MovieClip
"tree6"Frame 44Symbol 258 MovieClip
"tree6"Frame 44Symbol 258 MovieClip
"tree6"Frame 44Symbol 261 MovieClip
"tree6"Frame 44Symbol 261 MovieClip
"tree6"Frame 44Symbol 261 MovieClip
"tree6"Frame 44Symbol 261 MovieClip
"tree6"Frame 44Symbol 258 MovieClip
"tree6"Frame 44Symbol 258 MovieClip
"l6wall22"Frame 44Symbol 418 MovieClip
"l6wall3"Frame 44Symbol 418 MovieClip
"tree6"Frame 44Symbol 258 MovieClip
"l6canB1"Frame 44Symbol 421 MovieClip
"l6canB2"Frame 44Symbol 421 MovieClip
"l6canB3"Frame 44Symbol 421 MovieClip
"l6canB3"Frame 44Symbol 421 MovieClip
"l6canB3"Frame 44Symbol 421 MovieClip
"ggmenu6"Frame 44Symbol 374 MovieClip
"stats7"Frame 50Symbol 255 MovieClip
"tree7"Frame 50Symbol 258 MovieClip
"tree7"Frame 50Symbol 261 MovieClip
"l7cacg25"Frame 50Symbol 290 MovieClip
"l7carl24"Frame 50Symbol 295 MovieClip
"l7tower1"Frame 50Symbol 281 MovieClip
"l7tower3"Frame 50Symbol 281 MovieClip
"l7tower2"Frame 50Symbol 406 MovieClip
"l7tower4"Frame 50Symbol 406 MovieClip
"l7hamb5"Frame 50Symbol 413 MovieClip
"l7hamb6"Frame 50Symbol 413 MovieClip
"l7wall8"Frame 50Symbol 418 MovieClip
"l7wall7"Frame 50Symbol 418 MovieClip
"l7lacs9"Frame 50Symbol 390 MovieClip
"l7lacs10"Frame 50Symbol 390 MovieClip
"l7lacs13"Frame 50Symbol 390 MovieClip
"l7lacs12"Frame 50Symbol 390 MovieClip
"l7hasz14"Frame 50Symbol 433 MovieClip
"l7tower11"Frame 50Symbol 281 MovieClip
"l7wall17"Frame 50Symbol 418 MovieClip
"l7wall16"Frame 50Symbol 418 MovieClip
"l7wall18"Frame 50Symbol 418 MovieClip
"l7wall19"Frame 50Symbol 418 MovieClip
"l7lacg15"Frame 50Symbol 304 MovieClip
"l7lacg116"Frame 50Symbol 304 MovieClip
"l7hasz21"Frame 50Symbol 433 MovieClip
"l7hasz20"Frame 50Symbol 433 MovieClip
"l7cacg22"Frame 50Symbol 290 MovieClip
"l7cacg26"Frame 50Symbol 290 MovieClip
"l7carl27"Frame 50Symbol 295 MovieClip
"l7tower36"Frame 50Symbol 406 MovieClip
"l7cacg29"Frame 50Symbol 290 MovieClip
"l7hasz30"Frame 50Symbol 433 MovieClip
"l7hasz32"Frame 50Symbol 433 MovieClip
"l7carl33"Frame 50Symbol 295 MovieClip
"l7cacg45"Frame 50Symbol 290 MovieClip
"l7can37"Frame 50Symbol 307 MovieClip
"l7can43"Frame 50Symbol 307 MovieClip
"l7can38"Frame 50Symbol 307 MovieClip
"l7can46"Frame 50Symbol 307 MovieClip
"l7can53"Frame 50Symbol 307 MovieClip
"l7can52"Frame 50Symbol 307 MovieClip
"l7can45"Frame 50Symbol 307 MovieClip
"l7can57"Frame 50Symbol 307 MovieClip
"l7can39"Frame 50Symbol 307 MovieClip
"l7can56"Frame 50Symbol 307 MovieClip
"l7can63"Frame 50Symbol 307 MovieClip
"l7can60"Frame 50Symbol 307 MovieClip
"l7can62"Frame 50Symbol 307 MovieClip
"l7can65"Frame 50Symbol 307 MovieClip
"l7lacs40"Frame 50Symbol 390 MovieClip
"l7lane55"Frame 50Symbol 402 MovieClip
"l7lane51"Frame 50Symbol 402 MovieClip
"l7larl49"Frame 50Symbol 395 MovieClip
"l7larl58"Frame 50Symbol 395 MovieClip
"l7lacg61"Frame 50Symbol 304 MovieClip
"l7lacg48"Frame 50Symbol 304 MovieClip
"l7lacg42"Frame 50Symbol 304 MovieClip
"l7lane64"Frame 50Symbol 402 MovieClip
"l7wall71"Frame 50Symbol 418 MovieClip
"l7wall69"Frame 50Symbol 418 MovieClip
"l7wall73"Frame 50Symbol 418 MovieClip
"l7wall72"Frame 50Symbol 418 MovieClip
"l7tower67"Frame 50Symbol 281 MovieClip
"l7tower68"Frame 50Symbol 281 MovieClip
"l7hasz80"Frame 50Symbol 433 MovieClip
"l7hasz79"Frame 50Symbol 433 MovieClip
"l7hamb76"Frame 50Symbol 413 MovieClip
"l7cacg77"Frame 50Symbol 290 MovieClip
"l7cacg75"Frame 50Symbol 290 MovieClip
"l7tower78"Frame 50Symbol 406 MovieClip
"l7tower74"Frame 50Symbol 406 MovieClip
"l7can82"Frame 50Symbol 307 MovieClip
"l7can87"Frame 50Symbol 307 MovieClip
"l7can89"Frame 50Symbol 307 MovieClip
"l6canB92"Frame 50Symbol 421 MovieClip
"l7hasz98"Frame 50Symbol 433 MovieClip
"l7hamb86"Frame 50Symbol 413 MovieClip
"l7hasz91"Frame 50Symbol 433 MovieClip
"l7hamb94"Frame 50Symbol 413 MovieClip
"l7hasz83"Frame 50Symbol 433 MovieClip
"l7hamb97"Frame 50Symbol 413 MovieClip
"l7can90"Frame 50Symbol 307 MovieClip
"l7can95"Frame 50Symbol 307 MovieClip
"l7can81"Frame 50Symbol 307 MovieClip
"l7can84"Frame 50Symbol 307 MovieClip
"l7can88"Frame 50Symbol 307 MovieClip
"l7can96"Frame 50Symbol 307 MovieClip
"l7can101"Frame 50Symbol 307 MovieClip
"l7can102"Frame 50Symbol 307 MovieClip
"l7can103"Frame 50Symbol 307 MovieClip
"l7can99"Frame 50Symbol 307 MovieClip
"l7larl93"Frame 50Symbol 395 MovieClip
"l7larl100"Frame 50Symbol 395 MovieClip
"l7larl105"Frame 50Symbol 395 MovieClip
"l7can104"Frame 50Symbol 307 MovieClip
"l7larl85"Frame 50Symbol 395 MovieClip
"tree7"Frame 50Symbol 258 MovieClip
"tree7"Frame 50Symbol 261 MovieClip
"tree7"Frame 50Symbol 261 MovieClip
"tree7"Frame 50Symbol 261 MovieClip
"tree7"Frame 50Symbol 258 MovieClip
"tree7"Frame 50Symbol 261 MovieClip
"tree7"Frame 50Symbol 261 MovieClip
"tree7"Frame 50Symbol 261 MovieClip
"tree7"Frame 50Symbol 261 MovieClip
"tree7"Frame 50Symbol 261 MovieClip
"tree7"Frame 50Symbol 258 MovieClip
"tree7"Frame 50Symbol 258 MovieClip
"tree7"Frame 50Symbol 258 MovieClip
"tree7"Frame 50Symbol 258 MovieClip
"tree7"Frame 50Symbol 261 MovieClip
"tree7"Frame 50Symbol 261 MovieClip
"tree7"Frame 50Symbol 261 MovieClip
"tree7"Frame 50Symbol 258 MovieClip
"tree7"Frame 50Symbol 258 MovieClip
"tree7"Frame 50Symbol 261 MovieClip
"tree7"Frame 50Symbol 258 MovieClip
"l6canB112"Frame 50Symbol 421 MovieClip
"l6canB111"Frame 50Symbol 421 MovieClip
"l7can114"Frame 50Symbol 307 MovieClip
"l7can113"Frame 50Symbol 307 MovieClip
"l7can115"Frame 50Symbol 307 MovieClip
"l7can110"Frame 50Symbol 307 MovieClip
"l7can119"Frame 50Symbol 307 MovieClip
"ggmenu7"Frame 50Symbol 374 MovieClip
"stats8"Frame 56Symbol 255 MovieClip
"tree7"Frame 56Symbol 258 MovieClip
"tree7"Frame 56Symbol 261 MovieClip
"tree7"Frame 56Symbol 261 MovieClip
"srocket"Frame 56Symbol 440 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"l8cacg"Frame 56Symbol 290 MovieClip
"l8tower"Frame 56Symbol 281 MovieClip
"l8carl"Frame 56Symbol 295 MovieClip
"l8lacg"Frame 56Symbol 304 MovieClip
"l8lacs"Frame 56Symbol 390 MovieClip
"l8wall60"Frame 56Symbol 418 MovieClip
"l8lane"Frame 56Symbol 402 MovieClip
"l8tower"Frame 56Symbol 406 MovieClip
"l8hamb"Frame 56Symbol 413 MovieClip
"l8hasz"Frame 56Symbol 433 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"l8can1"Frame 56Symbol 307 MovieClip
"l8canB100"Frame 56Symbol 421 MovieClip
"l8can2"Frame 56Symbol 307 MovieClip
"l8can5"Frame 56Symbol 307 MovieClip
"l8can9"Frame 56Symbol 307 MovieClip
"l8can8"Frame 56Symbol 307 MovieClip
"l8can10"Frame 56Symbol 307 MovieClip
"l8can11"Frame 56Symbol 307 MovieClip
"l8canB"Frame 56Symbol 421 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"l8can21"Frame 56Symbol 307 MovieClip
"l8can27"Frame 56Symbol 307 MovieClip
"l8canB13"Frame 56Symbol 421 MovieClip
"l8canB32"Frame 56Symbol 421 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"l8tower6"Frame 56Symbol 281 MovieClip
"l8tower4"Frame 56Symbol 406 MovieClip
"l8tower7"Frame 56Symbol 406 MovieClip
"l8tower14"Frame 56Symbol 406 MovieClip
"l8tower12"Frame 56Symbol 281 MovieClip
"l8tower15"Frame 56Symbol 281 MovieClip
"l8can100"Frame 56Symbol 307 MovieClip
"l8canB3"Frame 56Symbol 421 MovieClip
"l8can22"Frame 56Symbol 307 MovieClip
"l8lacs25"Frame 56Symbol 390 MovieClip
"l8lacs24"Frame 56Symbol 390 MovieClip
"l8lacs33"Frame 56Symbol 390 MovieClip
"l8lacs29"Frame 56Symbol 390 MovieClip
"l8lacs30"Frame 56Symbol 390 MovieClip
"l8lacs31"Frame 56Symbol 390 MovieClip
"l8tower28"Frame 56Symbol 281 MovieClip
"l8tower23"Frame 56Symbol 281 MovieClip
"l8haro34"Frame 56Symbol 444 MovieClip
"l8cacg36"Frame 56Symbol 290 MovieClip
"l8cacg37"Frame 56Symbol 290 MovieClip
"l8tower38"Frame 56Symbol 406 MovieClip
"l8hamb40"Frame 56Symbol 413 MovieClip
"l8hamb39"Frame 56Symbol 413 MovieClip
"l8larl44"Frame 56Symbol 395 MovieClip
"l8larl43"Frame 56Symbol 395 MovieClip
"l8tower41"Frame 56Symbol 281 MovieClip
"l8hasz50"Frame 56Symbol 433 MovieClip
"l8hasz49"Frame 56Symbol 433 MovieClip
"l8haro45"Frame 56Symbol 444 MovieClip
"l8haro48"Frame 56Symbol 444 MovieClip
"l8tower51"Frame 56Symbol 281 MovieClip
"l8hamb52"Frame 56Symbol 413 MovieClip
"l8haro153"Frame 56Symbol 444 MovieClip
"l8carl55"Frame 56Symbol 295 MovieClip
"l8carl54"Frame 56Symbol 295 MovieClip
"l8lane56"Frame 56Symbol 402 MovieClip
"l8wall61"Frame 56Symbol 418 MovieClip
"l8wall62"Frame 56Symbol 418 MovieClip
"l8wall63"Frame 56Symbol 418 MovieClip
"l8wall"Frame 56Symbol 418 MovieClip
"l8wall64"Frame 56Symbol 418 MovieClip
"l8tower58"Frame 56Symbol 406 MovieClip
"l8tower59"Frame 56Symbol 406 MovieClip
"l8hasz67"Frame 56Symbol 433 MovieClip
"l8hasz65"Frame 56Symbol 433 MovieClip
"l8haro66"Frame 56Symbol 444 MovieClip
"l8cacg70"Frame 56Symbol 290 MovieClip
"l8cacg69"Frame 56Symbol 290 MovieClip
"l8haro89"Frame 56Symbol 444 MovieClip
"l8tower72"Frame 56Symbol 281 MovieClip
"l8tower73"Frame 56Symbol 281 MovieClip
"l8haro76"Frame 56Symbol 444 MovieClip
"l8lacg71"Frame 56Symbol 304 MovieClip
"l8lacs74"Frame 56Symbol 390 MovieClip
"l8larl78"Frame 56Symbol 395 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"tree8"Frame 56Symbol 261 MovieClip
"l8can26"Frame 56Symbol 307 MovieClip
"l8canB42"Frame 56Symbol 421 MovieClip
"l8can36"Frame 56Symbol 307 MovieClip
"l8can35"Frame 56Symbol 307 MovieClip
"l8can46"Frame 56Symbol 307 MovieClip
"l8can47"Frame 56Symbol 307 MovieClip
"l8canB68"Frame 56Symbol 421 MovieClip
"l8can57"Frame 56Symbol 307 MovieClip
"l8can75"Frame 56Symbol 307 MovieClip
"l8canB77"Frame 56Symbol 421 MovieClip
"l8canB20"Frame 56Symbol 421 MovieClip
"tree8"Frame 56Symbol 258 MovieClip
"l8canB4110"Frame 56Symbol 421 MovieClip
"l8can474"Frame 56Symbol 307 MovieClip
"l8canB4110"Frame 56Symbol 421 MovieClip
"ggmenu8"Frame 56Symbol 374 MovieClip
"stats9"Frame 62Symbol 255 MovieClip
"boss"Frame 62Symbol 450 MovieClip
"l9tower2"Frame 62Symbol 281 MovieClip
"l9haro18"Frame 62Symbol 444 MovieClip
"l9tower1"Frame 62Symbol 281 MovieClip
"l9tower9"Frame 62Symbol 406 MovieClip
"l9tower6"Frame 62Symbol 281 MovieClip
"l9canB4"Frame 62Symbol 421 MovieClip
"l9canB7"Frame 62Symbol 421 MovieClip
"l9canB10"Frame 62Symbol 421 MovieClip
"l9canB14"Frame 62Symbol 421 MovieClip
"l9canB11"Frame 62Symbol 421 MovieClip
"l9canB15"Frame 62Symbol 421 MovieClip
"l9can"Frame 62Symbol 307 MovieClip
"l9can5"Frame 62Symbol 307 MovieClip
"l9can13"Frame 62Symbol 307 MovieClip
"l9can19"Frame 62Symbol 307 MovieClip
"l9canB22"Frame 62Symbol 421 MovieClip
"l9can20"Frame 62Symbol 307 MovieClip
"l9canB28"Frame 62Symbol 421 MovieClip
"l9canB30"Frame 62Symbol 421 MovieClip
"l9can23"Frame 62Symbol 307 MovieClip
"l9canB42"Frame 62Symbol 421 MovieClip
"l9tower24"Frame 62Symbol 406 MovieClip
"l9tower25"Frame 62Symbol 406 MovieClip
"l9haro129"Frame 62Symbol 444 MovieClip
"l9tower21"Frame 62Symbol 281 MovieClip
"l9tower31"Frame 62Symbol 281 MovieClip
"l9tower38"Frame 62Symbol 281 MovieClip
"l9tower34"Frame 62Symbol 406 MovieClip
"l9canB32"Frame 62Symbol 421 MovieClip
"l9can33"Frame 62Symbol 307 MovieClip
"l9canB39"Frame 62Symbol 421 MovieClip
"l9can40"Frame 62Symbol 307 MovieClip
"l9canB41"Frame 62Symbol 421 MovieClip
"l9canB3"Frame 62Symbol 421 MovieClip
"l9wall8"Frame 62Symbol 418 MovieClip
"l9wall12"Frame 62Symbol 418 MovieClip
"l9wall17"Frame 62Symbol 418 MovieClip
"l9wall16"Frame 62Symbol 418 MovieClip
"l9wall26"Frame 62Symbol 418 MovieClip
"l9wall27"Frame 62Symbol 418 MovieClip
"l9wall37"Frame 62Symbol 418 MovieClip
"l9wall"Frame 62Symbol 418 MovieClip
"l9wall36"Frame 62Symbol 418 MovieClip
"l9wall35"Frame 62Symbol 418 MovieClip
"ggmenu9"Frame 62Symbol 374 MovieClip
"menui"Frame 72Symbol 458 Button
"loadingBar"Symbol 41 MovieClip Frame 8Symbol 39 MovieClip
"mcNotice"Symbol 104 MovieClip Frame 1Symbol 47 MovieClip
"logo2"Symbol 104 MovieClip Frame 1Symbol 63 MovieClip
"logo"Symbol 105 MovieClip Frame 1Symbol 104 MovieClip
"boom"Symbol 174 MovieClip Frame 35Symbol 173 MovieClip [explode]
"boom"Symbol 174 MovieClip Frame 40Symbol 173 MovieClip [explode]
"boom"Symbol 174 MovieClip Frame 45Symbol 173 MovieClip [explode]
"collapse"Symbol 199 MovieClip Frame 1Symbol 198 MovieClip
"body"Symbol 220 MovieClip Frame 1Symbol 204 MovieClip
"gun"Symbol 220 MovieClip Frame 1Symbol 218 MovieClip
"dulo"Symbol 220 MovieClip Frame 1Symbol 219 MovieClip
"m_hp"Symbol 255 MovieClip Frame 1Symbol 247 MovieClip
"m_lv"Symbol 255 MovieClip Frame 1Symbol 254 MovieClip
"gun"Symbol 281 MovieClip Frame 1Symbol 280 MovieClip
"body"Symbol 290 MovieClip Frame 1Symbol 284 MovieClip
"gun"Symbol 290 MovieClip Frame 1Symbol 289 MovieClip
"body"Symbol 295 MovieClip Frame 1Symbol 284 MovieClip
"gun"Symbol 295 MovieClip Frame 1Symbol 294 MovieClip
"gun"Symbol 304 MovieClip Frame 1Symbol 303 MovieClip
"medals"Symbol 339 MovieClip Frame 1Symbol 338 MovieClip
"award"Symbol 351 MovieClip Frame 1Symbol 339 MovieClip
"stat"Symbol 374 MovieClip Frame 1Symbol 351 MovieClip
"menui"Symbol 374 MovieClip Frame 1Symbol 355 Button
"butl"Symbol 374 MovieClip Frame 1Symbol 368 MovieClip
"lvl"Symbol 384 MovieClip Frame 1Symbol 383 EditableText
"gun"Symbol 390 MovieClip Frame 1Symbol 389 MovieClip
"gun"Symbol 395 MovieClip Frame 1Symbol 394 MovieClip
"gun"Symbol 402 MovieClip Frame 1Symbol 401 MovieClip
"gun"Symbol 406 MovieClip Frame 1Symbol 405 MovieClip
"gun"Symbol 413 MovieClip Frame 1Symbol 412 MovieClip
"gun"Symbol 433 MovieClip Frame 1Symbol 432 MovieClip
"gun"Symbol 444 MovieClip Frame 1Symbol 443 MovieClip
"rok2"Symbol 450 MovieClip Frame 1Symbol 394 MovieClip
"rok1"Symbol 450 MovieClip Frame 1Symbol 394 MovieClip
"cg2"Symbol 450 MovieClip Frame 1Symbol 303 MovieClip
"cg1"Symbol 450 MovieClip Frame 1Symbol 303 MovieClip
"gun2"Symbol 450 MovieClip Frame 1Symbol 449 MovieClip
"gun1"Symbol 450 MovieClip Frame 1Symbol 449 MovieClip
"bg"Symbol 450 MovieClip Frame 1Symbol 412 MovieClip
"gun"Symbol 450 MovieClip Frame 1Symbol 389 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "awarding"
ExportAssets (56)Timeline Frame 1Symbol 2 as "boom_s"
ExportAssets (56)Timeline Frame 1Symbol 3 as "cg_s"
ExportAssets (56)Timeline Frame 1Symbol 4 as "endsound"
ExportAssets (56)Timeline Frame 1Symbol 5 as "finalstagesound"
ExportAssets (56)Timeline Frame 1Symbol 6 as "levelsound"
ExportAssets (56)Timeline Frame 1Symbol 7 as "negativefinish"
ExportAssets (56)Timeline Frame 1Symbol 8 as "rl_s"
ExportAssets (56)Timeline Frame 1Symbol 9 as "back_s"
ExportAssets (56)Timeline Frame 1Symbol 10 as "ss_s"
ExportAssets (56)Timeline Frame 1Symbol 11 as "frontsound"
ExportAssets (56)Timeline Frame 8Symbol 173 as "explode"
ExportAssets (56)Timeline Frame 14Symbol 288 as "s_minigunshot"
ExportAssets (56)Timeline Frame 14Symbol 293 as "s_rocket"
Tag 0x0FF (255)Timeline Frame 11 bytes "."

Labels

"Loader"Frame 1
"Menu"Frame 8
"level1"Frame 14
"level2"Frame 20
"level3"Frame 26
"level4"Frame 32
"level5"Frame 38
"level6"Frame 44
"level7"Frame 50
"level8"Frame 56
"level9"Frame 62
"re"Frame 68
"scoreboard"Frame 72
"loadingOk"Symbol 41 MovieClip Frame 13
"loading_ok"Symbol 43 MovieClip Frame 166
"loop"Symbol 104 MovieClip Frame 3
"l1"Symbol 338 MovieClip Frame 2
"l2"Symbol 338 MovieClip Frame 111
"level2stop"Symbol 338 MovieClip Frame 205
"l3"Symbol 338 MovieClip Frame 206
"l4"Symbol 338 MovieClip Frame 321
"l5"Symbol 338 MovieClip Frame 436
"l6"Symbol 338 MovieClip Frame 526
"l7"Symbol 338 MovieClip Frame 616
"z1"Symbol 443 MovieClip Frame 2
"z2"Symbol 443 MovieClip Frame 12

Dynamic Text Variables

enemysurvSymbol 314 EditableText"0"
enemykillSymbol 315 EditableText"0"
shothitSymbol 318 EditableText"0"
shottotalSymbol 319 EditableText"0"
accuSymbol 321 EditableText"0"
playerSymbol 356 EditableText"no1访客"
gamescoreSymbol 370 EditableText"0"




https://swfchan.com/54/269241/info.shtml
Created: 22/11 -2026 07:39:38 Last modified: 22/11 -2026 07:39:38 Server time: 29/11 -2026 13:27:50