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

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

Star-Gun-Heroes.swf

This is the info page for
Flash #126486

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


Text
I LOADING i

LOADING

00000

Sound On

Sound Off

Control

E

T

L

P

M

O

C

E

T

L

P

M

O

C

G

A

S

G

A

S

credit PlayOnLoop.com for music

0000

ActionScript [AS1/AS2]

Frame 1
var myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); copyrightNotice.separatorBefore = true; myMenu.customItems.push(mySiteLink, copyrightNotice); _root.menu = myMenu; function sitelock(urls_allowed) { lock = true; domain_parts = _url.split("://"); real_domain = domain_parts[1].split("/"); domain.text = real_domain[0]; for (x in urls_allowed) { if (urls_allowed[x] == real_domain[0]) { lock = false; } } if (lock) { _global.showTheAd = true; } } _global.showTheAd = false; urls_allowed = ["flashgamelicense.com", "agame.com", "kongregate.com"]; sitelock(urls_allowed); gamename = "stargunheroes"; lab.onRelease = function () { getURL (("http://www.longanimalsgames.com?referral=" + gamename) + "&refmode=mainlogo", "_blank"); }; bytes_loaded = Math.round(_root.getBytesLoaded()); bytes_total = Math.round(_root.getBytesTotal()); getPercent = bytes_loaded / bytes_total; _root.loadBar._width = getPercent * 100; _root.loadText = Math.round(getPercent * 100) + "%"; if (bytes_loaded == bytes_total) { if (_global.showTheAd) { _root.gotoAndPlay(3); } if (!_global.showTheAd) { _root.gotoAndPlay(4); } }
Frame 2
gotoAndPlay (1);
Frame 3
stop(); var CPMStarContentSpotID = "4519Q17336003"; System.security.allowDomain("server.cpmstar.com"); adBox.loadMovie("http://server.cpmstar.com/adviewas2.swf?contentspotid=" + CPMStarContentSpotID); adtimer = 0; playButtonClip.onEnterFrame = function () { adtimer++; if (adtimer > 300) { playButtonClip._y = 410; } };
Instance of Symbol 66 MovieClip "playButtonClip" in Frame 3
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { _root.nextFrame(); }
Frame 4
removeMovieClip(adBox); gamename = "stargunheroes"; lalogo.onPress = function () { getURL (("http://www.longanimalsgames.com?referral=" + gamename) + "&refmode=mainlogo", "_blank"); };
Frame 5
var myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); copyrightNotice.separatorBefore = true; myMenu.customItems.push(mySiteLink, copyrightNotice); _root.menu = myMenu;
Frame 6
stopAllSounds(); user = SharedObject.getLocal("star_gun_heroes_saved_data"); if (user.data.twoLocked_s == undefined) { numberOfCoins = 0; weapon = 0; twoLocked = true; threeLocked = true; fourLocked = true; stageOneComplete = false; stageTwoComplete = false; stageThreeComplete = false; stageFourComplete = false; stageFiveComplete = false; stageSixComplete = false; stageTwoOpen = false; stageThreeOpen = false; stageFourOpen = false; stageFiveOpen = false; stageSixOpen = false; } else { numberOfCoins = user.data.numberOfCoins_s; weapon = user.data.weapon_s; twoLocked = user.data.twoLocked_s; threeLocked = user.data.threeLocked_s; fourLocked = user.data.fourLocked_s; stageOneComplete = user.data.stageOneComplete_s; stageTwoComplete = user.data.stageTwoComplete_s; stageThreeComplete = user.data.stageThreeComplete_s; stageFourComplete = user.data.stageFourComplete_s; stageFiveComplete = user.data.stageFiveComplete_s; stageSixComplete = user.data.stageSixComplete_s; stageTwoOpen = user.data.stageTwoOpen_s; stageThreeOpen = user.data.stageThreeOpen_s; stageFourOpen = user.data.stageFourOpen_s; stageFiveOpen = user.data.stageFiveOpen_s; stageSixOpen = user.data.stageSixOpen_s; } play();
Frame 7
stopAllSounds(); play();
Instance of Symbol 556 MovieClip in Frame 8
on (release) { _root.nextFrame(); }
Frame 9
stop(); gamename = "stargunheroes"; lab.onRelease = function () { getURL (("http://www.longanimalsgames.com?referral=" + gamename) + "&refmode=mainlogo", "_blank"); }; _root.attachMovie("flash", "flash", _root.getNextHighestDepth()); blip_sound = new Sound(); blip_sound.attachSound("blu"); moveOn = false; moveOnTimer = 0; cam._xscale = 100; cam._yscale = 100; cam._x = that._x; cam._y = that._y; startButton.onEnterFrame = function () { if (moveOn) { moveOnTimer++; if (moveOnTimer == 15) { nextFrame(); } } }; startButton.onRelease = function () { blip_sound.start(); moveOn = true; _root.attachMovie("flash", "flash", _root.getNextHighestDepth()); };
Instance of Symbol 562 MovieClip in Frame 9
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { getURL ("http://www.longanimalsgames.com/?referral=stargunheroes&refmode=moregames", "_blank"); }
Instance of Symbol 565 MovieClip "startButton" in Frame 9
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); }
Frame 10
stopAllSounds(); play();
Frame 11
stop(); player.removeMovieClip(); setLevel = 0; blip_sound = new Sound(); blip_sound.attachSound("blu"); moveOn = false; moveOnTimer = 0; canSelect = true; cam._xscale = 100; cam._yscale = 100; cam._x = that._x; cam._y = that._y; lvl1.onRelease = function () { blip_sound.start(); moveOn = true; _root.attachMovie("flash", "flash", _root.getNextHighestDepth()); canSelect = false; setLevel = 1; }; lvl2.onRelease = function () { if (this._alpha == 100) { blip_sound.start(); moveOn = true; _root.attachMovie("flash", "flash", _root.getNextHighestDepth()); canSelect = false; setLevel = 2; } }; lvl3.onRelease = function () { if (this._alpha == 100) { blip_sound.start(); moveOn = true; _root.attachMovie("flash", "flash", _root.getNextHighestDepth()); canSelect = false; setLevel = 3; } }; lvl4.onRelease = function () { if (this._alpha == 100) { blip_sound.start(); moveOn = true; _root.attachMovie("flash", "flash", _root.getNextHighestDepth()); canSelect = false; setLevel = 4; } }; lvl5.onRelease = function () { if (this._alpha == 100) { blip_sound.start(); moveOn = true; _root.attachMovie("flash", "flash", _root.getNextHighestDepth()); canSelect = false; setLevel = 5; } }; lvl6.onRelease = function () { if (this._alpha == 100) { blip_sound.start(); moveOn = true; _root.attachMovie("flash", "flash", _root.getNextHighestDepth()); canSelect = false; setLevel = 6; } }; that.onEnterFrame = function () { if (moveOn) { moveOnTimer++; if (moveOnTimer == 15) { nextFrame(); } } if (stageOneComplete) { stageTwoOpen = true; } if (stageTwoComplete) { stageThreeOpen = true; } if (stageThreeComplete) { stageFourOpen = true; } if (stageFourComplete) { stageFiveOpen = true; } if (stageFiveComplete) { stageSixOpen = true; } if (!stageTwoOpen) { lvl2._alpha = 40; } else { lvl2._alpha = 100; } if (!stageThreeOpen) { lvl3._alpha = 40; } else { lvl3._alpha = 100; } if (!stageFourOpen) { lvl4._alpha = 40; } else { lvl4._alpha = 100; } if (!stageFiveOpen) { lvl5._alpha = 40; } else { lvl5._alpha = 100; } if (!stageSixOpen) { lvl6._alpha = 40; } else { lvl6._alpha = 100; } };
Instance of Symbol 579 MovieClip "lvl1" in Frame 11
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); }
Instance of Symbol 582 MovieClip "lvl2" in Frame 11
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); }
Instance of Symbol 584 MovieClip "lvl3" in Frame 11
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); }
Instance of Symbol 587 MovieClip "lvl4" in Frame 11
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); }
Instance of Symbol 590 MovieClip "lvl5" in Frame 11
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); }
Instance of Symbol 592 MovieClip "lvl6" in Frame 11
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); }
Frame 12
stop(); hiddenForMe = 0; blip_sound = new Sound(); blip_sound.attachSound("blu"); moveOn = false; moveOnTimer = 0; canSelect = true; if (twoLocked) { two._alpha = 50; } if (threeLocked) { three._alpha = 50; } if (fourLocked) { four._alpha = 50; } twoB.onRelease = function () { if (numberOfCoins > 99) { numberOfCoins = numberOfCoins - 100; twoLocked = false; } }; threeB.onRelease = function () { if (numberOfCoins > 199) { numberOfCoins = numberOfCoins - 200; threeLocked = false; } }; fourB.onRelease = function () { if (numberOfCoins > 299) { numberOfCoins = numberOfCoins - 300; fourLocked = false; } }; one.onEnterFrame = function () { if ((hiddenForMe > 30) && (canSelect)) { playerSelect = 5; blip_sound.start(); moveOn = true; _root.attachMovie("flash", "flash", _root.getNextHighestDepth()); canSelect = false; } if (Key.isDown(13)) { hiddenForMe++; } if (Key.isDown(32)) { if (canSelect && (stageSixComplete)) { playerSelect = 5; blip_sound.start(); moveOn = true; _root.attachMovie("flash", "flash", _root.getNextHighestDepth()); canSelect = false; } } if (!twoLocked) { twoB.gotoAndStop(2); two._alpha = 100; } if (!threeLocked) { threeB.gotoAndStop(2); three._alpha = 100; } if (!fourLocked) { fourB.gotoAndStop(2); four._alpha = 100; } if (moveOn) { moveOnTimer++; if (moveOnTimer == 15) { stopAllSounds(); if (setLevel == 1) { gotoAndStop ("levelOne"); } if (setLevel == 2) { gotoAndStop ("levelTwo"); } if (setLevel == 3) { gotoAndStop ("levelThree"); } if (setLevel == 4) { gotoAndStop ("levelFour"); } if (setLevel == 5) { gotoAndStop ("levelFive"); } if (setLevel == 6) { gotoAndStop ("levelSix"); } } } }; one.onRelease = function () { if (canSelect) { playerSelect = 1; blip_sound.start(); moveOn = true; _root.attachMovie("flash", "flash", _root.getNextHighestDepth()); canSelect = false; } }; two.onRelease = function () { if (this._alpha == 100) { if (canSelect) { playerSelect = 2; blip_sound.start(); moveOn = true; _root.attachMovie("flash", "flash", _root.getNextHighestDepth()); canSelect = false; } } }; three.onRelease = function () { if (this._alpha == 100) { if (canSelect) { playerSelect = 3; blip_sound.start(); moveOn = true; _root.attachMovie("flash", "flash", _root.getNextHighestDepth()); canSelect = false; } } }; four.onRelease = function () { if (this._alpha == 100) { if (canSelect) { playerSelect = 4; blip_sound.start(); moveOn = true; _root.attachMovie("flash", "flash", _root.getNextHighestDepth()); canSelect = false; } } };
Instance of Symbol 602 MovieClip "two" in Frame 12
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); }
Instance of Symbol 603 MovieClip "four" in Frame 12
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); }
Instance of Symbol 604 MovieClip "one" in Frame 12
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); }
Instance of Symbol 606 MovieClip "three" in Frame 12
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); }
Frame 13
player.removeMovieClip(); stopAllSounds(); cam._xscale = 100; cam._yscale = 100; cam._x = that._x; cam._y = that._y; stop();
Instance of Symbol 562 MovieClip in Frame 13
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { getURL ("http://www.longanimalsgames.com/?referral=stargunheroes&refmode=moregames", "_blank"); }
Instance of Symbol 619 MovieClip in Frame 13
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { _root.nextFrame(); }
Instance of Symbol 622 MovieClip in Frame 13
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { _root.gotoAndStop("title"); }
Frame 14
function clearAll() { Mouse.show(); stopAllSounds(); hud.removeMovieClip(); place.removeMovieClip(); bossWarning.removeMovieClip(); crosshair.removeMovieClip(); arm_mc.removeMovieClip(); i = diamonds.length - 1; while (i >= 0) { diamonds[i].removeMovieClip(); diamonds.splice(i, 1); i--; } i = coin.length - 1; while (i >= 0) { coin[i].removeMovieClip(); coin.splice(i, 1); i--; } i = boxes.length - 1; while (i >= 0) { boxes[i].removeMovieClip(); boxes.splice(i, 1); i--; } i = enemy.length - 1; while (i >= 0) { enemy[i].removeMovieClip(); enemy.splice(i, 1); i--; } i = enemyType.length - 1; while (i >= 0) { enemyType.splice(i, 1); i--; } i = enemyHealth.length - 1; while (i >= 0) { enemyHealth.splice(i, 1); i--; } i = selfDestruct.length - 1; while (i >= 0) { selfDestruct.splice(i, 1); i--; } i = enemyHit.length - 1; while (i >= 0) { enemyHit.splice(i, 1); i--; } i = enemyHitTimer.length - 1; while (i >= 0) { enemyHitTimer.splice(i, 1); i--; } i = enemyShotClock.length - 1; while (i >= 0) { enemyShotClock.splice(i, 1); i--; } i = bullets.length - 1; while (i >= 0) { bullets[i].removeMovieClip(); bullets.splice(i, 1); i--; } i = enemyShot.length - 1; while (i >= 0) { enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); i--; } i = bomb.length - 1; while (i >= 0) { bomb[i].removeMovieClip(); bomb.splice(i, 1); i--; } } stop(); shotsnd = new Sound(); shotsnd.attachSound("reflect"); _root.attachMovie("hud", "hud", _root.getNextHighestDepth()); if (playerSelect == 5) { hitBoost = 3; maxaccel = 5; maxjump = 3; playerStrength = 10; hud.faces.gotoAndStop(5); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(5); _root.attachMovie("hiddenGuy", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 1) { hitBoost = 0; maxaccel = 3; maxjump = 3; playerStrength = 10; _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(1); _root.attachMovie("player", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 2) { hitBoost = 0; maxaccel = 5; maxjump = 5; playerStrength = 8; hud.faces.gotoAndStop(2); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(2); _root.attachMovie("playerTwo", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 3) { hitBoost = 1.5; maxaccel = 3.5; maxjump = 3; playerStrength = 5; hud.faces.gotoAndStop(3); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(3); _root.attachMovie("playerThree", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 4) { hitBoost = 2; maxaccel = 5; maxjump = 3; playerStrength = 10; hud.faces.gotoAndStop(4); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(4); _root.attachMovie("playerFour", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } _root.attachMovie("crosshair", "crosshair", _root.getNextHighestDepth()); _root.attachMovie("place", "place", _root.getNextHighestDepth()); atBoss = false; bossDead = false; moveOnTimer = 0; arm_mc.spark._alpha = 0; place._alpha = 0; crosshair._xscale = 50; crosshair._yscale = 50; Mouse.hide(); cam._xscale = 100; cam._yscale = 100; showWarning = true; transTimer = 0; randomNumber = 0; running = false; gravity = 0; gravityaccel = 0.2; xaccel = 0; runaccelamt = 0.3; friction = 0.5; airrisist = 0.05; doubleJump = false; doubleJumping = false; jump = true; pressOnce = 0; playerDamaged = 0; playerDamagedTimer = 0; cam.lens._xscale = 50; cam.lens._yscale = 50; damaged = false; inControl = true; fireRate = 300; shotPower = 1; shootingTimer = 0; shooting = false; addEnemyTimer = 0; choice = 0; playerHealth = 100; var diamonds = new Array(); diamonds.push(d1, d2, d3); var coin = new Array(); var boxes = new Array(); boxes.push(box1, box2, box3, box4, box5, box6, box7, box8, box9, box10, box11); var enemy = new Array(); enemy.push(enemy1, enemy2, enemy3, enemy4, enemy5, enemy6, enemy7, flame1, flame2, flame3, flame4, flame5, flame6, boss); var enemyType = new Array(); enemyType.push("static_left", "static_left", "static_left", "static_left", "static_left", "static_left", "static_left", "flame_gun", "flame_gun", "flame_gun", "flame_gun", "flame_gun", "flame_gun", "boss_mc"); var enemyHealth = new Array(); enemyHealth.push(10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 100); var selfDestruct = new Array(); selfDestruct.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var enemyHit = new Array(); enemyHit.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var enemyHitTimer = new Array(); enemyHitTimer.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var enemyShotClock = new Array(); enemyShotClock.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var bullets = new Array(); var enemyShot = new Array(); var bomb = new Array(); onMouseDown = function () { if ((!damaged) && (inControl)) { shooting = true; } }; onMouseUp = function () { shooting = false; }; player.onEnterFrame = function () { if (playerDamaged == 0) { myColor = new Color(player); myColorTransform = new Object(); myColorTransform = {rb:0, gb:0, bb:0}; myColor.setTransform(myColorTransform); } if (playerDamaged == 1) { myColor = new Color(player); myColorTransform = new Object(); myColorTransform = {rb:200, gb:200, bb:200}; myColor.setTransform(myColorTransform); playerDamagedTimer++; if (playerDamagedTimer == 1) { weapon--; playerDamaged = 0; playerDamagedTimer = 0; } } if (player._x < 3000) { if ((addEnemyTimer + 6000) < getTimer()) { addEnemyTimer = getTimer(); choice = Math.round(Math.random() * 1) + 0; if (choice == 0) { randomNumber++; metalBee_mc = _root.attachMovie("metalBee", "metalBee" + randomNumber, _root.getNextHighestDepth(), {_x:cam._x - 800, _y:player._y - 60}); metalBee_mc._xscale = -100; enemy.push(metalBee_mc); enemyType.push("metal_bee"); enemyHealth.push(1); selfDestruct.push(500); enemyHitTimer.push(0); enemyHit.push(0); enemyShotClock.push(0); } if (choice == 1) { randomNumber++; metalBee_mc = _root.attachMovie("metalBee", "metalBee" + randomNumber, _root.getNextHighestDepth(), {_x:cam._x + 800, _y:player._y - 60}); enemy.push(metalBee_mc); enemyType.push("metal_bee"); enemyHealth.push(1); selfDestruct.push(500); enemyHitTimer.push(0); enemyHit.push(0); enemyShotClock.push(0); } } } if (!shooting) { arm_mc.spark._alpha = 0; } myRadians = Math.atan2(_root._ymouse - place._y, _root._xmouse - place._x); myDegrees = Math.round((myRadians * 180) / Math.PI); place._rotation = myDegrees; if (shooting) { if (weapon == 0) { fireRate = 300; shotPower = 1; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 1) { fireRate = 500; shotPower = 1; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation - 6; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation + 6; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 2) { shotPower = 1.5; fireRate = 200; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("laser", "laser" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 3) { shotPower = 2; fireRate = 200; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("laser", "laser" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 200; bullet_mc._xscale = 600; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 4) { shotPower = 2.5; fireRate = 200; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 5) { shotPower = 2.5; fireRate = 100; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 50; bullet_mc._xscale = 50; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 50; bullet_mc._xscale = 50; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation + 15; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 50; bullet_mc._xscale = 50; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation - 15; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } } i = enemy.length - 1; while (i >= 0) { if (enemyType[i] == "boss_mc") { if (enemy[i].hitBox.hitTest(player.hit)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - 0.1; playerDamaged = 1; } if (atBoss) { enemyShotClock[i]++; if (enemyShotClock[i] < 60) { enemy[i].gotoAndStop("warning"); } if (enemyShotClock[i] > 60) { selfDestruct[i]++; if (selfDestruct[i] == 15) { selfDestruct[i] = 0; randomNumber++; bombs_mc = _root.attachMovie("bombs", "bombs" + randomNumber, _root.getNextHighestDepth(), {_x:((cam._x + 320) - Math.round(Math.random() * 640)) + 0, _y:0}); bomb.push(bombs_mc); } enemy[i].gotoAndStop("shooting"); } if (enemyShotClock[i] > 150) { randomNumber++; bombs_mc = _root.attachMovie("bombs", "bombs" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:0}); bomb.push(bombs_mc); enemyShotClock[i] = 0; selfDestruct[i] = 0; } } } if (enemyType[i] == "flame_gun") { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (player.hitTest(enemy[i].area)) { enemyShotClock[i]++; if (enemyShotClock[i] == 3) { enemyShotClock[i] = 0; randomNumber++; enemyBullet_mc = _root.attachMovie("flameBullet", "flameBullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x - 10, _y:enemy[i]._y - 30}); enemyShot.push(enemyBullet_mc); enemyBullet_mc.onEnterFrame = function () { this._xscale = this._xscale + 5; this._yscale = this._yscale + 5; this._y = this._y - 5; }; } } } if (enemyType[i] == "static_left") { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (player.hitTest(enemy[i].area)) { enemyShotClock[i]++; if (enemyShotClock[i] == 30) { enemyShotClock[i] = 0; randomNumber++; enemyBullet_mc = _root.attachMovie("enemyBullet", "enemyBullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x - 15, _y:enemy[i]._y - 3}); enemyShot.push(enemyBullet_mc); enemyBullet_mc.onEnterFrame = function () { this._x = this._x - 5; }; } } } if ((enemyType[i] == "metal_bee") && (enemy[i]._xscale == -100)) { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (enemy[i].marker.hitTest(player)) { enemy[i].marker.gotoAndStop(2); randomNumber++; bombs_mc = _root.attachMovie("bombs", "bombs" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); bomb.push(bombs_mc); } selfDestruct[i]--; enemy[i]._x = enemy[i]._x + 3; if (selfDestruct[i] < 1) { enemyHealth[i] = 0; } if (player._x > 3000) { enemyHealth[i] = 0; } } if ((enemyType[i] == "metal_bee") && (enemy[i]._xscale == 100)) { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (enemy[i].marker.hitTest(player)) { enemy[i].marker.gotoAndStop(2); randomNumber++; bombs_mc = _root.attachMovie("bombs", "bombs" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); bomb.push(bombs_mc); } selfDestruct[i]--; enemy[i]._x = enemy[i]._x - 3; if (selfDestruct[i] < 1) { enemyHealth[i] = 0; } if (player._x > 3000) { enemyHealth[i] = 0; } } if (enemyHit[i] == 0) { myColor = new Color(enemy[i]); myColorTransform = new Object(); myColorTransform = {rb:0, gb:0, bb:0}; myColor.setTransform(myColorTransform); } if (enemyHit[i] == 1) { myColor = new Color(enemy[i]); myColorTransform = new Object(); myColorTransform = {rb:200, gb:200, bb:200}; myColor.setTransform(myColorTransform); enemyHitTimer[i]++; if (enemyHitTimer[i] == 3) { enemyHitTimer[i] = 0; enemyHit[i] = 0; } } if (enemyHealth[i] < 1) { if (enemyType[i] == "boss_mc") { bossDead = true; atBoss = false; enemy[i].gotoAndStop(3); _root.attachMovie("deadBoss", "deadBoss", _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); } if ((enemyType[i] == "static_left") or (enemyType[i] == "flame_gun")) { enemy[i].gotoAndStop(2); } randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); enemy[i].removeMovieClip(); enemy.splice(i, 1); enemyType.splice(i, 1); enemyHealth.splice(i, 1); selfDestruct.splice(i, 1); enemyHitTimer.splice(i, 1); enemyHit.splice(i, 1); enemyShotClock.splice(i, 1); } i--; } i = bomb.length - 1; while (i >= 0) { if (bomb[i].hitTest(player.hit)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:bomb[i]._x, _y:bomb[i]._y}); bomb[i].removeMovieClip(); bomb.splice(i, 1); } bomb[i]._y = bomb[i]._y + 6; if (ground.hitTest(bomb[i]._x, bomb[i]._y, true)) { randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:bomb[i]._x, _y:bomb[i]._y}); bomb[i].removeMovieClip(); bomb.splice(i, 1); } i--; } i = enemyShot.length - 1; while (i >= 0) { if (enemyShot[i]._xscale > 200) { enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); } if (enemyShot[i].hitTest(player.hit)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:enemyShot[i]._x, _y:enemyShot[i]._y}); enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); } if (ground.hitTest(enemyShot[i]._x, enemyShot[i]._y, true)) { randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:enemyShot[i]._x, _y:enemyShot[i]._y}); enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); } i--; } i = coin.length - 1; while (i >= 0) { if (coin[i].hitTest(player)) { numberOfCoins = numberOfCoins + 10; randomNumber++; _root.attachMovie("ping", "ping" + randomNumber, _root.getNextHighestDepth(), {_x:coin[i]._x, _y:coin[i]._y}); coin[i].removeMovieClip(); coin.splice(i, 1); } i--; } i = diamonds.length - 1; while (i >= 0) { if (diamonds[i].hitTest(player)) { diamonds[i].gotoAndStop(2); weapon++; randomNumber++; _root.attachMovie("ping", "ping" + randomNumber, _root.getNextHighestDepth(), {_x:diamonds[i]._x, _y:diamonds[i]._y}); diamonds[i].removeMovieClip(); diamonds.splice(i, 1); } i--; } i = bullets.length - 1; while (i >= 0) { if (playerSelect == 1) { bullets[i].gotoAndStop(1); } if (playerSelect == 2) { bullets[i].gotoAndStop(2); } if (playerSelect == 3) { bullets[i].gotoAndStop(3); } if (playerSelect == 4) { bullets[i].gotoAndStop(4); } l = boxes.length - 1; while (l >= 0) { if (bullets[i].hitTest(boxes[l])) { boxes[l].gotoAndStop(2); randomNumber++; coins_mc = _root.attachMovie("coins", "coins" + randomNumber, _root.getNextHighestDepth(), {_x:boxes[l]._x, _y:boxes[l]._y}); coin.push(coins_mc); randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:boxes[l]._x, _y:boxes[l]._y}); boxes[l].removeMovieClip(); boxes.splice(l, 1); randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } l--; } k = bomb.length - 1; while (k >= 0) { if (bullets[i].hitTest(bomb[k])) { randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:bomb[k]._x, _y:bomb[k]._y}); bomb[k].removeMovieClip(); bomb.splice(k, 1); randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } k--; } j = enemy.length - 1; while (j >= 0) { if (bullets[i].hitTest(enemy[j].hitBox)) { enemyHit[j] = 1; enemyHealth[j] = enemyHealth[j] - (shotPower + hitBoost); if (enemyType[j] == "boss_mc") { if (player._x < 3000) { enemyHealth[j] = enemyHealth[j] + (shotPower + hitBoost); } } randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } j--; } if (ground.hitTest(bullets[i]._x, bullets[i]._y, true)) { randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } i--; } if ((ground.hitTest(player._x, player._y + 11, true) && (jump)) && (!doubleJumping)) { arm_mc._alpha = 100; if (running) { player.gotoAndStop("run"); } else { player.gotoAndStop("idle"); } } else { player.gotoAndStop("jump"); arm_mc._alpha = 0; } if (Key.isDown(68) or Key.isDown(65)) { running = true; } else { running = false; } if (!ground.hitTest(player._x, player._y + 10, true)) { falling = true; grounded = false; } if (ground.hitTest(player._x, player._y + 11, true)) { doubleJumping = false; doubleJump = false; jump = true; grounded = true; falling = false; while (ground.hitTest(player._x, player._y + 9, true)) { player._y--; } } if (falling == true) { gravity = gravity + gravityaccel; } else { gravity = 0; } if (((inControl && (Key.isDown(68))) && (xaccel < maxaccel)) && (falling == true)) { xaccel = xaccel + (runaccelamt - airrisist); } else if (((inControl && (Key.isDown(65))) && (xaccel > (-maxaccel))) && (falling == true)) { xaccel = xaccel - (runaccelamt - airrisist); } else if (((inControl && (Key.isDown(65))) && (xaccel > (-maxaccel))) && (falling == false)) { xaccel = xaccel - runaccelamt; } else if (((inControl && (Key.isDown(68))) && (xaccel < maxaccel)) && (falling == false)) { xaccel = xaccel + runaccelamt; } else if (grounded == true) { if (xaccel > 0) { xaccel = xaccel - friction; } if (xaccel < 0) { xaccel = xaccel + friction; } if ((xaccel < 0) && (xaccel > friction)) { xaccel = 0; } if ((xaccel > 0) && (xaccel < friction)) { xaccel = 0; } } else { if (xaccel > 0) { xaccel = xaccel - airrisist; } if (xaccel < 0) { xaccel = xaccel + airrisist; } if ((xaccel < 0) && (xaccel > airrisist)) { xaccel = 0; } if ((xaccel > 0) && (xaccel < airrisist)) { xaccel = 0; } } if (_root.ground.hitTest(this._x, this._y - 11, true)) { gravity = 1; while (_root.ground.hitTest(this._x, this._y - 10, true)) { this._y++; } } if (_xmouse > player._x) { player._xscale = 100; } if (_xmouse < player._x) { player._xscale = -100; } if (!Key.isDown(87)) { pressOnce = 0; } if ((inControl && (Key.isDown(87))) && (jump == true)) { gravity = gravity - (Math.cos(3.141593 * ((player._rotation * -1) / 180)) * maxjump); if (playerSelect == 2) { _root.attachMovie("dust", "dust", _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } jump = false; doubleJump = true; pressOnce = 1; } if (((inControl && (Key.isDown(87))) && (doubleJump == true)) && (pressOnce == 0)) { gravity = 0; gravity = gravity - (Math.cos(3.141593 * ((player._rotation * -1) / 180)) * maxjump); doubleJump = false; doubleJumping = true; } leftx = player._x + (Math.cos(3.141593 * (((player._rotation * -1) + 180) / 180)) * 7); lefty = player._y - (Math.sin(3.141593 * (((player._rotation * -1) + 180) / 180)) * 7); rightx = player._x + (Math.cos(3.141593 * ((player._rotation * -1) / 180)) * 7); righty = player._y - (Math.sin(3.141593 * ((player._rotation * -1) / 180)) * 7); if (ground.hitTest(leftx, lefty, true)) { xaccel = 0; player._x++; } if (ground.hitTest(rightx, righty, true)) { xaccel = 0; player._x--; } if (cam._y > 310) { cam._y = 310; } if (cam._x > 3932) { cam._x = 3932; } if (cam._x < 320) { cam._x = 320; } crosshair._x = _xmouse; crosshair._y = _ymouse; bg._x = cam._x; bg._y = cam._y; place._x = player._x; place._y = player._y; endX = player._x; cam._x = cam._x + ((endX - cam._x) / 20); endY = player._y; cam._y = cam._y + ((endY - cam._y) / 20); cam.camControl(); hud._x = cam._x; hud._y = cam._y; hud._xscale = cam.lens._xscale; hud._yscale = cam.lens._yscale; bossWarning._x = cam._x; bossWarning._y = cam._y; bossWarning._xscale = cam.lens._xscale; bossWarning._yscale = cam.lens._yscale; player._y = player._y + gravity; player._x = player._x + xaccel; hud.healthBar._xscale = playerHealth; if (playerHealth > 100) { playerHealth = 100; } if (playerHealth < 1) { shooting = false; playerHealth = 0; inControl = false; player._alpha = 0; arm_mc._alpha = 0; if (transTimer == 0) { _root.attachMovie("bubbs", "bubbs", _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); _root.attachMovie("trans", "trans", _root.getNextHighestDepth(), {_x:cam._x, _y:cam._y}); } transTimer++; if (transTimer > 79) { clearAll(); prevFrame(); } } if (bossDead) { moveOnTimer++; if (moveOnTimer == 89) { _root.attachMovie("stageComplete", "stageComplete", _root.getNextHighestDepth(), {_x:cam._x, _y:cam._y}); } if (moveOnTimer == 110) { _root.attachMovie("trans", "trans", _root.getNextHighestDepth(), {_x:cam._x, _y:cam._y}); } if (moveOnTimer == 189) { clearAll(); stageOneComplete = true; user.data.numberOfCoins_s = numberOfCoins; user.data.weapon_s = weapon; user.data.twoLocked_s = twoLocked; user.data.threeLocked_s = threeLocked; user.data.fourLocked_s = fourLocked; user.data.stageOneComplete_s = stageOneComplete; user.data.stageTwoComplete_s = stageTwoComplete; user.data.stageThreeComplete_s = stageThreeComplete; user.data.stageFourComplete_s = stageFourComplete; user.data.stageFiveComplete_s = stageFiveComplete; user.data.stageSixComplete_s = stageSixComplete; user.data.stageTwoOpen_s = stageTwoOpen; user.data.stageThreeOpen_s = stageThreeOpen; user.data.stageFourOpen_s = stageFourOpen; user.data.stageFiveOpen_s = stageFiveOpen; user.data.stageSixOpen_s = stageSixOpen; user.flush(); gotoAndStop ("stageSelect"); } } if (weapon < 0) { weapon = 0; } if (weapon > 5) { weapon = 5; } if (player._y > 500) { playerHealth = 0; } if (player._x > 3000) { atBoss = true; if (showWarning) { _root.attachMovie("bossWarning", "bossWarning", _root.getNextHighestDepth()); showWarning = false; } } if (player._xscale == 100) { myRadiansA = Math.atan2(_root._ymouse - arm_mc._y, _root._xmouse - arm_mc._x); myDegreesA = Math.round((myRadiansA * 180) / Math.PI); arm_mc._rotation = myDegreesA; arm_mc._xscale = 100; } if (player._xscale == -100) { myRadiansA = Math.atan2(_root._ymouse - arm_mc._y, _root._xmouse - arm_mc._x); myDegreesA = Math.round((myRadiansA * 180) / Math.PI) - 180; arm_mc._rotation = myDegreesA; arm_mc._xscale = -100; } stageComplete._x = cam._x; stageComplete._y = cam._y; stageComplete._xscale = cam.lens._xscale; stageComplete._yscale = cam.lens._yscale; arm_mc._x = player._x; arm_mc._y = player._y - 3; hud.cnn.text = numberOfCoins; trans.swapDepths(_root.getNextHighestDepth()); };
Frame 15
player.removeMovieClip(); stopAllSounds(); cam._xscale = 100; cam._yscale = 100; cam._x = that._x; cam._y = that._y; stop();
Instance of Symbol 562 MovieClip in Frame 15
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { getURL ("http://www.longanimalsgames.com/?referral=stargunheroes&refmode=moregames", "_blank"); }
Instance of Symbol 619 MovieClip in Frame 15
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { _root.nextFrame(); }
Instance of Symbol 622 MovieClip in Frame 15
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { _root.gotoAndStop("title"); }
Frame 16
function clearAll() { Mouse.show(); stopAllSounds(); hud.removeMovieClip(); place.removeMovieClip(); bossWarning.removeMovieClip(); crosshair.removeMovieClip(); arm_mc.removeMovieClip(); i = diamonds.length - 1; while (i >= 0) { diamonds[i].removeMovieClip(); diamonds.splice(i, 1); i--; } i = coin.length - 1; while (i >= 0) { coin[i].removeMovieClip(); coin.splice(i, 1); i--; } i = boxes.length - 1; while (i >= 0) { boxes[i].removeMovieClip(); boxes.splice(i, 1); i--; } i = enemy.length - 1; while (i >= 0) { enemy[i].removeMovieClip(); enemy.splice(i, 1); i--; } i = enemyType.length - 1; while (i >= 0) { enemyType.splice(i, 1); i--; } i = enemyHealth.length - 1; while (i >= 0) { enemyHealth.splice(i, 1); i--; } i = selfDestruct.length - 1; while (i >= 0) { selfDestruct.splice(i, 1); i--; } i = enemyHit.length - 1; while (i >= 0) { enemyHit.splice(i, 1); i--; } i = enemyHitTimer.length - 1; while (i >= 0) { enemyHitTimer.splice(i, 1); i--; } i = enemyShotClock.length - 1; while (i >= 0) { enemyShotClock.splice(i, 1); i--; } i = bullets.length - 1; while (i >= 0) { bullets[i].removeMovieClip(); bullets.splice(i, 1); i--; } i = enemyShot.length - 1; while (i >= 0) { enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); i--; } i = bomb.length - 1; while (i >= 0) { bomb[i].removeMovieClip(); bomb.splice(i, 1); i--; } } stop(); shotsnd = new Sound(); shotsnd.attachSound("reflect"); _root.attachMovie("hud", "hud", _root.getNextHighestDepth()); if (playerSelect == 5) { hitBoost = 3; maxaccel = 5; maxjump = 3; playerStrength = 10; hud.faces.gotoAndStop(5); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(5); _root.attachMovie("hiddenGuy", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 1) { hitBoost = 0; maxaccel = 3; maxjump = 3; playerStrength = 10; _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(1); _root.attachMovie("player", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 2) { hitBoost = 0; maxaccel = 5; maxjump = 5; playerStrength = 8; hud.faces.gotoAndStop(2); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(2); _root.attachMovie("playerTwo", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 3) { hitBoost = 1.5; maxaccel = 3.5; maxjump = 3; playerStrength = 5; hud.faces.gotoAndStop(3); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(3); _root.attachMovie("playerThree", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 4) { hitBoost = 2; maxaccel = 5; maxjump = 3; playerStrength = 10; hud.faces.gotoAndStop(4); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(4); _root.attachMovie("playerFour", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } _root.attachMovie("crosshair", "crosshair", _root.getNextHighestDepth()); _root.attachMovie("place", "place", _root.getNextHighestDepth()); atBoss = false; bossDead = false; moveOnTimer = 0; arm_mc.spark._alpha = 0; place._alpha = 0; crosshair._xscale = 50; crosshair._yscale = 50; Mouse.hide(); cam._xscale = 100; cam._yscale = 100; showWarning = true; transTimer = 0; randomNumber = 0; running = false; gravity = 0; gravityaccel = 0.2; xaccel = 0; runaccelamt = 0.3; friction = 0.5; airrisist = 0.05; doubleJump = false; doubleJumping = false; jump = true; pressOnce = 0; playerDamaged = 0; playerDamagedTimer = 0; cam.lens._xscale = 50; cam.lens._yscale = 50; damaged = false; inControl = true; fireRate = 300; shotPower = 1; shootingTimer = 0; shooting = false; addEnemyTimer = 0; choice = 0; playerHealth = 100; var diamonds = new Array(); diamonds.push(d1, d2, d3); var coin = new Array(); var boxes = new Array(); boxes.push(box1, box2, box3, box4, box5, box6, box7, box8, box9, box10, box11); var enemy = new Array(); enemy.push(enemy1, enemy2, enemy3, enemy4, enemy5, enemy6, enemy7, flame1, flame2, flame3, flame4, flame5, flame6, boss); var enemyType = new Array(); enemyType.push("static_left", "static_left", "static_left", "static_left", "static_left", "static_left", "static_left", "flame_gun", "flame_gun", "flame_gun", "flame_gun", "flame_gun", "flame_gun", "boss_mc"); var enemyHealth = new Array(); enemyHealth.push(10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 100); var selfDestruct = new Array(); selfDestruct.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var enemyHit = new Array(); enemyHit.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var enemyHitTimer = new Array(); enemyHitTimer.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var enemyShotClock = new Array(); enemyShotClock.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var bullets = new Array(); var enemyShot = new Array(); var bomb = new Array(); onMouseDown = function () { if ((!damaged) && (inControl)) { shooting = true; } }; onMouseUp = function () { shooting = false; }; player.onEnterFrame = function () { if (playerDamaged == 0) { myColor = new Color(player); myColorTransform = new Object(); myColorTransform = {rb:0, gb:0, bb:0}; myColor.setTransform(myColorTransform); } if (playerDamaged == 1) { myColor = new Color(player); myColorTransform = new Object(); myColorTransform = {rb:200, gb:200, bb:200}; myColor.setTransform(myColorTransform); playerDamagedTimer++; if (playerDamagedTimer == 1) { weapon--; playerDamaged = 0; playerDamagedTimer = 0; } } if (player._x < 3000) { if ((addEnemyTimer + 6000) < getTimer()) { addEnemyTimer = getTimer(); choice = Math.round(Math.random() * 1) + 0; if (choice == 0) { randomNumber++; metalBee_mc = _root.attachMovie("metalBee", "metalBee" + randomNumber, _root.getNextHighestDepth(), {_x:cam._x - 800, _y:player._y - 60}); metalBee_mc._xscale = -100; enemy.push(metalBee_mc); enemyType.push("metal_bee"); enemyHealth.push(1); selfDestruct.push(500); enemyHitTimer.push(0); enemyHit.push(0); enemyShotClock.push(0); } if (choice == 1) { randomNumber++; metalBee_mc = _root.attachMovie("metalBee", "metalBee" + randomNumber, _root.getNextHighestDepth(), {_x:cam._x + 800, _y:player._y - 60}); enemy.push(metalBee_mc); enemyType.push("metal_bee"); enemyHealth.push(1); selfDestruct.push(500); enemyHitTimer.push(0); enemyHit.push(0); enemyShotClock.push(0); } } } if (!shooting) { arm_mc.spark._alpha = 0; } myRadians = Math.atan2(_root._ymouse - place._y, _root._xmouse - place._x); myDegrees = Math.round((myRadians * 180) / Math.PI); place._rotation = myDegrees; if (shooting) { if (weapon == 0) { fireRate = 300; shotPower = 1; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 1) { fireRate = 500; shotPower = 1; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation - 6; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation + 6; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 2) { shotPower = 1.5; fireRate = 200; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("laser", "laser" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 3) { shotPower = 2; fireRate = 200; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("laser", "laser" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 200; bullet_mc._xscale = 600; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 4) { shotPower = 2.5; fireRate = 200; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 5) { shotPower = 2.5; fireRate = 100; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 50; bullet_mc._xscale = 50; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 50; bullet_mc._xscale = 50; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation + 15; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 50; bullet_mc._xscale = 50; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation - 15; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } } if (player.hitTest(beamer_mc.beam)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - 1; playerDamaged = 1; } i = enemy.length - 1; while (i >= 0) { if (enemyType[i] == "boss_mc") { if (enemy[i].hitBox.hitTest(player.hit)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - 0.1; playerDamaged = 1; } if (atBoss) { enemyShotClock[i]++; if (enemyShotClock[i] < 60) { enemy[i].gotoAndStop("warning"); } if (enemyShotClock[i] > 60) { selfDestruct[i]++; if (selfDestruct[i] == 40) { selfDestruct[i] = 0; randomNumber++; beamer_mc = _root.attachMovie("bossAttack", "bossAttack" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } enemy[i].gotoAndStop("shooting"); } if (enemyShotClock[i] > 150) { randomNumber++; bombs_mc = _root.attachMovie("bombs", "bombs" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:0}); bomb.push(bombs_mc); enemyShotClock[i] = 0; selfDestruct[i] = 0; } } } if (enemyType[i] == "flame_gun") { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (player.hitTest(enemy[i].area)) { enemyShotClock[i]++; if (enemyShotClock[i] == 3) { enemyShotClock[i] = 0; randomNumber++; enemyBullet_mc = _root.attachMovie("flameBullet", "flameBullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x - 10, _y:enemy[i]._y - 30}); enemyShot.push(enemyBullet_mc); enemyBullet_mc.onEnterFrame = function () { this._xscale = this._xscale + 5; this._yscale = this._yscale + 5; this._y = this._y - 5; }; } } } if (enemyType[i] == "static_left") { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (player.hitTest(enemy[i].area)) { enemyShotClock[i]++; if (enemyShotClock[i] == 30) { enemyShotClock[i] = 0; randomNumber++; enemyBullet_mc = _root.attachMovie("enemyBullet", "enemyBullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x - 15, _y:enemy[i]._y - 3}); enemyShot.push(enemyBullet_mc); enemyBullet_mc.onEnterFrame = function () { this._x = this._x - 5; }; } } } if ((enemyType[i] == "metal_bee") && (enemy[i]._xscale == -100)) { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (enemy[i].marker.hitTest(player)) { enemy[i].marker.gotoAndStop(2); randomNumber++; bombs_mc = _root.attachMovie("bombs", "bombs" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); bomb.push(bombs_mc); } selfDestruct[i]--; enemy[i]._x = enemy[i]._x + 3; if (selfDestruct[i] < 1) { enemyHealth[i] = 0; } if (player._x > 3000) { enemyHealth[i] = 0; } } if ((enemyType[i] == "metal_bee") && (enemy[i]._xscale == 100)) { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (enemy[i].marker.hitTest(player)) { enemy[i].marker.gotoAndStop(2); randomNumber++; bombs_mc = _root.attachMovie("bombs", "bombs" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); bomb.push(bombs_mc); } selfDestruct[i]--; enemy[i]._x = enemy[i]._x - 3; if (selfDestruct[i] < 1) { enemyHealth[i] = 0; } if (player._x > 3000) { enemyHealth[i] = 0; } } if (enemyHit[i] == 0) { myColor = new Color(enemy[i]); myColorTransform = new Object(); myColorTransform = {rb:0, gb:0, bb:0}; myColor.setTransform(myColorTransform); } if (enemyHit[i] == 1) { myColor = new Color(enemy[i]); myColorTransform = new Object(); myColorTransform = {rb:200, gb:200, bb:200}; myColor.setTransform(myColorTransform); enemyHitTimer[i]++; if (enemyHitTimer[i] == 3) { enemyHitTimer[i] = 0; enemyHit[i] = 0; } } if (enemyHealth[i] < 1) { if (enemyType[i] == "boss_mc") { bossDead = true; atBoss = false; enemy[i].gotoAndStop(3); _root.attachMovie("bossDeath2", "bossDeath2", _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); } if ((enemyType[i] == "static_left") or (enemyType[i] == "flame_gun")) { enemy[i].gotoAndStop(2); } randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); enemy[i].removeMovieClip(); enemy.splice(i, 1); enemyType.splice(i, 1); enemyHealth.splice(i, 1); selfDestruct.splice(i, 1); enemyHitTimer.splice(i, 1); enemyHit.splice(i, 1); enemyShotClock.splice(i, 1); } i--; } i = bomb.length - 1; while (i >= 0) { if (bomb[i].hitTest(player.hit)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:bomb[i]._x, _y:bomb[i]._y}); bomb[i].removeMovieClip(); bomb.splice(i, 1); } bomb[i]._y = bomb[i]._y + 6; if (ground.hitTest(bomb[i]._x, bomb[i]._y, true)) { randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:bomb[i]._x, _y:bomb[i]._y}); bomb[i].removeMovieClip(); bomb.splice(i, 1); } i--; } i = enemyShot.length - 1; while (i >= 0) { if (enemyShot[i]._xscale > 200) { enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); } if (enemyShot[i].hitTest(player.hit)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:enemyShot[i]._x, _y:enemyShot[i]._y}); enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); } if (ground.hitTest(enemyShot[i]._x, enemyShot[i]._y, true)) { randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:enemyShot[i]._x, _y:enemyShot[i]._y}); enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); } i--; } i = coin.length - 1; while (i >= 0) { if (coin[i].hitTest(player)) { numberOfCoins = numberOfCoins + 10; randomNumber++; _root.attachMovie("ping", "ping" + randomNumber, _root.getNextHighestDepth(), {_x:coin[i]._x, _y:coin[i]._y}); coin[i].removeMovieClip(); coin.splice(i, 1); } i--; } i = diamonds.length - 1; while (i >= 0) { if (diamonds[i].hitTest(player)) { diamonds[i].gotoAndStop(2); weapon++; randomNumber++; _root.attachMovie("ping", "ping" + randomNumber, _root.getNextHighestDepth(), {_x:diamonds[i]._x, _y:diamonds[i]._y}); diamonds[i].removeMovieClip(); diamonds.splice(i, 1); } i--; } i = bullets.length - 1; while (i >= 0) { if (playerSelect == 1) { bullets[i].gotoAndStop(1); } if (playerSelect == 2) { bullets[i].gotoAndStop(2); } if (playerSelect == 3) { bullets[i].gotoAndStop(3); } if (playerSelect == 4) { bullets[i].gotoAndStop(4); } l = boxes.length - 1; while (l >= 0) { if (bullets[i].hitTest(boxes[l])) { boxes[l].gotoAndStop(2); randomNumber++; coins_mc = _root.attachMovie("coins", "coins" + randomNumber, _root.getNextHighestDepth(), {_x:boxes[l]._x, _y:boxes[l]._y}); coin.push(coins_mc); randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:boxes[l]._x, _y:boxes[l]._y}); boxes[l].removeMovieClip(); boxes.splice(l, 1); randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } l--; } k = bomb.length - 1; while (k >= 0) { if (bullets[i].hitTest(bomb[k])) { randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:bomb[k]._x, _y:bomb[k]._y}); bomb[k].removeMovieClip(); bomb.splice(k, 1); randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } k--; } j = enemy.length - 1; while (j >= 0) { if (bullets[i].hitTest(enemy[j].hitBox)) { enemyHit[j] = 1; enemyHealth[j] = enemyHealth[j] - (shotPower + hitBoost); if (enemyType[j] == "boss_mc") { if (player._x < 3000) { enemyHealth[j] = enemyHealth[j] + (shotPower + hitBoost); } } randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } j--; } if (ground.hitTest(bullets[i]._x, bullets[i]._y, true)) { randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } i--; } if ((ground.hitTest(player._x, player._y + 11, true) && (jump)) && (!doubleJumping)) { arm_mc._alpha = 100; if (running) { player.gotoAndStop("run"); } else { player.gotoAndStop("idle"); } } else { player.gotoAndStop("jump"); arm_mc._alpha = 0; } if (Key.isDown(68) or Key.isDown(65)) { running = true; } else { running = false; } if (!ground.hitTest(player._x, player._y + 10, true)) { falling = true; grounded = false; } if (ground.hitTest(player._x, player._y + 11, true)) { doubleJumping = false; doubleJump = false; jump = true; grounded = true; falling = false; while (ground.hitTest(player._x, player._y + 9, true)) { player._y--; } } if (falling == true) { gravity = gravity + gravityaccel; } else { gravity = 0; } if (((inControl && (Key.isDown(68))) && (xaccel < maxaccel)) && (falling == true)) { xaccel = xaccel + (runaccelamt - airrisist); } else if (((inControl && (Key.isDown(65))) && (xaccel > (-maxaccel))) && (falling == true)) { xaccel = xaccel - (runaccelamt - airrisist); } else if (((inControl && (Key.isDown(65))) && (xaccel > (-maxaccel))) && (falling == false)) { xaccel = xaccel - runaccelamt; } else if (((inControl && (Key.isDown(68))) && (xaccel < maxaccel)) && (falling == false)) { xaccel = xaccel + runaccelamt; } else if (grounded == true) { if (xaccel > 0) { xaccel = xaccel - friction; } if (xaccel < 0) { xaccel = xaccel + friction; } if ((xaccel < 0) && (xaccel > friction)) { xaccel = 0; } if ((xaccel > 0) && (xaccel < friction)) { xaccel = 0; } } else { if (xaccel > 0) { xaccel = xaccel - airrisist; } if (xaccel < 0) { xaccel = xaccel + airrisist; } if ((xaccel < 0) && (xaccel > airrisist)) { xaccel = 0; } if ((xaccel > 0) && (xaccel < airrisist)) { xaccel = 0; } } if (_root.ground.hitTest(this._x, this._y - 11, true)) { gravity = 1; while (_root.ground.hitTest(this._x, this._y - 10, true)) { this._y++; } } if (_xmouse > player._x) { player._xscale = 100; } if (_xmouse < player._x) { player._xscale = -100; } if (!Key.isDown(87)) { pressOnce = 0; } if ((inControl && (Key.isDown(87))) && (jump == true)) { gravity = gravity - (Math.cos(3.141593 * ((player._rotation * -1) / 180)) * maxjump); if (playerSelect == 2) { _root.attachMovie("dust", "dust", _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } jump = false; doubleJump = true; pressOnce = 1; } if (((inControl && (Key.isDown(87))) && (doubleJump == true)) && (pressOnce == 0)) { gravity = 0; gravity = gravity - (Math.cos(3.141593 * ((player._rotation * -1) / 180)) * maxjump); doubleJump = false; doubleJumping = true; } leftx = player._x + (Math.cos(3.141593 * (((player._rotation * -1) + 180) / 180)) * 7); lefty = player._y - (Math.sin(3.141593 * (((player._rotation * -1) + 180) / 180)) * 7); rightx = player._x + (Math.cos(3.141593 * ((player._rotation * -1) / 180)) * 7); righty = player._y - (Math.sin(3.141593 * ((player._rotation * -1) / 180)) * 7); if (ground.hitTest(leftx, lefty, true)) { xaccel = 0; player._x++; } if (ground.hitTest(rightx, righty, true)) { xaccel = 0; player._x--; } if (cam._y > 310) { cam._y = 310; } if (cam._x > 3529) { cam._x = 3529; } if (cam._x < 320) { cam._x = 320; } crosshair._x = _xmouse; crosshair._y = _ymouse; bg._x = cam._x; bg._y = cam._y; place._x = player._x; place._y = player._y; endX = player._x; cam._x = cam._x + ((endX - cam._x) / 20); endY = player._y; cam._y = cam._y + ((endY - cam._y) / 20); cam.camControl(); hud._x = cam._x; hud._y = cam._y; hud._xscale = cam.lens._xscale; hud._yscale = cam.lens._yscale; bossWarning._x = cam._x; bossWarning._y = cam._y; bossWarning._xscale = cam.lens._xscale; bossWarning._yscale = cam.lens._yscale; player._y = player._y + gravity; player._x = player._x + xaccel; hud.healthBar._xscale = playerHealth; if (playerHealth > 100) { playerHealth = 100; } if (playerHealth < 1) { shooting = false; playerHealth = 0; inControl = false; player._alpha = 0; arm_mc._alpha = 0; if (transTimer == 0) { _root.attachMovie("bubbs", "bubbs", _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); _root.attachMovie("trans", "trans", _root.getNextHighestDepth(), {_x:cam._x, _y:cam._y}); } transTimer++; if (transTimer > 79) { clearAll(); prevFrame(); } } if (bossDead) { moveOnTimer++; if (moveOnTimer == 89) { _root.attachMovie("stageComplete", "stageComplete", _root.getNextHighestDepth(), {_x:cam._x, _y:cam._y}); } if (moveOnTimer == 110) { _root.attachMovie("trans", "trans", _root.getNextHighestDepth(), {_x:cam._x, _y:cam._y}); } if (moveOnTimer == 189) { clearAll(); stageTwoComplete = true; user.data.numberOfCoins_s = numberOfCoins; user.data.weapon_s = weapon; user.data.twoLocked_s = twoLocked; user.data.threeLocked_s = threeLocked; user.data.fourLocked_s = fourLocked; user.data.stageOneComplete_s = stageOneComplete; user.data.stageTwoComplete_s = stageTwoComplete; user.data.stageThreeComplete_s = stageThreeComplete; user.data.stageFourComplete_s = stageFourComplete; user.data.stageFiveComplete_s = stageFiveComplete; user.data.stageSixComplete_s = stageSixComplete; user.data.stageTwoOpen_s = stageTwoOpen; user.data.stageThreeOpen_s = stageThreeOpen; user.data.stageFourOpen_s = stageFourOpen; user.data.stageFiveOpen_s = stageFiveOpen; user.data.stageSixOpen_s = stageSixOpen; user.flush(); gotoAndStop ("stageSelect"); } } if (weapon < 0) { weapon = 0; } if (weapon > 5) { weapon = 5; } if (player._y > 500) { playerHealth = 0; } if (player._x > 3000) { atBoss = true; if (showWarning) { _root.attachMovie("bossWarning", "bossWarning", _root.getNextHighestDepth()); showWarning = false; } } if (player._xscale == 100) { myRadiansA = Math.atan2(_root._ymouse - arm_mc._y, _root._xmouse - arm_mc._x); myDegreesA = Math.round((myRadiansA * 180) / Math.PI); arm_mc._rotation = myDegreesA; arm_mc._xscale = 100; } if (player._xscale == -100) { myRadiansA = Math.atan2(_root._ymouse - arm_mc._y, _root._xmouse - arm_mc._x); myDegreesA = Math.round((myRadiansA * 180) / Math.PI) - 180; arm_mc._rotation = myDegreesA; arm_mc._xscale = -100; } stageComplete._x = cam._x; stageComplete._y = cam._y; stageComplete._xscale = cam.lens._xscale; stageComplete._yscale = cam.lens._yscale; arm_mc._x = player._x; arm_mc._y = player._y - 3; hud.cnn.text = numberOfCoins; trans.swapDepths(_root.getNextHighestDepth()); };
Frame 17
player.removeMovieClip(); stopAllSounds(); cam._xscale = 100; cam._yscale = 100; cam._x = that._x; cam._y = that._y; stop();
Instance of Symbol 562 MovieClip in Frame 17
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { getURL ("http://www.longanimalsgames.com/?referral=stargunheroes&refmode=moregames", "_blank"); }
Instance of Symbol 619 MovieClip in Frame 17
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { _root.nextFrame(); }
Instance of Symbol 622 MovieClip in Frame 17
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { _root.gotoAndStop("title"); }
Frame 18
function clearAll() { Mouse.show(); stopAllSounds(); hud.removeMovieClip(); place.removeMovieClip(); bossWarning.removeMovieClip(); crosshair.removeMovieClip(); arm_mc.removeMovieClip(); i = diamonds.length - 1; while (i >= 0) { diamonds[i].removeMovieClip(); diamonds.splice(i, 1); i--; } i = coin.length - 1; while (i >= 0) { coin[i].removeMovieClip(); coin.splice(i, 1); i--; } i = boxes.length - 1; while (i >= 0) { boxes[i].removeMovieClip(); boxes.splice(i, 1); i--; } i = enemy.length - 1; while (i >= 0) { enemy[i].removeMovieClip(); enemy.splice(i, 1); i--; } i = enemyType.length - 1; while (i >= 0) { enemyType.splice(i, 1); i--; } i = enemyHealth.length - 1; while (i >= 0) { enemyHealth.splice(i, 1); i--; } i = selfDestruct.length - 1; while (i >= 0) { selfDestruct.splice(i, 1); i--; } i = enemyHit.length - 1; while (i >= 0) { enemyHit.splice(i, 1); i--; } i = enemyHitTimer.length - 1; while (i >= 0) { enemyHitTimer.splice(i, 1); i--; } i = enemyShotClock.length - 1; while (i >= 0) { enemyShotClock.splice(i, 1); i--; } i = bullets.length - 1; while (i >= 0) { bullets[i].removeMovieClip(); bullets.splice(i, 1); i--; } i = enemyShot.length - 1; while (i >= 0) { enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); i--; } i = bomb.length - 1; while (i >= 0) { bomb[i].removeMovieClip(); bomb.splice(i, 1); i--; } } stop(); shotsnd = new Sound(); shotsnd.attachSound("reflect"); _root.attachMovie("hud", "hud", _root.getNextHighestDepth()); if (playerSelect == 5) { hitBoost = 3; maxaccel = 5; maxjump = 3; playerStrength = 10; hud.faces.gotoAndStop(5); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(5); _root.attachMovie("hiddenGuy", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 1) { hitBoost = 0; maxaccel = 3; maxjump = 3; playerStrength = 10; _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(1); _root.attachMovie("player", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 2) { hitBoost = 0; maxaccel = 5; maxjump = 5; playerStrength = 8; hud.faces.gotoAndStop(2); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(2); _root.attachMovie("playerTwo", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 3) { hitBoost = 1.5; maxaccel = 3.5; maxjump = 3; playerStrength = 5; hud.faces.gotoAndStop(3); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(3); _root.attachMovie("playerThree", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 4) { hitBoost = 2; maxaccel = 5; maxjump = 3; playerStrength = 10; hud.faces.gotoAndStop(4); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(4); _root.attachMovie("playerFour", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } _root.attachMovie("crosshair", "crosshair", _root.getNextHighestDepth()); _root.attachMovie("place", "place", _root.getNextHighestDepth()); atBoss = false; bossDead = false; moveOnTimer = 0; arm_mc.spark._alpha = 0; place._alpha = 0; crosshair._xscale = 50; crosshair._yscale = 50; Mouse.hide(); cam._xscale = 100; cam._yscale = 100; showWarning = true; transTimer = 0; randomNumber = 0; running = false; gravity = 0; gravityaccel = 0.2; xaccel = 0; runaccelamt = 0.3; friction = 0.5; airrisist = 0.05; doubleJump = false; doubleJumping = false; jump = true; pressOnce = 0; playerDamaged = 0; playerDamagedTimer = 0; cam.lens._xscale = 50; cam.lens._yscale = 50; damaged = false; inControl = true; fireRate = 300; shotPower = 1; shootingTimer = 0; shooting = false; addEnemyTimer = 0; choice = 0; playerHealth = 100; var diamonds = new Array(); diamonds.push(d1, d2, d3); var coin = new Array(); var boxes = new Array(); boxes.push(box1, box2, box3, box4, box5, box6, box7, box8, box9, box10, box11); var enemy = new Array(); enemy.push(enemy1, enemy2, enemy3, enemy4, enemy5, enemy6, enemy7, flame1, flame2, flame3, flame4, flame5, flame6, boss); var enemyType = new Array(); enemyType.push("static_left", "static_left", "static_left", "static_left", "static_left", "static_left", "static_left", "flame_gun", "flame_gun", "flame_gun", "flame_gun", "flame_gun", "flame_gun", "boss_mc"); var enemyHealth = new Array(); enemyHealth.push(10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 100); var selfDestruct = new Array(); selfDestruct.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var enemyHit = new Array(); enemyHit.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var enemyHitTimer = new Array(); enemyHitTimer.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var enemyShotClock = new Array(); enemyShotClock.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var bullets = new Array(); var enemyShot = new Array(); var bomb = new Array(); onMouseDown = function () { if ((!damaged) && (inControl)) { shooting = true; } }; onMouseUp = function () { shooting = false; }; player.onEnterFrame = function () { if (playerDamaged == 0) { myColor = new Color(player); myColorTransform = new Object(); myColorTransform = {rb:0, gb:0, bb:0}; myColor.setTransform(myColorTransform); } if (playerDamaged == 1) { myColor = new Color(player); myColorTransform = new Object(); myColorTransform = {rb:200, gb:200, bb:200}; myColor.setTransform(myColorTransform); playerDamagedTimer++; if (playerDamagedTimer == 1) { weapon--; playerDamaged = 0; playerDamagedTimer = 0; } } if (player._x < 3000) { if ((addEnemyTimer + 6000) < getTimer()) { addEnemyTimer = getTimer(); choice = Math.round(Math.random() * 1) + 0; if (choice == 0) { randomNumber++; metalBee_mc = _root.attachMovie("metalBee", "metalBee" + randomNumber, _root.getNextHighestDepth(), {_x:cam._x - 800, _y:player._y - 60}); metalBee_mc._xscale = -100; enemy.push(metalBee_mc); enemyType.push("metal_bee"); enemyHealth.push(1); selfDestruct.push(500); enemyHitTimer.push(0); enemyHit.push(0); enemyShotClock.push(0); } if (choice == 1) { randomNumber++; metalBee_mc = _root.attachMovie("metalBee", "metalBee" + randomNumber, _root.getNextHighestDepth(), {_x:cam._x + 800, _y:player._y - 60}); enemy.push(metalBee_mc); enemyType.push("metal_bee"); enemyHealth.push(1); selfDestruct.push(500); enemyHitTimer.push(0); enemyHit.push(0); enemyShotClock.push(0); } } } if (!shooting) { arm_mc.spark._alpha = 0; } myRadians = Math.atan2(_root._ymouse - place._y, _root._xmouse - place._x); myDegrees = Math.round((myRadians * 180) / Math.PI); place._rotation = myDegrees; if (shooting) { if (weapon == 0) { fireRate = 300; shotPower = 1; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 1) { fireRate = 500; shotPower = 1; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation - 6; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation + 6; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 2) { shotPower = 1.5; fireRate = 200; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("laser", "laser" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 3) { shotPower = 2; fireRate = 200; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("laser", "laser" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 200; bullet_mc._xscale = 600; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 4) { shotPower = 2.5; fireRate = 200; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 5) { shotPower = 2.5; fireRate = 100; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 50; bullet_mc._xscale = 50; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 50; bullet_mc._xscale = 50; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation + 15; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 50; bullet_mc._xscale = 50; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation - 15; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } } i = enemy.length - 1; while (i >= 0) { if (enemyType[i] == "boss_mc") { if (enemy[i].hitBox.hitTest(player.hit)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - 0.1; playerDamaged = 1; } if (atBoss) { enemyShotClock[i]++; if (enemyShotClock[i] < 60) { } if (enemyShotClock[i] > 60) { selfDestruct[i]++; if (selfDestruct[i] == 15) { selfDestruct[i] = 0; randomNumber++; bombs_mc = _root.attachMovie("bombs", "bombs" + randomNumber, _root.getNextHighestDepth(), {_x:((cam._x + 320) - Math.round(Math.random() * 640)) + 0, _y:0}); bomb.push(bombs_mc); } } if (enemyShotClock[i] > 150) { randomNumber++; bombs_mc = _root.attachMovie("bombs", "bombs" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:0}); bomb.push(bombs_mc); enemyShotClock[i] = 0; selfDestruct[i] = 0; } } } if (enemyType[i] == "flame_gun") { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (player.hitTest(enemy[i].area)) { enemyShotClock[i]++; if (enemyShotClock[i] == 3) { enemyShotClock[i] = 0; randomNumber++; enemyBullet_mc = _root.attachMovie("flameBullet", "flameBullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x - 10, _y:enemy[i]._y - 30}); enemyShot.push(enemyBullet_mc); enemyBullet_mc.onEnterFrame = function () { this._xscale = this._xscale + 5; this._yscale = this._yscale + 5; this._y = this._y - 5; }; } } } if (enemyType[i] == "static_left") { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (player.hitTest(enemy[i].area)) { enemyShotClock[i]++; if (enemyShotClock[i] == 43) { enemyShotClock[i] = 0; randomNumber++; enemyBullet_mc = _root.attachMovie("enemyBullet", "enemyBullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x - 15, _y:enemy[i]._y - 3}); enemyShot.push(enemyBullet_mc); enemyBullet_mc.onEnterFrame = function () { this._x = this._x - 5; }; } } } if ((enemyType[i] == "metal_bee") && (enemy[i]._xscale == -100)) { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (enemy[i].marker.hitTest(player)) { enemy[i].marker.gotoAndStop(2); randomNumber++; bombs_mc = _root.attachMovie("bombs", "bombs" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); bomb.push(bombs_mc); } selfDestruct[i]--; enemy[i]._x = enemy[i]._x + 3; if (selfDestruct[i] < 1) { enemyHealth[i] = 0; } if (player._x > 3000) { enemyHealth[i] = 0; } } if ((enemyType[i] == "metal_bee") && (enemy[i]._xscale == 100)) { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (enemy[i].marker.hitTest(player)) { enemy[i].marker.gotoAndStop(2); randomNumber++; bombs_mc = _root.attachMovie("bombs", "bombs" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); bomb.push(bombs_mc); } selfDestruct[i]--; enemy[i]._x = enemy[i]._x - 3; if (selfDestruct[i] < 1) { enemyHealth[i] = 0; } if (player._x > 3000) { enemyHealth[i] = 0; } } if (enemyHit[i] == 0) { myColor = new Color(enemy[i]); myColorTransform = new Object(); myColorTransform = {rb:0, gb:0, bb:0}; myColor.setTransform(myColorTransform); } if (enemyHit[i] == 1) { myColor = new Color(enemy[i]); myColorTransform = new Object(); myColorTransform = {rb:200, gb:200, bb:200}; myColor.setTransform(myColorTransform); enemyHitTimer[i]++; if (enemyHitTimer[i] == 3) { enemyHitTimer[i] = 0; enemyHit[i] = 0; } } if (enemyHealth[i] < 1) { if (enemyType[i] == "boss_mc") { bossDead = true; atBoss = false; enemy[i].gotoAndStop(2); _root.attachMovie("dead3Boss", "dead3Boss", _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); } if ((enemyType[i] == "static_left") or (enemyType[i] == "flame_gun")) { enemy[i].gotoAndStop(2); } randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); enemy[i].removeMovieClip(); enemy.splice(i, 1); enemyType.splice(i, 1); enemyHealth.splice(i, 1); selfDestruct.splice(i, 1); enemyHitTimer.splice(i, 1); enemyHit.splice(i, 1); enemyShotClock.splice(i, 1); } i--; } i = bomb.length - 1; while (i >= 0) { if (bomb[i].hitTest(player.hit)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:bomb[i]._x, _y:bomb[i]._y}); bomb[i].removeMovieClip(); bomb.splice(i, 1); } bomb[i]._y = bomb[i]._y + 6; if (ground.hitTest(bomb[i]._x, bomb[i]._y, true)) { randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:bomb[i]._x, _y:bomb[i]._y}); bomb[i].removeMovieClip(); bomb.splice(i, 1); } i--; } i = enemyShot.length - 1; while (i >= 0) { if (enemyShot[i]._xscale > 200) { enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); } if (enemyShot[i].hitTest(player.hit)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:enemyShot[i]._x, _y:enemyShot[i]._y}); enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); } if (ground.hitTest(enemyShot[i]._x, enemyShot[i]._y, true)) { randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:enemyShot[i]._x, _y:enemyShot[i]._y}); enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); } i--; } i = coin.length - 1; while (i >= 0) { if (coin[i].hitTest(player)) { numberOfCoins = numberOfCoins + 10; randomNumber++; _root.attachMovie("ping", "ping" + randomNumber, _root.getNextHighestDepth(), {_x:coin[i]._x, _y:coin[i]._y}); coin[i].removeMovieClip(); coin.splice(i, 1); } i--; } i = diamonds.length - 1; while (i >= 0) { if (diamonds[i].hitTest(player)) { diamonds[i].gotoAndStop(2); weapon++; randomNumber++; _root.attachMovie("ping", "ping" + randomNumber, _root.getNextHighestDepth(), {_x:diamonds[i]._x, _y:diamonds[i]._y}); diamonds[i].removeMovieClip(); diamonds.splice(i, 1); } i--; } i = bullets.length - 1; while (i >= 0) { if (playerSelect == 1) { bullets[i].gotoAndStop(1); } if (playerSelect == 2) { bullets[i].gotoAndStop(2); } if (playerSelect == 3) { bullets[i].gotoAndStop(3); } if (playerSelect == 4) { bullets[i].gotoAndStop(4); } l = boxes.length - 1; while (l >= 0) { if (bullets[i].hitTest(boxes[l])) { boxes[l].gotoAndStop(2); randomNumber++; coins_mc = _root.attachMovie("coins", "coins" + randomNumber, _root.getNextHighestDepth(), {_x:boxes[l]._x, _y:boxes[l]._y}); coin.push(coins_mc); randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:boxes[l]._x, _y:boxes[l]._y}); boxes[l].removeMovieClip(); boxes.splice(l, 1); randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } l--; } k = bomb.length - 1; while (k >= 0) { if (bullets[i].hitTest(bomb[k])) { randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:bomb[k]._x, _y:bomb[k]._y}); bomb[k].removeMovieClip(); bomb.splice(k, 1); randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } k--; } j = enemy.length - 1; while (j >= 0) { if (bullets[i].hitTest(enemy[j].hitBox)) { enemyHit[j] = 1; enemyHealth[j] = enemyHealth[j] - (shotPower + hitBoost); if (enemyType[j] == "boss_mc") { if (player._x < 3000) { enemyHealth[j] = enemyHealth[j] + (shotPower + hitBoost); } } randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } j--; } if (ground.hitTest(bullets[i]._x, bullets[i]._y, true)) { randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } i--; } if ((ground.hitTest(player._x, player._y + 11, true) && (jump)) && (!doubleJumping)) { arm_mc._alpha = 100; if (running) { player.gotoAndStop("run"); } else { player.gotoAndStop("idle"); } } else { player.gotoAndStop("jump"); arm_mc._alpha = 0; } if (Key.isDown(68) or Key.isDown(65)) { running = true; } else { running = false; } if (!ground.hitTest(player._x, player._y + 10, true)) { falling = true; grounded = false; } if (ground.hitTest(player._x, player._y + 11, true)) { doubleJumping = false; doubleJump = false; jump = true; grounded = true; falling = false; while (ground.hitTest(player._x, player._y + 9, true)) { player._y--; } } if (falling == true) { gravity = gravity + gravityaccel; } else { gravity = 0; } if (((inControl && (Key.isDown(68))) && (xaccel < maxaccel)) && (falling == true)) { xaccel = xaccel + (runaccelamt - airrisist); } else if (((inControl && (Key.isDown(65))) && (xaccel > (-maxaccel))) && (falling == true)) { xaccel = xaccel - (runaccelamt - airrisist); } else if (((inControl && (Key.isDown(65))) && (xaccel > (-maxaccel))) && (falling == false)) { xaccel = xaccel - runaccelamt; } else if (((inControl && (Key.isDown(68))) && (xaccel < maxaccel)) && (falling == false)) { xaccel = xaccel + runaccelamt; } else if (grounded == true) { if (xaccel > 0) { xaccel = xaccel - friction; } if (xaccel < 0) { xaccel = xaccel + friction; } if ((xaccel < 0) && (xaccel > friction)) { xaccel = 0; } if ((xaccel > 0) && (xaccel < friction)) { xaccel = 0; } } else { if (xaccel > 0) { xaccel = xaccel - airrisist; } if (xaccel < 0) { xaccel = xaccel + airrisist; } if ((xaccel < 0) && (xaccel > airrisist)) { xaccel = 0; } if ((xaccel > 0) && (xaccel < airrisist)) { xaccel = 0; } } if (_root.ground.hitTest(this._x, this._y - 11, true)) { gravity = 1; while (_root.ground.hitTest(this._x, this._y - 10, true)) { this._y++; } } if (_xmouse > player._x) { player._xscale = 100; } if (_xmouse < player._x) { player._xscale = -100; } if (!Key.isDown(87)) { pressOnce = 0; } if ((inControl && (Key.isDown(87))) && (jump == true)) { gravity = gravity - (Math.cos(3.141593 * ((player._rotation * -1) / 180)) * maxjump); if (playerSelect == 2) { _root.attachMovie("dust", "dust", _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } jump = false; doubleJump = true; pressOnce = 1; } if (((inControl && (Key.isDown(87))) && (doubleJump == true)) && (pressOnce == 0)) { gravity = 0; gravity = gravity - (Math.cos(3.141593 * ((player._rotation * -1) / 180)) * maxjump); doubleJump = false; doubleJumping = true; } leftx = player._x + (Math.cos(3.141593 * (((player._rotation * -1) + 180) / 180)) * 7); lefty = player._y - (Math.sin(3.141593 * (((player._rotation * -1) + 180) / 180)) * 7); rightx = player._x + (Math.cos(3.141593 * ((player._rotation * -1) / 180)) * 7); righty = player._y - (Math.sin(3.141593 * ((player._rotation * -1) / 180)) * 7); if (ground.hitTest(leftx, lefty, true)) { xaccel = 0; player._x++; } if (ground.hitTest(rightx, righty, true)) { xaccel = 0; player._x--; } if (cam._y > 290) { cam._y = 290; } if (cam._x > 3932) { cam._x = 3932; } if (cam._x < 320) { cam._x = 320; } crosshair._x = _xmouse; crosshair._y = _ymouse; bg._x = cam._x; bg._y = cam._y; place._x = player._x; place._y = player._y; endX = player._x; cam._x = cam._x + ((endX - cam._x) / 20); endY = player._y; cam._y = cam._y + ((endY - cam._y) / 20); cam.camControl(); hud._x = cam._x; hud._y = cam._y; hud._xscale = cam.lens._xscale; hud._yscale = cam.lens._yscale; bossWarning._x = cam._x; bossWarning._y = cam._y; bossWarning._xscale = cam.lens._xscale; bossWarning._yscale = cam.lens._yscale; player._y = player._y + gravity; player._x = player._x + xaccel; hud.healthBar._xscale = playerHealth; if (playerHealth > 100) { playerHealth = 100; } if (playerHealth < 1) { shooting = false; playerHealth = 0; inControl = false; player._alpha = 0; arm_mc._alpha = 0; if (transTimer == 0) { _root.attachMovie("bubbs", "bubbs", _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); _root.attachMovie("trans", "trans", _root.getNextHighestDepth(), {_x:cam._x, _y:cam._y}); } transTimer++; if (transTimer > 79) { clearAll(); prevFrame(); } } if (bossDead) { moveOnTimer++; if (moveOnTimer == 89) { _root.attachMovie("stageComplete", "stageComplete", _root.getNextHighestDepth(), {_x:cam._x, _y:cam._y}); } if (moveOnTimer == 110) { _root.attachMovie("trans", "trans", _root.getNextHighestDepth(), {_x:cam._x, _y:cam._y}); } if (moveOnTimer == 189) { clearAll(); stageThreeComplete = true; user.data.numberOfCoins_s = numberOfCoins; user.data.weapon_s = weapon; user.data.twoLocked_s = twoLocked; user.data.threeLocked_s = threeLocked; user.data.fourLocked_s = fourLocked; user.data.stageOneComplete_s = stageOneComplete; user.data.stageTwoComplete_s = stageTwoComplete; user.data.stageThreeComplete_s = stageThreeComplete; user.data.stageFourComplete_s = stageFourComplete; user.data.stageFiveComplete_s = stageFiveComplete; user.data.stageSixComplete_s = stageSixComplete; user.data.stageTwoOpen_s = stageTwoOpen; user.data.stageThreeOpen_s = stageThreeOpen; user.data.stageFourOpen_s = stageFourOpen; user.data.stageFiveOpen_s = stageFiveOpen; user.data.stageSixOpen_s = stageSixOpen; user.flush(); gotoAndStop ("stageSelect"); } } if (weapon < 0) { weapon = 0; } if (weapon > 5) { weapon = 5; } if (player._y > 500) { playerHealth = 0; } if (player._x > 3000) { atBoss = true; if (showWarning) { _root.attachMovie("bossWarning", "bossWarning", _root.getNextHighestDepth()); showWarning = false; } } if (player._xscale == 100) { myRadiansA = Math.atan2(_root._ymouse - arm_mc._y, _root._xmouse - arm_mc._x); myDegreesA = Math.round((myRadiansA * 180) / Math.PI); arm_mc._rotation = myDegreesA; arm_mc._xscale = 100; } if (player._xscale == -100) { myRadiansA = Math.atan2(_root._ymouse - arm_mc._y, _root._xmouse - arm_mc._x); myDegreesA = Math.round((myRadiansA * 180) / Math.PI) - 180; arm_mc._rotation = myDegreesA; arm_mc._xscale = -100; } stageComplete._x = cam._x; stageComplete._y = cam._y; stageComplete._xscale = cam.lens._xscale; stageComplete._yscale = cam.lens._yscale; arm_mc._x = player._x; arm_mc._y = player._y - 3; hud.cnn.text = numberOfCoins; trans.swapDepths(_root.getNextHighestDepth()); };
Frame 19
player.removeMovieClip(); stopAllSounds(); cam._xscale = 100; cam._yscale = 100; cam._x = that._x; cam._y = that._y; stop();
Instance of Symbol 562 MovieClip in Frame 19
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { getURL ("http://www.longanimalsgames.com/?referral=stargunheroes&refmode=moregames", "_blank"); }
Instance of Symbol 619 MovieClip in Frame 19
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { _root.nextFrame(); }
Instance of Symbol 622 MovieClip in Frame 19
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { _root.gotoAndStop("title"); }
Frame 20
function clearAll() { Mouse.show(); stopAllSounds(); hud.removeMovieClip(); place.removeMovieClip(); bossWarning.removeMovieClip(); crosshair.removeMovieClip(); arm_mc.removeMovieClip(); i = diamonds.length - 1; while (i >= 0) { diamonds[i].removeMovieClip(); diamonds.splice(i, 1); i--; } i = coin.length - 1; while (i >= 0) { coin[i].removeMovieClip(); coin.splice(i, 1); i--; } i = boxes.length - 1; while (i >= 0) { boxes[i].removeMovieClip(); boxes.splice(i, 1); i--; } i = enemy.length - 1; while (i >= 0) { enemy[i].removeMovieClip(); enemy.splice(i, 1); i--; } i = enemyType.length - 1; while (i >= 0) { enemyType.splice(i, 1); i--; } i = enemyHealth.length - 1; while (i >= 0) { enemyHealth.splice(i, 1); i--; } i = selfDestruct.length - 1; while (i >= 0) { selfDestruct.splice(i, 1); i--; } i = enemyHit.length - 1; while (i >= 0) { enemyHit.splice(i, 1); i--; } i = enemyHitTimer.length - 1; while (i >= 0) { enemyHitTimer.splice(i, 1); i--; } i = enemyShotClock.length - 1; while (i >= 0) { enemyShotClock.splice(i, 1); i--; } i = bullets.length - 1; while (i >= 0) { bullets[i].removeMovieClip(); bullets.splice(i, 1); i--; } i = enemyShot.length - 1; while (i >= 0) { enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); i--; } i = bomb.length - 1; while (i >= 0) { bomb[i].removeMovieClip(); bomb.splice(i, 1); i--; } } stop(); shotsnd = new Sound(); shotsnd.attachSound("reflect"); _root.attachMovie("hud", "hud", _root.getNextHighestDepth()); if (playerSelect == 5) { hitBoost = 3; maxaccel = 5; maxjump = 3; playerStrength = 10; hud.faces.gotoAndStop(5); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(5); _root.attachMovie("hiddenGuy", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 1) { hitBoost = 0; maxaccel = 3; maxjump = 3; playerStrength = 10; _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(1); _root.attachMovie("player", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 2) { hitBoost = 0; maxaccel = 5; maxjump = 5; playerStrength = 8; hud.faces.gotoAndStop(2); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(2); _root.attachMovie("playerTwo", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 3) { hitBoost = 1.5; maxaccel = 3.5; maxjump = 3; playerStrength = 5; hud.faces.gotoAndStop(3); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(3); _root.attachMovie("playerThree", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 4) { hitBoost = 2; maxaccel = 5; maxjump = 3; playerStrength = 10; hud.faces.gotoAndStop(4); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(4); _root.attachMovie("playerFour", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } _root.attachMovie("crosshair", "crosshair", _root.getNextHighestDepth()); _root.attachMovie("place", "place", _root.getNextHighestDepth()); atBoss = false; bossDead = false; moveOnTimer = 0; arm_mc.spark._alpha = 0; place._alpha = 0; crosshair._xscale = 50; crosshair._yscale = 50; Mouse.hide(); cam._xscale = 100; cam._yscale = 100; showWarning = true; transTimer = 0; randomNumber = 0; running = false; gravity = 0; gravityaccel = 0.2; xaccel = 0; runaccelamt = 0.3; friction = 0.5; airrisist = 0.05; doubleJump = false; doubleJumping = false; jump = true; pressOnce = 0; playerDamaged = 0; playerDamagedTimer = 0; cam.lens._xscale = 50; cam.lens._yscale = 50; damaged = false; inControl = true; fireRate = 300; shotPower = 1; shootingTimer = 0; shooting = false; addEnemyTimer = 0; choice = 0; playerHealth = 100; var diamonds = new Array(); diamonds.push(d1, d2, d3); var coin = new Array(); var boxes = new Array(); boxes.push(box1, box2, box3, box4, box5, box6, box7, box8, box9, box10, box11); var enemy = new Array(); enemy.push(enemy1, enemy2, enemy3, enemy4, enemy5, enemy6, enemy7, flame1, flame2, flame3, flame4, flame5, flame6, boss); var enemyType = new Array(); enemyType.push("static_left", "static_left", "static_left", "static_left", "static_left", "static_left", "static_left", "flame_gun", "flame_gun", "flame_gun", "flame_gun", "flame_gun", "flame_gun", "boss_mc"); var enemyHealth = new Array(); enemyHealth.push(10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 100); var selfDestruct = new Array(); selfDestruct.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var enemyHit = new Array(); enemyHit.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var enemyHitTimer = new Array(); enemyHitTimer.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var enemyShotClock = new Array(); enemyShotClock.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var bullets = new Array(); var enemyShot = new Array(); var bomb = new Array(); onMouseDown = function () { if ((!damaged) && (inControl)) { shooting = true; } }; onMouseUp = function () { shooting = false; }; player.onEnterFrame = function () { if (playerDamaged == 0) { myColor = new Color(player); myColorTransform = new Object(); myColorTransform = {rb:0, gb:0, bb:0}; myColor.setTransform(myColorTransform); } if (playerDamaged == 1) { myColor = new Color(player); myColorTransform = new Object(); myColorTransform = {rb:200, gb:200, bb:200}; myColor.setTransform(myColorTransform); playerDamagedTimer++; if (playerDamagedTimer == 1) { weapon--; playerDamaged = 0; playerDamagedTimer = 0; } } if (player._x < 3000) { if ((addEnemyTimer + 3000) < getTimer()) { addEnemyTimer = getTimer(); choice = Math.round(Math.random() * 1) + 0; if (choice == 0) { randomNumber++; metalBee_mc = _root.attachMovie("metalBee", "metalBee" + randomNumber, _root.getNextHighestDepth(), {_x:cam._x - 800, _y:player._y - 60}); metalBee_mc._xscale = -100; enemy.push(metalBee_mc); enemyType.push("metal_bee"); enemyHealth.push(1); selfDestruct.push(500); enemyHitTimer.push(0); enemyHit.push(0); enemyShotClock.push(0); } if (choice == 1) { randomNumber++; metalBee_mc = _root.attachMovie("metalBee", "metalBee" + randomNumber, _root.getNextHighestDepth(), {_x:cam._x + 800, _y:player._y - 60}); enemy.push(metalBee_mc); enemyType.push("metal_bee"); enemyHealth.push(1); selfDestruct.push(500); enemyHitTimer.push(0); enemyHit.push(0); enemyShotClock.push(0); } } } if (!shooting) { arm_mc.spark._alpha = 0; } myRadians = Math.atan2(_root._ymouse - place._y, _root._xmouse - place._x); myDegrees = Math.round((myRadians * 180) / Math.PI); place._rotation = myDegrees; if (shooting) { if (weapon == 0) { fireRate = 300; shotPower = 1; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 1) { fireRate = 500; shotPower = 1; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation - 6; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation + 6; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 2) { shotPower = 1.5; fireRate = 200; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("laser", "laser" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 3) { shotPower = 2; fireRate = 200; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("laser", "laser" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 200; bullet_mc._xscale = 600; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 4) { shotPower = 2.5; fireRate = 200; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 5) { shotPower = 2.5; fireRate = 100; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 50; bullet_mc._xscale = 50; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 50; bullet_mc._xscale = 50; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation + 15; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 50; bullet_mc._xscale = 50; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation - 15; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } } if (player.hitTest(beamer_mc.beam)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - 1; playerDamaged = 1; } i = enemy.length - 1; while (i >= 0) { if (enemyType[i] == "boss_mc") { if (enemy[i].hitBox.hitTest(player.hit)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - 0.1; playerDamaged = 1; } if (atBoss) { enemyShotClock[i]++; if (enemyShotClock[i] < 60) { enemy[i].gotoAndStop("warning"); } if (enemyShotClock[i] > 60) { selfDestruct[i]++; if (selfDestruct[i] == 40) { selfDestruct[i] = 0; randomNumber++; beamer_mc = _root.attachMovie("bossAttack", "bossAttack" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } enemy[i].gotoAndStop("shooting"); } if (enemyShotClock[i] > 150) { enemyShotClock[i] = 0; selfDestruct[i] = 0; } } } if (enemyType[i] == "flame_gun") { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (player.hitTest(enemy[i].area)) { enemyShotClock[i]++; if (enemyShotClock[i] == 3) { enemyShotClock[i] = 0; randomNumber++; enemyBullet_mc = _root.attachMovie("flameBullet", "flameBullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x - 10, _y:enemy[i]._y - 30}); enemyShot.push(enemyBullet_mc); enemyBullet_mc.onEnterFrame = function () { this._xscale = this._xscale + 5; this._yscale = this._yscale + 5; this._y = this._y - 5; }; } } } if (enemyType[i] == "static_left") { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (player.hitTest(enemy[i].area)) { enemyShotClock[i]++; if (enemyShotClock[i] == 30) { enemyShotClock[i] = 0; randomNumber++; enemyBullet_mc = _root.attachMovie("enemyBullet", "enemyBullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x - 15, _y:enemy[i]._y - 3}); enemyShot.push(enemyBullet_mc); enemyBullet_mc.onEnterFrame = function () { this._x = this._x - 5; }; } } } if ((enemyType[i] == "metal_bee") && (enemy[i]._xscale == -100)) { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (enemy[i].marker.hitTest(player)) { enemy[i].marker.gotoAndStop(2); randomNumber++; bombs_mc = _root.attachMovie("bombs", "bombs" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); bomb.push(bombs_mc); } selfDestruct[i]--; enemy[i]._x = enemy[i]._x + 3; if (selfDestruct[i] < 1) { enemyHealth[i] = 0; } if (player._x > 3000) { enemyHealth[i] = 0; } } if ((enemyType[i] == "metal_bee") && (enemy[i]._xscale == 100)) { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (enemy[i].marker.hitTest(player)) { enemy[i].marker.gotoAndStop(2); randomNumber++; bombs_mc = _root.attachMovie("bombs", "bombs" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); bomb.push(bombs_mc); } selfDestruct[i]--; enemy[i]._x = enemy[i]._x - 3; if (selfDestruct[i] < 1) { enemyHealth[i] = 0; } if (player._x > 3000) { enemyHealth[i] = 0; } } if (enemyHit[i] == 0) { myColor = new Color(enemy[i]); myColorTransform = new Object(); myColorTransform = {rb:0, gb:0, bb:0}; myColor.setTransform(myColorTransform); } if (enemyHit[i] == 1) { myColor = new Color(enemy[i]); myColorTransform = new Object(); myColorTransform = {rb:200, gb:200, bb:200}; myColor.setTransform(myColorTransform); enemyHitTimer[i]++; if (enemyHitTimer[i] == 3) { enemyHitTimer[i] = 0; enemyHit[i] = 0; } } if (enemyHealth[i] < 1) { if (enemyType[i] == "boss_mc") { bossDead = true; atBoss = false; enemy[i].gotoAndStop(3); _root.attachMovie("bossDeath4", "bossDeath4", _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); } if ((enemyType[i] == "static_left") or (enemyType[i] == "flame_gun")) { enemy[i].gotoAndStop(2); } randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); enemy[i].removeMovieClip(); enemy.splice(i, 1); enemyType.splice(i, 1); enemyHealth.splice(i, 1); selfDestruct.splice(i, 1); enemyHitTimer.splice(i, 1); enemyHit.splice(i, 1); enemyShotClock.splice(i, 1); } i--; } i = bomb.length - 1; while (i >= 0) { if (bomb[i].hitTest(player.hit)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:bomb[i]._x, _y:bomb[i]._y}); bomb[i].removeMovieClip(); bomb.splice(i, 1); } bomb[i]._y = bomb[i]._y + 6; if (ground.hitTest(bomb[i]._x, bomb[i]._y, true)) { randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:bomb[i]._x, _y:bomb[i]._y}); bomb[i].removeMovieClip(); bomb.splice(i, 1); } i--; } i = enemyShot.length - 1; while (i >= 0) { if (enemyShot[i]._xscale > 200) { enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); } if (enemyShot[i].hitTest(player.hit)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:enemyShot[i]._x, _y:enemyShot[i]._y}); enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); } if (ground.hitTest(enemyShot[i]._x, enemyShot[i]._y, true)) { randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:enemyShot[i]._x, _y:enemyShot[i]._y}); enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); } i--; } i = coin.length - 1; while (i >= 0) { if (coin[i].hitTest(player)) { numberOfCoins = numberOfCoins + 10; randomNumber++; _root.attachMovie("ping", "ping" + randomNumber, _root.getNextHighestDepth(), {_x:coin[i]._x, _y:coin[i]._y}); coin[i].removeMovieClip(); coin.splice(i, 1); } i--; } i = diamonds.length - 1; while (i >= 0) { if (diamonds[i].hitTest(player)) { diamonds[i].gotoAndStop(2); weapon++; randomNumber++; _root.attachMovie("ping", "ping" + randomNumber, _root.getNextHighestDepth(), {_x:diamonds[i]._x, _y:diamonds[i]._y}); diamonds[i].removeMovieClip(); diamonds.splice(i, 1); } i--; } i = bullets.length - 1; while (i >= 0) { if (playerSelect == 1) { bullets[i].gotoAndStop(1); } if (playerSelect == 2) { bullets[i].gotoAndStop(2); } if (playerSelect == 3) { bullets[i].gotoAndStop(3); } if (playerSelect == 4) { bullets[i].gotoAndStop(4); } l = boxes.length - 1; while (l >= 0) { if (bullets[i].hitTest(boxes[l])) { boxes[l].gotoAndStop(2); randomNumber++; coins_mc = _root.attachMovie("coins", "coins" + randomNumber, _root.getNextHighestDepth(), {_x:boxes[l]._x, _y:boxes[l]._y}); coin.push(coins_mc); randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:boxes[l]._x, _y:boxes[l]._y}); boxes[l].removeMovieClip(); boxes.splice(l, 1); randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } l--; } k = bomb.length - 1; while (k >= 0) { if (bullets[i].hitTest(bomb[k])) { randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:bomb[k]._x, _y:bomb[k]._y}); bomb[k].removeMovieClip(); bomb.splice(k, 1); randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } k--; } j = enemy.length - 1; while (j >= 0) { if (bullets[i].hitTest(enemy[j].hitBox)) { enemyHit[j] = 1; enemyHealth[j] = enemyHealth[j] - (shotPower + hitBoost); if (enemyType[j] == "boss_mc") { if (player._x < 3000) { enemyHealth[j] = enemyHealth[j] + (shotPower + hitBoost); } } randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } j--; } if (ground.hitTest(bullets[i]._x, bullets[i]._y, true)) { randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } i--; } if ((ground.hitTest(player._x, player._y + 11, true) && (jump)) && (!doubleJumping)) { arm_mc._alpha = 100; if (running) { player.gotoAndStop("run"); } else { player.gotoAndStop("idle"); } } else { player.gotoAndStop("jump"); arm_mc._alpha = 0; } if (Key.isDown(68) or Key.isDown(65)) { running = true; } else { running = false; } if (!ground.hitTest(player._x, player._y + 10, true)) { falling = true; grounded = false; } if (ground.hitTest(player._x, player._y + 11, true)) { doubleJumping = false; doubleJump = false; jump = true; grounded = true; falling = false; while (ground.hitTest(player._x, player._y + 9, true)) { player._y--; } } if (falling == true) { gravity = gravity + gravityaccel; } else { gravity = 0; } if (((inControl && (Key.isDown(68))) && (xaccel < maxaccel)) && (falling == true)) { xaccel = xaccel + (runaccelamt - airrisist); } else if (((inControl && (Key.isDown(65))) && (xaccel > (-maxaccel))) && (falling == true)) { xaccel = xaccel - (runaccelamt - airrisist); } else if (((inControl && (Key.isDown(65))) && (xaccel > (-maxaccel))) && (falling == false)) { xaccel = xaccel - runaccelamt; } else if (((inControl && (Key.isDown(68))) && (xaccel < maxaccel)) && (falling == false)) { xaccel = xaccel + runaccelamt; } else if (grounded == true) { if (xaccel > 0) { xaccel = xaccel - friction; } if (xaccel < 0) { xaccel = xaccel + friction; } if ((xaccel < 0) && (xaccel > friction)) { xaccel = 0; } if ((xaccel > 0) && (xaccel < friction)) { xaccel = 0; } } else { if (xaccel > 0) { xaccel = xaccel - airrisist; } if (xaccel < 0) { xaccel = xaccel + airrisist; } if ((xaccel < 0) && (xaccel > airrisist)) { xaccel = 0; } if ((xaccel > 0) && (xaccel < airrisist)) { xaccel = 0; } } if (_root.ground.hitTest(this._x, this._y - 11, true)) { gravity = 1; while (_root.ground.hitTest(this._x, this._y - 10, true)) { this._y++; } } if (_xmouse > player._x) { player._xscale = 100; } if (_xmouse < player._x) { player._xscale = -100; } if (!Key.isDown(87)) { pressOnce = 0; } if ((inControl && (Key.isDown(87))) && (jump == true)) { gravity = gravity - (Math.cos(3.141593 * ((player._rotation * -1) / 180)) * maxjump); if (playerSelect == 2) { _root.attachMovie("dust", "dust", _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } jump = false; doubleJump = true; pressOnce = 1; } if (((inControl && (Key.isDown(87))) && (doubleJump == true)) && (pressOnce == 0)) { gravity = 0; gravity = gravity - (Math.cos(3.141593 * ((player._rotation * -1) / 180)) * maxjump); doubleJump = false; doubleJumping = true; } leftx = player._x + (Math.cos(3.141593 * (((player._rotation * -1) + 180) / 180)) * 7); lefty = player._y - (Math.sin(3.141593 * (((player._rotation * -1) + 180) / 180)) * 7); rightx = player._x + (Math.cos(3.141593 * ((player._rotation * -1) / 180)) * 7); righty = player._y - (Math.sin(3.141593 * ((player._rotation * -1) / 180)) * 7); if (ground.hitTest(leftx, lefty, true)) { xaccel = 0; player._x++; } if (ground.hitTest(rightx, righty, true)) { xaccel = 0; player._x--; } if (cam._y > 310) { cam._y = 310; } if (cam._x > 3529) { cam._x = 3529; } if (cam._x < 320) { cam._x = 320; } crosshair._x = _xmouse; crosshair._y = _ymouse; bg._x = cam._x; bg._y = cam._y; place._x = player._x; place._y = player._y; endX = player._x; cam._x = cam._x + ((endX - cam._x) / 20); endY = player._y; cam._y = cam._y + ((endY - cam._y) / 20); cam.camControl(); hud._x = cam._x; hud._y = cam._y; hud._xscale = cam.lens._xscale; hud._yscale = cam.lens._yscale; bossWarning._x = cam._x; bossWarning._y = cam._y; bossWarning._xscale = cam.lens._xscale; bossWarning._yscale = cam.lens._yscale; player._y = player._y + gravity; player._x = player._x + xaccel; hud.healthBar._xscale = playerHealth; if (playerHealth > 100) { playerHealth = 100; } if (playerHealth < 1) { shooting = false; playerHealth = 0; inControl = false; player._alpha = 0; arm_mc._alpha = 0; if (transTimer == 0) { _root.attachMovie("bubbs", "bubbs", _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); _root.attachMovie("trans", "trans", _root.getNextHighestDepth(), {_x:cam._x, _y:cam._y}); } transTimer++; if (transTimer > 79) { clearAll(); prevFrame(); } } if (bossDead) { moveOnTimer++; if (moveOnTimer == 89) { _root.attachMovie("stageComplete", "stageComplete", _root.getNextHighestDepth(), {_x:cam._x, _y:cam._y}); } if (moveOnTimer == 110) { _root.attachMovie("trans", "trans", _root.getNextHighestDepth(), {_x:cam._x, _y:cam._y}); } if (moveOnTimer == 189) { clearAll(); stageFourComplete = true; user.data.numberOfCoins_s = numberOfCoins; user.data.weapon_s = weapon; user.data.twoLocked_s = twoLocked; user.data.threeLocked_s = threeLocked; user.data.fourLocked_s = fourLocked; user.data.stageOneComplete_s = stageOneComplete; user.data.stageTwoComplete_s = stageTwoComplete; user.data.stageThreeComplete_s = stageThreeComplete; user.data.stageFourComplete_s = stageFourComplete; user.data.stageFiveComplete_s = stageFiveComplete; user.data.stageSixComplete_s = stageSixComplete; user.data.stageTwoOpen_s = stageTwoOpen; user.data.stageThreeOpen_s = stageThreeOpen; user.data.stageFourOpen_s = stageFourOpen; user.data.stageFiveOpen_s = stageFiveOpen; user.data.stageSixOpen_s = stageSixOpen; user.flush(); gotoAndStop ("stageSelect"); } } if (weapon < 0) { weapon = 0; } if (weapon > 5) { weapon = 5; } if (player._y > 420) { playerHealth = 0; } if (player._x > 3000) { atBoss = true; if (showWarning) { _root.attachMovie("bossWarning", "bossWarning", _root.getNextHighestDepth()); showWarning = false; } } if (player._xscale == 100) { myRadiansA = Math.atan2(_root._ymouse - arm_mc._y, _root._xmouse - arm_mc._x); myDegreesA = Math.round((myRadiansA * 180) / Math.PI); arm_mc._rotation = myDegreesA; arm_mc._xscale = 100; } if (player._xscale == -100) { myRadiansA = Math.atan2(_root._ymouse - arm_mc._y, _root._xmouse - arm_mc._x); myDegreesA = Math.round((myRadiansA * 180) / Math.PI) - 180; arm_mc._rotation = myDegreesA; arm_mc._xscale = -100; } stageComplete._x = cam._x; stageComplete._y = cam._y; stageComplete._xscale = cam.lens._xscale; stageComplete._yscale = cam.lens._yscale; arm_mc._x = player._x; arm_mc._y = player._y - 3; hud.cnn.text = numberOfCoins; trans.swapDepths(_root.getNextHighestDepth()); };
Frame 21
player.removeMovieClip(); stopAllSounds(); cam._xscale = 100; cam._yscale = 100; cam._x = that._x; cam._y = that._y; stop();
Instance of Symbol 562 MovieClip in Frame 21
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { getURL ("http://www.longanimalsgames.com/?referral=stargunheroes&refmode=moregames", "_blank"); }
Instance of Symbol 619 MovieClip in Frame 21
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { _root.nextFrame(); }
Instance of Symbol 622 MovieClip in Frame 21
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { _root.gotoAndStop("title"); }
Frame 22
function clearAll() { Mouse.show(); stopAllSounds(); hud.removeMovieClip(); place.removeMovieClip(); bossWarning.removeMovieClip(); crosshair.removeMovieClip(); arm_mc.removeMovieClip(); i = diamonds.length - 1; while (i >= 0) { diamonds[i].removeMovieClip(); diamonds.splice(i, 1); i--; } i = coin.length - 1; while (i >= 0) { coin[i].removeMovieClip(); coin.splice(i, 1); i--; } i = boxes.length - 1; while (i >= 0) { boxes[i].removeMovieClip(); boxes.splice(i, 1); i--; } i = enemy.length - 1; while (i >= 0) { enemy[i].removeMovieClip(); enemy.splice(i, 1); i--; } i = enemyType.length - 1; while (i >= 0) { enemyType.splice(i, 1); i--; } i = enemyHealth.length - 1; while (i >= 0) { enemyHealth.splice(i, 1); i--; } i = selfDestruct.length - 1; while (i >= 0) { selfDestruct.splice(i, 1); i--; } i = enemyHit.length - 1; while (i >= 0) { enemyHit.splice(i, 1); i--; } i = enemyHitTimer.length - 1; while (i >= 0) { enemyHitTimer.splice(i, 1); i--; } i = enemyShotClock.length - 1; while (i >= 0) { enemyShotClock.splice(i, 1); i--; } i = bullets.length - 1; while (i >= 0) { bullets[i].removeMovieClip(); bullets.splice(i, 1); i--; } i = enemyShot.length - 1; while (i >= 0) { enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); i--; } i = bomb.length - 1; while (i >= 0) { bomb[i].removeMovieClip(); bomb.splice(i, 1); i--; } } stop(); shotsnd = new Sound(); shotsnd.attachSound("reflect"); _root.attachMovie("hud", "hud", _root.getNextHighestDepth()); if (playerSelect == 5) { hitBoost = 3; maxaccel = 5; maxjump = 3; playerStrength = 10; hud.faces.gotoAndStop(5); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(5); _root.attachMovie("hiddenGuy", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 1) { hitBoost = 0; maxaccel = 3; maxjump = 3; playerStrength = 10; _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(1); _root.attachMovie("player", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 2) { hitBoost = 0; maxaccel = 5; maxjump = 5; playerStrength = 8; hud.faces.gotoAndStop(2); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(2); _root.attachMovie("playerTwo", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 3) { hitBoost = 1.5; maxaccel = 3.5; maxjump = 3; playerStrength = 5; hud.faces.gotoAndStop(3); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(3); _root.attachMovie("playerThree", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 4) { hitBoost = 2; maxaccel = 5; maxjump = 3; playerStrength = 10; hud.faces.gotoAndStop(4); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(4); _root.attachMovie("playerFour", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } _root.attachMovie("crosshair", "crosshair", _root.getNextHighestDepth()); _root.attachMovie("place", "place", _root.getNextHighestDepth()); atBoss = false; bossDead = false; moveOnTimer = 0; arm_mc.spark._alpha = 0; place._alpha = 0; crosshair._xscale = 50; crosshair._yscale = 50; Mouse.hide(); cam._xscale = 100; cam._yscale = 100; showWarning = true; transTimer = 0; randomNumber = 0; running = false; gravity = 0; gravityaccel = 0.2; xaccel = 0; runaccelamt = 0.3; friction = 0.5; airrisist = 0.05; doubleJump = false; doubleJumping = false; jump = true; pressOnce = 0; playerDamaged = 0; playerDamagedTimer = 0; cam.lens._xscale = 50; cam.lens._yscale = 50; damaged = false; inControl = true; fireRate = 300; shotPower = 1; shootingTimer = 0; shooting = false; addEnemyTimer = 0; choice = 0; playerHealth = 100; var diamonds = new Array(); diamonds.push(d1, d2, d3); var coin = new Array(); var boxes = new Array(); boxes.push(box1, box2, box3, box4, box5, box6, box7, box8, box9, box10, box11); var enemy = new Array(); enemy.push(enemy1, enemy2, enemy3, enemy4, enemy5, enemy6, enemy7, flame1, flame2, flame3, flame4, flame5, flame6); var enemyType = new Array(); enemyType.push("static_left", "static_left", "static_left", "static_left", "static_left", "static_left", "static_left", "flame_gun", "flame_gun", "flame_gun", "flame_gun", "flame_gun", "flame_gun"); var enemyHealth = new Array(); enemyHealth.push(20, 20, 20, 20, 20, 20, 30, 30, 30, 40, 40, 40, 40); var selfDestruct = new Array(); selfDestruct.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var enemyHit = new Array(); enemyHit.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var enemyHitTimer = new Array(); enemyHitTimer.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var enemyShotClock = new Array(); enemyShotClock.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var bullets = new Array(); var enemyShot = new Array(); var bomb = new Array(); onMouseDown = function () { if ((!damaged) && (inControl)) { shooting = true; } }; onMouseUp = function () { shooting = false; }; player.onEnterFrame = function () { if (playerDamaged == 0) { myColor = new Color(player); myColorTransform = new Object(); myColorTransform = {rb:0, gb:0, bb:0}; myColor.setTransform(myColorTransform); } if (playerDamaged == 1) { myColor = new Color(player); myColorTransform = new Object(); myColorTransform = {rb:200, gb:200, bb:200}; myColor.setTransform(myColorTransform); playerDamagedTimer++; if (playerDamagedTimer == 1) { weapon--; playerDamaged = 0; playerDamagedTimer = 0; } } if (player._x < 3000) { if ((addEnemyTimer + 1500) < getTimer()) { addEnemyTimer = getTimer(); choice = Math.round(Math.random() * 1) + 0; if (choice == 0) { randomNumber++; metalBee_mc = _root.attachMovie("metalBee", "metalBee" + randomNumber, _root.getNextHighestDepth(), {_x:cam._x - 800, _y:player._y - 60}); metalBee_mc._xscale = -100; enemy.push(metalBee_mc); enemyType.push("metal_bee"); enemyHealth.push(5); selfDestruct.push(500); enemyHitTimer.push(0); enemyHit.push(0); enemyShotClock.push(0); } if (choice == 1) { randomNumber++; metalBee_mc = _root.attachMovie("metalBee", "metalBee" + randomNumber, _root.getNextHighestDepth(), {_x:cam._x + 800, _y:player._y - 60}); enemy.push(metalBee_mc); enemyType.push("metal_bee"); enemyHealth.push(5); selfDestruct.push(500); enemyHitTimer.push(0); enemyHit.push(0); enemyShotClock.push(0); } } } if (!shooting) { arm_mc.spark._alpha = 0; } myRadians = Math.atan2(_root._ymouse - place._y, _root._xmouse - place._x); myDegrees = Math.round((myRadians * 180) / Math.PI); place._rotation = myDegrees; if (shooting) { if (weapon == 0) { fireRate = 300; shotPower = 1; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 1) { fireRate = 500; shotPower = 1; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation - 6; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation + 6; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 2) { shotPower = 1.5; fireRate = 200; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("laser", "laser" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 3) { shotPower = 2; fireRate = 200; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("laser", "laser" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 200; bullet_mc._xscale = 600; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 4) { shotPower = 2.5; fireRate = 200; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 5) { shotPower = 2.5; fireRate = 100; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 50; bullet_mc._xscale = 50; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 50; bullet_mc._xscale = 50; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation + 15; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 50; bullet_mc._xscale = 50; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation - 15; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } } if (player.hitTest(beamer_mc.beam)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - 1; playerDamaged = 1; } i = enemy.length - 1; while (i >= 0) { if (enemyType[i] == "flame_gun") { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (player.hitTest(enemy[i].area)) { enemyShotClock[i]++; if (enemyShotClock[i] == 3) { enemyShotClock[i] = 0; randomNumber++; enemyBullet_mc = _root.attachMovie("flameBullet", "flameBullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x - 10, _y:enemy[i]._y - 30}); enemyShot.push(enemyBullet_mc); enemyBullet_mc.onEnterFrame = function () { this._xscale = this._xscale + 5; this._yscale = this._yscale + 5; this._y = this._y - 5; }; } } } if (enemyType[i] == "static_left") { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (player.hitTest(enemy[i].area)) { enemyShotClock[i]++; if (enemyShotClock[i] == 30) { enemyShotClock[i] = 0; randomNumber++; enemyBullet_mc = _root.attachMovie("enemyBullet", "enemyBullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x - 15, _y:enemy[i]._y - 3}); enemyShot.push(enemyBullet_mc); enemyBullet_mc.onEnterFrame = function () { this._x = this._x - 5; }; } } } if ((enemyType[i] == "metal_bee") && (enemy[i]._xscale == -100)) { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (enemy[i].marker.hitTest(player)) { enemy[i].marker.gotoAndStop(2); randomNumber++; bombs_mc = _root.attachMovie("bombs", "bombs" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); bomb.push(bombs_mc); } selfDestruct[i]--; enemy[i]._x = enemy[i]._x + 3; if (selfDestruct[i] < 1) { enemyHealth[i] = 0; } if (player._x > 3000) { enemyHealth[i] = 0; } } if ((enemyType[i] == "metal_bee") && (enemy[i]._xscale == 100)) { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (enemy[i].marker.hitTest(player)) { enemy[i].marker.gotoAndStop(2); randomNumber++; bombs_mc = _root.attachMovie("bombs", "bombs" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); bomb.push(bombs_mc); } selfDestruct[i]--; enemy[i]._x = enemy[i]._x - 3; if (selfDestruct[i] < 1) { enemyHealth[i] = 0; } if (player._x > 3000) { enemyHealth[i] = 0; } } if (enemyHit[i] == 0) { myColor = new Color(enemy[i]); myColorTransform = new Object(); myColorTransform = {rb:0, gb:0, bb:0}; myColor.setTransform(myColorTransform); } if (enemyHit[i] == 1) { myColor = new Color(enemy[i]); myColorTransform = new Object(); myColorTransform = {rb:200, gb:200, bb:200}; myColor.setTransform(myColorTransform); enemyHitTimer[i]++; if (enemyHitTimer[i] == 3) { enemyHitTimer[i] = 0; enemyHit[i] = 0; } } if (enemyHealth[i] < 1) { if ((enemyType[i] == "static_left") or (enemyType[i] == "flame_gun")) { enemy[i].gotoAndStop(2); } randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); enemy[i].removeMovieClip(); enemy.splice(i, 1); enemyType.splice(i, 1); enemyHealth.splice(i, 1); selfDestruct.splice(i, 1); enemyHitTimer.splice(i, 1); enemyHit.splice(i, 1); enemyShotClock.splice(i, 1); } i--; } i = bomb.length - 1; while (i >= 0) { if (bomb[i].hitTest(player.hit)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:bomb[i]._x, _y:bomb[i]._y}); bomb[i].removeMovieClip(); bomb.splice(i, 1); } bomb[i]._y = bomb[i]._y + 6; if (ground.hitTest(bomb[i]._x, bomb[i]._y, true)) { randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:bomb[i]._x, _y:bomb[i]._y}); bomb[i].removeMovieClip(); bomb.splice(i, 1); } i--; } i = enemyShot.length - 1; while (i >= 0) { if (enemyShot[i]._xscale > 200) { enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); } if (enemyShot[i].hitTest(player.hit)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:enemyShot[i]._x, _y:enemyShot[i]._y}); enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); } if (ground.hitTest(enemyShot[i]._x, enemyShot[i]._y, true)) { randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:enemyShot[i]._x, _y:enemyShot[i]._y}); enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); } i--; } i = coin.length - 1; while (i >= 0) { if (coin[i].hitTest(player)) { numberOfCoins = numberOfCoins + 10; randomNumber++; _root.attachMovie("ping", "ping" + randomNumber, _root.getNextHighestDepth(), {_x:coin[i]._x, _y:coin[i]._y}); coin[i].removeMovieClip(); coin.splice(i, 1); } i--; } i = diamonds.length - 1; while (i >= 0) { if (diamonds[i].hitTest(player)) { diamonds[i].gotoAndStop(2); weapon++; randomNumber++; _root.attachMovie("ping", "ping" + randomNumber, _root.getNextHighestDepth(), {_x:diamonds[i]._x, _y:diamonds[i]._y}); diamonds[i].removeMovieClip(); diamonds.splice(i, 1); } i--; } i = bullets.length - 1; while (i >= 0) { if (playerSelect == 1) { bullets[i].gotoAndStop(1); } if (playerSelect == 2) { bullets[i].gotoAndStop(2); } if (playerSelect == 3) { bullets[i].gotoAndStop(3); } if (playerSelect == 4) { bullets[i].gotoAndStop(4); } l = boxes.length - 1; while (l >= 0) { if (bullets[i].hitTest(boxes[l])) { boxes[l].gotoAndStop(2); randomNumber++; coins_mc = _root.attachMovie("coins", "coins" + randomNumber, _root.getNextHighestDepth(), {_x:boxes[l]._x, _y:boxes[l]._y}); coin.push(coins_mc); randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:boxes[l]._x, _y:boxes[l]._y}); boxes[l].removeMovieClip(); boxes.splice(l, 1); randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } l--; } k = bomb.length - 1; while (k >= 0) { if (bullets[i].hitTest(bomb[k])) { randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:bomb[k]._x, _y:bomb[k]._y}); bomb[k].removeMovieClip(); bomb.splice(k, 1); randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } k--; } j = enemy.length - 1; while (j >= 0) { if (bullets[i].hitTest(enemy[j].hitBox)) { enemyHit[j] = 1; enemyHealth[j] = enemyHealth[j] - (shotPower + hitBoost); if (enemyType[j] == "boss_mc") { if (player._x < 3000) { enemyHealth[j] = enemyHealth[j] + (shotPower + hitBoost); } } randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } j--; } if (ground.hitTest(bullets[i]._x, bullets[i]._y, true)) { randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } i--; } if ((ground.hitTest(player._x, player._y + 11, true) && (jump)) && (!doubleJumping)) { arm_mc._alpha = 100; if (running) { player.gotoAndStop("run"); } else { player.gotoAndStop("idle"); } } else { player.gotoAndStop("jump"); arm_mc._alpha = 0; } if (Key.isDown(68) or Key.isDown(65)) { running = true; } else { running = false; } if (!ground.hitTest(player._x, player._y + 10, true)) { falling = true; grounded = false; } if (ground.hitTest(player._x, player._y + 11, true)) { doubleJumping = false; doubleJump = false; jump = true; grounded = true; falling = false; while (ground.hitTest(player._x, player._y + 9, true)) { player._y--; } } if (falling == true) { gravity = gravity + gravityaccel; } else { gravity = 0; } if (((inControl && (Key.isDown(68))) && (xaccel < maxaccel)) && (falling == true)) { xaccel = xaccel + (runaccelamt - airrisist); } else if (((inControl && (Key.isDown(65))) && (xaccel > (-maxaccel))) && (falling == true)) { xaccel = xaccel - (runaccelamt - airrisist); } else if (((inControl && (Key.isDown(65))) && (xaccel > (-maxaccel))) && (falling == false)) { xaccel = xaccel - runaccelamt; } else if (((inControl && (Key.isDown(68))) && (xaccel < maxaccel)) && (falling == false)) { xaccel = xaccel + runaccelamt; } else if (grounded == true) { if (xaccel > 0) { xaccel = xaccel - friction; } if (xaccel < 0) { xaccel = xaccel + friction; } if ((xaccel < 0) && (xaccel > friction)) { xaccel = 0; } if ((xaccel > 0) && (xaccel < friction)) { xaccel = 0; } } else { if (xaccel > 0) { xaccel = xaccel - airrisist; } if (xaccel < 0) { xaccel = xaccel + airrisist; } if ((xaccel < 0) && (xaccel > airrisist)) { xaccel = 0; } if ((xaccel > 0) && (xaccel < airrisist)) { xaccel = 0; } } if (_root.ground.hitTest(this._x, this._y - 11, true)) { gravity = 1; while (_root.ground.hitTest(this._x, this._y - 10, true)) { this._y++; } } if (_xmouse > player._x) { player._xscale = 100; } if (_xmouse < player._x) { player._xscale = -100; } if (!Key.isDown(87)) { pressOnce = 0; } if ((inControl && (Key.isDown(87))) && (jump == true)) { gravity = gravity - (Math.cos(3.141593 * ((player._rotation * -1) / 180)) * maxjump); if (playerSelect == 2) { _root.attachMovie("dust", "dust", _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } jump = false; doubleJump = true; pressOnce = 1; } if (((inControl && (Key.isDown(87))) && (doubleJump == true)) && (pressOnce == 0)) { gravity = 0; gravity = gravity - (Math.cos(3.141593 * ((player._rotation * -1) / 180)) * maxjump); doubleJump = false; doubleJumping = true; } leftx = player._x + (Math.cos(3.141593 * (((player._rotation * -1) + 180) / 180)) * 7); lefty = player._y - (Math.sin(3.141593 * (((player._rotation * -1) + 180) / 180)) * 7); rightx = player._x + (Math.cos(3.141593 * ((player._rotation * -1) / 180)) * 7); righty = player._y - (Math.sin(3.141593 * ((player._rotation * -1) / 180)) * 7); if (ground.hitTest(leftx, lefty, true)) { xaccel = 0; player._x++; } if (ground.hitTest(rightx, righty, true)) { xaccel = 0; player._x--; } if (cam._y > 310) { cam._y = 310; } if (cam._x > 3529) { cam._x = 3529; } if (cam._x < 320) { cam._x = 320; } crosshair._x = _xmouse; crosshair._y = _ymouse; bg._x = cam._x; bg._y = cam._y; place._x = player._x; place._y = player._y; endX = player._x; cam._x = cam._x + ((endX - cam._x) / 20); endY = player._y; cam._y = cam._y + ((endY - cam._y) / 20); cam.camControl(); hud._x = cam._x; hud._y = cam._y; hud._xscale = cam.lens._xscale; hud._yscale = cam.lens._yscale; bossWarning._x = cam._x; bossWarning._y = cam._y; bossWarning._xscale = cam.lens._xscale; bossWarning._yscale = cam.lens._yscale; player._y = player._y + gravity; player._x = player._x + xaccel; hud.healthBar._xscale = playerHealth; if (playerHealth > 100) { playerHealth = 100; } if (playerHealth < 1) { shooting = false; playerHealth = 0; inControl = false; player._alpha = 0; arm_mc._alpha = 0; if (transTimer == 0) { _root.attachMovie("bubbs", "bubbs", _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); _root.attachMovie("trans", "trans", _root.getNextHighestDepth(), {_x:cam._x, _y:cam._y}); } transTimer++; if (transTimer > 79) { clearAll(); prevFrame(); } } if (bossDead) { moveOnTimer++; if (moveOnTimer == 89) { _root.attachMovie("stageComplete", "stageComplete", _root.getNextHighestDepth(), {_x:cam._x, _y:cam._y}); } if (moveOnTimer == 110) { _root.attachMovie("trans", "trans", _root.getNextHighestDepth(), {_x:cam._x, _y:cam._y}); } if (moveOnTimer == 189) { clearAll(); stageFiveComplete = true; user.data.numberOfCoins_s = numberOfCoins; user.data.weapon_s = weapon; user.data.twoLocked_s = twoLocked; user.data.threeLocked_s = threeLocked; user.data.fourLocked_s = fourLocked; user.data.stageOneComplete_s = stageOneComplete; user.data.stageTwoComplete_s = stageTwoComplete; user.data.stageThreeComplete_s = stageThreeComplete; user.data.stageFourComplete_s = stageFourComplete; user.data.stageFiveComplete_s = stageFiveComplete; user.data.stageSixComplete_s = stageSixComplete; user.data.stageTwoOpen_s = stageTwoOpen; user.data.stageThreeOpen_s = stageThreeOpen; user.data.stageFourOpen_s = stageFourOpen; user.data.stageFiveOpen_s = stageFiveOpen; user.data.stageSixOpen_s = stageSixOpen; user.flush(); gotoAndStop ("stageSelect"); } } if (weapon < 0) { weapon = 0; } if (weapon > 5) { weapon = 5; } if (player._y > 420) { playerHealth = 0; } if (player._x > 3300) { bossDead = true; } if (player._xscale == 100) { myRadiansA = Math.atan2(_root._ymouse - arm_mc._y, _root._xmouse - arm_mc._x); myDegreesA = Math.round((myRadiansA * 180) / Math.PI); arm_mc._rotation = myDegreesA; arm_mc._xscale = 100; } if (player._xscale == -100) { myRadiansA = Math.atan2(_root._ymouse - arm_mc._y, _root._xmouse - arm_mc._x); myDegreesA = Math.round((myRadiansA * 180) / Math.PI) - 180; arm_mc._rotation = myDegreesA; arm_mc._xscale = -100; } stageComplete._x = cam._x; stageComplete._y = cam._y; stageComplete._xscale = cam.lens._xscale; stageComplete._yscale = cam.lens._yscale; arm_mc._x = player._x; arm_mc._y = player._y - 3; hud.cnn.text = numberOfCoins; trans.swapDepths(_root.getNextHighestDepth()); };
Frame 23
player.removeMovieClip(); stopAllSounds(); cam._xscale = 100; cam._yscale = 100; cam._x = that._x; cam._y = that._y; stop();
Instance of Symbol 562 MovieClip in Frame 23
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { getURL ("http://www.longanimalsgames.com/?referral=stargunheroes&refmode=moregames", "_blank"); }
Instance of Symbol 619 MovieClip in Frame 23
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { _root.nextFrame(); }
Instance of Symbol 622 MovieClip in Frame 23
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { _root.gotoAndStop("title"); }
Frame 24
function clearAll() { Mouse.show(); hud.removeMovieClip(); place.removeMovieClip(); bossWarning.removeMovieClip(); crosshair.removeMovieClip(); arm_mc.removeMovieClip(); i = diamonds.length - 1; while (i >= 0) { diamonds[i].removeMovieClip(); diamonds.splice(i, 1); i--; } i = coin.length - 1; while (i >= 0) { coin[i].removeMovieClip(); coin.splice(i, 1); i--; } i = boxes.length - 1; while (i >= 0) { boxes[i].removeMovieClip(); boxes.splice(i, 1); i--; } i = enemy.length - 1; while (i >= 0) { enemy[i].removeMovieClip(); enemy.splice(i, 1); i--; } i = enemyType.length - 1; while (i >= 0) { enemyType.splice(i, 1); i--; } i = enemyHealth.length - 1; while (i >= 0) { enemyHealth.splice(i, 1); i--; } i = selfDestruct.length - 1; while (i >= 0) { selfDestruct.splice(i, 1); i--; } i = enemyHit.length - 1; while (i >= 0) { enemyHit.splice(i, 1); i--; } i = enemyHitTimer.length - 1; while (i >= 0) { enemyHitTimer.splice(i, 1); i--; } i = enemyShotClock.length - 1; while (i >= 0) { enemyShotClock.splice(i, 1); i--; } i = bullets.length - 1; while (i >= 0) { bullets[i].removeMovieClip(); bullets.splice(i, 1); i--; } i = enemyShot.length - 1; while (i >= 0) { enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); i--; } i = bomb.length - 1; while (i >= 0) { bomb[i].removeMovieClip(); bomb.splice(i, 1); i--; } } stop(); shotsnd = new Sound(); shotsnd.attachSound("reflect"); _root.attachMovie("hud", "hud", _root.getNextHighestDepth()); if (playerSelect == 5) { hitBoost = 3; maxaccel = 5; maxjump = 3; playerStrength = 10; hud.faces.gotoAndStop(5); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(5); _root.attachMovie("hiddenGuy", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 1) { hitBoost = 0; maxaccel = 3; maxjump = 3; playerStrength = 10; _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(1); _root.attachMovie("player", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 2) { hitBoost = 0; maxaccel = 5; maxjump = 5; playerStrength = 8; hud.faces.gotoAndStop(2); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(2); _root.attachMovie("playerTwo", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 3) { hitBoost = 1.5; maxaccel = 3.5; maxjump = 3; playerStrength = 5; hud.faces.gotoAndStop(3); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(3); _root.attachMovie("playerThree", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } if (playerSelect == 4) { hitBoost = 2; maxaccel = 5; maxjump = 3; playerStrength = 10; hud.faces.gotoAndStop(4); _root.attachMovie("arm_mc", "arm_mc", _root.getNextHighestDepth()); arm_mc.gotoAndStop(4); _root.attachMovie("playerFour", "player", _root.getNextHighestDepth(), {_x:startPoint._x, _y:startPoint._y}); } _root.attachMovie("crosshair", "crosshair", _root.getNextHighestDepth()); _root.attachMovie("place", "place", _root.getNextHighestDepth()); atBoss = false; bossDead = false; moveOnTimer = 0; arm_mc.spark._alpha = 0; place._alpha = 0; crosshair._xscale = 50; crosshair._yscale = 50; Mouse.hide(); cam._xscale = 100; cam._yscale = 100; showWarning = true; transTimer = 0; randomNumber = 0; running = false; gravity = 0; gravityaccel = 0.2; xaccel = 0; runaccelamt = 0.3; friction = 0.5; airrisist = 0.05; doubleJump = false; doubleJumping = false; jump = true; pressOnce = 0; playerDamaged = 0; playerDamagedTimer = 0; cam.lens._xscale = 50; cam.lens._yscale = 50; damaged = false; inControl = true; fireRate = 300; shotPower = 1; shootingTimer = 0; shooting = false; addEnemyTimer = 0; choice = 0; playerHealth = 100; var diamonds = new Array(); diamonds.push(d1, d2, d3); var coin = new Array(); var boxes = new Array(); boxes.push(box1, box2, box3, box4, box5, box6, box7, box8, box9, box10, box11); var enemy = new Array(); enemy.push(enemy1, enemy2, enemy3, enemy4, enemy5, enemy6, enemy7, flame1, flame2, flame3, flame4, flame5, flame6, boss); var enemyType = new Array(); enemyType.push("static_left", "static_left", "static_left", "static_left", "static_left", "static_left", "static_left", "flame_gun", "flame_gun", "flame_gun", "flame_gun", "flame_gun", "flame_gun", "boss_mc"); var enemyHealth = new Array(); enemyHealth.push(30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 300); var selfDestruct = new Array(); selfDestruct.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var enemyHit = new Array(); enemyHit.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var enemyHitTimer = new Array(); enemyHitTimer.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var enemyShotClock = new Array(); enemyShotClock.push(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var bullets = new Array(); var enemyShot = new Array(); var bomb = new Array(); onMouseDown = function () { if ((!damaged) && (inControl)) { shooting = true; } }; onMouseUp = function () { shooting = false; }; player.onEnterFrame = function () { if (playerDamaged == 0) { myColor = new Color(player); myColorTransform = new Object(); myColorTransform = {rb:0, gb:0, bb:0}; myColor.setTransform(myColorTransform); } if (playerDamaged == 1) { myColor = new Color(player); myColorTransform = new Object(); myColorTransform = {rb:200, gb:200, bb:200}; myColor.setTransform(myColorTransform); playerDamagedTimer++; if (playerDamagedTimer == 1) { weapon--; playerDamaged = 0; playerDamagedTimer = 0; } } if (player._x < 3000) { if ((addEnemyTimer + 1500) < getTimer()) { addEnemyTimer = getTimer(); choice = Math.round(Math.random() * 1) + 0; if (choice == 0) { randomNumber++; metalBee_mc = _root.attachMovie("metalBee", "metalBee" + randomNumber, _root.getNextHighestDepth(), {_x:cam._x - 800, _y:player._y - 60}); metalBee_mc._xscale = -100; enemy.push(metalBee_mc); enemyType.push("metal_bee"); enemyHealth.push(1); selfDestruct.push(500); enemyHitTimer.push(0); enemyHit.push(0); enemyShotClock.push(0); } if (choice == 1) { randomNumber++; metalBee_mc = _root.attachMovie("metalBee", "metalBee" + randomNumber, _root.getNextHighestDepth(), {_x:cam._x + 800, _y:player._y - 60}); enemy.push(metalBee_mc); enemyType.push("metal_bee"); enemyHealth.push(1); selfDestruct.push(500); enemyHitTimer.push(0); enemyHit.push(0); enemyShotClock.push(0); } } } if (!shooting) { arm_mc.spark._alpha = 0; } myRadians = Math.atan2(_root._ymouse - place._y, _root._xmouse - place._x); myDegrees = Math.round((myRadians * 180) / Math.PI); place._rotation = myDegrees; if (shooting) { if (weapon == 0) { fireRate = 300; shotPower = 1; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 1) { fireRate = 500; shotPower = 1; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation - 6; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullets.push(bullet_mc); angle = place._rotation + 6; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 2) { shotPower = 1.5; fireRate = 200; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("laser", "laser" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 3) { shotPower = 2; fireRate = 200; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("laser", "laser" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 200; bullet_mc._xscale = 600; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 4) { shotPower = 2.5; fireRate = 200; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } if (weapon == 5) { shotPower = 2.5; fireRate = 100; if ((shootingTimer + fireRate) < getTimer()) { shootingTimer = getTimer(); arm_mc.spark._alpha = 100; shotsnd.start(); randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 50; bullet_mc._xscale = 50; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 50; bullet_mc._xscale = 50; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation + 15; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; randomNumber++; bullet_mc = _root.attachMovie("largeBullet", "largeBullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); bullet_mc._alpha = 0; bullet_mc._yscale = 50; bullet_mc._xscale = 50; bullet_mc._rotation = place._rotation; bullets.push(bullet_mc); angle = place._rotation - 15; bullet_mc.dirx = Math.cos((angle * Math.PI) / 180) * 15; bullet_mc.diry = Math.sin((angle * Math.PI) / 180) * 15; bullet_mc.onEnterFrame = function () { if (!this.hitTest(player)) { this._alpha = 100; } this._x = this._x + this.dirx; this._y = this._y + this.diry; }; } } } if (player.hitTest(beamer_mc.beam)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - 2.5; playerDamaged = 1; } i = enemy.length - 1; while (i >= 0) { if (enemyType[i] == "boss_mc") { if (enemy[i].hitBox.hitTest(player.hit)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - 0.1; playerDamaged = 1; } if (atBoss) { enemyShotClock[i]++; if (enemyShotClock[i] < 60) { enemy[i].gotoAndStop("warning"); } if (enemyShotClock[i] > 60) { selfDestruct[i]++; if (selfDestruct[i] == 15) { selfDestruct[i] = 0; randomNumber++; bombs_mc = _root.attachMovie("bombs", "bombs" + randomNumber, _root.getNextHighestDepth(), {_x:((cam._x + 320) - Math.round(Math.random() * 640)) + 0, _y:0}); bomb.push(bombs_mc); randomNumber++; beamer_mc = _root.attachMovie("bossAttack", "bossAttack" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); myColor = new Color(beamer_mc); myColorTransform = new Object(); myColorTransform = {rb:0, gb:100, bb:0}; myColor.setTransform(myColorTransform); } enemy[i].gotoAndStop("shooting"); } if (enemyShotClock[i] > 150) { enemyShotClock[i] = 0; selfDestruct[i] = 0; } } } if (enemyType[i] == "flame_gun") { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (player.hitTest(enemy[i].area)) { enemyShotClock[i]++; if (enemyShotClock[i] == 3) { enemyShotClock[i] = 0; randomNumber++; enemyBullet_mc = _root.attachMovie("flameBullet", "flameBullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x - 10, _y:enemy[i]._y - 30}); enemyShot.push(enemyBullet_mc); enemyBullet_mc.onEnterFrame = function () { this._xscale = this._xscale + 5; this._yscale = this._yscale + 5; this._y = this._y - 5; }; } } } if (enemyType[i] == "static_left") { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (player.hitTest(enemy[i].area)) { enemyShotClock[i]++; if (enemyShotClock[i] == 30) { enemyShotClock[i] = 0; randomNumber++; enemyBullet_mc = _root.attachMovie("enemyBullet", "enemyBullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x - 15, _y:enemy[i]._y - 3}); enemyShot.push(enemyBullet_mc); enemyBullet_mc.onEnterFrame = function () { this._x = this._x - 5; }; } } } if ((enemyType[i] == "metal_bee") && (enemy[i]._xscale == -100)) { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (enemy[i].marker.hitTest(player)) { enemy[i].marker.gotoAndStop(2); randomNumber++; bombs_mc = _root.attachMovie("bombs", "bombs" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); bomb.push(bombs_mc); } selfDestruct[i]--; enemy[i]._x = enemy[i]._x + 3; if (selfDestruct[i] < 1) { enemyHealth[i] = 0; } if (player._x > 3000) { enemyHealth[i] = 0; } } if ((enemyType[i] == "metal_bee") && (enemy[i]._xscale == 100)) { if (enemy[i].hitBox.hitTest(player.hit)) { enemyHealth[i] = 0; if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; } if (enemy[i].marker.hitTest(player)) { enemy[i].marker.gotoAndStop(2); randomNumber++; bombs_mc = _root.attachMovie("bombs", "bombs" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); bomb.push(bombs_mc); } selfDestruct[i]--; enemy[i]._x = enemy[i]._x - 3; if (selfDestruct[i] < 1) { enemyHealth[i] = 0; } if (player._x > 3000) { enemyHealth[i] = 0; } } if (enemyHit[i] == 0) { myColor = new Color(enemy[i]); myColorTransform = new Object(); myColorTransform = {rb:0, gb:0, bb:0}; myColor.setTransform(myColorTransform); } if (enemyHit[i] == 1) { myColor = new Color(enemy[i]); myColorTransform = new Object(); myColorTransform = {rb:200, gb:200, bb:200}; myColor.setTransform(myColorTransform); enemyHitTimer[i]++; if (enemyHitTimer[i] == 3) { enemyHitTimer[i] = 0; enemyHit[i] = 0; } } if (enemyHealth[i] < 1) { if (enemyType[i] == "boss_mc") { bossDead = true; atBoss = false; enemy[i].gotoAndStop(3); _root.attachMovie("bossDeath5", "bossDeath5", _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); } if ((enemyType[i] == "static_left") or (enemyType[i] == "flame_gun")) { enemy[i].gotoAndStop(2); } randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y}); enemy[i].removeMovieClip(); enemy.splice(i, 1); enemyType.splice(i, 1); enemyHealth.splice(i, 1); selfDestruct.splice(i, 1); enemyHitTimer.splice(i, 1); enemyHit.splice(i, 1); enemyShotClock.splice(i, 1); } i--; } i = bomb.length - 1; while (i >= 0) { if (bomb[i].hitTest(player.hit)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:bomb[i]._x, _y:bomb[i]._y}); bomb[i].removeMovieClip(); bomb.splice(i, 1); } bomb[i]._y = bomb[i]._y + 6; if (ground.hitTest(bomb[i]._x, bomb[i]._y, true)) { randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:bomb[i]._x, _y:bomb[i]._y}); bomb[i].removeMovieClip(); bomb.splice(i, 1); } i--; } i = enemyShot.length - 1; while (i >= 0) { if (enemyShot[i]._xscale > 200) { enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); } if (enemyShot[i].hitTest(player.hit)) { if (weapon > 0) { _root.attachMovie("lostIt", "lostIt" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } playerHealth = playerHealth - playerStrength; playerDamaged = 1; randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:enemyShot[i]._x, _y:enemyShot[i]._y}); enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); } if (ground.hitTest(enemyShot[i]._x, enemyShot[i]._y, true)) { randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:enemyShot[i]._x, _y:enemyShot[i]._y}); enemyShot[i].removeMovieClip(); enemyShot.splice(i, 1); } i--; } i = coin.length - 1; while (i >= 0) { if (coin[i].hitTest(player)) { numberOfCoins = numberOfCoins + 10; randomNumber++; _root.attachMovie("ping", "ping" + randomNumber, _root.getNextHighestDepth(), {_x:coin[i]._x, _y:coin[i]._y}); coin[i].removeMovieClip(); coin.splice(i, 1); } i--; } i = diamonds.length - 1; while (i >= 0) { if (diamonds[i].hitTest(player)) { diamonds[i].gotoAndStop(2); weapon++; randomNumber++; _root.attachMovie("ping", "ping" + randomNumber, _root.getNextHighestDepth(), {_x:diamonds[i]._x, _y:diamonds[i]._y}); diamonds[i].removeMovieClip(); diamonds.splice(i, 1); } i--; } i = bullets.length - 1; while (i >= 0) { if (playerSelect == 1) { bullets[i].gotoAndStop(1); } if (playerSelect == 2) { bullets[i].gotoAndStop(2); } if (playerSelect == 3) { bullets[i].gotoAndStop(3); } if (playerSelect == 4) { bullets[i].gotoAndStop(4); } l = boxes.length - 1; while (l >= 0) { if (bullets[i].hitTest(boxes[l])) { boxes[l].gotoAndStop(2); randomNumber++; coins_mc = _root.attachMovie("coins", "coins" + randomNumber, _root.getNextHighestDepth(), {_x:boxes[l]._x, _y:boxes[l]._y}); coin.push(coins_mc); randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:boxes[l]._x, _y:boxes[l]._y}); boxes[l].removeMovieClip(); boxes.splice(l, 1); randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } l--; } k = bomb.length - 1; while (k >= 0) { if (bullets[i].hitTest(bomb[k])) { randomNumber++; _root.attachMovie("explosion", "explosion" + randomNumber, _root.getNextHighestDepth(), {_x:bomb[k]._x, _y:bomb[k]._y}); bomb[k].removeMovieClip(); bomb.splice(k, 1); randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } k--; } j = enemy.length - 1; while (j >= 0) { if (bullets[i].hitTest(enemy[j].hitBox)) { enemyHit[j] = 1; enemyHealth[j] = enemyHealth[j] - (shotPower + hitBoost); if (enemyType[j] == "boss_mc") { if (player._x < 3000) { enemyHealth[j] = enemyHealth[j] + (shotPower + hitBoost); } } randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } j--; } if (ground.hitTest(bullets[i]._x, bullets[i]._y, true)) { randomNumber++; _root.attachMovie("pow", "pow" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[i]._x, _y:bullets[i]._y}); bullets[i].removeMovieClip(); bullets.splice(i, 1); } i--; } if ((ground.hitTest(player._x, player._y + 11, true) && (jump)) && (!doubleJumping)) { arm_mc._alpha = 100; if (running) { player.gotoAndStop("run"); } else { player.gotoAndStop("idle"); } } else { player.gotoAndStop("jump"); arm_mc._alpha = 0; } if (Key.isDown(68) or Key.isDown(65)) { running = true; } else { running = false; } if (!ground.hitTest(player._x, player._y + 10, true)) { falling = true; grounded = false; } if (ground.hitTest(player._x, player._y + 11, true)) { doubleJumping = false; doubleJump = false; jump = true; grounded = true; falling = false; while (ground.hitTest(player._x, player._y + 9, true)) { player._y--; } } if (falling == true) { gravity = gravity + gravityaccel; } else { gravity = 0; } if (((inControl && (Key.isDown(68))) && (xaccel < maxaccel)) && (falling == true)) { xaccel = xaccel + (runaccelamt - airrisist); } else if (((inControl && (Key.isDown(65))) && (xaccel > (-maxaccel))) && (falling == true)) { xaccel = xaccel - (runaccelamt - airrisist); } else if (((inControl && (Key.isDown(65))) && (xaccel > (-maxaccel))) && (falling == false)) { xaccel = xaccel - runaccelamt; } else if (((inControl && (Key.isDown(68))) && (xaccel < maxaccel)) && (falling == false)) { xaccel = xaccel + runaccelamt; } else if (grounded == true) { if (xaccel > 0) { xaccel = xaccel - friction; } if (xaccel < 0) { xaccel = xaccel + friction; } if ((xaccel < 0) && (xaccel > friction)) { xaccel = 0; } if ((xaccel > 0) && (xaccel < friction)) { xaccel = 0; } } else { if (xaccel > 0) { xaccel = xaccel - airrisist; } if (xaccel < 0) { xaccel = xaccel + airrisist; } if ((xaccel < 0) && (xaccel > airrisist)) { xaccel = 0; } if ((xaccel > 0) && (xaccel < airrisist)) { xaccel = 0; } } if (_root.ground.hitTest(this._x, this._y - 11, true)) { gravity = 1; while (_root.ground.hitTest(this._x, this._y - 10, true)) { this._y++; } } if (_xmouse > player._x) { player._xscale = 100; } if (_xmouse < player._x) { player._xscale = -100; } if (!Key.isDown(87)) { pressOnce = 0; } if ((inControl && (Key.isDown(87))) && (jump == true)) { gravity = gravity - (Math.cos(3.141593 * ((player._rotation * -1) / 180)) * maxjump); if (playerSelect == 2) { _root.attachMovie("dust", "dust", _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); } jump = false; doubleJump = true; pressOnce = 1; } if (((inControl && (Key.isDown(87))) && (doubleJump == true)) && (pressOnce == 0)) { gravity = 0; gravity = gravity - (Math.cos(3.141593 * ((player._rotation * -1) / 180)) * maxjump); doubleJump = false; doubleJumping = true; } leftx = player._x + (Math.cos(3.141593 * (((player._rotation * -1) + 180) / 180)) * 7); lefty = player._y - (Math.sin(3.141593 * (((player._rotation * -1) + 180) / 180)) * 7); rightx = player._x + (Math.cos(3.141593 * ((player._rotation * -1) / 180)) * 7); righty = player._y - (Math.sin(3.141593 * ((player._rotation * -1) / 180)) * 7); if (ground.hitTest(leftx, lefty, true)) { xaccel = 0; player._x++; } if (ground.hitTest(rightx, righty, true)) { xaccel = 0; player._x--; } if (cam._y > 310) { cam._y = 310; } if (cam._x > 3529) { cam._x = 3529; } if (cam._x < 320) { cam._x = 320; } crosshair._x = _xmouse; crosshair._y = _ymouse; bg._x = cam._x; bg._y = cam._y; place._x = player._x; place._y = player._y; endX = player._x; cam._x = cam._x + ((endX - cam._x) / 20); endY = player._y; cam._y = cam._y + ((endY - cam._y) / 20); cam.camControl(); hud._x = cam._x; hud._y = cam._y; hud._xscale = cam.lens._xscale; hud._yscale = cam.lens._yscale; bossWarning._x = cam._x; bossWarning._y = cam._y; bossWarning._xscale = cam.lens._xscale; bossWarning._yscale = cam.lens._yscale; player._y = player._y + gravity; player._x = player._x + xaccel; hud.healthBar._xscale = playerHealth; if (playerHealth > 100) { playerHealth = 100; } if (playerHealth < 1) { shooting = false; playerHealth = 0; inControl = false; player._alpha = 0; arm_mc._alpha = 0; if (transTimer == 0) { _root.attachMovie("bubbs", "bubbs", _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); _root.attachMovie("trans", "trans", _root.getNextHighestDepth(), {_x:cam._x, _y:cam._y}); } transTimer++; if (transTimer > 79) { clearAll(); prevFrame(); } } if (bossDead) { moveOnTimer++; if (moveOnTimer == 89) { _root.attachMovie("stageComplete", "stageComplete", _root.getNextHighestDepth(), {_x:cam._x, _y:cam._y}); } if (moveOnTimer == 110) { _root.attachMovie("trans", "trans", _root.getNextHighestDepth(), {_x:cam._x, _y:cam._y}); } if (moveOnTimer == 189) { clearAll(); stageSixComplete = true; user.data.numberOfCoins_s = numberOfCoins; user.data.weapon_s = weapon; user.data.twoLocked_s = twoLocked; user.data.threeLocked_s = threeLocked; user.data.fourLocked_s = fourLocked; user.data.stageOneComplete_s = stageOneComplete; user.data.stageTwoComplete_s = stageTwoComplete; user.data.stageThreeComplete_s = stageThreeComplete; user.data.stageFourComplete_s = stageFourComplete; user.data.stageFiveComplete_s = stageFiveComplete; user.data.stageSixComplete_s = stageSixComplete; user.data.stageTwoOpen_s = stageTwoOpen; user.data.stageThreeOpen_s = stageThreeOpen; user.data.stageFourOpen_s = stageFourOpen; user.data.stageFiveOpen_s = stageFiveOpen; user.data.stageSixOpen_s = stageSixOpen; user.flush(); nextFrame(); } } if (weapon < 0) { weapon = 0; } if (weapon > 5) { weapon = 5; } if (player._y > 420) { playerHealth = 0; } if (player._x > 3000) { atBoss = true; if (showWarning) { _root.attachMovie("bossWarning", "bossWarning", _root.getNextHighestDepth()); showWarning = false; } } if (player._xscale == 100) { myRadiansA = Math.atan2(_root._ymouse - arm_mc._y, _root._xmouse - arm_mc._x); myDegreesA = Math.round((myRadiansA * 180) / Math.PI); arm_mc._rotation = myDegreesA; arm_mc._xscale = 100; } if (player._xscale == -100) { myRadiansA = Math.atan2(_root._ymouse - arm_mc._y, _root._xmouse - arm_mc._x); myDegreesA = Math.round((myRadiansA * 180) / Math.PI) - 180; arm_mc._rotation = myDegreesA; arm_mc._xscale = -100; } stageComplete._x = cam._x; stageComplete._y = cam._y; stageComplete._xscale = cam.lens._xscale; stageComplete._yscale = cam.lens._yscale; arm_mc._x = player._x; arm_mc._y = player._y - 3; hud.cnn.text = numberOfCoins; trans.swapDepths(_root.getNextHighestDepth()); };
Frame 25
player.removeMovieClip(); cam._xscale = 100; cam._yscale = 100; cam._x = that._x; cam._y = that._y; stop();
Symbol 66 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 1
_root.stop();
Symbol 70 MovieClip Frame 80
_root.play();
Symbol 100 MovieClip Frame 1
_root.stop();
Symbol 100 MovieClip Frame 374
_root.play();
Symbol 123 MovieClip [lostIt] Frame 20
this.removeMovieClip();
Symbol 142 MovieClip [ping] Frame 9
this.removeMovieClip();
Symbol 173 MovieClip [pow] Frame 14
this.removeMovieClip();
Symbol 174 MovieClip Frame 1
stop();
Symbol 218 MovieClip [explosion] Frame 45
this.removeMovieClip();
Symbol 238 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 2
stop();
Symbol 238 MovieClip Frame 3
stop();
Symbol 238 MovieClip Frame 4
stop();
Symbol 238 MovieClip Frame 5
stop();
Symbol 245 MovieClip Frame 12
stop();
Symbol 249 Button
on (release) { gotoAndPlay (2); _root.soundstatus = "off"; }
Symbol 250 MovieClip Frame 11
stop();
Symbol 252 Button
on (release) { gotoAndPlay (1); _root.soundstatus = "on"; }
Symbol 253 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 2
stop();
Instance of Symbol 257 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) { _root.soundstatus = "on"; _root.mySound = new Sound(_level0); _root.mySound2 = new Sound(_level1); _root.mySound3 = new Sound(_level2); _root.mySound4 = new Sound(_level3); _root.mySound5 = new Sound(_level4); maxvolume = 100; minvolume = 0; } onClipEvent (enterFrame) { if (_root.soundstatus == "on") { step = 5; } if (_root.soundstatus == "off") { step = -5; } maxvolume = maxvolume + step; if (maxvolume > 100) { maxvolume = 100; } if (maxvolume < 0) { maxvolume = 0; } _root.mySound.setVolume(maxvolume); _root.mySound2.setVolume(maxvolume); _root.mySound3.setVolume(maxvolume); _root.mySound4.setVolume(maxvolume); _root.mySound5.setVolume(maxvolume); }
Symbol 261 MovieClip Frame 1
stop();
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip [hud] Frame 1
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { getURL ("http://www.longanimalsgames.com/?referral=stargunheroes&refmode=moregames", "_blank"); }
Symbol 301 MovieClip [bubbs] Frame 41
this.removeMovieClip();
Symbol 302 MovieClip [trans] Frame 80
this.removeMovieClip();
Symbol 307 MovieClip [bossWarning] Frame 121
this.removeMovieClip();
Symbol 312 MovieClip [deadBoss] Frame 111
this.removeMovieClip();
Symbol 313 MovieClip [flash] Frame 8
this.removeMovieClip();
Symbol 331 MovieClip [player] Frame 1
stop();
Symbol 331 MovieClip [player] Frame 2
stop();
Symbol 331 MovieClip [player] Frame 3
stop();
Symbol 346 MovieClip [playerTwo] Frame 1
stop();
Symbol 346 MovieClip [playerTwo] Frame 2
stop();
Symbol 346 MovieClip [playerTwo] Frame 3
stop();
Symbol 363 MovieClip [playerThree] Frame 1
stop();
Symbol 363 MovieClip [playerThree] Frame 2
stop();
Symbol 363 MovieClip [playerThree] Frame 3
stop();
Symbol 373 MovieClip [dust] Frame 9
this.removeMovieClip();
Symbol 390 MovieClip [playerFour] Frame 1
stop();
Symbol 390 MovieClip [playerFour] Frame 2
stop();
Symbol 390 MovieClip [playerFour] Frame 3
stop();
Symbol 405 MovieClip [bossAttack] Frame 72
this.removeMovieClip();
Symbol 410 MovieClip [bossDeath2] Frame 55
this.removeMovieClip();
Symbol 416 MovieClip [dead3Boss] Frame 69
this.removeMovieClip();
Symbol 438 MovieClip Frame 108
stop();
Symbol 453 MovieClip [bossDeath5] Frame 108
this.removeMovieClip();
Symbol 458 MovieClip [bossDeath4] Frame 55
this.removeMovieClip();
Symbol 471 MovieClip [gfl] Frame 6
this.removeMovieClip();
Symbol 480 MovieClip [arm_mc] Frame 1
stop();
Symbol 496 MovieClip [hiddenGuy] Frame 1
stop();
Symbol 496 MovieClip [hiddenGuy] Frame 2
stop();
Symbol 496 MovieClip [hiddenGuy] Frame 3
stop();
Symbol 520 MovieClip [stageComplete] Frame 101
this.removeMovieClip();
Symbol 529 MovieClip Frame 129
stop();
Symbol 532 MovieClip Frame 1
stop();
Symbol 532 MovieClip Frame 2
stop();
Symbol 532 MovieClip Frame 3
stop();
Symbol 534 MovieClip Frame 129
stop();
Symbol 539 MovieClip Frame 129
stop();
Symbol 545 MovieClip Frame 28
stop();
Symbol 551 MovieClip Frame 1
var phrase_string = "We're not going\nto make it!"; var n = phrase_string.length; var i = 0; this.onEnterFrame = function () { if (i < n) { LSR_txt.text = LSR_txt.text + phrase_string.substr(i, 1); i = i + 1; } };
Symbol 551 MovieClip Frame 129
var phrase_string = "That light\nwe've failed!!"; var n = phrase_string.length; var i = 0; this.onEnterFrame = function () { if (i < n) { LSR_txt.text = LSR_txt.text + phrase_string.substr(i, 1); i = i + 1; } };
Symbol 551 MovieClip Frame 285
stop(); var phrase_string = "No one being can\nbe allowed to possess\nthis much power!"; var n = phrase_string.length; var i = 0; this.onEnterFrame = function () { if (i < n) { LSR_txt.text = LSR_txt.text + phrase_string.substr(i, 1); i = i + 1; } };
Symbol 554 MovieClip Frame 1
_root.stop();
Symbol 554 MovieClip Frame 394
_root.play();
Symbol 561 MovieClip Frame 1
function camControl() { parentColor.setTransform(camColor.getTransform()); var _local3 = sX / this._width; var _local4 = sY / this._height; _parent._x = cX - (this._x * _local3); _parent._y = cY - (this._y * _local4); _parent._xscale = 100 * _local3; _parent._yscale = 100 * _local4; } stop(); this._visible = true; var oldMode = Stage.scaleMode; Stage.scaleMode = "exactFit"; var cX = (Stage.width / 2); var cY = (Stage.height / 2); var sX = Stage.width; var sY = Stage.height; Stage.scaleMode = oldMode; camControl();
Symbol 562 MovieClip Frame 1
stop();
Symbol 565 MovieClip Frame 1
stop();
Symbol 568 MovieClip Frame 1
function camControl() { parentColor.setTransform(camColor.getTransform()); var _local3 = sX / this._width; var _local4 = sY / this._height; _parent._x = cX - (this._x * _local3); _parent._y = cY - (this._y * _local4); _parent._xscale = 100 * _local3; _parent._yscale = 100 * _local4; } stop(); this._visible = true; var oldMode = Stage.scaleMode; Stage.scaleMode = "exactFit"; var cX = (Stage.width / 2); var cY = (Stage.height / 2); var sX = Stage.width; var sY = Stage.height; Stage.scaleMode = oldMode; camControl();
Symbol 578 MovieClip Frame 20
stop();
Symbol 579 MovieClip Frame 1
stop();
Symbol 582 MovieClip Frame 1
stop();
Symbol 584 MovieClip Frame 1
stop();
Symbol 587 MovieClip Frame 1
stop();
Symbol 590 MovieClip Frame 1
stop();
Symbol 592 MovieClip Frame 1
stop();
Symbol 602 MovieClip Frame 1
stop();
Symbol 603 MovieClip Frame 1
stop();
Symbol 604 MovieClip Frame 1
stop();
Symbol 606 MovieClip Frame 1
stop();
Symbol 608 MovieClip Frame 1
stop();
Symbol 610 MovieClip Frame 1
stop();
Symbol 612 MovieClip Frame 1
stop();
Symbol 619 MovieClip Frame 1
stop();
Symbol 622 MovieClip Frame 1
stop();
Symbol 645 MovieClip Frame 1
stop();
Symbol 648 MovieClip Frame 1
stop();
Symbol 651 MovieClip Frame 1
stop();
Symbol 652 MovieClip Frame 1
stop();
Symbol 694 MovieClip Frame 155
stop();
Symbol 695 MovieClip Frame 1
function camControl() { parentColor.setTransform(camColor.getTransform()); var _local3 = sX / this._width; var _local4 = sY / this._height; _parent._x = cX - (this._x * _local3); _parent._y = cY - (this._y * _local4); _parent._xscale = 100 * _local3; _parent._yscale = 100 * _local4; } stop(); this._visible = true; var oldMode = Stage.scaleMode; Stage.scaleMode = "exactFit"; var cX = (Stage.width / 2); var cY = (Stage.height / 2); var sX = Stage.width; var sY = Stage.height; Stage.scaleMode = oldMode; camControl();
Symbol 722 MovieClip Frame 107
stop();
Symbol 739 MovieClip Frame 1
stop();
Symbol 742 MovieClip Frame 1
stop();
Symbol 748 MovieClip Frame 1
stop();
Symbol 795 MovieClip Frame 108
stop();
Symbol 800 MovieClip Frame 1
stop();
Instance of Symbol 562 MovieClip in Symbol 802 MovieClip Frame 1
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { getURL ("http://www.longanimalsgames.com/?referral=stargunheroes&refmode=moregames", "_blank"); }
Instance of Symbol 800 MovieClip in Symbol 802 MovieClip Frame 1
on (rollOver) { this.gotoAndStop(2); } on (rollOut) { this.gotoAndStop(1); } on (release) { stopAllSounds(); _root.gotoAndStop("title"); }
Symbol 802 MovieClip Frame 100
stop(); var phrase_string = "We did it! He's dead! That was a lot easier then I thought it\nwould be! We didn't even need the hidden character,\nthe one you unlock by hitting SPACE BAR on the character select screen!"; var n = phrase_string.length; var i = 0; this.onEnterFrame = function () { if (i < n) { LSR_txt.text = LSR_txt.text + phrase_string.substr(i, 1); i = i + 1; } };

Library Items

Symbol 1 BitmapUsed by:2 599
Symbol 2 GraphicUses:1Used by:12
Symbol 3 ShapeTweeningUsed by:9
Symbol 4 ShapeTweeningUsed by:9
Symbol 5 ShapeTweeningUsed by:9
Symbol 6 ShapeTweeningUsed by:9
Symbol 7 ShapeTweeningUsed by:9
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:3 4 5 6 7 8Used by:12 601
Symbol 10 ShapeTweeningUsed by:12
Symbol 11 GraphicUsed by:12 601
Symbol 12 MovieClipUses:2 9 10 11Used by:Timeline
Symbol 13 GraphicUsed by:Timeline
Symbol 14 GraphicUsed by:15 241 313 558 569
Symbol 15 MovieClipUses:14Used by:Timeline
Symbol 16 ShapeTweeningUsed by:28
Symbol 17 GraphicUsed by:28
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:18Used by:20 572
Symbol 20 MovieClipUses:19Used by:28
Symbol 21 GraphicUsed by:28
Symbol 22 BitmapUsed by:26 232 314
Symbol 23 BitmapUsed by:26 234 347
Symbol 24 BitmapUsed by:26 233 332 342 343 344
Symbol 25 BitmapUsed by:26 235 374
Symbol 26 GraphicUses:22 23 24 25Used by:28
Symbol 27 GraphicUsed by:28 578
Symbol 28 MovieClipUses:16 17 20 21 26 27Used by:Timeline
Symbol 29 GraphicUsed by:32
Symbol 30 ShapeTweeningUsed by:32
Symbol 31 GraphicUsed by:32 595
Symbol 32 MovieClipUses:29 30 31Used by:Timeline
Symbol 33 FontUsed by:34 35 231 497 498 499 500 501 502 503 504 505 506 507 508 509 510 512 513 514 515 516 517
Symbol 34 TextUses:33Used by:36
Symbol 35 TextUses:33Used by:36
Symbol 36 MovieClipUses:34 35Used by:Timeline
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:Timeline
Symbol 39 GraphicUsed by:40 59 69 567
Symbol 40 MovieClipUses:39Used by:59 69 567
Symbol 41 GraphicUsed by:42 59 69 567
Symbol 42 MovieClipUses:41Used by:59 69 567
Symbol 43 GraphicUsed by:44
Symbol 44 ButtonUses:43Used by:59 69 567
Symbol 45 GraphicUsed by:46
Symbol 46 ButtonUses:45Used by:59 69 567
Symbol 47 GraphicUsed by:48 59 69 567
Symbol 48 MovieClipUses:47Used by:59 69 567
Symbol 49 GraphicUsed by:50 59 69 567
Symbol 50 MovieClipUses:49Used by:59 69 567
Symbol 51 GraphicUsed by:52 59 69 567
Symbol 52 MovieClipUses:51Used by:59 69 567
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:53Used by:55 59 69 567
Symbol 55 MovieClipUses:54Used by:59 69 567
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:56Used by:59 69 567
Symbol 58 GraphicUsed by:59
Symbol 59 ButtonUses:40 42 44 46 48 50 52 55 54 57 39 41 47 49 51 58Used by:Timeline
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:60Used by:Timeline
Symbol 62 GraphicUsed by:66
Symbol 63 GraphicUsed by:64 174 184 315 644
Symbol 64 MovieClipUses:63Used by:66 261 556 562 565 608 610 612 619 622 800
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:62 64 65Used by:Timeline
Symbol 67 GraphicUsed by:70
Symbol 68 GraphicUsed by:69
Symbol 69 ButtonUses:40 42 44 46 48 50 52 55 54 57 39 41 47 49 51 68Used by:70
Symbol 70 MovieClipUses:67 69Used by:Timeline
Symbol 71 GraphicUsed by:100 302 694 722
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClipUses:72Used by:76
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:74 SS1Used by:76
Symbol 76 MovieClipUses:73 75Used by:100
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:77Used by:100
Symbol 79 BitmapUsed by:80
Symbol 80 GraphicUses:79Used by:81
Symbol 81 MovieClipUses:80Used by:88 100
Symbol 82 BitmapUsed by:83
Symbol 83 GraphicUses:82Used by:84
Symbol 84 MovieClipUses:83Used by:88 100
Symbol 85 BitmapUsed by:86
Symbol 86 GraphicUses:85Used by:87
Symbol 87 MovieClipUses:86Used by:88 100
Symbol 88 MovieClipUses:81 84 87Used by:100
Symbol 89 ShapeTweeningUsed by:100
Symbol 90 ShapeTweeningUsed by:100
Symbol 91 GraphicUsed by:100
Symbol 92 BitmapUsed by:93
Symbol 93 GraphicUses:92Used by:94
Symbol 94 MovieClipUses:93Used by:100
Symbol 95 ShapeTweeningUsed by:100
Symbol 96 ShapeTweeningUsed by:100
Symbol 97 GraphicUsed by:100
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClipUses:98Used by:100
Symbol 100 MovieClipUses:71 76 78 88 89 81 84 87 90 91 94 95 96 97 99 SS2Used by:Timeline
Symbol 101 BitmapUsed by:102
Symbol 102 GraphicUses:101Used by:123 652
Symbol 103 BitmapUsed by:104
Symbol 104 GraphicUses:103Used by:121 545
Symbol 105 BitmapUsed by:106
Symbol 106 GraphicUses:105Used by:121 545
Symbol 107 BitmapUsed by:108
Symbol 108 GraphicUses:107Used by:121 545
Symbol 109 BitmapUsed by:110
Symbol 110 GraphicUses:109Used by:121 545
Symbol 111 BitmapUsed by:112
Symbol 112 GraphicUses:111Used by:121 545
Symbol 113 BitmapUsed by:114
Symbol 114 GraphicUses:113Used by:121 545
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:121 545
Symbol 117 BitmapUsed by:118
Symbol 118 GraphicUses:117Used by:121 545
Symbol 119 BitmapUsed by:120
Symbol 120 GraphicUses:119Used by:121 545
Symbol 121 MovieClipUses:104 106 108 110 112 114 116 118 120Used by:123 142 301 652
Symbol 122 SoundUsed by:123
Symbol 123 MovieClip [lostIt]Uses:102 121 122Used by:Timeline
Symbol 124 BitmapUsed by:125
Symbol 125 GraphicUses:124Used by:140
Symbol 126 BitmapUsed by:127
Symbol 127 GraphicUses:126Used by:140
Symbol 128 BitmapUsed by:129
Symbol 129 GraphicUses:128Used by:140
Symbol 130 BitmapUsed by:131
Symbol 131 GraphicUses:130Used by:140
Symbol 132 BitmapUsed by:133
Symbol 133 GraphicUses:132Used by:140
Symbol 134 BitmapUsed by:135
Symbol 135 GraphicUses:134Used by:140
Symbol 136 BitmapUsed by:137
Symbol 137 GraphicUses:136Used by:140
Symbol 138 BitmapUsed by:139
Symbol 139 GraphicUses:138Used by:140
Symbol 140 MovieClip [coins]Uses:125 127 129 131 133 135 137 139Used by:Timeline
Symbol 141 SoundUsed by:142
Symbol 142 MovieClip [ping]Uses:121 141Used by:Timeline
Symbol 143 GraphicUsed by:144
Symbol 144 MovieClip [crosshair]Uses:143Used by:Timeline
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:145Used by:153
Symbol 147 BitmapUsed by:148
Symbol 148 GraphicUses:147Used by:153
Symbol 149 BitmapUsed by:150
Symbol 150 GraphicUses:149Used by:153
Symbol 151 BitmapUsed by:152
Symbol 152 GraphicUses:151Used by:153
Symbol 153 MovieClip [bullet]Uses:146 148 150 152Used by:Timeline
Symbol 154 GraphicUsed by:155 670
Symbol 155 MovieClip [place]Uses:154Used by:Timeline
Symbol 156 BitmapUsed by:157
Symbol 157 GraphicUses:156Used by:172
Symbol 158 BitmapUsed by:159
Symbol 159 GraphicUses:158Used by:172
Symbol 160 BitmapUsed by:161
Symbol 161 GraphicUses:160Used by:172
Symbol 162 BitmapUsed by:163
Symbol 163 GraphicUses:162Used by:172
Symbol 164 BitmapUsed by:165
Symbol 165 GraphicUses:164Used by:172
Symbol 166 BitmapUsed by:167
Symbol 167 GraphicUses:166Used by:172
Symbol 168 BitmapUsed by:169
Symbol 169 GraphicUses:168Used by:172
Symbol 170 BitmapUsed by:171
Symbol 171 GraphicUses:170Used by:172
Symbol 172 MovieClipUses:157 159 161 163 165 167 169 171Used by:173
Symbol 173 MovieClip [pow]Uses:172Used by:Timeline
Symbol 174 MovieClipUses:63Used by:185
Symbol 175 BitmapUsed by:176
Symbol 176 GraphicUses:175Used by:183
Symbol 177 BitmapUsed by:178
Symbol 178 GraphicUses:177Used by:183
Symbol 179 BitmapUsed by:180
Symbol 180 GraphicUses:179Used by:183
Symbol 181 BitmapUsed by:182
Symbol 182 GraphicUses:181Used by:183
Symbol 183 MovieClipUses:176 178 180 182Used by:185
Symbol 184 MovieClipUses:63Used by:185 669 714 748 766 793
Symbol 185 MovieClip [metalBee]Uses:174 183 184Used by:Timeline
Symbol 186 BitmapUsed by:187
Symbol 187 GraphicUses:186Used by:216 310
Symbol 188 BitmapUsed by:189
Symbol 189 GraphicUses:188Used by:216 310
Symbol 190 BitmapUsed by:191
Symbol 191 GraphicUses:190Used by:216 310
Symbol 192 BitmapUsed by:193
Symbol 193 GraphicUses:192Used by:216 310
Symbol 194 BitmapUsed by:195
Symbol 195 GraphicUses:194Used by:216 310
Symbol 196 BitmapUsed by:197
Symbol 197 GraphicUses:196Used by:216 310
Symbol 198 BitmapUsed by:199
Symbol 199 GraphicUses:198Used by:216 310
Symbol 200 BitmapUsed by:201
Symbol 201 GraphicUses:200Used by:216 310
Symbol 202 BitmapUsed by:203
Symbol 203 GraphicUses:202Used by:216 310
Symbol 204 BitmapUsed by:205
Symbol 205 GraphicUses:204Used by:216 310
Symbol 206 BitmapUsed by:207
Symbol 207 GraphicUses:206Used by:216 310
Symbol 208 BitmapUsed by:209
Symbol 209 GraphicUses:208Used by:216 310
Symbol 210 BitmapUsed by:211
Symbol 211 GraphicUses:210Used by:216 310
Symbol 212 BitmapUsed by:213
Symbol 213 GraphicUses:212Used by:216 310
Symbol 214 BitmapUsed by:215
Symbol 215 GraphicUses:214Used by:216 310
Symbol 216 MovieClipUses:187 189 191 193 195 197 199 201 203 205 207 209 211 213 215Used by:218 225
Symbol 217 SoundUsed by:218
Symbol 218 MovieClip [explosion]Uses:216 217Used by:Timeline
Symbol 219 BitmapUsed by:220
Symbol 220 GraphicUses:219Used by:221
Symbol 221 MovieClip [bombs]Uses:220Used by:Timeline
Symbol 222 BitmapUsed by:223
Symbol 223 GraphicUses:222Used by:224
Symbol 224 MovieClip [enemyBullet]Uses:223Used by:Timeline
Symbol 225 MovieClip [flameBullet]Uses:216Used by:Timeline
Symbol 226 GraphicUsed by:262
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClipUses:227Used by:262
Symbol 229 GraphicUsed by:230
Symbol 230 MovieClipUses:229Used by:262
Symbol 231 EditableTextUses:33Used by:262
Symbol 232 GraphicUses:22Used by:238
Symbol 233 GraphicUses:24Used by:238
Symbol 234 GraphicUses:23Used by:238
Symbol 235 GraphicUses:25Used by:238
Symbol 236 BitmapUsed by:237
Symbol 237 GraphicUses:236Used by:238
Symbol 238 MovieClipUses:232 233 234 235 237Used by:262
Symbol 239 GraphicUsed by:240
Symbol 240 MovieClipUses:239Used by:253
Symbol 241 MovieClipUses:14Used by:242 243
Symbol 242 MovieClipUses:241Used by:244
Symbol 243 MovieClipUses:241Used by:244
Symbol 244 MovieClipUses:242 243Used by:245 250
Symbol 245 MovieClipUses:244Used by:253
Symbol 246 FontUsed by:247 251
Symbol 247 TextUses:246Used by:253
Symbol 248 GraphicUsed by:249 252
Symbol 249 ButtonUses:248Used by:253
Symbol 250 MovieClipUses:244Used by:253
Symbol 251 TextUses:246Used by:253
Symbol 252 ButtonUses:248Used by:253
Symbol 253 MovieClipUses:240 245 247 249 250 251 252Used by:258
Symbol 254 GraphicUsed by:257
Symbol 255 FontUsed by:256
Symbol 256 TextUses:255Used by:257
Symbol 257 MovieClipUses:254 256Used by:258
Symbol 258 MovieClipUses:253 257Used by:262  Timeline
Symbol 259 GraphicUsed by:261 562
Symbol 260 GraphicUsed by:261 562
Symbol 261 MovieClipUses:259 64 260Used by:262
Symbol 262 MovieClip [hud]Uses:226 228 230 231 238 258 261Used by:Timeline
Symbol 263 BitmapUsed by:264
Symbol 264 GraphicUses:263Used by:271
Symbol 265 BitmapUsed by:266
Symbol 266 GraphicUses:265Used by:271
Symbol 267 BitmapUsed by:268
Symbol 268 GraphicUses:267Used by:271
Symbol 269 BitmapUsed by:270
Symbol 270 GraphicUses:269Used by:271
Symbol 271 MovieClip [laser]Uses:264 266 268 270Used by:Timeline
Symbol 272 BitmapUsed by:273
Symbol 273 GraphicUses:272Used by:280
Symbol 274 BitmapUsed by:275
Symbol 275 GraphicUses:274Used by:280
Symbol 276 BitmapUsed by:277
Symbol 277 GraphicUses:276Used by:280
Symbol 278 BitmapUsed by:279
Symbol 279 GraphicUses:278Used by:280
Symbol 280 MovieClip [largeBullet]Uses:273 275 277 279Used by:Timeline
Symbol 281 BitmapUsed by:282
Symbol 282 GraphicUses:281Used by:301
Symbol 283 BitmapUsed by:284
Symbol 284 GraphicUses:283Used by:301
Symbol 285 BitmapUsed by:286
Symbol 286 GraphicUses:285Used by:301
Symbol 287 BitmapUsed by:288
Symbol 288 GraphicUses:287Used by:301
Symbol 289 BitmapUsed by:290
Symbol 290 GraphicUses:289Used by:301
Symbol 291 BitmapUsed by:292
Symbol 292 GraphicUses:291Used by:301
Symbol 293 BitmapUsed by:294
Symbol 294 GraphicUses:293Used by:301
Symbol 295 BitmapUsed by:296
Symbol 296 GraphicUses:295Used by:301
Symbol 297 BitmapUsed by:298
Symbol 298 GraphicUses:297Used by:301
Symbol 299 BitmapUsed by:300
Symbol 300 GraphicUses:299Used by:301
Symbol 301 MovieClip [bubbs]Uses:282 121 284 286 288 290 292 294 296 298 300Used by:Timeline
Symbol 302 MovieClip [trans]Uses:71Used by:Timeline
Symbol 303 GraphicUsed by:304
Symbol 304 MovieClipUses:303Used by:305
Symbol 305 MovieClipUses:304Used by:307
Symbol 306 SoundUsed by:307
Symbol 307 MovieClip [bossWarning]Uses:305 306Used by:Timeline
Symbol 308 BitmapUsed by:309
Symbol 309 GraphicUses:308Used by:311 668
Symbol 310 MovieClipUses:187 189 191 193 195 197 199 201 203 205 207 209 211 213 215Used by:311 409 415 438 457 795
Symbol 311 MovieClipUses:309 310Used by:312
Symbol 312 MovieClip [deadBoss]Uses:311Used by:Timeline
Symbol 313 MovieClip [flash]Uses:14Used by:Timeline
Symbol 314 GraphicUses:22Used by:331 537
Symbol 315 MovieClipUses:63Used by:331 346 363 390 496 532
Symbol 316 BitmapUsed by:317
Symbol 317 GraphicUses:316Used by:324
Symbol 318 BitmapUsed by:319
Symbol 319 GraphicUses:318Used by:324
Symbol 320 BitmapUsed by:321
Symbol 321 GraphicUses:320Used by:324
Symbol 322 BitmapUsed by:323
Symbol 323 GraphicUses:322Used by:324
Symbol 324 MovieClipUses:317 319 321 323Used by:331 536
Symbol 325 BitmapUsed by:326 327 328 329
Symbol 326 GraphicUses:325Used by:330
Symbol 327 GraphicUses:325Used by:330
Symbol 328 GraphicUses:325Used by:330
Symbol 329 GraphicUses:325Used by:330
Symbol 330 MovieClipUses:326 327 328 329Used by:331
Symbol 331 MovieClip [player]Uses:314 315 324 330Used by:Timeline
Symbol 332 GraphicUses:24Used by:345 346 527
Symbol 333 BitmapUsed by:334
Symbol 334 GraphicUses:333Used by:341
Symbol 335 BitmapUsed by:336
Symbol 336 GraphicUses:335Used by:341
Symbol 337 BitmapUsed by:338
Symbol 338 GraphicUses:337Used by:341
Symbol 339 BitmapUsed by:340
Symbol 340 GraphicUses:339Used by:341
Symbol 341 MovieClipUses:334 336 338 340Used by:346 526
Symbol 342 GraphicUses:24Used by:345
Symbol 343 GraphicUses:24Used by:345
Symbol 344 GraphicUses:24Used by:345
Symbol 345 MovieClipUses:332 342 343 344Used by:346
Symbol 346 MovieClip [playerTwo]Uses:332 315 341 345Used by:Timeline
Symbol 347 GraphicUses:23Used by:363 548
Symbol 348 BitmapUsed by:349
Symbol 349 GraphicUses:348Used by:356
Symbol 350 BitmapUsed by:351
Symbol 351 GraphicUses:350Used by:356
Symbol 352 BitmapUsed by:353
Symbol 353 GraphicUses:352Used by:356
Symbol 354 BitmapUsed by:355
Symbol 355 GraphicUses:354Used by:356
Symbol 356 MovieClipUses:349 351 353 355Used by:363 605
Symbol 357 BitmapUsed by:358 359 360 361
Symbol 358 GraphicUses:357Used by:362
Symbol 359 GraphicUses:357Used by:362
Symbol 360 GraphicUses:357Used by:362
Symbol 361 GraphicUses:357Used by:362
Symbol 362 MovieClipUses:358 359 360 361Used by:363
Symbol 363 MovieClip [playerThree]Uses:347 315 356 362Used by:Timeline
Symbol 364 BitmapUsed by:365
Symbol 365 GraphicUses:364Used by:372
Symbol 366 BitmapUsed by:367
Symbol 367 GraphicUses:366Used by:372
Symbol 368 BitmapUsed by:369
Symbol 369 GraphicUses:368Used by:372
Symbol 370 BitmapUsed by:371
Symbol 371 GraphicUses:370Used by:372
Symbol 372 MovieClipUses:365 367 369 371Used by:373
Symbol 373 MovieClip [dust]Uses:372Used by:434  Timeline
Symbol 374 GraphicUses:25Used by:390 532
Symbol 375 BitmapUsed by:376
Symbol 376 GraphicUses:375Used by:383
Symbol 377 BitmapUsed by:378
Symbol 378 GraphicUses:377Used by:383
Symbol 379 BitmapUsed by:380
Symbol 380 GraphicUses:379Used by:383
Symbol 381 BitmapUsed by:382
Symbol 382 GraphicUses:381Used by:383
Symbol 383 MovieClipUses:376 378 380 382Used by:390 531 532
Symbol 384 BitmapUsed by:385 386 387 388
Symbol 385 GraphicUses:384Used by:389
Symbol 386 GraphicUses:384Used by:389
Symbol 387 GraphicUses:384Used by:389
Symbol 388 GraphicUses:384Used by:389
Symbol 389 MovieClipUses:385 386 387 388Used by:390 532
Symbol 390 MovieClip [playerFour]Uses:374 315 383 389Used by:Timeline
Symbol 391 GraphicUsed by:392
Symbol 392 MovieClipUses:391Used by:405
Symbol 393 SoundUsed by:405
Symbol 394 BitmapUsed by:395
Symbol 395 GraphicUses:394Used by:404
Symbol 396 BitmapUsed by:397
Symbol 397 GraphicUses:396Used by:404
Symbol 398 BitmapUsed by:399
Symbol 399 GraphicUses:398Used by:404
Symbol 400 BitmapUsed by:401
Symbol 401 GraphicUses:400Used by:404
Symbol 402 BitmapUsed by:403
Symbol 403 GraphicUses:402Used by:404
Symbol 404 MovieClipUses:395 397 399 401 403Used by:405
Symbol 405 MovieClip [bossAttack]Uses:392 393 404Used by:Timeline
Symbol 406 BitmapUsed by:407
Symbol 407 GraphicUses:406Used by:408
Symbol 408 MovieClipUses:407Used by:409
Symbol 409 MovieClipUses:408 310Used by:410
Symbol 410 MovieClip [bossDeath2]Uses:409Used by:Timeline
Symbol 411 BitmapUsed by:412 583
Symbol 412 GraphicUses:411Used by:415 747
Symbol 413 BitmapUsed by:414
Symbol 414 GraphicUses:413Used by:415
Symbol 415 MovieClipUses:412 310 414Used by:416
Symbol 416 MovieClip [dead3Boss]Uses:415Used by:Timeline
Symbol 417 GraphicUsed by:453 793 796
Symbol 418 BitmapUsed by:419 591
Symbol 419 GraphicUses:418Used by:438 795
Symbol 420 BitmapUsed by:421
Symbol 421 GraphicUses:420Used by:438 795
Symbol 422 BitmapUsed by:423
Symbol 423 GraphicUses:422Used by:438 795
Symbol 424 BitmapUsed by:425
Symbol 425 GraphicUses:424Used by:438 795
Symbol 426 BitmapUsed by:427
Symbol 427 GraphicUses:426Used by:438 795
Symbol 428 BitmapUsed by:429
Symbol 429 GraphicUses:428Used by:438 795
Symbol 430 BitmapUsed by:431
Symbol 431 GraphicUses:430Used by:438 795
Symbol 432 BitmapUsed by:433
Symbol 433 GraphicUses:432Used by:438 795
Symbol 434 MovieClipUses:373Used by:438 795
Symbol 435 BitmapUsed by:436
Symbol 436 GraphicUses:435Used by:437
Symbol 437 MovieClipUses:436Used by:438 795
Symbol 438 MovieClipUses:419 421 423 425 427 429 431 433 434 437 310Used by:453 793
Symbol 439 BitmapUsed by:440
Symbol 440 GraphicUses:439Used by:451
Symbol 441 BitmapUsed by:442
Symbol 442 GraphicUses:441Used by:451
Symbol 443 BitmapUsed by:444
Symbol 444 GraphicUses:443Used by:451
Symbol 445 BitmapUsed by:446
Symbol 446 GraphicUses:445Used by:451
Symbol 447 BitmapUsed by:448
Symbol 448 GraphicUses:447Used by:451
Symbol 449 BitmapUsed by:450
Symbol 450 GraphicUses:449Used by:451
Symbol 451 MovieClipUses:440 442 444 446 448 450Used by:452
Symbol 452 MovieClipUses:451Used by:453 793
Symbol 453 MovieClip [bossDeath5]Uses:417 438 452Used by:Timeline
Symbol 454 BitmapUsed by:455
Symbol 455 GraphicUses:454Used by:456
Symbol 456 MovieClipUses:455Used by:457
Symbol 457 MovieClipUses:456 310Used by:458
Symbol 458 MovieClip [bossDeath4]Uses:457Used by:Timeline
Symbol 459 BitmapUsed by:460
Symbol 460 GraphicUses:459Used by:480 535
Symbol 461 BitmapUsed by:462
Symbol 462 GraphicUses:461Used by:471
Symbol 463 BitmapUsed by:464
Symbol 464 GraphicUses:463Used by:471
Symbol 465 BitmapUsed by:466
Symbol 466 GraphicUses:465Used by:471
Symbol 467 BitmapUsed by:468
Symbol 468 GraphicUses:467Used by:471
Symbol 469 BitmapUsed by:470
Symbol 470 GraphicUses:469Used by:471
Symbol 471 MovieClip [gfl]Uses:462 464 466 468 470Used by:480
Symbol 472 BitmapUsed by:473
Symbol 473 GraphicUses:472Used by:480 525
Symbol 474 BitmapUsed by:475
Symbol 475 GraphicUses:474Used by:480 547
Symbol 476 BitmapUsed by:477
Symbol 477 GraphicUses:476Used by:480 530
Symbol 478 BitmapUsed by:479
Symbol 479 GraphicUses:478Used by:480
Symbol 480 MovieClip [arm_mc]Uses:460 471 473 475 477 479Used by:Timeline
Symbol 481 BitmapUsed by:482
Symbol 482 GraphicUses:481Used by:496
Symbol 483 BitmapUsed by:484
Symbol 484 GraphicUses:483Used by:489
Symbol 485 BitmapUsed by:486
Symbol 486 GraphicUses:485Used by:489
Symbol 487 BitmapUsed by:488
Symbol 488 GraphicUses:487Used by:489
Symbol 489 MovieClipUses:484 486 488Used by:496
Symbol 490 BitmapUsed by:491 492 493 494
Symbol 491 GraphicUses:490Used by:495
Symbol 492 GraphicUses:490Used by:495
Symbol 493 GraphicUses:490Used by:495
Symbol 494 GraphicUses:490Used by:495
Symbol 495 MovieClipUses:491 492 493 494Used by:496
Symbol 496 MovieClip [hiddenGuy]Uses:482 315 489 495Used by:Timeline
Symbol 497 TextUses:33Used by:511 518
Symbol 498 TextUses:33Used by:511 518
Symbol 499 TextUses:33Used by:511
Symbol 500 TextUses:33Used by:511
Symbol 501 TextUses:33Used by:511
Symbol 502 TextUses:33Used by:511
Symbol 503 TextUses:33Used by:511
Symbol 504 TextUses:33Used by:511 518
Symbol 505 TextUses:33Used by:511 518
Symbol 506 TextUses:33Used by:511
Symbol 507 TextUses:33Used by:511
Symbol 508 TextUses:33Used by:511
Symbol 509 TextUses:33Used by:511
Symbol 510 TextUses:33Used by:511
Symbol 511 MovieClipUses:497 498 499 500 501 502 503 504 505 506 507 508 509 510Used by:519
Symbol 512 TextUses:33Used by:518
Symbol 513 TextUses:33Used by:518
Symbol 514 TextUses:33Used by:518
Symbol 515 TextUses:33Used by:518
Symbol 516 TextUses:33Used by:518
Symbol 517 TextUses:33Used by:518
Symbol 518 MovieClipUses:497 512 513 498 514 504 515 516 505 517Used by:519
Symbol 519 MovieClipUses:511 518Used by:520
Symbol 520 MovieClip [stageComplete]Uses:519Used by:Timeline
Symbol 521 Sound [blu]Used by:Timeline
Symbol 522 Sound [reflect]Used by:Timeline
Symbol 523 BitmapUsed by:524 543 546 627
Symbol 524 GraphicUses:523Used by:551
Symbol 525 MovieClipUses:473Used by:528 529 602
Symbol 526 MovieClipUses:341Used by:529 602
Symbol 527 MovieClipUses:332Used by:528 602
Symbol 528 MovieClipUses:525 527Used by:529 802
Symbol 529 MovieClipUses:525 526 528Used by:551
Symbol 530 MovieClipUses:477Used by:533 534 603
Symbol 531 MovieClipUses:383Used by:534 603
Symbol 532 MovieClipUses:374 315 383 389Used by:533 603
Symbol 533 MovieClipUses:530 532Used by:534 802
Symbol 534 MovieClipUses:530 531 533Used by:551
Symbol 535 MovieClipUses:460Used by:538 539 604
Symbol 536 MovieClipUses:324Used by:539 604
Symbol 537 MovieClipUses:314Used by:538 604
Symbol 538 MovieClipUses:535 537Used by:539 802
Symbol 539 MovieClipUses:535 536 538Used by:551
Symbol 540 GraphicUsed by:551
Symbol 541 FontUsed by:542 544 550 801
Symbol 542 EditableTextUses:541Used by:551
Symbol 543 GraphicUses:523Used by:551
Symbol 544 EditableTextUses:541Used by:551
Symbol 545 MovieClipUses:104 106 108 110 112 114 116 118 120Used by:551
Symbol 546 GraphicUses:523Used by:551
Symbol 547 MovieClipUses:475Used by:549 606
Symbol 548 MovieClipUses:347Used by:549 606
Symbol 549 MovieClipUses:547 548Used by:551 802
Symbol 550 EditableTextUses:541Used by:551
Symbol 551 MovieClipUses:524 529 534 539 540 542 543 544 545 546 549 550Used by:552
Symbol 552 MovieClipUses:551Used by:554
Symbol 553 GraphicUsed by:554
Symbol 554 MovieClipUses:552 553Used by:Timeline
Symbol 555 GraphicUsed by:556
Symbol 556 MovieClipUses:555 64Used by:Timeline
Symbol 557 SoundUsed by:Timeline
Symbol 558 MovieClipUses:14Used by:Timeline
Symbol 559 GraphicUsed by:560
Symbol 560 MovieClipUses:559Used by:561 568 695
Symbol 561 MovieClipUses:560Used by:Timeline
Symbol 562 MovieClipUses:259 64 260Used by:802  Timeline
Symbol 563 GraphicUsed by:565
Symbol 564 GraphicUsed by:565
Symbol 565 MovieClipUses:563 64 564Used by:Timeline
Symbol 566 GraphicUsed by:567
Symbol 567 ButtonUses:40 42 44 46 48 50 52 55 54 57 39 41 47 49 51 566Used by:Timeline
Symbol 568 MovieClipUses:560Used by:Timeline
Symbol 569 MovieClipUses:14Used by:Timeline
Symbol 570 GraphicUsed by:573
Symbol 571 GraphicUsed by:572
Symbol 572 MovieClipUses:19 571Used by:573 578
Symbol 573 MovieClipUses:570 572Used by:579 582 584 587 590 592 602 603 604 606
Symbol 574 BitmapUsed by:575
Symbol 575 GraphicUses:574Used by:579
Symbol 576 ShapeTweeningUsed by:578
Symbol 577 GraphicUsed by:578
Symbol 578 MovieClipUses:576 577 572 27Used by:579 582 584 587 590 592 602 603 604 606
Symbol 579 MovieClipUses:573 575 578Used by:Timeline
Symbol 580 BitmapUsed by:581 703
Symbol 581 GraphicUses:580Used by:582
Symbol 582 MovieClipUses:573 581 578Used by:Timeline
Symbol 583 GraphicUses:411Used by:584
Symbol 584 MovieClipUses:573 583 578Used by:Timeline
Symbol 585 BitmapUsed by:586 755
Symbol 586 GraphicUses:585Used by:587
Symbol 587 MovieClipUses:573 586 578Used by:Timeline
Symbol 588 BitmapUsed by:589 770
Symbol 589 GraphicUses:588Used by:590
Symbol 590 MovieClipUses:573 589 578Used by:Timeline
Symbol 591 GraphicUses:418Used by:592
Symbol 592 MovieClipUses:573 591 578Used by:Timeline
Symbol 593 GraphicUsed by:595
Symbol 594 ShapeTweeningUsed by:595
Symbol 595 MovieClipUses:593 594 31Used by:Timeline
Symbol 596 FontUsed by:597
Symbol 597 TextUses:596Used by:Timeline
Symbol 598 SoundUsed by:Timeline
Symbol 599 GraphicUses:1Used by:601
Symbol 600 ShapeTweeningUsed by:601
Symbol 601 MovieClipUses:599 9 600 11Used by:Timeline
Symbol 602 MovieClipUses:573 525 527 578 526Used by:Timeline
Symbol 603 MovieClipUses:573 530 532 578 531Used by:Timeline
Symbol 604 MovieClipUses:573 535 537 578 536Used by:Timeline
Symbol 605 MovieClipUses:356Used by:606
Symbol 606 MovieClipUses:573 547 548 578 605Used by:Timeline
Symbol 607 GraphicUsed by:608
Symbol 608 MovieClipUses:64 607Used by:Timeline
Symbol 609 GraphicUsed by:610
Symbol 610 MovieClipUses:64 609Used by:Timeline
Symbol 611 GraphicUsed by:612
Symbol 612 MovieClipUses:64 611Used by:Timeline
Symbol 613 GraphicUsed by:614
Symbol 614 MovieClipUses:613Used by:Timeline
Symbol 615 FontUsed by:616
Symbol 616 EditableTextUses:615Used by:Timeline
Symbol 617 GraphicUsed by:619
Symbol 618 GraphicUsed by:619
Symbol 619 MovieClipUses:617 64 618Used by:Timeline
Symbol 620 GraphicUsed by:622
Symbol 621 GraphicUsed by:622
Symbol 622 MovieClipUses:620 64 621Used by:Timeline
Symbol 623 GraphicUsed by:624
Symbol 624 MovieClipUses:623Used by:Timeline
Symbol 625 GraphicUsed by:626
Symbol 626 MovieClipUses:625Used by:Timeline
Symbol 627 GraphicUses:523Used by:628
Symbol 628 MovieClipUses:627Used by:Timeline
Symbol 629 GraphicUsed by:630
Symbol 630 MovieClipUses:629Used by:645 648 739 742
Symbol 631 BitmapUsed by:632
Symbol 632 GraphicUses:631Used by:643
Symbol 633 BitmapUsed by:634
Symbol 634 GraphicUses:633Used by:643
Symbol 635 BitmapUsed by:636
Symbol 636 GraphicUses:635Used by:643
Symbol 637 BitmapUsed by:638
Symbol 638 GraphicUses:637Used by:643
Symbol 639 BitmapUsed by:640
Symbol 640 GraphicUses:639Used by:643
Symbol 641 BitmapUsed by:642
Symbol 642 GraphicUses:641Used by:643
Symbol 643 MovieClipUses:632 634 636 638 640 642Used by:645
Symbol 644 MovieClipUses:63Used by:645 648 739 742
Symbol 645 MovieClipUses:630 643 644Used by:Timeline
Symbol 646 BitmapUsed by:647
Symbol 647 GraphicUses:646Used by:648
Symbol 648 MovieClipUses:630 647 644Used by:Timeline
Symbol 649 BitmapUsed by:650
Symbol 650 GraphicUses:649Used by:651
Symbol 651 MovieClipUses:650Used by:Timeline
Symbol 652 MovieClipUses:102 121Used by:Timeline
Symbol 653 BitmapUsed by:654
Symbol 654 GraphicUses:653Used by:657
Symbol 655 BitmapUsed by:656
Symbol 656 GraphicUses:655Used by:657
Symbol 657 MovieClipUses:654 656Used by:669
Symbol 658 BitmapUsed by:659
Symbol 659 GraphicUses:658Used by:668
Symbol 660 BitmapUsed by:661
Symbol 661 GraphicUses:660Used by:668
Symbol 662 BitmapUsed by:663
Symbol 663 GraphicUses:662Used by:668
Symbol 664 BitmapUsed by:665
Symbol 665 GraphicUses:664Used by:668
Symbol 666 BitmapUsed by:667
Symbol 667 GraphicUses:666Used by:668
Symbol 668 MovieClipUses:659 309 661 663 665 667Used by:669
Symbol 669 MovieClipUses:657 184 668Used by:Timeline
Symbol 670 MovieClipUses:154Used by:Timeline
Symbol 671 ShapeTweeningUsed by:694
Symbol 672 GraphicUsed by:673
Symbol 673 MovieClipUses:672Used by:694
Symbol 674 ShapeTweeningUsed by:694
Symbol 675 ShapeTweeningUsed by:694
Symbol 676 GraphicUsed by:694 722
Symbol 677 GraphicUsed by:694 722
Symbol 678 GraphicUsed by:694 722
Symbol 679 GraphicUsed by:694 722
Symbol 680 GraphicUsed by:694 722
Symbol 681 GraphicUsed by:694 722
Symbol 682 GraphicUsed by:694 722
Symbol 683 ShapeTweeningUsed by:694
Symbol 684 ShapeTweeningUsed by:694
Symbol 685 GraphicUsed by:686
Symbol 686 MovieClipUses:685Used by:694 722
Symbol 687 GraphicUsed by:688
Symbol 688 MovieClipUses:687Used by:694 722
Symbol 689 GraphicUsed by:694 722
Symbol 690 GraphicUsed by:694 722
Symbol 691 ShapeTweeningUsed by:694
Symbol 692 ShapeTweeningUsed by:694
Symbol 693 GraphicUsed by:694 722
Symbol 694 MovieClipUses:671 673 674 675 676 677 678 679 680 681 682 683 684 686 688 689 690 691 692 71 693Used by:Timeline
Symbol 695 MovieClipUses:560Used by:Timeline
Symbol 696 GraphicUsed by:697
Symbol 697 MovieClipUses:696Used by:Timeline
Symbol 698 GraphicUsed by:699
Symbol 699 MovieClipUses:698Used by:Timeline
Symbol 700 BitmapUsed by:701
Symbol 701 GraphicUses:700Used by:702
Symbol 702 MovieClipUses:701Used by:Timeline
Symbol 703 GraphicUses:580Used by:704
Symbol 704 MovieClipUses:703Used by:714
Symbol 705 BitmapUsed by:706
Symbol 706 GraphicUses:705Used by:713
Symbol 707 BitmapUsed by:708
Symbol 708 GraphicUses:707Used by:713
Symbol 709 BitmapUsed by:710
Symbol 710 GraphicUses:709Used by:713
Symbol 711 BitmapUsed by:712
Symbol 712 GraphicUses:711Used by:713
Symbol 713 MovieClipUses:706 708 710 712Used by:714
Symbol 714 MovieClipUses:704 184 713Used by:Timeline
Symbol 715 ShapeTweeningUsed by:722
Symbol 716 ShapeTweeningUsed by:722
Symbol 717 ShapeTweeningUsed by:722
Symbol 718 ShapeTweeningUsed by:722
Symbol 719 ShapeTweeningUsed by:722
Symbol 720 ShapeTweeningUsed by:722
Symbol 721 ShapeTweeningUsed by:722
Symbol 722 MovieClipUses:715 716 717 676 677 678 679 680 681 682 718 719 686 688 689 690 720 721 71 693Used by:Timeline
Symbol 723 SoundUsed by:Timeline
Symbol 724 BitmapUsed by:727
Symbol 725 BitmapUsed by:727
Symbol 726 BitmapUsed by:727
Symbol 727 GraphicUses:724 725 726Used by:728
Symbol 728 MovieClipUses:727Used by:Timeline
Symbol 729 GraphicUsed by:730
Symbol 730 MovieClipUses:729Used by:Timeline
Symbol 731 BitmapUsed by:732
Symbol 732 GraphicUses:731Used by:733
Symbol 733 MovieClipUses:732Used by:Timeline
Symbol 734 BitmapUsed by:735
Symbol 735 GraphicUses:734Used by:738
Symbol 736 BitmapUsed by:737
Symbol 737 GraphicUses:736Used by:738
Symbol 738 MovieClipUses:735 737Used by:739
Symbol 739 MovieClipUses:630 738 644Used by:Timeline
Symbol 740 BitmapUsed by:741
Symbol 741 GraphicUses:740Used by:742
Symbol 742 MovieClipUses:630 644 741Used by:Timeline
Symbol 743 BitmapUsed by:744
Symbol 744 GraphicUses:743Used by:747
Symbol 745 BitmapUsed by:746
Symbol 746 GraphicUses:745Used by:747
Symbol 747 MovieClipUses:412 744 746Used by:748
Symbol 748 MovieClipUses:747 184Used by:Timeline
Symbol 749 SoundUsed by:Timeline
Symbol 750 GraphicUsed by:751
Symbol 751 MovieClipUses:750Used by:Timeline
Symbol 752 BitmapUsed by:753
Symbol 753 GraphicUses:752Used by:754
Symbol 754 MovieClipUses:753Used by:Timeline
Symbol 755 GraphicUses:585Used by:756
Symbol 756 MovieClipUses:755Used by:766
Symbol 757 BitmapUsed by:758
Symbol 758 GraphicUses:757Used by:765
Symbol 759 BitmapUsed by:760
Symbol 760 GraphicUses:759Used by:765
Symbol 761 BitmapUsed by:762
Symbol 762 GraphicUses:761Used by:765
Symbol 763 BitmapUsed by:764
Symbol 764 GraphicUses:763Used by:765
Symbol 765 MovieClipUses:758 760 762 764Used by:766
Symbol 766 MovieClipUses:756 184 765Used by:Timeline
Symbol 767 SoundUsed by:Timeline
Symbol 768 GraphicUsed by:769
Symbol 769 MovieClipUses:768Used by:Timeline
Symbol 770 GraphicUses:588Used by:771
Symbol 771 MovieClipUses:770Used by:Timeline
Symbol 772 SoundUsed by:Timeline
Symbol 773 GraphicUsed by:774
Symbol 774 MovieClipUses:773Used by:Timeline
Symbol 775 BitmapUsed by:776 794
Symbol 776 GraphicUses:775Used by:777
Symbol 777 MovieClipUses:776Used by:Timeline
Symbol 778 BitmapUsed by:779
Symbol 779 GraphicUses:778Used by:786
Symbol 780 BitmapUsed by:781
Symbol 781 GraphicUses:780Used by:786
Symbol 782 BitmapUsed by:783
Symbol 783 GraphicUses:782Used by:786
Symbol 784 BitmapUsed by:785
Symbol 785 GraphicUses:784Used by:786
Symbol 786 MovieClipUses:779 781 783 785Used by:787
Symbol 787 MovieClipUses:786Used by:793
Symbol 788 BitmapUsed by:789
Symbol 789 GraphicUses:788Used by:792
Symbol 790 BitmapUsed by:791
Symbol 791 GraphicUses:790Used by:792
Symbol 792 MovieClipUses:789 791Used by:793
Symbol 793 MovieClipUses:417 452 787 184 792 438Used by:Timeline
Symbol 794 GraphicUses:775Used by:802
Symbol 795 MovieClipUses:419 421 423 425 427 429 431 433 434 437 310Used by:796
Symbol 796 MovieClipUses:417 795Used by:802
Symbol 797 GraphicUsed by:802
Symbol 798 GraphicUsed by:800
Symbol 799 GraphicUsed by:800
Symbol 800 MovieClipUses:798 64 799Used by:802
Symbol 801 EditableTextUses:541Used by:802
Symbol 802 MovieClipUses:794 533 538 528 549 796 797 562 800 801Used by:Timeline
Streaming Sound 1Used by:Symbol 75 MovieClip
Streaming Sound 2Used by:Symbol 100 MovieClip

Instance Names

"loadBar"Frame 1Symbol 15 MovieClip
"lab"Frame 1Symbol 59 Button
"adBox"Frame 3Symbol 61 MovieClip
"playButtonClip"Frame 3Symbol 66 MovieClip
"lalogo"Frame 4Symbol 70 MovieClip
"logo"Frame 5Symbol 100 MovieClip
"that"Frame 9Symbol 558 MovieClip
"cam"Frame 9Symbol 561 MovieClip
"startButton"Frame 9Symbol 565 MovieClip
"lab"Frame 9Symbol 567 Button
"cam"Frame 11Symbol 568 MovieClip
"that"Frame 11Symbol 569 MovieClip
"lvl1"Frame 11Symbol 579 MovieClip
"lvl2"Frame 11Symbol 582 MovieClip
"lvl3"Frame 11Symbol 584 MovieClip
"lvl4"Frame 11Symbol 587 MovieClip
"lvl5"Frame 11Symbol 590 MovieClip
"lvl6"Frame 11Symbol 592 MovieClip
"two"Frame 12Symbol 602 MovieClip
"four"Frame 12Symbol 603 MovieClip
"one"Frame 12Symbol 604 MovieClip
"three"Frame 12Symbol 606 MovieClip
"twoB"Frame 12Symbol 608 MovieClip
"threeB"Frame 12Symbol 610 MovieClip
"fourB"Frame 12Symbol 612 MovieClip
"that"Frame 13Symbol 558 MovieClip
"cam"Frame 13Symbol 561 MovieClip
"bg"Frame 14Symbol 624 MovieClip
"ground"Frame 14Symbol 626 MovieClip
"enemy2"Frame 14Symbol 645 MovieClip
"enemy3"Frame 14Symbol 645 MovieClip
"enemy1"Frame 14Symbol 645 MovieClip
"enemy4"Frame 14Symbol 645 MovieClip
"enemy5"Frame 14Symbol 645 MovieClip
"enemy6"Frame 14Symbol 645 MovieClip
"enemy7"Frame 14Symbol 645 MovieClip
"flame1"Frame 14Symbol 648 MovieClip
"flame2"Frame 14Symbol 648 MovieClip
"flame3"Frame 14Symbol 648 MovieClip
"flame4"Frame 14Symbol 648 MovieClip
"flame5"Frame 14Symbol 648 MovieClip
"flame6"Frame 14Symbol 648 MovieClip
"box3"Frame 14Symbol 651 MovieClip
"box1"Frame 14Symbol 651 MovieClip
"box2"Frame 14Symbol 651 MovieClip
"box4"Frame 14Symbol 651 MovieClip
"box5"Frame 14Symbol 651 MovieClip
"box6"Frame 14Symbol 651 MovieClip
"box7"Frame 14Symbol 651 MovieClip
"box8"Frame 14Symbol 651 MovieClip
"box9"Frame 14Symbol 651 MovieClip
"box10"Frame 14Symbol 651 MovieClip
"box11"Frame 14Symbol 651 MovieClip
"d1"Frame 14Symbol 652 MovieClip
"d3"Frame 14Symbol 652 MovieClip
"d2"Frame 14Symbol 652 MovieClip
"boss"Frame 14Symbol 669 MovieClip
"startPoint"Frame 14Symbol 670 MovieClip
"cam"Frame 14Symbol 695 MovieClip
"that"Frame 15Symbol 558 MovieClip
"cam"Frame 15Symbol 561 MovieClip
"bg"Frame 16Symbol 697 MovieClip
"ground"Frame 16Symbol 699 MovieClip
"enemy4"Frame 16Symbol 645 MovieClip
"enemy2"Frame 16Symbol 645 MovieClip
"enemy3"Frame 16Symbol 645 MovieClip
"enemy1"Frame 16Symbol 645 MovieClip
"enemy5"Frame 16Symbol 645 MovieClip
"enemy6"Frame 16Symbol 645 MovieClip
"enemy7"Frame 16Symbol 645 MovieClip
"flame1"Frame 16Symbol 648 MovieClip
"flame2"Frame 16Symbol 648 MovieClip
"flame3"Frame 16Symbol 648 MovieClip
"flame4"Frame 16Symbol 648 MovieClip
"flame5"Frame 16Symbol 648 MovieClip
"flame6"Frame 16Symbol 648 MovieClip
"box3"Frame 16Symbol 651 MovieClip
"box1"Frame 16Symbol 651 MovieClip
"box2"Frame 16Symbol 651 MovieClip
"box4"Frame 16Symbol 651 MovieClip
"box5"Frame 16Symbol 651 MovieClip
"box6"Frame 16Symbol 651 MovieClip
"box7"Frame 16Symbol 651 MovieClip
"box8"Frame 16Symbol 651 MovieClip
"box9"Frame 16Symbol 651 MovieClip
"box10"Frame 16Symbol 651 MovieClip
"box11"Frame 16Symbol 651 MovieClip
"d1"Frame 16Symbol 652 MovieClip
"d3"Frame 16Symbol 652 MovieClip
"d2"Frame 16Symbol 652 MovieClip
"boss"Frame 16Symbol 714 MovieClip
"startPoint"Frame 16Symbol 670 MovieClip
"cam"Frame 16Symbol 695 MovieClip
"that"Frame 17Symbol 558 MovieClip
"cam"Frame 17Symbol 561 MovieClip
"bg"Frame 18Symbol 728 MovieClip
"ground"Frame 18Symbol 730 MovieClip
"enemy3"Frame 18Symbol 739 MovieClip
"enemy4"Frame 18Symbol 739 MovieClip
"enemy2"Frame 18Symbol 739 MovieClip
"enemy1"Frame 18Symbol 739 MovieClip
"enemy5"Frame 18Symbol 739 MovieClip
"enemy6"Frame 18Symbol 739 MovieClip
"enemy7"Frame 18Symbol 739 MovieClip
"flame1"Frame 18Symbol 742 MovieClip
"flame2"Frame 18Symbol 742 MovieClip
"flame3"Frame 18Symbol 742 MovieClip
"flame4"Frame 18Symbol 742 MovieClip
"flame5"Frame 18Symbol 742 MovieClip
"flame6"Frame 18Symbol 742 MovieClip
"box3"Frame 18Symbol 651 MovieClip
"box1"Frame 18Symbol 651 MovieClip
"box2"Frame 18Symbol 651 MovieClip
"box4"Frame 18Symbol 651 MovieClip
"box5"Frame 18Symbol 651 MovieClip
"box6"Frame 18Symbol 651 MovieClip
"box7"Frame 18Symbol 651 MovieClip
"box8"Frame 18Symbol 651 MovieClip
"box9"Frame 18Symbol 651 MovieClip
"box10"Frame 18Symbol 651 MovieClip
"box11"Frame 18Symbol 651 MovieClip
"d1"Frame 18Symbol 652 MovieClip
"d3"Frame 18Symbol 652 MovieClip
"d2"Frame 18Symbol 652 MovieClip
"boss"Frame 18Symbol 748 MovieClip
"startPoint"Frame 18Symbol 670 MovieClip
"cam"Frame 18Symbol 695 MovieClip
"that"Frame 19Symbol 558 MovieClip
"cam"Frame 19Symbol 561 MovieClip
"bg"Frame 20Symbol 697 MovieClip
"ground"Frame 20Symbol 751 MovieClip
"enemy4"Frame 20Symbol 645 MovieClip
"enemy2"Frame 20Symbol 645 MovieClip
"enemy3"Frame 20Symbol 645 MovieClip
"enemy1"Frame 20Symbol 645 MovieClip
"enemy5"Frame 20Symbol 645 MovieClip
"enemy6"Frame 20Symbol 645 MovieClip
"enemy7"Frame 20Symbol 645 MovieClip
"flame1"Frame 20Symbol 648 MovieClip
"flame2"Frame 20Symbol 648 MovieClip
"flame3"Frame 20Symbol 648 MovieClip
"flame4"Frame 20Symbol 648 MovieClip
"flame5"Frame 20Symbol 648 MovieClip
"flame6"Frame 20Symbol 648 MovieClip
"box3"Frame 20Symbol 651 MovieClip
"box1"Frame 20Symbol 651 MovieClip
"box2"Frame 20Symbol 651 MovieClip
"box4"Frame 20Symbol 651 MovieClip
"box5"Frame 20Symbol 651 MovieClip
"box6"Frame 20Symbol 651 MovieClip
"box7"Frame 20Symbol 651 MovieClip
"box8"Frame 20Symbol 651 MovieClip
"box9"Frame 20Symbol 651 MovieClip
"box10"Frame 20Symbol 651 MovieClip
"box11"Frame 20Symbol 651 MovieClip
"d1"Frame 20Symbol 652 MovieClip
"d3"Frame 20Symbol 652 MovieClip
"d2"Frame 20Symbol 652 MovieClip
"boss"Frame 20Symbol 766 MovieClip
"startPoint"Frame 20Symbol 670 MovieClip
"cam"Frame 20Symbol 695 MovieClip
"that"Frame 21Symbol 558 MovieClip
"cam"Frame 21Symbol 561 MovieClip
"bg"Frame 22Symbol 697 MovieClip
"ground"Frame 22Symbol 769 MovieClip
"enemy4"Frame 22Symbol 645 MovieClip
"enemy2"Frame 22Symbol 645 MovieClip
"enemy3"Frame 22Symbol 739 MovieClip
"enemy1"Frame 22Symbol 739 MovieClip
"enemy5"Frame 22Symbol 739 MovieClip
"enemy6"Frame 22Symbol 739 MovieClip
"enemy7"Frame 22Symbol 645 MovieClip
"flame1"Frame 22Symbol 742 MovieClip
"flame2"Frame 22Symbol 648 MovieClip
"flame3"Frame 22Symbol 648 MovieClip
"flame4"Frame 22Symbol 742 MovieClip
"flame5"Frame 22Symbol 742 MovieClip
"flame6"Frame 22Symbol 648 MovieClip
"box3"Frame 22Symbol 651 MovieClip
"box1"Frame 22Symbol 651 MovieClip
"box2"Frame 22Symbol 651 MovieClip
"box4"Frame 22Symbol 651 MovieClip
"box5"Frame 22Symbol 651 MovieClip
"box6"Frame 22Symbol 651 MovieClip
"box7"Frame 22Symbol 651 MovieClip
"box8"Frame 22Symbol 651 MovieClip
"box9"Frame 22Symbol 651 MovieClip
"box10"Frame 22Symbol 651 MovieClip
"box11"Frame 22Symbol 651 MovieClip
"d1"Frame 22Symbol 652 MovieClip
"d3"Frame 22Symbol 652 MovieClip
"d2"Frame 22Symbol 652 MovieClip
"startPoint"Frame 22Symbol 670 MovieClip
"cam"Frame 22Symbol 695 MovieClip
"that"Frame 23Symbol 558 MovieClip
"cam"Frame 23Symbol 561 MovieClip
"bg"Frame 24Symbol 697 MovieClip
"ground"Frame 24Symbol 774 MovieClip
"enemy4"Frame 24Symbol 645 MovieClip
"enemy2"Frame 24Symbol 645 MovieClip
"enemy3"Frame 24Symbol 739 MovieClip
"enemy1"Frame 24Symbol 739 MovieClip
"enemy5"Frame 24Symbol 739 MovieClip
"enemy6"Frame 24Symbol 645 MovieClip
"enemy7"Frame 24Symbol 645 MovieClip
"flame1"Frame 24Symbol 742 MovieClip
"flame2"Frame 24Symbol 648 MovieClip
"flame3"Frame 24Symbol 742 MovieClip
"flame4"Frame 24Symbol 648 MovieClip
"flame5"Frame 24Symbol 648 MovieClip
"flame6"Frame 24Symbol 742 MovieClip
"box3"Frame 24Symbol 651 MovieClip
"box1"Frame 24Symbol 651 MovieClip
"box2"Frame 24Symbol 651 MovieClip
"box4"Frame 24Symbol 651 MovieClip
"box5"Frame 24Symbol 651 MovieClip
"box6"Frame 24Symbol 651 MovieClip
"box7"Frame 24Symbol 651 MovieClip
"box8"Frame 24Symbol 651 MovieClip
"box9"Frame 24Symbol 651 MovieClip
"box10"Frame 24Symbol 651 MovieClip
"box11"Frame 24Symbol 651 MovieClip
"d1"Frame 24Symbol 652 MovieClip
"d3"Frame 24Symbol 652 MovieClip
"d2"Frame 24Symbol 652 MovieClip
"boss"Frame 24Symbol 793 MovieClip
"startPoint"Frame 24Symbol 670 MovieClip
"cam"Frame 24Symbol 695 MovieClip
"that"Frame 25Symbol 558 MovieClip
"cam"Frame 25Symbol 561 MovieClip
"marker"Symbol 185 MovieClip [metalBee] Frame 1Symbol 174 MovieClip
"hitBox"Symbol 185 MovieClip [metalBee] Frame 1Symbol 184 MovieClip
"healthBar"Symbol 262 MovieClip [hud] Frame 1Symbol 230 MovieClip
"cnn"Symbol 262 MovieClip [hud] Frame 1Symbol 231 EditableText
"faces"Symbol 262 MovieClip [hud] Frame 1Symbol 238 MovieClip
"hit"Symbol 331 MovieClip [player] Frame 1Symbol 315 MovieClip
"hit"Symbol 346 MovieClip [playerTwo] Frame 1Symbol 315 MovieClip
"hit"Symbol 363 MovieClip [playerThree] Frame 1Symbol 315 MovieClip
"hit"Symbol 390 MovieClip [playerFour] Frame 1Symbol 315 MovieClip
"beam"Symbol 405 MovieClip [bossAttack] Frame 41Symbol 404 MovieClip
"spark"Symbol 480 MovieClip [arm_mc] Frame 1Symbol 471 MovieClip [gfl]
"hit"Symbol 496 MovieClip [hiddenGuy] Frame 1Symbol 315 MovieClip
"hit"Symbol 532 MovieClip Frame 1Symbol 315 MovieClip
"LSR_txt"Symbol 551 MovieClip Frame 1Symbol 542 EditableText
"LSR_txt"Symbol 551 MovieClip Frame 129Symbol 544 EditableText
"LSR_txt"Symbol 551 MovieClip Frame 285Symbol 550 EditableText
"lens"Symbol 561 MovieClip Frame 1Symbol 560 MovieClip
"lens"Symbol 568 MovieClip Frame 1Symbol 560 MovieClip
"area"Symbol 645 MovieClip Frame 1Symbol 630 MovieClip
"hitBox"Symbol 645 MovieClip Frame 1Symbol 644 MovieClip
"area"Symbol 648 MovieClip Frame 1Symbol 630 MovieClip
"hitBox"Symbol 648 MovieClip Frame 1Symbol 644 MovieClip
"hitBox"Symbol 669 MovieClip Frame 1Symbol 184 MovieClip
"lens"Symbol 695 MovieClip Frame 1Symbol 560 MovieClip
"hitBox"Symbol 714 MovieClip Frame 1Symbol 184 MovieClip
"area"Symbol 739 MovieClip Frame 1Symbol 630 MovieClip
"hitBox"Symbol 739 MovieClip Frame 1Symbol 644 MovieClip
"area"Symbol 742 MovieClip Frame 1Symbol 630 MovieClip
"hitBox"Symbol 742 MovieClip Frame 1Symbol 644 MovieClip
"hitBox"Symbol 748 MovieClip Frame 1Symbol 184 MovieClip
"hitBox"Symbol 766 MovieClip Frame 1Symbol 184 MovieClip
"hitBox"Symbol 793 MovieClip Frame 1Symbol 184 MovieClip
"LSR_txt"Symbol 802 MovieClip Frame 100Symbol 801 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 6Symbol 123 as "lostIt"
ExportAssets (56)Timeline Frame 6Symbol 140 as "coins"
ExportAssets (56)Timeline Frame 6Symbol 142 as "ping"
ExportAssets (56)Timeline Frame 6Symbol 144 as "crosshair"
ExportAssets (56)Timeline Frame 6Symbol 153 as "bullet"
ExportAssets (56)Timeline Frame 6Symbol 155 as "place"
ExportAssets (56)Timeline Frame 6Symbol 173 as "pow"
ExportAssets (56)Timeline Frame 6Symbol 185 as "metalBee"
ExportAssets (56)Timeline Frame 6Symbol 218 as "explosion"
ExportAssets (56)Timeline Frame 6Symbol 221 as "bombs"
ExportAssets (56)Timeline Frame 6Symbol 224 as "enemyBullet"
ExportAssets (56)Timeline Frame 6Symbol 225 as "flameBullet"
ExportAssets (56)Timeline Frame 6Symbol 262 as "hud"
ExportAssets (56)Timeline Frame 6Symbol 271 as "laser"
ExportAssets (56)Timeline Frame 6Symbol 280 as "largeBullet"
ExportAssets (56)Timeline Frame 6Symbol 301 as "bubbs"
ExportAssets (56)Timeline Frame 6Symbol 302 as "trans"
ExportAssets (56)Timeline Frame 6Symbol 307 as "bossWarning"
ExportAssets (56)Timeline Frame 6Symbol 312 as "deadBoss"
ExportAssets (56)Timeline Frame 6Symbol 313 as "flash"
ExportAssets (56)Timeline Frame 6Symbol 331 as "player"
ExportAssets (56)Timeline Frame 6Symbol 346 as "playerTwo"
ExportAssets (56)Timeline Frame 6Symbol 363 as "playerThree"
ExportAssets (56)Timeline Frame 6Symbol 373 as "dust"
ExportAssets (56)Timeline Frame 6Symbol 390 as "playerFour"
ExportAssets (56)Timeline Frame 6Symbol 405 as "bossAttack"
ExportAssets (56)Timeline Frame 6Symbol 410 as "bossDeath2"
ExportAssets (56)Timeline Frame 6Symbol 416 as "dead3Boss"
ExportAssets (56)Timeline Frame 6Symbol 453 as "bossDeath5"
ExportAssets (56)Timeline Frame 6Symbol 458 as "bossDeath4"
ExportAssets (56)Timeline Frame 6Symbol 471 as "gfl"
ExportAssets (56)Timeline Frame 6Symbol 480 as "arm_mc"
ExportAssets (56)Timeline Frame 6Symbol 496 as "hiddenGuy"
ExportAssets (56)Timeline Frame 6Symbol 520 as "stageComplete"
ExportAssets (56)Timeline Frame 6Symbol 521 as "blu"
ExportAssets (56)Timeline Frame 6Symbol 522 as "reflect"

Labels

"title"Frame 8
"stageSelect"Frame 10
"levelOne"Frame 14
"levelTwo"Frame 16
"levelThree"Frame 18
"levelFour"Frame 20
"levelFive"Frame 22
"levelSix"Frame 24
"animation length"Symbol 173 MovieClip [pow] Frame 1
"idle"Symbol 331 MovieClip [player] Frame 1
"run"Symbol 331 MovieClip [player] Frame 2
"jump"Symbol 331 MovieClip [player] Frame 3
"idle"Symbol 346 MovieClip [playerTwo] Frame 1
"run"Symbol 346 MovieClip [playerTwo] Frame 2
"jump"Symbol 346 MovieClip [playerTwo] Frame 3
"idle"Symbol 363 MovieClip [playerThree] Frame 1
"run"Symbol 363 MovieClip [playerThree] Frame 2
"jump"Symbol 363 MovieClip [playerThree] Frame 3
"idle"Symbol 390 MovieClip [playerFour] Frame 1
"run"Symbol 390 MovieClip [playerFour] Frame 2
"jump"Symbol 390 MovieClip [playerFour] Frame 3
"idle"Symbol 496 MovieClip [hiddenGuy] Frame 1
"run"Symbol 496 MovieClip [hiddenGuy] Frame 2
"jump"Symbol 496 MovieClip [hiddenGuy] Frame 3
"idle"Symbol 532 MovieClip Frame 1
"run"Symbol 532 MovieClip Frame 2
"jump"Symbol 532 MovieClip Frame 3
"warning"Symbol 669 MovieClip Frame 1
"shooting"Symbol 669 MovieClip Frame 2
"warning"Symbol 714 MovieClip Frame 1
"shooting"Symbol 714 MovieClip Frame 2
"warning"Symbol 766 MovieClip Frame 1
"shooting"Symbol 766 MovieClip Frame 2
"warning"Symbol 793 MovieClip Frame 1
"shooting"Symbol 793 MovieClip Frame 2

Dynamic Text Variables

numberOfCoinsSymbol 616 EditableText"0000"




http://swfchan.com/26/126486/info.shtml
Created: 26/2 -2019 00:48:56 Last modified: 26/2 -2019 00:48:56 Server time: 28/04 -2024 14:17:58