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

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

916194936.swf

This is the info page for
Flash #12752

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


Text
ThermoStorm

Controls:
WASD for movement.
The mouse aims and click to shoot.
Space key ignites the jetpack.
G throws grenades (depends on how far the aim is
from the player for its direction and distance).
E activeates slow motion.
Q toggles the game graphics quality.

Health

JetPack fuel

you need to collect
all orbs to complete a level
which add to your score

Slow motion energy
(you can only use slow
motion when this bar is full)

Grenade
ammo

Main menu

Main menu

<p align="center"><font face="Verdana" size="8" color="#ffffff" letterSpacing="0.000000" kerning="1">timer</font></p>

Score:

<p align="center"><font face="Tahoma" size="12" color="#000000" letterSpacing="0.000000" kerning="1">99</font></p>

<p align="left"><font face="Tahoma" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

Level Complete

Death finds us all

Demo Complete

Please leave feedback to help mould the final release.

ActionScript [AS1/AS2]

Frame 1
MENU = new ContextMenu(); MENU.hideBuiltInItems(); Functioned = new ContextMenuItem("Josh Slade", doSomething); MENU.customItems.push(Functioned); _root.menu = MENU;
Frame 51
if (getBytesLoaded() == getBytesTotal()) { gotoAndPlay (53); }
Frame 52
gotoAndPlay (1);
Frame 53
remove = true; _root._x = 0; _root._y = 0;
Frame 72
remove = true; _root._x = 0; _root._y = 0; stop(); remove = true;
Frame 92
remove = true; _root._x = 0; _root._y = 0;
Frame 93
grav = 0.3; expTargetX = 0; expTargetY = 0; expSize = 0; id = 0; timeScale = 1; grenadeAmmo = 8; score = 0; slowMo = 100; goal = 30; remove = false; _root._x = 0; _root._y = 0; stop();
Instance of Symbol 50 MovieClip in Frame 93
onClipEvent (enterFrame) { if (_x < (_root.hud._x - 159)) { _x = _root.hud._x; } else if (_x > (_root.hud._x + 159)) { _x = _root.hud._x; } if (_y < (_root.hud._y - 320)) { _y = _root.hud._y; } else if (_y > (_root.hud._y + 320)) { _y = _root.hud._y; } if (_root.remove == true) { removeMovieClip(this); } }
Instance of Symbol 60 MovieClip "space" in Frame 93
onClipEvent (load) { targetX = 0; targetY = 0; } onClipEvent (enterFrame) { targetX = 275 - (_root.player._x - (((_root.player._x - _root.aim._x) * 0.8) / 2)); targetY = 200 - (_root.player._y - (((_root.player._y - _root.aim._y) * 0.8) / 2)); _root._x = _root._x - ((_root._x - targetX) / 6); _root._y = _root._y - ((_root._y - targetY) / 6); _root.hud._x = 275 - _root._x; _root.hud._y = 200 - _root._y; if (_root.remove == true) { removeMovieClip(this); } }
Instance of Symbol 61 MovieClip "bars" in Frame 93
on (keyPress "e") { if (_root.slowMo > 99) { _root.timeScale = 0.3; } } on (keyPress "q") { toggleHighQuality(); } on (keyPress "g") { if (_root.player.life > 0) { if (_root.player.id3 < 130) { if (_root.grenadeAmmo > 0) { _root.player.id3 = _root.player.id3 + 1; duplicateMovieClip (_root.grenade, "grenade" + _root.player.id3, _root.player.id3 + 1); _root["grenade" + _root.player.id3].targetC = _root.player; _root.grenadeAmmo = _root.grenadeAmmo - 1; } } else { _root.player.id3 = 100; } } } onClipEvent (enterFrame) { if (_root.remove == true) { removeMovieClip(this); } if (_root.timeScale < 1) { _root.slowMo = _root.slowMo - 1; } else if (_root.slowMo < 100) { _root.slowMo = _root.slowMo + 0.2; } if (_root.slowMo < 1) { _root.timeScale = 1; } _x = _root.player._x; _y = _root.player._y; show = _root.player.life; show2 = _root.player.yspeed; if (_root.player.life < 0) { _root.player.life = 0; } }
Instance of Symbol 91 MovieClip in Frame 93
onClipEvent (load) { xspeed = 0; yspeed = 0; speed = 0.4; grav = _root.grav; jump = -6; jetPack = 0.4; id = 0; id2 = 0; id3 = 0; this.swapDepths(250); pWidth = _width; targetX = _x; targetY = _y; moved = false; watertime = 0; moveRight = false; moveLeft = true; jetPack = false; jump = true; spotted = false; interestX = 0; interestY = 0; interestLevel = 0; moveRLast = true; v1x = 0; v1y = 0; v2x = 0; v2y = 0; v3x = 0; v3y = 0; v4x = 0; v4y = 0; v5x = 0; v5y = 0; life = 30; timeScale = 0; } onClipEvent (enterFrame) { function determineAngleBetweenPoints(x1, x2, y1, y2) { var _local2 = x1 - x2; var _local3 = y1 - y2; var _local1 = Math.atan2(_local3, _local2); return(_local1); } function radiansToDegrees(radians) { var _local1 = radians * 57.2957795130823; return(_local1); } if (_root.remove == true) { removeMovieClip(this); } var pan = 0; var vol = 0; if ((_x - _root.player._x) > 100) { pan = 100; } else if ((_x - _root.player._x) < -100) { pan = -100; } else { pan = _x - _root.player._x; } vol = 100 - (Math.sqrt(((_x - _root.player._x) * (_x - _root.player._x)) + ((_y - _root.player._y) * (_y - _root.player._y))) / 10); if (vol > 100) { vol = 100; } shotSound.setPan(pan); shotSound.setVolume(vol); if (_root.sound.type == 2) { var dist = Math.sqrt(((_x - _root.sound._x) * (_x - _root.sound._x)) + ((_y - _root.sound._y) * (_y - _root.sound._y))); if (dist < (_root.sound.size * 2)) { life = life - (((_root.sound.size * 2) - dist) / 4); } } if (yspeed > 14) { yspeed = 14; } _x = (_x + xspeed); _y = (_y + yspeed); var angle = 0; var x1 = _x; var y1 = _y; var x2 = interestX; var y2 = interestY; if (interestLevel < 1) { interestX = _x + xspeed; interestY = _y; } x2 = interestX; y2 = interestY; var angle = determineAngleBetweenPoints(x1, x2, y1, y2); v1x = _x - (Math.cos(angle) * 100); v1y = _y - (Math.sin(angle) * 100); v2x = _x - (Math.cos(angle) * 150); v2y = _y - (Math.sin(angle) * 150); v4x = _x - (Math.cos(angle) * 200); v4y = _y - (Math.sin(angle) * 200); v5x = _x - (Math.cos(angle) * 240); v5y = _y - (Math.sin(angle) * 240); v3x = _x - (Math.cos(angle) * 30); v3y = _y - (Math.sin(angle) * 30); if (_root.space.hitTest(v1x, v1y, true) and _root.space.hitTest(v3x, v3y, true)) { if (_root.space.hitTest(v2x, v2y, true)) { if (_root.space.hitTest(v4x, v4y, true)) { if (_root.space.hitTest(v5x, v5y, true)) { vision.gotoAndStop(5); } else { vision.gotoAndStop(4); } } else { vision.gotoAndStop(3); } } else { vision.gotoAndStop(2); } } else { vision.gotoAndStop(1); } if (life > 0) { if (interestLevel > 100) { if (_root.space.hitTest(v3x, v3y, true)) { if ((random(Math.round(10 / _root.timeScale)) == 1) and (vision.reaction > 8)) { if (_root.player.id3 < 130) { _root.player.id3 = _root.player.id3 + 1; duplicateMovieClip (_root.bullet, "bullet" + _root.player.id3, _root.player.id3 + 1); _root["bullet" + _root.player.id3].targetC = this; weapon.flare.gotoAndPlay(2); _root.sound.owner = this; shotSound = new Sound(this); shotSound.attachSound("shot1"); shotSound.start(0, 1); } else { _root.player.id3 = 100; } } if (vision._currentframe < 2) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { yspeed = -6 * _root.timeScale; } } } else { if (interestY > _y) { interestY = interestY - 5; } if (interestX > _x) { interestX = interestX + 5; } else { interestX = interestX - 5; } } } if (_root.space.hitTest(_x - 20, _y, true)) { } else if ((_root.space.hitTest(_x - 20, _y - 120, true) and (xspeed < 0)) || (_root.space.hitTest(_x - 20, _y - 80, true) and (xspeed < 0))) { yspeed = -6 * _root.timeScale; } else { moveLeft = false; moveRight = true; moveRLast = true; } if (_root.space.hitTest(_x + 20, _y, true)) { } else if ((_root.space.hitTest(_x + 20, _y - 120, true) and (xspeed > 0)) || (_root.space.hitTest(_x + 20, _y - 80, true) and (xspeed > 0))) { yspeed = -6 * _root.timeScale; } else { moveLeft = true; moveRight = false; moveRLast = false; } if (_root.space.hitTest(_x - 30, _y + 80, true) and _root.space.hitTest(_x - 30, (_y + (ani._height / 2)) + 20, true)) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { if ((interestLevel == 0) and (moveLeft == true)) { interestLevel = 50; interestX = _x - 80; interestY = _y + 60; } if ((interestLevel > 20) and (interestX < _x)) { moveRight = false; moveLeft = false; } else { moveRight = true; moveLeft = false; moveRLast = true; } } } if (_root.space.hitTest(_x + 30, _y + 80, true) and _root.space.hitTest(_x + 30, (_y + (ani._height / 2)) + 20, true)) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { if ((interestLevel == 0) and (moveRight == true)) { interestLevel = 50; interestX = _x + 80; interestY = _y + 60; } if ((interestLevel > 20) and (interestX > _x)) { moveRight = false; moveLeft = false; } else { moveRight = false; moveLeft = true; moveRLast = false; } } } if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else if (interestLevel == 0) { if ((moveLeft == false) and (moveRight == false)) { if (moveRLast == true) { moveLeft = true; moveRight = false; } else { moveLeft = false; moveRight = true; } } } if (spotted == false) { if (xspeed < 0) { _xscale = -100; } else { _xscale = 100; } } else if (_x > interestX) { _xscale = -100; } else { _xscale = 100; } if (_root.space.hitTest(_x, _y, true)) { } else { _y = (_y - 5); yspeed = 0; } if (timeScale != _root.timeScale) { xspeed = xspeed * _root.timeScale; yspeed = yspeed * _root.timeScale; timeScale = _root.timeScale; } if ((moveRight == true) and (xspeed < (2 * _root.timeScale))) { xspeed = xspeed + (speed * _root.timeScale); } if ((moveLeft == true) and (xspeed > (-2 * _root.timeScale))) { xspeed = xspeed - (speed * _root.timeScale); } if ((jetPack == true) and (yspeed > -4)) { yspeed = yspeed - (jetPack * _root.timeScale); if (id < 20) { id = id + 1; duplicateMovieClip (_root.flame, "flame" + id, id + 1); _root["flame" + id].targetC = this; } else { id = 0; } } if ((moveRight == true) || (moveLeft == true)) { ani.play(); } else { ani.stop(); } } else { gotoAndStop (94); ani.stop(); xspeed = xspeed * 0.97; weapon._rotation = 0; _rotation = 0; } if (_root.space.hitTest(_x, _y + (ani._height / 2), true)) { if (_root.water.hitTest(_x, _y, true)) { watertime = watertime + 1; yspeed = yspeed - 0.1; yspeed = yspeed * 0.97; xspeed = xspeed * 0.97; if ((((yspeed > 2) || (xspeed > 3)) || (xspeed < -3)) || (yspeed < -2)) { if (_root.player.id2 < 50) { _root.player.id2 = _root.player.id2 + 1; duplicateMovieClip (_root.bubbles, "bubbles" + _root.player.id2, _root.player.id2 + 1); _root["bubbles" + _root.player.id2].targetC = this; } else { _root.player.id2 = 20; } } if ((_y < (_root.water._y + 20)) and (yspeed > 2)) { if (_root.player.id2 < 50) { _root.player.id2 = _root.player.id2 + 1; duplicateMovieClip (_root.splash, "splash" + _root.player.id2, _root.player.id2 + 1); _root["splash" + id2].targetC = this; } else { _root.player.id2 = 20; } } } else { watertime = 0; if (_root.water.hitTest(_x, _y + 10, true)) { if (life > 0) { if (moveLeft == true) { _rotation = -60; } else { _rotation = 60; } } } else if (life > 0) { _rotation = 0; } yspeed = yspeed + (grav * _root.timeScale); } } else { if (yspeed > (10 * _root.timeScale)) { life = life - Math.round(yspeed / _root.timeScale); } if (jump == true) { yspeed = jump * _root.timeScale; jump = false; } if ((moveRight == true) || (moveLeft == true)) { } else { xspeed = xspeed * 0.7; } i = 0; while (i < 15) { if (_root.space.hitTest(_x, ((_y - i) + 1) + (ani._height / 2), true)) { } else if (_root.space.hitTest(_x, (_y - i) + (ani._height / 2), true)) { yspeed = yspeed - (i / 5); _y = (_y - i); moved = true; _root.showme = i; } i = i + 1; } } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else if (yspeed < 0) { yspeed = yspeed - (yspeed * 1.3); } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else { _y = (_y + 1); } if (_root.space.hitTest(_x + ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed > 0) { xspeed = xspeed - (xspeed * 1.3); } if (_root.space.hitTest(_x - ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed < 0) { xspeed = xspeed - (xspeed * 1.3); } }
Instance of Symbol 91 MovieClip "eneTest" in Frame 93
onClipEvent (load) { xspeed = 0; yspeed = 0; speed = 0.4; grav = _root.grav; jump = -6; jetPack = 0.4; id = 0; id2 = 0; id3 = 0; this.swapDepths(250); pWidth = _width; targetX = _x; targetY = _y; moved = false; watertime = 0; moveRight = false; moveLeft = true; jetPack = false; jump = true; spotted = false; interestX = 0; interestY = 0; interestLevel = 0; moveRLast = true; v1x = 0; v1y = 0; v2x = 0; v2y = 0; v3x = 0; v3y = 0; v4x = 0; v4y = 0; v5x = 0; v5y = 0; life = 30; timeScale = 0; } onClipEvent (enterFrame) { function determineAngleBetweenPoints(x1, x2, y1, y2) { var _local2 = x1 - x2; var _local3 = y1 - y2; var _local1 = Math.atan2(_local3, _local2); return(_local1); } function radiansToDegrees(radians) { var _local1 = radians * 57.2957795130823; return(_local1); } if (_root.remove == true) { removeMovieClip(this); } var pan = 0; var vol = 0; if ((_x - _root.player._x) > 100) { pan = 100; } else if ((_x - _root.player._x) < -100) { pan = -100; } else { pan = _x - _root.player._x; } vol = 100 - (Math.sqrt(((_x - _root.player._x) * (_x - _root.player._x)) + ((_y - _root.player._y) * (_y - _root.player._y))) / 10); if (vol > 100) { vol = 100; } shotSound.setPan(pan); shotSound.setVolume(vol); if (_root.sound.type == 2) { var dist = Math.sqrt(((_x - _root.sound._x) * (_x - _root.sound._x)) + ((_y - _root.sound._y) * (_y - _root.sound._y))); if (dist < (_root.sound.size * 2)) { life = life - (((_root.sound.size * 2) - dist) / 4); } } if (yspeed > 14) { yspeed = 14; } _x = (_x + xspeed); _y = (_y + yspeed); var angle = 0; var x1 = _x; var y1 = _y; var x2 = interestX; var y2 = interestY; if (interestLevel < 1) { interestX = _x + xspeed; interestY = _y; } x2 = interestX; y2 = interestY; var angle = determineAngleBetweenPoints(x1, x2, y1, y2); v1x = _x - (Math.cos(angle) * 100); v1y = _y - (Math.sin(angle) * 100); v2x = _x - (Math.cos(angle) * 150); v2y = _y - (Math.sin(angle) * 150); v4x = _x - (Math.cos(angle) * 200); v4y = _y - (Math.sin(angle) * 200); v5x = _x - (Math.cos(angle) * 240); v5y = _y - (Math.sin(angle) * 240); v3x = _x - (Math.cos(angle) * 30); v3y = _y - (Math.sin(angle) * 30); if (_root.space.hitTest(v1x, v1y, true) and _root.space.hitTest(v3x, v3y, true)) { if (_root.space.hitTest(v2x, v2y, true)) { if (_root.space.hitTest(v4x, v4y, true)) { if (_root.space.hitTest(v5x, v5y, true)) { vision.gotoAndStop(5); } else { vision.gotoAndStop(4); } } else { vision.gotoAndStop(3); } } else { vision.gotoAndStop(2); } } else { vision.gotoAndStop(1); } if (life > 0) { if (interestLevel > 100) { if (_root.space.hitTest(v3x, v3y, true)) { if ((random(Math.round(10 / _root.timeScale)) == 1) and (vision.reaction > 8)) { if (_root.player.id3 < 130) { _root.player.id3 = _root.player.id3 + 1; duplicateMovieClip (_root.bullet, "bullet" + _root.player.id3, _root.player.id3 + 1); _root["bullet" + _root.player.id3].targetC = this; weapon.flare.gotoAndPlay(2); _root.sound.owner = this; shotSound = new Sound(this); shotSound.attachSound("shot1"); shotSound.start(0, 1); } else { _root.player.id3 = 100; } } if (vision._currentframe < 2) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { yspeed = -6 * _root.timeScale; } } } else { if (interestY > _y) { interestY = interestY - 5; } if (interestX > _x) { interestX = interestX + 5; } else { interestX = interestX - 5; } } } if (_root.space.hitTest(_x - 20, _y, true)) { } else if ((_root.space.hitTest(_x - 20, _y - 120, true) and (xspeed < 0)) || (_root.space.hitTest(_x - 20, _y - 80, true) and (xspeed < 0))) { yspeed = -6 * _root.timeScale; } else { moveLeft = false; moveRight = true; moveRLast = true; } if (_root.space.hitTest(_x + 20, _y, true)) { } else if ((_root.space.hitTest(_x + 20, _y - 120, true) and (xspeed > 0)) || (_root.space.hitTest(_x + 20, _y - 80, true) and (xspeed > 0))) { yspeed = -6 * _root.timeScale; } else { moveLeft = true; moveRight = false; moveRLast = false; } if (_root.space.hitTest(_x - 30, _y + 80, true) and _root.space.hitTest(_x - 30, (_y + (ani._height / 2)) + 20, true)) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { if ((interestLevel == 0) and (moveLeft == true)) { interestLevel = 50; interestX = _x - 80; interestY = _y + 60; } if ((interestLevel > 20) and (interestX < _x)) { moveRight = false; moveLeft = false; } else { moveRight = true; moveLeft = false; moveRLast = true; } } } if (_root.space.hitTest(_x + 30, _y + 80, true) and _root.space.hitTest(_x + 30, (_y + (ani._height / 2)) + 20, true)) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { if ((interestLevel == 0) and (moveRight == true)) { interestLevel = 50; interestX = _x + 80; interestY = _y + 60; } if ((interestLevel > 20) and (interestX > _x)) { moveRight = false; moveLeft = false; } else { moveRight = false; moveLeft = true; moveRLast = false; } } } if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else if (interestLevel == 0) { if ((moveLeft == false) and (moveRight == false)) { if (moveRLast == true) { moveLeft = true; moveRight = false; } else { moveLeft = false; moveRight = true; } } } if (spotted == false) { if (xspeed < 0) { _xscale = -100; } else { _xscale = 100; } } else if (_x > interestX) { _xscale = -100; } else { _xscale = 100; } if (_root.space.hitTest(_x, _y, true)) { } else { _y = (_y - 5); yspeed = 0; } if (timeScale != _root.timeScale) { xspeed = xspeed * _root.timeScale; yspeed = yspeed * _root.timeScale; timeScale = _root.timeScale; } if ((moveRight == true) and (xspeed < (2 * _root.timeScale))) { xspeed = xspeed + (speed * _root.timeScale); } if ((moveLeft == true) and (xspeed > (-2 * _root.timeScale))) { xspeed = xspeed - (speed * _root.timeScale); } if ((jetPack == true) and (yspeed > -4)) { yspeed = yspeed - (jetPack * _root.timeScale); if (id < 20) { id = id + 1; duplicateMovieClip (_root.flame, "flame" + id, id + 1); _root["flame" + id].targetC = this; } else { id = 0; } } if ((moveRight == true) || (moveLeft == true)) { ani.play(); } else { ani.stop(); } } else { gotoAndStop (94); ani.stop(); xspeed = xspeed * 0.97; weapon._rotation = 0; _rotation = 0; } if (_root.space.hitTest(_x, _y + (ani._height / 2), true)) { if (_root.water.hitTest(_x, _y, true)) { watertime = watertime + 1; yspeed = yspeed - 0.1; yspeed = yspeed * 0.97; xspeed = xspeed * 0.97; if ((((yspeed > 2) || (xspeed > 3)) || (xspeed < -3)) || (yspeed < -2)) { if (_root.player.id2 < 50) { _root.player.id2 = _root.player.id2 + 1; duplicateMovieClip (_root.bubbles, "bubbles" + _root.player.id2, _root.player.id2 + 1); _root["bubbles" + _root.player.id2].targetC = this; } else { _root.player.id2 = 20; } } if ((_y < (_root.water._y + 20)) and (yspeed > 2)) { if (_root.player.id2 < 50) { _root.player.id2 = _root.player.id2 + 1; duplicateMovieClip (_root.splash, "splash" + _root.player.id2, _root.player.id2 + 1); _root["splash" + id2].targetC = this; } else { _root.player.id2 = 20; } } } else { watertime = 0; if (_root.water.hitTest(_x, _y + 10, true)) { if (life > 0) { if (moveLeft == true) { _rotation = -60; } else { _rotation = 60; } } } else if (life > 0) { _rotation = 0; } yspeed = yspeed + (grav * _root.timeScale); } } else { if (yspeed > (10 * _root.timeScale)) { life = life - Math.round(yspeed / _root.timeScale); } if (jump == true) { yspeed = jump * _root.timeScale; jump = false; } if ((moveRight == true) || (moveLeft == true)) { } else { xspeed = xspeed * 0.7; } i = 0; while (i < 15) { if (_root.space.hitTest(_x, ((_y - i) + 1) + (ani._height / 2), true)) { } else if (_root.space.hitTest(_x, (_y - i) + (ani._height / 2), true)) { yspeed = yspeed - (i / 5); _y = (_y - i); moved = true; _root.showme = i; } i = i + 1; } } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else if (yspeed < 0) { yspeed = yspeed - (yspeed * 1.3); } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else { _y = (_y + 1); } if (_root.space.hitTest(_x + ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed > 0) { xspeed = xspeed - (xspeed * 1.3); } if (_root.space.hitTest(_x - ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed < 0) { xspeed = xspeed - (xspeed * 1.3); } }
Instance of Symbol 91 MovieClip in Frame 93
onClipEvent (load) { xspeed = 0; yspeed = 0; speed = 0.4; grav = _root.grav; jump = -6; jetPack = 0.4; id = 0; id2 = 0; id3 = 0; this.swapDepths(250); pWidth = _width; targetX = _x; targetY = _y; moved = false; watertime = 0; moveRight = false; moveLeft = true; jetPack = false; jump = true; spotted = false; interestX = 0; interestY = 0; interestLevel = 0; moveRLast = true; v1x = 0; v1y = 0; v2x = 0; v2y = 0; v3x = 0; v3y = 0; v4x = 0; v4y = 0; v5x = 0; v5y = 0; life = 30; timeScale = 0; } onClipEvent (enterFrame) { function determineAngleBetweenPoints(x1, x2, y1, y2) { var _local2 = x1 - x2; var _local3 = y1 - y2; var _local1 = Math.atan2(_local3, _local2); return(_local1); } function radiansToDegrees(radians) { var _local1 = radians * 57.2957795130823; return(_local1); } if (_root.remove == true) { removeMovieClip(this); } var pan = 0; var vol = 0; if ((_x - _root.player._x) > 100) { pan = 100; } else if ((_x - _root.player._x) < -100) { pan = -100; } else { pan = _x - _root.player._x; } vol = 100 - (Math.sqrt(((_x - _root.player._x) * (_x - _root.player._x)) + ((_y - _root.player._y) * (_y - _root.player._y))) / 10); if (vol > 100) { vol = 100; } shotSound.setPan(pan); shotSound.setVolume(vol); if (_root.sound.type == 2) { var dist = Math.sqrt(((_x - _root.sound._x) * (_x - _root.sound._x)) + ((_y - _root.sound._y) * (_y - _root.sound._y))); if (dist < (_root.sound.size * 2)) { life = life - (((_root.sound.size * 2) - dist) / 4); } } if (yspeed > 14) { yspeed = 14; } _x = (_x + xspeed); _y = (_y + yspeed); var angle = 0; var x1 = _x; var y1 = _y; var x2 = interestX; var y2 = interestY; if (interestLevel < 1) { interestX = _x + xspeed; interestY = _y; } x2 = interestX; y2 = interestY; var angle = determineAngleBetweenPoints(x1, x2, y1, y2); v1x = _x - (Math.cos(angle) * 100); v1y = _y - (Math.sin(angle) * 100); v2x = _x - (Math.cos(angle) * 150); v2y = _y - (Math.sin(angle) * 150); v4x = _x - (Math.cos(angle) * 200); v4y = _y - (Math.sin(angle) * 200); v5x = _x - (Math.cos(angle) * 240); v5y = _y - (Math.sin(angle) * 240); v3x = _x - (Math.cos(angle) * 30); v3y = _y - (Math.sin(angle) * 30); if (_root.space.hitTest(v1x, v1y, true) and _root.space.hitTest(v3x, v3y, true)) { if (_root.space.hitTest(v2x, v2y, true)) { if (_root.space.hitTest(v4x, v4y, true)) { if (_root.space.hitTest(v5x, v5y, true)) { vision.gotoAndStop(5); } else { vision.gotoAndStop(4); } } else { vision.gotoAndStop(3); } } else { vision.gotoAndStop(2); } } else { vision.gotoAndStop(1); } if (life > 0) { if (interestLevel > 100) { if (_root.space.hitTest(v3x, v3y, true)) { if ((random(Math.round(10 / _root.timeScale)) == 1) and (vision.reaction > 8)) { if (_root.player.id3 < 130) { _root.player.id3 = _root.player.id3 + 1; duplicateMovieClip (_root.bullet, "bullet" + _root.player.id3, _root.player.id3 + 1); _root["bullet" + _root.player.id3].targetC = this; weapon.flare.gotoAndPlay(2); _root.sound.owner = this; shotSound = new Sound(this); shotSound.attachSound("shot1"); shotSound.start(0, 1); } else { _root.player.id3 = 100; } } if (vision._currentframe < 2) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { yspeed = -6 * _root.timeScale; } } } else { if (interestY > _y) { interestY = interestY - 5; } if (interestX > _x) { interestX = interestX + 5; } else { interestX = interestX - 5; } } } if (_root.space.hitTest(_x - 20, _y, true)) { } else if ((_root.space.hitTest(_x - 20, _y - 120, true) and (xspeed < 0)) || (_root.space.hitTest(_x - 20, _y - 80, true) and (xspeed < 0))) { yspeed = -6 * _root.timeScale; } else { moveLeft = false; moveRight = true; moveRLast = true; } if (_root.space.hitTest(_x + 20, _y, true)) { } else if ((_root.space.hitTest(_x + 20, _y - 120, true) and (xspeed > 0)) || (_root.space.hitTest(_x + 20, _y - 80, true) and (xspeed > 0))) { yspeed = -6 * _root.timeScale; } else { moveLeft = true; moveRight = false; moveRLast = false; } if (_root.space.hitTest(_x - 30, _y + 80, true) and _root.space.hitTest(_x - 30, (_y + (ani._height / 2)) + 20, true)) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { if ((interestLevel == 0) and (moveLeft == true)) { interestLevel = 50; interestX = _x - 80; interestY = _y + 60; } if ((interestLevel > 20) and (interestX < _x)) { moveRight = false; moveLeft = false; } else { moveRight = true; moveLeft = false; moveRLast = true; } } } if (_root.space.hitTest(_x + 30, _y + 80, true) and _root.space.hitTest(_x + 30, (_y + (ani._height / 2)) + 20, true)) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { if ((interestLevel == 0) and (moveRight == true)) { interestLevel = 50; interestX = _x + 80; interestY = _y + 60; } if ((interestLevel > 20) and (interestX > _x)) { moveRight = false; moveLeft = false; } else { moveRight = false; moveLeft = true; moveRLast = false; } } } if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else if (interestLevel == 0) { if ((moveLeft == false) and (moveRight == false)) { if (moveRLast == true) { moveLeft = true; moveRight = false; } else { moveLeft = false; moveRight = true; } } } if (spotted == false) { if (xspeed < 0) { _xscale = -100; } else { _xscale = 100; } } else if (_x > interestX) { _xscale = -100; } else { _xscale = 100; } if (_root.space.hitTest(_x, _y, true)) { } else { _y = (_y - 5); yspeed = 0; } if (timeScale != _root.timeScale) { xspeed = xspeed * _root.timeScale; yspeed = yspeed * _root.timeScale; timeScale = _root.timeScale; } if ((moveRight == true) and (xspeed < (2 * _root.timeScale))) { xspeed = xspeed + (speed * _root.timeScale); } if ((moveLeft == true) and (xspeed > (-2 * _root.timeScale))) { xspeed = xspeed - (speed * _root.timeScale); } if ((jetPack == true) and (yspeed > -4)) { yspeed = yspeed - (jetPack * _root.timeScale); if (id < 20) { id = id + 1; duplicateMovieClip (_root.flame, "flame" + id, id + 1); _root["flame" + id].targetC = this; } else { id = 0; } } if ((moveRight == true) || (moveLeft == true)) { ani.play(); } else { ani.stop(); } } else { gotoAndStop (94); ani.stop(); xspeed = xspeed * 0.97; weapon._rotation = 0; _rotation = 0; } if (_root.space.hitTest(_x, _y + (ani._height / 2), true)) { if (_root.water.hitTest(_x, _y, true)) { watertime = watertime + 1; yspeed = yspeed - 0.1; yspeed = yspeed * 0.97; xspeed = xspeed * 0.97; if ((((yspeed > 2) || (xspeed > 3)) || (xspeed < -3)) || (yspeed < -2)) { if (_root.player.id2 < 50) { _root.player.id2 = _root.player.id2 + 1; duplicateMovieClip (_root.bubbles, "bubbles" + _root.player.id2, _root.player.id2 + 1); _root["bubbles" + _root.player.id2].targetC = this; } else { _root.player.id2 = 20; } } if ((_y < (_root.water._y + 20)) and (yspeed > 2)) { if (_root.player.id2 < 50) { _root.player.id2 = _root.player.id2 + 1; duplicateMovieClip (_root.splash, "splash" + _root.player.id2, _root.player.id2 + 1); _root["splash" + id2].targetC = this; } else { _root.player.id2 = 20; } } } else { watertime = 0; if (_root.water.hitTest(_x, _y + 10, true)) { if (life > 0) { if (moveLeft == true) { _rotation = -60; } else { _rotation = 60; } } } else if (life > 0) { _rotation = 0; } yspeed = yspeed + (grav * _root.timeScale); } } else { if (yspeed > (10 * _root.timeScale)) { life = life - Math.round(yspeed / _root.timeScale); } if (jump == true) { yspeed = jump * _root.timeScale; jump = false; } if ((moveRight == true) || (moveLeft == true)) { } else { xspeed = xspeed * 0.7; } i = 0; while (i < 15) { if (_root.space.hitTest(_x, ((_y - i) + 1) + (ani._height / 2), true)) { } else if (_root.space.hitTest(_x, (_y - i) + (ani._height / 2), true)) { yspeed = yspeed - (i / 5); _y = (_y - i); moved = true; _root.showme = i; } i = i + 1; } } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else if (yspeed < 0) { yspeed = yspeed - (yspeed * 1.3); } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else { _y = (_y + 1); } if (_root.space.hitTest(_x + ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed > 0) { xspeed = xspeed - (xspeed * 1.3); } if (_root.space.hitTest(_x - ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed < 0) { xspeed = xspeed - (xspeed * 1.3); } }
Instance of Symbol 91 MovieClip in Frame 93
onClipEvent (load) { xspeed = 0; yspeed = 0; speed = 0.4; grav = _root.grav; jump = -6; jetPack = 0.4; id = 0; id2 = 0; id3 = 0; this.swapDepths(250); pWidth = _width; targetX = _x; targetY = _y; moved = false; watertime = 0; moveRight = false; moveLeft = true; jetPack = false; jump = true; spotted = false; interestX = 0; interestY = 0; interestLevel = 0; moveRLast = true; v1x = 0; v1y = 0; v2x = 0; v2y = 0; v3x = 0; v3y = 0; v4x = 0; v4y = 0; v5x = 0; v5y = 0; life = 30; timeScale = 0; } onClipEvent (enterFrame) { function determineAngleBetweenPoints(x1, x2, y1, y2) { var _local2 = x1 - x2; var _local3 = y1 - y2; var _local1 = Math.atan2(_local3, _local2); return(_local1); } function radiansToDegrees(radians) { var _local1 = radians * 57.2957795130823; return(_local1); } if (_root.remove == true) { removeMovieClip(this); } var pan = 0; var vol = 0; if ((_x - _root.player._x) > 100) { pan = 100; } else if ((_x - _root.player._x) < -100) { pan = -100; } else { pan = _x - _root.player._x; } vol = 100 - (Math.sqrt(((_x - _root.player._x) * (_x - _root.player._x)) + ((_y - _root.player._y) * (_y - _root.player._y))) / 10); if (vol > 100) { vol = 100; } shotSound.setPan(pan); shotSound.setVolume(vol); if (_root.sound.type == 2) { var dist = Math.sqrt(((_x - _root.sound._x) * (_x - _root.sound._x)) + ((_y - _root.sound._y) * (_y - _root.sound._y))); if (dist < (_root.sound.size * 2)) { life = life - (((_root.sound.size * 2) - dist) / 4); } } if (yspeed > 14) { yspeed = 14; } _x = (_x + xspeed); _y = (_y + yspeed); var angle = 0; var x1 = _x; var y1 = _y; var x2 = interestX; var y2 = interestY; if (interestLevel < 1) { interestX = _x + xspeed; interestY = _y; } x2 = interestX; y2 = interestY; var angle = determineAngleBetweenPoints(x1, x2, y1, y2); v1x = _x - (Math.cos(angle) * 100); v1y = _y - (Math.sin(angle) * 100); v2x = _x - (Math.cos(angle) * 150); v2y = _y - (Math.sin(angle) * 150); v4x = _x - (Math.cos(angle) * 200); v4y = _y - (Math.sin(angle) * 200); v5x = _x - (Math.cos(angle) * 240); v5y = _y - (Math.sin(angle) * 240); v3x = _x - (Math.cos(angle) * 30); v3y = _y - (Math.sin(angle) * 30); if (_root.space.hitTest(v1x, v1y, true) and _root.space.hitTest(v3x, v3y, true)) { if (_root.space.hitTest(v2x, v2y, true)) { if (_root.space.hitTest(v4x, v4y, true)) { if (_root.space.hitTest(v5x, v5y, true)) { vision.gotoAndStop(5); } else { vision.gotoAndStop(4); } } else { vision.gotoAndStop(3); } } else { vision.gotoAndStop(2); } } else { vision.gotoAndStop(1); } if (life > 0) { if (interestLevel > 100) { if (_root.space.hitTest(v3x, v3y, true)) { if ((random(Math.round(10 / _root.timeScale)) == 1) and (vision.reaction > 8)) { if (_root.player.id3 < 130) { _root.player.id3 = _root.player.id3 + 1; duplicateMovieClip (_root.bullet, "bullet" + _root.player.id3, _root.player.id3 + 1); _root["bullet" + _root.player.id3].targetC = this; weapon.flare.gotoAndPlay(2); _root.sound.owner = this; shotSound = new Sound(this); shotSound.attachSound("shot1"); shotSound.start(0, 1); } else { _root.player.id3 = 100; } } if (vision._currentframe < 2) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { yspeed = -6 * _root.timeScale; } } } else { if (interestY > _y) { interestY = interestY - 5; } if (interestX > _x) { interestX = interestX + 5; } else { interestX = interestX - 5; } } } if (_root.space.hitTest(_x - 20, _y, true)) { } else if ((_root.space.hitTest(_x - 20, _y - 120, true) and (xspeed < 0)) || (_root.space.hitTest(_x - 20, _y - 80, true) and (xspeed < 0))) { yspeed = -6 * _root.timeScale; } else { moveLeft = false; moveRight = true; moveRLast = true; } if (_root.space.hitTest(_x + 20, _y, true)) { } else if ((_root.space.hitTest(_x + 20, _y - 120, true) and (xspeed > 0)) || (_root.space.hitTest(_x + 20, _y - 80, true) and (xspeed > 0))) { yspeed = -6 * _root.timeScale; } else { moveLeft = true; moveRight = false; moveRLast = false; } if (_root.space.hitTest(_x - 30, _y + 80, true) and _root.space.hitTest(_x - 30, (_y + (ani._height / 2)) + 20, true)) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { if ((interestLevel == 0) and (moveLeft == true)) { interestLevel = 50; interestX = _x - 80; interestY = _y + 60; } if ((interestLevel > 20) and (interestX < _x)) { moveRight = false; moveLeft = false; } else { moveRight = true; moveLeft = false; moveRLast = true; } } } if (_root.space.hitTest(_x + 30, _y + 80, true) and _root.space.hitTest(_x + 30, (_y + (ani._height / 2)) + 20, true)) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { if ((interestLevel == 0) and (moveRight == true)) { interestLevel = 50; interestX = _x + 80; interestY = _y + 60; } if ((interestLevel > 20) and (interestX > _x)) { moveRight = false; moveLeft = false; } else { moveRight = false; moveLeft = true; moveRLast = false; } } } if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else if (interestLevel == 0) { if ((moveLeft == false) and (moveRight == false)) { if (moveRLast == true) { moveLeft = true; moveRight = false; } else { moveLeft = false; moveRight = true; } } } if (spotted == false) { if (xspeed < 0) { _xscale = -100; } else { _xscale = 100; } } else if (_x > interestX) { _xscale = -100; } else { _xscale = 100; } if (_root.space.hitTest(_x, _y, true)) { } else { _y = (_y - 5); yspeed = 0; } if (timeScale != _root.timeScale) { xspeed = xspeed * _root.timeScale; yspeed = yspeed * _root.timeScale; timeScale = _root.timeScale; } if ((moveRight == true) and (xspeed < (2 * _root.timeScale))) { xspeed = xspeed + (speed * _root.timeScale); } if ((moveLeft == true) and (xspeed > (-2 * _root.timeScale))) { xspeed = xspeed - (speed * _root.timeScale); } if ((jetPack == true) and (yspeed > -4)) { yspeed = yspeed - (jetPack * _root.timeScale); if (id < 20) { id = id + 1; duplicateMovieClip (_root.flame, "flame" + id, id + 1); _root["flame" + id].targetC = this; } else { id = 0; } } if ((moveRight == true) || (moveLeft == true)) { ani.play(); } else { ani.stop(); } } else { gotoAndStop (94); ani.stop(); xspeed = xspeed * 0.97; weapon._rotation = 0; _rotation = 0; } if (_root.space.hitTest(_x, _y + (ani._height / 2), true)) { if (_root.water.hitTest(_x, _y, true)) { watertime = watertime + 1; yspeed = yspeed - 0.1; yspeed = yspeed * 0.97; xspeed = xspeed * 0.97; if ((((yspeed > 2) || (xspeed > 3)) || (xspeed < -3)) || (yspeed < -2)) { if (_root.player.id2 < 50) { _root.player.id2 = _root.player.id2 + 1; duplicateMovieClip (_root.bubbles, "bubbles" + _root.player.id2, _root.player.id2 + 1); _root["bubbles" + _root.player.id2].targetC = this; } else { _root.player.id2 = 20; } } if ((_y < (_root.water._y + 20)) and (yspeed > 2)) { if (_root.player.id2 < 50) { _root.player.id2 = _root.player.id2 + 1; duplicateMovieClip (_root.splash, "splash" + _root.player.id2, _root.player.id2 + 1); _root["splash" + id2].targetC = this; } else { _root.player.id2 = 20; } } } else { watertime = 0; if (_root.water.hitTest(_x, _y + 10, true)) { if (life > 0) { if (moveLeft == true) { _rotation = -60; } else { _rotation = 60; } } } else if (life > 0) { _rotation = 0; } yspeed = yspeed + (grav * _root.timeScale); } } else { if (yspeed > (10 * _root.timeScale)) { life = life - Math.round(yspeed / _root.timeScale); } if (jump == true) { yspeed = jump * _root.timeScale; jump = false; } if ((moveRight == true) || (moveLeft == true)) { } else { xspeed = xspeed * 0.7; } i = 0; while (i < 15) { if (_root.space.hitTest(_x, ((_y - i) + 1) + (ani._height / 2), true)) { } else if (_root.space.hitTest(_x, (_y - i) + (ani._height / 2), true)) { yspeed = yspeed - (i / 5); _y = (_y - i); moved = true; _root.showme = i; } i = i + 1; } } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else if (yspeed < 0) { yspeed = yspeed - (yspeed * 1.3); } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else { _y = (_y + 1); } if (_root.space.hitTest(_x + ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed > 0) { xspeed = xspeed - (xspeed * 1.3); } if (_root.space.hitTest(_x - ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed < 0) { xspeed = xspeed - (xspeed * 1.3); } }
Instance of Symbol 127 MovieClip "player" in Frame 93
onClipEvent (load) { xspeed = 0; yspeed = 0; speed = 0.2; grav = _root.grav; jump = -6; jetPack = 0.4; id = 0; id2 = 20; id3 = 100; this.swapDepths(300); pWidth = _width; targetX = _x; targetY = _y; moved = false; watertime = 0; life = 100; soundDone = false; jetFuel = 500; } onClipEvent (enterFrame) { if (_root.remove == true) { removeMovieClip(this); } if (_root.space.hitTest(_x, _y, true)) { } else { _y = (_y - 10); yspeed = 0; } if (_root.sound.type == 2) { var distance = Math.sqrt(((_x - _root.sound._x) * (_x - _root.sound._x)) + ((_y - _root.sound._y) * (_y - _root.sound._y))); if (distance < _root.sound.size) { life = life - Math.round((_root.sound.size - distance) / 2); } } ani.body.gotoAndStop(1); ani.legF.gotoAndStop(1); ani.legB.gotoAndStop(1); weapon.armF.gotoAndStop(1); tell = _x; _x = (_x + xspeed); _y = (_y + yspeed); if (life > 0) { if (Key.isDown(87)) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else if (yspeed < 5) { ani.gotoAndStop(5); yspeed = jump; } } if (Key.isDown(68) || (Key.isDown(65))) { } else if (Key.isDown(83) and (ani._currentframe < 40)) { ani.gotoAndPlay(41); } } if (life > 0) { this.onMouseDown = function () { if (id3 < 130) { id3 = id3 + 1; if (weapon._currentframe == 6) { duplicateMovieClip (_root.bullet, "bullet" + id3, id3 + 1); _root["bullet" + _root.player.id3].targetC = this; _root["bullet" + _root.player.id3]._alpha = 100; _root.sound.owned = 0; _root.sound.type = 1; _root.sound.owner = this; weapon.play(); weapon.flare.gotoAndPlay(6); } } else { id3 = 100; } }; if (_root._xmouse < _x) { _xscale = -100; } else { _xscale = 100; } if (Key.isDown(65) and (xspeed > -4)) { xspeed = xspeed - speed; } if (Key.isDown(68) and (xspeed < 4)) { xspeed = xspeed + speed; } if ((Key.isDown(32) and (yspeed > -4)) and (jetFuel > 0)) { jetFuel = jetFuel - (5 * _root.timeScale); if (soundDone == false) { jetSound = new Sound(this); jetSound.attachSound("flame"); jetSound.start(0, 99); jetSound.setVolume(50); soundDone = true; } yspeed = yspeed - jetPack; if (id < 20) { id = id + 1; duplicateMovieClip (_root.flame, "flame" + id, id + 1); _root["flame" + id].targetC = this; } else { id = 0; } } else { soundDone = false; jetSound.stop(); if (jetFuel < 500) { jetFuel = jetFuel + (3 * _root.timeScale); } } if (Key.isDown(68) || (Key.isDown(65))) { ani.play(); } else if (ani._currentframe < 40) { ani.stop(); } } else { gotoAndStop (94); ani.stop(); xspeed = xspeed * 0.97; weapon._rotation = 0; _rotation = 0; } if (_root.space.hitTest(_x, _y + (ani._height / 2), true)) { if (_root.water.hitTest(_x, _y, true)) { watertime = watertime + 1; yspeed = yspeed - 0.1; yspeed = yspeed * 0.95; xspeed = xspeed * 0.97; if (life > 0) { if (Key.isDown(83) and (yspeed < 4)) { yspeed = yspeed + speed; } if (Key.isDown(87) and (yspeed > -4)) { yspeed = yspeed - speed; ani.gotoAndStop(5); } } if ((((yspeed > 2) || (xspeed > 3)) || (xspeed < -3)) || (yspeed < -2)) { if (id2 < 50) { id2 = id2 + 1; duplicateMovieClip (_root.bubbles, "bubbles" + id2, id2 + 1); _root["bubbles" + id2].targetC = this; } else { id2 = 20; } if ((_y < (_root.water._y + 20)) and (yspeed > 2)) { if (id2 < 50) { id2 = id2 + 1; duplicateMovieClip (_root.splash, "splash" + id2, id2 + 1); _root["splash" + id2].targetC = this; } else { id2 = 20; } } } if (life > 0) { if (_root._xmouse < _x) { _rotation = -60; weapon._rotation = weapon._rotation - 60; } else { _rotation = 60; weapon._rotation = weapon._rotation - 60; } } } else { watertime = 0; if (_root.water.hitTest(_x, _y + 10, true)) { if (life > 0) { if (_root._xmouse < _x) { _rotation = -30; weapon._rotation = weapon._rotation - 30; } else { _rotation = 30; weapon._rotation = weapon._rotation - 30; } } } else if (life > 0) { _rotation = 0; } yspeed = yspeed + grav; } } else { if (yspeed > 10) { life = life - Math.round(yspeed); } if (Key.isDown(68) || (Key.isDown(65))) { } else { xspeed = xspeed * 0.9; } i = 0; while (i < (yspeed + 15)) { if (_root.space.hitTest(_x, ((_y - i) + 1) + (ani._height / 2), true)) { } else if (_root.space.hitTest(_x, (_y - i) + (ani._height / 2), true)) { yspeed = yspeed - (i / 5); _y = (_y - i); moved = true; _root.showme = i; } i = i + 1; } } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else if (yspeed < 0) { yspeed = yspeed - (yspeed * 1.3); } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else { _y = (_y + 1); } if (_root.space.hitTest(_x + ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed > 0) { xspeed = xspeed - (xspeed * 1.3); } if (_root.space.hitTest(_x - ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed < 0) { xspeed = xspeed - (xspeed * 1.3); } }
Instance of Symbol 130 MovieClip "grenade" in Frame 93
onClipEvent (load) { var targetC; xspeed = -((_root.player._x - _root.aim._x) / 20); yspeed = -((_root.player._y - _root.aim._y) / 20); timer = 0; show = 0; _x = targetC._x; _y = targetC._y; if (_name == "grenade") { _visible = false; } } onClipEvent (enterFrame) { if (_root.remove == true) { removeMovieClip(this); } show = 100 - timer; timer = timer + (1 * _root.timeScale); _x = (_x + xspeed); _y = (_y + yspeed); xspeed = xspeed * 0.99; yspeed = yspeed * 0.99; xspeed = xspeed * _root.timeScale; yspeed = yspeed * _root.timeScale; if (yspeed > 0) { if (_root.space.hitTest(_x, (_y + 5) + yspeed, true)) { yspeed = yspeed + (_root.grav * _root.timeScale); } else { if (_root.space.hitTest(_x - (_width / 2), _y + 6, true)) { xspeed = xspeed - 0.2; } if (_root.space.hitTest(_x + (_width / 2), _y + 6, true)) { xspeed = xspeed + 0.2; } yspeed = -(yspeed * 0.4); xspeed = xspeed * 0.9; if (_root.space.hitTest(_x, _y + 2, true)) { } else { _y = (_y - 1); } } } else if (_root.space.hitTest(_x, (_y - 5) + yspeed, true)) { yspeed = yspeed + (_root.grav * _root.timeScale); } else { yspeed = -(yspeed * 0.5); xspeed = xspeed * 0.9; } if (_root.space.hitTest(_x + xspeed, _y + 4, true) and _root.space.hitTest(_x + xspeed, _y - 4)) { } else if (_root.space.hitTest(_x + xspeed, _y + 4, true)) { xspeed = xspeed * 0.5; if (xspeed > 0) { yspeed = yspeed + xspeed; } else { yspeed = yspeed - xspeed; } } else if (_root.space.hitTest(_x + xspeed, _y - 4, true)) { xspeed = xspeed * 0.5; if (xspeed > 0) { yspeed = yspeed - xspeed; } else { yspeed = yspeed + xspeed; } } else { xspeed = -(xspeed * 0.5); } if (timer > 100) { if (_name == "grenade") { } else { _root.id = _root.id + 1; _root.player.id3 = _root.player.id3 + 1; _root.expTargetX = _x; _root.expTargetY = _y; _root.expSize = 40; duplicateMovieClip (_root.space.hole, "hole" + _root.id, _root.id + 1); _root.expSize = 40; duplicateMovieClip (_root.explosion, "explosion" + _root.player.id3, _root.player.id3 + 1); _root["explosion" + _root.player.id3]._x = _x; _root["explosion" + _root.player.id3]._y = _y; _root["explosion" + _root.player.id3]._height = _root.expSize; _root["explosion" + _root.player.id3]._width = _root.expSize; _root["explosion" + _root.player.id3].sizeE = _root.expSize * 2; this.removeMovieClip(); } } }
Instance of Symbol 132 MovieClip "rocket" in Frame 93
onClipEvent (load) { function determineAngleBetweenPoints(x1, x2, y1, y2) { var _local2 = x1 - x2; var _local3 = y1 - y2; var _local1 = Math.atan2(_local3, _local2); return(_local1); } function radiansToDegrees(radians) { var _local1 = radians * 57.2957795130823; return(_local1); } _alpha = 100; addX = _root.player.xspeed; addY = _root.player.yspeed; if (_name == "rocket") { } else { if (_root.player._xscale == 100) { _x = (_root.player._x + _root.player.weapon._x); } else { _x = (_root.player._x - _root.player.weapon._x); } _y = _root.player._y; } speed = 20; var angle = 0; var x1 = _root._xmouse; var y1 = _root._ymouse; var x2 = _root.player._x; var y2 = _root.player._y; var angle = determineAngleBetweenPoints(x1, x2, y1, y2); _rotation = radiansToDegrees(angle); } onClipEvent (enterFrame) { if (_root.remove == true) { removeMovieClip(this); } speed = 20 * _root.timeScale; _x = (_x + ((Math.cos(angle) * speed) + addX)); _y = (_y + ((Math.sin(angle) * speed) + addY)); if (_root.space.hitTest(_x, _y, true) and (_alpha == 100)) { } else { speed = 0; _alpha = 0; if (_name == "rocket") { } else { _root.id = _root.id + 1; _root.expTargetX = _x; _root.expTargetY = _y; _root.expSize = 35; duplicateMovieClip (_root.space.hole, "hole" + _root.id, _root.id + 1); _root.expSize = 35; this.removeMovieClip(); } } }
Instance of Symbol 135 MovieClip "water" in Frame 93
onClipEvent (enterFrame) { this.swapDepths(400); if (_root.remove == true) { removeMovieClip(this); } }
Instance of Symbol 139 MovieClip "flame" in Frame 93
onClipEvent (load) { var targetC; if (_root.player._xscale == 100) { _x = (targetC._x - 7); } else { _x = (targetC._x + 7); } _y = (targetC._y + 5); gotoAndPlay (93); } onClipEvent (enterFrame) { if (_root.remove == true) { removeMovieClip(this); } _y = (_y + 2); }
Instance of Symbol 141 MovieClip "bubbles" in Frame 93
onClipEvent (load) { var targetC; _rotation = random(360); _x = ((targetC._x - 10) + random(20)); _y = ((targetC._y - 10) + random(20)); gotoAndPlay (93); amount = 0; if (targetC.xspeed > 0) { amount = targetC.xspeed + targetC.yspeed; } else { amount = (-targetC.xspeed) + targetC.yspeed; } _width = (5 + amount); _height = _width; _alpha = (10 * amount); } onClipEvent (enterFrame) { if (_root.remove == true) { removeMovieClip(this); } _alpha = (_alpha - (1 * _root.timeScale)); _y = (_y - (2 * _root.timeScale)); if (_root.water.hitTest(_x, _y - (_height / 2), true)) { } else { _alpha = 0; } if ((_alpha < 1) and (_name != "bubbles")) { removeMovieClip(this); } }
Instance of Symbol 143 MovieClip "bullet" in Frame 93
onClipEvent (load) { function determineAngleBetweenPoints(x1, x2, y1, y2) { var _local2 = x1 - x2; var _local3 = y1 - y2; var _local1 = Math.atan2(_local3, _local2); return(_local1); } function radiansToDegrees(radians) { var _local1 = radians * 57.2957795130823; return(_local1); } var targetC; var targetDX; var targetDY; if (targetC == _root.player) { targetDX = _root.aim._x; targetDY = _root.aim._y; } else { targetDX = targetC.interestX; targetDY = targetC.interestY; } _alpha = 100; addX = targetC.xspeed; addY = targetC.yspeed; if (targetC == _root.player) { if (targetC._xscale == 100) { _x = (targetC._x + targetC.weapon._x); } else { _x = (targetC._x - targetC.weapon._x); } _y = (targetC._y - targetC.weapon._y); } else { if (targetC._xscale == 100) { _x = targetC._x; } else { _x = targetC._x; } _y = (targetC._y - 5); } speed = 20; var angle = 0; var x1 = targetDX; var y1 = targetDY; var x2 = targetC._x; var y2 = targetC._y; var angle = determineAngleBetweenPoints(x1, x2, y1, y2); _rotation = radiansToDegrees(angle); _alpha = 100; } onClipEvent (enterFrame) { if (_root.remove == true) { removeMovieClip(this); } speed = 20 * _root.timeScale; _x = (_x + (Math.cos(angle) * speed)); _y = (_y + (Math.sin(angle) * speed)); if (_root.space.hitTest(_x, _y, true) and (_alpha == 100)) { } else { speed = 0; _alpha = 0; } if (_root.player.hitTest(_x, _y, true) and (targetC != _root.player)) { if (_alpha > 0) { _alpha = 0; _root.player.life = _root.player.life - 5; } } if ((_alpha < 1) and (_name != "bullet")) { removeMovieClip(this); } }
Instance of Symbol 145 MovieClip "sound" in Frame 93
onClipEvent (load) { owner = false; owned = 0; type = 1; size = 1; } onClipEvent (enterFrame) { if (owner != false) { if (owned < 1) { _x = owner._x; _y = owner._y; } owned = owned + 1; } if (owned > 5) { owner = false; owned = 0; type = 1; _x = -999999; } }
Instance of Symbol 151 MovieClip "explosion" in Frame 93
onClipEvent (load) { var sizeE; var pan = 0; var vol = 0; if (_name == "explosion") { _visible = false; } else { explosionSound = new Sound(this); explosionSound.attachSound("explosion"); explosionSound.start(0, 0); explosion2Sound = new Sound(this); explosion2Sound.attachSound("explosionold"); explosion2Sound.start(0, 0); } } onClipEvent (enterFrame) { if (_root.remove == true) { removeMovieClip(this); } if ((_x - _root.player._x) > 100) { pan = 100; } else if ((_x - _root.player._x) < -100) { pan = -100; } else { pan = _x - _root.player._x; } vol = 100 - (Math.sqrt(((_x - _root.player._x) * (_x - _root.player._x)) + ((_y - _root.player._y) * (_y - _root.player._y))) / 10); if (vol > 100) { vol = 100; } explosionSound.setPan(pan); explosionSound.setVolume(vol); explosion2Sound.setPan(pan); explosion2Sound.setVolume(vol); }
Instance of Symbol 157 MovieClip "splash" in Frame 93
onClipEvent (load) { var targetC; _x = targetC._x; _y = _root.water._y; gotoAndPlay (93); }
Instance of Symbol 160 MovieClip "aim" in Frame 93
onClipEvent (enterFrame) { startDrag (this, true); Mouse.hide(); this.swapDepths(600); if (_root.remove == true) { removeMovieClip(this); } }
Instance of Symbol 169 MovieClip in Frame 93
onClipEvent (load) { given = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true) and (given == false)) { _root.score = _root.score + 10; given = true; _visible = false; } }
Instance of Symbol 169 MovieClip in Frame 93
onClipEvent (load) { given = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true) and (given == false)) { _root.score = _root.score + 10; given = true; _visible = false; } }
Instance of Symbol 169 MovieClip in Frame 93
onClipEvent (load) { given = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true) and (given == false)) { _root.score = _root.score + 10; given = true; _visible = false; } }
Instance of Symbol 180 MovieClip "hud" in Frame 93
onClipEvent (load) { time = 0; } onClipEvent (enterFrame) { this.swapDepths(500); if (_root.remove == true) { removeMovieClip(this); } var time; if (_root.score >= _root.goal) { time = time + 1; } if (_root.player.life < 1) { time = time + 1; } if ((time > 50) and (_root.player.life > 0)) { _root.nextFrame(); } else if (time > 50) { _root.nextFrame(); _root.nextFrame(); } }
Frame 94
remove = true; _root._x = 0; _root._y = 0; Mouse.show();
Instance of Symbol 181 MovieClip in Frame 94
onClipEvent (enterFrame) { Mouse.show(); }
Frame 95
remove = true; _root._x = 0; _root._y = 0; Mouse.show();
Frame 96
grav = 0.3; expTargetX = 0; expTargetY = 0; expSize = 0; id = 0; timeScale = 1; grenadeAmmo = 8; score = 0; slowMo = 100; goal = 50; remove = false; _root._x = 0; _root._y = 0; stop();
Instance of Symbol 50 MovieClip in Frame 96
onClipEvent (enterFrame) { if (_x < (_root.hud._x - 159)) { _x = _root.hud._x; } else if (_x > (_root.hud._x + 159)) { _x = _root.hud._x; } if (_y < (_root.hud._y - 320)) { _y = _root.hud._y; } else if (_y > (_root.hud._y + 320)) { _y = _root.hud._y; } if (_root.remove == true) { removeMovieClip(this); } }
Instance of Symbol 59 MovieClip "hole" in Frame 96
onClipEvent (load) { _rotation = 0; _height = _root.expSize; _width = _height; _x = (_root.expTargetX - _root.space._x); _y = (_root.expTargetY - _root.space._y); }
Instance of Symbol 61 MovieClip "bars" in Frame 96
on (keyPress "e") { if (_root.slowMo > 99) { if (_root.timeScale == 1) { _root.timeScale = 0.3; } else { _root.timeScale = 1; } } } on (keyPress "q") { toggleHighQuality(); } on (keyPress "g") { if (_root.player.life > 0) { if (_root.player.id3 < 130) { if (_root.grenadeAmmo > 0) { _root.player.id3 = _root.player.id3 + 1; duplicateMovieClip (_root.grenade, "grenade" + _root.player.id3, _root.player.id3 + 1); _root["grenade" + _root.player.id3].targetC = _root.player; _root.grenadeAmmo = _root.grenadeAmmo - 1; } } else { _root.player.id3 = 100; } } } onClipEvent (enterFrame) { if (_root.timeScale < 1) { _root.slowMo = _root.slowMo - 1; } else if (_root.slowMo < 100) { _root.slowMo = _root.slowMo + 0.2; } if (_root.slowMo < 1) { _root.timeScale = 1; } _x = _root.player._x; _y = _root.player._y; show = _root.player.life; show2 = _root.player.yspeed; if (_root.player.life < 0) { _root.player.life = 0; } }
Instance of Symbol 195 MovieClip "space" in Frame 96
onClipEvent (load) { targetX = 0; targetY = 0; } onClipEvent (enterFrame) { targetX = 275 - (_root.player._x - (((_root.player._x - _root.aim._x) * 0.8) / 2)); targetY = 200 - (_root.player._y - (((_root.player._y - _root.aim._y) * 0.8) / 2)); _root._x = _root._x - ((_root._x - targetX) / 6); _root._y = _root._y - ((_root._y - targetY) / 6); _root.hud._x = 275 - _root._x; _root.hud._y = 200 - _root._y; }
Instance of Symbol 91 MovieClip in Frame 96
onClipEvent (load) { xspeed = 0; yspeed = 0; speed = 0.4; grav = _root.grav; jump = -6; jetPack = 0.4; id = 0; id2 = 0; id3 = 0; this.swapDepths(250); pWidth = _width; targetX = _x; targetY = _y; moved = false; watertime = 0; moveRight = false; moveLeft = true; jetPack = false; jump = true; spotted = false; interestX = 0; interestY = 0; interestLevel = 0; moveRLast = true; v1x = 0; v1y = 0; v2x = 0; v2y = 0; v3x = 0; v3y = 0; v4x = 0; v4y = 0; v5x = 0; v5y = 0; life = 30; timeScale = 0; } onClipEvent (enterFrame) { function determineAngleBetweenPoints(x1, x2, y1, y2) { var _local2 = x1 - x2; var _local3 = y1 - y2; var _local1 = Math.atan2(_local3, _local2); return(_local1); } function radiansToDegrees(radians) { var _local1 = radians * 57.2957795130823; return(_local1); } if (_root.remove == true) { removeMovieClip(this); } var pan = 0; var vol = 0; if ((_x - _root.player._x) > 100) { pan = 100; } else if ((_x - _root.player._x) < -100) { pan = -100; } else { pan = _x - _root.player._x; } vol = 100 - (Math.sqrt(((_x - _root.player._x) * (_x - _root.player._x)) + ((_y - _root.player._y) * (_y - _root.player._y))) / 10); if (vol > 100) { vol = 100; } shotSound.setPan(pan); shotSound.setVolume(vol); if (_root.sound.type == 2) { var dist = Math.sqrt(((_x - _root.sound._x) * (_x - _root.sound._x)) + ((_y - _root.sound._y) * (_y - _root.sound._y))); if (dist < (_root.sound.size * 2)) { life = life - (((_root.sound.size * 2) - dist) / 4); } } if (yspeed > 14) { yspeed = 14; } _x = (_x + xspeed); _y = (_y + yspeed); var angle = 0; var x1 = _x; var y1 = _y; var x2 = interestX; var y2 = interestY; if (interestLevel < 1) { interestX = _x + xspeed; interestY = _y; } x2 = interestX; y2 = interestY; var angle = determineAngleBetweenPoints(x1, x2, y1, y2); v1x = _x - (Math.cos(angle) * 100); v1y = _y - (Math.sin(angle) * 100); v2x = _x - (Math.cos(angle) * 150); v2y = _y - (Math.sin(angle) * 150); v4x = _x - (Math.cos(angle) * 200); v4y = _y - (Math.sin(angle) * 200); v5x = _x - (Math.cos(angle) * 240); v5y = _y - (Math.sin(angle) * 240); v3x = _x - (Math.cos(angle) * 30); v3y = _y - (Math.sin(angle) * 30); if (_root.space.hitTest(v1x, v1y, true) and _root.space.hitTest(v3x, v3y, true)) { if (_root.space.hitTest(v2x, v2y, true)) { if (_root.space.hitTest(v4x, v4y, true)) { if (_root.space.hitTest(v5x, v5y, true)) { vision.gotoAndStop(5); } else { vision.gotoAndStop(4); } } else { vision.gotoAndStop(3); } } else { vision.gotoAndStop(2); } } else { vision.gotoAndStop(1); } if (life > 0) { if (interestLevel > 100) { if (_root.space.hitTest(v3x, v3y, true)) { if ((random(Math.round(10 / _root.timeScale)) == 1) and (vision.reaction > 8)) { if (_root.player.id3 < 130) { _root.player.id3 = _root.player.id3 + 1; duplicateMovieClip (_root.bullet, "bullet" + _root.player.id3, _root.player.id3 + 1); _root["bullet" + _root.player.id3].targetC = this; weapon.flare.gotoAndPlay(2); _root.sound.owner = this; shotSound = new Sound(this); shotSound.attachSound("shot1"); shotSound.start(0, 1); } else { _root.player.id3 = 100; } } if (vision._currentframe < 2) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { yspeed = -6 * _root.timeScale; } } } else { if (interestY > _y) { interestY = interestY - 5; } if (interestX > _x) { interestX = interestX + 5; } else { interestX = interestX - 5; } } } if (_root.space.hitTest(_x - 20, _y, true)) { } else if ((_root.space.hitTest(_x - 20, _y - 120, true) and (xspeed < 0)) || (_root.space.hitTest(_x - 20, _y - 80, true) and (xspeed < 0))) { yspeed = -6 * _root.timeScale; } else { moveLeft = false; moveRight = true; moveRLast = true; } if (_root.space.hitTest(_x + 20, _y, true)) { } else if ((_root.space.hitTest(_x + 20, _y - 120, true) and (xspeed > 0)) || (_root.space.hitTest(_x + 20, _y - 80, true) and (xspeed > 0))) { yspeed = -6 * _root.timeScale; } else { moveLeft = true; moveRight = false; moveRLast = false; } if (_root.space.hitTest(_x - 30, _y + 80, true) and _root.space.hitTest(_x - 30, (_y + (ani._height / 2)) + 20, true)) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { if ((interestLevel == 0) and (moveLeft == true)) { interestLevel = 50; interestX = _x - 80; interestY = _y + 60; } if ((interestLevel > 20) and (interestX < _x)) { moveRight = false; moveLeft = false; } else { moveRight = true; moveLeft = false; moveRLast = true; } } } if (_root.space.hitTest(_x + 30, _y + 80, true) and _root.space.hitTest(_x + 30, (_y + (ani._height / 2)) + 20, true)) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { if ((interestLevel == 0) and (moveRight == true)) { interestLevel = 50; interestX = _x + 80; interestY = _y + 60; } if ((interestLevel > 20) and (interestX > _x)) { moveRight = false; moveLeft = false; } else { moveRight = false; moveLeft = true; moveRLast = false; } } } if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else if (interestLevel == 0) { if ((moveLeft == false) and (moveRight == false)) { if (moveRLast == true) { moveLeft = true; moveRight = false; } else { moveLeft = false; moveRight = true; } } } if (spotted == false) { if (xspeed < 0) { _xscale = -100; } else { _xscale = 100; } } else if (_x > interestX) { _xscale = -100; } else { _xscale = 100; } if (_root.space.hitTest(_x, _y, true)) { } else { _y = (_y - 5); yspeed = 0; } if (timeScale != _root.timeScale) { xspeed = xspeed * _root.timeScale; yspeed = yspeed * _root.timeScale; timeScale = _root.timeScale; } if ((moveRight == true) and (xspeed < (2 * _root.timeScale))) { xspeed = xspeed + (speed * _root.timeScale); } if ((moveLeft == true) and (xspeed > (-2 * _root.timeScale))) { xspeed = xspeed - (speed * _root.timeScale); } if ((jetPack == true) and (yspeed > -4)) { yspeed = yspeed - (jetPack * _root.timeScale); if (id < 20) { id = id + 1; duplicateMovieClip (_root.flame, "flame" + id, id + 1); _root["flame" + id].targetC = this; } else { id = 0; } } if ((moveRight == true) || (moveLeft == true)) { ani.play(); } else { ani.stop(); } } else { gotoAndStop (94); ani.stop(); xspeed = xspeed * 0.97; weapon._rotation = 0; _rotation = 0; } if (_root.space.hitTest(_x, _y + (ani._height / 2), true)) { if (_root.water.hitTest(_x, _y, true)) { watertime = watertime + 1; yspeed = yspeed - 0.1; yspeed = yspeed * 0.97; xspeed = xspeed * 0.97; if ((((yspeed > 2) || (xspeed > 3)) || (xspeed < -3)) || (yspeed < -2)) { if (_root.player.id2 < 50) { _root.player.id2 = _root.player.id2 + 1; duplicateMovieClip (_root.bubbles, "bubbles" + _root.player.id2, _root.player.id2 + 1); _root["bubbles" + _root.player.id2].targetC = this; } else { _root.player.id2 = 20; } } if ((_y < (_root.water._y + 20)) and (yspeed > 2)) { if (_root.player.id2 < 50) { _root.player.id2 = _root.player.id2 + 1; duplicateMovieClip (_root.splash, "splash" + _root.player.id2, _root.player.id2 + 1); _root["splash" + id2].targetC = this; } else { _root.player.id2 = 20; } } } else { watertime = 0; if (_root.water.hitTest(_x, _y + 10, true)) { if (life > 0) { if (moveLeft == true) { _rotation = -60; } else { _rotation = 60; } } } else if (life > 0) { _rotation = 0; } yspeed = yspeed + (grav * _root.timeScale); } } else { if (yspeed > (10 * _root.timeScale)) { life = life - Math.round(yspeed / _root.timeScale); } if (jump == true) { yspeed = jump * _root.timeScale; jump = false; } if ((moveRight == true) || (moveLeft == true)) { } else { xspeed = xspeed * 0.7; } i = 0; while (i < 15) { if (_root.space.hitTest(_x, ((_y - i) + 1) + (ani._height / 2), true)) { } else if (_root.space.hitTest(_x, (_y - i) + (ani._height / 2), true)) { yspeed = yspeed - (i / 5); _y = (_y - i); moved = true; _root.showme = i; } i = i + 1; } } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else if (yspeed < 0) { yspeed = yspeed - (yspeed * 1.3); } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else { _y = (_y + 1); } if (_root.space.hitTest(_x + ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed > 0) { xspeed = xspeed - (xspeed * 1.3); } if (_root.space.hitTest(_x - ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed < 0) { xspeed = xspeed - (xspeed * 1.3); } }
Instance of Symbol 91 MovieClip "eneTest" in Frame 96
onClipEvent (load) { xspeed = 0; yspeed = 0; speed = 0.4; grav = _root.grav; jump = -6; jetPack = 0.4; id = 0; id2 = 0; id3 = 0; this.swapDepths(250); pWidth = _width; targetX = _x; targetY = _y; moved = false; watertime = 0; moveRight = false; moveLeft = true; jetPack = false; jump = true; spotted = false; interestX = 0; interestY = 0; interestLevel = 0; moveRLast = true; v1x = 0; v1y = 0; v2x = 0; v2y = 0; v3x = 0; v3y = 0; v4x = 0; v4y = 0; v5x = 0; v5y = 0; life = 30; timeScale = 0; } onClipEvent (enterFrame) { function determineAngleBetweenPoints(x1, x2, y1, y2) { var _local2 = x1 - x2; var _local3 = y1 - y2; var _local1 = Math.atan2(_local3, _local2); return(_local1); } function radiansToDegrees(radians) { var _local1 = radians * 57.2957795130823; return(_local1); } if (_root.remove == true) { removeMovieClip(this); } var pan = 0; var vol = 0; if ((_x - _root.player._x) > 100) { pan = 100; } else if ((_x - _root.player._x) < -100) { pan = -100; } else { pan = _x - _root.player._x; } vol = 100 - (Math.sqrt(((_x - _root.player._x) * (_x - _root.player._x)) + ((_y - _root.player._y) * (_y - _root.player._y))) / 10); if (vol > 100) { vol = 100; } shotSound.setPan(pan); shotSound.setVolume(vol); if (_root.sound.type == 2) { var dist = Math.sqrt(((_x - _root.sound._x) * (_x - _root.sound._x)) + ((_y - _root.sound._y) * (_y - _root.sound._y))); if (dist < (_root.sound.size * 2)) { life = life - (((_root.sound.size * 2) - dist) / 4); } } if (yspeed > 14) { yspeed = 14; } _x = (_x + xspeed); _y = (_y + yspeed); var angle = 0; var x1 = _x; var y1 = _y; var x2 = interestX; var y2 = interestY; if (interestLevel < 1) { interestX = _x + xspeed; interestY = _y; } x2 = interestX; y2 = interestY; var angle = determineAngleBetweenPoints(x1, x2, y1, y2); v1x = _x - (Math.cos(angle) * 100); v1y = _y - (Math.sin(angle) * 100); v2x = _x - (Math.cos(angle) * 150); v2y = _y - (Math.sin(angle) * 150); v4x = _x - (Math.cos(angle) * 200); v4y = _y - (Math.sin(angle) * 200); v5x = _x - (Math.cos(angle) * 240); v5y = _y - (Math.sin(angle) * 240); v3x = _x - (Math.cos(angle) * 30); v3y = _y - (Math.sin(angle) * 30); if (_root.space.hitTest(v1x, v1y, true) and _root.space.hitTest(v3x, v3y, true)) { if (_root.space.hitTest(v2x, v2y, true)) { if (_root.space.hitTest(v4x, v4y, true)) { if (_root.space.hitTest(v5x, v5y, true)) { vision.gotoAndStop(5); } else { vision.gotoAndStop(4); } } else { vision.gotoAndStop(3); } } else { vision.gotoAndStop(2); } } else { vision.gotoAndStop(1); } if (life > 0) { if (interestLevel > 100) { if (_root.space.hitTest(v3x, v3y, true)) { if ((random(Math.round(10 / _root.timeScale)) == 1) and (vision.reaction > 8)) { if (_root.player.id3 < 130) { _root.player.id3 = _root.player.id3 + 1; duplicateMovieClip (_root.bullet, "bullet" + _root.player.id3, _root.player.id3 + 1); _root["bullet" + _root.player.id3].targetC = this; weapon.flare.gotoAndPlay(2); _root.sound.owner = this; shotSound = new Sound(this); shotSound.attachSound("shot1"); shotSound.start(0, 1); } else { _root.player.id3 = 100; } } if (vision._currentframe < 2) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { yspeed = -6 * _root.timeScale; } } } else { if (interestY > _y) { interestY = interestY - 5; } if (interestX > _x) { interestX = interestX + 5; } else { interestX = interestX - 5; } } } if (_root.space.hitTest(_x - 20, _y, true)) { } else if ((_root.space.hitTest(_x - 20, _y - 120, true) and (xspeed < 0)) || (_root.space.hitTest(_x - 20, _y - 80, true) and (xspeed < 0))) { yspeed = -6 * _root.timeScale; } else { moveLeft = false; moveRight = true; moveRLast = true; } if (_root.space.hitTest(_x + 20, _y, true)) { } else if ((_root.space.hitTest(_x + 20, _y - 120, true) and (xspeed > 0)) || (_root.space.hitTest(_x + 20, _y - 80, true) and (xspeed > 0))) { yspeed = -6 * _root.timeScale; } else { moveLeft = true; moveRight = false; moveRLast = false; } if (_root.space.hitTest(_x - 30, _y + 80, true) and _root.space.hitTest(_x - 30, (_y + (ani._height / 2)) + 20, true)) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { if ((interestLevel == 0) and (moveLeft == true)) { interestLevel = 50; interestX = _x - 80; interestY = _y + 60; } if ((interestLevel > 20) and (interestX < _x)) { moveRight = false; moveLeft = false; } else { moveRight = true; moveLeft = false; moveRLast = true; } } } if (_root.space.hitTest(_x + 30, _y + 80, true) and _root.space.hitTest(_x + 30, (_y + (ani._height / 2)) + 20, true)) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { if ((interestLevel == 0) and (moveRight == true)) { interestLevel = 50; interestX = _x + 80; interestY = _y + 60; } if ((interestLevel > 20) and (interestX > _x)) { moveRight = false; moveLeft = false; } else { moveRight = false; moveLeft = true; moveRLast = false; } } } if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else if (interestLevel == 0) { if ((moveLeft == false) and (moveRight == false)) { if (moveRLast == true) { moveLeft = true; moveRight = false; } else { moveLeft = false; moveRight = true; } } } if (spotted == false) { if (xspeed < 0) { _xscale = -100; } else { _xscale = 100; } } else if (_x > interestX) { _xscale = -100; } else { _xscale = 100; } if (_root.space.hitTest(_x, _y, true)) { } else { _y = (_y - 5); yspeed = 0; } if (timeScale != _root.timeScale) { xspeed = xspeed * _root.timeScale; yspeed = yspeed * _root.timeScale; timeScale = _root.timeScale; } if ((moveRight == true) and (xspeed < (2 * _root.timeScale))) { xspeed = xspeed + (speed * _root.timeScale); } if ((moveLeft == true) and (xspeed > (-2 * _root.timeScale))) { xspeed = xspeed - (speed * _root.timeScale); } if ((jetPack == true) and (yspeed > -4)) { yspeed = yspeed - (jetPack * _root.timeScale); if (id < 20) { id = id + 1; duplicateMovieClip (_root.flame, "flame" + id, id + 1); _root["flame" + id].targetC = this; } else { id = 0; } } if ((moveRight == true) || (moveLeft == true)) { ani.play(); } else { ani.stop(); } } else { gotoAndStop (94); ani.stop(); xspeed = xspeed * 0.97; weapon._rotation = 0; _rotation = 0; } if (_root.space.hitTest(_x, _y + (ani._height / 2), true)) { if (_root.water.hitTest(_x, _y, true)) { watertime = watertime + 1; yspeed = yspeed - 0.1; yspeed = yspeed * 0.97; xspeed = xspeed * 0.97; if ((((yspeed > 2) || (xspeed > 3)) || (xspeed < -3)) || (yspeed < -2)) { if (_root.player.id2 < 50) { _root.player.id2 = _root.player.id2 + 1; duplicateMovieClip (_root.bubbles, "bubbles" + _root.player.id2, _root.player.id2 + 1); _root["bubbles" + _root.player.id2].targetC = this; } else { _root.player.id2 = 20; } } if ((_y < (_root.water._y + 20)) and (yspeed > 2)) { if (_root.player.id2 < 50) { _root.player.id2 = _root.player.id2 + 1; duplicateMovieClip (_root.splash, "splash" + _root.player.id2, _root.player.id2 + 1); _root["splash" + id2].targetC = this; } else { _root.player.id2 = 20; } } } else { watertime = 0; if (_root.water.hitTest(_x, _y + 10, true)) { if (life > 0) { if (moveLeft == true) { _rotation = -60; } else { _rotation = 60; } } } else if (life > 0) { _rotation = 0; } yspeed = yspeed + (grav * _root.timeScale); } } else { if (yspeed > (10 * _root.timeScale)) { life = life - Math.round(yspeed / _root.timeScale); } if (jump == true) { yspeed = jump * _root.timeScale; jump = false; } if ((moveRight == true) || (moveLeft == true)) { } else { xspeed = xspeed * 0.7; } i = 0; while (i < 15) { if (_root.space.hitTest(_x, ((_y - i) + 1) + (ani._height / 2), true)) { } else if (_root.space.hitTest(_x, (_y - i) + (ani._height / 2), true)) { yspeed = yspeed - (i / 5); _y = (_y - i); moved = true; _root.showme = i; } i = i + 1; } } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else if (yspeed < 0) { yspeed = yspeed - (yspeed * 1.3); } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else { _y = (_y + 1); } if (_root.space.hitTest(_x + ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed > 0) { xspeed = xspeed - (xspeed * 1.3); } if (_root.space.hitTest(_x - ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed < 0) { xspeed = xspeed - (xspeed * 1.3); } }
Instance of Symbol 91 MovieClip in Frame 96
onClipEvent (load) { xspeed = 0; yspeed = 0; speed = 0.4; grav = _root.grav; jump = -6; jetPack = 0.4; id = 0; id2 = 0; id3 = 0; this.swapDepths(250); pWidth = _width; targetX = _x; targetY = _y; moved = false; watertime = 0; moveRight = false; moveLeft = true; jetPack = false; jump = true; spotted = false; interestX = 0; interestY = 0; interestLevel = 0; moveRLast = true; v1x = 0; v1y = 0; v2x = 0; v2y = 0; v3x = 0; v3y = 0; v4x = 0; v4y = 0; v5x = 0; v5y = 0; life = 30; timeScale = 0; } onClipEvent (enterFrame) { function determineAngleBetweenPoints(x1, x2, y1, y2) { var _local2 = x1 - x2; var _local3 = y1 - y2; var _local1 = Math.atan2(_local3, _local2); return(_local1); } function radiansToDegrees(radians) { var _local1 = radians * 57.2957795130823; return(_local1); } if (_root.remove == true) { removeMovieClip(this); } var pan = 0; var vol = 0; if ((_x - _root.player._x) > 100) { pan = 100; } else if ((_x - _root.player._x) < -100) { pan = -100; } else { pan = _x - _root.player._x; } vol = 100 - (Math.sqrt(((_x - _root.player._x) * (_x - _root.player._x)) + ((_y - _root.player._y) * (_y - _root.player._y))) / 10); if (vol > 100) { vol = 100; } shotSound.setPan(pan); shotSound.setVolume(vol); if (_root.sound.type == 2) { var dist = Math.sqrt(((_x - _root.sound._x) * (_x - _root.sound._x)) + ((_y - _root.sound._y) * (_y - _root.sound._y))); if (dist < (_root.sound.size * 2)) { life = life - (((_root.sound.size * 2) - dist) / 4); } } if (yspeed > 14) { yspeed = 14; } _x = (_x + xspeed); _y = (_y + yspeed); var angle = 0; var x1 = _x; var y1 = _y; var x2 = interestX; var y2 = interestY; if (interestLevel < 1) { interestX = _x + xspeed; interestY = _y; } x2 = interestX; y2 = interestY; var angle = determineAngleBetweenPoints(x1, x2, y1, y2); v1x = _x - (Math.cos(angle) * 100); v1y = _y - (Math.sin(angle) * 100); v2x = _x - (Math.cos(angle) * 150); v2y = _y - (Math.sin(angle) * 150); v4x = _x - (Math.cos(angle) * 200); v4y = _y - (Math.sin(angle) * 200); v5x = _x - (Math.cos(angle) * 240); v5y = _y - (Math.sin(angle) * 240); v3x = _x - (Math.cos(angle) * 30); v3y = _y - (Math.sin(angle) * 30); if (_root.space.hitTest(v1x, v1y, true) and _root.space.hitTest(v3x, v3y, true)) { if (_root.space.hitTest(v2x, v2y, true)) { if (_root.space.hitTest(v4x, v4y, true)) { if (_root.space.hitTest(v5x, v5y, true)) { vision.gotoAndStop(5); } else { vision.gotoAndStop(4); } } else { vision.gotoAndStop(3); } } else { vision.gotoAndStop(2); } } else { vision.gotoAndStop(1); } if (life > 0) { if (interestLevel > 100) { if (_root.space.hitTest(v3x, v3y, true)) { if ((random(Math.round(10 / _root.timeScale)) == 1) and (vision.reaction > 8)) { if (_root.player.id3 < 130) { _root.player.id3 = _root.player.id3 + 1; duplicateMovieClip (_root.bullet, "bullet" + _root.player.id3, _root.player.id3 + 1); _root["bullet" + _root.player.id3].targetC = this; weapon.flare.gotoAndPlay(2); _root.sound.owner = this; shotSound = new Sound(this); shotSound.attachSound("shot1"); shotSound.start(0, 1); } else { _root.player.id3 = 100; } } if (vision._currentframe < 2) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { yspeed = -6 * _root.timeScale; } } } else { if (interestY > _y) { interestY = interestY - 5; } if (interestX > _x) { interestX = interestX + 5; } else { interestX = interestX - 5; } } } if (_root.space.hitTest(_x - 20, _y, true)) { } else if ((_root.space.hitTest(_x - 20, _y - 120, true) and (xspeed < 0)) || (_root.space.hitTest(_x - 20, _y - 80, true) and (xspeed < 0))) { yspeed = -6 * _root.timeScale; } else { moveLeft = false; moveRight = true; moveRLast = true; } if (_root.space.hitTest(_x + 20, _y, true)) { } else if ((_root.space.hitTest(_x + 20, _y - 120, true) and (xspeed > 0)) || (_root.space.hitTest(_x + 20, _y - 80, true) and (xspeed > 0))) { yspeed = -6 * _root.timeScale; } else { moveLeft = true; moveRight = false; moveRLast = false; } if (_root.space.hitTest(_x - 30, _y + 80, true) and _root.space.hitTest(_x - 30, (_y + (ani._height / 2)) + 20, true)) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { if ((interestLevel == 0) and (moveLeft == true)) { interestLevel = 50; interestX = _x - 80; interestY = _y + 60; } if ((interestLevel > 20) and (interestX < _x)) { moveRight = false; moveLeft = false; } else { moveRight = true; moveLeft = false; moveRLast = true; } } } if (_root.space.hitTest(_x + 30, _y + 80, true) and _root.space.hitTest(_x + 30, (_y + (ani._height / 2)) + 20, true)) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { if ((interestLevel == 0) and (moveRight == true)) { interestLevel = 50; interestX = _x + 80; interestY = _y + 60; } if ((interestLevel > 20) and (interestX > _x)) { moveRight = false; moveLeft = false; } else { moveRight = false; moveLeft = true; moveRLast = false; } } } if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else if (interestLevel == 0) { if ((moveLeft == false) and (moveRight == false)) { if (moveRLast == true) { moveLeft = true; moveRight = false; } else { moveLeft = false; moveRight = true; } } } if (spotted == false) { if (xspeed < 0) { _xscale = -100; } else { _xscale = 100; } } else if (_x > interestX) { _xscale = -100; } else { _xscale = 100; } if (_root.space.hitTest(_x, _y, true)) { } else { _y = (_y - 5); yspeed = 0; } if (timeScale != _root.timeScale) { xspeed = xspeed * _root.timeScale; yspeed = yspeed * _root.timeScale; timeScale = _root.timeScale; } if ((moveRight == true) and (xspeed < (2 * _root.timeScale))) { xspeed = xspeed + (speed * _root.timeScale); } if ((moveLeft == true) and (xspeed > (-2 * _root.timeScale))) { xspeed = xspeed - (speed * _root.timeScale); } if ((jetPack == true) and (yspeed > -4)) { yspeed = yspeed - (jetPack * _root.timeScale); if (id < 20) { id = id + 1; duplicateMovieClip (_root.flame, "flame" + id, id + 1); _root["flame" + id].targetC = this; } else { id = 0; } } if ((moveRight == true) || (moveLeft == true)) { ani.play(); } else { ani.stop(); } } else { gotoAndStop (94); ani.stop(); xspeed = xspeed * 0.97; weapon._rotation = 0; _rotation = 0; } if (_root.space.hitTest(_x, _y + (ani._height / 2), true)) { if (_root.water.hitTest(_x, _y, true)) { watertime = watertime + 1; yspeed = yspeed - 0.1; yspeed = yspeed * 0.97; xspeed = xspeed * 0.97; if ((((yspeed > 2) || (xspeed > 3)) || (xspeed < -3)) || (yspeed < -2)) { if (_root.player.id2 < 50) { _root.player.id2 = _root.player.id2 + 1; duplicateMovieClip (_root.bubbles, "bubbles" + _root.player.id2, _root.player.id2 + 1); _root["bubbles" + _root.player.id2].targetC = this; } else { _root.player.id2 = 20; } } if ((_y < (_root.water._y + 20)) and (yspeed > 2)) { if (_root.player.id2 < 50) { _root.player.id2 = _root.player.id2 + 1; duplicateMovieClip (_root.splash, "splash" + _root.player.id2, _root.player.id2 + 1); _root["splash" + id2].targetC = this; } else { _root.player.id2 = 20; } } } else { watertime = 0; if (_root.water.hitTest(_x, _y + 10, true)) { if (life > 0) { if (moveLeft == true) { _rotation = -60; } else { _rotation = 60; } } } else if (life > 0) { _rotation = 0; } yspeed = yspeed + (grav * _root.timeScale); } } else { if (yspeed > (10 * _root.timeScale)) { life = life - Math.round(yspeed / _root.timeScale); } if (jump == true) { yspeed = jump * _root.timeScale; jump = false; } if ((moveRight == true) || (moveLeft == true)) { } else { xspeed = xspeed * 0.7; } i = 0; while (i < 15) { if (_root.space.hitTest(_x, ((_y - i) + 1) + (ani._height / 2), true)) { } else if (_root.space.hitTest(_x, (_y - i) + (ani._height / 2), true)) { yspeed = yspeed - (i / 5); _y = (_y - i); moved = true; _root.showme = i; } i = i + 1; } } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else if (yspeed < 0) { yspeed = yspeed - (yspeed * 1.3); } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else { _y = (_y + 1); } if (_root.space.hitTest(_x + ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed > 0) { xspeed = xspeed - (xspeed * 1.3); } if (_root.space.hitTest(_x - ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed < 0) { xspeed = xspeed - (xspeed * 1.3); } }
Instance of Symbol 91 MovieClip in Frame 96
onClipEvent (load) { xspeed = 0; yspeed = 0; speed = 0.4; grav = _root.grav; jump = -6; jetPack = 0.4; id = 0; id2 = 0; id3 = 0; this.swapDepths(250); pWidth = _width; targetX = _x; targetY = _y; moved = false; watertime = 0; moveRight = false; moveLeft = true; jetPack = false; jump = true; spotted = false; interestX = 0; interestY = 0; interestLevel = 0; moveRLast = true; v1x = 0; v1y = 0; v2x = 0; v2y = 0; v3x = 0; v3y = 0; v4x = 0; v4y = 0; v5x = 0; v5y = 0; life = 30; timeScale = 0; } onClipEvent (enterFrame) { function determineAngleBetweenPoints(x1, x2, y1, y2) { var _local2 = x1 - x2; var _local3 = y1 - y2; var _local1 = Math.atan2(_local3, _local2); return(_local1); } function radiansToDegrees(radians) { var _local1 = radians * 57.2957795130823; return(_local1); } if (_root.remove == true) { removeMovieClip(this); } var pan = 0; var vol = 0; if ((_x - _root.player._x) > 100) { pan = 100; } else if ((_x - _root.player._x) < -100) { pan = -100; } else { pan = _x - _root.player._x; } vol = 100 - (Math.sqrt(((_x - _root.player._x) * (_x - _root.player._x)) + ((_y - _root.player._y) * (_y - _root.player._y))) / 10); if (vol > 100) { vol = 100; } shotSound.setPan(pan); shotSound.setVolume(vol); if (_root.sound.type == 2) { var dist = Math.sqrt(((_x - _root.sound._x) * (_x - _root.sound._x)) + ((_y - _root.sound._y) * (_y - _root.sound._y))); if (dist < (_root.sound.size * 2)) { life = life - (((_root.sound.size * 2) - dist) / 4); } } if (yspeed > 14) { yspeed = 14; } _x = (_x + xspeed); _y = (_y + yspeed); var angle = 0; var x1 = _x; var y1 = _y; var x2 = interestX; var y2 = interestY; if (interestLevel < 1) { interestX = _x + xspeed; interestY = _y; } x2 = interestX; y2 = interestY; var angle = determineAngleBetweenPoints(x1, x2, y1, y2); v1x = _x - (Math.cos(angle) * 100); v1y = _y - (Math.sin(angle) * 100); v2x = _x - (Math.cos(angle) * 150); v2y = _y - (Math.sin(angle) * 150); v4x = _x - (Math.cos(angle) * 200); v4y = _y - (Math.sin(angle) * 200); v5x = _x - (Math.cos(angle) * 240); v5y = _y - (Math.sin(angle) * 240); v3x = _x - (Math.cos(angle) * 30); v3y = _y - (Math.sin(angle) * 30); if (_root.space.hitTest(v1x, v1y, true) and _root.space.hitTest(v3x, v3y, true)) { if (_root.space.hitTest(v2x, v2y, true)) { if (_root.space.hitTest(v4x, v4y, true)) { if (_root.space.hitTest(v5x, v5y, true)) { vision.gotoAndStop(5); } else { vision.gotoAndStop(4); } } else { vision.gotoAndStop(3); } } else { vision.gotoAndStop(2); } } else { vision.gotoAndStop(1); } if (life > 0) { if (interestLevel > 100) { if (_root.space.hitTest(v3x, v3y, true)) { if ((random(Math.round(10 / _root.timeScale)) == 1) and (vision.reaction > 8)) { if (_root.player.id3 < 130) { _root.player.id3 = _root.player.id3 + 1; duplicateMovieClip (_root.bullet, "bullet" + _root.player.id3, _root.player.id3 + 1); _root["bullet" + _root.player.id3].targetC = this; weapon.flare.gotoAndPlay(2); _root.sound.owner = this; shotSound = new Sound(this); shotSound.attachSound("shot1"); shotSound.start(0, 1); } else { _root.player.id3 = 100; } } if (vision._currentframe < 2) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { yspeed = -6 * _root.timeScale; } } } else { if (interestY > _y) { interestY = interestY - 5; } if (interestX > _x) { interestX = interestX + 5; } else { interestX = interestX - 5; } } } if (_root.space.hitTest(_x - 20, _y, true)) { } else if ((_root.space.hitTest(_x - 20, _y - 120, true) and (xspeed < 0)) || (_root.space.hitTest(_x - 20, _y - 80, true) and (xspeed < 0))) { yspeed = -6 * _root.timeScale; } else { moveLeft = false; moveRight = true; moveRLast = true; } if (_root.space.hitTest(_x + 20, _y, true)) { } else if ((_root.space.hitTest(_x + 20, _y - 120, true) and (xspeed > 0)) || (_root.space.hitTest(_x + 20, _y - 80, true) and (xspeed > 0))) { yspeed = -6 * _root.timeScale; } else { moveLeft = true; moveRight = false; moveRLast = false; } if (_root.space.hitTest(_x - 30, _y + 80, true) and _root.space.hitTest(_x - 30, (_y + (ani._height / 2)) + 20, true)) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { if ((interestLevel == 0) and (moveLeft == true)) { interestLevel = 50; interestX = _x - 80; interestY = _y + 60; } if ((interestLevel > 20) and (interestX < _x)) { moveRight = false; moveLeft = false; } else { moveRight = true; moveLeft = false; moveRLast = true; } } } if (_root.space.hitTest(_x + 30, _y + 80, true) and _root.space.hitTest(_x + 30, (_y + (ani._height / 2)) + 20, true)) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else { if ((interestLevel == 0) and (moveRight == true)) { interestLevel = 50; interestX = _x + 80; interestY = _y + 60; } if ((interestLevel > 20) and (interestX > _x)) { moveRight = false; moveLeft = false; } else { moveRight = false; moveLeft = true; moveRLast = false; } } } if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else if (interestLevel == 0) { if ((moveLeft == false) and (moveRight == false)) { if (moveRLast == true) { moveLeft = true; moveRight = false; } else { moveLeft = false; moveRight = true; } } } if (spotted == false) { if (xspeed < 0) { _xscale = -100; } else { _xscale = 100; } } else if (_x > interestX) { _xscale = -100; } else { _xscale = 100; } if (_root.space.hitTest(_x, _y, true)) { } else { _y = (_y - 5); yspeed = 0; } if (timeScale != _root.timeScale) { xspeed = xspeed * _root.timeScale; yspeed = yspeed * _root.timeScale; timeScale = _root.timeScale; } if ((moveRight == true) and (xspeed < (2 * _root.timeScale))) { xspeed = xspeed + (speed * _root.timeScale); } if ((moveLeft == true) and (xspeed > (-2 * _root.timeScale))) { xspeed = xspeed - (speed * _root.timeScale); } if ((jetPack == true) and (yspeed > -4)) { yspeed = yspeed - (jetPack * _root.timeScale); if (id < 20) { id = id + 1; duplicateMovieClip (_root.flame, "flame" + id, id + 1); _root["flame" + id].targetC = this; } else { id = 0; } } if ((moveRight == true) || (moveLeft == true)) { ani.play(); } else { ani.stop(); } } else { gotoAndStop (94); ani.stop(); xspeed = xspeed * 0.97; weapon._rotation = 0; _rotation = 0; } if (_root.space.hitTest(_x, _y + (ani._height / 2), true)) { if (_root.water.hitTest(_x, _y, true)) { watertime = watertime + 1; yspeed = yspeed - 0.1; yspeed = yspeed * 0.97; xspeed = xspeed * 0.97; if ((((yspeed > 2) || (xspeed > 3)) || (xspeed < -3)) || (yspeed < -2)) { if (_root.player.id2 < 50) { _root.player.id2 = _root.player.id2 + 1; duplicateMovieClip (_root.bubbles, "bubbles" + _root.player.id2, _root.player.id2 + 1); _root["bubbles" + _root.player.id2].targetC = this; } else { _root.player.id2 = 20; } } if ((_y < (_root.water._y + 20)) and (yspeed > 2)) { if (_root.player.id2 < 50) { _root.player.id2 = _root.player.id2 + 1; duplicateMovieClip (_root.splash, "splash" + _root.player.id2, _root.player.id2 + 1); _root["splash" + id2].targetC = this; } else { _root.player.id2 = 20; } } } else { watertime = 0; if (_root.water.hitTest(_x, _y + 10, true)) { if (life > 0) { if (moveLeft == true) { _rotation = -60; } else { _rotation = 60; } } } else if (life > 0) { _rotation = 0; } yspeed = yspeed + (grav * _root.timeScale); } } else { if (yspeed > (10 * _root.timeScale)) { life = life - Math.round(yspeed / _root.timeScale); } if (jump == true) { yspeed = jump * _root.timeScale; jump = false; } if ((moveRight == true) || (moveLeft == true)) { } else { xspeed = xspeed * 0.7; } i = 0; while (i < 15) { if (_root.space.hitTest(_x, ((_y - i) + 1) + (ani._height / 2), true)) { } else if (_root.space.hitTest(_x, (_y - i) + (ani._height / 2), true)) { yspeed = yspeed - (i / 5); _y = (_y - i); moved = true; _root.showme = i; } i = i + 1; } } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else if (yspeed < 0) { yspeed = yspeed - (yspeed * 1.3); } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else { _y = (_y + 1); } if (_root.space.hitTest(_x + ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed > 0) { xspeed = xspeed - (xspeed * 1.3); } if (_root.space.hitTest(_x - ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed < 0) { xspeed = xspeed - (xspeed * 1.3); } }
Instance of Symbol 127 MovieClip "player" in Frame 96
onClipEvent (load) { xspeed = 0; yspeed = 0; speed = 0.2; grav = _root.grav; jump = -6; jetPack = 0.4; id = 0; id2 = 20; id3 = 100; this.swapDepths(300); pWidth = _width; targetX = _x; targetY = _y; moved = false; watertime = 0; life = 100; soundDone = false; jetFuel = 500; } onClipEvent (enterFrame) { if (_root.remove == true) { removeMovieClip(this); } if (_root.space.hitTest(_x, _y, true)) { } else { _y = (_y - 10); yspeed = 0; } if (_root.sound.type == 2) { var distance = Math.sqrt(((_x - _root.sound._x) * (_x - _root.sound._x)) + ((_y - _root.sound._y) * (_y - _root.sound._y))); if (distance < _root.sound.size) { life = life - Math.round((_root.sound.size - distance) / 2); } } ani.body.gotoAndStop(1); ani.legF.gotoAndStop(1); ani.legB.gotoAndStop(1); weapon.armF.gotoAndStop(1); tell = _x; _x = (_x + xspeed); _y = (_y + yspeed); if (life > 0) { if (Key.isDown(87)) { if (_root.space.hitTest(_x, (_y + (ani._height / 2)) + 10, true)) { } else if (yspeed < 5) { ani.gotoAndStop(5); yspeed = jump; } } if (Key.isDown(68) || (Key.isDown(65))) { } else if (Key.isDown(83) and (ani._currentframe < 40)) { ani.gotoAndPlay(41); } } if (life > 0) { this.onMouseDown = function () { if (id3 < 130) { id3 = id3 + 1; if (weapon._currentframe == 6) { duplicateMovieClip (_root.bullet, "bullet" + id3, id3 + 1); _root["bullet" + _root.player.id3].targetC = this; _root["bullet" + _root.player.id3]._alpha = 100; _root.sound.owned = 0; _root.sound.type = 1; _root.sound.owner = this; weapon.play(); weapon.flare.gotoAndPlay(6); } } else { id3 = 100; } }; if (_root._xmouse < _x) { _xscale = -100; } else { _xscale = 100; } if (Key.isDown(65) and (xspeed > -4)) { xspeed = xspeed - speed; } if (Key.isDown(68) and (xspeed < 4)) { xspeed = xspeed + speed; } if ((Key.isDown(32) and (yspeed > -4)) and (jetFuel > 0)) { jetFuel = jetFuel - (5 * _root.timeScale); if (soundDone == false) { jetSound = new Sound(this); jetSound.attachSound("flame"); jetSound.start(0, 99); jetSound.setVolume(50); soundDone = true; } yspeed = yspeed - jetPack; if (id < 20) { id = id + 1; duplicateMovieClip (_root.flame, "flame" + id, id + 1); _root["flame" + id].targetC = this; } else { id = 0; } } else { soundDone = false; jetSound.stop(); if (jetFuel < 500) { jetFuel = jetFuel + (3 * _root.timeScale); } } if (Key.isDown(68) || (Key.isDown(65))) { ani.play(); } else if (ani._currentframe < 40) { ani.stop(); } } else { gotoAndStop (94); ani.stop(); xspeed = xspeed * 0.97; weapon._rotation = 0; _rotation = 0; } if (_root.space.hitTest(_x, _y + (ani._height / 2), true)) { if (_root.water.hitTest(_x, _y, true)) { watertime = watertime + 1; yspeed = yspeed - 0.1; yspeed = yspeed * 0.95; xspeed = xspeed * 0.97; if (life > 0) { if (Key.isDown(83) and (yspeed < 4)) { yspeed = yspeed + speed; } if (Key.isDown(87) and (yspeed > -4)) { yspeed = yspeed - speed; ani.gotoAndStop(5); } } if ((((yspeed > 2) || (xspeed > 3)) || (xspeed < -3)) || (yspeed < -2)) { if (id2 < 50) { id2 = id2 + 1; duplicateMovieClip (_root.bubbles, "bubbles" + id2, id2 + 1); _root["bubbles" + id2].targetC = this; } else { id2 = 20; } if ((_y < (_root.water._y + 20)) and (yspeed > 2)) { if (id2 < 50) { id2 = id2 + 1; duplicateMovieClip (_root.splash, "splash" + id2, id2 + 1); _root["splash" + id2].targetC = this; } else { id2 = 20; } } } if (life > 0) { if (_root._xmouse < _x) { _rotation = -60; weapon._rotation = weapon._rotation - 60; } else { _rotation = 60; weapon._rotation = weapon._rotation - 60; } } } else { watertime = 0; if (_root.water.hitTest(_x, _y + 10, true)) { if (life > 0) { if (_root._xmouse < _x) { _rotation = -30; weapon._rotation = weapon._rotation - 30; } else { _rotation = 30; weapon._rotation = weapon._rotation - 30; } } } else if (life > 0) { _rotation = 0; } yspeed = yspeed + grav; } } else { if (yspeed > 10) { life = life - Math.round(yspeed); } if (Key.isDown(68) || (Key.isDown(65))) { } else { xspeed = xspeed * 0.9; } i = 0; while (i < (yspeed + 15)) { if (_root.space.hitTest(_x, ((_y - i) + 1) + (ani._height / 2), true)) { } else if (_root.space.hitTest(_x, (_y - i) + (ani._height / 2), true)) { yspeed = yspeed - (i / 5); _y = (_y - i); moved = true; _root.showme = i; } i = i + 1; } } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else if (yspeed < 0) { yspeed = yspeed - (yspeed * 1.3); } if (_root.space.hitTest(_x, _y - (ani._height / 2), true)) { } else { _y = (_y + 1); } if (_root.space.hitTest(_x + ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed > 0) { xspeed = xspeed - (xspeed * 1.3); } if (_root.space.hitTest(_x - ((ani._width / 2) + xspeed), _y, true)) { } else if (xspeed < 0) { xspeed = xspeed - (xspeed * 1.3); } }
Instance of Symbol 130 MovieClip "grenade" in Frame 96
onClipEvent (load) { var targetC; xspeed = -((_root.player._x - _root.aim._x) / 20); yspeed = -((_root.player._y - _root.aim._y) / 20); timer = 0; show = 0; _x = targetC._x; _y = targetC._y; if (_name == "grenade") { _visible = false; } } onClipEvent (enterFrame) { show = 100 - timer; timer = timer + (1 * _root.timeScale); _x = (_x + xspeed); _y = (_y + yspeed); xspeed = xspeed * 0.99; yspeed = yspeed * 0.99; xspeed = xspeed * _root.timeScale; yspeed = yspeed * _root.timeScale; if (yspeed > 0) { if (_root.space.hitTest(_x, (_y + 5) + yspeed, true)) { yspeed = yspeed + (_root.grav * _root.timeScale); } else { if (_root.space.hitTest(_x - (_width / 2), _y + 6, true)) { xspeed = xspeed - 0.2; } if (_root.space.hitTest(_x + (_width / 2), _y + 6, true)) { xspeed = xspeed + 0.2; } yspeed = -(yspeed * 0.4); xspeed = xspeed * 0.9; if (_root.space.hitTest(_x, _y + 2, true)) { } else { _y = (_y - 1); } } } else if (_root.space.hitTest(_x, (_y - 5) + yspeed, true)) { yspeed = yspeed + (_root.grav * _root.timeScale); } else { yspeed = -(yspeed * 0.5); xspeed = xspeed * 0.9; } if (_root.space.hitTest(_x + xspeed, _y + 4, true) and _root.space.hitTest(_x + xspeed, _y - 4)) { } else if (_root.space.hitTest(_x + xspeed, _y + 4, true)) { xspeed = xspeed * 0.5; if (xspeed > 0) { yspeed = yspeed + xspeed; } else { yspeed = yspeed - xspeed; } } else if (_root.space.hitTest(_x + xspeed, _y - 4, true)) { xspeed = xspeed * 0.5; if (xspeed > 0) { yspeed = yspeed - xspeed; } else { yspeed = yspeed + xspeed; } } else { xspeed = -(xspeed * 0.5); } if (timer > 100) { if (_name == "grenade") { } else { _root.id = _root.id + 1; _root.player.id3 = _root.player.id3 + 1; _root.expTargetX = _x; _root.expTargetY = _y; _root.expSize = 40; duplicateMovieClip (_root.space.hole, "hole" + _root.id, _root.id + 1); _root.expSize = 40; duplicateMovieClip (_root.explosion, "explosion" + _root.player.id3, _root.player.id3 + 1); _root["explosion" + _root.player.id3]._x = _x; _root["explosion" + _root.player.id3]._y = _y; _root["explosion" + _root.player.id3]._height = _root.expSize; _root["explosion" + _root.player.id3]._width = _root.expSize; _root["explosion" + _root.player.id3].sizeE = _root.expSize * 2; this.removeMovieClip(); } } }
Instance of Symbol 132 MovieClip "rocket" in Frame 96
onClipEvent (load) { function determineAngleBetweenPoints(x1, x2, y1, y2) { var _local2 = x1 - x2; var _local3 = y1 - y2; var _local1 = Math.atan2(_local3, _local2); return(_local1); } function radiansToDegrees(radians) { var _local1 = radians * 57.2957795130823; return(_local1); } _alpha = 100; addX = _root.player.xspeed; addY = _root.player.yspeed; if (_name == "rocket") { } else { if (_root.player._xscale == 100) { _x = (_root.player._x + _root.player.weapon._x); } else { _x = (_root.player._x - _root.player.weapon._x); } _y = _root.player._y; } speed = 20; var angle = 0; var x1 = _root._xmouse; var y1 = _root._ymouse; var x2 = _root.player._x; var y2 = _root.player._y; var angle = determineAngleBetweenPoints(x1, x2, y1, y2); _rotation = radiansToDegrees(angle); } onClipEvent (enterFrame) { speed = 20 * _root.timeScale; _x = (_x + ((Math.cos(angle) * speed) + addX)); _y = (_y + ((Math.sin(angle) * speed) + addY)); if (_root.space.hitTest(_x, _y, true) and (_alpha == 100)) { } else { speed = 0; _alpha = 0; if (_name == "rocket") { } else { _root.id = _root.id + 1; _root.expTargetX = _x; _root.expTargetY = _y; _root.expSize = 35; duplicateMovieClip (_root.space.hole, "hole" + _root.id, _root.id + 1); _root.expSize = 35; this.removeMovieClip(); } } }
Instance of Symbol 139 MovieClip "flame" in Frame 96
onClipEvent (load) { var targetC; if (_root.player._xscale == 100) { _x = (targetC._x - 7); } else { _x = (targetC._x + 7); } _y = (targetC._y + 5); gotoAndPlay (93); } onClipEvent (enterFrame) { _y = (_y + 2); }
Instance of Symbol 141 MovieClip "bubbles" in Frame 96
onClipEvent (load) { var targetC; _rotation = random(360); _x = ((targetC._x - 10) + random(20)); _y = ((targetC._y - 10) + random(20)); gotoAndPlay (93); amount = 0; if (targetC.xspeed > 0) { amount = targetC.xspeed + targetC.yspeed; } else { amount = (-targetC.xspeed) + targetC.yspeed; } _width = (5 + amount); _height = _width; _alpha = (10 * amount); } onClipEvent (enterFrame) { _alpha = (_alpha - (1 * _root.timeScale)); _y = (_y - (2 * _root.timeScale)); if (_root.water.hitTest(_x, _y - (_height / 2), true)) { } else { _alpha = 0; } if ((_alpha < 1) and (_name != "bubbles")) { removeMovieClip(this); } }
Instance of Symbol 143 MovieClip "bullet" in Frame 96
onClipEvent (load) { function determineAngleBetweenPoints(x1, x2, y1, y2) { var _local2 = x1 - x2; var _local3 = y1 - y2; var _local1 = Math.atan2(_local3, _local2); return(_local1); } function radiansToDegrees(radians) { var _local1 = radians * 57.2957795130823; return(_local1); } var targetC; var targetDX; var targetDY; if (targetC == _root.player) { targetDX = _root.aim._x; targetDY = _root.aim._y; } else { targetDX = targetC.interestX; targetDY = targetC.interestY; } _alpha = 100; addX = targetC.xspeed; addY = targetC.yspeed; if (targetC == _root.player) { if (targetC._xscale == 100) { _x = (targetC._x + targetC.weapon._x); } else { _x = (targetC._x - targetC.weapon._x); } _y = (targetC._y - targetC.weapon._y); } else { if (targetC._xscale == 100) { _x = targetC._x; } else { _x = targetC._x; } _y = (targetC._y - 5); } speed = 20; var angle = 0; var x1 = targetDX; var y1 = targetDY; var x2 = targetC._x; var y2 = targetC._y; var angle = determineAngleBetweenPoints(x1, x2, y1, y2); _rotation = radiansToDegrees(angle); _alpha = 100; } onClipEvent (enterFrame) { speed = 20 * _root.timeScale; _x = (_x + (Math.cos(angle) * speed)); _y = (_y + (Math.sin(angle) * speed)); if (_root.space.hitTest(_x, _y, true) and (_alpha == 100)) { } else { speed = 0; _alpha = 0; } if (_root.player.hitTest(_x, _y, true) and (targetC != _root.player)) { if (_alpha > 0) { _alpha = 0; _root.player.life = _root.player.life - 5; } } if ((_alpha < 1) and (_name != "bullet")) { removeMovieClip(this); } }
Instance of Symbol 197 MovieClip "ki" in Frame 96
onClipEvent (load) { function determineAngleBetweenPoints(x1, x2, y1, y2) { var _local2 = x1 - x2; var _local3 = y1 - y2; var _local1 = Math.atan2(_local3, _local2); return(_local1); } function radiansToDegrees(radians) { var _local1 = radians * 57.2957795130823; return(_local1); } _alpha = 100; addX = _root.player.xspeed; addY = _root.player.yspeed; if (_name == "ki") { } else { if (_root.player._xscale == 100) { _x = (_root.player._x + _root.player.weapon._x); } else { _x = (_root.player._x - _root.player.weapon._x); } _y = _root.player._y; } speed = 20; var angle = 0; var x1 = _root._xmouse; var y1 = _root._ymouse; var x2 = _root.player._x; var y2 = _root.player._y; var angle = determineAngleBetweenPoints(x1, x2, y1, y2); _rotation = radiansToDegrees(angle); } onClipEvent (enterFrame) { _x = (_x + ((Math.cos(angle) * speed) + addX)); _y = (_y + ((Math.sin(angle) * speed) + addY)); if (_root.space.hitTest(_x, _y, true) and (_alpha == 100)) { } else { speed = 0; _alpha = 0; if (_name == "ki") { } else { _root.id = _root.id + 1; _root.expTargetX = _x; _root.expTargetY = _y; _root.expSize = 20; duplicateMovieClip (_root.space.hole, "hole" + _root.id, _root.id + 1); _root.expSize = 20; this.removeMovieClip(); } } }
Instance of Symbol 199 MovieClip "kibig" in Frame 96
onClipEvent (load) { function determineAngleBetweenPoints(x1, x2, y1, y2) { var _local2 = x1 - x2; var _local3 = y1 - y2; var _local1 = Math.atan2(_local3, _local2); return(_local1); } function radiansToDegrees(radians) { var _local1 = radians * 57.2957795130823; return(_local1); } _alpha = 100; addX = _root.player.xspeed; addY = _root.player.yspeed; if (_name == "kibig") { } else { if (_root.player._xscale == 100) { _x = (_root.player._x + _root.player.weapon._x); } else { _x = (_root.player._x - _root.player.weapon._x); } _y = _root.player._y; } speed = 20; var angle = 0; var x1 = _root._xmouse; var y1 = _root._ymouse; var x2 = _root.player._x; var y2 = _root.player._y; var angle = determineAngleBetweenPoints(x1, x2, y1, y2); _rotation = radiansToDegrees(angle); } onClipEvent (enterFrame) { _x = (_x + ((Math.cos(angle) * speed) + addX)); _y = (_y + ((Math.sin(angle) * speed) + addY)); if (_root.space.hitTest(_x, _y, true) and (_alpha == 100)) { } else { speed = 0; _alpha = 0; if (_name == "kibig") { } else { _root.id = _root.id + 1; _root.expTargetX = _x; _root.expTargetY = _y; _root.expSize = 40; duplicateMovieClip (_root.space.hole, "hole" + _root.id, _root.id + 1); _root.expSize = 40; this.removeMovieClip(); } } }
Instance of Symbol 203 MovieClip "kidisk" in Frame 96
onClipEvent (load) { function determineAngleBetweenPoints(x1, x2, y1, y2) { var _local2 = x1 - x2; var _local3 = y1 - y2; var _local1 = Math.atan2(_local3, _local2); return(_local1); } function radiansToDegrees(radians) { var _local1 = radians * 57.2957795130823; return(_local1); } _alpha = 100; addX = _root.player.xspeed; addY = _root.player.yspeed; if (_name == "kidisk") { } else { if (_root.player._xscale == 100) { _x = (_root.player._x + _root.player.weapon._x); } else { _x = (_root.player._x - _root.player.weapon._x); } _y = _root.player._y; } speed = 20; var angle = 0; var x1 = _root._xmouse; var y1 = _root._ymouse; var x2 = _root.player._x; var y2 = _root.player._y; var angle = determineAngleBetweenPoints(x1, x2, y1, y2); _rotation = radiansToDegrees(angle); } onClipEvent (enterFrame) { _x = (_x + ((Math.cos(angle) * speed) + addX)); _y = (_y + ((Math.sin(angle) * speed) + addY)); if (_root.space.hitTest(_x, _y, true) and (_alpha == 100)) { } else { speed = 0; _alpha = 0; if (_name == "kidisk") { } else { _root.id = _root.id + 1; _root.expTargetX = _x; _root.expTargetY = _y; _root.expSize = 55; duplicateMovieClip (_root.space.hole, "hole" + _root.id, _root.id + 1); _root.expSize = 55; this.removeMovieClip(); } } }
Instance of Symbol 145 MovieClip "sound" in Frame 96
onClipEvent (load) { owner = false; owned = 0; type = 1; size = 1; } onClipEvent (enterFrame) { if (owner != false) { if (owned < 1) { _x = owner._x; _y = owner._y; } owned = owned + 1; } if (owned > 5) { owner = false; owned = 0; type = 1; _x = -999999; } }
Instance of Symbol 151 MovieClip "explosion" in Frame 96
onClipEvent (load) { var sizeE; var pan = 0; var vol = 0; if (_name == "explosion") { _visible = false; } else { explosionSound = new Sound(this); explosionSound.attachSound("explosion"); explosionSound.start(0, 0); explosion2Sound = new Sound(this); explosion2Sound.attachSound("explosionold"); explosion2Sound.start(0, 0); } } onClipEvent (enterFrame) { if ((_x - _root.player._x) > 100) { pan = 100; } else if ((_x - _root.player._x) < -100) { pan = -100; } else { pan = _x - _root.player._x; } vol = 100 - (Math.sqrt(((_x - _root.player._x) * (_x - _root.player._x)) + ((_y - _root.player._y) * (_y - _root.player._y))) / 10); if (vol > 100) { vol = 100; } explosionSound.setPan(pan); explosionSound.setVolume(vol); explosion2Sound.setPan(pan); explosion2Sound.setVolume(vol); }
Instance of Symbol 157 MovieClip "splash" in Frame 96
onClipEvent (load) { var targetC; _x = targetC._x; _y = _root.water._y; gotoAndPlay (93); }
Instance of Symbol 160 MovieClip "aim" in Frame 96
onClipEvent (enterFrame) { startDrag (this, true); Mouse.hide(); this.swapDepths(600); if (_root.remove == true) { removeMovieClip(this); } }
Instance of Symbol 169 MovieClip in Frame 96
onClipEvent (load) { given = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true) and (given == false)) { _root.score = _root.score + 10; given = true; _visible = false; } }
Instance of Symbol 169 MovieClip in Frame 96
onClipEvent (load) { given = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true) and (given == false)) { _root.score = _root.score + 10; given = true; _visible = false; } }
Instance of Symbol 169 MovieClip in Frame 96
onClipEvent (load) { given = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true) and (given == false)) { _root.score = _root.score + 10; given = true; _visible = false; } }
Instance of Symbol 169 MovieClip in Frame 96
onClipEvent (load) { given = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true) and (given == false)) { _root.score = _root.score + 10; given = true; _visible = false; } }
Instance of Symbol 169 MovieClip in Frame 96
onClipEvent (load) { given = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true) and (given == false)) { _root.score = _root.score + 10; given = true; _visible = false; } }
Instance of Symbol 180 MovieClip "hud" in Frame 96
onClipEvent (load) { time = 0; } onClipEvent (enterFrame) { this.swapDepths(500); if (_root.remove == true) { removeMovieClip(this); } var time; if (_root.score >= _root.goal) { time = time + 1; } if (_root.player.life < 1) { time = time + 1; } if ((time > 50) and (_root.player.life > 0)) { _root.nextFrame(); } else if (time > 50) { _root.nextFrame(); _root.nextFrame(); } }
Frame 97
remove = true; _root._x = 0; _root._y = 0; Mouse.show();
Instance of Symbol 181 MovieClip in Frame 97
onClipEvent (enterFrame) { Mouse.show(); }
Frame 98
remove = true; _root._x = 0; _root._y = 0; Mouse.show();
Symbol 9 Button
on (release) { getURL ("http://www.johnnytwoshoes.com", "_blank"); }
Symbol 21 Button
on (release) { _root.play(); }
Symbol 25 Button
on (release) { gotoAndStop (2); }
Symbol 46 Button
on (release) { gotoAndStop (1); }
Symbol 47 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 9
stop();
Instance of Symbol 58 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (load) { _rotation = random(360); }
Instance of Symbol 59 MovieClip "hole" in Symbol 60 MovieClip Frame 1
onClipEvent (load) { _rotation = 0; _height = _root.expSize; _width = _height; _x = (_root.expTargetX - _root.space._x); _y = (_root.expTargetY - _root.space._y); }
Instance of Symbol 70 MovieClip "head" in Symbol 71 MovieClip Frame 1
onClipEvent (enterFrame) { function determineAngleBetweenPoints(x1, x2, y1, y2) { var _local2 = x1 - x2; var _local3 = y1 - y2; var _local1 = Math.atan2(_local3, _local2); return(_local1); } function radiansToDegrees(radians) { var _local1 = radians * 57.2957795130823; return(_local1); } var angle = 0; if (_parent._parent._parent._xscale == 100) { var x1 = _parent._parent._parent.interestX; var y1 = _parent._parent._parent.interestY; } else { var x1 = ((_parent._parent._parent._x * 2) - _parent._parent._parent.interestX); var y1 = _parent._parent._parent.interestY; } var x2 = (this._x + _parent._parent._parent._x); var y2 = (this._y + _parent._parent._parent._y); var angle = determineAngleBetweenPoints(x1, x2, y1, y2); if (_parent._parent._parent.spotted == true) { if (_parent.moveLeft == true) { _rotation = (radiansToDegrees(angle) + _parent._parent._parent._rotation); } else { _rotation = (radiansToDegrees(angle) - _parent._parent._parent._rotation); } } else { _rotation = 0; } }
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 2
play();
Symbol 76 MovieClip Frame 3
play();
Symbol 76 MovieClip Frame 4
play();
Symbol 76 MovieClip Frame 5
gotoAndStop (1);
Symbol 76 MovieClip Frame 9
gotoAndStop (1);
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 3
stop();
Symbol 86 MovieClip Frame 4
stop();
Symbol 86 MovieClip Frame 5
stop();
Symbol 88 MovieClip Frame 2
stop();
Symbol 91 MovieClip Frame 1
stop();
Instance of Symbol 72 MovieClip "ani" in Symbol 91 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 78 MovieClip "weapon" in Symbol 91 MovieClip Frame 1
onClipEvent (enterFrame) { function determineAngleBetweenPoints(x1, x2, y1, y2) { var _local2 = x1 - x2; var _local3 = y1 - y2; var _local1 = Math.atan2(_local3, _local2); return(_local1); } function radiansToDegrees(radians) { var _local1 = radians * 57.2957795130823; return(_local1); } var angle = 0; if (_parent._xscale == 100) { var x1 = _parent.interestX; var y1 = _parent.interestY; } else { var x1 = ((_parent._x * 2) - _parent.interestX); var y1 = _parent.interestY; } var x2 = (this._x + _parent._x); var y2 = (this._y + _parent._y); var angle = determineAngleBetweenPoints(x1, x2, y1, y2); if (_parent.spotted == true) { if (_parent.moveLeft == true) { _rotation = (radiansToDegrees(angle) + _parent._rotation); } else { _rotation = (radiansToDegrees(angle) - _parent._rotation); } } else { _rotation = 0; } }
Instance of Symbol 80 MovieClip in Symbol 91 MovieClip Frame 1
onClipEvent (enterFrame) { if (_parent.life > 0) { i = 100; while (i < 130) { if (this.hitTest(_root["bullet" + i]._x, _root["bullet" + i]._y, true and (_root["bullet" + i]._currentframe == 3))) { if ((_root["bullet" + i].targetC == _root.player) and (_root["bullet" + i]._alpha > 0)) { _parent.life = _parent.life - 5; _parent.interestLevel = _parent.interestLevel + 100; _parent.interestX = _root.player._x; _parent.interestY = _root.player._y; _root["bullet" + i]._alpha = 0; } } i = i + 1; } } }
Instance of Symbol 86 MovieClip "vision" in Symbol 91 MovieClip Frame 1
onClipEvent (load) { reaction = 0; } onClipEvent (enterFrame) { _rotation = _parent.ani.body.head._rotation; if (this.hitTest(_root.player._x, _root.player._y, true) and (_root.player.life > 0)) { reaction = reaction + 1; if (reaction > (10 / _root.timeScale)) { _parent.interestX = _root.player._x; _parent.interestY = _root.player._y; _parent.interestLevel = 200; } } else if (_parent.interestLevel > 0) { _parent.spotted = true; _parent.interestLevel = _parent.interestLevel - (1 * _root.timeScale); } else { reaction = 0; _parent.spotted = false; } }
Instance of Symbol 88 MovieClip in Symbol 91 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.sound._x, _root.sound._y, true) and (_root.sound.owner != _parent)) { if (_root.sound.owner != _root.player) { _parent.interestX = _root.sound.owner.interestX; _parent.interestY = _root.sound.owner.interestY; } else { _parent.interestX = _root.sound._x; _parent.interestY = _root.sound._y; } var time = 0; _parent.interestLevel = 100; } }
Instance of Symbol 90 MovieClip in Symbol 91 MovieClip Frame 1
onClipEvent (enterFrame) { if (_parent.life > -1) { _width = _parent.life; } }
Instance of Symbol 103 MovieClip in Symbol 105 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.player.ani._currentframe < 41) { _rotation = _root.player.weapon._rotation; gotoAndStop (1); } else { _rotation = (_root.player.weapon._rotation - 90); gotoAndStop (2); } }
Symbol 106 MovieClip Frame 40
gotoAndPlay (1);
Symbol 106 MovieClip Frame 45
stop();
Symbol 125 MovieClip Frame 5
gotoAndPlay (1);
Symbol 125 MovieClip Frame 10
gotoAndStop (6);
Symbol 125 MovieClip Frame 12
gotoAndStop (11);
Symbol 125 MovieClip Frame 14
gotoAndStop (13);
Symbol 125 MovieClip Frame 18
gotoAndStop (15);
Symbol 125 MovieClip Frame 20
gotoAndStop (19);
Symbol 125 MovieClip Frame 22
gotoAndStop (19);
Symbol 125 MovieClip Frame 24
gotoAndStop (19);
Symbol 127 MovieClip Frame 1
stop();
Instance of Symbol 125 MovieClip "weapon" in Symbol 127 MovieClip Frame 1
on (keyPress "1") { gotoAndPlay (1); } on (keyPress "2") { gotoAndStop (6); } on (keyPress "3") { gotoAndStop (15); } on (keyPress "4") { gotoAndStop (13); } on (keyPress "5") { gotoAndStop (11); } on (keyPress "0") { if (_currentframe == 19) { gotoAndStop (21); } else if (_currentframe == 21) { gotoAndStop (23); } else if (_currentframe == 23) { gotoAndStop (19); } else { gotoAndStop (19); } } onClipEvent (load) { gotoAndStop (6); } onClipEvent (enterFrame) { function determineAngleBetweenPoints(x1, x2, y1, y2) { var _local2 = x1 - x2; var _local3 = y1 - y2; var _local1 = Math.atan2(_local3, _local2); return(_local1); } function radiansToDegrees(radians) { var _local1 = radians * 57.2957795130823; return(_local1); } var angle = 0; if (_parent._xscale == 100) { var x1 = _root._xmouse; var y1 = _root._ymouse; } else { var x1 = ((_root.player._x * 2) - _root._xmouse); var y1 = _root._ymouse; } var x2 = (this._x + _parent._x); var y2 = (this._y + _parent._y); var angle = determineAngleBetweenPoints(x1, x2, y1, y2); _rotation = radiansToDegrees(angle); }
Instance of Symbol 106 MovieClip "ani" in Symbol 127 MovieClip Frame 2
onClipEvent (enterFrame) { ani.gotoAndStop(1); }
Instance of Symbol 125 MovieClip "weapon" in Symbol 127 MovieClip Frame 2
onClipEvent (enterFrame) { gotoAndStop (21); }
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 2
stop();
Symbol 139 MovieClip Frame 20
stop(); if (_name != "flame") { removeMovieClip(this); }
Symbol 141 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 3
stop();
Symbol 151 MovieClip Frame 1
_root.sound.owned = 0; _root.sound.owner = this; _root.sound.type = 2; _root.sound.size = sizeE; if (_name == "explosion") { stop(); }
Symbol 151 MovieClip Frame 110
if (_name != "explosion") { removeMovieClip(this); }
Symbol 157 MovieClip Frame 20
stop();
Symbol 169 MovieClip Frame 10
gotoAndPlay (1);
Symbol 169 MovieClip Frame 18
stop(); removeMovieClip(this);
Symbol 180 MovieClip Frame 1
stop();
Instance of Symbol 179 MovieClip in Symbol 180 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.player.life > 0) { var goto = Math.round(_root.player.life / 5); gotoAndStop(goto); } else { gotoAndStop (1); } }
Instance of Symbol 179 MovieClip in Symbol 180 MovieClip Frame 1
onClipEvent (enterFrame) { var goto = Math.round(_root.slowMo / 5); gotoAndStop(goto); }
Instance of Symbol 179 MovieClip in Symbol 180 MovieClip Frame 1
onClipEvent (enterFrame) { var goto = Math.round(_root.player.jetFuel / 25); gotoAndStop(goto); }
Symbol 186 Button
on (release) { gotoAndStop (96); }
Symbol 191 Button
on (release) { gotoAndStop (93); }
Instance of Symbol 59 MovieClip "hole" in Symbol 195 MovieClip Frame 1
onClipEvent (load) { _rotation = 0; _height = _root.expSize; _width = _height; _x = (_root.expTargetX - _root.space._x); _y = (_root.expTargetY - _root.space._y); }
Symbol 206 Button
on (release) { gotoAndStop (96); }

