STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/94820032?noj=FRM94820032-22DC" width="1" height="1"></div>

Singularity.swf

This is the info page for
Flash #48488

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


Text
Singularity

The Singularity

Start

Start

Controls

Controls

Tips & Tricks

Tips & Tricks

•When enemies are around, always be moving or making blocks  to protect yourself
•Placing blocks directly underneath, over, or to the side of yourself will give you an extra
boost in that direction
•You can do a backfip by first running and then jumping in the opposite direction.  Great for
avoiding attacks from behind
•Health is only refilled between levels.  Be careful
•MPORTANT: Make sure you have a good computer.  This game is pretty  CPU intensive

Back

W                      Jump
A                       Move Left
D                       Move Right
Mouse (tap)      Shoot
Mouse (hold)    Make Blocks

Use the WASD keys to
move and jump

Gather speed to  jump
long distances

Tap the Left Mouse Button
to shoot

Hold down the Left Mouse
Button to make blocks

If you create too many blocks, some blocks will
begin to disappear and give off  red energy.  Too
much of this will prevent  you from making new
blocks

Blocks destroyed by enemies or
your gun will only give off green
energy which won't stop you from
making new blocks

Blocks can be more than
just platforms.   Be
creative!

Keep track of your Health

Good Luck!

The City

Energy Vampire

End City

The Beach

Incarnation

To be continued...

Game Over

ActionScript [AS1/AS2]

Frame 2
var slide = false; _global.makeblocks = "off"; var drop = -10; _global.nomake = false; _global.knockdown = "off"; var l = 0; _root.fps = 18; _global.health = 25; _global.encount = 0; var r = 0; var ox = 0; var oy = 0; var ldown = false; _global.getup = false; _global.blklimit = 65; var newx = _root.area._x; var newy = _root.area._y; _global.i = 1; _global.health = 25; stop(); _global.cooldown = 0; _global.imbalance = 0; _global.mn = 200; var jfr = 0; _global.jk = 450;
Instance of Symbol 34 MovieClip in Frame 2
onClipEvent (load) { if (gomen == true) { this.gotoAndPlay(39); } }
Frame 5
function checkCollision(p_clip1, p_clip2) { _global.yenter = null; _global.yinter = null; var _local5 = p_clip1.getBounds(_root); var _local4 = p_clip2.getBounds(_root); if (((_local5.xMax < _local4.xMin) || (_local4.xMax < _local5.xMin)) || ((_local5.yMax < _local4.yMin) || (_local4.yMax < _local5.yMin))) { return(false); } var _local3 = {}; _local3.xMin = Math.max(_local5.xMin, _local4.xMin); _local3.xMax = Math.min(_local5.xMax, _local4.xMax); _local3.yMin = Math.max(_local5.yMin, _local4.yMin); _local3.yMax = Math.min(_local5.yMax, _local4.yMax); var _local8 = new flash.display.BitmapData(_local3.xMax - _local3.xMin, _local3.yMax - _local3.yMin, false); var _local6 = p_clip1.transform.concatenatedMatrix; _local6.tx = _local6.tx - _local3.xMin; _local6.ty = _local6.ty - _local3.yMin; _local8.draw(p_clip1, _local6, new flash.geom.ColorTransform(1, 1, 1, 1, 255, -255, -255, 255)); _local6 = p_clip2.transform.concatenatedMatrix; _local6.tx = _local6.tx - _local3.xMin; _local6.ty = _local6.ty - _local3.yMin; _local8.draw(p_clip2, _local6, new flash.geom.ColorTransform(1, 1, 1, 1, 255, 255, 255, 255), "difference"); var _local7 = _local8.getColorBoundsRect(4294967295, 4278255615); if (_local7.width == 0) { return(false); } _local7.x = _local7.x + _local3.xMin; _local7.y = _local7.y + _local3.yMin; if (_local7) { _global.yenter = _local7.width; _global.yinter = _local7.height; return(true); } return(false); } function spawnbullet() { duplicateMovieClip (_root.area2.blt, "en" + mn, mn); _global.cooldown = 5; _global.shoot = true; ox = _root.beamguide._x; oy = _root.beamguide._y; _root.beamguide._x = _root._xmouse; _root.beamguide._y = _root._ymouse; _global.ll = (_root.ply._x + armx) - _root.beamguide._x; _global.hl = (_root.ply._y + army) - _root.beamguide._y; _root.area2["en" + mn]._x = ((-_root.area2._x) + _root.ply._x) + armx; _root.area2["en" + mn]._y = ((-_root.area2._y) + _root.ply._y) + army; _root.area2["en" + mn]._rotation = ((Math.atan2(hl, ll) * 180) / Math.PI) + 90; _root.beamguide._x = ox; _root.beamguide._y = oy; _global.mn = _global.mn + 1; if (mn == 320) { _global.mn = 200; } } function spawnenbullet(dx, dy, rot, type) { if (type == null) { type = "enblt"; } duplicateMovieClip (_root.area3[type], "en" + mn, mn); _root.area3["en" + mn]._x = dx; _root.area3["en" + mn]._y = dy - 1; _root.area3["en" + mn]._rotation = rot; _global.mn = _global.mn + 1; if (mn == 320) { _global.mn = 200; } } function spawnenergy(dx, dy, num) { rbs = 0; while (rbs < num) { duplicateMovieClip (_root.area4.energy, "en" + jk, jk); _root.area4["en" + jk]._x = dx; _root.area4["en" + jk]._y = dy; _root.area4["en" + jk]._rotation = Math.random() * 360; _root.area4["en" + jk]._alpha = 100; _global.jk = _global.jk + 1; if (jk == 680) { _global.jk = 450; } rbs++; } } function spawngenergy(dx, dy, num) { rbs = 0; while (rbs < num) { duplicateMovieClip (_root.area4.genergy, "en" + jk, jk); _root.area4["en" + jk]._x = dx; _root.area4["en" + jk]._y = dy; _root.area4["en" + jk]._rotation = Math.random() * 360; _root.area4["en" + jk]._alpha = 100; _global.jk = _global.jk + 1; if (jk == 680) { _global.jk = 450; } rbs++; } } function spawnblock(tx, ty) { if (imbalance < 68) { lll = 0; while (lll < blklimit) { if (_root.area["en" + lll]._x == undefined) { _global.i = lll; lll = blklimit; } lll++; } if (_root.area["en" + i]._x != undefined) { _root.spawnenergy(_root.area["en" + i]._x, _root.area["en" + i]._y, 1); } duplicateMovieClip (_root.area.blk, "en" + i, i); _root.area["en" + i]._x = tx; _root.area["en" + i]._y = ty; if ((((_root.checkCollision(_root.area["en" + i], _root.ply.body.toohigh) or _root.checkCollision(_root.area["en" + i], _root.ply.body.middle)) or _root.checkCollision(_root.area["en" + i], _root.area3)) or _root.checkCollision(_root.area["en" + i], _root.area2)) or _root.checkCollision(_root.area["en" + i], _root.area.ground)) { _root.beamguide.gotoAndStop(1); removeMovieClip(_root.area["en" + i]); } else { if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooleft)) { if (side2 == "left") { removeMovieClip(_root.area["en" + i]); } else { var _local4 = yenter + 1.6; var _local3 = _root.area._x; _global.run = "true"; if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooright.ini) == false) { _root.area._x = _root.area._x - _local4; if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooleft)) { _root.area._x = _root.area._x - (yenter + 1); } if (_root.checkCollision(_root.area, _root.ply.body.tooright)) { _root.area._x = _root.area._x + (yenter + 1); if (_root.checkCollision(_root.area, _root.ply.body.tooright) or _root.checkCollision(_root.area, _root.ply.body.tooleft)) { _root.area._x = _local3; _global.run = false; removeMovieClip(_root.area["en" + i]); } } } else { removeMovieClip(_root.area["en" + i]); _global.i = _global.i - 1; } } } else if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooright)) { if (side2 == "right") { removeMovieClip(_root.area["en" + i]); } else { var _local4 = yenter + 1.6; var _local3 = _root.area._x; _global.run = "true"; if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooleft.ini) == false) { _root.area._x = _root.area._x + _local4; if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooright)) { _root.area._x = _root.area._x + (yenter + 1); } if (_root.checkCollision(_root.area, _root.ply.body.tooleft)) { _root.area._x = _root.area._x - (yenter + 1); if (_root.checkCollision(_root.area, _root.ply.body.tooleft) or _root.checkCollision(_root.area, _root.ply.body.tooright)) { _root.area._x = _local3; removeMovieClip(_root.area["en" + i]); } } } else { removeMovieClip(_root.area["en" + i]); _global.i = _global.i - 1; } } } if ((_root.checkCollision(_root.area, _root.ply.body.toohigh) or _root.checkCollision(_root.area["en" + i], _root.ply.body.toolow)) and _root.checkCollision(_root.area, _root.ply.body.cantjump)) { removeMovieClip(_root.area["en" + i]); } if ((_root.checkCollision(_root.area["en" + i], _root.ply.toolow) and _root.checkCollision(_root.area, _root.ply.body.cantjump)) or _root.checkCollision(_root.area["en" + i], _root.ply.body.cantjump.noblocks)) { removeMovieClip(_root.area["en" + i]); } } if (_root.area["en" + i]._x != undefined) { _root.beamguide.gotoAndStop(2); _root.beamguide._x = _root._xmouse; _root.beamguide._y = _root._ymouse; _root.beamguide._rotation = 0; _global.ll = (_root.ply._x + armx) - _root.beamguide._x; _global.hl = (_root.ply._y + army) - _root.beamguide._y; _root.beamguide._width = Math.sqrt((hl * hl) + (ll * ll)) - 40; _root.beamguide._rotation = (Math.atan2(hl, ll) * 180) / Math.PI; _root.beamguide._visible = true; _root.beamguide._alpha = 100; } } _global.i = _global.i + 1; if (i > blklimit) { _global.i = 1; } } function checker(x) { if (Key.isDown(17)) { trace(x); } } function plyaction() { if (health <= 0) { _global.knockdown = "on"; _root.fps = 9; } if (_root.ply._alpha < 100) { _root.ply._alpha = _root.ply._alpha + 5; if (_root.ply._alpha > 100) { _root.ply._alpha = 100; } } if (_root.checkCollision(_root.ply.body.toolow, _root.area) == false) { if (drop > -35) { drop = drop - 3.2; } if (_root.checkCollision(_root.area, _root.ply.body.canjump) == false) { var _local3 = false; if ((_root.ply._currentframe != 3) and (_root.ply._currentframe != 5)) { _global.jumping = false; } } else { var _local3 = true; } } else { if (drop < 0) { drop = 0; } var _local3 = true; } if (jumping == true) { _global.jumping = false; drop = 38; if (side2 == "left") { l = l + 2; } else { r = r + 2; } var _local3 = false; } if (((jumping != "begin") and (_local3 == false)) and (knockdown == "off")) { slide = false; if (drop <= -4) { if (side2 == "right") { _root.ply.gotoAndStop(4); } else { _root.ply.gotoAndStop(6); } } } if ((((((_local3 == true) and (drop == 0)) and (Math.abs(r - l) > 1)) and (slide == false)) and (knockdown == "off")) and (jumping != "begin")) { if (side2 == "left") { _root.ply.gotoAndStop(2); } else { _root.ply.gotoAndStop(1); } } _root.area._y = _root.area._y + (drop / 2.2); ldown = false; if (_root.checkCollision(_root.ply.body.toolow.ini, _root.area)) { _root.area._y = _root.area._y + (yinter + 1); if (_root.checkCollision(_root.ply.body.toolow.ini, _root.area)) { _root.area._y = _root.area._y + (yinter + 1); } } if (((((knockdown == "on") and (_root.ply._currentframe != 13)) and (_root.ply._currentframe != 14)) and (_root.ply._currentframe != 15)) and (_root.ply._currentframe != 16)) { if (_root._currentframe == 8) { _global.health = _global.health - 5; } if (side2 == "left") { _root.ply.gotoAndStop(14); drop = 24; var _local3 = false; r = 36; l = 0; } else { drop = 24; var _local3 = false; l = 36; r = 0; _root.ply.gotoAndStop(13); } _root.area._y = _root.area._y + 10; } if (((_root.ply._currentframe == 14) or (_root.ply._currentframe == 13)) and (_local3 == true)) { if (side2 == "left") { _root.ply.gotoAndStop(16); } else { _root.ply.gotoAndStop(15); } } if (jumping == false) { if (_root.checkCollision(_root.ply.body.tooright, _root.area) == false) { if (Key.isDown(68) and (knockdown == "off")) { ldown = true; if (r < 11) { if (r < 1.5) { r = r + 1.5; } r = r + 0.5; } if ((_local3 == true) and (drop < 5)) { if ((l >= r) and (((l - r) > 7) or (slide == true))) { _root.ply.gotoAndStop(7); slide = true; } else { _root.ply.gotoAndStop(1); if (slide == true) { r = 1; slide = false; l = 0; } } } else if ((drop <= -15) or ((((((drop > 0) and (_root.ply._currentframe != 3)) and (_root.ply._currentframe != 5)) and (_root.ply._currentframe != 9)) and (_root.ply._currentframe != 10)) and (getup == false))) { _root.ply.gotoAndStop(4); _global.side2 = "right"; } } else if (r > 1.1) { r = r / 1.08; } else { r = 0; } } else { r = 0; } if ((r > 14) and (_local3 == true)) { r = r / 1.2; } if (_root.checkCollision(_root.ply.body.tooleft, _root.area) == false) { if ((Key.isDown(65) and (ldown == false)) and (knockdown == "off")) { if (l < 11) { if (l < 1.5) { l = l + 1.5; } l = l + 0.5; } if ((_local3 == true) and (drop < 5)) { if ((r >= l) and (((r - l) > 7) or (slide == true))) { _root.ply.gotoAndStop(8); slide = true; } else { _root.ply.gotoAndStop(2); if (slide == true) { r = 0; slide = false; l = 1; } } } else if ((drop <= -15) or ((((((drop > 0) and (_root.ply._currentframe != 5)) and (_root.ply._currentframe != 3)) and (_root.ply._currentframe != 9)) and (_root.ply._currentframe != 10)) and (getup == false))) { _root.ply.gotoAndStop(6); _global.side2 = "left"; } } else if (l > 1.1) { l = l / 1.08; } else { l = 0; } } else { l = 0; } } if ((l > 14) and (_local3 == true)) { l = l / 1.2; } _root.area._x = _root.area._x + l; _root.area._x = _root.area._x - r; if ((((((((_local3 == true) and (r < 2)) and (l < 2)) and (jumping == false)) and (drop < 1)) and (drop > -1)) and (slide == false)) and (getup == false)) { if (knockdown == "off") { if (side2 == "left") { _root.ply.gotoAndStop(12); } else { _root.ply.gotoAndStop(11); } } } if (_root.checkCollision(_root.ply.body.toohigh.hcontact, _root.area)) { _root.checkCollision(_root.ply.body.toohigh, _root.area); _root.area._y = _root.area._y - (yinter + 1); if (_root.checkCollision(_root.ply.body.toohigh.hcontact, _root.area)) { if (yenter > 4) { _root.checkCollision(_root.ply.body.toohigh, _root.area); _root.area._y = _root.area._y - (yinter + 1); } } if (drop >= 0) { drop = drop * -0.5; } } if (_root.checkCollision(_root.ply.body.toolow.ini, _root.area)) { _root.area._y = _root.area._y + (yinter + 1); if (_root.checkCollision(_root.ply.body.toolow.ini, _root.area)) { _root.area._y = _root.area._y + (yinter + 1); } } if (_root.checkCollision(_root.ply.body.tooright.ini, _root.area)) { _root.area._x = _root.area._x + yenter; r = 0; if (_root.checkCollision(_root.ply.body.tooright.ini, _root.area)) { _root.area._x = _root.area._x + (yenter + 1); } } if (_root.checkCollision(_root.ply.body.tooleft.ini, _root.area)) { _root.area._x = _root.area._x - yenter; l = 0; if (_root.checkCollision(_root.ply.body.tooleft.ini, _root.area)) { _root.area._x = _root.area._x - (yenter + 1); } } if (_root.checkCollision(_root.ply.body.toohigh.hcontact, _root.area) == false) { newy = _root.area._y; newx = _root.area._x; } else { r = 0; _root.area._x = newx; _root.area._y = newy; drop = 0; l = 0; } if (((((((_local3 == true) and (knockdown == "off")) and (_root.checkCollision(_root.ply.body.cantjump, _root.area) == false)) and (_root.ply._currentframe != 3)) and (_root.ply._currentframe != 5)) and (_root.ply._currentframe != 9)) and (_root.ply._currentframe != 10)) { if (Key.isDown(87)) { _global.jumping = "begin"; if (side2 == "right") { if (slide == true) { _root.ply.gotoAndStop(9); drop = 54; l = 18; slide = false; _global.side2 = "left"; } else { _root.ply.gotoAndStop(3); } } else if (slide == true) { _root.ply.gotoAndStop(10); drop = 54; r = 18; slide = false; _global.side2 = "right"; } else { _root.ply.gotoAndStop(5); } } } _global.bldrop = drop; _global.blspd = r - l; _root.area2._x = _root.area._x; _root.area3._x = _root.area._x; _root.area2._y = _root.area._y; _root.area3._y = _root.area._y; _root.area4._x = _root.area._x; _root.area4._y = _root.area._y; _root.area5._x = _root.area._x; _root.area5._y = _root.area._y; } function araction(nam) { if (_root.area3[nam].destroy == "on") { removeMovieClip(_root.area3[nam]); } else if (_root.area3[nam].destroy == "ready") { _root.area3[nam].destroy = "ready2"; } else if (_root.area3[nam].destroy == "ready2") { _root.area3[nam].destroy = "ready3"; } else if (_root.area3[nam].destroy == "ready3") { _root.area3[nam].destroy = "on"; } _root.area3[nam].timer = _root.area3[nam].timer - 1; if (_root.area3[nam].timer == 0) { removeMovieClip(_root.area3[nam]); _root.area3[nam].timer = 2; } _global.rot = _root.area3[nam]._rotation; if (rot < 0) { _global.rot = _global.rot + 360; } if (_root.area3[nam].destroy == "off") { _root.area3[nam]._x = _root.area3[nam]._x - (Math.cos((_root.area3[nam]._rotation * Math.PI) / 180) * 20); _root.area3[nam]._y = _root.area3[nam]._y - (Math.sin((_root.area3[nam]._rotation * Math.PI) / 180) * 20); } if (_root.checkCollision(_root.area, _root.area3[nam])) { _global.yenter = _global.yenter + 2; _global.yinter = _global.yinter + 2; _root.area3[nam].destroy = "ready"; var _local4 = Math.sqrt((yenter * yenter) + (yinter * yinter)); _root.area3[nam]._x = _root.area3[nam]._x + ((_local4 + 6.5) * Math.cos((_root.area3[nam]._rotation * Math.PI) / 180)); _root.area3[nam]._y = _root.area3[nam]._y + ((_local4 + 6.5) * Math.sin((_root.area3[nam]._rotation * Math.PI) / 180)); if (_root.checkCollision(_root.area, _root.area3[nam])) { _global.yenter = _global.yenter + 2; _global.yinter = _global.yinter + 2; _local4 = Math.sqrt((yenter * yenter) + (yinter * yinter)); _root.area3[nam]._x = _root.area3[nam]._x + ((_local4 + 6.5) * Math.cos((_root.area3[nam]._rotation * Math.PI) / 180)); _root.area3[nam]._y = _root.area3[nam]._y + ((_local4 + 6.5) * Math.sin((_root.area3[nam]._rotation * Math.PI) / 180)); if (_root.checkCollision(_root.area, _root.area3[nam])) { _global.yenter = _global.yenter + 2; _global.yinter = _global.yinter + 2; _local4 = Math.sqrt((yenter * yenter) + (yinter * yinter)); _root.area3[nam]._x = _root.area3[nam]._x + ((_local4 + 6.5) * Math.cos((_root.area3[nam]._rotation * Math.PI) / 180)); _root.area3[nam]._y = _root.area3[nam]._y + ((_local4 + 6.5) * Math.sin((_root.area3[nam]._rotation * Math.PI) / 180)); } } } if (_root.area3[nam].destroy == "off") { if (_root.checkCollision(_root.ply.bod, _root.area3[nam])) { _root.area3[nam].destroy = "ready"; _global.health = _global.health - 1; _root.area3[nam].gotoAndStop(2); } } } function bowaction(nam) { if (_root.area3[nam]._currentframe != 41) { if ((_root.area3[nam].health <= 0) and (_root.area3[nam]._currentframe < 41)) { _root.spawnenergy(_root.area3[nam]._x + ((_root.area3[nam]._currentframe * 6) * Math.cos((_root.area3[nam]._rotation * Math.PI) / 180)), _root.area3[nam]._y + ((_root.area3[nam]._currentframe * 6) * Math.sin((_root.area3[nam]._rotation * Math.PI) / 180)), 1); if (_root.area3[nam]._currentframe < 29) { _global.encount = _global.encount - 1; _global.blklimit = _global.blklimit + 1; _root.area3[nam].chase = false; _root.area3[nam].gotoAndPlay(29); } } else { if (_root.area3[nam].hurt == 0) { if (_root.checkCollision(_root.area3[nam], _root.area2)) { if (_root.area3[nam].chase == false) { _root.area3[nam].play(); _root.area3[nam].chase = true; } if (((-1 * _root.area2._x) + _root.ply._x) > _root.area3[nam]._x) { _root.area3[nam]._x = _root.area3[nam]._x - 7; } else { _root.area3[nam]._x = _root.area3[nam]._x + 7; } if (((-1 * _root.area2._y) + _root.ply._y) > _root.area3[nam]._y) { _root.area3[nam]._y = _root.area3[nam]._y - 5; } else { _root.area3[nam]._y = _root.area3[nam]._y + 5; } if ((_root.checkCollision(_root.area3[nam].bod, _root.area2) and (_root.area3[nam].hurt == 0)) and (health > 0)) { _root.area3[nam].hurt = 15; _root.area3[nam].bod.play(); _root.area3[nam].health--; } } } if (_root.area3[nam].hurt > 0) { _root.area3[nam].hurt--; _root.area3[nam].bod.play(); } else { _root.area3[nam].bod.gotoAndStop(1); } if ((_root.area3[nam].chase == true) and (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) * ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x)))) < 1500)) { if (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 15) - _root.area3[nam]._x) < 4) { _root.area3[nam]._x = ((-1 * _root.area2._x) + _root.ply._x) + 15; } else if ((((-1 * _root.area2._x) + _root.ply._x) + 12) > _root.area3[nam]._x) { _root.area3[nam]._x = _root.area3[nam]._x + 5; } else { _root.area3[nam]._x = _root.area3[nam]._x - 5; } if (_root.checkCollision(_root.area3[nam].bod, _root.area.ground)) { _root.area3[nam]._x = _root.area3[nam].oldx; } else { _root.area3[nam].oldx = _root.area3[nam]._x; } if (Math.abs((((-1 * _root.area2._y) + _root.ply._y) + 30) - _root.area3[nam]._y) < 3) { _root.area3[nam]._y = ((-1 * _root.area2._y) + _root.ply._y) + 30; } else if ((((-1 * _root.area2._y) + _root.ply._y) + 30) > _root.area3[nam]._y) { _root.area3[nam]._y = _root.area3[nam]._y + 4; } else { _root.area3[nam]._y = _root.area3[nam]._y - 4; } if (_root.checkCollision(_root.area3[nam].bod, _root.area.ground)) { _root.area3[nam]._y = _root.area3[nam].oldy; } else { _root.area3[nam].oldy = _root.area3[nam]._y; } var _local4 = (-1 * Math.abs((Math.atan2(((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) - 30, ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) - 12) * 180) / Math.PI)) - 0; if (Math.abs(_local4 - _root.area3[nam]._rotation) < 8) { _root.area3[nam]._rotation = _local4; } else if (_local4 > _root.area3[nam]._rotation) { _root.area3[nam]._rotation = _root.area3[nam]._rotation + 8; } else { _root.area3[nam]._rotation = _root.area3[nam]._rotation - 8; } if (_root.checkCollision(_root.area3[nam].bod, _root.area.ground)) { _root.area3[nam]._rotation = oldrot; } else { oldrot = _root.area3[nam]._rotation; } if (_root.area3[nam].fire == true) { _root.spawnenbullet(_root.area3[nam]._x + (31.6 * Math.cos((_root.area3[nam]._rotation * Math.PI) / 180)), _root.area3[nam]._y + (31.4 * Math.sin((_root.area3[nam]._rotation * Math.PI) / 180)), _root.area3[nam]._rotation, "enar"); _root.area3[nam].fire = false; } } else { _root.area3[nam].stop(); if (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) * ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x)))) < 200) { _root.area3[nam].chase = true; _root.area3[nam].play(); } } } } } function blkaction(nam) { if (_root.area[nam].destroy != 0) { if (_root.checkCollision(_root.area[nam], _root.ply.body)) { removeMovieClip(_root.area[nam]); } } if (_root.area[nam].destroy == 1) { _root.area[nam].destroy = 2; _root.area[nam].cd = 13; _root.spawngenergy(_root.area[nam]._x, _root.area[nam]._y, 1); } if (_root.area[nam].destroy == 2) { _root.area[nam].cd--; } else if (bstage == 10) { _root.area[nam].destroy = 1; _root.area[nam].gotoAndPlay(2); } else if (_root.checkCollision(_root.area[nam], _root.area2)) { _root.area[nam].destroy = 1; _root.area[nam].gotoAndPlay(2); } else if (_root.checkCollision(_root.area[nam], _root.area3)) { _root.area[nam].destroy = 1; _root.area[nam].gotoAndPlay(2); } if ((_root.area[nam].destroy == 2) and (_root.area[nam].cd == 0)) { removeMovieClip(_root.area[nam]); } } function beamaction() { if (_root.beamguide._alpha <= 0) { _root.beamguide._alpha = 100; _root.beamguide._visible = false; } if (_root.beamguide._visible == true) { _root.beamguide._alpha = _root.beamguide._alpha - 10; if (makeblocks == "on") { _root.beamguide.gotoAndStop(2); } else { _root.beamguide.gotoAndStop(1); } _root.beamguide._xscale = _root.beamguide._xscale / 1.1; } else { _root.beamguide.gotoAndStop(3); } } function solaction(nam) { if (_root.area3[nam].health > -55) { _root.area3[nam].shoot = true; if (_root.area3[nam].health <= 0) { if (_root.area3[nam].cooldown == 0) { _root.spawnenergy(_root.area3[nam]._x, _root.area3[nam]._y, 1); _root.area3[nam].cooldown = 3; } else { _root.area3[nam].cooldown--; } if (_root.area3[nam].health == 0) { _global.blklimit = _global.blklimit + 1; _root.area3[nam].chase = "off"; _root.area3[nam].shoot = false; if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(6); } else { _root.area3[nam].gotoAndStop(7); } } _root.area3[nam].health--; } else { if (_root.area3[nam].hurt == 0) { if (_root.checkCollision(_root.area3[nam], _root.area2)) { if (_root.area3[nam].chase == "off") { _root.area3[nam].play(); _root.area3[nam].chase = "on"; } if ((_root.checkCollision(_root.area3[nam].bod, _root.area2) and (_root.area3[nam].hurt == 0)) and (_root.area3[nam].health > 0)) { _root.area3[nam].hurt = 11; _root.area3[nam].health--; } } } if ((_root.area3[nam].chase == "on") and (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) * ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x)))) < 460)) { if (_root.area3[nam].hurt > 0) { _root.area3[nam].hurt--; if (_root.area3[nam].hurt == 10) { if ((((-1 * _root.area3._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(9); } else { _root.area3[nam].gotoAndStop(8); } } } else { if (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 7) - _root.area3[nam]._x) < 150) { if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { if (_root.area3[nam]._currentframe == 4) { _root.area3[nam].gunprog = 1; } _root.area3[nam].gotoAndStop(5); } else { if (_root.area3[nam]._currentframe == 5) { _root.area3[nam].gunprog = 1; } _root.area3[nam].gotoAndStop(4); } } else if ((((_root.area3[nam]._currentframe != 4) and (_root.area3[nam]._currentframe != 5)) or (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 7) - _root.area3[nam]._x) > 230)) and (_root.area3[nam].hit <= 0)) { if ((((-1 * _root.area2._x) + _root.ply._x) + 12) > _root.area3[nam]._x) { _root.area3[nam].shoot = false; _root.area3[nam]._x = _root.area3[nam]._x + 6; _root.area3[nam].gotoAndStop(2); } else { _root.area3[nam].shoot = false; _root.area3[nam]._x = _root.area3[nam]._x - 6; _root.area3[nam].gotoAndStop(3); } } if ((_root.checkCollision(_root.area3[nam].bod, _root.area) or (_root.checkCollision(_root.area3[nam].grd, _root.area.ground) == false)) or (yenter < 45)) { _root.area3[nam]._x = _root.area3[nam].oldx; _root.area3[nam].hit = 6; _root.area3[nam].shoot = true; if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { if (_root.area3[nam]._currentframe == 4) { _root.area3[nam].gunprog = 1; } _root.area3[nam].gotoAndStop(5); _root.area3[nam].shoot = true; } else { if (_root.area3[nam]._currentframe == 5) { _root.area3[nam].gunprog = 1; } _root.area3[nam].gotoAndStop(4); _root.area3[nam].shoot = true; } } else { _root.area3[nam].hit--; if (_root.area3[nam].hit <= 0) { _root.area3[nam].oldx = _root.area3[nam]._x; } else { _root.area3[nam].shoot = true; _root.area3[nam]._x = _root.area3[nam].oldx; } } } } else { _root.area3[nam].stop(); _root.area3[nam].gotoAndStop(1); if (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + ((((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) + 5) * (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) + 5)))) < 250) { _root.area3[nam].chase = "on"; _root.area3[nam].play(); } } } if (_root.area3[nam].shoot == true) { _root.area3[nam].gunprog = _root.area3[nam].gunprog + 1; } else { _root.area3[nam].gunprog = 1; } } } function gaction(nam) { if (_root.area3[nam].health > -55) { if (_root.area3[nam].health <= 0) { if (_root.area3[nam].cooldown == 0) { _root.spawnenergy(_root.area3[nam]._x, _root.area3[nam]._y, 1); _root.area3[nam].cooldown = 3; } else { _root.area3[nam].cooldown--; } if (_root.area3[nam].health == 0) { _global.blklimit = _global.blklimit + 1; _root.area3[nam].chase = "off"; shoot = false; if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(6); } else { _root.area3[nam].gotoAndStop(7); } } _root.area3[nam].health--; } else if ((_root.area3[nam].chase == "on") and (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) * ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x)))) < 700)) { if (_root.area3[nam]._currentframe != 1) { if (_root.area3[nam].hurt == 0) { if (_root.checkCollision(_root.area3[nam].body, _root.area2) and (_root.area3[nam].health > 0)) { _root.area3[nam].hurt = 10; _root.area3[nam].health--; } } if (_root.area3[nam].hurt > 0) { _root.area3[nam].hurt--; _root.area3[nam].bod.gotoAndStop(2); if (_root.area3[nam].hurt == 9) { if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(8); } else { _root.area3[nam].gotoAndStop(9); } } } else { _root.area3[nam].bod.gotoAndStop(1); if ((_root.area3[nam]._currentframe != 4) and (_root.area3[nam]._currentframe != 5)) { if (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 7) - _root.area3[nam]._x) < 170) { if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(5); } else { _root.area3[nam].gotoAndStop(4); } } else if ((((-1 * _root.area2._x) + _root.ply._x) + 12) > _root.area3[nam]._x) { _root.area3[nam]._x = _root.area3[nam]._x + 7.5; _root.area3[nam].gotoAndStop(2); } else { _root.area3[nam]._x = _root.area3[nam]._x - 7.5; _root.area3[nam].gotoAndStop(3); } if ((_root.checkCollision(_root.area3[nam].bod, _root.area) or (_root.checkCollision(_root.area3[nam].grd, _root.area.ground) == false)) or (yenter < 45)) { _root.area3[nam]._x = _root.area3[nam].oldx; if ((((-1 * _root.area3._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(5); } else { _root.area3[nam].gotoAndStop(4); } } else { _root.area3[nam].oldx = _root.area3[nam]._x; } } } } } else { _root.area3[nam].stop(); if (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + ((((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) + 5) * (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) + 5)))) < 250) { _root.area3[nam].chase = "on"; _root.area3[nam].body.play(); } } } } _global.destroyheadblocks = "off"; var slide = false; _global.makeblocks = "off"; var drop = -10; _global.nomake = false; _global.knockdown = "off"; var l = 0; _root.fps = 18; _global.health = 25; _global.encount = 0; var r = 0; var ox = 0; var oy = 0; var ldown = false; _root._quality = "MEDIUM"; _global.getup = false; _global.blklimit = 65; var newx = _root.area._x; var newy = _root.area._y; _global.i = 1; _global.health = 25; stop(); _global.plytype = "basic"; _global.cooldown = 0; _global.imbalance = 0; _global.mn = 200; var jfr = 0; _global.jk = 450; _root.stop();
Instance of Symbol 43 MovieClip in Frame 5
onClipEvent (load) { this.opaqueBackground = 13421772 /* 0xCCCCCC */; } onClipEvent (enterFrame) { this._x = (_root.area._x / 3) - 650; this._y = (_root.area._y / 3) - 900; }
Instance of Symbol 61 MovieClip "beamguide" in Frame 5
onClipEvent (enterFrame) { _root.beamaction(); }
Instance of Symbol 128 MovieClip "ply" in Frame 5
onClipEvent (load) { this._name = "ply"; this._alpha = 0; } onClipEvent (enterFrame) { _root.plyaction(); }
Instance of Symbol 138 MovieClip "area" in Frame 5
onClipEvent (load) { var blktimer = 0; } onClipEvent (mouseDown) { blktimer = 4; } onClipEvent (mouseUp) { blktimer = 0; if (((knockdown == "off") and (makeblocks == "off")) and (cooldown <= 0)) { _root.spawnbullet(); _global.plyfire = 2; _global.makeblocks = "off"; } _global.makeblocks = "off"; } onClipEvent (enterFrame) { if ((nomake == false) and (imbalance < blklimit)) { if (blktimer > 0) { if (blktimer > 1) { blktimer--; } else { _global.makeblocks = "on"; } } } else { _global.makeblocks = "off"; } if (plyfire > 1) { _global.plyfire = _global.plyfire + 1; if (plyfire > 4) { _global.plyfire = 1; } } _global.h = ((_root._ymouse - _root.ply._y) - army) - bdy; _global.len = ((_root._xmouse - _root.ply._x) - armx) - bdx; if (cooldown > -10) { _global.cooldown = _global.cooldown - 1; } if (makeblocks == "on") { _root.spawnblock((-1 * _root.area._x) + _root._xmouse, (-1 * _root.area._y) + _root._ymouse); } }
Instance of Symbol 154 MovieClip in Frame 5
onClipEvent (enterFrame) { this.gotoAndStop(imbalance); }
Instance of Symbol 158 MovieClip in Frame 5
onClipEvent (enterFrame) { this.gotoAndStop(health); }
Instance of Symbol 160 MovieClip in Frame 5
onClipEvent (load) { var oldh = health; } onClipEvent (enterFrame) { if (oldh > health) { this.play(); } oldh = health; }
Frame 6
stop(); stopAllSounds();
Frame 7
stop(); _root.l = 0; _global.imbalance = 0; _root.r = 0; _global.makeblocks = "off";
Instance of Symbol 177 MovieClip in Frame 7
onClipEvent (load) { this.opaqueBackground = 13421772 /* 0xCCCCCC */; } onClipEvent (enterFrame) { this._x = (_root.area._x / 3.3) - 750; this._y = (_root.area._y / 3.3) - 1200; }
Instance of Symbol 61 MovieClip "beamguide" in Frame 7
onClipEvent (enterFrame) { _root.beamaction(); }
Instance of Symbol 128 MovieClip "ply" in Frame 7
onClipEvent (load) { this._name = "ply"; this._alpha = 0; _root.drop = 10; } onClipEvent (enterFrame) { _root.plyaction(); }
Instance of Symbol 245 MovieClip "area" in Frame 7
onClipEvent (load) { var blktimer = 0; } onClipEvent (mouseDown) { blktimer = 4; } onClipEvent (mouseUp) { blktimer = 0; if (((knockdown == "off") and (makeblocks == "off")) and (cooldown <= 0)) { _root.spawnbullet(); _global.plyfire = 2; _global.makeblocks = "off"; } _global.makeblocks = "off"; } onClipEvent (enterFrame) { if ((nomake == false) and (imbalance < blklimit)) { if (blktimer > 0) { if (blktimer > 1) { blktimer--; } else { _global.makeblocks = "on"; } } } else { _global.makeblocks = "off"; } if (plyfire > 1) { _global.plyfire = _global.plyfire + 1; if (plyfire > 4) { _global.plyfire = 1; } } _global.h = ((_root._ymouse - _root.ply._y) - army) - bdy; _global.len = ((_root._xmouse - _root.ply._x) - armx) - bdx; if (cooldown > -10) { _global.cooldown = _global.cooldown - 1; } if (makeblocks == "on") { _root.spawnblock((-1 * _root.area._x) + _root._xmouse, (-1 * _root.area._y) + _root._ymouse); } }
Instance of Symbol 154 MovieClip in Frame 7
onClipEvent (enterFrame) { this.gotoAndStop(imbalance); }
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) { this.gotoAndStop(health); }
Instance of Symbol 160 MovieClip in Frame 7
onClipEvent (load) { var oldh = health; } onClipEvent (enterFrame) { if (oldh > health) { if (nodamage == true) { _global.health = oldh; } this.play(); } oldh = health; }
Frame 8
stop(); _global.imbalance = 0; _root.l = 0; _root.r = 0; _global.makeblocks = "off"; _global.cooldown = -10; _global.health = 25;
Instance of Symbol 249 MovieClip in Frame 8
onClipEvent (load) { this.opaqueBackground = 13421772 /* 0xCCCCCC */; } onClipEvent (enterFrame) { this._x = (_root.area._x / 2) - 650; this._y = (_root.area._y / 2) - 900; }
Instance of Symbol 252 MovieClip "area" in Frame 8
onClipEvent (load) { var blktimer = 0; } onClipEvent (mouseDown) { blktimer = 4; } onClipEvent (mouseUp) { blktimer = 0; if (((knockdown == "off") and (makeblocks == "off")) and (cooldown <= 0)) { _root.spawnbullet(); _global.plyfire = 2; _global.makeblocks = "off"; } _global.makeblocks = "off"; } onClipEvent (enterFrame) { if ((nomake == false) and (imbalance < blklimit)) { if (blktimer > 0) { if (blktimer > 1) { blktimer--; } else { _global.makeblocks = "on"; } } } else { _global.makeblocks = "off"; } if (plyfire > 1) { _global.plyfire = _global.plyfire + 1; if (plyfire > 4) { _global.plyfire = 1; } } _global.h = ((_root._ymouse - _root.ply._y) - army) - bdy; _global.len = ((_root._xmouse - _root.ply._x) - armx) - bdx; if (cooldown > -10) { _global.cooldown = _global.cooldown - 1; } if (makeblocks == "on") { _root.spawnblock((-1 * _root.area._x) + _root._xmouse, (-1 * _root.area._y) + _root._ymouse); } }
Instance of Symbol 331 MovieClip in Frame 8
onClipEvent (enterFrame) { this.gotoAndStop(50 - _root.area3.boss.health); }
Frame 9
stop(); stopAllSounds();
Instance of Symbol 137 MovieClip "blk" in Frame 9
onClipEvent (load) { var destroy = 0; var cd = 0; if (run == "true") { if (_root.checkCollision(this, _root.ply.body.tooleft) or _root.checkCollision(this, _root.ply.body.tooright)) { _global.run = false; removeMovieClip(this); } } } onClipEvent (enterFrame) { _root.blkaction(this._name); }
Frame 10
stop(); stopAllSounds();
Frame 11
stop(); _global.imbalance = 0; _global.makeblocks = "off"; _global.cooldown = -10; _global.health = 25;
Instance of Symbol 357 MovieClip "area5" in Frame 11
onClipEvent (load) { this.opaqueBackground = 13421772 /* 0xCCCCCC */; } onClipEvent (enterFrame) { this._x = _root.area._x; this._y = _root.area._y; }
Instance of Symbol 393 MovieClip "area3" in Frame 11
onClipEvent (enterFrame) { this._x = _root.area._x; this._y = _root.area._y; }
Instance of Symbol 61 MovieClip "beamguide" in Frame 11
onClipEvent (enterFrame) { _root.beamaction(); }
Instance of Symbol 128 MovieClip "ply" in Frame 11
onClipEvent (load) { this._name = "ply"; this._alpha = 0; _root.drop = 10; } onClipEvent (enterFrame) { _root.plyaction(); }
Instance of Symbol 416 MovieClip "area" in Frame 11
onClipEvent (load) { var blktimer = 0; } onClipEvent (mouseDown) { blktimer = 4; } onClipEvent (mouseUp) { blktimer = 0; if (((knockdown == "off") and (makeblocks == "off")) and (cooldown <= 0)) { _root.spawnbullet(); _global.plyfire = 2; _global.makeblocks = "off"; } _global.makeblocks = "off"; } onClipEvent (enterFrame) { if ((nomake == false) and (imbalance < blklimit)) { if (blktimer > 0) { if (blktimer > 1) { blktimer--; } else { _global.makeblocks = "on"; } } } else { _global.makeblocks = "off"; } if (plyfire > 1) { _global.plyfire = _global.plyfire + 1; if (plyfire > 4) { _global.plyfire = 1; } } _global.h = ((_root._ymouse - _root.ply._y) - army) - bdy; _global.len = ((_root._xmouse - _root.ply._x) - armx) - bdx; if (cooldown > -10) { _global.cooldown = _global.cooldown - 1; } if (makeblocks == "on") { _root.spawnblock((-1 * _root.area._x) + _root._xmouse, (-1 * _root.area._y) + _root._ymouse); } }
Instance of Symbol 154 MovieClip in Frame 11
onClipEvent (enterFrame) { this.gotoAndStop(imbalance); }
Instance of Symbol 158 MovieClip in Frame 11
onClipEvent (enterFrame) { this.gotoAndStop(health); }
Instance of Symbol 160 MovieClip in Frame 11
onClipEvent (load) { var oldh = health; } onClipEvent (enterFrame) { if (oldh > health) { if (nodamage == true) { _global.health = oldh; } this.play(); } oldh = health; }
Frame 12
stop(); _global.makeblocks = "off"; _global.cooldown = -10; stopAllSounds();
Frame 13
stop(); _global.imbalance = 0; _global.health = 25; _global.makeblocks = "off"; _global.cooldown = -10;
Instance of Symbol 427 MovieClip "area5" in Frame 13
onClipEvent (load) { this.opaqueBackground = 13421772 /* 0xCCCCCC */; } onClipEvent (enterFrame) { this._x = _root.area._x; this._y = _root.area._y; }
Instance of Symbol 178 MovieClip "area2" in Frame 13
onClipEvent (enterFrame) { this._x = _root.area._x; this._y = _root.area._y; }
Instance of Symbol 429 MovieClip "area3" in Frame 13
onClipEvent (enterFrame) { this._x = _root.area._x; this._y = _root.area._y; }
Instance of Symbol 61 MovieClip "beamguide" in Frame 13
onClipEvent (enterFrame) { _root.beamaction(); }
Instance of Symbol 128 MovieClip "ply" in Frame 13
onClipEvent (load) { this._name = "ply"; this._alpha = 0; _root.drop = 10; } onClipEvent (enterFrame) { _root.plyaction(); }
Instance of Symbol 482 MovieClip "area" in Frame 13
onClipEvent (load) { var blktimer = 0; } onClipEvent (mouseDown) { blktimer = 4; } onClipEvent (mouseUp) { blktimer = 0; if (((knockdown == "off") and (makeblocks == "off")) and (cooldown <= 0)) { _root.spawnbullet(); _global.plyfire = 2; _global.makeblocks = "off"; } _global.makeblocks = "off"; } onClipEvent (enterFrame) { if ((nomake == false) and (imbalance < blklimit)) { if (blktimer > 0) { if (blktimer > 1) { blktimer--; } else { _global.makeblocks = "on"; } } } else { _global.makeblocks = "off"; } if (plyfire > 1) { _global.plyfire = _global.plyfire + 1; if (plyfire > 4) { _global.plyfire = 1; } } _global.h = ((_root._ymouse - _root.ply._y) - army) - bdy; _global.len = ((_root._xmouse - _root.ply._x) - armx) - bdx; if (cooldown > -10) { _global.cooldown = _global.cooldown - 1; } if (makeblocks == "on") { _root.spawnblock((-1 * _root.area._x) + _root._xmouse, (-1 * _root.area._y) + _root._ymouse); } }
Instance of Symbol 154 MovieClip in Frame 13
onClipEvent (enterFrame) { this.gotoAndStop(imbalance); }
Instance of Symbol 158 MovieClip in Frame 13
onClipEvent (enterFrame) { this.gotoAndStop(health); }
Instance of Symbol 160 MovieClip in Frame 13
onClipEvent (load) { var oldh = health; } onClipEvent (enterFrame) { if (oldh > health) { if (nodamage == true) { _global.health = oldh; } this.play(); } oldh = health; }
Frame 14
stop(); _global.imbalance = 0; _global.health = 25; _global.makeblocks = "off"; _global.blockclear = false; _global.cooldown = -10; stopAllSounds();
Instance of Symbol 490 MovieClip "area5" in Frame 14
onClipEvent (load) { this.opaqueBackground = 13421772 /* 0xCCCCCC */; } onClipEvent (enterFrame) { this._x = _root.area._x; this._y = _root.area._y; }
Instance of Symbol 519 MovieClip "area3" in Frame 14
onClipEvent (enterFrame) { this._x = _root.area._x; this._y = _root.area._y; }
Instance of Symbol 522 MovieClip "area" in Frame 14
onClipEvent (load) { var blktimer = 0; } onClipEvent (mouseDown) { blktimer = 4; } onClipEvent (mouseUp) { blktimer = 0; if (((knockdown == "off") and (makeblocks == "off")) and (cooldown <= 0)) { _root.spawnbullet(); _global.plyfire = 2; _global.makeblocks = "off"; } _global.makeblocks = "off"; } onClipEvent (enterFrame) { if ((nomake == false) and (imbalance < blklimit)) { if (blktimer > 0) { if (blktimer > 1) { blktimer--; } else { _global.makeblocks = "on"; } } } else { _global.makeblocks = "off"; } if (plyfire > 1) { _global.plyfire = _global.plyfire + 1; if (plyfire > 4) { _global.plyfire = 1; } } _global.h = ((_root._ymouse - _root.ply._y) - army) - bdy; _global.len = ((_root._xmouse - _root.ply._x) - armx) - bdx; if (cooldown > -10) { _global.cooldown = _global.cooldown - 1; } if (makeblocks == "on") { _root.spawnblock((-1 * _root.area._x) + _root._xmouse, (-1 * _root.area._y) + _root._ymouse); } }
Instance of Symbol 154 MovieClip in Frame 14
onClipEvent (enterFrame) { this.gotoAndStop(imbalance); }
Instance of Symbol 525 MovieClip in Frame 14
onClipEvent (enterFrame) { this.gotoAndStop(30 - _root.area3.boss.health); }
Frame 15
function checkCollision(p_clip1, p_clip2) { _global.yenter = null; _global.yinter = null; var _local5 = p_clip1.getBounds(_root); var _local4 = p_clip2.getBounds(_root); if (((_local5.xMax < _local4.xMin) || (_local4.xMax < _local5.xMin)) || ((_local5.yMax < _local4.yMin) || (_local4.yMax < _local5.yMin))) { return(false); } var _local3 = {}; _local3.xMin = Math.max(_local5.xMin, _local4.xMin); _local3.xMax = Math.min(_local5.xMax, _local4.xMax); _local3.yMin = Math.max(_local5.yMin, _local4.yMin); _local3.yMax = Math.min(_local5.yMax, _local4.yMax); var _local8 = new flash.display.BitmapData(_local3.xMax - _local3.xMin, _local3.yMax - _local3.yMin, false); var _local6 = p_clip1.transform.concatenatedMatrix; _local6.tx = _local6.tx - _local3.xMin; _local6.ty = _local6.ty - _local3.yMin; _local8.draw(p_clip1, _local6, new flash.geom.ColorTransform(1, 1, 1, 1, 255, -255, -255, 255)); _local6 = p_clip2.transform.concatenatedMatrix; _local6.tx = _local6.tx - _local3.xMin; _local6.ty = _local6.ty - _local3.yMin; _local8.draw(p_clip2, _local6, new flash.geom.ColorTransform(1, 1, 1, 1, 255, 255, 255, 255), "difference"); var _local7 = _local8.getColorBoundsRect(4294967295, 4278255615); if (_local7.width == 0) { return(false); } _local7.x = _local7.x + _local3.xMin; _local7.y = _local7.y + _local3.yMin; if (_local7) { _global.yenter = _local7.width; _global.yinter = _local7.height; return(true); } return(false); } function spawnbullet() { duplicateMovieClip (_root.area2.blt, "en" + mn, mn); _global.cooldown = 5; _global.shoot = true; ox = _root.beamguide._x; oy = _root.beamguide._y; _root.beamguide._x = _root._xmouse; _root.beamguide._y = _root._ymouse; _global.ll = (_root.ply._x + armx) - _root.beamguide._x; _global.hl = (_root.ply._y + army) - _root.beamguide._y; _root.area2["en" + mn]._x = ((-_root.area2._x) + _root.ply._x) + armx; _root.area2["en" + mn]._y = ((-_root.area2._y) + _root.ply._y) + army; _root.area2["en" + mn]._rotation = ((Math.atan2(hl, ll) * 180) / Math.PI) + 90; _root.beamguide._x = ox; _root.beamguide._y = oy; _global.mn = _global.mn + 1; if (mn == 320) { _global.mn = 200; } } function spawnenbullet(dx, dy, rot, type) { if (type == null) { type = "enblt"; } duplicateMovieClip (_root.area3[type], "en" + mn, mn); _root.area3["en" + mn]._x = dx; _root.area3["en" + mn]._y = dy - 1; _root.area3["en" + mn]._rotation = rot; _global.mn = _global.mn + 1; if (mn == 320) { _global.mn = 200; } } function spawnenergy(dx, dy, num) { rbs = 0; while (rbs < num) { duplicateMovieClip (_root.area4.energy, "en" + jk, jk); _root.area4["en" + jk]._x = dx; _root.area4["en" + jk]._y = dy; _root.area4["en" + jk]._rotation = Math.random() * 360; _root.area4["en" + jk]._alpha = 100; _global.jk = _global.jk + 1; if (jk == 680) { _global.jk = 450; } rbs++; } } function spawngenergy(dx, dy, num) { rbs = 0; while (rbs < num) { duplicateMovieClip (_root.area4.genergy, "en" + jk, jk); _root.area4["en" + jk]._x = dx; _root.area4["en" + jk]._y = dy; _root.area4["en" + jk]._rotation = Math.random() * 360; _root.area4["en" + jk]._alpha = 100; _global.jk = _global.jk + 1; if (jk == 680) { _global.jk = 450; } rbs++; } } function spawnblock(tx, ty) { if (imbalance < 68) { lll = 0; while (lll < blklimit) { if (_root.area["en" + lll]._x == undefined) { _global.i = lll; lll = blklimit; } lll++; } if (_root.area["en" + i]._x != undefined) { _root.spawnenergy(_root.area["en" + i]._x, _root.area["en" + i]._y, 1); } duplicateMovieClip (_root.area.blk, "en" + i, i); _root.area["en" + i]._x = tx; _root.area["en" + i]._y = ty; if ((((_root.checkCollision(_root.area["en" + i], _root.ply.body.toohigh) or _root.checkCollision(_root.area["en" + i], _root.ply.body.middle)) or _root.checkCollision(_root.area["en" + i], _root.area3)) or _root.checkCollision(_root.area["en" + i], _root.area2)) or _root.checkCollision(_root.area["en" + i], _root.area.ground)) { _root.beamguide.gotoAndStop(1); removeMovieClip(_root.area["en" + i]); } else { if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooleft)) { if (side2 == "left") { removeMovieClip(_root.area["en" + i]); } else { var _local4 = yenter + 1.6; var _local3 = _root.area._x; _global.run = "true"; if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooright.ini) == false) { _root.area._x = _root.area._x - _local4; if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooleft)) { _root.area._x = _root.area._x - (yenter + 1); } if (_root.checkCollision(_root.area, _root.ply.body.tooright)) { _root.area._x = _root.area._x + (yenter + 1); if (_root.checkCollision(_root.area, _root.ply.body.tooright) or _root.checkCollision(_root.area, _root.ply.body.tooleft)) { _root.area._x = _local3; _global.run = false; removeMovieClip(_root.area["en" + i]); } } } else { removeMovieClip(_root.area["en" + i]); _global.i = _global.i - 1; } } } else if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooright)) { if (side2 == "right") { removeMovieClip(_root.area["en" + i]); } else { var _local4 = yenter + 1.6; var _local3 = _root.area._x; _global.run = "true"; if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooleft.ini) == false) { _root.area._x = _root.area._x + _local4; if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooright)) { _root.area._x = _root.area._x + (yenter + 1); } if (_root.checkCollision(_root.area, _root.ply.body.tooleft)) { _root.area._x = _root.area._x - (yenter + 1); if (_root.checkCollision(_root.area, _root.ply.body.tooleft) or _root.checkCollision(_root.area, _root.ply.body.tooright)) { _root.area._x = _local3; removeMovieClip(_root.area["en" + i]); } } } else { removeMovieClip(_root.area["en" + i]); _global.i = _global.i - 1; } } } if ((_root.checkCollision(_root.area, _root.ply.body.toohigh) or _root.checkCollision(_root.area["en" + i], _root.ply.body.toolow)) and _root.checkCollision(_root.area, _root.ply.body.cantjump)) { removeMovieClip(_root.area["en" + i]); } if ((_root.checkCollision(_root.area["en" + i], _root.ply.toolow) and _root.checkCollision(_root.area, _root.ply.body.cantjump)) or _root.checkCollision(_root.area["en" + i], _root.ply.body.cantjump.noblocks)) { removeMovieClip(_root.area["en" + i]); } } if (_root.area["en" + i]._x != undefined) { _root.beamguide.gotoAndStop(2); _root.beamguide._x = _root._xmouse; _root.beamguide._y = _root._ymouse; _root.beamguide._rotation = 0; _global.ll = (_root.ply._x + armx) - _root.beamguide._x; _global.hl = (_root.ply._y + army) - _root.beamguide._y; _root.beamguide._width = Math.sqrt((hl * hl) + (ll * ll)) - 40; _root.beamguide._rotation = (Math.atan2(hl, ll) * 180) / Math.PI; _root.beamguide._visible = true; _root.beamguide._alpha = 100; } } _global.i = _global.i + 1; if (i > blklimit) { _global.i = 1; } } function checker(x) { if (Key.isDown(17)) { trace(x); } } function plyaction() { if (health <= 0) { _root.gotoAndStop(14); } if (_root.ply._alpha < 100) { _root.ply._alpha = _root.ply._alpha + 5; if (_root.ply._alpha > 100) { _root.ply._alpha = 100; } } if (_root.checkCollision(_root.ply.body.toolow, _root.area) == false) { if (drop > -35) { drop = drop - 3.2; } if (_root.checkCollision(_root.area, _root.ply.body.canjump) == false) { var _local3 = false; if ((_root.ply._currentframe != 3) and (_root.ply._currentframe != 5)) { _global.jumping = false; } } else { var _local3 = true; } } else { if (drop < 0) { drop = 0; } var _local3 = true; } if (jumping == true) { _global.jumping = false; drop = 38; if (side2 == "left") { l = l + 2; } else { r = r + 2; } var _local3 = false; } if (((jumping != "begin") and (_local3 == false)) and (knockdown == "off")) { slide = false; if (drop <= -4) { if (side2 == "right") { _root.ply.gotoAndStop(4); } else { _root.ply.gotoAndStop(6); } } } if ((((((_local3 == true) and (drop == 0)) and (Math.abs(r - l) > 1)) and (slide == false)) and (knockdown == "off")) and (jumping != "begin")) { if (side2 == "left") { _root.ply.gotoAndStop(2); } else { _root.ply.gotoAndStop(1); } } _root.area._y = _root.area._y + (drop / 2.2); ldown = false; if (_root.checkCollision(_root.ply.body.toolow.ini, _root.area)) { _root.area._y = _root.area._y + (yinter + 1); if (_root.checkCollision(_root.ply.body.toolow.ini, _root.area)) { _root.area._y = _root.area._y + (yinter + 1); } } if (((((knockdown == "on") and (_root.ply._currentframe != 13)) and (_root.ply._currentframe != 14)) and (_root.ply._currentframe != 15)) and (_root.ply._currentframe != 16)) { if (_root._currentframe == 7) { _global.health = _global.health - 5; } if (side2 == "left") { _root.ply.gotoAndStop(14); drop = 24; var _local3 = false; r = 36; l = 0; } else { drop = 24; var _local3 = false; l = 36; r = 0; _root.ply.gotoAndStop(13); } _root.area._y = _root.area._y + 10; } if (((_root.ply._currentframe == 14) or (_root.ply._currentframe == 13)) and (_local3 == true)) { if (side2 == "left") { _root.ply.gotoAndStop(16); } else { _root.ply.gotoAndStop(15); } } if (jumping == false) { if (_root.checkCollision(_root.ply.body.tooright, _root.area) == false) { if (Key.isDown(68) and (knockdown == "off")) { ldown = true; if (r < 11) { if (r < 1.5) { r = r + 1.5; } r = r + 0.5; } if ((_local3 == true) and (drop < 5)) { if ((l >= r) and (((l - r) > 7) or (slide == true))) { _root.ply.gotoAndStop(7); slide = true; } else { _root.ply.gotoAndStop(1); if (slide == true) { r = 1; slide = false; l = 0; } } } else if ((drop <= -15) or ((((((drop > 0) and (_root.ply._currentframe != 3)) and (_root.ply._currentframe != 5)) and (_root.ply._currentframe != 9)) and (_root.ply._currentframe != 10)) and (getup == false))) { _root.ply.gotoAndStop(4); _global.side2 = "right"; } } else if (r > 1.1) { r = r / 1.08; } else { r = 0; } } else { r = 0; } if ((r > 14) and (_local3 == true)) { r = r / 1.2; } if (_root.checkCollision(_root.ply.body.tooleft, _root.area) == false) { if ((Key.isDown(65) and (ldown == false)) and (knockdown == "off")) { if (l < 11) { if (l < 1.5) { l = l + 1.5; } l = l + 0.5; } if ((_local3 == true) and (drop < 5)) { if ((r >= l) and (((r - l) > 7) or (slide == true))) { _root.ply.gotoAndStop(8); slide = true; } else { _root.ply.gotoAndStop(2); if (slide == true) { r = 0; slide = false; l = 1; } } } else if ((drop <= -15) or ((((((drop > 0) and (_root.ply._currentframe != 5)) and (_root.ply._currentframe != 3)) and (_root.ply._currentframe != 9)) and (_root.ply._currentframe != 10)) and (getup == false))) { _root.ply.gotoAndStop(6); _global.side2 = "left"; } } else if (l > 1.1) { l = l / 1.08; } else { l = 0; } } else { l = 0; } } if ((l > 14) and (_local3 == true)) { l = l / 1.2; } _root.area._x = _root.area._x + l; _root.area._x = _root.area._x - r; if ((((((((_local3 == true) and (r < 2)) and (l < 2)) and (jumping == false)) and (drop < 1)) and (drop > -1)) and (slide == false)) and (getup == false)) { if (knockdown == "off") { if (side2 == "left") { _root.ply.gotoAndStop(12); } else { _root.ply.gotoAndStop(11); } } } if (_root.checkCollision(_root.ply.body.toohigh.hcontact, _root.area)) { _root.checkCollision(_root.ply.body.toohigh, _root.area); _root.area._y = _root.area._y - (yinter + 1); if (_root.checkCollision(_root.ply.body.toohigh.hcontact, _root.area)) { if (yenter > 4) { _root.checkCollision(_root.ply.body.toohigh, _root.area); _root.area._y = _root.area._y - (yinter + 1); } } if (drop >= 0) { drop = drop * -0.5; } } if (_root.checkCollision(_root.ply.body.toolow.ini, _root.area)) { _root.area._y = _root.area._y + (yinter + 1); if (_root.checkCollision(_root.ply.body.toolow.ini, _root.area)) { _root.area._y = _root.area._y + (yinter + 1); } } if (_root.checkCollision(_root.ply.body.tooright.ini, _root.area)) { _root.area._x = _root.area._x + yenter; r = 0; if (_root.checkCollision(_root.ply.body.tooright.ini, _root.area)) { _root.area._x = _root.area._x + (yenter + 1); } } if (_root.checkCollision(_root.ply.body.tooleft.ini, _root.area)) { _root.area._x = _root.area._x - yenter; l = 0; if (_root.checkCollision(_root.ply.body.tooleft.ini, _root.area)) { _root.area._x = _root.area._x - (yenter + 1); } } if (_root.checkCollision(_root.ply.body.toohigh.hcontact, _root.area) == false) { newy = _root.area._y; newx = _root.area._x; } else { r = 0; _root.area._x = newx; _root.area._y = newy; drop = 0; l = 0; } if (((((((_local3 == true) and (knockdown == "off")) and (_root.checkCollision(_root.ply.body.cantjump, _root.area) == false)) and (_root.ply._currentframe != 3)) and (_root.ply._currentframe != 5)) and (_root.ply._currentframe != 9)) and (_root.ply._currentframe != 10)) { if (Key.isDown(87)) { _global.jumping = "begin"; if (side2 == "right") { if (slide == true) { _root.ply.gotoAndStop(9); drop = 54; l = 18; slide = false; _global.side2 = "left"; } else { _root.ply.gotoAndStop(3); } } else if (slide == true) { _root.ply.gotoAndStop(10); drop = 54; r = 18; slide = false; _global.side2 = "right"; } else { _root.ply.gotoAndStop(5); } } } _global.bldrop = drop; _global.blspd = r - l; _root.area2._x = _root.area._x; _root.area3._x = _root.area._x; _root.area2._y = _root.area._y; _root.area3._y = _root.area._y; _root.area4._x = _root.area._x; _root.area4._y = _root.area._y; _root.area5._x = _root.area._x; _root.area5._y = _root.area._y; } function araction(nam) { if (_root.area3[nam].destroy == "on") { removeMovieClip(_root.area3[nam]); } else if (_root.area3[nam].destroy == "ready") { _root.area3[nam].destroy = "ready2"; } else if (_root.area3[nam].destroy == "ready2") { _root.area3[nam].destroy = "ready3"; } else if (_root.area3[nam].destroy == "ready3") { _root.area3[nam].destroy = "on"; } _root.area3[nam].timer = _root.area3[nam].timer - 1; if (_root.area3[nam].timer == 0) { removeMovieClip(_root.area3[nam]); _root.area3[nam].timer = 2; } _global.rot = _root.area3[nam]._rotation; if (rot < 0) { _global.rot = _global.rot + 360; } if (_root.area3[nam].destroy == "off") { _root.area3[nam]._x = _root.area3[nam]._x - (Math.cos((_root.area3[nam]._rotation * Math.PI) / 180) * 20); _root.area3[nam]._y = _root.area3[nam]._y - (Math.sin((_root.area3[nam]._rotation * Math.PI) / 180) * 20); } if (_root.checkCollision(_root.area, _root.area3[nam])) { _global.yenter = _global.yenter + 2; _global.yinter = _global.yinter + 2; _root.area3[nam].destroy = "ready"; var _local4 = Math.sqrt((yenter * yenter) + (yinter * yinter)); _root.area3[nam]._x = _root.area3[nam]._x + ((_local4 + 6.5) * Math.cos((_root.area3[nam]._rotation * Math.PI) / 180)); _root.area3[nam]._y = _root.area3[nam]._y + ((_local4 + 6.5) * Math.sin((_root.area3[nam]._rotation * Math.PI) / 180)); if (_root.checkCollision(_root.area, _root.area3[nam])) { _global.yenter = _global.yenter + 2; _global.yinter = _global.yinter + 2; _local4 = Math.sqrt((yenter * yenter) + (yinter * yinter)); _root.area3[nam]._x = _root.area3[nam]._x + ((_local4 + 6.5) * Math.cos((_root.area3[nam]._rotation * Math.PI) / 180)); _root.area3[nam]._y = _root.area3[nam]._y + ((_local4 + 6.5) * Math.sin((_root.area3[nam]._rotation * Math.PI) / 180)); if (_root.checkCollision(_root.area, _root.area3[nam])) { _global.yenter = _global.yenter + 2; _global.yinter = _global.yinter + 2; _local4 = Math.sqrt((yenter * yenter) + (yinter * yinter)); _root.area3[nam]._x = _root.area3[nam]._x + ((_local4 + 6.5) * Math.cos((_root.area3[nam]._rotation * Math.PI) / 180)); _root.area3[nam]._y = _root.area3[nam]._y + ((_local4 + 6.5) * Math.sin((_root.area3[nam]._rotation * Math.PI) / 180)); } } } if (_root.area3[nam].destroy == "off") { if (_root.checkCollision(_root.ply.bod, _root.area3[nam])) { _root.area3[nam].destroy = "ready"; _global.health = _global.health - 1; _root.area3[nam].gotoAndStop(2); } } } function bowaction(nam) { if (_root.area3[nam]._currentframe != 41) { if ((_root.area3[nam].health <= 0) and (_root.area3[nam]._currentframe < 41)) { _root.spawnenergy(_root.area3[nam]._x + ((_root.area3[nam]._currentframe * 6) * Math.cos((_root.area3[nam]._rotation * Math.PI) / 180)), _root.area3[nam]._y + ((_root.area3[nam]._currentframe * 6) * Math.sin((_root.area3[nam]._rotation * Math.PI) / 180)), 1); if (_root.area3[nam]._currentframe < 29) { _global.encount = _global.encount - 1; _global.blklimit = _global.blklimit + 1; _root.area3[nam].chase = false; _root.area3[nam].gotoAndPlay(29); } } else { if (_root.area3[nam].hurt == 0) { if (_root.checkCollision(_root.area3[nam], _root.area2)) { if (_root.area3[nam].chase == false) { _root.area3[nam].play(); _root.area3[nam].chase = true; } if (((-1 * _root.area2._x) + _root.ply._x) > _root.area3[nam]._x) { _root.area3[nam]._x = _root.area3[nam]._x - 7; } else { _root.area3[nam]._x = _root.area3[nam]._x + 7; } if (((-1 * _root.area2._y) + _root.ply._y) > _root.area3[nam]._y) { _root.area3[nam]._y = _root.area3[nam]._y - 5; } else { _root.area3[nam]._y = _root.area3[nam]._y + 5; } if ((_root.checkCollision(_root.area3[nam].bod, _root.area2) and (_root.area3[nam].hurt == 0)) and (health > 0)) { _root.area3[nam].hurt = 15; _root.area3[nam].bod.play(); _root.area3[nam].health--; } } } if (_root.area3[nam].hurt > 0) { _root.area3[nam].hurt--; _root.area3[nam].bod.play(); } else { _root.area3[nam].bod.gotoAndStop(1); } if ((_root.area3[nam].chase == true) and (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) * ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x)))) < 1500)) { if (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 15) - _root.area3[nam]._x) < 4) { _root.area3[nam]._x = ((-1 * _root.area2._x) + _root.ply._x) + 15; } else if ((((-1 * _root.area2._x) + _root.ply._x) + 12) > _root.area3[nam]._x) { _root.area3[nam]._x = _root.area3[nam]._x + 5; } else { _root.area3[nam]._x = _root.area3[nam]._x - 5; } if (_root.checkCollision(_root.area3[nam].bod, _root.area.ground)) { _root.area3[nam]._x = _root.area3[nam].oldx; } else { _root.area3[nam].oldx = _root.area3[nam]._x; } if (Math.abs((((-1 * _root.area2._y) + _root.ply._y) + 30) - _root.area3[nam]._y) < 3) { _root.area3[nam]._y = ((-1 * _root.area2._y) + _root.ply._y) + 30; } else if ((((-1 * _root.area2._y) + _root.ply._y) + 30) > _root.area3[nam]._y) { _root.area3[nam]._y = _root.area3[nam]._y + 4; } else { _root.area3[nam]._y = _root.area3[nam]._y - 4; } if (_root.checkCollision(_root.area3[nam].bod, _root.area.ground)) { _root.area3[nam]._y = _root.area3[nam].oldy; } else { _root.area3[nam].oldy = _root.area3[nam]._y; } var _local4 = (-1 * Math.abs((Math.atan2(((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) - 30, ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) - 12) * 180) / Math.PI)) - 0; if (Math.abs(_local4 - _root.area3[nam]._rotation) < 8) { _root.area3[nam]._rotation = _local4; } else if (_local4 > _root.area3[nam]._rotation) { _root.area3[nam]._rotation = _root.area3[nam]._rotation + 8; } else { _root.area3[nam]._rotation = _root.area3[nam]._rotation - 8; } if (_root.checkCollision(_root.area3[nam].bod, _root.area.ground)) { _root.area3[nam]._rotation = oldrot; } else { oldrot = _root.area3[nam]._rotation; } if (_root.area3[nam].fire == true) { _root.spawnenbullet(_root.area3[nam]._x + (31.6 * Math.cos((_root.area3[nam]._rotation * Math.PI) / 180)), _root.area3[nam]._y + (31.4 * Math.sin((_root.area3[nam]._rotation * Math.PI) / 180)), _root.area3[nam]._rotation, "enar"); _root.area3[nam].fire = false; } } else { _root.area3[nam].stop(); if (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) * ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x)))) < 200) { _root.area3[nam].chase = true; _root.area3[nam].play(); } } } } } function blkaction(nam) { if (_root.area[nam].destroy != 0) { if (_root.checkCollision(_root.area[nam], _root.ply.body)) { removeMovieClip(_root.area[nam]); } } if (_root.area[nam].destroy == 1) { _root.area[nam].destroy = 2; _root.area[nam].cd = 13; _root.spawngenergy(_root.area[nam]._x, _root.area[nam]._y, 1); } if (_root.area[nam].destroy == 2) { _root.area[nam].cd--; } else if (bstage == 10) { _root.area[nam].destroy = 1; _root.area[nam].gotoAndPlay(2); } else if (_root.checkCollision(_root.area[nam], _root.area2)) { _root.area[nam].destroy = 1; _root.area[nam].gotoAndPlay(2); } else if (_root.checkCollision(_root.area[nam], _root.area3)) { _root.area[nam].destroy = 1; _root.area[nam].gotoAndPlay(2); } if ((_root.area[nam].destroy == 2) and (_root.area[nam].cd == 0)) { removeMovieClip(_root.area[nam]); } } function beamaction() { if (_root.beamguide._alpha <= 0) { _root.beamguide._alpha = 100; _root.beamguide._visible = false; } if (_root.beamguide._visible == true) { _root.beamguide._alpha = _root.beamguide._alpha - 10; if (makeblocks == "on") { _root.beamguide.gotoAndStop(2); } else { _root.beamguide.gotoAndStop(1); } _root.beamguide._xscale = _root.beamguide._xscale / 1.1; } else { _root.beamguide.gotoAndStop(3); } } function solaction(nam) { if (_root.area3[nam].health > -55) { _root.area3[nam].shoot = true; if (_root.area3[nam].health <= 0) { if (_root.area3[nam].cooldown == 0) { _root.spawnenergy(_root.area3[nam]._x, _root.area3[nam]._y, 1); _root.area3[nam].cooldown = 3; } else { _root.area3[nam].cooldown--; } if (_root.area3[nam].health == 0) { _global.blklimit = _global.blklimit + 1; _root.area3[nam].chase = "off"; _root.area3[nam].shoot = false; if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(6); } else { _root.area3[nam].gotoAndStop(7); } } _root.area3[nam].health--; } else { if (_root.area3[nam].hurt == 0) { if (_root.checkCollision(_root.area3[nam], _root.area2)) { if (_root.area3[nam].chase == "off") { _root.area3[nam].play(); _root.area3[nam].chase = "on"; } if ((_root.checkCollision(_root.area3[nam].bod, _root.area2) and (_root.area3[nam].hurt == 0)) and (_root.area3[nam].health > 0)) { _root.area3[nam].hurt = 11; _root.area3[nam].health--; } } } if ((_root.area3[nam].chase == "on") and (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) * ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x)))) < 700)) { if (_root.area3[nam].hurt > 0) { _root.area3[nam].hurt--; if (_root.area3[nam].hurt == 10) { if ((((-1 * _root.area3._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(9); } else { _root.area3[nam].gotoAndStop(8); } } } else { if (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 7) - _root.area3[nam]._x) < 150) { if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { if (_root.area3[nam]._currentframe == 4) { _root.area3[nam].gunprog = 1; } _root.area3[nam].gotoAndStop(5); } else { if (_root.area3[nam]._currentframe == 5) { _root.area3[nam].gunprog = 1; } _root.area3[nam].gotoAndStop(4); } } else if ((((_root.area3[nam]._currentframe != 4) and (_root.area3[nam]._currentframe != 5)) or (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 7) - _root.area3[nam]._x) > 230)) and (_root.area3[nam].hit <= 0)) { if ((((-1 * _root.area2._x) + _root.ply._x) + 12) > _root.area3[nam]._x) { _root.area3[nam].shoot = false; _root.area3[nam]._x = _root.area3[nam]._x + 6; _root.area3[nam].gotoAndStop(2); } else { _root.area3[nam].shoot = false; _root.area3[nam]._x = _root.area3[nam]._x - 6; _root.area3[nam].gotoAndStop(3); } } if ((_root.checkCollision(_root.area3[nam].bod, _root.area) or (_root.checkCollision(_root.area3[nam].grd, _root.area.ground) == false)) or (yenter < 45)) { _root.area3[nam]._x = _root.area3[nam].oldx; _root.area3[nam].hit = 6; _root.area3[nam].shoot = true; if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { if (_root.area3[nam]._currentframe == 4) { _root.area3[nam].gunprog = 1; } _root.area3[nam].gotoAndStop(5); _root.area3[nam].shoot = true; } else { if (_root.area3[nam]._currentframe == 5) { _root.area3[nam].gunprog = 1; } _root.area3[nam].gotoAndStop(4); _root.area3[nam].shoot = true; } } else { _root.area3[nam].hit--; if (_root.area3[nam].hit <= 0) { _root.area3[nam].oldx = _root.area3[nam]._x; } else { _root.area3[nam].shoot = true; _root.area3[nam]._x = _root.area3[nam].oldx; } } } } else { _root.area3[nam].stop(); if (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + ((((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) + 5) * (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) + 5)))) < 250) { _root.area3[nam].chase = "on"; _root.area3[nam].play(); } } } if (_root.area3[nam].shoot == true) { _root.area3[nam].gunprog = _root.area3[nam].gunprog + 1; } else { _root.area3[nam].gunprog = 1; } } } function gaction(nam) { if (_root.area3[nam].health > -55) { if (_root.area3[nam].health <= 0) { if (_root.area3[nam].cooldown == 0) { _root.spawnenergy(_root.area3[nam]._x, _root.area3[nam]._y, 1); _root.area3[nam].cooldown = 3; } else { _root.area3[nam].cooldown--; } if (_root.area3[nam].health == 0) { _global.blklimit = _global.blklimit + 1; _root.area3[nam].chase = "off"; shoot = false; if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(6); } else { _root.area3[nam].gotoAndStop(7); } } _root.area3[nam].health--; } else if ((_root.area3[nam].chase == "on") and (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) * ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x)))) < 700)) { if (_root.area3[nam]._currentframe != 1) { if (_root.area3[nam].hurt == 0) { if (_root.checkCollision(_root.area3[nam].body, _root.area2) and (_root.area3[nam].health > 0)) { _root.area3[nam].hurt = 10; _root.area3[nam].health--; } } if (_root.area3[nam].hurt > 0) { _root.area3[nam].hurt--; _root.area3[nam].bod.gotoAndStop(2); if (_root.area3[nam].hurt == 9) { if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(8); } else { _root.area3[nam].gotoAndStop(9); } } } else { _root.area3[nam].bod.gotoAndStop(1); if ((_root.area3[nam]._currentframe != 4) and (_root.area3[nam]._currentframe != 5)) { if (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 7) - _root.area3[nam]._x) < 170) { if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(5); } else { _root.area3[nam].gotoAndStop(4); } } else if ((((-1 * _root.area2._x) + _root.ply._x) + 12) > _root.area3[nam]._x) { _root.area3[nam]._x = _root.area3[nam]._x + 7.5; _root.area3[nam].gotoAndStop(2); } else { _root.area3[nam]._x = _root.area3[nam]._x - 7.5; _root.area3[nam].gotoAndStop(3); } if ((_root.checkCollision(_root.area3[nam].bod, _root.area) or (_root.checkCollision(_root.area3[nam].grd, _root.area.ground) == false)) or (yenter < 45)) { _root.area3[nam]._x = _root.area3[nam].oldx; if ((((-1 * _root.area3._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(5); } else { _root.area3[nam].gotoAndStop(4); } } else { _root.area3[nam].oldx = _root.area3[nam]._x; } } } } } else { _root.area3[nam].stop(); if (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + ((((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) + 5) * (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) + 5)))) < 250) { _root.area3[nam].chase = "on"; _root.area3[nam].body.play(); } } } } _global.destroyheadblocks = "off"; var slide = false; _global.makeblocks = "off"; var drop = -10; _global.nomake = false; _global.knockdown = "off"; var l = 0; _global.encount = 0; var r = 0; var ox = 0; var oy = 0; var ldown = false; _global.getup = false; _global.blklimit = 65; var newx = _root.area._x; var newy = _root.area._y; _global.i = 1; _global.health = 25; stop(); _global.plytype = "basic"; _global.cooldown = 0; _global.imbalance = 0; _global.mn = 200; var jfr = 0; _global.jk = 450; stop();
Frame 16
function checkForCollision(p_clip1, p_clip2) { var _local4 = p_clip1.getBounds(_root); var _local3 = p_clip2.getBounds(_root); if (((_local4.xMax < _local3.xMin) || (_local3.xMax < _local4.xMin)) || ((_local4.yMax < _local3.yMin) || (_local3.yMax < _local4.yMin))) { return(null); } var _local2 = {}; _local2.xMin = Math.max(_local4.xMin, _local3.xMin); _local2.xMax = Math.min(_local4.xMax, _local3.xMax); _local2.yMin = Math.max(_local4.yMin, _local3.yMin); _local2.yMax = Math.min(_local4.yMax, _local3.yMax); var _local7 = new flash.display.BitmapData(_local2.xMax - _local2.xMin, _local2.yMax - _local2.yMin, false); var _local5 = p_clip1.transform.concatenatedMatrix; _local5.tx = _local5.tx - _local2.xMin; _local5.ty = _local5.ty - _local2.yMin; _local7.draw(p_clip1, _local5, new flash.geom.ColorTransform(1, 1, 1, 1, 255, -255, -255, 255)); _local5 = p_clip2.transform.concatenatedMatrix; _local5.tx = _local5.tx - _local2.xMin; _local5.ty = _local5.ty - _local2.yMin; _local7.draw(p_clip2, _local5, new flash.geom.ColorTransform(1, 1, 1, 1, 255, 255, 255, 255), "difference"); var _local6 = _local7.getColorBoundsRect(4294967295, 4278255615); if (_local6.width == 0) { return(null); } _local6.x = _local6.x + _local2.xMin; _local6.y = _local6.y + _local2.yMin; return(_local6); } function checkCollision(m, t) { var _local2 = checkForCollision(m, t); if (_local2) { } else { _global.yinter = 0; _global.yenter = 0; } if (_local2 == null) { return(false); } _global.yenter = _local2.width; _global.yinter = _local2.height; return(true); } function spawnbullet() { duplicateMovieClip (_root.area2.blt, "en" + mn, mn); _global.cooldown = 5; _global.shoot = true; ox = _root.beamguide._x; oy = _root.beamguide._y; _root.beamguide._x = _root._xmouse; _root.beamguide._y = _root._ymouse; _global.ll = (_root.ply._x + armx) - _root.beamguide._x; _global.hl = (_root.ply._y + army) - _root.beamguide._y; _root.area2["en" + mn]._x = ((-_root.area2._x) + _root.ply._x) + armx; _root.area2["en" + mn]._y = ((-_root.area2._y) + _root.ply._y) + army; _root.area2["en" + mn]._rotation = ((Math.atan2(hl, ll) * 180) / Math.PI) + 90; _root.beamguide._x = ox; _root.beamguide._y = oy; _global.mn = _global.mn + 1; if (mn == 320) { _global.mn = 200; } } function spawnenbullet(dx, dy, rot, type) { if (type == null) { type = "enblt"; } duplicateMovieClip (_root.area3[type], "en" + mn, mn); _root.area3["en" + mn]._x = dx; _root.area3["en" + mn]._y = dy - 1; _root.area3["en" + mn]._rotation = rot; _global.mn = _global.mn + 1; if (mn == 320) { _global.mn = 200; } } function spawnenergy(dx, dy, num) { rbs = 0; while (rbs < num) { duplicateMovieClip (_root.area4.energy, "en" + jk, jk); _root.area4["en" + jk]._x = dx; _root.area4["en" + jk]._y = dy; _root.area4["en" + jk]._rotation = Math.random() * 360; _root.area4["en" + jk]._alpha = 100; _global.jk = _global.jk + 1; if (jk == 680) { _global.jk = 450; } rbs++; } } function spawngenergy(dx, dy, num) { rbs = 0; while (rbs < num) { duplicateMovieClip (_root.area4.genergy, "en" + jk, jk); _root.area4["en" + jk]._x = dx; _root.area4["en" + jk]._y = dy; _root.area4["en" + jk]._rotation = Math.random() * 360; _root.area4["en" + jk]._alpha = 100; _global.jk = _global.jk + 1; if (jk == 680) { _global.jk = 450; } rbs++; } } function spawnblock(tx, ty) { if (imbalance < 68) { lll = 0; while (lll < blklimit) { if (_root.area["en" + lll]._x == undefined) { _global.i = lll; lll = blklimit; } lll++; } if (_root.area["en" + i]._x != undefined) { _root.spawnenergy(_root.area["en" + i]._x, _root.area["en" + i]._y, 1); } duplicateMovieClip (_root.area.blk, "en" + i, i); _root.area["en" + i]._x = tx; _root.area["en" + i]._y = ty; if ((((_root.checkCollision(_root.area["en" + i], _root.ply.body.toohigh) or _root.checkCollision(_root.area["en" + i], _root.ply.body.middle)) or _root.checkCollision(_root.area["en" + i], _root.area3)) or _root.checkCollision(_root.area["en" + i], _root.area2)) or _root.checkCollision(_root.area["en" + i], _root.area.ground)) { _root.beamguide.gotoAndStop(1); removeMovieClip(_root.area["en" + i]); } else { if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooleft)) { if (side2 == "left") { removeMovieClip(_root.area["en" + i]); } else { var _local4 = yenter + 1.6; var _local3 = _root.area._x; _global.run = "true"; if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooright.ini) == false) { _root.area._x = _root.area._x - _local4; if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooleft)) { _root.area._x = _root.area._x - (yenter + 1); } if (_root.checkCollision(_root.area, _root.ply.body.tooright)) { _root.area._x = _root.area._x + (yenter + 1); if (_root.checkCollision(_root.area, _root.ply.body.tooright) or _root.checkCollision(_root.area, _root.ply.body.tooleft)) { _root.area._x = _local3; _global.run = false; removeMovieClip(_root.area["en" + i]); } } } else { removeMovieClip(_root.area["en" + i]); _global.i = _global.i - 1; } } } else if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooright)) { if (side2 == "right") { removeMovieClip(_root.area["en" + i]); } else { var _local4 = yenter + 1.6; var _local3 = _root.area._x; _global.run = "true"; if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooleft.ini) == false) { _root.area._x = _root.area._x + _local4; if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooright)) { _root.area._x = _root.area._x + (yenter + 1); } if (_root.checkCollision(_root.area, _root.ply.body.tooleft)) { _root.area._x = _root.area._x - (yenter + 1); if (_root.checkCollision(_root.area, _root.ply.body.tooleft) or _root.checkCollision(_root.area, _root.ply.body.tooright)) { _root.area._x = _local3; removeMovieClip(_root.area["en" + i]); } } } else { removeMovieClip(_root.area["en" + i]); _global.i = _global.i - 1; } } } if ((_root.checkCollision(_root.area, _root.ply.body.toohigh) or _root.checkCollision(_root.area["en" + i], _root.ply.body.toolow)) and _root.checkCollision(_root.area, _root.ply.body.cantjump)) { removeMovieClip(_root.area["en" + i]); } if ((_root.checkCollision(_root.area["en" + i], _root.ply.toolow) and _root.checkCollision(_root.area, _root.ply.body.cantjump)) or _root.checkCollision(_root.area["en" + i], _root.ply.body.cantjump.noblocks)) { removeMovieClip(_root.area["en" + i]); } } if (_root.area["en" + i]._x != undefined) { _root.beamguide.gotoAndStop(2); _root.beamguide._x = _root._xmouse; _root.beamguide._y = _root._ymouse; _root.beamguide._rotation = 0; _global.ll = (_root.ply._x + armx) - _root.beamguide._x; _global.hl = (_root.ply._y + army) - _root.beamguide._y; _root.beamguide._width = Math.sqrt((hl * hl) + (ll * ll)) - 40; _root.beamguide._rotation = (Math.atan2(hl, ll) * 180) / Math.PI; _root.beamguide._visible = true; _root.beamguide._alpha = 100; } } _global.i = _global.i + 1; if (i > blklimit) { _global.i = 1; } } function checker(x) { if (Key.isDown(17)) { trace(x); } } function plyaction() { if (_root.ply._alpha < 100) { _root.ply._alpha = _root.ply._alpha + 5; if (_root.ply._alpha > 100) { _root.ply._alpha = 100; } } if (_root.checkCollision(_root.ply.body.toolow, _root.area) == false) { if (drop > -35) { drop = drop - 3.2; } if (_root.checkCollision(_root.area, _root.ply.body.canjump) == false) { var _local3 = false; if ((_root.ply._currentframe != 3) and (_root.ply._currentframe != 5)) { _global.jumping = false; } } else { var _local3 = true; } } else { if (drop < 0) { drop = 0; } var _local3 = true; } if (jumping == true) { _global.jumping = false; drop = 38; if (side2 == "left") { l = l + 2; } else { r = r + 2; } var _local3 = false; } if (((jumping != "begin") and (_local3 == false)) and (knockdown == "off")) { slide = false; if (drop <= -4) { if (side2 == "right") { _root.ply.gotoAndStop(4); } else { _root.ply.gotoAndStop(6); } } } if ((((((_local3 == true) and (drop == 0)) and (Math.abs(r - l) > 1)) and (slide == false)) and (knockdown == "off")) and (jumping != "begin")) { if (side2 == "left") { _root.ply.gotoAndStop(2); } else { _root.ply.gotoAndStop(1); } } _root.area._y = _root.area._y + (drop / 2.2); ldown = false; if (_root.checkCollision(_root.ply.body.toolow.ini, _root.area)) { _root.area._y = _root.area._y + (yinter + 1); if (_root.checkCollision(_root.ply.body.toolow.ini, _root.area)) { _root.area._y = _root.area._y + (yinter + 1); } } if (((((knockdown == "on") and (_root.ply._currentframe != 13)) and (_root.ply._currentframe != 14)) and (_root.ply._currentframe != 15)) and (_root.ply._currentframe != 16)) { if (_root._currentframe == 7) { _global.health = _global.health - 5; } if (side2 == "left") { _root.ply.gotoAndStop(14); drop = 24; var _local3 = false; r = 35; l = 0; } else { drop = 24; var _local3 = false; l = 35; r = 0; _root.ply.gotoAndStop(13); } _root.area._y = _root.area._y + 10; } if (((_root.ply._currentframe == 14) or (_root.ply._currentframe == 13)) and (_local3 == true)) { if (side2 == "left") { _root.ply.gotoAndStop(16); } else { _root.ply.gotoAndStop(15); } } if (jumping == false) { if (_root.checkCollision(_root.ply.body.tooright, _root.area) == false) { if (Key.isDown(68) and (knockdown == "off")) { ldown = true; if (r < 11) { if (r < 1.5) { r = r + 1.5; } r = r + 0.5; } if ((_local3 == true) and (drop < 5)) { if ((l >= r) and (((l - r) > 7) or (slide == true))) { _root.ply.gotoAndStop(7); slide = true; } else { _root.ply.gotoAndStop(1); if (slide == true) { r = 1; slide = false; l = 0; } } } else if ((drop <= -15) or ((((((drop > 0) and (_root.ply._currentframe != 3)) and (_root.ply._currentframe != 5)) and (_root.ply._currentframe != 9)) and (_root.ply._currentframe != 10)) and (getup == false))) { _root.ply.gotoAndStop(4); _global.side2 = "right"; } } else if (r > 1.1) { r = r / 1.08; } else { r = 0; } } else { r = 0; } if ((r > 14) and (_local3 == true)) { r = r / 1.2; } if (_root.checkCollision(_root.ply.body.tooleft, _root.area) == false) { if ((Key.isDown(65) and (ldown == false)) and (knockdown == "off")) { if (l < 11) { if (l < 1.5) { l = l + 1.5; } l = l + 0.5; } if ((_local3 == true) and (drop < 5)) { if ((r >= l) and (((r - l) > 7) or (slide == true))) { _root.ply.gotoAndStop(8); slide = true; } else { _root.ply.gotoAndStop(2); if (slide == true) { r = 0; slide = false; l = 1; } } } else if ((drop <= -15) or ((((((drop > 0) and (_root.ply._currentframe != 5)) and (_root.ply._currentframe != 3)) and (_root.ply._currentframe != 9)) and (_root.ply._currentframe != 10)) and (getup == false))) { _root.ply.gotoAndStop(6); _global.side2 = "left"; } } else if (l > 1.1) { l = l / 1.08; } else { l = 0; } } else { l = 0; } } if ((l > 14) and (_local3 == true)) { l = l / 1.2; } _root.area._x = _root.area._x + l; _root.area._x = _root.area._x - r; if ((((((((_local3 == true) and (r < 2)) and (l < 2)) and (jumping == false)) and (drop < 1)) and (drop > -1)) and (slide == false)) and (getup == false)) { if (knockdown == "off") { if (side2 == "left") { _root.ply.gotoAndStop(12); } else { _root.ply.gotoAndStop(11); } } } if (_root.checkCollision(_root.ply.body.toohigh.hcontact, _root.area)) { _root.checkCollision(_root.ply.body.toohigh, _root.area); _root.area._y = _root.area._y - (yinter + 1); if (_root.checkCollision(_root.ply.body.toohigh.hcontact, _root.area)) { if (yenter > 4) { _root.checkCollision(_root.ply.body.toohigh, _root.area); _root.area._y = _root.area._y - (yinter + 1); } } if (drop >= 0) { drop = drop * -0.5; } } if (_root.checkCollision(_root.ply.body.toolow.ini, _root.area)) { _root.area._y = _root.area._y + (yinter + 1); if (_root.checkCollision(_root.ply.body.toolow.ini, _root.area)) { _root.area._y = _root.area._y + (yinter + 1); } } if (_root.checkCollision(_root.ply.body.tooright.ini, _root.area)) { _root.area._x = _root.area._x + yenter; r = 0; if (_root.checkCollision(_root.ply.body.tooright.ini, _root.area)) { _root.area._x = _root.area._x + (yenter + 1); } } if (_root.checkCollision(_root.ply.body.tooleft.ini, _root.area)) { _root.area._x = _root.area._x - yenter; l = 0; if (_root.checkCollision(_root.ply.body.tooleft.ini, _root.area)) { _root.area._x = _root.area._x - (yenter + 1); } } if (_root.checkCollision(_root.ply.body.toohigh.hcontact, _root.area) == false) { newy = _root.area._y; newx = _root.area._x; } else { r = 0; _root.area._x = newx; _root.area._y = newy; drop = 0; l = 0; } if (((((((_local3 == true) and (knockdown == "off")) and (_root.checkCollision(_root.ply.body.cantjump, _root.area) == false)) and (_root.ply._currentframe != 3)) and (_root.ply._currentframe != 5)) and (_root.ply._currentframe != 9)) and (_root.ply._currentframe != 10)) { if (Key.isDown(87)) { _global.jumping = "begin"; if (side2 == "right") { if (slide == true) { _root.ply.gotoAndStop(9); drop = 54; l = 18; slide = false; _global.side2 = "left"; } else { _root.ply.gotoAndStop(3); } } else if (slide == true) { _root.ply.gotoAndStop(10); drop = 54; r = 18; slide = false; _global.side2 = "right"; } else { _root.ply.gotoAndStop(5); } } } _global.bldrop = drop; _global.blspd = r - l; _root.area2._x = _root.area._x; _root.area3._x = _root.area._x; _root.area2._y = _root.area._y; _root.area3._y = _root.area._y; _root.area4._x = _root.area._x; _root.area4._y = _root.area._y; _root.area5._x = _root.area._x; _root.area5._y = _root.area._y; } function araction(nam) { if (_root.area3[nam].destroy == "on") { removeMovieClip(_root.area3[nam]); } else if (_root.area3[nam].destroy == "ready") { _root.area3[nam].destroy = "ready2"; } else if (_root.area3[nam].destroy == "ready2") { _root.area3[nam].destroy = "ready3"; } else if (_root.area3[nam].destroy == "ready3") { _root.area3[nam].destroy = "on"; } _root.area3[nam].timer = _root.area3[nam].timer - 1; if (_root.area3[nam].timer == 0) { removeMovieClip(_root.area3[nam]); _root.area3[nam].timer = 2; } _global.rot = _root.area3[nam]._rotation; if (rot < 0) { _global.rot = _global.rot + 360; } if (_root.area3[nam].destroy == "off") { _root.area3[nam]._x = _root.area3[nam]._x - (Math.cos((_root.area3[nam]._rotation * Math.PI) / 180) * 20); _root.area3[nam]._y = _root.area3[nam]._y - (Math.sin((_root.area3[nam]._rotation * Math.PI) / 180) * 20); } if (_root.checkCollision(_root.area, _root.area3[nam])) { _root.area3[nam].destroy = "ready"; var _local4 = Math.sqrt((yenter * yenter) + (yinter * yinter)); _root.area3[nam]._x = _root.area3[nam]._x + ((_local4 + 6) * Math.cos((_root.area3[nam]._rotation * Math.PI) / 180)); _root.area3[nam]._y = _root.area3[nam]._y + ((_local4 + 6) * Math.sin((_root.area3[nam]._rotation * Math.PI) / 180)); if (_root.checkCollision(_root.area, _root.area3[nam])) { _local4 = Math.sqrt((yenter * yenter) + (yinter * yinter)); _root.area3[nam]._x = _root.area3[nam]._x + ((_local4 + 6) * Math.cos((_root.area3[nam]._rotation * Math.PI) / 180)); _root.area3[nam]._y = _root.area3[nam]._y + ((_local4 + 6) * Math.sin((_root.area3[nam]._rotation * Math.PI) / 180)); } } if (_root.area3[nam].destroy == "off") { if (_root.checkCollision(_root.ply.bod, _root.area3[nam])) { _root.area3[nam].destroy = "ready"; _global.health = _global.health - 1; _root.area3[nam].gotoAndStop(2); } } } function bowaction(nam) { if (_root.area3[nam]._currentframe != 41) { if ((_root.area3[nam].health <= 0) and (_root.area3[nam]._currentframe < 41)) { _root.spawnenergy(_root.area3[nam]._x + ((_root.area3[nam]._currentframe * 6) * Math.cos((_root.area3[nam]._rotation * Math.PI) / 180)), _root.area3[nam]._y + ((_root.area3[nam]._currentframe * 6) * Math.sin((_root.area3[nam]._rotation * Math.PI) / 180)), 1); if (_root.area3[nam]._currentframe < 29) { _global.encount = _global.encount - 1; _global.blklimit = _global.blklimit + 1; _root.area3[nam].chase = false; _root.area3[nam].gotoAndPlay(29); } } else { if (_root.area3[nam].hurt == 0) { if (_root.checkCollision(_root.area3[nam], _root.area2)) { if (_root.area3[nam].chase == false) { _root.area3[nam].play(); _root.area3[nam].chase = true; } if (((-1 * _root.area2._x) + _root.ply._x) > _root.area3[nam]._x) { _root.area3[nam]._x = _root.area3[nam]._x - 7; } else { _root.area3[nam]._x = _root.area3[nam]._x + 7; } if (((-1 * _root.area2._y) + _root.ply._y) > _root.area3[nam]._y) { _root.area3[nam]._y = _root.area3[nam]._y - 5; } else { _root.area3[nam]._y = _root.area3[nam]._y + 5; } if ((_root.checkCollision(_root.area3[nam].bod, _root.area2) and (_root.area3[nam].hurt == 0)) and (health > 0)) { _root.area3[nam].hurt = 15; _root.area3[nam].bod.play(); _root.area3[nam].health--; } } } if (_root.area3[nam].hurt > 0) { _root.area3[nam].hurt--; _root.area3[nam].bod.play(); } else { _root.area3[nam].bod.gotoAndStop(1); } if ((_root.area3[nam].chase == true) and (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) * ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x)))) < 1500)) { if (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 15) - _root.area3[nam]._x) < 4) { _root.area3[nam]._x = ((-1 * _root.area2._x) + _root.ply._x) + 15; } else if ((((-1 * _root.area2._x) + _root.ply._x) + 12) > _root.area3[nam]._x) { _root.area3[nam]._x = _root.area3[nam]._x + 5; } else { _root.area3[nam]._x = _root.area3[nam]._x - 5; } if (_root.checkCollision(_root.area3[nam].bod, _root.area.ground)) { _root.area3[nam]._x = _root.area3[nam].oldx; } else { _root.area3[nam].oldx = _root.area3[nam]._x; } if (Math.abs((((-1 * _root.area2._y) + _root.ply._y) + 30) - _root.area3[nam]._y) < 3) { _root.area3[nam]._y = ((-1 * _root.area2._y) + _root.ply._y) + 30; } else if ((((-1 * _root.area2._y) + _root.ply._y) + 30) > _root.area3[nam]._y) { _root.area3[nam]._y = _root.area3[nam]._y + 4; } else { _root.area3[nam]._y = _root.area3[nam]._y - 4; } if (_root.checkCollision(_root.area3[nam].bod, _root.area.ground)) { _root.area3[nam]._y = _root.area3[nam].oldy; } else { _root.area3[nam].oldy = _root.area3[nam]._y; } var _local4 = (-1 * Math.abs((Math.atan2(((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) - 30, ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) - 12) * 180) / Math.PI)) - 0; if (Math.abs(_local4 - _root.area3[nam]._rotation) < 8) { _root.area3[nam]._rotation = _local4; } else if (_local4 > _root.area3[nam]._rotation) { _root.area3[nam]._rotation = _root.area3[nam]._rotation + 8; } else { _root.area3[nam]._rotation = _root.area3[nam]._rotation - 8; } if (_root.checkCollision(_root.area3[nam].bod, _root.area.ground)) { _root.area3[nam]._rotation = oldrot; } else { oldrot = _root.area3[nam]._rotation; } if (_root.area3[nam].fire == true) { _root.spawnenbullet(_root.area3[nam]._x + (31.6 * Math.cos((_root.area3[nam]._rotation * Math.PI) / 180)), _root.area3[nam]._y + (31.4 * Math.sin((_root.area3[nam]._rotation * Math.PI) / 180)), _root.area3[nam]._rotation, "enar"); _root.area3[nam].fire = false; } } else { _root.area3[nam].stop(); if (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) * ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x)))) < 200) { _root.area3[nam].chase = true; _root.area3[nam].play(); } } } } } function blkaction(nam) { if (_root.area[nam].destroy != 0) { if (_root.checkCollision(_root.area[nam], _root.ply.body)) { removeMovieClip(_root.area[nam]); } } if (_root.area[nam].destroy == 1) { _root.area[nam].destroy = 2; _root.area[nam].cd = 13; _root.spawngenergy(_root.area[nam]._x, _root.area[nam]._y, 1); } if (_root.area[nam].destroy == 2) { _root.area[nam].cd--; } else if (bstage == 10) { _root.area[nam].destroy = 1; _root.area[nam].gotoAndPlay(2); } else if (_root.checkCollision(_root.area[nam], _root.area2)) { _root.area[nam].destroy = 1; _root.area[nam].gotoAndPlay(2); } else if (_root.checkCollision(_root.area[nam], _root.area3)) { _root.area[nam].destroy = 1; _root.area[nam].gotoAndPlay(2); } if ((_root.area[nam].destroy == 2) and (_root.area[nam].cd == 0)) { removeMovieClip(_root.area[nam]); } } function beamaction() { if (_root.beamguide._alpha <= 0) { _root.beamguide._alpha = 100; _root.beamguide._visible = false; } if (_root.beamguide._visible == true) { _root.beamguide._alpha = _root.beamguide._alpha - 10; if (makeblocks == "on") { _root.beamguide.gotoAndStop(2); } else { _root.beamguide.gotoAndStop(1); } _root.beamguide._xscale = _root.beamguide._xscale / 1.1; } else { _root.beamguide.gotoAndStop(3); } } function solaction(nam) { if (_root.area3[nam].health > -55) { _root.area3[nam].shoot = true; if (_root.area3[nam].health <= 0) { if (_root.area3[nam].cooldown == 0) { _root.spawnenergy(_root.area3[nam]._x, _root.area3[nam]._y, 1); _root.area3[nam].cooldown = 3; } else { _root.area3[nam].cooldown--; } if (_root.area3[nam].health == 0) { _global.blklimit = _global.blklimit + 1; _root.area3[nam].chase = "off"; _root.area3[nam].shoot = false; if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(6); } else { _root.area3[nam].gotoAndStop(7); } } _root.area3[nam].health--; } else { if (_root.area3[nam].hurt == 0) { if (_root.checkCollision(_root.area3[nam], _root.area2)) { if (_root.area3[nam].chase == "off") { _root.area3[nam].play(); _root.area3[nam].chase = "on"; } if ((_root.checkCollision(_root.area3[nam].bod, _root.area2) and (_root.area3[nam].hurt == 0)) and (_root.area3[nam].health > 0)) { _root.area3[nam].hurt = 11; _root.area3[nam].health--; } } } if ((_root.area3[nam].chase == "on") and (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) * ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x)))) < 700)) { if (_root.area3[nam].hurt > 0) { _root.area3[nam].hurt--; if (_root.area3[nam].hurt == 10) { if ((((-1 * _root.area3._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(9); } else { _root.area3[nam].gotoAndStop(8); } } } else { if (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 7) - _root.area3[nam]._x) < 150) { if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { if (_root.area3[nam]._currentframe == 4) { _root.area3[nam].gunprog = 1; } _root.area3[nam].gotoAndStop(5); } else { if (_root.area3[nam]._currentframe == 5) { _root.area3[nam].gunprog = 1; } _root.area3[nam].gotoAndStop(4); } } else if ((((_root.area3[nam]._currentframe != 4) and (_root.area3[nam]._currentframe != 5)) or (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 7) - _root.area3[nam]._x) > 230)) and (_root.area3[nam].hit <= 0)) { if ((((-1 * _root.area2._x) + _root.ply._x) + 12) > _root.area3[nam]._x) { _root.area3[nam].shoot = false; _root.area3[nam]._x = _root.area3[nam]._x + 6; _root.area3[nam].gotoAndStop(2); } else { _root.area3[nam].shoot = false; _root.area3[nam]._x = _root.area3[nam]._x - 6; _root.area3[nam].gotoAndStop(3); } } if ((_root.checkCollision(_root.area3[nam].bod, _root.area) or (_root.checkCollision(_root.area3[nam].grd, _root.area.ground) == false)) or (yenter < 45)) { _root.area3[nam]._x = _root.area3[nam].oldx; _root.area3[nam].hit = 6; _root.area3[nam].shoot = true; if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { if (_root.area3[nam]._currentframe == 4) { _root.area3[nam].gunprog = 1; } _root.area3[nam].gotoAndStop(5); _root.area3[nam].shoot = true; } else { if (_root.area3[nam]._currentframe == 5) { _root.area3[nam].gunprog = 1; } _root.area3[nam].gotoAndStop(4); _root.area3[nam].shoot = true; } } else { _root.area3[nam].hit--; if (_root.area3[nam].hit <= 0) { _root.area3[nam].oldx = _root.area3[nam]._x; } else { _root.area3[nam].shoot = true; _root.area3[nam]._x = _root.area3[nam].oldx; } } } } else { _root.area3[nam].stop(); if (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + ((((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) + 5) * (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) + 5)))) < 250) { _root.area3[nam].chase = "on"; _root.area3[nam].play(); } } } if (_root.area3[nam].shoot == true) { _root.area3[nam].gunprog = _root.area3[nam].gunprog + 1; } else { _root.area3[nam].gunprog = 1; } } } function gaction(nam) { if (_root.area3[nam].health > -55) { if (_root.area3[nam].health <= 0) { if (_root.area3[nam].cooldown == 0) { _root.spawnenergy(_root.area3[nam]._x, _root.area3[nam]._y, 1); _root.area3[nam].cooldown = 3; } else { _root.area3[nam].cooldown--; } if (_root.area3[nam].health == 0) { _global.blklimit = _global.blklimit + 1; _root.area3[nam].chase = "off"; shoot = false; if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(6); } else { _root.area3[nam].gotoAndStop(7); } } _root.area3[nam].health--; } else if ((_root.area3[nam].chase == "on") and (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) * ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x)))) < 700)) { if (_root.area3[nam]._currentframe != 1) { if (_root.area3[nam].hurt == 0) { if (_root.checkCollision(_root.area3[nam].body, _root.area2) and (_root.area3[nam].health > 0)) { _root.area3[nam].hurt = 10; _root.area3[nam].health--; } } if (_root.area3[nam].hurt > 0) { _root.area3[nam].hurt--; _root.area3[nam].bod.gotoAndStop(2); if (_root.area3[nam].hurt == 9) { if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(8); } else { _root.area3[nam].gotoAndStop(9); } } } else { _root.area3[nam].bod.gotoAndStop(1); if ((_root.area3[nam]._currentframe != 4) and (_root.area3[nam]._currentframe != 5)) { if (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 7) - _root.area3[nam]._x) < 170) { if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(5); } else { _root.area3[nam].gotoAndStop(4); } } else if ((((-1 * _root.area2._x) + _root.ply._x) + 12) > _root.area3[nam]._x) { _root.area3[nam]._x = _root.area3[nam]._x + 7.5; _root.area3[nam].gotoAndStop(2); } else { _root.area3[nam]._x = _root.area3[nam]._x - 7.5; _root.area3[nam].gotoAndStop(3); } if ((_root.checkCollision(_root.area3[nam].bod, _root.area) or (_root.checkCollision(_root.area3[nam].grd, _root.area.ground) == false)) or (yenter < 45)) { _root.area3[nam]._x = _root.area3[nam].oldx; if ((((-1 * _root.area3._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(5); } else { _root.area3[nam].gotoAndStop(4); } } else { _root.area3[nam].oldx = _root.area3[nam]._x; } } } } } else { _root.area3[nam].stop(); if (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + ((((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) + 5) * (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) + 5)))) < 250) { _root.area3[nam].chase = "on"; _root.area3[nam].body.play(); } } } } _global.destroyheadblocks = "off"; var slide = false; _global.makeblocks = "off"; var drop = -10; _global.knockdown = "off"; var l = 0; _global.encount = 0; var r = 0; var ox = 0; var oy = 0; var ldown = false; _global.getup = false; _global.blklimit = 65; var newx = _root.area._x; var newy = _root.area._y; _global.i = 1; _global.health = 25; stop(); _global.plytype = "basic"; _global.cooldown = 0; _global.imbalance = 0; _global.mn = 200; var jfr = 0; _global.jk = 450;
Frame 17
function checkForCollision(p_clip1, p_clip2) { var _local4 = p_clip1.getBounds(_root); var _local3 = p_clip2.getBounds(_root); if (((_local4.xMax < _local3.xMin) || (_local3.xMax < _local4.xMin)) || ((_local4.yMax < _local3.yMin) || (_local3.yMax < _local4.yMin))) { return(null); } var _local2 = {}; _local2.xMin = Math.max(_local4.xMin, _local3.xMin); _local2.xMax = Math.min(_local4.xMax, _local3.xMax); _local2.yMin = Math.max(_local4.yMin, _local3.yMin); _local2.yMax = Math.min(_local4.yMax, _local3.yMax); var _local7 = new flash.display.BitmapData(_local2.xMax - _local2.xMin, _local2.yMax - _local2.yMin, false); var _local5 = p_clip1.transform.concatenatedMatrix; _local5.tx = _local5.tx - _local2.xMin; _local5.ty = _local5.ty - _local2.yMin; _local7.draw(p_clip1, _local5, new flash.geom.ColorTransform(1, 1, 1, 1, 255, -255, -255, 255)); _local5 = p_clip2.transform.concatenatedMatrix; _local5.tx = _local5.tx - _local2.xMin; _local5.ty = _local5.ty - _local2.yMin; _local7.draw(p_clip2, _local5, new flash.geom.ColorTransform(1, 1, 1, 1, 255, 255, 255, 255), "difference"); var _local6 = _local7.getColorBoundsRect(4294967295, 4278255615); if (_local6.width == 0) { return(null); } _local6.x = _local6.x + _local2.xMin; _local6.y = _local6.y + _local2.yMin; return(_local6); } function checkCollision(m, t) { var _local2 = checkForCollision(m, t); if (_local2) { } else { _global.yinter = 0; _global.yenter = 0; } if (_local2 == null) { return(false); } _global.yenter = _local2.width; _global.yinter = _local2.height; return(true); } function spawnbullet() { duplicateMovieClip (_root.area2.blt, "en" + mn, mn); _global.cooldown = 5; _global.shoot = true; ox = _root.beamguide._x; oy = _root.beamguide._y; _root.beamguide._x = _root._xmouse; _root.beamguide._y = _root._ymouse; _global.ll = (_root.ply._x + armx) - _root.beamguide._x; _global.hl = (_root.ply._y + army) - _root.beamguide._y; _root.area2["en" + mn]._x = ((-_root.area2._x) + _root.ply._x) + armx; _root.area2["en" + mn]._y = ((-_root.area2._y) + _root.ply._y) + army; _root.area2["en" + mn]._rotation = ((Math.atan2(hl, ll) * 180) / Math.PI) + 90; _root.beamguide._x = ox; _root.beamguide._y = oy; _global.mn = _global.mn + 1; if (mn == 320) { _global.mn = 200; } } function spawnenbullet(dx, dy, rot, type) { if (type == null) { type = "enblt"; } duplicateMovieClip (_root.area3[type], "en" + mn, mn); _root.area3["en" + mn]._x = dx; _root.area3["en" + mn]._y = dy - 1; _root.area3["en" + mn]._rotation = rot; _global.mn = _global.mn + 1; if (mn == 320) { _global.mn = 200; } } function spawnenergy(dx, dy, num) { rbs = 0; while (rbs < num) { duplicateMovieClip (_root.area4.energy, "en" + jk, jk); _root.area4["en" + jk]._x = dx; _root.area4["en" + jk]._y = dy; _root.area4["en" + jk]._rotation = Math.random() * 360; _root.area4["en" + jk]._alpha = 100; _global.jk = _global.jk + 1; if (jk == 680) { _global.jk = 450; } rbs++; } } function spawngenergy(dx, dy, num) { rbs = 0; while (rbs < num) { duplicateMovieClip (_root.area4.genergy, "en" + jk, jk); _root.area4["en" + jk]._x = dx; _root.area4["en" + jk]._y = dy; _root.area4["en" + jk]._rotation = Math.random() * 360; _root.area4["en" + jk]._alpha = 100; _global.jk = _global.jk + 1; if (jk == 680) { _global.jk = 450; } rbs++; } } function spawnblock(tx, ty) { if (imbalance < 68) { lll = 0; while (lll < blklimit) { if (_root.area["en" + lll]._x == undefined) { _global.i = lll; lll = blklimit; } lll++; } if (_root.area["en" + i]._x != undefined) { _root.spawnenergy(_root.area["en" + i]._x, _root.area["en" + i]._y, 1); } duplicateMovieClip (_root.area.blk, "en" + i, i); _root.area["en" + i]._x = tx; _root.area["en" + i]._y = ty; if ((((_root.checkCollision(_root.area["en" + i], _root.ply.body.toohigh) or _root.checkCollision(_root.area["en" + i], _root.ply.body.middle)) or _root.checkCollision(_root.area["en" + i], _root.area3)) or _root.checkCollision(_root.area["en" + i], _root.area2)) or _root.checkCollision(_root.area["en" + i], _root.area.ground)) { _root.beamguide.gotoAndStop(1); removeMovieClip(_root.area["en" + i]); } else { if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooleft)) { if (side2 == "left") { removeMovieClip(_root.area["en" + i]); } else { var _local4 = yenter + 1.6; var _local3 = _root.area._x; _global.run = "true"; if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooright.ini) == false) { _root.area._x = _root.area._x - _local4; if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooleft)) { _root.area._x = _root.area._x - (yenter + 1); } if (_root.checkCollision(_root.area, _root.ply.body.tooright)) { _root.area._x = _root.area._x + (yenter + 1); if (_root.checkCollision(_root.area, _root.ply.body.tooright) or _root.checkCollision(_root.area, _root.ply.body.tooleft)) { _root.area._x = _local3; _global.run = false; removeMovieClip(_root.area["en" + i]); } } } else { removeMovieClip(_root.area["en" + i]); _global.i = _global.i - 1; } } } else if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooright)) { if (side2 == "right") { removeMovieClip(_root.area["en" + i]); } else { var _local4 = yenter + 1.6; var _local3 = _root.area._x; _global.run = "true"; if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooleft.ini) == false) { _root.area._x = _root.area._x + _local4; if (_root.checkCollision(_root.area["en" + i], _root.ply.body.tooright)) { _root.area._x = _root.area._x + (yenter + 1); } if (_root.checkCollision(_root.area, _root.ply.body.tooleft)) { _root.area._x = _root.area._x - (yenter + 1); if (_root.checkCollision(_root.area, _root.ply.body.tooleft) or _root.checkCollision(_root.area, _root.ply.body.tooright)) { _root.area._x = _local3; removeMovieClip(_root.area["en" + i]); } } } else { removeMovieClip(_root.area["en" + i]); _global.i = _global.i - 1; } } } if ((_root.checkCollision(_root.area, _root.ply.body.toohigh) or _root.checkCollision(_root.area["en" + i], _root.ply.body.toolow)) and _root.checkCollision(_root.area, _root.ply.body.cantjump)) { removeMovieClip(_root.area["en" + i]); } if ((_root.checkCollision(_root.area["en" + i], _root.ply.toolow) and _root.checkCollision(_root.area, _root.ply.body.cantjump)) or _root.checkCollision(_root.area["en" + i], _root.ply.body.cantjump.noblocks)) { removeMovieClip(_root.area["en" + i]); } } if (_root.area["en" + i]._x != undefined) { _root.beamguide.gotoAndStop(2); _root.beamguide._x = _root._xmouse; _root.beamguide._y = _root._ymouse; _root.beamguide._rotation = 0; _global.ll = (_root.ply._x + armx) - _root.beamguide._x; _global.hl = (_root.ply._y + army) - _root.beamguide._y; _root.beamguide._width = Math.sqrt((hl * hl) + (ll * ll)) - 40; _root.beamguide._rotation = (Math.atan2(hl, ll) * 180) / Math.PI; _root.beamguide._visible = true; _root.beamguide._alpha = 100; } } _global.i = _global.i + 1; if (i > blklimit) { _global.i = 1; } } function checker(x) { if (Key.isDown(17)) { trace(x); } } function plyaction() { if (_root.ply._alpha < 100) { _root.ply._alpha = _root.ply._alpha + 5; if (_root.ply._alpha > 100) { _root.ply._alpha = 100; } } if (_root.checkCollision(_root.ply.body.toolow, _root.area) == false) { if (drop > -35) { drop = drop - 3.2; } if (_root.checkCollision(_root.area, _root.ply.body.canjump) == false) { var _local3 = false; if ((_root.ply._currentframe != 3) and (_root.ply._currentframe != 5)) { _global.jumping = false; } } else { var _local3 = true; } } else { if (drop < 0) { drop = 0; } var _local3 = true; } if (jumping == true) { _global.jumping = false; drop = 38; if (side2 == "left") { l = l + 2; } else { r = r + 2; } var _local3 = false; } if (((jumping != "begin") and (_local3 == false)) and (knockdown == "off")) { slide = false; if (drop <= -4) { if (side2 == "right") { _root.ply.gotoAndStop(4); } else { _root.ply.gotoAndStop(6); } } } if ((((((_local3 == true) and (drop == 0)) and (Math.abs(r - l) > 1)) and (slide == false)) and (knockdown == "off")) and (jumping != "begin")) { if (side2 == "left") { _root.ply.gotoAndStop(2); } else { _root.ply.gotoAndStop(1); } } _root.area._y = _root.area._y + (drop / 2.2); ldown = false; if (_root.checkCollision(_root.ply.body.toolow.ini, _root.area)) { _root.area._y = _root.area._y + (yinter + 1); if (_root.checkCollision(_root.ply.body.toolow.ini, _root.area)) { _root.area._y = _root.area._y + (yinter + 1); } } if (((((knockdown == "on") and (_root.ply._currentframe != 13)) and (_root.ply._currentframe != 14)) and (_root.ply._currentframe != 15)) and (_root.ply._currentframe != 16)) { if (_root._currentframe == 7) { _global.health = _global.health - 5; } if (side2 == "left") { _root.ply.gotoAndStop(14); drop = 24; var _local3 = false; r = 35; l = 0; } else { drop = 24; var _local3 = false; l = 35; r = 0; _root.ply.gotoAndStop(13); } _root.area._y = _root.area._y + 10; } if (((_root.ply._currentframe == 14) or (_root.ply._currentframe == 13)) and (_local3 == true)) { if (side2 == "left") { _root.ply.gotoAndStop(16); } else { _root.ply.gotoAndStop(15); } } if (jumping == false) { if (_root.checkCollision(_root.ply.body.tooright, _root.area) == false) { if (Key.isDown(68) and (knockdown == "off")) { ldown = true; if (r < 11) { if (r < 1.5) { r = r + 1.5; } r = r + 0.5; } if ((_local3 == true) and (drop < 5)) { if ((l >= r) and (((l - r) > 7) or (slide == true))) { _root.ply.gotoAndStop(7); slide = true; } else { _root.ply.gotoAndStop(1); if (slide == true) { r = 1; slide = false; l = 0; } } } else if ((drop <= -15) or ((((((drop > 0) and (_root.ply._currentframe != 3)) and (_root.ply._currentframe != 5)) and (_root.ply._currentframe != 9)) and (_root.ply._currentframe != 10)) and (getup == false))) { _root.ply.gotoAndStop(4); _global.side2 = "right"; } } else if (r > 1.1) { r = r / 1.08; } else { r = 0; } } else { r = 0; } if ((r > 14) and (_local3 == true)) { r = r / 1.2; } if (_root.checkCollision(_root.ply.body.tooleft, _root.area) == false) { if ((Key.isDown(65) and (ldown == false)) and (knockdown == "off")) { if (l < 11) { if (l < 1.5) { l = l + 1.5; } l = l + 0.5; } if ((_local3 == true) and (drop < 5)) { if ((r >= l) and (((r - l) > 7) or (slide == true))) { _root.ply.gotoAndStop(8); slide = true; } else { _root.ply.gotoAndStop(2); if (slide == true) { r = 0; slide = false; l = 1; } } } else if ((drop <= -15) or ((((((drop > 0) and (_root.ply._currentframe != 5)) and (_root.ply._currentframe != 3)) and (_root.ply._currentframe != 9)) and (_root.ply._currentframe != 10)) and (getup == false))) { _root.ply.gotoAndStop(6); _global.side2 = "left"; } } else if (l > 1.1) { l = l / 1.08; } else { l = 0; } } else { l = 0; } } if ((l > 14) and (_local3 == true)) { l = l / 1.2; } _root.area._x = _root.area._x + l; _root.area._x = _root.area._x - r; if ((((((((_local3 == true) and (r < 2)) and (l < 2)) and (jumping == false)) and (drop < 1)) and (drop > -1)) and (slide == false)) and (getup == false)) { if (knockdown == "off") { if (side2 == "left") { _root.ply.gotoAndStop(12); } else { _root.ply.gotoAndStop(11); } } } if (_root.checkCollision(_root.ply.body.toohigh.hcontact, _root.area)) { _root.checkCollision(_root.ply.body.toohigh, _root.area); _root.area._y = _root.area._y - (yinter + 1); if (_root.checkCollision(_root.ply.body.toohigh.hcontact, _root.area)) { if (yenter > 4) { _root.checkCollision(_root.ply.body.toohigh, _root.area); _root.area._y = _root.area._y - (yinter + 1); } } if (drop >= 0) { drop = drop * -0.5; } } if (_root.checkCollision(_root.ply.body.toolow.ini, _root.area)) { _root.area._y = _root.area._y + (yinter + 1); if (_root.checkCollision(_root.ply.body.toolow.ini, _root.area)) { _root.area._y = _root.area._y + (yinter + 1); } } if (_root.checkCollision(_root.ply.body.tooright.ini, _root.area)) { _root.area._x = _root.area._x + yenter; r = 0; if (_root.checkCollision(_root.ply.body.tooright.ini, _root.area)) { _root.area._x = _root.area._x + (yenter + 1); } } if (_root.checkCollision(_root.ply.body.tooleft.ini, _root.area)) { _root.area._x = _root.area._x - yenter; l = 0; if (_root.checkCollision(_root.ply.body.tooleft.ini, _root.area)) { _root.area._x = _root.area._x - (yenter + 1); } } if (_root.checkCollision(_root.ply.body.toohigh.hcontact, _root.area) == false) { newy = _root.area._y; newx = _root.area._x; } else { r = 0; _root.area._x = newx; _root.area._y = newy; drop = 0; l = 0; } if (((((((_local3 == true) and (knockdown == "off")) and (_root.checkCollision(_root.ply.body.cantjump, _root.area) == false)) and (_root.ply._currentframe != 3)) and (_root.ply._currentframe != 5)) and (_root.ply._currentframe != 9)) and (_root.ply._currentframe != 10)) { if (Key.isDown(87)) { _global.jumping = "begin"; if (side2 == "right") { if (slide == true) { _root.ply.gotoAndStop(9); drop = 54; l = 18; slide = false; _global.side2 = "left"; } else { _root.ply.gotoAndStop(3); } } else if (slide == true) { _root.ply.gotoAndStop(10); drop = 54; r = 18; slide = false; _global.side2 = "right"; } else { _root.ply.gotoAndStop(5); } } } _global.bldrop = drop; _global.blspd = r - l; _root.area2._x = _root.area._x; _root.area3._x = _root.area._x; _root.area2._y = _root.area._y; _root.area3._y = _root.area._y; _root.area4._x = _root.area._x; _root.area4._y = _root.area._y; _root.area5._x = _root.area._x; _root.area5._y = _root.area._y; } function araction(nam) { if (_root.area3[nam].destroy == "on") { removeMovieClip(_root.area3[nam]); } else if (_root.area3[nam].destroy == "ready") { _root.area3[nam].destroy = "ready2"; } else if (_root.area3[nam].destroy == "ready2") { _root.area3[nam].destroy = "ready3"; } else if (_root.area3[nam].destroy == "ready3") { _root.area3[nam].destroy = "on"; } _root.area3[nam].timer = _root.area3[nam].timer - 1; if (_root.area3[nam].timer == 0) { removeMovieClip(_root.area3[nam]); _root.area3[nam].timer = 2; } _global.rot = _root.area3[nam]._rotation; if (rot < 0) { _global.rot = _global.rot + 360; } if (_root.area3[nam].destroy == "off") { _root.area3[nam]._x = _root.area3[nam]._x - (Math.cos((_root.area3[nam]._rotation * Math.PI) / 180) * 20); _root.area3[nam]._y = _root.area3[nam]._y - (Math.sin((_root.area3[nam]._rotation * Math.PI) / 180) * 20); } if (_root.checkCollision(_root.area, _root.area3[nam])) { _root.area3[nam].destroy = "ready"; var _local4 = Math.sqrt((yenter * yenter) + (yinter * yinter)); _root.area3[nam]._x = _root.area3[nam]._x + ((_local4 + 6) * Math.cos((_root.area3[nam]._rotation * Math.PI) / 180)); _root.area3[nam]._y = _root.area3[nam]._y + ((_local4 + 6) * Math.sin((_root.area3[nam]._rotation * Math.PI) / 180)); if (_root.checkCollision(_root.area, _root.area3[nam])) { _local4 = Math.sqrt((yenter * yenter) + (yinter * yinter)); _root.area3[nam]._x = _root.area3[nam]._x + ((_local4 + 6) * Math.cos((_root.area3[nam]._rotation * Math.PI) / 180)); _root.area3[nam]._y = _root.area3[nam]._y + ((_local4 + 6) * Math.sin((_root.area3[nam]._rotation * Math.PI) / 180)); } } if (_root.area3[nam].destroy == "off") { if (_root.checkCollision(_root.ply.bod, _root.area3[nam])) { _root.area3[nam].destroy = "ready"; _global.health = _global.health - 1; _root.area3[nam].gotoAndStop(2); } } } function bowaction(nam) { if (_root.area3[nam]._currentframe != 41) { if ((_root.area3[nam].health <= 0) and (_root.area3[nam]._currentframe < 41)) { _root.spawnenergy(_root.area3[nam]._x + ((_root.area3[nam]._currentframe * 6) * Math.cos((_root.area3[nam]._rotation * Math.PI) / 180)), _root.area3[nam]._y + ((_root.area3[nam]._currentframe * 6) * Math.sin((_root.area3[nam]._rotation * Math.PI) / 180)), 1); if (_root.area3[nam]._currentframe < 29) { _global.encount = _global.encount - 1; _global.blklimit = _global.blklimit + 1; _root.area3[nam].chase = false; _root.area3[nam].gotoAndPlay(29); } } else { if (_root.area3[nam].hurt == 0) { if (_root.checkCollision(_root.area3[nam], _root.area2)) { if (_root.area3[nam].chase == false) { _root.area3[nam].play(); _root.area3[nam].chase = true; } if (((-1 * _root.area2._x) + _root.ply._x) > _root.area3[nam]._x) { _root.area3[nam]._x = _root.area3[nam]._x - 7; } else { _root.area3[nam]._x = _root.area3[nam]._x + 7; } if (((-1 * _root.area2._y) + _root.ply._y) > _root.area3[nam]._y) { _root.area3[nam]._y = _root.area3[nam]._y - 5; } else { _root.area3[nam]._y = _root.area3[nam]._y + 5; } if ((_root.checkCollision(_root.area3[nam].bod, _root.area2) and (_root.area3[nam].hurt == 0)) and (health > 0)) { _root.area3[nam].hurt = 15; _root.area3[nam].bod.play(); _root.area3[nam].health--; } } } if (_root.area3[nam].hurt > 0) { _root.area3[nam].hurt--; _root.area3[nam].bod.play(); } else { _root.area3[nam].bod.gotoAndStop(1); } if ((_root.area3[nam].chase == true) and (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) * ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x)))) < 1500)) { if (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 15) - _root.area3[nam]._x) < 4) { _root.area3[nam]._x = ((-1 * _root.area2._x) + _root.ply._x) + 15; } else if ((((-1 * _root.area2._x) + _root.ply._x) + 12) > _root.area3[nam]._x) { _root.area3[nam]._x = _root.area3[nam]._x + 5; } else { _root.area3[nam]._x = _root.area3[nam]._x - 5; } if (_root.checkCollision(_root.area3[nam].bod, _root.area.ground)) { _root.area3[nam]._x = _root.area3[nam].oldx; } else { _root.area3[nam].oldx = _root.area3[nam]._x; } if (Math.abs((((-1 * _root.area2._y) + _root.ply._y) + 30) - _root.area3[nam]._y) < 3) { _root.area3[nam]._y = ((-1 * _root.area2._y) + _root.ply._y) + 30; } else if ((((-1 * _root.area2._y) + _root.ply._y) + 30) > _root.area3[nam]._y) { _root.area3[nam]._y = _root.area3[nam]._y + 4; } else { _root.area3[nam]._y = _root.area3[nam]._y - 4; } if (_root.checkCollision(_root.area3[nam].bod, _root.area.ground)) { _root.area3[nam]._y = _root.area3[nam].oldy; } else { _root.area3[nam].oldy = _root.area3[nam]._y; } var _local4 = (-1 * Math.abs((Math.atan2(((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) - 30, ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) - 12) * 180) / Math.PI)) - 0; if (Math.abs(_local4 - _root.area3[nam]._rotation) < 8) { _root.area3[nam]._rotation = _local4; } else if (_local4 > _root.area3[nam]._rotation) { _root.area3[nam]._rotation = _root.area3[nam]._rotation + 8; } else { _root.area3[nam]._rotation = _root.area3[nam]._rotation - 8; } if (_root.checkCollision(_root.area3[nam].bod, _root.area.ground)) { _root.area3[nam]._rotation = oldrot; } else { oldrot = _root.area3[nam]._rotation; } if (_root.area3[nam].fire == true) { _root.spawnenbullet(_root.area3[nam]._x + (31.6 * Math.cos((_root.area3[nam]._rotation * Math.PI) / 180)), _root.area3[nam]._y + (31.4 * Math.sin((_root.area3[nam]._rotation * Math.PI) / 180)), _root.area3[nam]._rotation, "enar"); _root.area3[nam].fire = false; } } else { _root.area3[nam].stop(); if (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) * ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x)))) < 200) { _root.area3[nam].chase = true; _root.area3[nam].play(); } } } } } function blkaction(nam) { if (_root.area[nam].destroy != 0) { if (_root.checkCollision(_root.area[nam], _root.ply.body)) { removeMovieClip(_root.area[nam]); } } if (_root.area[nam].destroy == 1) { _root.area[nam].destroy = 2; _root.area[nam].cd = 13; _root.spawngenergy(_root.area[nam]._x, _root.area[nam]._y, 1); } if (_root.area[nam].destroy == 2) { _root.area[nam].cd--; } else if (bstage == 10) { _root.area[nam].destroy = 1; _root.area[nam].gotoAndPlay(2); } else if (_root.checkCollision(_root.area[nam], _root.area2)) { _root.area[nam].destroy = 1; _root.area[nam].gotoAndPlay(2); } else if (_root.checkCollision(_root.area[nam], _root.area3)) { _root.area[nam].destroy = 1; _root.area[nam].gotoAndPlay(2); } if ((_root.area[nam].destroy == 2) and (_root.area[nam].cd == 0)) { removeMovieClip(_root.area[nam]); } } function beamaction() { if (_root.beamguide._alpha <= 0) { _root.beamguide._alpha = 100; _root.beamguide._visible = false; } if (_root.beamguide._visible == true) { _root.beamguide._alpha = _root.beamguide._alpha - 10; if (makeblocks == "on") { _root.beamguide.gotoAndStop(2); } else { _root.beamguide.gotoAndStop(1); } _root.beamguide._xscale = _root.beamguide._xscale / 1.1; } else { _root.beamguide.gotoAndStop(3); } } function solaction(nam) { if (_root.area3[nam].health > -55) { _root.area3[nam].shoot = true; if (_root.area3[nam].health <= 0) { if (_root.area3[nam].cooldown == 0) { _root.spawnenergy(_root.area3[nam]._x, _root.area3[nam]._y, 1); _root.area3[nam].cooldown = 3; } else { _root.area3[nam].cooldown--; } if (_root.area3[nam].health == 0) { _global.blklimit = _global.blklimit + 1; _root.area3[nam].chase = "off"; _root.area3[nam].shoot = false; if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(6); } else { _root.area3[nam].gotoAndStop(7); } } _root.area3[nam].health--; } else { if (_root.area3[nam].hurt == 0) { if (_root.checkCollision(_root.area3[nam], _root.area2)) { if (_root.area3[nam].chase == "off") { _root.area3[nam].play(); _root.area3[nam].chase = "on"; } if ((_root.checkCollision(_root.area3[nam].bod, _root.area2) and (_root.area3[nam].hurt == 0)) and (_root.area3[nam].health > 0)) { _root.area3[nam].hurt = 11; _root.area3[nam].health--; } } } if ((_root.area3[nam].chase == "on") and (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) * ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x)))) < 700)) { if (_root.area3[nam].hurt > 0) { _root.area3[nam].hurt--; if (_root.area3[nam].hurt == 10) { if ((((-1 * _root.area3._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(9); } else { _root.area3[nam].gotoAndStop(8); } } } else { if (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 7) - _root.area3[nam]._x) < 150) { if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { if (_root.area3[nam]._currentframe == 4) { _root.area3[nam].gunprog = 1; } _root.area3[nam].gotoAndStop(5); } else { if (_root.area3[nam]._currentframe == 5) { _root.area3[nam].gunprog = 1; } _root.area3[nam].gotoAndStop(4); } } else if ((((_root.area3[nam]._currentframe != 4) and (_root.area3[nam]._currentframe != 5)) or (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 7) - _root.area3[nam]._x) > 230)) and (_root.area3[nam].hit <= 0)) { if ((((-1 * _root.area2._x) + _root.ply._x) + 12) > _root.area3[nam]._x) { _root.area3[nam].shoot = false; _root.area3[nam]._x = _root.area3[nam]._x + 6; _root.area3[nam].gotoAndStop(2); } else { _root.area3[nam].shoot = false; _root.area3[nam]._x = _root.area3[nam]._x - 6; _root.area3[nam].gotoAndStop(3); } } if ((_root.checkCollision(_root.area3[nam].bod, _root.area) or (_root.checkCollision(_root.area3[nam].grd, _root.area.ground) == false)) or (yenter < 45)) { _root.area3[nam]._x = _root.area3[nam].oldx; _root.area3[nam].hit = 6; _root.area3[nam].shoot = true; if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { if (_root.area3[nam]._currentframe == 4) { _root.area3[nam].gunprog = 1; } _root.area3[nam].gotoAndStop(5); _root.area3[nam].shoot = true; } else { if (_root.area3[nam]._currentframe == 5) { _root.area3[nam].gunprog = 1; } _root.area3[nam].gotoAndStop(4); _root.area3[nam].shoot = true; } } else { _root.area3[nam].hit--; if (_root.area3[nam].hit <= 0) { _root.area3[nam].oldx = _root.area3[nam]._x; } else { _root.area3[nam].shoot = true; _root.area3[nam]._x = _root.area3[nam].oldx; } } } } else { _root.area3[nam].stop(); if (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + ((((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) + 5) * (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) + 5)))) < 250) { _root.area3[nam].chase = "on"; _root.area3[nam].play(); } } } if (_root.area3[nam].shoot == true) { _root.area3[nam].gunprog = _root.area3[nam].gunprog + 1; } else { _root.area3[nam].gunprog = 1; } } } function gaction(nam) { if (_root.area3[nam].health > -55) { if (_root.area3[nam].health <= 0) { if (_root.area3[nam].cooldown == 0) { _root.spawnenergy(_root.area3[nam]._x, _root.area3[nam]._y, 1); _root.area3[nam].cooldown = 3; } else { _root.area3[nam].cooldown--; } if (_root.area3[nam].health == 0) { _global.blklimit = _global.blklimit + 1; _root.area3[nam].chase = "off"; shoot = false; if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(6); } else { _root.area3[nam].gotoAndStop(7); } } _root.area3[nam].health--; } else if ((_root.area3[nam].chase == "on") and (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) * ((_root.area2._x + _root.area3[nam]._x) - _root.ply._x)))) < 700)) { if (_root.area3[nam]._currentframe != 1) { if (_root.area3[nam].hurt == 0) { if (_root.checkCollision(_root.area3[nam].body, _root.area2) and (_root.area3[nam].health > 0)) { _root.area3[nam].hurt = 10; _root.area3[nam].health--; } } if (_root.area3[nam].hurt > 0) { _root.area3[nam].hurt--; _root.area3[nam].bod.gotoAndStop(2); if (_root.area3[nam].hurt == 9) { if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(8); } else { _root.area3[nam].gotoAndStop(9); } } } else { _root.area3[nam].bod.gotoAndStop(1); if ((_root.area3[nam]._currentframe != 4) and (_root.area3[nam]._currentframe != 5)) { if (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 7) - _root.area3[nam]._x) < 170) { if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(5); } else { _root.area3[nam].gotoAndStop(4); } } else if ((((-1 * _root.area2._x) + _root.ply._x) + 12) > _root.area3[nam]._x) { _root.area3[nam]._x = _root.area3[nam]._x + 7.5; _root.area3[nam].gotoAndStop(2); } else { _root.area3[nam]._x = _root.area3[nam]._x - 7.5; _root.area3[nam].gotoAndStop(3); } if ((_root.checkCollision(_root.area3[nam].bod, _root.area) or (_root.checkCollision(_root.area3[nam].grd, _root.area.ground) == false)) or (yenter < 45)) { _root.area3[nam]._x = _root.area3[nam].oldx; if ((((-1 * _root.area3._x) + _root.ply._x) + 7) > _root.area3[nam]._x) { _root.area3[nam].gotoAndStop(5); } else { _root.area3[nam].gotoAndStop(4); } } else { _root.area3[nam].oldx = _root.area3[nam]._x; } } } } } else { _root.area3[nam].stop(); if (Math.abs(Math.sqrt((((_root.area2._y + _root.area3[nam]._y) - _root.ply._y) * ((_root.area2._y + _root.area3[nam]._y) - _root.ply._y)) + ((((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) + 5) * (((_root.area2._x + _root.area3[nam]._x) - _root.ply._x) + 5)))) < 250) { _root.area3[nam].chase = "on"; _root.area3[nam].body.play(); } } } } _global.destroyheadblocks = "off"; var slide = false; _global.makeblocks = "off"; var drop = -10; _global.knockdown = "off"; var l = 0; _global.encount = 0; var r = 0; var ox = 0; var oy = 0; var ldown = false; _global.getup = false; _global.blklimit = 65; var newx = _root.area._x; var newy = _root.area._y; _global.i = 1; _global.health = 25; stop(); _global.plytype = "basic"; _global.cooldown = 0; _global.imbalance = 0; _global.mn = 200; var jfr = 0; _global.jk = 450; stopAllSounds();
Symbol 13 Button
on (release) { _root.play(); }
Symbol 14 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop ("loaded"); }
Symbol 14 MovieClip Frame 2
gotoAndPlay (1);
Symbol 26 Button
on (release) { this._parent.play(); _global.targy = 4; }
Symbol 29 Button
on (release) { this._parent.play(); _global.targy = 3; }
Symbol 32 Button
on (release) { this._parent.play(); _global.targy = 2; }
Symbol 34 MovieClip Frame 85
stop();
Symbol 34 MovieClip Frame 86
stopAllSounds();
Symbol 34 MovieClip Frame 166
_root.gotoAndStop(targy + 1); stopAllSounds();
Symbol 38 Button
on (release) { gotoAndStop (2); _global.gomen = true; }
Symbol 55 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 6
stop();
Instance of Symbol 47 MovieClip in Symbol 56 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.checkCollision(this, _root.ply)) { _root.gotoAndStop(2); } }
Instance of Symbol 49 MovieClip in Symbol 56 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._y < 3000) { if (_root.checkCollision(this, _root.ply)) { this._y = 3001; _root.tut.gotoAndPlay(8); } } }
Instance of Symbol 49 MovieClip in Symbol 56 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._y < 3000) { if (_root.checkCollision(this, _root.ply)) { this._y = 3001; _root.tut.gotoAndPlay(22); } } }
Instance of Symbol 49 MovieClip in Symbol 56 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._y < 3000) { if (_root.checkCollision(this, _root.ply)) { this._y = 3001; _root.tut.gotoAndPlay(36); } } }
Instance of Symbol 49 MovieClip in Symbol 56 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._y < 3000) { if (_root.checkCollision(this, _root.ply)) { this._y = 3001; _root.tut.gotoAndPlay(50); } } }
Instance of Symbol 49 MovieClip in Symbol 56 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._y < 3000) { if (_root.checkCollision(this, _root.ply)) { this._y = 3001; _root.tut.gotoAndPlay(64); } } }
Instance of Symbol 49 MovieClip in Symbol 56 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._y < 3000) { if (_root.checkCollision(this, _root.ply)) { this._y = 3001; _root.tut.gotoAndPlay(78); } } }
Instance of Symbol 49 MovieClip in Symbol 56 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._y < 3000) { if (_root.checkCollision(this, _root.ply)) { this._y = 3001; _root.tut.gotoAndPlay(92); } } }
Instance of Symbol 49 MovieClip in Symbol 56 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._y < 3000) { if (_root.checkCollision(this, _root.ply)) { this._y = 3001; _root.tut.gotoAndPlay(106); } } }
Instance of Symbol 51 MovieClip in Symbol 56 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.checkCollision(this, _root.ply)) { _root.play(); } }
Instance of Symbol 55 MovieClip "blt" in Symbol 56 MovieClip Frame 1
onClipEvent (load) { var timer = 40; var s = (blspd / 2); var d = bldrop; this.stop(); if (this._name != "blt") { this.play(); } var destroy = "off"; this._x = this._x + (Math.cos(((this._rotation + 90) * Math.PI) / 180) * 0.3); this._y = this._y + (Math.sin(((this._rotation + 90) * Math.PI) / 180) * 0.3); } onClipEvent (enterFrame) { if (destroy == "on") { removeMovieClip(this); } else if (destroy == "ready") { destroy = "ready2"; } else if (destroy == "ready2") { destroy = "ready3"; } else if (destroy == "ready3") { destroy = "ready4"; } else if (destroy == "ready4") { destroy = "on"; } else { timer = timer - 1; if (timer == 0) { removeMovieClip(this); } _global.rot = this._rotation; if (rot < 0) { _global.rot = _global.rot + 360; } if ((_root.checkCollision(_root.area, this) or _root.checkCollision(_root.area3, this)) and (destroy == "off")) { destroy = "ready"; this.gotoAndPlay(2); } else { this._x = this._x + ((Math.cos(((this._rotation + 90) * Math.PI) / 180) * 19) + s); this._y = this._y + (Math.sin(((this._rotation + 90) * Math.PI) / 180) * 19); if ((_root.checkCollision(_root.area, this) or _root.checkCollision(_root.area3, this)) and (destroy == "off")) { destroy = "ready"; this.gotoAndPlay(2); } else { this._x = this._x + ((Math.cos(((this._rotation + 90) * Math.PI) / 180) * 19) + s); this._y = this._y + (Math.sin(((this._rotation + 90) * Math.PI) / 180) * 19); } } } }
Symbol 61 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 3
stop();
Symbol 82 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 16
gotoAndPlay (1);
Symbol 96 MovieClip Frame 16
gotoAndPlay (1);
Symbol 101 MovieClip Frame 16
gotoAndPlay (1);
Symbol 102 MovieClip Frame 16
gotoAndPlay (1);
Symbol 105 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 1
stop();
Instance of Symbol 108 MovieClip in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) { this.gotoAndStop(plyfire); }
Instance of Symbol 109 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (load) { if ((makeblocks == "off") and (cooldown == -10)) { this._visible = false; } else { this._visible = true; } if (armtype == 1) { if (side2 == "left") { _global.armx = (this._x + this._parent._x) + this._parent._parent._x; } else { _global.armx = (this._x - this._parent._x) + this._parent._parent._x; } } else if (side2 == "left") { _global.armx = (this._x - this._parent._x) + this._parent._parent._x; } else { _global.armx = (this._x + this._parent._x) + this._parent._parent._x; } _global.army = (-5 + this._parent._y) + this._parent._parent._y; _global.h = (_root._ymouse - _root.ply._y) - army; _global.len = (_root._xmouse - _root.ply._x) - armx; if (side2 == "left") { this._rotation = (((-Math.atan2(h, len)) * 180) / Math.PI) + 90; } else { this._rotation = ((Math.atan2(h, len) * 180) / Math.PI) - 90; } _global.armrot = this._rotation; } onClipEvent (enterFrame) { if ((makeblocks == "off") and (cooldown == -10)) { this._visible = false; } else { this._visible = true; if (etype == -1) { this.gotoAndStop(2); } else if (etype == 1) { this.gotoAndStop(1); } if (armtype == 1) { if (side2 == "left") { _global.armx = (this._x + this._parent._x) + this._parent._parent._x; } else { _global.armx = (this._x - this._parent._x) + this._parent._parent._x; } } else if (side2 == "left") { _global.armx = (this._x - this._parent._x) + this._parent._parent._x; } else { _global.armx = (this._x + this._parent._x) + this._parent._parent._x; } _global.army = (-5 + this._parent._y) + this._parent._parent._y; _global.h = (_root._ymouse - _root.ply._y) - army; _global.len = (_root._xmouse - _root.ply._x) - armx; if (side2 == "left") { this._rotation = (((-Math.atan2(h, len)) * 180) / Math.PI) + 90; } else { this._rotation = ((Math.atan2(h, len) * 180) / Math.PI) - 90; } _global.armrot = this._rotation; } }
Instance of Symbol 101 MovieClip in Symbol 111 MovieClip Frame 1
onClipEvent (enterFrame) { if ((makeblocks == "on") or (cooldown > -10)) { this._alpha = 0; } else { this._alpha = 100; } }
Instance of Symbol 102 MovieClip in Symbol 111 MovieClip Frame 1
onClipEvent (enterFrame) { if ((makeblocks == "on") or (cooldown > -10)) { this._alpha = 0; } else { this._alpha = 100; } }
Symbol 111 MovieClip Frame 16
gotoAndPlay (1);
Instance of Symbol 115 MovieClip in Symbol 116 MovieClip Frame 1
onClipEvent (load) { if ((makeblocks == "on") or (cooldown > -10)) { this._alpha = 0; } else { this._alpha = 100; } } onClipEvent (enterFrame) { if ((makeblocks == "on") or (cooldown > -10)) { this._alpha = 0; } else { this._alpha = 100; } }
Instance of Symbol 117 MovieClip in Symbol 118 MovieClip Frame 1
onClipEvent (load) { if ((makeblocks == "on") or (cooldown > -10)) { this._alpha = 0; } else { this._alpha = 100; } } onClipEvent (enterFrame) { if ((makeblocks == "on") or (cooldown > -10)) { this._alpha = 0; } else { this._alpha = 100; } }
Symbol 119 MovieClip Frame 1
_global.jumping = "begin";
Symbol 119 MovieClip Frame 7
_global.jumping = true;
Symbol 119 MovieClip Frame 19
stop();
Instance of Symbol 115 MovieClip in Symbol 119 MovieClip Frame 19
onClipEvent (load) { if ((makeblocks == "on") or (cooldown > -10)) { this._alpha = 0; } else { this._alpha = 100; } } onClipEvent (enterFrame) { if ((makeblocks == "on") or (cooldown > -10)) { this._alpha = 0; } else { this._alpha = 100; } }
Symbol 120 MovieClip Frame 1
stop();
Instance of Symbol 115 MovieClip in Symbol 120 MovieClip Frame 1
onClipEvent (load) { if ((makeblocks == "on") or (cooldown > -10)) { this._alpha = 0; } else { this._alpha = 100; } } onClipEvent (enterFrame) { if ((makeblocks == "on") or (cooldown > -10)) { this._alpha = 0; } else { this._alpha = 100; } }
Symbol 122 MovieClip Frame 5
_global.armtype = 1; stop();
Symbol 123 MovieClip Frame 6
gotoAndPlay (7);
Symbol 123 MovieClip Frame 9
_global.armtype = 2;
Symbol 123 MovieClip Frame 20
gotoAndPlay (21);
Symbol 123 MovieClip Frame 21
stop();
Instance of Symbol 115 MovieClip in Symbol 123 MovieClip Frame 21
onClipEvent (load) { if ((makeblocks == "on") or (cooldown > -10)) { this._alpha = 0; } else { this._alpha = 100; } } onClipEvent (enterFrame) { if ((makeblocks == "on") or (cooldown > -10)) { this._alpha = 0; } else { this._alpha = 100; } }
Symbol 124 MovieClip Frame 1
stop();
Instance of Symbol 115 MovieClip in Symbol 124 MovieClip Frame 1
onClipEvent (load) { if ((makeblocks == "on") or (cooldown > -10)) { this._alpha = 0; } else { this._alpha = 100; } } onClipEvent (enterFrame) { if ((makeblocks == "on") or (cooldown > -10)) { this._alpha = 0; } else { this._alpha = 100; } }
Symbol 126 MovieClip Frame 1
_global.nomake = true;
Symbol 127 MovieClip Frame 1
_global.nodamage = false;
Symbol 127 MovieClip Frame 16
if (health <= 0) { _root.gotoAndStop(17); }
Symbol 127 MovieClip Frame 35
_global.nodamage = false; _global.nomake = false; _global.knockdown = "off"; stop();
Instance of Symbol 115 MovieClip in Symbol 127 MovieClip Frame 35
onClipEvent (load) { if ((makeblocks == "on") or (cooldown > -10)) { this._alpha = 0; } else { this._alpha = 100; } } onClipEvent (enterFrame) { if ((makeblocks == "on") or (cooldown > -10)) { this._alpha = 0; } else { this._alpha = 100; } }
Symbol 128 MovieClip Frame 1
stop(); _global.armtype = 2; _global.side2 = "right"; _global.pos = "rwalk";
Instance of Symbol 82 MovieClip "body" in Symbol 128 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 111 MovieClip "bod" in Symbol 128 MovieClip Frame 1
onClipEvent (enterFrame) { _global.bdy = this._y; _global.bdx = this._x; }
Symbol 128 MovieClip Frame 2
stop(); _global.armtype = 2; _global.side2 = "left"; _global.pos = "lwalk";
Symbol 128 MovieClip Frame 3
_global.armtype = 1; _global.side2 = "right";
Instance of Symbol 119 MovieClip "bod" in Symbol 128 MovieClip Frame 3
onClipEvent (enterFrame) { _global.bdy = this._y; _global.bdx = this._x; }
Symbol 128 MovieClip Frame 4
_global.armtype = 1;
Instance of Symbol 120 MovieClip "bod" in Symbol 128 MovieClip Frame 4
onClipEvent (enterFrame) { _global.bdy = this._y; _global.bdx = this._x; }
Symbol 128 MovieClip Frame 5
_global.armtype = 1; _global.side2 = "left";
Instance of Symbol 119 MovieClip "bod" in Symbol 128 MovieClip Frame 5
onClipEvent (enterFrame) { _global.bdy = this._y; _global.bdx = this._x; }
Symbol 128 MovieClip Frame 6
_global.armtype = 1;
Instance of Symbol 120 MovieClip "bod" in Symbol 128 MovieClip Frame 6
onClipEvent (enterFrame) { _global.bdy = this._y; _global.bdx = this._x; }
Symbol 128 MovieClip Frame 7
_global.armtype = 2; _global.side2 = "left";
Instance of Symbol 122 MovieClip "bod" in Symbol 128 MovieClip Frame 7
onClipEvent (enterFrame) { _global.bdy = this._y; _global.bdx = this._x; }
Symbol 128 MovieClip Frame 8
_global.armtype = 2; _global.side2 = "right";
Symbol 128 MovieClip Frame 9
_global.armtype = 2;
Instance of Symbol 123 MovieClip "bod" in Symbol 128 MovieClip Frame 9
onClipEvent (enterFrame) { _global.bdy = this._y; _global.bdx = this._x; _global.side2 = "right"; }
Symbol 128 MovieClip Frame 10
_global.armtype = 2;
Instance of Symbol 123 MovieClip "bod" in Symbol 128 MovieClip Frame 10
onClipEvent (enterFrame) { _global.bdy = this._y; _global.bdx = this._x; _global.side2 = "left"; }
Symbol 128 MovieClip Frame 11
_global.armtype = 1;
Instance of Symbol 124 MovieClip "bod" in Symbol 128 MovieClip Frame 11
onClipEvent (enterFrame) { _global.bdy = this._y; _global.bdx = this._x; }
Symbol 128 MovieClip Frame 12
_global.armtype = 1;
Instance of Symbol 126 MovieClip "bod" in Symbol 128 MovieClip Frame 13
onClipEvent (enterFrame) { _global.bdy = this._y; _global.bdx = this._x; }
Instance of Symbol 127 MovieClip "bod" in Symbol 128 MovieClip Frame 15
onClipEvent (enterFrame) { _global.bdy = this._y; _global.bdx = this._x; }
Symbol 132 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 32
stop();
Instance of Symbol 132 MovieClip in Symbol 133 MovieClip Frame 1
onClipEvent (enterFrame) { if ((this._currentframe == 1) and _root.checkCollision(this, _root.area2)) { this.play(); } }
Symbol 137 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 24
stop();
Instance of Symbol 137 MovieClip "blk" in Symbol 138 MovieClip Frame 24
onClipEvent (load) { var destroy = 0; var cd = 0; if (run == "true") { if (_root.checkCollision(this, _root.ply.body.tooleft) or _root.checkCollision(this, _root.ply.body.tooright)) { _global.run = false; removeMovieClip(this); } } } onClipEvent (enterFrame) { _root.blkaction(this._name); }
Symbol 143 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 11
stop();
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 10
stop();
Symbol 148 MovieClip Frame 1
stop();
Instance of Symbol 143 MovieClip "energy" in Symbol 150 MovieClip Frame 1
onClipEvent (load) { var rotlimit = 12; if (_root.ply._alpha < 100) { removeMovieClip(this); _global.imbalance = 0; } var cd = "off"; _global.imbalance = _global.imbalance + 1; } onClipEvent (enterFrame) { if (this._name != "energy") { var xdd = (((_root.area4._x + this._x) - _root.ply._x) - 10); var ydd = (((_root.area4._y + this._y) - _root.ply._y) - 50); var mydistance = Math.sqrt((xdd * xdd) + (ydd * ydd)); if ((mydistance < 35) and (cd == "off")) { var cd = 12; _global.imbalance = _global.imbalance - 1; this.gotoAndPlay(2); } if (cd == "off") { var rot = ((Math.atan2(((_root.area4._y + this._y) - _root.ply._y) - 50, ((_root.area4._x + this._x) - _root.ply._x) - 10) * 180) / Math.PI); var rotdiff = (this._rotation - rot); if (rotdiff >= 180) { rotdiff = rotdiff - 360; } if (rotdiff <= -180) { rotdiff = rotdiff + 360; } if (Math.abs(rotdiff) < rotlimit) { this._rotation = rot; } else { rotlimit = rotlimit + 0.2; if (rotdiff < 0) { this._rotation = this._rotation + rotlimit; } else { this._rotation = this._rotation - rotlimit; } } this._x = this._x - (Math.cos((this._rotation * Math.PI) / 180) * 18); this._y = this._y - (Math.sin((this._rotation * Math.PI) / 180) * 18); } else { cd = cd - 1; if (cd == 0) { removeMovieClip(this); } } } }
Instance of Symbol 145 MovieClip "genergy" in Symbol 150 MovieClip Frame 1
onClipEvent (load) { var cd = "off"; } onClipEvent (enterFrame) { if (this._name != "genergy") { var xdd = (((_root.area4._x + this._x) - _root.ply._x) - 10); var ydd = (((_root.area4._y + this._y) - _root.ply._y) - 50); var mydistance = Math.sqrt((xdd * xdd) + (ydd * ydd)); if ((mydistance < 30) and (cd == "off")) { var cd = 12; this.gotoAndPlay(2); } if (cd == "off") { var rot = ((Math.atan2(((_root.area4._y + this._y) - _root.ply._y) - 50, ((_root.area4._x + this._x) - _root.ply._x) - 10) * 180) / Math.PI); this._rotation = rot; this._x = this._x - (Math.cos((this._rotation * Math.PI) / 180) * 25); this._y = this._y - (Math.sin((this._rotation * Math.PI) / 180) * 25); } else { cd = cd - 1; if (cd == 0) { removeMovieClip(this); } } } }
Instance of Symbol 149 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (enterFrame) { this._x = _root.area3.wk1._x; this._y = _root.area3.wk1._y; this.gotoAndStop(_root.area3.wk1._currentframe); if (_root.area3.wk1.shoot == true) { this.gun.gotoAndStop(1); } else { this.gun.gotoAndStop(2); } }
Instance of Symbol 149 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (enterFrame) { this._x = _root.area3.wk2._x; this._y = _root.area3.wk2._y; this.gotoAndStop(_root.area3.wk2._currentframe); if (_root.area3.wk2.shoot == true) { this.gun.gotoAndStop(1); } else { this.gun.gotoAndStop(2); } }
Instance of Symbol 149 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (enterFrame) { this._x = _root.area3.wk3._x; this._y = _root.area3.wk3._y; this.gotoAndStop(_root.area3.wk3._currentframe); if (_root.area3.wk3.shoot == true) { this.gun.gotoAndStop(1); } else { this.gun.gotoAndStop(2); } }
Symbol 160 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 7
stop();
Symbol 170 MovieClip Frame 21
stop();
Symbol 170 MovieClip Frame 35
stop();
Symbol 170 MovieClip Frame 49
stop();
Symbol 170 MovieClip Frame 63
stop();
Symbol 170 MovieClip Frame 77
stop();
Symbol 170 MovieClip Frame 91
stop();
Symbol 170 MovieClip Frame 105
stop();
Symbol 170 MovieClip Frame 150
stop();
Symbol 176 MovieClip Frame 190
_root.gotoAndStop(7);
Instance of Symbol 47 MovieClip in Symbol 178 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root._currentframe < 8) { if (_root.checkCollision(this, _root.ply)) { stopAllSounds(); _root.play(); } } else { this._visible = false; } }
Instance of Symbol 55 MovieClip "blt" in Symbol 178 MovieClip Frame 1
onClipEvent (load) { var timer = 19; var s = (blspd / 2); var d = bldrop; if (this._name != "blt") { this.play(); this._visible = true; } else { this.stop(); this._visible = false; } var destroy = "off"; this._x = this._x + (Math.cos(((this._rotation + 90) * Math.PI) / 180) * 0.3); this._y = this._y + (Math.sin(((this._rotation + 90) * Math.PI) / 180) * 0.3); } onClipEvent (enterFrame) { if (this._name != "blt") { this._visible = true; if (destroy == "on") { removeMovieClip(this); } else if (destroy == "ready") { destroy = "ready2"; } else if (destroy == "ready2") { destroy = "ready3"; } else if (destroy == "ready3") { destroy = "ready4"; } else if (destroy == "ready4") { destroy = "on"; } else { timer = timer - 1; if (timer == 0) { removeMovieClip(this); } _global.rot = this._rotation; if (rot < 0) { _global.rot = _global.rot + 360; } if ((_root.checkCollision(_root.area, this) or _root.checkCollision(_root.area3, this)) and (destroy == "off")) { destroy = "ready"; this.gotoAndPlay(2); } else { this._x = this._x + ((Math.cos(((this._rotation + 90) * Math.PI) / 180) * 19) + s); this._y = this._y + (Math.sin(((this._rotation + 90) * Math.PI) / 180) * 19); if ((_root.checkCollision(_root.area, this) or _root.checkCollision(_root.area3, this)) and (destroy == "off")) { destroy = "ready"; this.gotoAndPlay(2); } else { this._x = this._x + ((Math.cos(((this._rotation + 90) * Math.PI) / 180) * 19) + s); this._y = this._y + (Math.sin(((this._rotation + 90) * Math.PI) / 180) * 19); } } } } else { this.stop(); this._visible = false; } }
Symbol 183 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 1
stop();
Instance of Symbol 183 MovieClip "bod" in Symbol 197 MovieClip Frame 14
onClipEvent (load) { this._parent.fire = true; }
Symbol 197 MovieClip Frame 28
gotoAndPlay (1);
Symbol 197 MovieClip Frame 41
stop();
Symbol 204 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 19
stop();
Instance of Symbol 204 MovieClip "gn" in Symbol 205 MovieClip Frame 19
onClipEvent (load) { var rot = 0; var cooldwn = 0; } onClipEvent (enterFrame) { if (Math.abs(Math.sqrt((((_root.area2._y + this._parent._y) - _root.ply._y) * ((_root.area2._y + this._parent._y) - _root.ply._y)) + (((_root.area2._x + this._parent._x) - _root.ply._x) * ((_root.area2._x + this._parent._x) - _root.ply._x)))) < 600) { if (cooldwn == 0) { cooldwn = 30; this.play(); _root.spawnenbullet(this._parent._x - (23.5 * Math.cos(((this._rotation + 90) * Math.PI) / 180)), this._parent._y - (23.5 * Math.sin(((this._rotation + 90) * Math.PI) / 180)), this._rotation + 90, "missl"); } else { cooldwn = cooldwn - 1; } rot = (-90 + Math.abs((Math.atan2(((_root.area2._y + this._parent._y) - _root.ply._y) - 54.3, ((_root.area2._x + this._parent._x) - _root.ply._x) - 23.5) * 180) / Math.PI)) - 0; if (Math.abs(rot - this._rotation) < 7) { this._rotation = rot; } else if (rot > this._rotation) { this._rotation = this._rotation + 7; } else { this._rotation = this._rotation - 7; } } }
Symbol 227 MovieClip Frame 20
gotoAndPlay (1);
Symbol 228 MovieClip Frame 20
gotoAndPlay (1);
Symbol 229 MovieClip Frame 20
gotoAndPlay (1);
Symbol 230 MovieClip Frame 20
gotoAndPlay (1);
Instance of Symbol 223 MovieClip "rang" in Symbol 231 MovieClip Frame 1
onClipEvent (load) { var hit = 0; } onClipEvent (enterFrame) { if (this._parent._parent._parent.shoot == true) { this.gotoAndStop(this._parent._parent._parent.gunprog); if (_root.checkCollision(_root.ply, this)) { _global.health = _global.health - 1; this._parent._parent._parent.gunprog = 1; } else if (_root.checkCollision(this, _root.area)) { if (hit == 0) { this._parent._parent._parent.gunprog = 1; hit = 2; } else { hit--; this._parent._parent._parent.gunprog = this._parent._parent._parent.gunprog - 1; } } } else { this.gotoAndStop(1); } }
Instance of Symbol 223 MovieClip "rang" in Symbol 232 MovieClip Frame 1
onClipEvent (load) { var hit = 0; } onClipEvent (enterFrame) { if (this._parent._parent._parent.shoot == true) { this.gotoAndStop(this._parent._parent._parent.gunprog); if (_root.checkCollision(_root.ply, this)) { _global.health = _global.health - 1; this._parent._parent._parent.gunprog = 1; } else if (_root.checkCollision(this, _root.area)) { if (hit == 0) { this._parent._parent._parent.gunprog = 1; hit = 2; } else { hit--; this._parent._parent._parent.gunprog = this._parent._parent._parent.gunprog - 1; } } } else { this.gotoAndStop(1); } }
Symbol 237 MovieClip Frame 53
stop();
Symbol 238 MovieClip Frame 12
_parent.gotoAndStop(2);
Instance of Symbol 223 MovieClip "rang" in Symbol 239 MovieClip Frame 1
onClipEvent (load) { var hit = 0; } onClipEvent (enterFrame) { if (this._parent._parent._parent.shoot == true) { this.gotoAndStop(this._parent._parent._parent.gunprog); if (_root.checkCollision(_root.ply, this)) { _global.health = _global.health - 1; this._parent._parent._parent.gunprog = 1; } else if (_root.checkCollision(this, _root.area)) { if (hit == 0) { this._parent._parent._parent.gunprog = 1; hit = 2; } else { hit--; this._parent._parent._parent.gunprog = this._parent._parent._parent.gunprog - 1; } } } else { this.gotoAndStop(1); } }
Instance of Symbol 180 MovieClip "enar" in Symbol 240 MovieClip Frame 1
onClipEvent (load) { var timer = 85; this._alpha = 100; this.gotoAndStop(1); var destroy = "off"; this._x = this._x - (Math.cos((this._rotation * Math.PI) / 180) * 4); this._y = this._y - (Math.sin((this._rotation * Math.PI) / 180) * 4); } onClipEvent (enterFrame) { _root.araction(this._name); }
Instance of Symbol 197 MovieClip "bow1" in Symbol 240 MovieClip Frame 1
onClipEvent (load) { var cooldown = 12; var chase = false; var hurt = 0; var health = 2; var oldx = this._x; var oldy = this._y; var oldrot = this._rotation; var fire = false; } onClipEvent (enterFrame) { _root.bowaction(this._name); }
Instance of Symbol 197 MovieClip "bow4" in Symbol 240 MovieClip Frame 1
onClipEvent (load) { var cooldown = 12; var chase = false; var hurt = 0; var health = 2; var oldx = this._x; var oldy = this._y; var oldrot = this._rotation; var fire = false; } onClipEvent (enterFrame) { _root.bowaction(this._name); }
Instance of Symbol 239 MovieClip "wk1" in Symbol 240 MovieClip Frame 1
onClipEvent (load) { var cooldown = 0; var chase = "off"; var gunprog = 1; this.stop(); var shoot = false; var hurt = 0; var health = 3; var hit = 0; var oldx = this._x; var oldrot = this._rotation; var fire = "off"; } onClipEvent (enterFrame) { _root.solaction(this._name); }
Instance of Symbol 197 MovieClip "bow" in Symbol 240 MovieClip Frame 1
onClipEvent (load) { var cooldown = 12; var chase = false; var hurt = 0; var health = 2; var oldx = this._x; var oldy = this._y; var oldrot = this._rotation; var fire = false; } onClipEvent (enterFrame) { _root.bowaction(this._name); }
Instance of Symbol 197 MovieClip "bows" in Symbol 240 MovieClip Frame 1
onClipEvent (load) { var cooldown = 12; var chase = false; var hurt = 0; var health = 2; var oldx = this._x; var oldy = this._y; var oldrot = this._rotation; var fire = false; } onClipEvent (enterFrame) { _root.bowaction(this._name); }
Instance of Symbol 239 MovieClip "wk2" in Symbol 240 MovieClip Frame 1
onClipEvent (load) { var cooldown = 0; var chase = "off"; var gunprog = 1; this.stop(); var shoot = false; var hurt = 0; var health = 3; var hit = 0; var oldx = this._x; var oldrot = this._rotation; var fire = "off"; } onClipEvent (enterFrame) { _root.solaction(this._name); }
Instance of Symbol 239 MovieClip "wk3" in Symbol 240 MovieClip Frame 1
onClipEvent (load) { var cooldown = 0; var chase = "off"; var gunprog = 1; this.stop(); var shoot = false; var hurt = 0; var health = 3; var hit = 0; var oldx = this._x; var oldrot = this._rotation; var fire = "off"; } onClipEvent (enterFrame) { _root.solaction(this._name); }
Instance of Symbol 137 MovieClip "blk" in Symbol 245 MovieClip Frame 1
onClipEvent (load) { var destroy = "off"; var cd = 0; if (run == "true") { if (_root.checkCollision(this, _root.ply.body.tooleft) or _root.checkCollision(this, _root.ply.body.tooright)) { _global.run = false; removeMovieClip(this); } } if (_root.checkCollision(this, _root.area2)) { var destroy = "on"; this.gotoAndPlay(2); } else if (_root.checkCollision(this, _root.area3)) { var destroy = "on"; this.gotoAndPlay(2); } } onClipEvent (enterFrame) { if (destroy != "off") { if (_root.checkCollision(this, _root.ply.body)) { removeMovieClip(this); } } if (destroy == "on") { destroy = "ready"; cd = 13; _root.spawngenergy(this._x, this._y, 1); } if (destroy == "ready") { cd--; } else if (_root.checkCollision(this, _root.area2)) { var destroy = "on"; this.gotoAndPlay(2); } else if (_root.checkCollision(this, _root.area3)) { var destroy = "on"; this.gotoAndPlay(2); } if ((destroy == "ready") and (cd == 0)) { removeMovieClip(this); } }
Instance of Symbol 143 MovieClip "energy" in Symbol 246 MovieClip Frame 1
onClipEvent (load) { var rotlimit = 12; if (_root.ply._alpha < 100) { removeMovieClip(this); _global.imbalance = 0; } var cd = "off"; _global.imbalance = _global.imbalance + 1; } onClipEvent (enterFrame) { if (this._name != "energy") { var xdd = (((_root.area4._x + this._x) - _root.ply._x) - 10); var ydd = (((_root.area4._y + this._y) - _root.ply._y) - 50); var mydistance = Math.sqrt((xdd * xdd) + (ydd * ydd)); if ((mydistance < 35) and (cd == "off")) { var cd = 12; _global.imbalance = _global.imbalance - 1; this.gotoAndPlay(2); } if (cd == "off") { var rot = ((Math.atan2(((_root.area4._y + this._y) - _root.ply._y) - 50, ((_root.area4._x + this._x) - _root.ply._x) - 10) * 180) / Math.PI); var rotdiff = (this._rotation - rot); if (rotdiff >= 180) { rotdiff = rotdiff - 360; } if (rotdiff <= -180) { rotdiff = rotdiff + 360; } if (Math.abs(rotdiff) < rotlimit) { this._rotation = rot; } else { rotlimit = rotlimit + 0.2; if (rotdiff < 0) { this._rotation = this._rotation + rotlimit; } else { this._rotation = this._rotation - rotlimit; } } this._x = this._x - (Math.cos((this._rotation * Math.PI) / 180) * 17); this._y = this._y - (Math.sin((this._rotation * Math.PI) / 180) * 17); } else { cd = cd - 1; if (cd == 0) { removeMovieClip(this); } } } }
Instance of Symbol 145 MovieClip "genergy" in Symbol 246 MovieClip Frame 1
onClipEvent (load) { var cd = "off"; } onClipEvent (enterFrame) { if (this._name != "genergy") { var xdd = (((_root.area4._x + this._x) - _root.ply._x) - 10); var ydd = (((_root.area4._y + this._y) - _root.ply._y) - 50); var mydistance = Math.sqrt((xdd * xdd) + (ydd * ydd)); if ((mydistance < 30) and (cd == "off")) { var cd = 12; this.gotoAndPlay(2); } if (cd == "off") { var rot = ((Math.atan2(((_root.area4._y + this._y) - _root.ply._y) - 50, ((_root.area4._x + this._x) - _root.ply._x) - 10) * 180) / Math.PI); this._rotation = rot; this._x = this._x - (Math.cos((this._rotation * Math.PI) / 180) * 25); this._y = this._y - (Math.sin((this._rotation * Math.PI) / 180) * 25); } else { cd = cd - 1; if (cd == 0) { removeMovieClip(this); } } } }
Instance of Symbol 149 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) { this._x = _root.area3.wk1._x; this._y = _root.area3.wk1._y; this.gotoAndStop(_root.area3.wk1._currentframe); if (_root.area3.wk1.shoot == true) { this.gun.gotoAndStop(1); } else { this.gun.gotoAndStop(2); } }
Instance of Symbol 149 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) { this._x = _root.area3.wk2._x; this._y = _root.area3.wk2._y; this.gotoAndStop(_root.area3.wk2._currentframe); if (_root.area3.wk2.shoot == true) { this.gun.gotoAndStop(1); } else { this.gun.gotoAndStop(2); } }
Instance of Symbol 149 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) { this._x = _root.area3.wk3._x; this._y = _root.area3.wk3._y; this.gotoAndStop(_root.area3.wk3._currentframe); if (_root.area3.wk3.shoot == true) { this.gun.gotoAndStop(1); } else { this.gun.gotoAndStop(2); } }
Instance of Symbol 137 MovieClip "blk" in Symbol 252 MovieClip Frame 1
onClipEvent (load) { var destroy = 0; var cd = 0; if (run == "true") { if (_root.checkCollision(this, _root.ply.body.tooleft) or _root.checkCollision(this, _root.ply.body.tooright)) { _global.run = false; removeMovieClip(this); } } } onClipEvent (enterFrame) { _root.blkaction(this._name); }
Symbol 263 MovieClip Frame 1
if (walking == "off") { stop(); }
Symbol 273 MovieClip Frame 24
gotoAndPlay (2);
Symbol 285 MovieClip Frame 110
_global.cr = "off";
Symbol 298 MovieClip Frame 64
stop();
Symbol 300 MovieClip Frame 78
_global.bstage = 1;
Instance of Symbol 311 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) { if ((makeblocks == "on") or (cooldown > -10)) { this._alpha = 0; } else { this._alpha = 100; } } onClipEvent (enterFrame) { if ((makeblocks == "on") or (cooldown > -10)) { this._alpha = 0; } else { this._alpha = 100; } }
Instance of Symbol 313 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.checkCollision(this, _root.ply.bod)) { _global.knockdown = "on"; } }
Instance of Symbol 313 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.checkCollision(this, _root.ply.bod)) { _global.knockdown = "on"; } }
Instance of Symbol 313 MovieClip in Symbol 315 MovieClip Frame 5
onClipEvent (enterFrame) { if (_root.checkCollision(this, _root.ply.bod)) { _global.knockdown = "on"; if (_root.area3.boss._currentframe == 8) { _global.side2 = "left"; } else { _global.side2 = "right"; } } }
Instance of Symbol 313 MovieClip in Symbol 315 MovieClip Frame 5
onClipEvent (enterFrame) { if (_root.checkCollision(this, _root.ply.bod)) { _global.knockdown = "on"; if (_root.area3.boss._currentframe == 8) { _global.side2 = "left"; } else { _global.side2 = "right"; } } }
Instance of Symbol 313 MovieClip in Symbol 315 MovieClip Frame 6
onClipEvent (enterFrame) { if (_root.checkCollision(this, _root.ply.bod)) { _global.knockdown = "on"; if (_root.area3.boss._currentframe == 8) { _global.side2 = "right"; } else { _global.side2 = "left"; } } }
Instance of Symbol 313 MovieClip in Symbol 315 MovieClip Frame 6
onClipEvent (enterFrame) { if (_root.checkCollision(this, _root.ply.bod)) { _global.knockdown = "on"; if (_root.area3.boss._currentframe == 8) { _global.side2 = "right"; } else { _global.side2 = "left"; } } }
Symbol 315 MovieClip Frame 32
_global.bstage = 2;
Symbol 315 MovieClip Frame 51
_global.bstage = 3;
Symbol 321 MovieClip Frame 31
_global.bstage = 10;
Symbol 321 MovieClip Frame 83
_global.bstage = 11;
Symbol 325 MovieClip Frame 12
stop();
Symbol 326 MovieClip Frame 1
_global.encount = -1;
Instance of Symbol 180 MovieClip "enar" in Symbol 326 MovieClip Frame 1
onClipEvent (load) { var timer = 85; this._alpha = 100; this.gotoAndStop(1); var destroy = "off"; this._x = this._x - (Math.cos((this._rotation * Math.PI) / 180) * 4); this._y = this._y - (Math.sin((this._rotation * Math.PI) / 180) * 4); } onClipEvent (enterFrame) { _root.araction(this._name); }
Instance of Symbol 322 MovieClip "boss" in Symbol 326 MovieClip Frame 1
onClipEvent (load) { var begincycle = true; var fr = 2; var oldx = this._x; var hurt = 0; var health = 49; var oldy = this._y; } onClipEvent (enterFrame) { if (health > 1) { if (hurt == 0) { if (_root.checkCollision(this, _root.area2)) { hurt = 7; health--; } } else { hurt--; } if (begincycle == true) { begincycle = "done"; dir = "left"; cond = 2; act = 3; fr = 3; blimit = 0; countdown = 10; } this.gotoAndStop(fr); if ((cond == 2) or (cond == 3)) { if (dir == "left") { if (this._x > -626) { this._x = this._x - 13; } else { dir = "stop"; var fdir = "left"; } } else if (dir == "right") { if (this._x <= -626) { this._x = this._x + 13; } else { dir = "stop"; var fdir = "right"; } } } if (cond == 1) { if (dir == "left") { if (this._x > -1058) { this._x = this._x - 13; } else { dir = "stop"; var fdir = "right"; } } else if (dir == "right") { if (this._x < 300) { this._x = this._x + 13; } else { dir = "stop"; var fdir = "left"; } } } if ((dir == "stop") and (countdown > 0)) { countdown = countdown - 1; } if (countdown == 0) { mtime = mtime - 1; if (act == 1) { act = 0; cond = 0; if (encount < 1) { fr = 5; _global.cr = "on"; } else if (this._x < 0) { fr = 11; } else { fr = 10; } } if (act == 2) { fr = 6; _root.spawnenbullet(this._x - 30, this._y + 52, blimit, "bar"); _root.spawnenbullet(this._x + 40, this._y + 52, 180 + blimit, "bar"); blimit = blimit + 12; if (blimit == 360) { blimit = 0; cond = 1; dir = fdir; fr = 3; act = 1; countdown = 10; } } if (act == 3) { fr = 7; act = 0; _global.bstage = 0; } } if (bstage == 1) { oldx = this._x; oldy = this._y; if (side2 == "left") { fr = 9; this._x = ((-1 * _root.area2._x) + _root.ply._x) - 110; } else { fr = 8; this._x = ((-1 * _root.area2._x) + _root.ply._x) + 110; } this._y = ((-1 * _root.area2._y) + _root.ply._y) - 10; _global.bstage = 1.5; } else if (bstage == 2) { this._x = oldx; this._y = oldy; _global.bstage = 2.5; } else if (bstage == 3) { _global.bstage = 0; dir = fdir; act = 1; countdown = 10; cond = 1; fr = 3; } if ((fr == 5) and (cr == "off")) { _root.spawnenbullet(this._x - 110, this._y + 100, 0, "bows"); fr = 3; dir = fdir; cond = Math.round(Math.random()) + 2; countdown = 10; act = cond; } if (bstage == 10) { if (fr == 10) { _root.spawnenergy(this._x + 25, this._y + 55, 2); } else { _root.spawnenergy(this._x - 25, this._y + 55, 2); } } if (bstage == 11) { _global.bstage = 0; fr = 3; dir = fdir; cond = Math.round(Math.random()) + 2; countdown = 10; act = cond; } } else { _root.play(); } }
Instance of Symbol 325 MovieClip "bar" in Symbol 326 MovieClip Frame 1
onClipEvent (load) { var timer = 85; this._alpha = 100; this.gotoAndPlay(1); var destroy = "off"; if (this._name == "bar") { this.stop(); } this._x = this._x - (Math.cos((this._rotation * Math.PI) / 180) * 4); this._y = this._y - (Math.sin((this._rotation * Math.PI) / 180) * 4); } onClipEvent (enterFrame) { if (destroy == "on") { removeMovieClip(this); } else if (destroy == "ready") { var destroy = "ready2"; this._alpha = this._alpha - 20; } else if (destroy == "ready2") { var destroy = "ready3"; this._alpha = this._alpha - 20; } else if (destroy == "ready3") { var destroy = "ready4"; this._alpha = this._alpha - 20; } else if (destroy == "ready4") { var destroy = "on"; } timer = timer - 1; if (timer == 0) { removeMovieClip(this); } _global.rot = this._rotation; if (rot < 0) { _global.rot = _global.rot + 360; } if (destroy == "off") { this._x = this._x - (Math.cos((this._rotation * Math.PI) / 180) * 13); this._y = this._y - (Math.sin((this._rotation * Math.PI) / 180) * 13); if (_root.checkCollision(_root.area, this)) { var destroy = "ready"; } if (destroy == "off") { if (_root.checkCollision(_root.ply.bod, this)) { _global.health = _global.health - 1; var destroy = "ready"; this.gotoAndStop(2); } } } }
Instance of Symbol 197 MovieClip "bows" in Symbol 326 MovieClip Frame 1
onClipEvent (load) { var cooldown = 12; if (this._name != "bows") { var chase = true; } else { this.stop(); } _global.encount = _global.encount + 1; var hurt = 0; var health = 2; var oldx = this._x; var oldy = this._y; var oldrot = this._rotation; var fire = false; } onClipEvent (enterFrame) { if (this._name != "bows") { if ((bstage == 10) and (health > 0)) { health = 0; } _root.bowaction(this._name); } }
Symbol 331 MovieClip Frame 1
stop();
Symbol 340 MovieClip Frame 364
_root.play();
Instance of Symbol 352 MovieClip in Symbol 354 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.area._x < -6400) { _root.play(); } }
Symbol 356 MovieClip Frame 225
_root.play();
Symbol 360 MovieClip Frame 1
stop();
Symbol 362 MovieClip Frame 20
stop();
Symbol 372 MovieClip Frame 1
stop();
Symbol 372 MovieClip Frame 19
_parent.gotoAndStop(2);
Symbol 374 MovieClip Frame 54
_parent.gotoAndStop(2);
Symbol 383 MovieClip Frame 54
_parent.gotoAndStop(2);
Symbol 388 MovieClip Frame 39
_root.golemmade = 0; _root.lvl.violet._alpha = 100;
Symbol 388 MovieClip Frame 40
_root.golemmade = 0; _root.lvl.violet._alpha = 100;
Symbol 388 MovieClip Frame 41
stop(); _parent._x = -5000; _parent.gotoAndStop(1);
Symbol 389 MovieClip Frame 10
_parent.gotoAndStop(2);
Symbol 390 MovieClip Frame 10
_parent.gotoAndStop(3);
Symbol 392 MovieClip Frame 1
stop();
Instance of Symbol 383 MovieClip in Symbol 392 MovieClip Frame 4
onClipEvent (enterFrame) { if (_root.checkCollision(this, _root.ply)) { _global.health = _global.health - 0.6; _global.knockdown = "on"; _global.side2 = "right"; } }
Instance of Symbol 383 MovieClip in Symbol 392 MovieClip Frame 5
onClipEvent (enterFrame) { if (_root.checkCollision(this, _root.ply)) { _global.health = _global.health - 0.6; _global.knockdown = "on"; _global.side2 = "left"; } }
Instance of Symbol 180 MovieClip "enar" in Symbol 393 MovieClip Frame 1
onClipEvent (load) { var timer = 85; this._alpha = 100; this.gotoAndStop(1); var destroy = "off"; this._x = this._x - (Math.cos((this._rotation * Math.PI) / 180) * 4); this._y = this._y - (Math.sin((this._rotation * Math.PI) / 180) * 4); } onClipEvent (enterFrame) { _root.araction(this._name); }
Instance of Symbol 360 MovieClip "enblt" in Symbol 393 MovieClip Frame 1
onClipEvent (load) { var timer = 80; this._alpha = 100; this.gotoAndStop(1); var destroy = "off"; this._x = this._x + (Math.cos(((this._rotation + 90) * Math.PI) / 180) * 4); this._y = this._y + (Math.sin(((this._rotation + 90) * Math.PI) / 180) * 4); } onClipEvent (enterFrame) { if (destroy == "on") { removeMovieClip(this); } else if (destroy == "ready") { var destroy = "on"; } timer = timer - 1; if (timer == 0) { removeMovieClip(this); } _global.rot = this._rotation; if (rot < 0) { _global.rot = _global.rot + 360; } this._x = this._x + (Math.cos(((this._rotation + 90) * Math.PI) / 180) * 19); this._y = this._y + (Math.sin(((this._rotation + 90) * Math.PI) / 180) * 19); if (_root.checkCollision(_root.area, this) and (destroy == "off")) { var destroy = "ready"; this.gotoAndStop(2); } if (_root.checkCollision(_root.ply.bod, this) and (destroy == "off")) { var destroy = "ready"; this.gotoAndStop(2); } }
Instance of Symbol 197 MovieClip "bow1" in Symbol 393 MovieClip Frame 1
onClipEvent (load) { var cooldown = 12; var chase = false; var hurt = 0; var health = 2; var oldx = this._x; var oldy = this._y; var oldrot = this._rotation; var fire = false; } onClipEvent (enterFrame) { _root.bowaction(this._name); }
Instance of Symbol 362 MovieClip "missl" in Symbol 393 MovieClip Frame 1
onClipEvent (load) { var rot = 0; var destroy = 0; var hea = 0; var orot = this._rotation; var timer = 200; this._x = this._x - (Math.cos((orot * Math.PI) / 180) * 40); this._y = this._y - (Math.sin((orot * Math.PI) / 180) * 40); } onClipEvent (enterFrame) { if (_root.checkCollision(_root.ply.bod, this) and (destroy == 0)) { var destroy = 13; _global.health = _global.health - 1; this.gotoAndPlay(21); } if (destroy > 0) { destroy--; if (destroy == 0) { _root.spawnenergy(this._x, this._y, 3); removeMovieClip(this); } } else { if (_root.checkCollision(this, _root.area) == false) { if (hea > 0) { hea--; } this._x = this._x - (Math.cos((orot * Math.PI) / 180) * 7); this._y = this._y - (Math.sin((orot * Math.PI) / 180) * 7); } else { if (hea < 20) { hea++; } if (hea == 20) { removeMovieClip(this); } } this.gotoAndStop(hea + 1); timer--; if (timer == 0) { removeMovieClip(this); } } }
Instance of Symbol 239 MovieClip "wk1" in Symbol 393 MovieClip Frame 1
onClipEvent (load) { var cooldown = 0; var chase = "off"; var gunprog = 1; this.stop(); var shoot = false; var hurt = 0; var health = 3; var hit = 0; var oldx = this._x; var oldrot = this._rotation; var fire = "off"; } onClipEvent (enterFrame) { _root.solaction(this._name); }
Instance of Symbol 197 MovieClip "bows" in Symbol 393 MovieClip Frame 1
onClipEvent (load) { var cooldown = 12; var chase = false; var hurt = 0; var health = 2; var oldx = this._x; var oldy = this._y; var oldrot = this._rotation; var fire = false; } onClipEvent (enterFrame) { _root.bowaction(this._name); }
Instance of Symbol 239 MovieClip "wk2" in Symbol 393 MovieClip Frame 1
onClipEvent (load) { var cooldown = 0; var chase = "off"; var gunprog = 1; this.stop(); var shoot = false; var hurt = 0; var health = 3; var hit = 0; var oldx = this._x; var oldrot = this._rotation; var fire = "off"; } onClipEvent (enterFrame) { _root.solaction(this._name); }
Instance of Symbol 205 MovieClip in Symbol 393 MovieClip Frame 1
onClipEvent (load) { var chase = false; } onClipEvent (enterFrame) { if (chase == false) { if (Math.abs(Math.sqrt((((_root.area2._y + this._y) - _root.ply._y) * ((_root.area2._y + this._y) - _root.ply._y)) + (((_root.area2._x + this._x) - _root.ply._x) * ((_root.area2._x + this._x) - _root.ply._x)))) < 200) { chase = true; this.play(); } } }
Instance of Symbol 392 MovieClip in Symbol 393 MovieClip Frame 1
onClipEvent (load) { var cooldown = 0; var chase = "off"; this.stop(); var hurt = 0; var health = 4; var hit = 0; var oldx = this._x; } onClipEvent (enterFrame) { _root.gaction(this._name); }
Instance of Symbol 392 MovieClip in Symbol 393 MovieClip Frame 1
onClipEvent (load) { var cooldown = 0; var chase = "off"; this.stop(); var hurt = 0; var health = 4; var hit = 0; var oldx = this._x; } onClipEvent (enterFrame) { _root.gaction(this._name); }
Instance of Symbol 137 MovieClip "blk" in Symbol 416 MovieClip Frame 1
onClipEvent (load) { var destroy = "off"; var cd = 0; if (run == "true") { if (_root.checkCollision(this, _root.ply.body.tooleft) or _root.checkCollision(this, _root.ply.body.tooright)) { _global.run = false; removeMovieClip(this); } } if (_root.checkCollision(this, _root.area2)) { var destroy = "on"; this.gotoAndPlay(2); } else if (_root.checkCollision(this, _root.area3)) { var destroy = "on"; this.gotoAndPlay(2); } } onClipEvent (enterFrame) { if (destroy != "off") { if (_root.checkCollision(this, _root.ply.body)) { removeMovieClip(this); } } if (destroy == "on") { destroy = "ready"; cd = 13; _root.spawngenergy(this._x, this._y, 1); } if (destroy == "ready") { cd--; } else if (_root.checkCollision(this, _root.area2)) { var destroy = "on"; this.gotoAndPlay(2); } else if (_root.checkCollision(this, _root.area3)) { var destroy = "on"; this.gotoAndPlay(2); } if ((destroy == "ready") and (cd == 0)) { removeMovieClip(this); } }
Symbol 421 MovieClip Frame 156
_root.play();
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 423 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 425 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (enterFrame) { if ((_root.area._x < -1940) and (_root.area._y > -10)) { _root.play(); } }
Symbol 428 MovieClip Frame 1
stop();
Instance of Symbol 383 MovieClip in Symbol 428 MovieClip Frame 4
onClipEvent (enterFrame) { if (_root.checkCollision(this, _root.ply)) { _global.health = _global.health - 0.6; _global.knockdown = "on"; _global.side2 = "right"; } }
Instance of Symbol 383 MovieClip in Symbol 428 MovieClip Frame 5
onClipEvent (enterFrame) { if (_root.checkCollision(this, _root.ply)) { _global.health = _global.health - 0.6; _global.knockdown = "on"; _global.side2 = "left"; } }
Instance of Symbol 180 MovieClip "enar" in Symbol 429 MovieClip Frame 1
onClipEvent (load) { var timer = 105; this.gotoAndStop(1); var destroy = "off"; this._x = this._x - (Math.cos((this._rotation * Math.PI) / 180) * 4); this._y = this._y - (Math.sin((this._rotation * Math.PI) / 180) * 4); } onClipEvent (enterFrame) { _root.araction(this._name); }
Instance of Symbol 239 MovieClip "wk1" in Symbol 429 MovieClip Frame 1
onClipEvent (load) { var cooldown = 0; var chase = "off"; var gunprog = 1; this.stop(); var shoot = false; var hurt = 0; var health = 3; var hit = 0; var oldx = this._x; var oldrot = this._rotation; var fire = "off"; } onClipEvent (enterFrame) { _root.solaction(this._name); }
Instance of Symbol 197 MovieClip "bows" in Symbol 429 MovieClip Frame 1
onClipEvent (load) { var cooldown = 12; var chase = false; var hurt = 0; var health = 2; var oldx = this._x; var oldy = this._y; var oldrot = this._rotation; var fire = false; } onClipEvent (enterFrame) { _root.bowaction(this._name); }
Instance of Symbol 239 MovieClip "wk3" in Symbol 429 MovieClip Frame 1
onClipEvent (load) { var cooldown = 0; var chase = "off"; var gunprog = 1; this.stop(); var shoot = false; var hurt = 0; var health = 3; var hit = 0; var oldx = this._x; var oldrot = this._rotation; var fire = "off"; } onClipEvent (enterFrame) { _root.solaction(this._name); }
Instance of Symbol 392 MovieClip in Symbol 429 MovieClip Frame 1
onClipEvent (load) { var cooldown = 0; var chase = "off"; this.stop(); var hurt = 0; var health = 4; var hit = 0; var oldx = this._x; } onClipEvent (enterFrame) { _root.gaction(this._name); }
Instance of Symbol 392 MovieClip in Symbol 429 MovieClip Frame 1
onClipEvent (load) { var cooldown = 0; var chase = "off"; var gunprog = 1; this.stop(); var shoot = false; var hurt = 0; var health = 4; var hit = 0; var oldx = this._x; var oldy = this._y; var oldrot = this._rotation; var fire = "off"; } onClipEvent (enterFrame) { if (health > -55) { shoot = true; if (health <= 0) { if (cooldown == 0) { _root.spawnenergy(this._x, this._y, 1); cooldown = 3; } else { cooldown--; } if (health == 0) { _global.blklimit = _global.blklimit + 1; var chase = "off"; shoot = false; if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > this._x) { this.gotoAndStop(6); } else { this.gotoAndStop(7); } } health--; } else if ((chase == "on") and (Math.abs(Math.sqrt((((_root.area2._y + this._y) - _root.ply._y) * ((_root.area2._y + this._y) - _root.ply._y)) + (((_root.area2._x + this._x) - _root.ply._x) * ((_root.area2._x + this._x) - _root.ply._x)))) < 700)) { if (this._currentframe != 1) { if (hurt == 0) { if (_root.checkCollision(this.body, _root.area2) and (health > 0)) { var hurt = 10; health--; } } if (hurt > 0) { hurt--; this.bod.gotoAndStop(2); if (hurt == 9) { if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > this._x) { this.gotoAndStop(8); } else { this.gotoAndStop(9); } } } else { this.bod.gotoAndStop(1); if ((this._currentframe != 4) and (this._currentframe != 5)) { if (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 7) - this._x) < 170) { if ((((-1 * _root.area2._x) + _root.ply._x) + 7) > this._x) { this.gotoAndStop(5); } else { this.gotoAndStop(4); } } else if (hit <= 0) { if ((((-1 * _root.area2._x) + _root.ply._x) + 12) > this._x) { shoot = false; this._x = this._x + 7.5; this.gotoAndStop(2); } else { shoot = false; this._x = this._x - 7.5; this.gotoAndStop(3); } } if ((_root.checkCollision(this.bod, _root.area) or (_root.checkCollision(this.grd, _root.area.ground) == false)) or (yenter < 45)) { this._x = oldx; shoot = true; if ((((-1 * _root.area3._x) + _root.ply._x) + 7) > this._x) { this.gotoAndStop(5); shoot = true; } else { this.gotoAndStop(4); shoot = true; } } else { hit--; if (hit <= 0) { oldx = this._x; } else { shoot = true; this._x = oldx; } } } } } } else { this.stop(); if (Math.abs(Math.sqrt((((_root.area2._y + this._y) - _root.ply._y) * ((_root.area2._y + this._y) - _root.ply._y)) + ((((_root.area2._x + this._x) - _root.ply._x) + 5) * (((_root.area2._x + this._x) - _root.ply._x) + 5)))) < 250) { var chase = "on"; this.body.play(); } } if (shoot == true) { gunprog = gunprog + 1; } else { gunprog = 1; } } }
Instance of Symbol 392 MovieClip in Symbol 429 MovieClip Frame 1
onClipEvent (load) { var cooldown = 0; var chase = "off"; this.stop(); var hurt = 0; var health = 4; var hit = 0; var oldx = this._x; } onClipEvent (enterFrame) { _root.gaction(this._name); }
Instance of Symbol 428 MovieClip in Symbol 429 MovieClip Frame 1
onClipEvent (load) { var cooldown = 0; var chase = "off"; this.stop(); var hurt = 0; var health = 4; var hit = 0; var oldx = this._x; } onClipEvent (enterFrame) { _root.gaction(this._name); }
Instance of Symbol 239 MovieClip "wk2" in Symbol 429 MovieClip Frame 1
onClipEvent (load) { var cooldown = 0; var chase = "off"; var gunprog = 1; this.stop(); var shoot = false; var hurt = 0; var health = 3; var hit = 0; var oldx = this._x; var oldrot = this._rotation; var fire = "off"; } onClipEvent (enterFrame) { _root.solaction(this._name); }
Instance of Symbol 392 MovieClip in Symbol 429 MovieClip Frame 1
onClipEvent (load) { var cooldown = 0; var chase = "off"; this.stop(); var hurt = 0; var health = 4; var hit = 0; var oldx = this._x; } onClipEvent (enterFrame) { _root.gaction(this._name); }
Symbol 480 MovieClip Frame 1
stop();
Instance of Symbol 432 MovieClip in Symbol 480 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.jak)) { _root.menu.life.nextFrame(); } } onClipEvent (enterFrame) { if (this.hitTest(_root.jak)) { if (_root.jak._xscale > 0) { _root.ground._x = _root.ground._x + 30; } else { _root.ground._x = _root.ground._x - 30; } } }
Symbol 480 MovieClip Frame 2
stop();
Symbol 480 MovieClip Frame 3
stop();
Symbol 480 MovieClip Frame 4
stop();
Symbol 480 MovieClip Frame 5
stop();
Symbol 480 MovieClip Frame 33
stop();
Instance of Symbol 480 MovieClip "boulder" in Symbol 481 MovieClip Frame 1
onClipEvent (load) { var hurt = 0; } onClipEvent (enterFrame) { if ((hurt == 0) and (this._currentframe < 6)) { if (_root.checkCollision(this, _root.area2)) { this.play(); hurt = 9; } } if (hurt > 0) { hurt--; } }
Instance of Symbol 480 MovieClip in Symbol 481 MovieClip Frame 1
onClipEvent (load) { var hurt = 0; } onClipEvent (enterFrame) { if ((hurt == 0) and (this._currentframe < 6)) { if (_root.checkCollision(this, _root.area2)) { this.play(); hurt = 9; } } if (hurt > 0) { hurt--; } }
Instance of Symbol 137 MovieClip "blk" in Symbol 482 MovieClip Frame 1
onClipEvent (load) { var destroy = "off"; var cd = 0; if (run == "true") { if (_root.checkCollision(this, _root.ply.body.tooleft) or _root.checkCollision(this, _root.ply.body.tooright)) { _global.run = false; removeMovieClip(this); } } if (_root.checkCollision(this, _root.area2)) { var destroy = "on"; this.gotoAndPlay(2); } else if (_root.checkCollision(this, _root.area3)) { var destroy = "on"; this.gotoAndPlay(2); } } onClipEvent (enterFrame) { if (destroy != "off") { if (_root.checkCollision(this, _root.ply.body)) { removeMovieClip(this); } } if (destroy == "on") { destroy = "ready"; cd = 13; _root.spawngenergy(this._x, this._y, 1); } if (destroy == "ready") { cd--; } else if (_root.checkCollision(this, _root.area2)) { var destroy = "on"; this.gotoAndPlay(2); } else if (_root.checkCollision(this, _root.area3)) { var destroy = "on"; this.gotoAndPlay(2); } if ((destroy == "ready") and (cd == 0)) { removeMovieClip(this); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 488 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.checkCollision(this, _root.ply)) { _global.health = _global.health - 2; } }
Instance of Symbol 55 MovieClip "blt" in Symbol 491 MovieClip Frame 1
onClipEvent (load) { var timer = 19; var s = (blspd / 2); var d = bldrop; this.stop(); if (this._name != "blt") { this.play(); } var destroy = "off"; this._x = this._x + (Math.cos(((this._rotation + 90) * Math.PI) / 180) * 0.3); this._y = this._y + (Math.sin(((this._rotation + 90) * Math.PI) / 180) * 0.3); } onClipEvent (enterFrame) { if (destroy == "on") { removeMovieClip(this); } else if (destroy == "ready") { destroy = "ready2"; } else if (destroy == "ready2") { destroy = "ready3"; } else if (destroy == "ready3") { destroy = "ready4"; } else if (destroy == "ready4") { destroy = "on"; } else { timer = timer - 1; if (timer == 0) { removeMovieClip(this); } _global.rot = this._rotation; if (rot < 0) { _global.rot = _global.rot + 360; } if ((_root.checkCollision(_root.area, this) or _root.checkCollision(_root.area3, this)) and (destroy == "off")) { destroy = "ready"; this.gotoAndPlay(2); } else { this._x = this._x + ((Math.cos(((this._rotation + 90) * Math.PI) / 180) * 19) + s); this._y = this._y + (Math.sin(((this._rotation + 90) * Math.PI) / 180) * 19); if ((_root.checkCollision(_root.area, this) or _root.checkCollision(_root.area3, this)) and (destroy == "off")) { destroy = "ready"; this.gotoAndPlay(2); } else { this._x = this._x + ((Math.cos(((this._rotation + 90) * Math.PI) / 180) * 19) + s); this._y = this._y + (Math.sin(((this._rotation + 90) * Math.PI) / 180) * 19); } } } }
Symbol 495 MovieClip Frame 12
stop();
Symbol 504 MovieClip Frame 1
function control() { if (hasControls == true) { if (currentXLocations[index + 1] != undefined) { _x = currentXLocations[index]; _y = currentYLocations[index]; _rotation = currentRotations[index]; index++; return(undefined); } hasControls = false; } } hasControls = false; index = 0;
Symbol 510 MovieClip Frame 1
stop();
Symbol 512 MovieClip Frame 1
stop();
Symbol 517 MovieClip Frame 1
stop();
Instance of Symbol 495 MovieClip "enar" in Symbol 519 MovieClip Frame 1
onClipEvent (load) { var timer = 145; this._alpha = 100; this.gotoAndPlay(1); var destroy = "off"; if (this._name == "enar") { this.stop(); } this._x = this._x - (Math.cos((this._rotation * Math.PI) / 180) * 4); this._y = this._y - (Math.sin((this._rotation * Math.PI) / 180) * 4); } onClipEvent (enterFrame) { if (blockclear == true) { destroy = "ready"; } if (destroy == "on") { removeMovieClip(this); } else if (destroy == "ready") { var destroy = "ready2"; this._alpha = this._alpha - 20; } else if (destroy == "ready2") { var destroy = "ready3"; this._alpha = this._alpha - 20; } else if (destroy == "ready3") { var destroy = "ready4"; this._alpha = this._alpha - 20; } else if (destroy == "ready4") { var destroy = "on"; } timer = timer - 1; if (timer == 0) { removeMovieClip(this); } _global.rot = this._rotation; if (rot < 0) { _global.rot = _global.rot + 360; } if (destroy == "off") { this._x = this._x - (Math.cos((this._rotation * Math.PI) / 180) * 13); this._y = this._y - (Math.sin((this._rotation * Math.PI) / 180) * 13); if (_root.checkCollision(_root.area, this)) { var destroy = "ready"; } if (destroy == "off") { if (_root.checkCollision(_root.ply.bod, this)) { _global.health = _global.health - 0.5; var destroy = "ready"; this.gotoAndStop(13); } } } }
Instance of Symbol 518 MovieClip "boss" in Symbol 519 MovieClip Frame 1
onClipEvent (load) { var cooldown = 0; var act = 1; var hurt = 0; var mtimer = 90; var boost = 1; var timer = 0; var rot = 0; var orot = 0; var health = 30; var fire = false; var oldx = this._x; var oldy = this._y; } onClipEvent (enterFrame) { if (health == 0) { stopAllSounds(); _root.play(); } if (cooldown > 0) { cooldown--; } if (hurt == 0) { if (_root.checkCollision(this, _root.area2)) { hurt = 7; health--; } } else { hurt--; } if (act == 1) { if (((_root.area3._x + this._x) - _root.ply._x) > 0) { this.bod.gotoAndStop(2); } else { this.bod.gotoAndStop(1); } boost = 1; if (Math.abs(Math.sqrt((((_root.area2._y + this._y) - _root.ply._y) * ((_root.area2._y + this._y) - _root.ply._y)) + (((_root.area2._x + this._x) - _root.ply._x) * ((_root.area2._x + this._x) - _root.ply._x)))) < 250) { if (fire == false) { rot = (Math.atan2(((_root.area2._y + this._y) - _root.ply._y) - 50, ((_root.area2._x + this._x) - _root.ply._x) - 15) * 180) / Math.PI; if (rot < 0) { rot = rot + 360; } orot = rot; fire = true; } } else if (Math.abs(Math.sqrt((((_root.area2._y + this._y) - _root.ply._y) * ((_root.area2._y + this._y) - _root.ply._y)) + (((_root.area2._x + this._x) - _root.ply._x) * ((_root.area2._x + this._x) - _root.ply._x)))) > 450) { act = 2; fire = false; } } else if (act == 2) { boost = 2.9; if (((_root.area3._x + this._x) - _root.ply._x) > 0) { this.bod.gotoAndStop(4); } else { this.bod.gotoAndStop(3); } if (Math.abs(Math.sqrt((((_root.area2._y + this._y) - _root.ply._y) * ((_root.area2._y + this._y) - _root.ply._y)) + (((_root.area2._x + this._x) - _root.ply._x) * ((_root.area2._x + this._x) - _root.ply._x)))) < 285) { act = 1; } } if ((fire == false) or (act != 1)) { if (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 12) - this._x) < (5 * boost)) { this._x = ((-1 * _root.area2._x) + _root.ply._x) + 12; } else if ((((-1 * _root.area2._x) + _root.ply._x) + 12) > this._x) { this._x = this._x + (5 * boost); } else { this._x = this._x - (5 * boost); } if (_root.checkCollision(this.bod, _root.area.ground)) { this._x = oldx; boost = 1; } else { oldx = this._x; } if (Math.abs((((-1 * _root.area2._y) + _root.ply._y) + 35) - this._y) < (4 * boost)) { this._y = ((-1 * _root.area2._y) + _root.ply._y) + 35; } else if ((((-1 * _root.area2._y) + _root.ply._y) + 35) > this._y) { this._y = this._y + (4 * boost); } else { this._y = this._y - (4 * boost); } if (_root.checkCollision(this.bod, _root.area.ground)) { this._y = oldy; boost = 1; } else { oldy = this._y; } } else { boost = 0.1; if (Math.abs((((-1 * _root.area2._y) + _root.ply._y) + 35) - this._y) < (4 * boost)) { this._y = ((-1 * _root.area2._y) + _root.ply._y) + 35; } else if ((((-1 * _root.area2._y) + _root.ply._y) + 35) > this._y) { this._y = this._y + (4 * boost); } else { this._y = this._y - (4 * boost); } if (_root.checkCollision(this.bod, _root.area.ground)) { this._y = oldy; boost = 1.1; } else { oldy = this._y; } if (Math.abs((((-1 * _root.area2._x) + _root.ply._x) + 12) - this._x) < (5 * boost)) { this._x = ((-1 * _root.area2._x) + _root.ply._x) + 12; } else if ((((-1 * _root.area2._x) + _root.ply._x) + 12) > this._x) { this._x = this._x + (5 * boost); } else { this._x = this._x - (5 * boost); } if (_root.checkCollision(this.bod, _root.area.ground)) { this._x = oldx; } else { oldx = this._x; } if (cooldown <= 0) { if (orot < 0) { orot = orot + 360; } rot = (Math.atan2(((_root.area2._y + this._y) - _root.ply._y) - 50, ((_root.area2._x + this._x) - _root.ply._x) - 12) * 180) / Math.PI; if (rot < 0) { rot = rot + 360; } if ((Math.abs(rot - orot) < 10) or (Math.abs((rot - orot) - 360) > 10)) { orot = rot; } else { _root.checker(rot); _root.checker(orot); if (((rot - orot) > 180) or ((orot > rot) and ((orot - rot) < 180))) { orot = orot - 10; } else { orot = orot + 10; } } _root.spawnenbullet(this._x, this._y, orot, "enar"); this.bod.eye1.gotoAndPlay(2); this.bod.eye2.gotoAndPlay(2); cooldown = 5; } } this.bod.play(); }
Instance of Symbol 480 MovieClip in Symbol 521 MovieClip Frame 1
onClipEvent (load) { var hurt = 0; } onClipEvent (enterFrame) { if ((hurt == 0) and (this._currentframe < 6)) { if (_root.checkCollision(this, _root.area2)) { this.play(); hurt = 10; } } if (hurt > 0) { hurt--; } }
Instance of Symbol 137 MovieClip "blk" in Symbol 522 MovieClip Frame 1
onClipEvent (load) { var destroy = 0; var cd = 0; if (run == "true") { if (_root.checkCollision(this, _root.ply.body.tooleft) or _root.checkCollision(this, _root.ply.body.tooright)) { _global.run = false; removeMovieClip(this); } } } onClipEvent (enterFrame) { if ((blockclear == true) and (destroy == 0)) { destroy = 1; } _root.blkaction(this._name); }
Instance of Symbol 143 MovieClip "energy" in Symbol 523 MovieClip Frame 1
onClipEvent (load) { var rotlimit = 12; if (_root.ply._alpha < 100) { removeMovieClip(this); _global.imbalance = 0; } var cd = "off"; _global.imbalance = _global.imbalance + 1; } onClipEvent (enterFrame) { if (this._name != "energy") { var xdd = (((_root.area4._x + this._x) - _root.ply._x) - 10); var ydd = (((_root.area4._y + this._y) - _root.ply._y) - 50); var mydistance = Math.sqrt((xdd * xdd) + (ydd * ydd)); if ((mydistance < 35) and (cd == "off")) { var cd = 12; _global.imbalance = _global.imbalance - 1; this.gotoAndPlay(2); } if (cd == "off") { var rot = ((Math.atan2(((_root.area4._y + this._y) - _root.ply._y) - 50, ((_root.area4._x + this._x) - _root.ply._x) - 10) * 180) / Math.PI); var rotdiff = (this._rotation - rot); if (rotdiff >= 180) { rotdiff = rotdiff - 360; } if (rotdiff <= -180) { rotdiff = rotdiff + 360; } if (Math.abs(rotdiff) < rotlimit) { this._rotation = rot; } else { rotlimit = rotlimit + 0.2; if (rotdiff < 0) { this._rotation = this._rotation + rotlimit; } else { this._rotation = this._rotation - rotlimit; } } this._x = this._x - (Math.cos((this._rotation * Math.PI) / 180) * 17); this._y = this._y - (Math.sin((this._rotation * Math.PI) / 180) * 17); } else { cd = cd - 1; if (cd == 0) { removeMovieClip(this); } } } }
Instance of Symbol 145 MovieClip "genergy" in Symbol 523 MovieClip Frame 1
onClipEvent (load) { var cd = "off"; } onClipEvent (enterFrame) { if (this._name != "genergy") { var xdd = (((_root.area4._x + this._x) - _root.ply._x) - 10); var ydd = (((_root.area4._y + this._y) - _root.ply._y) - 50); var mydistance = Math.sqrt((xdd * xdd) + (ydd * ydd)); if ((mydistance < 30) and (cd == "off")) { var cd = 12; this.gotoAndPlay(2); } if (cd == "off") { var rot = ((Math.atan2(((_root.area4._y + this._y) - _root.ply._y) - 50, ((_root.area4._x + this._x) - _root.ply._x) - 10) * 180) / Math.PI); this._rotation = rot; this._x = this._x - (Math.cos((this._rotation * Math.PI) / 180) * 25); this._y = this._y - (Math.sin((this._rotation * Math.PI) / 180) * 25); } else { cd = cd - 1; if (cd == 0) { removeMovieClip(this); } } } }
Symbol 525 MovieClip Frame 1
stop();
Symbol 525 MovieClip Frame 29
Symbol 528 MovieClip Frame 2
stop();
Symbol 530 MovieClip Frame 1
function control() { if (hasControls == true) { if (currentXLocations[index + 1] != undefined) { _x = currentXLocations[index]; _y = currentYLocations[index]; _rotation = currentRotations[index]; index++; return(undefined); } hasControls = false; } } hasControls = false; index = 0;
Symbol 531 MovieClip Frame 1
stop();
Symbol 532 MovieClip Frame 1
stop();
Symbol 544 MovieClip Frame 1
stop();
Instance of Symbol 486 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 486 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Symbol 549 MovieClip Frame 444
_root.play();
Symbol 551 Button
on (release) { gotoAndStop (2); _global.gomen = true; }
Symbol 552 MovieClip Frame 93
stop();

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 GraphicUsed by:14
Symbol 3 GraphicUsed by:4 331 525
Symbol 4 MovieClipUses:3Used by:14
Symbol 5 GraphicUsed by:14
Symbol 6 GraphicUsed by:14
Symbol 7 GraphicUsed by:13
Symbol 8 GraphicUsed by:13
Symbol 9 GraphicUsed by:13
Symbol 10 GraphicUsed by:13
Symbol 11 GraphicUsed by:13
Symbol 12 GraphicUsed by:13
Symbol 13 ButtonUses:7 8 9 10 11 12Used by:14
Symbol 14 MovieClipUses:2 4 5 6 13Used by:Timeline
Symbol 15 FontUsed by:16
Symbol 16 TextUses:15Used by:Timeline
Symbol 17 GraphicUsed by:34
Symbol 18 MovieClipUses:SS1Used by:34
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:19Used by:34
Symbol 21 FontUsed by:22
Symbol 22 TextUses:21Used by:34
Symbol 23 FontUsed by:24 25 27 28 30 31 36 37 161 162 163 164 165 166 167 168 169 550 554
Symbol 24 TextUses:23Used by:26
Symbol 25 TextUses:23Used by:26
Symbol 26 ButtonUses:24 25Used by:33
Symbol 27 TextUses:23Used by:29
Symbol 28 TextUses:23Used by:29
Symbol 29 ButtonUses:27 28Used by:33
Symbol 30 TextUses:23Used by:32
Symbol 31 TextUses:23Used by:32
Symbol 32 ButtonUses:30 31Used by:33
Symbol 33 MovieClipUses:26 29 32Used by:34
Symbol 34 MovieClipUses:17 18 20 22 33 SS2Used by:Timeline
Symbol 35 GraphicUsed by:176 340 356  Timeline
Symbol 36 TextUses:23Used by:Timeline
Symbol 37 TextUses:23Used by:38 551
Symbol 38 ButtonUses:37Used by:Timeline
Symbol 39 GraphicUsed by:Timeline
Symbol 40 FontUsed by:41
Symbol 41 TextUses:40Used by:Timeline
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:42Used by:Timeline
Symbol 44 GraphicUsed by:Timeline
Symbol 45 GraphicUsed by:47
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:45 46Used by:56 178
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:48Used by:56
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:50Used by:56
Symbol 52 GraphicUsed by:55
Symbol 53 GraphicUsed by:55
Symbol 54 SoundUsed by:55 340
Symbol 55 MovieClipUses:52 53 54Used by:56 178 491
Symbol 56 MovieClipUses:47 49 51 55Used by:Timeline
Symbol 57 GraphicUsed by:58 60
Symbol 58 MovieClipUses:57Used by:61
Symbol 59 SoundUsed by:60 61
Symbol 60 MovieClipUses:57 59Used by:61
Symbol 61 MovieClipUses:58 59 60Used by:Timeline
Symbol 62 GraphicUsed by:65
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:63Used by:65
Symbol 65 MovieClipUses:62 64Used by:82
Symbol 66 GraphicUsed by:69
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClipUses:67Used by:69 73
Symbol 69 MovieClipUses:66 68Used by:82
Symbol 70 GraphicUsed by:73
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:71Used by:73
Symbol 73 MovieClipUses:70 68 72Used by:82
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:74Used by:82
Symbol 76 GraphicUsed by:79
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:77Used by:79
Symbol 79 MovieClipUses:76 78Used by:82
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClipUses:80Used by:82
Symbol 82 MovieClipUses:65 69 73 75 79 81Used by:128
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:83Used by:111 119 120 122 123 124 126 127 340
Symbol 85 BitmapUsed by:86
Symbol 86 GraphicUses:85Used by:111 119 120 122 123 124 126 127 340
Symbol 87 GraphicUsed by:90 127
Symbol 88 BitmapUsed by:89
Symbol 89 GraphicUses:88Used by:90 127
Symbol 90 MovieClipUses:87 89Used by:111 119 120 122 123 124 126 127 340
Symbol 91 GraphicUsed by:94 101 103 119 120 123 124 126 127 340
Symbol 92 BitmapUsed by:93
Symbol 93 GraphicUses:92Used by:94 101 103 115 119 120 123 124 126 127 340
Symbol 94 MovieClipUses:91 93Used by:111
Symbol 95 GraphicUsed by:96 102 109 117 119 120 121 123 124 126 127 334 340
Symbol 96 MovieClipUses:95Used by:111
Symbol 97 BitmapUsed by:98
Symbol 98 GraphicUses:97Used by:111 113
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:111 119 120 122 123 124 126 127 340
Symbol 101 MovieClipUses:91 93Used by:111
Symbol 102 MovieClipUses:95Used by:111
Symbol 103 MovieClipUses:91 93Used by:109 122 123 334
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClipUses:104Used by:108 334
Symbol 106 GraphicUsed by:108 204 340
Symbol 107 SoundUsed by:108
Symbol 108 MovieClipUses:105 106 107Used by:109
Symbol 109 MovieClipUses:103 95 108Used by:110
Symbol 110 MovieClipUses:109Used by:111 119 120 122 123 124 127
Symbol 111 MovieClipUses:84 86 90 94 96 98 100 101 102 110Used by:128 421
Symbol 112 GraphicUsed by:113
Symbol 113 MovieClipUses:112 98Used by:119 120 122 123 124 126 127 340
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClipUses:114 93Used by:116 119 120 123 124 127
Symbol 116 MovieClipUses:115Used by:119 122 123
Symbol 117 MovieClipUses:95Used by:118
Symbol 118 MovieClipUses:117Used by:119 120 122 123 124 127
Symbol 119 MovieClipUses:84 86 90 91 93 95 113 100 116 118 110 115Used by:128
Symbol 120 MovieClipUses:84 86 90 91 93 95 113 100 115 118 110Used by:128
Symbol 121 MovieClipUses:95Used by:122 123
Symbol 122 MovieClipUses:84 86 90 103 121 113 100 116 118 110Used by:128
Symbol 123 MovieClipUses:84 86 90 103 121 113 100 116 118 110 91 93 95 115Used by:128
Symbol 124 MovieClipUses:95 84 86 90 91 93 113 100 115 118 110Used by:128 421
Symbol 125 SoundUsed by:126
Symbol 126 MovieClipUses:84 86 90 91 93 95 113 100 125Used by:128
Symbol 127 MovieClipUses:84 86 90 91 93 95 113 100 87 89 115 118 110Used by:128
Symbol 128 MovieClipUses:82 111 119 120 122 123 124 126 127Used by:Timeline
Symbol 129 GraphicUsed by:138
Symbol 130 GraphicUsed by:133
Symbol 131 GraphicUsed by:132
Symbol 132 MovieClipUses:131Used by:133
Symbol 133 MovieClipUses:130 132Used by:138
Symbol 134 GraphicUsed by:137
Symbol 135 GraphicUsed by:137
Symbol 136 GraphicUsed by:137 143 145
Symbol 137 MovieClipUses:134 135 136Used by:138 245 252 416 482 522  Timeline
Symbol 138 MovieClipUses:129 133 137Used by:Timeline
Symbol 139 GraphicUsed by:150
Symbol 140 GraphicUsed by:143 144
Symbol 141 GraphicUsed by:143 144
Symbol 142 GraphicUsed by:143 144
Symbol 143 MovieClipUses:140 141 142 136Used by:150 246 523
Symbol 144 MovieClipUses:140 141 142Used by:145
Symbol 145 MovieClipUses:144 136Used by:150 246 523
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:146Used by:148
Symbol 148 MovieClipUses:147Used by:149
Symbol 149 MovieClipUses:148Used by:150 246
Symbol 150 MovieClipUses:139 143 145 149Used by:Timeline
Symbol 151 GraphicUsed by:154
Symbol 152 GraphicUsed by:154
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClipUses:151 152 153Used by:Timeline
Symbol 155 GraphicUsed by:156 158
Symbol 156 MovieClipUses:155Used by:158
Symbol 157 GraphicUsed by:158
Symbol 158 MovieClipUses:156 157 155Used by:Timeline
Symbol 159 GraphicUsed by:160
Symbol 160 MovieClipUses:159Used by:Timeline
Symbol 161 TextUses:23Used by:170
Symbol 162 TextUses:23Used by:170
Symbol 163 TextUses:23Used by:170
Symbol 164 TextUses:23Used by:170
Symbol 165 TextUses:23Used by:170
Symbol 166 TextUses:23Used by:170
Symbol 167 TextUses:23Used by:170
Symbol 168 TextUses:23Used by:170
Symbol 169 TextUses:23Used by:170
Symbol 170 MovieClipUses:161 162 163 164 165 166 167 168 169Used by:Timeline
Symbol 171 SoundUsed by:172
Symbol 172 MovieClipUses:171Used by:Timeline
Symbol 173 GraphicUsed by:176 177 249  Timeline
Symbol 174 FontUsed by:175 355
Symbol 175 TextUses:174Used by:176
Symbol 176 MovieClipUses:173 35 175Used by:Timeline
Symbol 177 MovieClipUses:173Used by:Timeline
Symbol 178 MovieClipUses:47 55Used by:Timeline
Symbol 179 GraphicUsed by:180
Symbol 180 MovieClipUses:179Used by:197 240 326 393 429
Symbol 181 GraphicUsed by:182
Symbol 182 MovieClipUses:181Used by:183 195
Symbol 183 MovieClipUses:182Used by:197
Symbol 184 ShapeTweeningUsed by:187
Symbol 185 ShapeTweeningUsed by:187
Symbol 186 GraphicUsed by:187 195
Symbol 187 MovieClipUses:184 185 186Used by:197
Symbol 188 ShapeTweeningUsed by:197
Symbol 189 ShapeTweeningUsed by:197
Symbol 190 ShapeTweeningUsed by:197
Symbol 191 ShapeTweeningUsed by:197
Symbol 192 SoundUsed by:197
Symbol 193 GraphicUsed by:197
Symbol 194 GraphicUsed by:197
Symbol 195 MovieClipUses:186 182Used by:197
Symbol 196 GraphicUsed by:197
Symbol 197 MovieClipUses:183 187 188 189 180 190 191 192 193 194 195 196Used by:240 326 393 429
Symbol 198 GraphicUsed by:200
Symbol 199 GraphicUsed by:200
Symbol 200 MovieClipUses:198 199Used by:240 326 393
Symbol 201 GraphicUsed by:205
Symbol 202 GraphicUsed by:205
Symbol 203 GraphicUsed by:204
Symbol 204 MovieClipUses:203 106Used by:205
Symbol 205 MovieClipUses:201 202 204Used by:240 393
Symbol 206 GraphicUsed by:207
Symbol 207 MovieClipUses:206Used by:239 392 428
Symbol 208 GraphicUsed by:209
Symbol 209 MovieClipUses:208Used by:239 392 428
Symbol 210 GraphicUsed by:227 233 237 238 239
Symbol 211 GraphicUsed by:212 302 340
Symbol 212 MovieClipUses:211Used by:228 230 233 237 238 239
Symbol 213 GraphicUsed by:229 233 237 238 239
Symbol 214 GraphicUsed by:231 233 237 238 239
Symbol 215 GraphicUsed by:231 233 237 238 239
Symbol 216 GraphicUsed by:218
Symbol 217 GraphicUsed by:218 237
Symbol 218 MovieClipUses:216 217Used by:231 233 238 239
Symbol 219 GraphicUsed by:231 233 237 238 239
Symbol 220 GraphicUsed by:231 233 237 238 239
Symbol 221 GraphicUsed by:222
Symbol 222 MovieClipUses:221Used by:223
Symbol 223 MovieClipUses:222Used by:231 232 239
Symbol 224 GraphicUsed by:231 232 235 239
Symbol 225 GraphicUsed by:231 233 237 238 239
Symbol 226 GraphicUsed by:231 233 237 238 239
Symbol 227 MovieClipUses:210Used by:231
Symbol 228 MovieClipUses:212Used by:231
Symbol 229 MovieClipUses:213Used by:231
Symbol 230 MovieClipUses:212Used by:231
Symbol 231 MovieClipUses:227 228 229 230 214 215 218 219 220 223 224 225 226Used by:239
Symbol 232 MovieClipUses:223 224Used by:233 238
Symbol 233 MovieClipUses:210 212 213 214 215 218 219 220 232 225 226Used by:239
Symbol 234 GraphicUsed by:237
Symbol 235 MovieClipUses:224Used by:237
Symbol 236 GraphicUsed by:237
Symbol 237 MovieClipUses:234 210 212 213 214 215 219 220 235 225 226 217 236Used by:239
Symbol 238 MovieClipUses:210 212 213 214 215 218 219 220 232 225 226Used by:239
Symbol 239 MovieClipUses:207 209 210 212 213 214 215 218 219 220 223 224 225 226 231 233 237 238Used by:240 393 429
Symbol 240 MovieClipUses:180 197 200 205 239Used by:Timeline
Symbol 241 GraphicUsed by:244
Symbol 242 GraphicUsed by:244 251  Timeline
Symbol 243 GraphicUsed by:244 251  Timeline
Symbol 244 MovieClipUses:241 242 243Used by:245
Symbol 245 MovieClipUses:244 137Used by:Timeline
Symbol 246 MovieClipUses:143 145 149Used by:Timeline
Symbol 247 SoundUsed by:248
Symbol 248 MovieClipUses:247Used by:Timeline
Symbol 249 MovieClipUses:173Used by:Timeline
Symbol 250 GraphicUsed by:251
Symbol 251 MovieClipUses:250 242 243Used by:252
Symbol 252 MovieClipUses:251 137Used by:Timeline
Symbol 253 ShapeTweeningUsed by:257
Symbol 254 GraphicUsed by:257
Symbol 255 ShapeTweeningUsed by:257
Symbol 256 GraphicUsed by:257
Symbol 257 MovieClipUses:253 254 255 256Used by:285 322
Symbol 258 GraphicUsed by:263
Symbol 259 GraphicUsed by:260
Symbol 260 MovieClipUses:259Used by:263 315 340
Symbol 261 GraphicUsed by:262
Symbol 262 MovieClipUses:261Used by:263 302 340
Symbol 263 MovieClipUses:258 260 262Used by:285 293 300 315 319 322
Symbol 264 GraphicUsed by:267
Symbol 265 GraphicUsed by:266
Symbol 266 MovieClipUses:265Used by:267
Symbol 267 MovieClipUses:264 266Used by:285 293 300 315 319 322
Symbol 268 ShapeTweeningUsed by:273
Symbol 269 ShapeTweeningUsed by:273
Symbol 270 ShapeTweeningUsed by:273
Symbol 271 ShapeTweeningUsed by:273
Symbol 272 GraphicUsed by:273
Symbol 273 MovieClipUses:268 269 270 271 272Used by:285 322
Symbol 274 GraphicUsed by:275
Symbol 275 MovieClipUses:274Used by:322
Symbol 276 GraphicUsed by:277
Symbol 277 MovieClipUses:276Used by:285 293 300 315 322
Symbol 278 GraphicUsed by:279
Symbol 279 MovieClipUses:278Used by:280
Symbol 280 MovieClipUses:279Used by:285
Symbol 281 GraphicUsed by:285 300
Symbol 282 SoundUsed by:285
Symbol 283 ShapeTweeningUsed by:285
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClipUses:257 263 267 273 277 280 281 282 283 284Used by:322
Symbol 286 GraphicUsed by:293
Symbol 287 GraphicUsed by:288
Symbol 288 MovieClipUses:287Used by:289 315 340
Symbol 289 MovieClipUses:288Used by:293 300 315 319
Symbol 290 GraphicUsed by:293 300 311 315 319 340
Symbol 291 GraphicUsed by:292
Symbol 292 MovieClipUses:291Used by:293 300 311 315 319 340
Symbol 293 MovieClipUses:286 263 289 290 292 267 277Used by:322
Symbol 294 GraphicUsed by:300 315
Symbol 295 GraphicUsed by:296
Symbol 296 MovieClipUses:295Used by:300
Symbol 297 SoundUsed by:298
Symbol 298 MovieClipUses:297Used by:300 319
Symbol 299 SoundUsed by:300 315
Symbol 300 MovieClipUses:294 263 296 289 290 292 267 277 281 298 299Used by:322
Symbol 301 GraphicUsed by:315 340
Symbol 302 MovieClipUses:211 262Used by:315
Symbol 303 GraphicUsed by:304 340
Symbol 304 MovieClipUses:303Used by:315
Symbol 305 GraphicUsed by:310 340
Symbol 306 GraphicUsed by:309 319
Symbol 307 GraphicUsed by:309 319
Symbol 308 GraphicUsed by:309 319
Symbol 309 MovieClipUses:306 307 308Used by:310 340
Symbol 310 MovieClipUses:305 309Used by:315
Symbol 311 MovieClipUses:290 292Used by:313
Symbol 312 GraphicUsed by:313
Symbol 313 MovieClipUses:311 312Used by:315
Symbol 314 SoundUsed by:315
Symbol 315 MovieClipUses:301 260 302 288 290 292 304 310 313 299 314 294 263 289 267 277Used by:322
Symbol 316 GraphicUsed by:319
Symbol 317 GraphicUsed by:319
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClipUses:316 317 263 289 290 292 267 306 318 307 308 298 SS3Used by:320
Symbol 320 MovieClipUses:319Used by:321
Symbol 321 MovieClipUses:320Used by:322
Symbol 322 MovieClipUses:257 263 267 273 275 277 285 293 300 315 321Used by:326
Symbol 323 GraphicUsed by:325
Symbol 324 SoundUsed by:325
Symbol 325 MovieClipUses:323 324Used by:326
Symbol 326 MovieClipUses:180 322 325 200 197Used by:Timeline
Symbol 327 GraphicUsed by:331 525
Symbol 328 GraphicUsed by:331 525
Symbol 329 FontUsed by:330 524
Symbol 330 TextUses:329Used by:331
Symbol 331 MovieClipUses:3 327 328 330Used by:Timeline
Symbol 332 SoundUsed by:333
Symbol 333 MovieClipUses:332Used by:Timeline
Symbol 334 MovieClipUses:103 95 105Used by:340
Symbol 335 GraphicUsed by:340
Symbol 336 GraphicUsed by:340
Symbol 337 GraphicUsed by:340
Symbol 338 FontUsed by:339
Symbol 339 TextUses:338Used by:340
Symbol 340 MovieClipUses:95 84 86 90 91 93 113 100 334 301 260 290 292 211 262 288 303 305 309 335 54 336 337 106 35 339Used by:Timeline
Symbol 341 GraphicUsed by:356 357
Symbol 342 GraphicUsed by:349
Symbol 343 ShapeTweeningUsed by:348
Symbol 344 ShapeTweeningUsed by:348
Symbol 345 ShapeTweeningUsed by:348
Symbol 346 ShapeTweeningUsed by:348
Symbol 347 GraphicUsed by:348
Symbol 348 MovieClipUses:343 344 345 346 347Used by:349 354
Symbol 349 MovieClipUses:342 348Used by:356 357
Symbol 350 GraphicUsed by:354
Symbol 351 GraphicUsed by:352
Symbol 352 MovieClipUses:351Used by:354
Symbol 353 GraphicUsed by:354
Symbol 354 MovieClipUses:350 352 353 348Used by:356 357
Symbol 355 TextUses:174Used by:356
Symbol 356 MovieClipUses:341 349 354 35 355Used by:Timeline
Symbol 357 MovieClipUses:341 349 354Used by:Timeline
Symbol 358 GraphicUsed by:360
Symbol 359 GraphicUsed by:360
Symbol 360 MovieClipUses:358 359Used by:393
Symbol 361 GraphicUsed by:362
Symbol 362 MovieClipUses:361Used by:393
Symbol 363 GraphicUsed by:372 373 374 388 389 390 391
Symbol 364 GraphicUsed by:372 373 374 388 389 390 391
Symbol 365 GraphicUsed by:372 373 374 388 389 390 391
Symbol 366 GraphicUsed by:372 373 374 388 389 390 391
Symbol 367 GraphicUsed by:372 373 374 388 389 390 391
Symbol 368 GraphicUsed by:372 373 374 388 389 390 391
Symbol 369 GraphicUsed by:372 373 383 388 389 390 391
Symbol 370 SoundUsed by:372
Symbol 371 SoundUsed by:372 480
Symbol 372 MovieClipUses:363 364 365 366 367 368 369 370 371Used by:392 428
Symbol 373 MovieClipUses:365 363 364 366 367 369 368Used by:392 428
Symbol 374 MovieClipUses:365 363 364 366 367 368Used by:392 428
Symbol 375 SoundUsed by:383
Symbol 376 GraphicUsed by:383
Symbol 377 GraphicUsed by:383
Symbol 378 GraphicUsed by:383
Symbol 379 GraphicUsed by:383
Symbol 380 GraphicUsed by:383
Symbol 381 GraphicUsed by:383
Symbol 382 GraphicUsed by:383
Symbol 383 MovieClipUses:369 375 376 377 378 379 380 381 382Used by:392 428
Symbol 384 GraphicUsed by:388
Symbol 385 GraphicUsed by:388
Symbol 386 GraphicUsed by:388
Symbol 387 SoundUsed by:388
Symbol 388 MovieClipUses:363 364 365 366 367 368 369 384 385 386 387Used by:392 428
Symbol 389 MovieClipUses:365 363 364 366 367 369 368Used by:392 428
Symbol 390 MovieClipUses:365 363 364 366 367 369 368Used by:392 428
Symbol 391 MovieClipUses:363 364 365 366 367 368 369Used by:392 428
Symbol 392 MovieClipUses:372 207 209 373 374 383 388 389 390 391Used by:393 429
Symbol 393 MovieClipUses:180 360 197 200 362 205 239 392Used by:Timeline
Symbol 394 GraphicUsed by:415
Symbol 395 GraphicUsed by:396
Symbol 396 MovieClipUses:395Used by:415
Symbol 397 GraphicUsed by:398
Symbol 398 MovieClipUses:397Used by:415
Symbol 399 GraphicUsed by:400
Symbol 400 MovieClipUses:399Used by:415
Symbol 401 GraphicUsed by:402
Symbol 402 MovieClipUses:401Used by:415
Symbol 403 GraphicUsed by:404
Symbol 404 MovieClipUses:403Used by:415
Symbol 405 GraphicUsed by:406
Symbol 406 MovieClipUses:405Used by:415
Symbol 407 GraphicUsed by:408
Symbol 408 MovieClipUses:407Used by:415
Symbol 409 GraphicUsed by:410
Symbol 410 MovieClipUses:409Used by:415
Symbol 411 GraphicUsed by:412
Symbol 412 MovieClipUses:411Used by:415
Symbol 413 GraphicUsed by:414
Symbol 414 MovieClipUses:413Used by:415
Symbol 415 MovieClipUses:394 396 398 400 402 404 406 408 410 412 414Used by:416
Symbol 416 MovieClipUses:137 415Used by:Timeline
Symbol 417 SoundUsed by:418
Symbol 418 MovieClipUses:417Used by:Timeline
Symbol 419 GraphicUsed by:421
Symbol 420 GraphicUsed by:421
Symbol 421 MovieClipUses:419 111 420 124Used by:Timeline
Symbol 422 GraphicUsed by:423
Symbol 423 MovieClipUses:422Used by:427
Symbol 424 GraphicUsed by:425
Symbol 425 MovieClipUses:424Used by:427
Symbol 426 GraphicUsed by:427
Symbol 427 MovieClipUses:423 425 426Used by:Timeline
Symbol 428 MovieClipUses:372 207 209 373 374 383 388 389 390 391Used by:429
Symbol 429 MovieClipUses:180 239 197 392 428Used by:Timeline
Symbol 430 GraphicUsed by:481
Symbol 431 GraphicUsed by:432
Symbol 432 MovieClipUses:431Used by:480
Symbol 433 GraphicUsed by:480
Symbol 434 GraphicUsed by:480
Symbol 435 GraphicUsed by:480
Symbol 436 GraphicUsed by:480
Symbol 437 GraphicUsed by:480
Symbol 438 GraphicUsed by:480
Symbol 439 GraphicUsed by:480
Symbol 440 GraphicUsed by:480
Symbol 441 GraphicUsed by:480
Symbol 442 GraphicUsed by:480
Symbol 443 GraphicUsed by:480
Symbol 444 GraphicUsed by:480
Symbol 445 GraphicUsed by:480
Symbol 446 GraphicUsed by:480
Symbol 447 GraphicUsed by:480
Symbol 448 GraphicUsed by:480
Symbol 449 GraphicUsed by:480
Symbol 450 GraphicUsed by:480
Symbol 451 GraphicUsed by:480
Symbol 452 GraphicUsed by:480
Symbol 453 GraphicUsed by:480
Symbol 454 GraphicUsed by:480
Symbol 455 GraphicUsed by:480
Symbol 456 GraphicUsed by:480
Symbol 457 GraphicUsed by:480
Symbol 458 GraphicUsed by:480
Symbol 459 GraphicUsed by:480
Symbol 460 GraphicUsed by:480
Symbol 461 GraphicUsed by:480
Symbol 462 GraphicUsed by:480
Symbol 463 GraphicUsed by:480
Symbol 464 GraphicUsed by:480
Symbol 465 GraphicUsed by:480
Symbol 466 GraphicUsed by:480
Symbol 467 GraphicUsed by:480
Symbol 468 GraphicUsed by:480
Symbol 469 GraphicUsed by:480
Symbol 470 GraphicUsed by:480
Symbol 471 GraphicUsed by:480
Symbol 472 GraphicUsed by:480
Symbol 473 GraphicUsed by:480
Symbol 474 GraphicUsed by:480
Symbol 475 GraphicUsed by:480
Symbol 476 GraphicUsed by:480
Symbol 477 GraphicUsed by:480
Symbol 478 GraphicUsed by:480
Symbol 479 GraphicUsed by:480
Symbol 480 MovieClipUses:432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 371Used by:481 521
Symbol 481 MovieClipUses:430 480Used by:482
Symbol 482 MovieClipUses:481 137Used by:Timeline
Symbol 483 SoundUsed by:484
Symbol 484 MovieClipUses:483Used by:Timeline
Symbol 485 GraphicUsed by:486
Symbol 486 MovieClipUses:485Used by:490 549
Symbol 487 GraphicUsed by:488
Symbol 488 MovieClipUses:487Used by:490 549
Symbol 489 GraphicUsed by:490
Symbol 490 MovieClipUses:486 488 489Used by:Timeline
Symbol 491 MovieClipUses:55Used by:Timeline
Symbol 492 BitmapUsed by:493
Symbol 493 GraphicUses:492Used by:494
Symbol 494 MovieClipUses:493Used by:495
Symbol 495 MovieClipUses:494Used by:519
Symbol 496 BitmapUsed by:497
Symbol 497 GraphicUses:496Used by:503 529
Symbol 498 BitmapUsed by:499 502
Symbol 499 GraphicUses:498Used by:503 529
Symbol 500 BitmapUsed by:501
Symbol 501 GraphicUses:500Used by:503 529
Symbol 502 GraphicUses:498Used by:503 529
Symbol 503 MovieClipUses:497 499 501 502Used by:504
Symbol 504 MovieClipUses:503Used by:505
Symbol 505 MovieClipUses:504Used by:518
Symbol 506 GraphicUsed by:517 531 532 549
Symbol 507 GraphicUsed by:510 517
Symbol 508 GraphicUsed by:510 512
Symbol 509 SoundUsed by:510
Symbol 510 MovieClipUses:507 508 509Used by:517 531 532 549
Symbol 511 GraphicUsed by:512
Symbol 512 MovieClipUses:511 508Used by:517
Symbol 513 GraphicUsed by:517
Symbol 514 GraphicUsed by:515
Symbol 515 MovieClipUses:514Used by:517
Symbol 516 GraphicUsed by:517
Symbol 517 MovieClipUses:506 510 512 513 515 507 516Used by:518
Symbol 518 MovieClipUses:505 517Used by:519
Symbol 519 MovieClipUses:495 518Used by:Timeline
Symbol 520 GraphicUsed by:521
Symbol 521 MovieClipUses:520 480Used by:522
Symbol 522 MovieClipUses:521 137Used by:Timeline
Symbol 523 MovieClipUses:143 145Used by:Timeline
Symbol 524 TextUses:329Used by:525
Symbol 525 MovieClipUses:3 327 328 524Used by:Timeline
Symbol 526 SoundUsed by:528 549
Symbol 527 SoundUsed by:528
Symbol 528 MovieClipUses:526 527Used by:Timeline
Symbol 529 MovieClipUses:497 499 501 502Used by:530
Symbol 530 MovieClipUses:529Used by:549
Symbol 531 MovieClipUses:506 510Used by:549
Symbol 532 MovieClipUses:506 510Used by:549
Symbol 533 GraphicUsed by:534 549
Symbol 534 MovieClipUses:533Used by:549
Symbol 535 GraphicUsed by:543
Symbol 536 GraphicUsed by:543
Symbol 537 GraphicUsed by:543
Symbol 538 GraphicUsed by:543
Symbol 539 GraphicUsed by:543
Symbol 540 GraphicUsed by:543
Symbol 541 GraphicUsed by:543
Symbol 542 GraphicUsed by:543
Symbol 543 MovieClipUses:535 536 537 538 539 540 541 542Used by:544
Symbol 544 MovieClipUses:543Used by:549
Symbol 545 SoundUsed by:549
Symbol 546 ShapeTweeningUsed by:549
Symbol 547 ShapeTweeningUsed by:549
Symbol 548 GraphicUsed by:549
Symbol 549 MovieClipUses:486 530 531 526 532 506 510 534 544 533 488 545 546 547 548 SS4Used by:Timeline
Symbol 550 TextUses:23Used by:552
Symbol 551 ButtonUses:37Used by:552
Symbol 552 MovieClipUses:550 551Used by:Timeline
Symbol 553 SoundUsed by:Timeline
Symbol 554 TextUses:23Used by:Timeline
Streaming Sound 1Used by:Symbol 18 MovieClip
Streaming Sound 2Used by:Symbol 34 MovieClip
Streaming Sound 3Used by:Symbol 319 MovieClip
Streaming Sound 4Used by:Symbol 549 MovieClip