Library Items

Symbol 1 Sound [flame]
Symbol 2 Sound [explosionold]
Symbol 3 Sound [explosion]
Symbol 4 Sound [shot1]Used by:76
Symbol 5 GraphicUsed by:Timeline
Symbol 6 BitmapUsed by:7 8
Symbol 7 GraphicUses:6Used by:9
Symbol 8 GraphicUses:6Used by:9
Symbol 9 ButtonUses:7 8Used by:Timeline
Symbol 10 GraphicUsed by:Timeline
Symbol 11 GraphicUsed by:Timeline
Symbol 12 BitmapUsed by:13 14
Symbol 13 GraphicUses:12Used by:Timeline
Symbol 14 GraphicUses:12Used by:47
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:15Used by:47
Symbol 17 GraphicUsed by:47
Symbol 18 GraphicUsed by:21
Symbol 19 GraphicUsed by:21
Symbol 20 GraphicUsed by:21
Symbol 21 ButtonUses:18 19 20Used by:47
Symbol 22 GraphicUsed by:25
Symbol 23 GraphicUsed by:25
Symbol 24 GraphicUsed by:25
Symbol 25 ButtonUses:22 23 24Used by:47
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:26Used by:47
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:28Used by:47
Symbol 30 FontUsed by:31 33 43 44 182 187 204 205
Symbol 31 TextUses:30Used by:47
Symbol 32 FontUsed by:33 36 37 38 174 175
Symbol 33 TextUses:30 32Used by:47
Symbol 34 BitmapUsed by:35
Symbol 35 GraphicUses:34Used by:47
Symbol 36 TextUses:32Used by:47
Symbol 37 TextUses:32Used by:47
Symbol 38 TextUses:32Used by:47
Symbol 39 GraphicUsed by:47
Symbol 40 FontUsed by:41 42 129 173
Symbol 41 TextUses:40Used by:47
Symbol 42 TextUses:40Used by:47
Symbol 43 TextUses:30Used by:46
Symbol 44 TextUses:30Used by:46
Symbol 45 GraphicUsed by:46
Symbol 46 ButtonUses:43 44 45Used by:47
Symbol 47 MovieClipUses:14 16 17 21 25 27 29 31 33 35 36 37 38 39 41 42 46Used by:Timeline
Symbol 48 BitmapUsed by:49 52 53 54 55 56 57 193 194
Symbol 49 GraphicUses:48Used by:50
Symbol 50 MovieClipUses:49Used by:Timeline
Symbol 51 BitmapUsed by:52 193
Symbol 52 GraphicUses:51 48Used by:60
Symbol 53 GraphicUses:48Used by:58
Symbol 54 GraphicUses:48Used by:58
Symbol 55 GraphicUses:48Used by:58
Symbol 56 GraphicUses:48Used by:58
Symbol 57 GraphicUses:48Used by:58
Symbol 58 MovieClipUses:53 54 55 56 57Used by:59
Symbol 59 MovieClipUses:58Used by:60 195  Timeline
Symbol 60 MovieClipUses:52 59Used by:Timeline
Symbol 61 MovieClipUsed by:Timeline
Symbol 62 BitmapUsed by:63 64 66 68 69 77
Symbol 63 GraphicUses:62Used by:91
Symbol 64 GraphicUses:62Used by:65
Symbol 65 MovieClipUses:64Used by:72
Symbol 66 GraphicUses:62Used by:67
Symbol 67 MovieClipUses:66Used by:72
Symbol 68 GraphicUses:62Used by:71
Symbol 69 GraphicUses:62Used by:70
Symbol 70 MovieClipUses:69Used by:71
Symbol 71 MovieClipUses:68 70Used by:72
Symbol 72 MovieClipUses:65 67 71Used by:91
Symbol 73 BitmapUsed by:74
Symbol 74 GraphicUses:73Used by:78 125
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:75 4Used by:78 125
Symbol 77 GraphicUses:62Used by:78
Symbol 78 MovieClipUses:74 76 77Used by:91
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClipUses:79Used by:91
Symbol 81 GraphicUsed by:86
Symbol 82 GraphicUsed by:86
Symbol 83 GraphicUsed by:86
Symbol 84 GraphicUsed by:86
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:81 82 83 84 85Used by:91
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:87Used by:91
Symbol 89 GraphicUsed by:90
Symbol 90 MovieClipUses:89Used by:91
Symbol 91 MovieClipUses:63 72 78 80 86 88 90Used by:Timeline
Symbol 92 BitmapUsed by:93 94 98 101 102 109
Symbol 93 GraphicUses:92Used by:127
Symbol 94 GraphicUses:92Used by:97
Symbol 95 BitmapUsed by:96 99 104 110
Symbol 96 GraphicUses:95Used by:97
Symbol 97 MovieClipUses:94 96Used by:106
Symbol 98 GraphicUses:92Used by:100
Symbol 99 GraphicUses:95Used by:100
Symbol 100 MovieClipUses:98 99Used by:106
Symbol 101 GraphicUses:92Used by:105
Symbol 102 GraphicUses:92Used by:103
Symbol 103 MovieClipUses:102Used by:105
Symbol 104 GraphicUses:95Used by:105
Symbol 105 MovieClipUses:101 103 104Used by:106
Symbol 106 MovieClipUses:97 100 105Used by:127
Symbol 107 BitmapUsed by:108 112
Symbol 108 GraphicUses:107Used by:125
Symbol 109 GraphicUses:92Used by:111
Symbol 110 GraphicUses:95Used by:111
Symbol 111 MovieClipUses:109 110Used by:125
Symbol 112 GraphicUses:107Used by:113
Symbol 113 MovieClipUses:112Used by:125
Symbol 114 BitmapUsed by:115 116 117 118
Symbol 115 GraphicUses:114Used by:125
Symbol 116 GraphicUses:114Used by:125
Symbol 117 GraphicUses:114Used by:125
Symbol 118 GraphicUses:114Used by:125
Symbol 119 BitmapUsed by:120 131
Symbol 120 GraphicUses:119Used by:125
Symbol 121 BitmapUsed by:122 123 124
Symbol 122 GraphicUses:121Used by:125
Symbol 123 GraphicUses:121Used by:125
Symbol 124 GraphicUses:121Used by:125
Symbol 125 MovieClipUses:108 111 113 115 76 116 117 118 120 74 122 123 124Used by:127
Symbol 126 SoundUsed by:127
Symbol 127 MovieClipUses:93 106 125 126Used by:Timeline
Symbol 128 GraphicUsed by:130
Symbol 129 EditableTextUses:40Used by:130
Symbol 130 MovieClipUses:128 129Used by:Timeline
Symbol 131 GraphicUses:119Used by:132
Symbol 132 MovieClipUses:131Used by:Timeline
Symbol 133 GraphicUsed by:135
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClipUses:133 134Used by:Timeline
Symbol 136 GraphicUsed by:139
Symbol 137 GraphicUsed by:139
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClipUses:136 137 138Used by:Timeline
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClipUses:140Used by:Timeline
Symbol 142 GraphicUsed by:143
Symbol 143 MovieClipUses:142Used by:Timeline
Symbol 144 GraphicUsed by:145
Symbol 145 MovieClipUses:144Used by:Timeline
Symbol 146 ShapeTweeningUsed by:151
Symbol 147 ShapeTweeningUsed by:151
Symbol 148 GraphicUsed by:151
Symbol 149 ShapeTweeningUsed by:151
Symbol 150 ShapeTweeningUsed by:151
Symbol 151 MovieClipUses:146 147 148 149 150Used by:Timeline
Symbol 152 ShapeTweeningUsed by:157
Symbol 153 ShapeTweeningUsed by:157
Symbol 154 ShapeTweeningUsed by:157
Symbol 155 ShapeTweeningUsed by:157
Symbol 156 GraphicUsed by:157
Symbol 157 MovieClipUses:152 153 154 155 156Used by:Timeline
Symbol 158 BitmapUsed by:159
Symbol 159 GraphicUses:158Used by:160
Symbol 160 MovieClipUses:159Used by:Timeline
Symbol 161 ShapeTweeningUsed by:169
Symbol 162 ShapeTweeningUsed by:169
Symbol 163 ShapeTweeningUsed by:169
Symbol 164 ShapeTweeningUsed by:169
Symbol 165 GraphicUsed by:169
Symbol 166 ShapeTweeningUsed by:169
Symbol 167 ShapeTweeningUsed by:169
Symbol 168 GraphicUsed by:169
Symbol 169 MovieClipUses:161 162 163 164 165 166 167 168Used by:Timeline
Symbol 170 GraphicUsed by:171
Symbol 171 MovieClipUses:170Used by:180
Symbol 172 GraphicUsed by:180
Symbol 173 TextUses:40Used by:180
Symbol 174 EditableTextUses:32Used by:180
Symbol 175 EditableTextUses:32Used by:180
Symbol 176 GraphicUsed by:179
Symbol 177 GraphicUsed by:179
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClipUses:176 177 178Used by:180
Symbol 180 MovieClipUses:171 172 173 174 175 179Used by:Timeline
Symbol 181 MovieClipUsed by:Timeline
Symbol 182 TextUses:30Used by:Timeline
Symbol 183 GraphicUsed by:186
Symbol 184 GraphicUsed by:186
Symbol 185 GraphicUsed by:186
Symbol 186 ButtonUses:183 184 185Used by:Timeline
Symbol 187 TextUses:30Used by:Timeline
Symbol 188 GraphicUsed by:191 206
Symbol 189 GraphicUsed by:191 206
Symbol 190 GraphicUsed by:191 206
Symbol 191 ButtonUses:188 189 190Used by:Timeline
Symbol 192 SoundUsed by:Timeline
Symbol 193 GraphicUses:51 48Used by:Timeline
Symbol 194 GraphicUses:48Used by:195
Symbol 195 MovieClipUses:194 59Used by:Timeline
Symbol 196 GraphicUsed by:197
Symbol 197 MovieClipUses:196Used by:Timeline
Symbol 198 GraphicUsed by:199
Symbol 199 MovieClipUses:198Used by:Timeline
Symbol 200 GraphicUsed by:203
Symbol 201 GraphicUsed by:203
Symbol 202 GraphicUsed by:203
Symbol 203 MovieClipUses:200 201 202Used by:Timeline
Symbol 204 TextUses:30Used by:Timeline
Symbol 205 TextUses:30Used by:Timeline
Symbol 206 ButtonUses:188 189 190Used by:Timeline