Instance Names

"area2"Frame 5Symbol 56 MovieClip
"beamguide"Frame 5Symbol 61 MovieClip
"ply"Frame 5Symbol 128 MovieClip
"area"Frame 5Symbol 138 MovieClip
"area4"Frame 5Symbol 150 MovieClip
"tut"Frame 5Symbol 170 MovieClip
"area2"Frame 7Symbol 178 MovieClip
"area3"Frame 7Symbol 240 MovieClip
"beamguide"Frame 7Symbol 61 MovieClip
"ply"Frame 7Symbol 128 MovieClip
"area"Frame 7Symbol 245 MovieClip
"area4"Frame 7Symbol 246 MovieClip
"area"Frame 8Symbol 252 MovieClip
"area3"Frame 8Symbol 326 MovieClip
"blk"Frame 9Symbol 137 MovieClip
"area5"Frame 11Symbol 357 MovieClip
"area2"Frame 11Symbol 178 MovieClip
"area3"Frame 11Symbol 393 MovieClip
"beamguide"Frame 11Symbol 61 MovieClip
"ply"Frame 11Symbol 128 MovieClip
"area"Frame 11Symbol 416 MovieClip
"area4"Frame 11Symbol 150 MovieClip
"area5"Frame 13Symbol 427 MovieClip
"area2"Frame 13Symbol 178 MovieClip
"area3"Frame 13Symbol 429 MovieClip
"beamguide"Frame 13Symbol 61 MovieClip
"ply"Frame 13Symbol 128 MovieClip
"area"Frame 13Symbol 482 MovieClip
"area4"Frame 13Symbol 150 MovieClip
"area5"Frame 14Symbol 490 MovieClip
"area2"Frame 14Symbol 491 MovieClip
"area3"Frame 14Symbol 519 MovieClip
"area"Frame 14Symbol 522 MovieClip
"area4"Frame 14Symbol 523 MovieClip
"bar"Symbol 14 MovieClip Frame 1Symbol 4 MovieClip
"blt"Symbol 56 MovieClip Frame 1Symbol 55 MovieClip
"bem"Symbol 61 MovieClip Frame 1Symbol 58 MovieClip
"bem"Symbol 61 MovieClip Frame 2Symbol 60 MovieClip
"ini"Symbol 65 MovieClip Frame 1Symbol 64 MovieClip
"ini"Symbol 69 MovieClip Frame 1Symbol 68 MovieClip
"ini"Symbol 73 MovieClip Frame 1Symbol 68 MovieClip
"hcontact"Symbol 73 MovieClip Frame 1Symbol 72 MovieClip
"noblocks"Symbol 79 MovieClip Frame 1Symbol 78 MovieClip
"tooright"Symbol 82 MovieClip Frame 1Symbol 65 MovieClip
"tooleft"Symbol 82 MovieClip Frame 1Symbol 65 MovieClip
"toolow"Symbol 82 MovieClip Frame 1Symbol 69 MovieClip
"toohigh"Symbol 82 MovieClip Frame 1Symbol 73 MovieClip
"canjump"Symbol 82 MovieClip Frame 1Symbol 75 MovieClip
"cantjump"Symbol 82 MovieClip Frame 1Symbol 79 MovieClip
"middle"Symbol 82 MovieClip Frame 1Symbol 81 MovieClip
"body"Symbol 128 MovieClip Frame 1Symbol 82 MovieClip
"bod"Symbol 128 MovieClip Frame 1Symbol 111 MovieClip
"bod"Symbol 128 MovieClip Frame 3Symbol 119 MovieClip
"bod"Symbol 128 MovieClip Frame 4Symbol 120 MovieClip
"bod"Symbol 128 MovieClip Frame 5Symbol 119 MovieClip
"bod"Symbol 128 MovieClip Frame 6Symbol 120 MovieClip
"bod"Symbol 128 MovieClip Frame 7Symbol 122 MovieClip
"bod"Symbol 128 MovieClip Frame 9Symbol 123 MovieClip
"bod"Symbol 128 MovieClip Frame 10Symbol 123 MovieClip
"bod"Symbol 128 MovieClip Frame 11Symbol 124 MovieClip
"bod"Symbol 128 MovieClip Frame 13Symbol 126 MovieClip
"bod"Symbol 128 MovieClip Frame 15Symbol 127 MovieClip
"ground"Symbol 138 MovieClip Frame 24Symbol 133 MovieClip
"blk"Symbol 138 MovieClip Frame 24Symbol 137 MovieClip
"gun"Symbol 149 MovieClip Frame 4Symbol 148 MovieClip
"energy"Symbol 150 MovieClip Frame 1Symbol 143 MovieClip
"genergy"Symbol 150 MovieClip Frame 1Symbol 145 MovieClip
"blt"Symbol 178 MovieClip Frame 1Symbol 55 MovieClip
"bod"Symbol 197 MovieClip Frame 1Symbol 183 MovieClip
"bod"Symbol 197 MovieClip Frame 14Symbol 183 MovieClip
"bod"Symbol 197 MovieClip Frame 15Symbol 183 MovieClip
"bod"Symbol 197 MovieClip Frame 29Symbol 195 MovieClip
"bod"Symbol 197 MovieClip Frame 41Symbol 183 MovieClip
"gn"Symbol 205 MovieClip Frame 19Symbol 204 MovieClip
"rang"Symbol 231 MovieClip Frame 1Symbol 223 MovieClip
"rang"Symbol 232 MovieClip Frame 1Symbol 223 MovieClip
"bod"Symbol 239 MovieClip Frame 1Symbol 207 MovieClip
"grd"Symbol 239 MovieClip Frame 1Symbol 209 MovieClip
"rang"Symbol 239 MovieClip Frame 1Symbol 223 MovieClip
"enar"Symbol 240 MovieClip Frame 1Symbol 180 MovieClip
"bow1"Symbol 240 MovieClip Frame 1Symbol 197 MovieClip
"bow4"Symbol 240 MovieClip Frame 1Symbol 197 MovieClip
"wk1"Symbol 240 MovieClip Frame 1Symbol 239 MovieClip
"bow"Symbol 240 MovieClip Frame 1Symbol 197 MovieClip
"bows"Symbol 240 MovieClip Frame 1Symbol 197 MovieClip
"wk2"Symbol 240 MovieClip Frame 1Symbol 239 MovieClip
"wk3"Symbol 240 MovieClip Frame 1Symbol 239 MovieClip
"ground"Symbol 245 MovieClip Frame 1Symbol 244 MovieClip
"blk"Symbol 245 MovieClip Frame 1Symbol 137 MovieClip
"energy"Symbol 246 MovieClip Frame 1Symbol 143 MovieClip
"genergy"Symbol 246 MovieClip Frame 1Symbol 145 MovieClip
"ground"Symbol 252 MovieClip Frame 1Symbol 251 MovieClip
"blk"Symbol 252 MovieClip Frame 1Symbol 137 MovieClip
"enar"Symbol 326 MovieClip Frame 1Symbol 180 MovieClip
"boss"Symbol 326 MovieClip Frame 1Symbol 322 MovieClip
"bar"Symbol 326 MovieClip Frame 1Symbol 325 MovieClip
"bows"Symbol 326 MovieClip Frame 1Symbol 197 MovieClip
"ground"Symbol 356 MovieClip Frame 1Symbol 349 MovieClip
"ground"Symbol 356 MovieClip Frame 1Symbol 354 MovieClip
"ground"Symbol 357 MovieClip Frame 1Symbol 349 MovieClip
"ground"Symbol 357 MovieClip Frame 1Symbol 354 MovieClip
"body"Symbol 392 MovieClip Frame 1Symbol 372 MovieClip
"bod"Symbol 392 MovieClip Frame 2Symbol 207 MovieClip
"grd"Symbol 392 MovieClip Frame 2Symbol 209 MovieClip
"body"Symbol 392 MovieClip Frame 2Symbol 373 MovieClip
"body"Symbol 392 MovieClip Frame 4Symbol 374 MovieClip
"bod"Symbol 392 MovieClip Frame 8Symbol 207 MovieClip
"grd"Symbol 392 MovieClip Frame 8Symbol 209 MovieClip
"enar"Symbol 393 MovieClip Frame 1Symbol 180 MovieClip
"enblt"Symbol 393 MovieClip Frame 1Symbol 360 MovieClip
"bow1"Symbol 393 MovieClip Frame 1Symbol 197 MovieClip
"missl"Symbol 393 MovieClip Frame 1Symbol 362 MovieClip
"wk1"Symbol 393 MovieClip Frame 1Symbol 239 MovieClip
"bows"Symbol 393 MovieClip Frame 1Symbol 197 MovieClip
"wk2"Symbol 393 MovieClip Frame 1Symbol 239 MovieClip
"blk"Symbol 416 MovieClip Frame 1Symbol 137 MovieClip
"ground"Symbol 416 MovieClip Frame 1Symbol 415 MovieClip
"body"Symbol 428 MovieClip Frame 1Symbol 372 MovieClip
"bod"Symbol 428 MovieClip Frame 2Symbol 207 MovieClip
"grd"Symbol 428 MovieClip Frame 2Symbol 209 MovieClip
"body"Symbol 428 MovieClip Frame 2Symbol 373 MovieClip
"body"Symbol 428 MovieClip Frame 4Symbol 374 MovieClip
"bod"Symbol 428 MovieClip Frame 8Symbol 207 MovieClip
"grd"Symbol 428 MovieClip Frame 8Symbol 209 MovieClip
"enar"Symbol 429 MovieClip Frame 1Symbol 180 MovieClip
"wk1"Symbol 429 MovieClip Frame 1Symbol 239 MovieClip
"bows"Symbol 429 MovieClip Frame 1Symbol 197 MovieClip
"wk3"Symbol 429 MovieClip Frame 1Symbol 239 MovieClip
"wk2"Symbol 429 MovieClip Frame 1Symbol 239 MovieClip
"boulder"Symbol 481 MovieClip Frame 1Symbol 480 MovieClip
"ground"Symbol 482 MovieClip Frame 1Symbol 481 MovieClip
"blk"Symbol 482 MovieClip Frame 1Symbol 137 MovieClip
"blt"Symbol 491 MovieClip Frame 1Symbol 55 MovieClip
"seg2"Symbol 505 MovieClip Frame 1Symbol 504 MovieClip
"eye1"Symbol 517 MovieClip Frame 1Symbol 510 MovieClip
"eye2"Symbol 517 MovieClip Frame 1Symbol 512 MovieClip
"eye2"Symbol 517 MovieClip Frame 2Symbol 512 MovieClip
"bod"Symbol 518 MovieClip Frame 1Symbol 517 MovieClip
"enar"Symbol 519 MovieClip Frame 1Symbol 495 MovieClip
"boss"Symbol 519 MovieClip Frame 1Symbol 518 MovieClip
"ground"Symbol 522 MovieClip Frame 1Symbol 521 MovieClip
"blk"Symbol 522 MovieClip Frame 1Symbol 137 MovieClip
"energy"Symbol 523 MovieClip Frame 1Symbol 143 MovieClip
"genergy"Symbol 523 MovieClip Frame 1Symbol 145 MovieClip
"eye1"Symbol 531 MovieClip Frame 1Symbol 510 MovieClip
"eye2"Symbol 531 MovieClip Frame 1Symbol 510 MovieClip
"eye1"Symbol 532 MovieClip Frame 1Symbol 510 MovieClip
"eye2"Symbol 532 MovieClip Frame 1Symbol 510 MovieClip
"wind"Symbol 544 MovieClip Frame 1Symbol 543 MovieClip
"seg2"Symbol 549 MovieClip Frame 1Symbol 530 MovieClip
"bod"Symbol 549 MovieClip Frame 1Symbol 531 MovieClip
"bod"Symbol 549 MovieClip Frame 142Symbol 531 MovieClip
"eye1"Symbol 549 MovieClip Frame 179Symbol 510 MovieClip
"eye2"Symbol 549 MovieClip Frame 179Symbol 510 MovieClip
"eye1"Symbol 549 MovieClip Frame 237Symbol 510 MovieClip
"eye2"Symbol 549 MovieClip Frame 237Symbol 510 MovieClip
"wind"Symbol 549 MovieClip Frame 271Symbol 544 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ScriptLimits (65)Timeline Frame 1MaxRecursionDepth: 256, ScriptTimeout: 100 seconds

Labels

"loaded"Symbol 14 MovieClip Frame 3




http://swfchan.com/10/48488/info.shtml
Created: 29/4 -2019 20:28:42 Last modified: 29/4 -2019 20:28:42 Server time: 22/12 -2024 08:01:28