Instance Names

"space"Frame 93Symbol 60 MovieClip
"bars"Frame 93Symbol 61 MovieClip
"eneTest"Frame 93Symbol 91 MovieClip
"player"Frame 93Symbol 127 MovieClip
"grenade"Frame 93Symbol 130 MovieClip
"rocket"Frame 93Symbol 132 MovieClip
"water"Frame 93Symbol 135 MovieClip
"flame"Frame 93Symbol 139 MovieClip
"bubbles"Frame 93Symbol 141 MovieClip
"bullet"Frame 93Symbol 143 MovieClip
"sound"Frame 93Symbol 145 MovieClip
"explosion"Frame 93Symbol 151 MovieClip
"splash"Frame 93Symbol 157 MovieClip
"aim"Frame 93Symbol 160 MovieClip
"hud"Frame 93Symbol 180 MovieClip
"hole"Frame 96Symbol 59 MovieClip
"bars"Frame 96Symbol 61 MovieClip
"space"Frame 96Symbol 195 MovieClip
"eneTest"Frame 96Symbol 91 MovieClip
"player"Frame 96Symbol 127 MovieClip
"grenade"Frame 96Symbol 130 MovieClip
"rocket"Frame 96Symbol 132 MovieClip
"flame"Frame 96Symbol 139 MovieClip
"bubbles"Frame 96Symbol 141 MovieClip
"bullet"Frame 96Symbol 143 MovieClip
"ki"Frame 96Symbol 197 MovieClip
"kibig"Frame 96Symbol 199 MovieClip
"kidisk"Frame 96Symbol 203 MovieClip
"sound"Frame 96Symbol 145 MovieClip
"explosion"Frame 96Symbol 151 MovieClip
"splash"Frame 96Symbol 157 MovieClip
"aim"Frame 96Symbol 160 MovieClip
"hud"Frame 96Symbol 180 MovieClip
"hole"Symbol 60 MovieClip Frame 1Symbol 59 MovieClip
"head"Symbol 71 MovieClip Frame 1Symbol 70 MovieClip
"legB"Symbol 72 MovieClip Frame 1Symbol 65 MovieClip
"legF"Symbol 72 MovieClip Frame 1Symbol 67 MovieClip
"body"Symbol 72 MovieClip Frame 1Symbol 71 MovieClip
"flare"Symbol 78 MovieClip Frame 1Symbol 76 MovieClip
"ani"Symbol 91 MovieClip Frame 1Symbol 72 MovieClip
"weapon"Symbol 91 MovieClip Frame 1Symbol 78 MovieClip
"vision"Symbol 91 MovieClip Frame 1Symbol 86 MovieClip
"ani"Symbol 91 MovieClip Frame 2Symbol 72 MovieClip
"legB"Symbol 106 MovieClip Frame 1Symbol 97 MovieClip
"legF"Symbol 106 MovieClip Frame 1Symbol 100 MovieClip
"body"Symbol 106 MovieClip Frame 1Symbol 105 MovieClip
"armF"Symbol 125 MovieClip Frame 1Symbol 111 MovieClip
"flare"Symbol 125 MovieClip Frame 6Symbol 76 MovieClip
"ani"Symbol 127 MovieClip Frame 1Symbol 106 MovieClip
"weapon"Symbol 127 MovieClip Frame 1Symbol 125 MovieClip
"ani"Symbol 127 MovieClip Frame 2Symbol 106 MovieClip
"weapon"Symbol 127 MovieClip Frame 2Symbol 125 MovieClip
"hole"Symbol 195 MovieClip Frame 1Symbol 59 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "flame"
ExportAssets (56)Timeline Frame 1Symbol 2 as "explosionold"
ExportAssets (56)Timeline Frame 1Symbol 3 as "explosion"
ExportAssets (56)Timeline Frame 1Symbol 4 as "shot1"

Dynamic Text Variables

showSymbol 129 EditableText"<p align="center"><font face="Verdana" size="8" color="#ffffff" letterSpacing="0.000000" kerning="1">timer</font></p>"
_root.grenadeAmmoSymbol 174 EditableText"<p align="center"><font face="Tahoma" size="12" color="#000000" letterSpacing="0.000000" kerning="1">99</font></p>"
_root.scoreSymbol 175 EditableText"<p align="left"><font face="Tahoma" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>"




http://swfchan.com/3/12752/info.shtml
Created: 5/6 -2019 15:11:06 Last modified: 5/6 -2019 15:11:06 Server time: 15/05 -2024 09:06:43