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

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

thug.swf

This is the info page for
Flash #125589

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


Text
Play

Loading....

D

GAMES.CO.UK

developed by

<p align="left"><font face="Hobo Std" size="52" color="#f74a07" letterSpacing="0.000000" kerning="1"><b>0</b></font></p>

Sound On

Sound Off

Control

ActionScript [AS1/AS2]

Frame 1
var myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); copyrightNotice.separatorBefore = true; myMenu.customItems.push(mySiteLink, copyrightNotice); _root.menu = myMenu; stop();
Frame 2
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) { _root.gotoAndPlay(5); }
Instance of Symbol 49 MovieClip in Frame 2
on (release) { getURL ("http://www.happytree.com", "_blank"); }
Instance of Symbol 49 MovieClip in Frame 2
on (release) { getURL ("http://www.bandias.com/?a=mod_other_promo&f=thug", "_blank"); }
Frame 3
gotoAndPlay (2);
Frame 5
logo.onPress = function () { getURL ("http://www.xdgames.co.uk", "_blank"); };
Frame 6
stop(); blip_sound = new Sound(); blip_sound.attachSound("css"); moveOn = false; moveOnTimer = 0; canSelect = true; screen.onEnterFrame = function () { if (moveOn) { moveOnTimer++; if (moveOnTimer == 15) { nextFrame(); } } }; screen.onRelease = function () { if (canSelect) { blip_sound.start(); moveOn = true; _root.attachMovie("flash", "flash", _root.getNextHighestDepth()); canSelect = false; } };
Instance of Symbol 713 MovieClip "screen" in Frame 6
on (rollOver) { this.gotoAndStop("over"); } on (rollOut) { this.gotoAndStop("up"); }
Instance of Symbol 49 MovieClip in Frame 6
on (release) { getURL ("http://www.happytree.com", "_blank"); }
Frame 7
stop(); playerSelect = 0; once = 0; hover_sound = new Sound(); hover_sound.attachSound("other"); blip_sound = new Sound(); blip_sound.attachSound("css"); moveOn = false; moveOnTimer = 0; canSelect = true; one.onEnterFrame = function () { if (((!this.hitTest(_xmouse, _ymouse, true)) && (!two.hitTest(_xmouse, _ymouse, true))) && (!three.hitTest(_xmouse, _ymouse, true))) { once = 0; } if (moveOn) { moveOnTimer++; if (moveOnTimer == 15) { nextFrame(); } } if (this.hitTest(_xmouse, _ymouse, true)) { this.gotoAndStop("over"); if (once == 0) { once = 1; hover_sound.start(); } } else { this.gotoAndStop("up"); } }; two.onEnterFrame = function () { if (this.hitTest(_xmouse, _ymouse, true)) { this.gotoAndStop("over"); if (once == 0) { once = 1; hover_sound.start(); } } else { this.gotoAndStop("up"); } }; three.onEnterFrame = function () { if (this.hitTest(_xmouse, _ymouse, true)) { this.gotoAndStop("over"); if (once == 0) { once = 1; hover_sound.start(); } } else { this.gotoAndStop("up"); } }; one.onRelease = function () { if (canSelect) { blip_sound.start(); moveOn = true; _root.attachMovie("flash", "flash", _root.getNextHighestDepth()); playerSelect = 0; canSelect = false; } }; two.onRelease = function () { if (canSelect) { blip_sound.start(); moveOn = true; _root.attachMovie("flash", "flash", _root.getNextHighestDepth()); playerSelect = 1; canSelect = false; } }; three.onRelease = function () { if (canSelect) { blip_sound.start(); moveOn = true; _root.attachMovie("flash", "flash", _root.getNextHighestDepth()); playerSelect = 2; canSelect = false; } };
Frame 8
stop();
Instance of Symbol 741 MovieClip in Frame 8
on (release) { stopAllSounds(); _root.nextFrame(); }
Frame 10
function removedied() { i = died.length - 1; while (i >= 0) { died[i].removeMovieClip(); died.splice(i, 1); i--; } } function removebullets() { i = bullets.length - 1; while (i >= 0) { bullets[i].removeMovieClip(); bullets.splice(i, 1); i--; } } function removebulletType() { i = bulletType.length - 1; while (i >= 0) { bulletType[i].removeMovieClip(); bulletType.splice(i, 1); i--; } } function removeegroundMarker() { i = egroundMarker.length - 1; while (i >= 0) { egroundMarker[i].removeMovieClip(); egroundMarker.splice(i, 1); i--; } } function removeegravity() { i = egravity.length - 1; while (i >= 0) { egravity[i].removeMovieClip(); egravity.splice(i, 1); i--; } } function removepotionType() { i = potionType.length - 1; while (i >= 0) { potionType[i].removeMovieClip(); potionType.splice(i, 1); i--; } } function removepotions() { i = potions.length - 1; while (i >= 0) { potions[i].removeMovieClip(); potions.splice(i, 1); i--; } } function removeboxHealth() { i = boxHealth.length - 1; while (i >= 0) { boxHealth[i].removeMovieClip(); boxHealth.splice(i, 1); i--; } } function removeboxHit() { i = boxHit.length - 1; while (i >= 0) { boxHit[i].removeMovieClip(); boxHit.splice(i, 1); i--; } } function removeboxHitTimer() { i = boxHitTimer.length - 1; while (i >= 0) { boxHitTimer[i].removeMovieClip(); boxHitTimer.splice(i, 1); i--; } } function removeboxes() { i = boxes.length - 1; while (i >= 0) { boxes[i].removeMovieClip(); boxes.splice(i, 1); i--; } } function removeedropping() { i = edropping.length - 1; while (i >= 0) { edropping[i].removeMovieClip(); edropping.splice(i, 1); i--; } } function removeeonfloor() { i = eonfloor.length - 1; while (i >= 0) { eonfloor[i].removeMovieClip(); eonfloor.splice(i, 1); i--; } } function removeejump() { i = ejump.length - 1; while (i >= 0) { ejump[i].removeMovieClip(); ejump.splice(i, 1); i--; } } function removeejumpamount() { i = ejumpamount.length - 1; while (i >= 0) { ejumpamount[i].removeMovieClip(); ejumpamount.splice(i, 1); i--; } } function removeeyspeed() { i = eyspeed.length - 1; while (i >= 0) { eyspeed[i].removeMovieClip(); eyspeed.splice(i, 1); i--; } } function removeshot() { i = shot.length - 1; while (i >= 0) { shot[i].removeMovieClip(); shot.splice(i, 1); i--; } } function removeportTimer() { i = portTimer.length - 1; while (i >= 0) { portTimer[i].removeMovieClip(); portTimer.splice(i, 1); i--; } } function removebeingSmacked() { i = beingSmacked.length - 1; while (i >= 0) { beingSmacked[i].removeMovieClip(); beingSmacked.splice(i, 1); i--; } } function removedead_body() { i = dead_body.length - 1; while (i >= 0) { dead_body[i].removeMovieClip(); dead_body.splice(i, 1); i--; } } function removetype() { i = type.length - 1; while (i >= 0) { type[i].removeMovieClip(); type.splice(i, 1); i--; } } function removehypArray() { i = hypArray.length - 1; while (i >= 0) { hypArray[i].removeMovieClip(); hypArray.splice(i, 1); i--; } } function removeenemyHealth() { i = enemyHealth.length - 1; while (i >= 0) { enemyHealth[i].removeMovieClip(); enemyHealth.splice(i, 1); i--; } } function removedamagedTimer() { i = damagedTimer.length - 1; while (i >= 0) { damagedTimer[i].removeMovieClip(); damagedTimer.splice(i, 1); i--; } } function removehit() { i = hit.length - 1; while (i >= 0) { hit[i].removeMovieClip(); hit.splice(i, 1); i--; } } function removeenemyAttackingTimer() { i = enemyAttackingTimer.length - 1; while (i >= 0) { enemyAttackingTimer[i].removeMovieClip(); enemyAttackingTimer.splice(i, 1); i--; } } function removeenemyAttacking() { i = enemyAttacking.length - 1; while (i >= 0) { enemyAttacking[i].removeMovieClip(); enemyAttacking.splice(i, 1); i--; } } function removeenemy() { i = enemy.length - 1; while (i >= 0) { enemy[i].removeMovieClip(); enemy.splice(i, 1); i--; } } function removeblocks() { i = blocks.length - 1; while (i >= 0) { blocks[i].removeMovieClip(); blocks.splice(i, 1); i--; } } function removemoveAbout() { i = moveAbout.length - 1; while (i >= 0) { moveAbout[i].removeMovieClip(); moveAbout.splice(i, 1); i--; } } function removewhere() { i = where.length - 1; while (i >= 0) { where[i].removeMovieClip(); where.splice(i, 1); i--; } } function removeonPlatform() { i = onPlatform.length - 1; while (i >= 0) { onPlatform[i].removeMovieClip(); onPlatform.splice(i, 1); i--; } } function removepickAttack() { i = pickAttack.length - 1; while (i >= 0) { pickAttack[i].removeMovieClip(); pickAttack.splice(i, 1); i--; } } function removeport() { i = port.length - 1; while (i >= 0) { port[i].removeMovieClip(); port.splice(i, 1); i--; } } function removefalling() { i = falling.length - 1; while (i >= 0) { falling[i].removeMovieClip(); falling.splice(i, 1); i--; } } function removedown() { i = down.length - 1; while (i >= 0) { down[i].removeMovieClip(); down.splice(i, 1); i--; } } function removedownTimer() { i = downTimer.length - 1; while (i >= 0) { downTimer[i].removeMovieClip(); downTimer.splice(i, 1); i--; } } function removedepths() { i = depths.length - 1; while (i >= 0) { depths[i].removeMovieClip(); depths.splice(i, 1); i--; } } function removeEverything() { stopAllSounds(); italy.removeMovieClip(); cont.removeMovieClip(); machineGunz.removeMovieClip(); flameGun.removeMovieClip(); shootygun.removeMovieClip(); player.removeMovieClip(); removedied(); removebullets(); removebulletType(); removeegroundMarker(); removeegravity(); removepotionType(); removepotions(); removeboxHealth(); removeboxHit(); removeboxHitTimer(); removeboxes(); removeedropping(); removeeonfloor(); removeejump(); removeejumpamount(); removeeyspeed(); removeshot(); removeportTimer(); removebeingSmacked(); removedead_body(); removetype(); removehypArray(); removeenemyHealth(); removedamagedTimer(); removehit(); removeenemyAttackingTimer(); removeenemyAttacking(); removeenemy(); removeblocks(); removemoveAbout(); removewhere(); removeonPlatform(); removepickAttack(); removeport(); removefalling(); removedown(); removedownTimer(); removedepths(); } function noOverLap() { i = enemy.length - 1; while (i >= 0) { j = enemy.length - 1; while (j >= 0) { if (!(enemy[i] === enemy[j])) { if (enemy[i].hitTest(enemy[j])) { if ((enemyHealth[i] > 0) && (!down[i])) { endX = _root.enemy[j]._x; enemy[i]._x = enemy[i]._x - ((endX - enemy[i]._x) / enemySpeed); } } } j--; } i--; } } function theStage() { if ((player._x > 1140) && (sectionOneRelease)) { enemyNumber = 3; pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:1600, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:1600, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:1600, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:1600, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:1600, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:1600, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:1600, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:1600, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); sectionOneRelease = false; } if ((player._x > 1700) && (sectionTwoRelease)) { enemyNumber = 4; pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2700, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2700, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:300, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:300, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:300, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:300, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:300, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:300, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:300, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:300, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); sectionTwoRelease = false; } if ((player._x > 2300) && (sectionThreeRelease)) { enemyNumber = 4; pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2580, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2580, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2580, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2580, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); sectionThreeRelease = false; } if ((player._x > 2700) && (sectionFourRelease)) { enemyNumber = 1; randomNumber++; enemy_mc = _root.attachMovie("midlvlboss", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:3100, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(1); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(50); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); sectionFourRelease = false; } if ((player._x > 3300) && (sectionFiveRelease)) { enemyNumber = 4; pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:3800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:3800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:3800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:3800, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2000, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2000, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2000, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2000, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5000, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5000, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5000, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5000, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); sectionFiveRelease = false; } if ((player._x > 4000) && (sectionSixRelease)) { enemyNumber = 4; pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2800, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; enemy_mc = _root.attachMovie("withGun", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(2); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5000, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5000, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5000, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5000, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; enemy_mc = _root.attachMovie("withGun", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5000, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(2); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); sectionSixRelease = false; } if ((player._x > 4800) && (sectionSevenRelease)) { enemyNumber = 4; pick = Math.round(Math.random() * 3) + 0; randomNumber++; enemy_mc = _root.attachMovie("withGun", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:3800, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(2); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; enemy_mc = _root.attachMovie("withGun", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(2); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5800, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; enemy_mc = _root.attachMovie("withGun", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:6000, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(2); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); sectionSevenRelease = false; } if ((player._x > 5500) && (sectionEightRelease)) { enemyNumber = 2; randomNumber++; enemy_mc = _root.attachMovie("midlvlboss", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:3100, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(1); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(50); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; enemy_mc = _root.attachMovie("withGun", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:6200, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(2); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); sectionEightRelease = false; } } function depthActions() { i = depths.length - 1; while (i >= 0) { if (!jump) { depths[i].idiot_depth = Math.floor((depths[i]._y * 480) + depths[i]._x); depths[i].swapDepths(depths[i].idiot_depth); } i--; } } function calculateHyp() { i = enemy.length - 1; while (i >= 0) { dist_x = player._x - enemy[i]._x; dist_y = player._y - enemy[i]._y; hypArray[i] = Math.sqrt((dist_x * dist_x) + (dist_y * dist_y)); i--; } } function enemyMovement() { i = enemy.length - 1; while (i >= 0) { enemy[i]._yscale = 180; if (_global.forceDrop) { beingSmacked[i] = 0; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; _global.forceDrop = false; } if (type[i] == 0) { if (enemy[i]._y > 550) { enemy[i]._y = 550; } if (enemy[i]._y < 330) { enemy[i]._y = 330; } if (enemyHealth[i] < 1) { if (died[i] == 0) { hurt_sound.start(); enemyNumber--; enemy[i].gotoAndStop("fall"); died[i] = 1; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } if (ejump[i]) { if (enemy[i]._xscale == 180) { enemy[i]._x = enemy[i]._x + 3; } else { enemy[i]._x = enemy[i]._x - 3; } enemy[i]._y = enemy[i]._y + eyspeed[i]; if (enemy[i]._y > egroundMarker[i]) { edropping[i] = false; eonfloor[i] = true; ejump[i] = false; eyspeed[i] = 0; enemy[i]._y = egroundMarker[i]; } else { eyspeed[i] = eyspeed[i] + (egravity[i] * 2); } } if (falling[i]) { if (enemy[i]._y == egroundMarker[i]) { down[i] = true; } } if (down[i]) { if (enemyHealth[i] < 1) { enemy[i].gotoAndStop("dead"); } if (enemyHealth[i] > 0) { enemy[i].gotoAndStop("down"); downTimer[i]++; if (downTimer[i] == 40) { hit[i] = 0; damagedTimer[i] = 0; down[i] = false; falling[i] = false; downTimer[i] = 0; } } } if ((!down[i]) && (enemyHealth[i] > 0)) { if (hypArray[i] < 100) { if (enemyAttacking[i] == 1) { if (enemy[i].marker.hitTest(player.hit)) { hitPlayer = 1; _global.playerHealth = _global.playerHealth - (enemyPower * 1.5); } } enemyAttackingTimer[i]++; } else { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; } if (enemyAttackingTimer[i] > 100) { if (!ejump[i]) { enemy[i].gotoAndStop("attack"); enemyAttacking[i] = 1; if (enemyAttackingTimer[i] == 114) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; pickAttack[i] = Math.round(Math.random() * 3) + 0; } } } if (enemyAttacking[i] == 0) { if (player.hitTest(enemy[i].enemyHitMarker) && (stabTimer == 5)) { enemyHealth[i] = enemyHealth[i] - 2; randomNumber++; _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 120}); if (!ejump[i]) { beingSmacked[i] = 0; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } hit[i] = 1; } j = bullets.length - 1; while (j >= 0) { if (bulletType[j] == "default") { if (bullets[j].hitTest(enemy[i])) { bullets[j]._alpha = 0; } else { bullets[j]._alpha = 100; } } if (bullets[j].hitTest(enemy[i].enemyHitMarker)) { enemyHealth[i] = enemyHealth[i] - bulletPower; randomNumber++; _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[j]._x, _y:bullets[j]._y}); if (beingSmacked[i] > 2) { if (!ejump[i]) { beingSmacked[i] = 0; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } beingSmacked[i]++; hit[i] = 1; bullets[j].removeMovieClip(); bullets.splice(j, 1); bulletType.splice(j, 1); } j--; } if (hit[i] == 1) { if (!ejump[i]) { if (enemy[i]._xscale == 180) { enemy[i]._x = enemy[i]._x + 3; } else { enemy[i]._x = enemy[i]._x - 3; } enemy[i].gotoAndStop("hit"); enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] > 8) { hit[i] = 0; damagedTimer[i] = 0; } } if (ejump[i]) { enemy[i].gotoAndStop("ahit"); enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] > 4) { enemy[i].gotoAndStop("fall"); hit[i] = 0; damagedTimer[i] = 0; } } } if (hit[i] == 0) { if (player._x < enemy[i]._x) { enemy[i]._xscale = 180; } else { enemy[i]._xscale = -180; } portTimer[i]++; if (portTimer[i] > 32) { where[i] = Math.round(Math.random() * 1) + 0; moveAbout[i] = Math.round(Math.random() * 3) + 0; portTimer[i] = 0; } if ((where[i] == 0) or (where[i] == 1)) { if ((!ejump[i]) && (!edropping[i])) { enemy[i].gotoAndStop("run"); } if (moveAbout[i] == 0) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 75) / enemySpeed); enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 1) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 75) / enemySpeed); enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 2) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 25) / enemySpeed); enemy[i]._y = enemy[i]._y + (((endY - enemy[i]._y) - 75) / enemySpeed); } } if (moveAbout[i] == 3) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 25) / enemySpeed); enemy[i]._y = enemy[i]._y + (((endY - enemy[i]._y) + 75) / enemySpeed); } } } else { if (!ejump[i]) { enemy[i].gotoAndStop("idle"); } if (ejump[i]) { enemy[i].gotoAndStop("fall"); } } } } } } if (type[i] == 1) { if (enemy[i]._y > 550) { enemy[i]._y = 550; } if (enemy[i]._y < 330) { enemy[i]._y = 330; } if (enemyHealth[i] < 1) { if (died[i] == 0) { hurt_sound.start(); bigGuy--; enemyNumber--; enemy[i].gotoAndStop("fall"); died[i] = 1; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } if (ejump[i]) { if (enemy[i]._xscale == 180) { enemy[i]._x = enemy[i]._x + 3; } else { enemy[i]._x = enemy[i]._x - 3; } enemy[i]._y = enemy[i]._y + eyspeed[i]; if (enemy[i]._y > egroundMarker[i]) { edropping[i] = false; eonfloor[i] = true; ejump[i] = false; eyspeed[i] = 0; enemy[i]._y = egroundMarker[i]; } else { eyspeed[i] = eyspeed[i] + (egravity[i] * 2); } } if (falling[i]) { if (enemy[i]._y == egroundMarker[i]) { down[i] = true; } } if (down[i]) { if (enemyHealth[i] < 1) { enemy[i].gotoAndStop("dead"); } if (enemyHealth[i] > 0) { enemy[i].gotoAndStop("down"); downTimer[i]++; if (downTimer[i] == 40) { hit[i] = 0; damagedTimer[i] = 0; down[i] = false; falling[i] = false; downTimer[i] = 0; enemyAttackingTimer[i] = 100; } } } if ((!down[i]) && (enemyHealth[i] > 0)) { if (hypArray[i] < 280) { if (enemyAttacking[i] == 1) { if (enemy[i].marker.hitTest(player.hit)) { hitPlayer = 1; _global.playerHealth = _global.playerHealth - (enemyPower * 1.5); } } enemyAttackingTimer[i]++; } else { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; } if (enemyAttackingTimer[i] > 100) { if (!ejump[i]) { if ((enemyShotTimer + 70) < getTimer()) { enemyShotTimer = getTimer(); machinegun_sound.start(); if (enemy[i]._xscale == 180) { randomNumber++; enemyBullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x - 85, _y:enemy[i]._y - 48}); bullets.push(enemyBullet_mc); bulletType.push("bad"); enemyBullet_mc.onEnterFrame = function () { this._x = this._x - 40; }; } if (enemy[i]._xscale == -180) { randomNumber++; enemyBullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x + 85, _y:enemy[i]._y - 48}); bullets.push(enemyBullet_mc); bulletType.push("bad"); enemyBullet_mc.onEnterFrame = function () { this._x = this._x + 40; }; } } enemy[i].gotoAndStop("attack"); enemyAttacking[i] = 1; if (enemyAttackingTimer[i] == 140) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; pickAttack[i] = Math.round(Math.random() * 3) + 0; } } } if (enemyAttacking[i] == 0) { if (player.hitTest(enemy[i].enemyHitMarker) && (stabTimer == 5)) { enemyHealth[i] = enemyHealth[i] - 2; randomNumber++; _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 70}); hit[i] = 1; } j = bullets.length - 1; while (j >= 0) { if (bulletType[j] == "default") { if (bullets[j].hitTest(enemy[i])) { bullets[j]._alpha = 0; } else { bullets[j]._alpha = 100; } } if (bullets[j].hitTest(enemy[i].enemyHitMarker)) { enemyHealth[i] = enemyHealth[i] - bulletPower; randomNumber++; _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[j]._x, _y:bullets[j]._y}); if (beingSmacked[i] > 2) { if (!ejump[i]) { beingSmacked[i] = 0; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } beingSmacked[i]++; hit[i] = 1; bullets[j].removeMovieClip(); bullets.splice(j, 1); bulletType.splice(j, 1); } j--; } if (hit[i] == 1) { if (!ejump[i]) { if (enemy[i]._xscale == 180) { enemy[i]._x = enemy[i]._x + 3; } else { enemy[i]._x = enemy[i]._x - 3; } enemy[i].gotoAndStop("hit"); enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] > 8) { hit[i] = 0; damagedTimer[i] = 0; } } if (ejump[i]) { enemy[i].gotoAndStop("ahit"); enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] > 4) { enemy[i].gotoAndStop("fall"); hit[i] = 0; damagedTimer[i] = 0; } } } if (hit[i] == 0) { if (player._x < enemy[i]._x) { enemy[i]._xscale = 180; } else { enemy[i]._xscale = -180; } portTimer[i]++; if (portTimer[i] > 32) { where[i] = Math.round(Math.random() * 1) + 0; moveAbout[i] = Math.round(Math.random() * 1) + 2; portTimer[i] = 0; } if ((where[i] == 0) or (where[i] == 1)) { if ((!ejump[i]) && (!edropping[i])) { enemy[i].gotoAndStop("run"); } if (moveAbout[i] == 0) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 175) / enemySpeed); enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 1) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 175) / enemySpeed); enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 2) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 200) / enemySpeed); enemy[i]._y = enemy[i]._y + (((endY - enemy[i]._y) - 45) / enemySpeed); } } if (moveAbout[i] == 3) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 200) / enemySpeed); enemy[i]._y = enemy[i]._y + (((endY - enemy[i]._y) + 45) / enemySpeed); } } } else { if (!ejump[i]) { enemy[i].gotoAndStop("idle"); } if (ejump[i]) { enemy[i].gotoAndStop("fall"); } } } } } } if (type[i] == 2) { if (enemy[i]._y > 550) { enemy[i]._y = 550; } if (enemy[i]._y < 330) { enemy[i]._y = 330; } if (enemyHealth[i] < 1) { if (died[i] == 0) { hurt_sound.start(); enemyNumber--; enemy[i].gotoAndStop("fall"); died[i] = 1; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } if (ejump[i]) { if (enemy[i]._xscale == 180) { enemy[i]._x = enemy[i]._x + 3; } else { enemy[i]._x = enemy[i]._x - 3; } enemy[i]._y = enemy[i]._y + eyspeed[i]; if (enemy[i]._y > egroundMarker[i]) { edropping[i] = false; eonfloor[i] = true; ejump[i] = false; eyspeed[i] = 0; enemy[i]._y = egroundMarker[i]; } else { eyspeed[i] = eyspeed[i] + (egravity[i] * 2); } } if (falling[i]) { if (enemy[i]._y == egroundMarker[i]) { down[i] = true; } } if (down[i]) { if (enemyHealth[i] < 1) { enemy[i].gotoAndStop("dead"); } if (enemyHealth[i] > 0) { enemy[i].gotoAndStop("down"); downTimer[i]++; if (downTimer[i] == 40) { hit[i] = 0; damagedTimer[i] = 0; down[i] = false; falling[i] = false; downTimer[i] = 0; } } } if ((!down[i]) && (enemyHealth[i] > 0)) { if (hypArray[i] < 280) { if (enemyAttacking[i] == 1) { if (enemy[i].marker.hitTest(player.hit)) { hitPlayer = 1; _global.playerHealth = _global.playerHealth - (enemyPower * 1.5); } } enemyAttackingTimer[i]++; } else { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; } if (enemyAttackingTimer[i] > 100) { if (!ejump[i]) { if ((enemyShotTimer + 70) < getTimer()) { enemyShotTimer = getTimer(); machinegun_sound.start(); if (enemy[i]._xscale == 180) { randomNumber++; enemyBullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x - 45, _y:(enemy[i]._y + Math.round(Math.random() * 20)) - 40}); bullets.push(enemyBullet_mc); bulletType.push("bad"); enemyBullet_mc.onEnterFrame = function () { this._x = this._x - 40; }; } if (enemy[i]._xscale == -180) { randomNumber++; enemyBullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x + 45, _y:(enemy[i]._y + Math.round(Math.random() * 20)) - 40}); bullets.push(enemyBullet_mc); bulletType.push("bad"); enemyBullet_mc.onEnterFrame = function () { this._x = this._x + 40; }; } } enemy[i].gotoAndStop("attack"); enemyAttacking[i] = 1; if (enemyAttackingTimer[i] == 140) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; pickAttack[i] = Math.round(Math.random() * 3) + 0; } } } if (enemyAttacking[i] == 0) { if (player.hitTest(enemy[i].enemyHitMarker) && (stabTimer == 5)) { enemyHealth[i] = enemyHealth[i] - 2; randomNumber++; _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 70}); hit[i] = 1; } j = bullets.length - 1; while (j >= 0) { if (bulletType[j] == "default") { if (bullets[j].hitTest(enemy[i])) { bullets[j]._alpha = 0; } else { bullets[j]._alpha = 100; } } if (bullets[j].hitTest(enemy[i].enemyHitMarker)) { enemyHealth[i] = enemyHealth[i] - bulletPower; randomNumber++; _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[j]._x, _y:bullets[j]._y}); if (beingSmacked[i] > 2) { if (!ejump[i]) { beingSmacked[i] = 0; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } beingSmacked[i]++; hit[i] = 1; bullets[j].removeMovieClip(); bullets.splice(j, 1); bulletType.splice(j, 1); } j--; } if (hit[i] == 1) { if (!ejump[i]) { if (enemy[i]._xscale == 180) { enemy[i]._x = enemy[i]._x + 3; } else { enemy[i]._x = enemy[i]._x - 3; } enemy[i].gotoAndStop("hit"); enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] > 8) { hit[i] = 0; damagedTimer[i] = 0; } } if (ejump[i]) { enemy[i].gotoAndStop("ahit"); enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] > 4) { enemy[i].gotoAndStop("fall"); hit[i] = 0; damagedTimer[i] = 0; } } } if (hit[i] == 0) { if (player._x < enemy[i]._x) { enemy[i]._xscale = 180; } else { enemy[i]._xscale = -180; } portTimer[i]++; if (portTimer[i] > 32) { where[i] = Math.round(Math.random() * 1) + 0; moveAbout[i] = Math.round(Math.random() * 1) + 2; portTimer[i] = 0; } if ((where[i] == 0) or (where[i] == 1)) { if ((!ejump[i]) && (!edropping[i])) { enemy[i].gotoAndStop("run"); } if (moveAbout[i] == 0) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 175) / enemySpeed); enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 1) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 175) / enemySpeed); enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 2) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 200) / enemySpeed); enemy[i]._y = enemy[i]._y + (((endY - enemy[i]._y) - 45) / enemySpeed); } } if (moveAbout[i] == 3) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 200) / enemySpeed); enemy[i]._y = enemy[i]._y + (((endY - enemy[i]._y) + 45) / enemySpeed); } } } else { if (!ejump[i]) { enemy[i].gotoAndStop("idle"); } if (ejump[i]) { enemy[i].gotoAndStop("fall"); } } } } } } i--; } } function playerMovement() { if (shootygun.hitTest(player._x, player._y, true)) { hover_sound.start(); shootygun.removeMovieClip(); weapon = "shotGun"; } if (machineGunz.hitTest(player._x, player._y, true)) { hover_sound.start(); machineGunz.removeMovieClip(); weapon = "default"; } if (flameGun.hitTest(player._x, player._y, true)) { hover_sound.start(); flameGun.removeMovieClip(); weapon = "flame"; } if (((_global.alive && (notOverHeated)) && (!jump)) && (Key.isDown(65))) { shooting = true; } if (!Key.isDown(65)) { shooting = false; } i = bullets.length - 1; while (i >= 0) { if (bullets[i].hitTest(player.hit)) { if (bulletType[i] == "bad") { hitPlayer = 1; _global.playerHealth = _global.playerHealth - 5; bullets[i].removeMovieClip(); bullets.splice(i, 1); bulletType.splice(i, 1); } } if (bulletType[i] == "flamethrower") { bullets[i]._xscale = bullets[i]._xscale + 100; bullets[i]._yscale = bullets[i]._yscale + 100; if (bullets[i]._xscale > 1200) { bullets[i].removeMovieClip(); bullets.splice(i, 1); bulletType.splice(i, 1); } } if ((bullets[i]._x > (player._x + 640)) or (bullets[i]._x < (player._x - 640))) { bullets[i].removeMovieClip(); bullets.splice(i, 1); bulletType.splice(i, 1); } i--; } if (shooting) { if ((shotTimer + reloadTime) < getTimer()) { shotTimer = getTimer(); overHeat = overHeat + 3; if (overHeat > 100) { myColor = new Color(cam.heatBar); myColorTransform = new Object(); myColorTransform = {rb:0, gb:0, bb:250}; myColor.setTransform(myColorTransform); dropSpeed = 0.5; overHeat = 100; cam.weaponoverheat._alpha = 100; notOverHeated = false; } if (weapon == "pistols") { bulletPower = 1; reloadTime = 250; if (player._xscale == 65) { randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 15, _y:player._y - 38}); bullets.push(bullet_mc); bulletType.push("dualPistols"); bullet_mc.onEnterFrame = function () { this._x = this._x + 18; }; randomNumber++; bullet2_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 25, _y:player._y - 42}); bullets.push(bullet2_mc); bulletType.push("dualPistols"); bullet2_mc.onEnterFrame = function () { this._x = this._x + 18; }; } if (player._xscale == -65) { randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 15, _y:player._y - 38}); bullets.push(bullet_mc); bulletType.push("dualPistols"); bullet_mc.onEnterFrame = function () { this._x = this._x - 18; }; randomNumber++; bullet2_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 25, _y:player._y - 42}); bullets.push(bullet2_mc); bulletType.push("dualPistols"); bullet2_mc.onEnterFrame = function () { this._x = this._x - 18; }; } } if (weapon == "default") { machinegun_sound.start(); bulletPower = 2; reloadTime = 100; if (player._xscale == 65) { randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 65, _y:player._y - 42}); bullets.push(bullet_mc); bulletType.push("machineGun"); bullet_mc.onEnterFrame = function () { this._x = this._x + 40; }; } if (player._xscale == -65) { randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 65, _y:player._y - 42}); bullets.push(bullet_mc); bulletType.push("machineGun"); bullet_mc.onEnterFrame = function () { this._x = this._x - 40; }; } } if (weapon == "flame") { flame_sound.start(); bulletPower = 3; reloadTime = 100; if (player._xscale == 65) { randomNumber++; bullet_mc = _root.attachMovie("flameBullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 45, _y:player._y - 42}); bullets.push(bullet_mc); bulletType.push("flamethrower"); bullet_mc.onEnterFrame = function () { this._x = this._x + 10; }; } if (player._xscale == -65) { randomNumber++; bullet_mc = _root.attachMovie("flameBullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 45, _y:player._y - 42}); bullets.push(bullet_mc); bulletType.push("flamethrower"); bullet_mc.onEnterFrame = function () { this._x = this._x - 10; }; } } if (weapon == "shotGun") { shotgun_sound.start(); bulletPower = 3; reloadTime = 700; if (player._xscale == 65) { randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 45, _y:player._y - 42}); bullets.push(bullet_mc); bulletType.push("shotty"); bullet_mc.onEnterFrame = function () { this._x = this._x + 30; }; randomNumber++; bullet2_mc = _root.attachMovie("bullet", "bullet2" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 45, _y:player._y - 42}); bullets.push(bullet2_mc); bulletType.push("shotty"); bullet2_mc.onEnterFrame = function () { this._x = this._x + 30; this._y = this._y + 2.5; }; randomNumber++; bullet3_mc = _root.attachMovie("bullet", "bullet3" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 45, _y:player._y - 42}); bullets.push(bullet3_mc); bulletType.push("shotty"); bullet3_mc.onEnterFrame = function () { this._x = this._x + 30; this._y = this._y - 2.5; }; } if (player._xscale == -65) { randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 45, _y:player._y - 42}); bullets.push(bullet_mc); bulletType.push("shotty"); bullet_mc.onEnterFrame = function () { this._x = this._x - 30; }; randomNumber++; bullet2_mc = _root.attachMovie("bullet", "bullet2" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 45, _y:player._y - 42}); bullets.push(bullet2_mc); bulletType.push("shotty"); bullet2_mc.onEnterFrame = function () { this._x = this._x - 30; this._y = this._y + 2.5; }; randomNumber++; bullet3_mc = _root.attachMovie("bullet", "bullet3" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 45, _y:player._y - 42}); bullets.push(bullet3_mc); bulletType.push("shotty"); bullet3_mc.onEnterFrame = function () { this._x = this._x - 30; this._y = this._y - 2.5; }; } } } } if (hitPlayer == 0) { var _local4 = player.transform.colorTransform; player.transform.colorTransform = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0); } if (hitPlayer == 1) { var _local4 = player.transform.colorTransform; _local4.rgb = 4294967295; player.transform.colorTransform = _local4; hitTimer++; if (hitTimer == 1) { hitPlayer = 0; hitTimer = 0; } } if (cam._x < 315) { cam._x = 315; } if (cam._x > 6800) { cam._x = 6800; } if (player._x < callcam._x) { endX = _root.callcam._x; cam._x = cam._x + (((endX - cam._x) - 220) / 15); } else if (lock == 0) { endX = _root.player._x; cam._x = cam._x + ((endX - cam._x) / 15); } if (!moveOn) { if (player.hitTest(cam.right)) { player._x = player._x - playerSpeed; } } if (player.hitTest(cam.left)) { player._x = player._x + playerSpeed; } if (player._y > 550) { player._y = 550; } if ((player._y < 330) && (!jump)) { player._y = 330; } if (_global.alive) { if (!stab) { if (weapon == "pistols") { if (jump) { player.gotoAndStop("jumpPistol"); } if (shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("shootPistol"); } if (running) { player.gotoAndStop("shootWalkPistol"); } } } } if (!shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("idlePistol"); } if (running) { player.gotoAndStop("runPistol"); } } } } } if (weapon == "default") { if (jump) { player.gotoAndStop("jump"); } if (shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("shoot"); } if (running) { player.gotoAndStop("shootWalk"); } } } } if (!shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("idle"); } if (running) { player.gotoAndStop("run"); } } } } } if (weapon == "shotGun") { if (jump) { player.gotoAndStop("jumpshotGun"); } if (shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("shootshotGun"); } if (running) { player.gotoAndStop("shootWalkshotGun"); } } } } if (!shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("idleshotGun"); } if (running) { player.gotoAndStop("runshotGun"); } } } } } if (weapon == "flame") { if (jump) { player.gotoAndStop("jumpflame"); } if (shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("shootflame"); } if (running) { player.gotoAndStop("shootWalkflame"); } } } } if (!shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("idleflame"); } if (running) { player.gotoAndStop("runflame"); } } } } } } } if (!_global.alive) { player.gotoAndStop("dead"); } if (Key.isDown(83)) { if (canAttack) { if (_global.alive) { if (!shooting) { if (!jump) { stab = true; } } } } } if (stab) { playerSpeed = 0; stabTimer++; player.gotoAndStop("melee"); if (stabTimer == 14) { playerSpeed = 7; stabTimer = 0; stab = false; } } if (Key.isDown(68)) { if (_global.alive) { if (!sliding) { if (!stab) { if (onfloor) { shooting = false; groundMarker = player._y; jump = true; onfloor = false; _root.attachMovie("shadow_mc", "shadow_mc", _root.getNextHighestDepth(), {_y:player._y, _x:player._x}); yspeed = yspeed - jumpamount; } } } } } if (!Key.isDown(38)) { running = false; } if (!Key.isDown(40)) { running = false; } if (!Key.isDown(39)) { running = false; } if (!Key.isDown(37)) { running = false; } if (_global.alive && (inControl)) { if (Key.isDown(39)) { player._xscale = 65; player._x = player._x + playerSpeed; running = true; } if (Key.isDown(37)) { player._xscale = -65; player._x = player._x - playerSpeed; running = true; } if (Key.isDown(38)) { player._y = player._y - playerSpeed; running = true; } if (Key.isDown(40)) { player._y = player._y + playerSpeed; running = true; } } if (jump) { player._y = player._y + yspeed; if (player._y > groundMarker) { shadow_mc.removeMovieClip(); onfloor = true; jump = false; yspeed = 0; player._y = groundMarker; } else { yspeed = yspeed + (gravity * 2); } } } function countFrames() { _root.frameCount = 0; } stop(); blu_sound = new Sound(); blu_sound.attachSound("blu"); hover_sound = new Sound(); hover_sound.attachSound("other"); shotgun_sound = new Sound(); shotgun_sound.attachSound("shotBoom"); machinegun_sound = new Sound(); machinegun_sound.attachSound("mg"); hurt_sound = new Sound(); hurt_sound.attachSound("hurt"); flame_sound = new Sound(); flame_sound.attachSound("flamwthrowa"); cam._xscale = 100; cam._yscale = 100; if (playerSelect == 0) { _root.attachMovie("player", "player", _root.getNextHighestDepth(), {_x:150, _y:450}); } if (playerSelect == 1) { _root.attachMovie("playerWhite", "player", _root.getNextHighestDepth(), {_x:150, _y:450}); } if (playerSelect == 2) { _root.attachMovie("playerBlack", "player", _root.getNextHighestDepth(), {_x:150, _y:450}); } _root.attachMovie("shootygun", "shootygun", _root.getNextHighestDepth(), {_x:1500, _y:450}); _root.attachMovie("machineGunz", "machineGunz", _root.getNextHighestDepth(), {_x:2700, _y:350}); _root.attachMovie("flameGun", "flameGun", _root.getNextHighestDepth(), {_x:4000, _y:330}); player._yscale = 65; player._xscale = 65; lives = 2; livesNumber = 2; runTrans = false; moveOn = false; bigGuy = 2; toGo = 0; inControl = true; canAttack = true; addComplete = 0; stageDone = false; weapon = "default"; stab = false; _global.quit = false; _global.alive = true; _global.forceDrop = false; notOverHeated = true; overHeat = 0; dropSpeed = 1; _global.playerHealth = 100; gaySound = 0; enemyPower = 0.5; stabTimer = 0; dashSpeed = 10; enemyNumber = 1; bulletPower = 1; randomNumber = 0; jump = false; enemySpeed = 50; jumpamount = 25; gravity = 2; pullingCam = false; yspeed = 0; onfloor = true; pressHack = 0; lock = 0; sliding = false; slidingTimer = 0; special = false; specialTimer = 0; clicks = 0; shooting = false; hit2 = false; hit3 = false; running = false; attacking = false; playerSpeed = 7; is_attacking = 0; smack = 0; hitPlayer = 0; pick = Math.round(Math.random() * 3) + 0; hitTimer = 0; shotTimer = 0; reloadTime = 100; enemyShotTimer = 0; sectionOneRelease = true; sectionTwoRelease = true; sectionThreeRelease = true; sectionFourRelease = true; sectionFiveRelease = true; sectionSixRelease = true; sectionSevenRelease = true; sectionEightRelease = true; sectionNineRelease = true; sectionTenRelease = true; sectionElevenRelease = true; groundMarker = player._y; var bullets = new Array(); var bulletType = new Array(); var egroundMarker = new Array(); var egravity = new Array(); var potionType = new Array(); var potions = new Array(); var boxHealth = new Array(); var boxHit = new Array(); var boxHitTimer = new Array(); var boxes = new Array(); var edropping = new Array(); var eonfloor = new Array(); var ejump = new Array(); var ejumpamount = new Array(); var eyspeed = new Array(); var shot = new Array(); var portTimer = new Array(); var beingSmacked = new Array(); var dead_body = new Array(); var type = new Array(); var hypArray = new Array(); var enemyHealth = new Array(); var damagedTimer = new Array(); var hit = new Array(); var enemyAttackingTimer = new Array(); var enemyAttacking = new Array(); var enemy = new Array(); var blocks = new Array(); var moveAbout = new Array(); var where = new Array(); var onPlatform = new Array(); var pickAttack = new Array(); var port = new Array(); var falling = new Array(); var down = new Array(); var downTimer = new Array(); var depths = new Array(); var died = new Array(); randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:450}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:450}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:450}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:450}); } depths.push(player, shootygun, enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); player.onEnterFrame = function () { if (moveOn) { stabTimer = 0; stab = false; energy = 0; canAttack = false; inControl = false; player._xscale = 65; playerSpeed = 18; player._x = player._x + playerSpeed; running = true; } if (runTrans) { toGo++; if (toGo == 100) { removeEverything(); nextFrame(); } } if (player._x > (cam._x + 550)) { if (addComplete == 0) { cam.trans.gotoAndStop("black"); runTrans = true; playerSpeed = 0; addComplete = 1; } stageDone = true; cam.goSign._alpha = 0; } if (_global.playerHealth < 0) { lives--; livesNumber--; _root.attachMovie("splatter", "splatter", _root.getNextHighestDepth()); splatter._x = cam._x; splatter._y = cam._y; shooting = false; _global.alive = false; _global.playerHealth = 0; } cam.bar._xscale = _global.playerHealth; if (enemyNumber == 0) { if (gaySound == 0) { blu_sound.start(0, 3); gaySound = 1; } if (!stageDone) { cam.goSign._alpha = 100; } lock = 0; pullingCam = true; } else { gaySound = 0; cam.goSign._alpha = 0; pullingCam = false; } if (pullingCam) { callcam._x = player._x; } else if (lock == 0) { lock = 1; callcam._x = cam._x + 155; } if (!notOverHeated) { overHeat = overHeat - dropSpeed; shooting = false; } if (!shooting) { if (notOverHeated) { overHeat = overHeat - dropSpeed; dropSpeed = 1; } } if (overHeat < 0) { myColor = new Color(cam.heatBar); myColorTransform = new Object(); myColorTransform = {rb:0, gb:0, bb:0}; cam.weaponoverheat._alpha = 0; myColor.setTransform(myColorTransform); overHeat = 0; notOverHeated = true; } if (_global.alive) { italy._y = cam._y - 1000; } if ((!_global.alive) && (lives < 0)) { italy._y = cam._y; } italy._x = cam._x; if (_global.alive) { cont._y = cam._y - 1000; } if ((!_global.alive) && (lives > -1)) { cont._y = cam._y; } if ((bigGuy == 0) && (enemyNumber == 0)) { moveOn = true; } cont._x = cam._x; cam.heatBar._yscale = overHeat; shadow_mc._x = player._x; cam._y = _root.player._y - 150; theStage(); cam.camControl(); playerMovement(); calculateHyp(); enemyMovement(); cont.swapDepths(_root.getNextHighestDepth()); italy.swapDepths(_root.getNextHighestDepth()); depthActions(); noOverLap(); if (livesNumber < 0) { livesNumber = 0; } cam.livesNum.text = livesNumber; if (_global.quit) { stopAllSounds(); removeEverything(); _root.gotoAndStop("title"); } }; frameRateCounter = setInterval(countFrames, 1000);
Frame 12
play();
Frame 13
function removedied() { i = died.length - 1; while (i >= 0) { died[i].removeMovieClip(); died.splice(i, 1); i--; } } function removebullets() { i = bullets.length - 1; while (i >= 0) { bullets[i].removeMovieClip(); bullets.splice(i, 1); i--; } } function removebulletType() { i = bulletType.length - 1; while (i >= 0) { bulletType[i].removeMovieClip(); bulletType.splice(i, 1); i--; } } function removeegroundMarker() { i = egroundMarker.length - 1; while (i >= 0) { egroundMarker[i].removeMovieClip(); egroundMarker.splice(i, 1); i--; } } function removeegravity() { i = egravity.length - 1; while (i >= 0) { egravity[i].removeMovieClip(); egravity.splice(i, 1); i--; } } function removepotionType() { i = potionType.length - 1; while (i >= 0) { potionType[i].removeMovieClip(); potionType.splice(i, 1); i--; } } function removepotions() { i = potions.length - 1; while (i >= 0) { potions[i].removeMovieClip(); potions.splice(i, 1); i--; } } function removeboxHealth() { i = boxHealth.length - 1; while (i >= 0) { boxHealth[i].removeMovieClip(); boxHealth.splice(i, 1); i--; } } function removeboxHit() { i = boxHit.length - 1; while (i >= 0) { boxHit[i].removeMovieClip(); boxHit.splice(i, 1); i--; } } function removeboxHitTimer() { i = boxHitTimer.length - 1; while (i >= 0) { boxHitTimer[i].removeMovieClip(); boxHitTimer.splice(i, 1); i--; } } function removeboxes() { i = boxes.length - 1; while (i >= 0) { boxes[i].removeMovieClip(); boxes.splice(i, 1); i--; } } function removeedropping() { i = edropping.length - 1; while (i >= 0) { edropping[i].removeMovieClip(); edropping.splice(i, 1); i--; } } function removeeonfloor() { i = eonfloor.length - 1; while (i >= 0) { eonfloor[i].removeMovieClip(); eonfloor.splice(i, 1); i--; } } function removeejump() { i = ejump.length - 1; while (i >= 0) { ejump[i].removeMovieClip(); ejump.splice(i, 1); i--; } } function removeejumpamount() { i = ejumpamount.length - 1; while (i >= 0) { ejumpamount[i].removeMovieClip(); ejumpamount.splice(i, 1); i--; } } function removeeyspeed() { i = eyspeed.length - 1; while (i >= 0) { eyspeed[i].removeMovieClip(); eyspeed.splice(i, 1); i--; } } function removeshot() { i = shot.length - 1; while (i >= 0) { shot[i].removeMovieClip(); shot.splice(i, 1); i--; } } function removeportTimer() { i = portTimer.length - 1; while (i >= 0) { portTimer[i].removeMovieClip(); portTimer.splice(i, 1); i--; } } function removebeingSmacked() { i = beingSmacked.length - 1; while (i >= 0) { beingSmacked[i].removeMovieClip(); beingSmacked.splice(i, 1); i--; } } function removedead_body() { i = dead_body.length - 1; while (i >= 0) { dead_body[i].removeMovieClip(); dead_body.splice(i, 1); i--; } } function removetype() { i = type.length - 1; while (i >= 0) { type[i].removeMovieClip(); type.splice(i, 1); i--; } } function removehypArray() { i = hypArray.length - 1; while (i >= 0) { hypArray[i].removeMovieClip(); hypArray.splice(i, 1); i--; } } function removeenemyHealth() { i = enemyHealth.length - 1; while (i >= 0) { enemyHealth[i].removeMovieClip(); enemyHealth.splice(i, 1); i--; } } function removedamagedTimer() { i = damagedTimer.length - 1; while (i >= 0) { damagedTimer[i].removeMovieClip(); damagedTimer.splice(i, 1); i--; } } function removehit() { i = hit.length - 1; while (i >= 0) { hit[i].removeMovieClip(); hit.splice(i, 1); i--; } } function removeenemyAttackingTimer() { i = enemyAttackingTimer.length - 1; while (i >= 0) { enemyAttackingTimer[i].removeMovieClip(); enemyAttackingTimer.splice(i, 1); i--; } } function removeenemyAttacking() { i = enemyAttacking.length - 1; while (i >= 0) { enemyAttacking[i].removeMovieClip(); enemyAttacking.splice(i, 1); i--; } } function removeenemy() { i = enemy.length - 1; while (i >= 0) { enemy[i].removeMovieClip(); enemy.splice(i, 1); i--; } } function removeblocks() { i = blocks.length - 1; while (i >= 0) { blocks[i].removeMovieClip(); blocks.splice(i, 1); i--; } } function removemoveAbout() { i = moveAbout.length - 1; while (i >= 0) { moveAbout[i].removeMovieClip(); moveAbout.splice(i, 1); i--; } } function removewhere() { i = where.length - 1; while (i >= 0) { where[i].removeMovieClip(); where.splice(i, 1); i--; } } function removeonPlatform() { i = onPlatform.length - 1; while (i >= 0) { onPlatform[i].removeMovieClip(); onPlatform.splice(i, 1); i--; } } function removepickAttack() { i = pickAttack.length - 1; while (i >= 0) { pickAttack[i].removeMovieClip(); pickAttack.splice(i, 1); i--; } } function removeport() { i = port.length - 1; while (i >= 0) { port[i].removeMovieClip(); port.splice(i, 1); i--; } } function removefalling() { i = falling.length - 1; while (i >= 0) { falling[i].removeMovieClip(); falling.splice(i, 1); i--; } } function removedown() { i = down.length - 1; while (i >= 0) { down[i].removeMovieClip(); down.splice(i, 1); i--; } } function removedownTimer() { i = downTimer.length - 1; while (i >= 0) { downTimer[i].removeMovieClip(); downTimer.splice(i, 1); i--; } } function removedepths() { i = depths.length - 1; while (i >= 0) { depths[i].removeMovieClip(); depths.splice(i, 1); i--; } } function removeEverything() { stopAllSounds(); italy.removeMovieClip(); cont.removeMovieClip(); machineGunz.removeMovieClip(); flameGun.removeMovieClip(); shootygun.removeMovieClip(); player.removeMovieClip(); removedied(); removebullets(); removebulletType(); removeegroundMarker(); removeegravity(); removepotionType(); removepotions(); removeboxHealth(); removeboxHit(); removeboxHitTimer(); removeboxes(); removeedropping(); removeeonfloor(); removeejump(); removeejumpamount(); removeeyspeed(); removeshot(); removeportTimer(); removebeingSmacked(); removedead_body(); removetype(); removehypArray(); removeenemyHealth(); removedamagedTimer(); removehit(); removeenemyAttackingTimer(); removeenemyAttacking(); removeenemy(); removeblocks(); removemoveAbout(); removewhere(); removeonPlatform(); removepickAttack(); removeport(); removefalling(); removedown(); removedownTimer(); removedepths(); } function noOverLap() { i = enemy.length - 1; while (i >= 0) { j = enemy.length - 1; while (j >= 0) { if (!(enemy[i] === enemy[j])) { if (enemy[i].hitTest(enemy[j])) { if ((enemyHealth[i] > 0) && (!down[i])) { endX = _root.enemy[j]._x; enemy[i]._x = enemy[i]._x - ((endX - enemy[i]._x) / enemySpeed); } } } j--; } i--; } } function theStage() { if ((player._x > 1140) && (sectionOneRelease)) { enemyNumber = 3; pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:1600, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:1600, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:1600, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:1600, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:1600, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:1600, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:1600, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:1600, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); sectionOneRelease = false; } if ((player._x > 1700) && (sectionTwoRelease)) { enemyNumber = 4; pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2700, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2700, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:300, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:300, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:300, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:300, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:300, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:300, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:300, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:300, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); sectionTwoRelease = false; } if ((player._x > 2300) && (sectionThreeRelease)) { enemyNumber = 4; pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2580, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2580, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2580, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2580, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); sectionThreeRelease = false; } if ((player._x > 2700) && (sectionFourRelease)) { enemyNumber = 2; randomNumber++; enemy_mc = _root.attachMovie("withGun", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:3100, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(2); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(50); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); randomNumber++; enemy_mc = _root.attachMovie("withGun", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:3100, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(2); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(50); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); sectionFourRelease = false; } if ((player._x > 3300) && (sectionFiveRelease)) { enemyNumber = 4; pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:3800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:3800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:3800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:3800, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2000, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2000, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2000, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2000, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5000, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5000, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5000, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5000, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); sectionFiveRelease = false; } if ((player._x > 4000) && (sectionSixRelease)) { enemyNumber = 4; pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2800, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; enemy_mc = _root.attachMovie("withGun", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2800, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(2); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5000, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5000, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5000, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5000, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; enemy_mc = _root.attachMovie("withGun", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:2800, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(2); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); sectionSixRelease = false; } if ((player._x > 4800) && (sectionSevenRelease)) { enemyNumber = 4; pick = Math.round(Math.random() * 3) + 0; randomNumber++; enemy_mc = _root.attachMovie("withGun", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:3800, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(2); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; enemy_mc = _root.attachMovie("withGun", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:-800, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(2); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5800, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:5800, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; enemy_mc = _root.attachMovie("withGun", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:6000, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(2); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); sectionSevenRelease = false; } if ((player._x > 5500) && (sectionEightRelease)) { enemyNumber = 3; randomNumber++; enemy_mc = _root.attachMovie("midlvlboss", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(1); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(3); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); randomNumber++; enemy_mc = _root.attachMovie("withGun", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:3100, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(2); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(50); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); pick = Math.round(Math.random() * 3) + 0; randomNumber++; enemy_mc = _root.attachMovie("withGun", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:6200, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(2); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); sectionEightRelease = false; } } function depthActions() { i = depths.length - 1; while (i >= 0) { if (!jump) { depths[i].idiot_depth = Math.floor((depths[i]._y * 480) + depths[i]._x); depths[i].swapDepths(depths[i].idiot_depth); } i--; } } function calculateHyp() { i = enemy.length - 1; while (i >= 0) { dist_x = player._x - enemy[i]._x; dist_y = player._y - enemy[i]._y; hypArray[i] = Math.sqrt((dist_x * dist_x) + (dist_y * dist_y)); i--; } } function enemyMovement() { i = enemy.length - 1; while (i >= 0) { if (_global.forceDrop) { beingSmacked[i] = 0; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; _global.forceDrop = false; } enemy[i]._yscale = 180; if (type[i] == 0) { if (enemy[i]._y > 550) { enemy[i]._y = 550; } if (enemy[i]._y < 330) { enemy[i]._y = 330; } if (enemyHealth[i] < 1) { if (died[i] == 0) { hurt_sound.start(); enemyNumber--; enemy[i].gotoAndStop("fall"); died[i] = 1; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } if (ejump[i]) { if (enemy[i]._xscale == 180) { enemy[i]._x = enemy[i]._x + 3; } else { enemy[i]._x = enemy[i]._x - 3; } enemy[i]._y = enemy[i]._y + eyspeed[i]; if (enemy[i]._y > egroundMarker[i]) { edropping[i] = false; eonfloor[i] = true; ejump[i] = false; eyspeed[i] = 0; enemy[i]._y = egroundMarker[i]; } else { eyspeed[i] = eyspeed[i] + (egravity[i] * 2); } } if (falling[i]) { if (enemy[i]._y == egroundMarker[i]) { down[i] = true; } } if (down[i]) { if (enemyHealth[i] < 1) { enemy[i].gotoAndStop("dead"); } if (enemyHealth[i] > 0) { enemy[i].gotoAndStop("down"); downTimer[i]++; if (downTimer[i] == 40) { hit[i] = 0; damagedTimer[i] = 0; down[i] = false; falling[i] = false; downTimer[i] = 0; } } } if ((!down[i]) && (enemyHealth[i] > 0)) { if (hypArray[i] < 100) { if (enemyAttacking[i] == 1) { if (enemy[i].marker.hitTest(player.hit)) { hitPlayer = 1; _global.playerHealth = _global.playerHealth - (enemyPower * 1.5); } } enemyAttackingTimer[i]++; } else { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; } if (enemyAttackingTimer[i] > 100) { if (!ejump[i]) { enemy[i].gotoAndStop("attack"); enemyAttacking[i] = 1; if (enemyAttackingTimer[i] == 114) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; pickAttack[i] = Math.round(Math.random() * 3) + 0; } } } if (enemyAttacking[i] == 0) { if (player.hitTest(enemy[i].enemyHitMarker) && (stabTimer == 5)) { enemyHealth[i] = enemyHealth[i] - 2; randomNumber++; _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 120}); if (!ejump[i]) { beingSmacked[i] = 0; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } hit[i] = 1; } j = bullets.length - 1; while (j >= 0) { if (bulletType[j] == "default") { if (bullets[j].hitTest(enemy[i])) { bullets[j]._alpha = 0; } else { bullets[j]._alpha = 100; } } if (bullets[j].hitTest(enemy[i].enemyHitMarker)) { enemyHealth[i] = enemyHealth[i] - bulletPower; randomNumber++; _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[j]._x, _y:bullets[j]._y}); if (beingSmacked[i] > 2) { if (!ejump[i]) { beingSmacked[i] = 0; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } beingSmacked[i]++; hit[i] = 1; bullets[j].removeMovieClip(); bullets.splice(j, 1); bulletType.splice(j, 1); } j--; } if (hit[i] == 1) { if (!ejump[i]) { if (enemy[i]._xscale == 180) { enemy[i]._x = enemy[i]._x + 3; } else { enemy[i]._x = enemy[i]._x - 3; } enemy[i].gotoAndStop("hit"); enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] > 8) { hit[i] = 0; damagedTimer[i] = 0; } } if (ejump[i]) { enemy[i].gotoAndStop("ahit"); enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] > 4) { enemy[i].gotoAndStop("fall"); hit[i] = 0; damagedTimer[i] = 0; } } } if (hit[i] == 0) { if (player._x < enemy[i]._x) { enemy[i]._xscale = 180; } else { enemy[i]._xscale = -180; } portTimer[i]++; if (portTimer[i] > 32) { where[i] = Math.round(Math.random() * 1) + 0; moveAbout[i] = Math.round(Math.random() * 3) + 0; portTimer[i] = 0; } if ((where[i] == 0) or (where[i] == 1)) { if ((!ejump[i]) && (!edropping[i])) { enemy[i].gotoAndStop("run"); } if (moveAbout[i] == 0) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 75) / enemySpeed); enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 1) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 75) / enemySpeed); enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 2) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 25) / enemySpeed); enemy[i]._y = enemy[i]._y + (((endY - enemy[i]._y) - 75) / enemySpeed); } } if (moveAbout[i] == 3) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 25) / enemySpeed); enemy[i]._y = enemy[i]._y + (((endY - enemy[i]._y) + 75) / enemySpeed); } } } else { if (!ejump[i]) { enemy[i].gotoAndStop("idle"); } if (ejump[i]) { enemy[i].gotoAndStop("fall"); } } } } } } if (type[i] == 1) { if (enemy[i]._y > 550) { enemy[i]._y = 550; } if (enemy[i]._y < 330) { enemy[i]._y = 330; } if (enemyHealth[i] < 1) { if (died[i] == 0) { hurt_sound.start(); bigGuy--; enemyNumber--; enemy[i].gotoAndStop("fall"); died[i] = 1; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } if (ejump[i]) { if (enemy[i]._xscale == 180) { enemy[i]._x = enemy[i]._x + 3; } else { enemy[i]._x = enemy[i]._x - 3; } enemy[i]._y = enemy[i]._y + eyspeed[i]; if (enemy[i]._y > egroundMarker[i]) { edropping[i] = false; eonfloor[i] = true; ejump[i] = false; eyspeed[i] = 0; enemy[i]._y = egroundMarker[i]; } else { eyspeed[i] = eyspeed[i] + (egravity[i] * 2); } } if (falling[i]) { if (enemy[i]._y == egroundMarker[i]) { down[i] = true; } } if (down[i]) { if (enemyHealth[i] < 1) { enemy[i].gotoAndStop("dead"); } if (enemyHealth[i] > 0) { enemy[i].gotoAndStop("down"); downTimer[i]++; if (downTimer[i] == 40) { hit[i] = 0; damagedTimer[i] = 0; down[i] = false; falling[i] = false; downTimer[i] = 0; } } } if ((!down[i]) && (enemyHealth[i] > 0)) { if (hypArray[i] < 280) { if (enemyAttacking[i] == 1) { if (enemy[i].marker.hitTest(player.hit)) { hitPlayer = 1; _global.playerHealth = _global.playerHealth - (enemyPower * 1.5); } } enemyAttackingTimer[i]++; } else { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; } if (enemyAttackingTimer[i] > 100) { if (!ejump[i]) { if ((enemyShotTimer + 70) < getTimer()) { enemyShotTimer = getTimer(); machinegun_sound.start(); if (enemy[i]._xscale == 180) { randomNumber++; enemyBullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x - 85, _y:enemy[i]._y - 48}); bullets.push(enemyBullet_mc); bulletType.push("bad"); enemyBullet_mc.onEnterFrame = function () { this._x = this._x - 40; }; } if (enemy[i]._xscale == -180) { randomNumber++; enemyBullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x + 85, _y:enemy[i]._y - 48}); bullets.push(enemyBullet_mc); bulletType.push("bad"); enemyBullet_mc.onEnterFrame = function () { this._x = this._x + 40; }; } } enemy[i].gotoAndStop("attack"); enemyAttacking[i] = 1; if (enemyAttackingTimer[i] == 140) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; pickAttack[i] = Math.round(Math.random() * 3) + 0; } } } if (enemyAttacking[i] == 0) { if (player.hitTest(enemy[i].enemyHitMarker) && (stabTimer == 5)) { enemyHealth[i] = enemyHealth[i] - 2; randomNumber++; _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 70}); hit[i] = 1; } j = bullets.length - 1; while (j >= 0) { if (bulletType[j] == "default") { if (bullets[j].hitTest(enemy[i])) { bullets[j]._alpha = 0; } else { bullets[j]._alpha = 100; } } if (bullets[j].hitTest(enemy[i].enemyHitMarker)) { enemyHealth[i] = enemyHealth[i] - bulletPower; randomNumber++; _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[j]._x, _y:bullets[j]._y}); if (beingSmacked[i] > 2) { if (!ejump[i]) { beingSmacked[i] = 0; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } beingSmacked[i]++; hit[i] = 1; bullets[j].removeMovieClip(); bullets.splice(j, 1); bulletType.splice(j, 1); } j--; } if (hit[i] == 1) { if (!ejump[i]) { if (enemy[i]._xscale == 180) { enemy[i]._x = enemy[i]._x + 3; } else { enemy[i]._x = enemy[i]._x - 3; } enemy[i].gotoAndStop("hit"); enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] > 8) { hit[i] = 0; damagedTimer[i] = 0; } } if (ejump[i]) { enemy[i].gotoAndStop("ahit"); enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] > 4) { enemy[i].gotoAndStop("fall"); hit[i] = 0; damagedTimer[i] = 0; } } } if (hit[i] == 0) { if (player._x < enemy[i]._x) { enemy[i]._xscale = 180; } else { enemy[i]._xscale = -180; } portTimer[i]++; if (portTimer[i] > 32) { where[i] = Math.round(Math.random() * 1) + 0; moveAbout[i] = Math.round(Math.random() * 1) + 2; portTimer[i] = 0; } if ((where[i] == 0) or (where[i] == 1)) { if ((!ejump[i]) && (!edropping[i])) { enemy[i].gotoAndStop("run"); } if (moveAbout[i] == 0) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 175) / enemySpeed); enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 1) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 175) / enemySpeed); enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 2) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 200) / enemySpeed); enemy[i]._y = enemy[i]._y + (((endY - enemy[i]._y) - 45) / enemySpeed); } } if (moveAbout[i] == 3) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 200) / enemySpeed); enemy[i]._y = enemy[i]._y + (((endY - enemy[i]._y) + 45) / enemySpeed); } } } else { if (!ejump[i]) { enemy[i].gotoAndStop("idle"); } if (ejump[i]) { enemy[i].gotoAndStop("fall"); } } } } } } if (type[i] == 2) { if (enemy[i]._y > 550) { enemy[i]._y = 550; } if (enemy[i]._y < 330) { enemy[i]._y = 330; } if (enemyHealth[i] < 1) { if (died[i] == 0) { hurt_sound.start(); enemyNumber--; enemy[i].gotoAndStop("fall"); died[i] = 1; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } if (ejump[i]) { if (enemy[i]._xscale == 180) { enemy[i]._x = enemy[i]._x + 3; } else { enemy[i]._x = enemy[i]._x - 3; } enemy[i]._y = enemy[i]._y + eyspeed[i]; if (enemy[i]._y > egroundMarker[i]) { edropping[i] = false; eonfloor[i] = true; ejump[i] = false; eyspeed[i] = 0; enemy[i]._y = egroundMarker[i]; } else { eyspeed[i] = eyspeed[i] + (egravity[i] * 2); } } if (falling[i]) { if (enemy[i]._y == egroundMarker[i]) { down[i] = true; } } if (down[i]) { if (enemyHealth[i] < 1) { enemy[i].gotoAndStop("dead"); } if (enemyHealth[i] > 0) { enemy[i].gotoAndStop("down"); downTimer[i]++; if (downTimer[i] == 40) { hit[i] = 0; damagedTimer[i] = 0; down[i] = false; falling[i] = false; downTimer[i] = 0; } } } if ((!down[i]) && (enemyHealth[i] > 0)) { if (hypArray[i] < 280) { if (enemyAttacking[i] == 1) { if (enemy[i].marker.hitTest(player.hit)) { hitPlayer = 1; _global.playerHealth = _global.playerHealth - (enemyPower * 1.5); } } enemyAttackingTimer[i]++; } else { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; } if (enemyAttackingTimer[i] > 100) { if (!ejump[i]) { if ((enemyShotTimer + 70) < getTimer()) { enemyShotTimer = getTimer(); machinegun_sound.start(); if (enemy[i]._xscale == 180) { randomNumber++; enemyBullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x - 45, _y:(enemy[i]._y + Math.round(Math.random() * 20)) - 40}); bullets.push(enemyBullet_mc); bulletType.push("bad"); enemyBullet_mc.onEnterFrame = function () { this._x = this._x - 40; }; } if (enemy[i]._xscale == -180) { randomNumber++; enemyBullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x + 45, _y:(enemy[i]._y + Math.round(Math.random() * 20)) - 40}); bullets.push(enemyBullet_mc); bulletType.push("bad"); enemyBullet_mc.onEnterFrame = function () { this._x = this._x + 40; }; } } enemy[i].gotoAndStop("attack"); enemyAttacking[i] = 1; if (enemyAttackingTimer[i] == 140) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; pickAttack[i] = Math.round(Math.random() * 3) + 0; } } } if (enemyAttacking[i] == 0) { if (player.hitTest(enemy[i].enemyHitMarker) && (stabTimer == 5)) { enemyHealth[i] = enemyHealth[i] - 2; randomNumber++; _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 70}); hit[i] = 1; } j = bullets.length - 1; while (j >= 0) { if (bulletType[j] == "default") { if (bullets[j].hitTest(enemy[i])) { bullets[j]._alpha = 0; } else { bullets[j]._alpha = 100; } } if (bullets[j].hitTest(enemy[i].enemyHitMarker)) { enemyHealth[i] = enemyHealth[i] - bulletPower; randomNumber++; _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[j]._x, _y:bullets[j]._y}); if (beingSmacked[i] > 2) { if (!ejump[i]) { beingSmacked[i] = 0; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } beingSmacked[i]++; hit[i] = 1; bullets[j].removeMovieClip(); bullets.splice(j, 1); bulletType.splice(j, 1); } j--; } if (hit[i] == 1) { if (!ejump[i]) { if (enemy[i]._xscale == 180) { enemy[i]._x = enemy[i]._x + 3; } else { enemy[i]._x = enemy[i]._x - 3; } enemy[i].gotoAndStop("hit"); enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] > 8) { hit[i] = 0; damagedTimer[i] = 0; } } if (ejump[i]) { enemy[i].gotoAndStop("ahit"); enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] > 4) { enemy[i].gotoAndStop("fall"); hit[i] = 0; damagedTimer[i] = 0; } } } if (hit[i] == 0) { if (player._x < enemy[i]._x) { enemy[i]._xscale = 180; } else { enemy[i]._xscale = -180; } portTimer[i]++; if (portTimer[i] > 32) { where[i] = Math.round(Math.random() * 1) + 0; moveAbout[i] = Math.round(Math.random() * 1) + 2; portTimer[i] = 0; } if ((where[i] == 0) or (where[i] == 1)) { if ((!ejump[i]) && (!edropping[i])) { enemy[i].gotoAndStop("run"); } if (moveAbout[i] == 0) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 175) / enemySpeed); enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 1) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 175) / enemySpeed); enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 2) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 200) / enemySpeed); enemy[i]._y = enemy[i]._y + (((endY - enemy[i]._y) - 45) / enemySpeed); } } if (moveAbout[i] == 3) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 200) / enemySpeed); enemy[i]._y = enemy[i]._y + (((endY - enemy[i]._y) + 45) / enemySpeed); } } } else { if (!ejump[i]) { enemy[i].gotoAndStop("idle"); } if (ejump[i]) { enemy[i].gotoAndStop("fall"); } } } } } } i--; } } function playerMovement() { if (shootygun.hitTest(player._x, player._y, true)) { hover_sound.start(); shootygun.removeMovieClip(); weapon = "shotGun"; } if (machineGunz.hitTest(player._x, player._y, true)) { hover_sound.start(); machineGunz.removeMovieClip(); weapon = "default"; } if (flameGun.hitTest(player._x, player._y, true)) { hover_sound.start(); flameGun.removeMovieClip(); weapon = "flame"; } if (((_global.alive && (notOverHeated)) && (!jump)) && (Key.isDown(65))) { shooting = true; } if (!Key.isDown(65)) { shooting = false; } i = bullets.length - 1; while (i >= 0) { if (bullets[i].hitTest(player.hit)) { if (bulletType[i] == "bad") { hitPlayer = 1; _global.playerHealth = _global.playerHealth - 5; bullets[i].removeMovieClip(); bullets.splice(i, 1); bulletType.splice(i, 1); } } if (bulletType[i] == "flamethrower") { bullets[i]._xscale = bullets[i]._xscale + 100; bullets[i]._yscale = bullets[i]._yscale + 100; if (bullets[i]._xscale > 1200) { bullets[i].removeMovieClip(); bullets.splice(i, 1); bulletType.splice(i, 1); } } if ((bullets[i]._x > (player._x + 640)) or (bullets[i]._x < (player._x - 640))) { bullets[i].removeMovieClip(); bullets.splice(i, 1); bulletType.splice(i, 1); } i--; } if (shooting) { if ((shotTimer + reloadTime) < getTimer()) { shotTimer = getTimer(); overHeat = overHeat + 3; if (overHeat > 100) { myColor = new Color(cam.heatBar); myColorTransform = new Object(); myColorTransform = {rb:0, gb:0, bb:250}; myColor.setTransform(myColorTransform); dropSpeed = 0.5; overHeat = 100; cam.weaponoverheat._alpha = 100; notOverHeated = false; } if (weapon == "pistols") { bulletPower = 1; reloadTime = 250; if (player._xscale == 65) { randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 15, _y:player._y - 38}); bullets.push(bullet_mc); bulletType.push("dualPistols"); bullet_mc.onEnterFrame = function () { this._x = this._x + 18; }; randomNumber++; bullet2_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 25, _y:player._y - 42}); bullets.push(bullet2_mc); bulletType.push("dualPistols"); bullet2_mc.onEnterFrame = function () { this._x = this._x + 18; }; } if (player._xscale == -65) { randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 15, _y:player._y - 38}); bullets.push(bullet_mc); bulletType.push("dualPistols"); bullet_mc.onEnterFrame = function () { this._x = this._x - 18; }; randomNumber++; bullet2_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 25, _y:player._y - 42}); bullets.push(bullet2_mc); bulletType.push("dualPistols"); bullet2_mc.onEnterFrame = function () { this._x = this._x - 18; }; } } if (weapon == "default") { bulletPower = 2; reloadTime = 100; machinegun_sound.start(); if (player._xscale == 65) { randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 65, _y:player._y - 42}); bullets.push(bullet_mc); bulletType.push("machineGun"); bullet_mc.onEnterFrame = function () { this._x = this._x + 40; }; } if (player._xscale == -65) { randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 65, _y:player._y - 42}); bullets.push(bullet_mc); bulletType.push("machineGun"); bullet_mc.onEnterFrame = function () { this._x = this._x - 40; }; } } if (weapon == "flame") { bulletPower = 3; reloadTime = 100; flame_sound.start(); if (player._xscale == 65) { randomNumber++; bullet_mc = _root.attachMovie("flameBullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 45, _y:player._y - 42}); bullets.push(bullet_mc); bulletType.push("flamethrower"); bullet_mc.onEnterFrame = function () { this._x = this._x + 10; }; } if (player._xscale == -65) { randomNumber++; bullet_mc = _root.attachMovie("flameBullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 45, _y:player._y - 42}); bullets.push(bullet_mc); bulletType.push("flamethrower"); bullet_mc.onEnterFrame = function () { this._x = this._x - 10; }; } } if (weapon == "shotGun") { bulletPower = 3; reloadTime = 700; shotgun_sound.start(); if (player._xscale == 65) { randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 45, _y:player._y - 42}); bullets.push(bullet_mc); bulletType.push("shotty"); bullet_mc.onEnterFrame = function () { this._x = this._x + 30; }; randomNumber++; bullet2_mc = _root.attachMovie("bullet", "bullet2" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 45, _y:player._y - 42}); bullets.push(bullet2_mc); bulletType.push("shotty"); bullet2_mc.onEnterFrame = function () { this._x = this._x + 30; this._y = this._y + 2.5; }; randomNumber++; bullet3_mc = _root.attachMovie("bullet", "bullet3" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 45, _y:player._y - 42}); bullets.push(bullet3_mc); bulletType.push("shotty"); bullet3_mc.onEnterFrame = function () { this._x = this._x + 30; this._y = this._y - 2.5; }; } if (player._xscale == -65) { randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 45, _y:player._y - 42}); bullets.push(bullet_mc); bulletType.push("shotty"); bullet_mc.onEnterFrame = function () { this._x = this._x - 30; }; randomNumber++; bullet2_mc = _root.attachMovie("bullet", "bullet2" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 45, _y:player._y - 42}); bullets.push(bullet2_mc); bulletType.push("shotty"); bullet2_mc.onEnterFrame = function () { this._x = this._x - 30; this._y = this._y + 2.5; }; randomNumber++; bullet3_mc = _root.attachMovie("bullet", "bullet3" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 45, _y:player._y - 42}); bullets.push(bullet3_mc); bulletType.push("shotty"); bullet3_mc.onEnterFrame = function () { this._x = this._x - 30; this._y = this._y - 2.5; }; } } } } if (hitPlayer == 0) { var _local4 = player.transform.colorTransform; player.transform.colorTransform = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0); } if (hitPlayer == 1) { var _local4 = player.transform.colorTransform; _local4.rgb = 4294967295; player.transform.colorTransform = _local4; hitTimer++; if (hitTimer == 1) { hitPlayer = 0; hitTimer = 0; } } if (cam._x < 315) { cam._x = 315; } if (cam._x > 6800) { cam._x = 6800; } if (player._x < callcam._x) { endX = _root.callcam._x; cam._x = cam._x + (((endX - cam._x) - 220) / 15); } else if (lock == 0) { endX = _root.player._x; cam._x = cam._x + ((endX - cam._x) / 15); } if (!moveOn) { if (player.hitTest(cam.right)) { player._x = player._x - playerSpeed; } } if (player.hitTest(cam.left)) { player._x = player._x + playerSpeed; } if (player._y > 550) { player._y = 550; } if ((player._y < 330) && (!jump)) { player._y = 330; } if (_global.alive) { if (!stab) { if (weapon == "pistols") { if (jump) { player.gotoAndStop("jumpPistol"); } if (shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("shootPistol"); } if (running) { player.gotoAndStop("shootWalkPistol"); } } } } if (!shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("idlePistol"); } if (running) { player.gotoAndStop("runPistol"); } } } } } if (weapon == "default") { if (jump) { player.gotoAndStop("jump"); } if (shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("shoot"); } if (running) { player.gotoAndStop("shootWalk"); } } } } if (!shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("idle"); } if (running) { player.gotoAndStop("run"); } } } } } if (weapon == "shotGun") { if (jump) { player.gotoAndStop("jumpshotGun"); } if (shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("shootshotGun"); } if (running) { player.gotoAndStop("shootWalkshotGun"); } } } } if (!shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("idleshotGun"); } if (running) { player.gotoAndStop("runshotGun"); } } } } } if (weapon == "flame") { if (jump) { player.gotoAndStop("jumpflame"); } if (shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("shootflame"); } if (running) { player.gotoAndStop("shootWalkflame"); } } } } if (!shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("idleflame"); } if (running) { player.gotoAndStop("runflame"); } } } } } } } if (!_global.alive) { player.gotoAndStop("dead"); } if (Key.isDown(83)) { if (canAttack) { if (_global.alive) { if (!shooting) { if (!jump) { stab = true; } } } } } if (stab) { playerSpeed = 0; stabTimer++; player.gotoAndStop("melee"); if (stabTimer == 14) { playerSpeed = 7; stabTimer = 0; stab = false; } } if (Key.isDown(68)) { if (_global.alive) { if (!sliding) { if (!stab) { if (onfloor) { shooting = false; groundMarker = player._y; jump = true; onfloor = false; _root.attachMovie("shadow_mc", "shadow_mc", _root.getNextHighestDepth(), {_y:player._y, _x:player._x}); yspeed = yspeed - jumpamount; } } } } } if (!Key.isDown(38)) { running = false; } if (!Key.isDown(40)) { running = false; } if (!Key.isDown(39)) { running = false; } if (!Key.isDown(37)) { running = false; } if (_global.alive && (inControl)) { if (Key.isDown(39)) { player._xscale = 65; player._x = player._x + playerSpeed; running = true; } if (Key.isDown(37)) { player._xscale = -65; player._x = player._x - playerSpeed; running = true; } if (Key.isDown(38)) { player._y = player._y - playerSpeed; running = true; } if (Key.isDown(40)) { player._y = player._y + playerSpeed; running = true; } } if (jump) { player._y = player._y + yspeed; if (player._y > groundMarker) { shadow_mc.removeMovieClip(); onfloor = true; jump = false; yspeed = 0; player._y = groundMarker; } else { yspeed = yspeed + (gravity * 2); } } } function countFrames() { _root.frameCount = 0; } stop(); blu_sound = new Sound(); blu_sound.attachSound("blu"); hover_sound = new Sound(); hover_sound.attachSound("other"); flame_sound = new Sound(); flame_sound.attachSound("flamwthrowa"); shotgun_sound = new Sound(); shotgun_sound.attachSound("shotBoom"); machinegun_sound = new Sound(); machinegun_sound.attachSound("mg"); hurt_sound = new Sound(); hurt_sound.attachSound("hurt"); cam._xscale = 100; cam._yscale = 100; if (playerSelect == 0) { _root.attachMovie("player", "player", _root.getNextHighestDepth(), {_x:150, _y:450}); } if (playerSelect == 1) { _root.attachMovie("playerWhite", "player", _root.getNextHighestDepth(), {_x:150, _y:450}); } if (playerSelect == 2) { _root.attachMovie("playerBlack", "player", _root.getNextHighestDepth(), {_x:150, _y:450}); } _root.attachMovie("shootygun", "shootygun", _root.getNextHighestDepth(), {_x:500, _y:450}); _root.attachMovie("machineGunz", "machineGunz", _root.getNextHighestDepth(), {_x:2700, _y:500}); _root.attachMovie("flameGun", "flameGun", _root.getNextHighestDepth(), {_x:4000, _y:330}); player._yscale = 65; player._xscale = 65; _global.forceDrop = false; runTrans = false; moveOn = false; bigGuy = 2; toGo = 0; inControl = true; canAttack = true; addComplete = 0; stageDone = false; stab = false; _global.quit = false; _global.alive = true; notOverHeated = true; overHeat = 0; dropSpeed = 1; _global.playerHealth = 100; gaySound = 0; enemyPower = 0.5; stabTimer = 0; dashSpeed = 10; enemyNumber = 4; randomNumber = 0; jump = false; enemySpeed = 50; jumpamount = 25; gravity = 2; pullingCam = false; yspeed = 0; onfloor = true; pressHack = 0; lock = 0; sliding = false; slidingTimer = 0; special = false; specialTimer = 0; clicks = 0; shooting = false; hit2 = false; hit3 = false; running = false; attacking = false; playerSpeed = 7; is_attacking = 0; smack = 0; hitPlayer = 0; pick = Math.round(Math.random() * 3) + 0; hitTimer = 0; shotTimer = 0; reloadTime = 100; enemyShotTimer = 0; sectionOneRelease = true; sectionTwoRelease = true; sectionThreeRelease = true; sectionFourRelease = true; sectionFiveRelease = true; sectionSixRelease = true; sectionSevenRelease = true; sectionEightRelease = true; sectionNineRelease = true; sectionTenRelease = true; sectionElevenRelease = true; groundMarker = player._y; var bullets = new Array(); var bulletType = new Array(); var egroundMarker = new Array(); var egravity = new Array(); var potionType = new Array(); var potions = new Array(); var boxHealth = new Array(); var boxHit = new Array(); var boxHitTimer = new Array(); var boxes = new Array(); var edropping = new Array(); var eonfloor = new Array(); var ejump = new Array(); var ejumpamount = new Array(); var eyspeed = new Array(); var shot = new Array(); var portTimer = new Array(); var beingSmacked = new Array(); var dead_body = new Array(); var type = new Array(); var hypArray = new Array(); var enemyHealth = new Array(); var damagedTimer = new Array(); var hit = new Array(); var enemyAttackingTimer = new Array(); var enemyAttacking = new Array(); var enemy = new Array(); var blocks = new Array(); var moveAbout = new Array(); var where = new Array(); var onPlatform = new Array(); var pickAttack = new Array(); var port = new Array(); var falling = new Array(); var down = new Array(); var downTimer = new Array(); var depths = new Array(); var died = new Array(); randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } depths.push(player, shootygun, enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); randomNumber++; if (pick == 0) { enemy_mc = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 1) { enemy_mc = _root.attachMovie("enemy2", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 2) { enemy_mc = _root.attachMovie("enemy3", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } if (pick == 3) { enemy_mc = _root.attachMovie("enemy4", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); } depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(0); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); randomNumber++; enemy_mc = _root.attachMovie("midlvlboss", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:Math.round(Math.random() * 150) + 310}); depths.push(enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(1); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(10); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); player.onEnterFrame = function () { if (moveOn) { stabTimer = 0; stab = false; energy = 0; canAttack = false; inControl = false; player._xscale = 65; playerSpeed = 18; player._x = player._x + playerSpeed; running = true; } if (runTrans) { toGo++; if (toGo == 100) { removeEverything(); nextFrame(); } } if (player._x > (cam._x + 550)) { if (addComplete == 0) { cam.trans.gotoAndStop("black"); runTrans = true; playerSpeed = 0; addComplete = 1; } stageDone = true; cam.goSign._alpha = 0; } if (_global.playerHealth < 0) { lives--; livesNumber--; _root.attachMovie("splatter", "splatter", _root.getNextHighestDepth()); splatter._x = cam._x; splatter._y = cam._y; shooting = false; _global.alive = false; _global.playerHealth = 0; } cam.bar._xscale = _global.playerHealth; if (enemyNumber == 0) { if (gaySound == 0) { blu_sound.start(0, 3); gaySound = 1; } if (!stageDone) { cam.goSign._alpha = 100; } lock = 0; pullingCam = true; } else { gaySound = 0; cam.goSign._alpha = 0; pullingCam = false; } if (pullingCam) { callcam._x = player._x; } else if (lock == 0) { lock = 1; callcam._x = cam._x + 155; } if (!notOverHeated) { overHeat = overHeat - dropSpeed; shooting = false; } if (!shooting) { if (notOverHeated) { overHeat = overHeat - dropSpeed; dropSpeed = 1; } } if (overHeat < 0) { myColor = new Color(cam.heatBar); myColorTransform = new Object(); myColorTransform = {rb:0, gb:0, bb:0}; cam.weaponoverheat._alpha = 0; myColor.setTransform(myColorTransform); overHeat = 0; notOverHeated = true; } if (_global.alive) { italy._y = cam._y - 1000; } if ((!_global.alive) && (lives < 0)) { italy._y = cam._y; } italy._x = cam._x; if (_global.alive) { cont._y = cam._y - 1000; } if ((!_global.alive) && (lives > -1)) { cont._y = cam._y; } if ((bigGuy == 0) && (enemyNumber == 0)) { moveOn = true; } cont._x = cam._x; cam.heatBar._yscale = overHeat; shadow_mc._x = player._x; cam._y = _root.player._y - 150; theStage(); cam.camControl(); playerMovement(); calculateHyp(); enemyMovement(); cont.swapDepths(_root.getNextHighestDepth()); italy.swapDepths(_root.getNextHighestDepth()); depthActions(); noOverLap(); if (livesNumber < 0) { livesNumber = 0; } cam.livesNum.text = livesNumber; if (_global.quit) { stopAllSounds(); removeEverything(); _root.gotoAndStop("title"); } }; frameRateCounter = setInterval(countFrames, 1000);
Frame 14
play();
Frame 15
function removedied() { i = died.length - 1; while (i >= 0) { died[i].removeMovieClip(); died.splice(i, 1); i--; } } function removebullets() { i = bullets.length - 1; while (i >= 0) { bullets[i].removeMovieClip(); bullets.splice(i, 1); i--; } } function removebulletType() { i = bulletType.length - 1; while (i >= 0) { bulletType[i].removeMovieClip(); bulletType.splice(i, 1); i--; } } function removeegroundMarker() { i = egroundMarker.length - 1; while (i >= 0) { egroundMarker[i].removeMovieClip(); egroundMarker.splice(i, 1); i--; } } function removeegravity() { i = egravity.length - 1; while (i >= 0) { egravity[i].removeMovieClip(); egravity.splice(i, 1); i--; } } function removepotionType() { i = potionType.length - 1; while (i >= 0) { potionType[i].removeMovieClip(); potionType.splice(i, 1); i--; } } function removepotions() { i = potions.length - 1; while (i >= 0) { potions[i].removeMovieClip(); potions.splice(i, 1); i--; } } function removeboxHealth() { i = boxHealth.length - 1; while (i >= 0) { boxHealth[i].removeMovieClip(); boxHealth.splice(i, 1); i--; } } function removeboxHit() { i = boxHit.length - 1; while (i >= 0) { boxHit[i].removeMovieClip(); boxHit.splice(i, 1); i--; } } function removeboxHitTimer() { i = boxHitTimer.length - 1; while (i >= 0) { boxHitTimer[i].removeMovieClip(); boxHitTimer.splice(i, 1); i--; } } function removeboxes() { i = boxes.length - 1; while (i >= 0) { boxes[i].removeMovieClip(); boxes.splice(i, 1); i--; } } function removeedropping() { i = edropping.length - 1; while (i >= 0) { edropping[i].removeMovieClip(); edropping.splice(i, 1); i--; } } function removeeonfloor() { i = eonfloor.length - 1; while (i >= 0) { eonfloor[i].removeMovieClip(); eonfloor.splice(i, 1); i--; } } function removeejump() { i = ejump.length - 1; while (i >= 0) { ejump[i].removeMovieClip(); ejump.splice(i, 1); i--; } } function removeejumpamount() { i = ejumpamount.length - 1; while (i >= 0) { ejumpamount[i].removeMovieClip(); ejumpamount.splice(i, 1); i--; } } function removeeyspeed() { i = eyspeed.length - 1; while (i >= 0) { eyspeed[i].removeMovieClip(); eyspeed.splice(i, 1); i--; } } function removeshot() { i = shot.length - 1; while (i >= 0) { shot[i].removeMovieClip(); shot.splice(i, 1); i--; } } function removeportTimer() { i = portTimer.length - 1; while (i >= 0) { portTimer[i].removeMovieClip(); portTimer.splice(i, 1); i--; } } function removebeingSmacked() { i = beingSmacked.length - 1; while (i >= 0) { beingSmacked[i].removeMovieClip(); beingSmacked.splice(i, 1); i--; } } function removedead_body() { i = dead_body.length - 1; while (i >= 0) { dead_body[i].removeMovieClip(); dead_body.splice(i, 1); i--; } } function removetype() { i = type.length - 1; while (i >= 0) { type[i].removeMovieClip(); type.splice(i, 1); i--; } } function removehypArray() { i = hypArray.length - 1; while (i >= 0) { hypArray[i].removeMovieClip(); hypArray.splice(i, 1); i--; } } function removeenemyHealth() { i = enemyHealth.length - 1; while (i >= 0) { enemyHealth[i].removeMovieClip(); enemyHealth.splice(i, 1); i--; } } function removedamagedTimer() { i = damagedTimer.length - 1; while (i >= 0) { damagedTimer[i].removeMovieClip(); damagedTimer.splice(i, 1); i--; } } function removehit() { i = hit.length - 1; while (i >= 0) { hit[i].removeMovieClip(); hit.splice(i, 1); i--; } } function removeenemyAttackingTimer() { i = enemyAttackingTimer.length - 1; while (i >= 0) { enemyAttackingTimer[i].removeMovieClip(); enemyAttackingTimer.splice(i, 1); i--; } } function removeenemyAttacking() { i = enemyAttacking.length - 1; while (i >= 0) { enemyAttacking[i].removeMovieClip(); enemyAttacking.splice(i, 1); i--; } } function removeenemy() { i = enemy.length - 1; while (i >= 0) { enemy[i].removeMovieClip(); enemy.splice(i, 1); i--; } } function removeblocks() { i = blocks.length - 1; while (i >= 0) { blocks[i].removeMovieClip(); blocks.splice(i, 1); i--; } } function removemoveAbout() { i = moveAbout.length - 1; while (i >= 0) { moveAbout[i].removeMovieClip(); moveAbout.splice(i, 1); i--; } } function removewhere() { i = where.length - 1; while (i >= 0) { where[i].removeMovieClip(); where.splice(i, 1); i--; } } function removeonPlatform() { i = onPlatform.length - 1; while (i >= 0) { onPlatform[i].removeMovieClip(); onPlatform.splice(i, 1); i--; } } function removepickAttack() { i = pickAttack.length - 1; while (i >= 0) { pickAttack[i].removeMovieClip(); pickAttack.splice(i, 1); i--; } } function removeport() { i = port.length - 1; while (i >= 0) { port[i].removeMovieClip(); port.splice(i, 1); i--; } } function removefalling() { i = falling.length - 1; while (i >= 0) { falling[i].removeMovieClip(); falling.splice(i, 1); i--; } } function removedown() { i = down.length - 1; while (i >= 0) { down[i].removeMovieClip(); down.splice(i, 1); i--; } } function removedownTimer() { i = downTimer.length - 1; while (i >= 0) { downTimer[i].removeMovieClip(); downTimer.splice(i, 1); i--; } } function removedepths() { i = depths.length - 1; while (i >= 0) { depths[i].removeMovieClip(); depths.splice(i, 1); i--; } } function removeEverything() { stopAllSounds(); italy.removeMovieClip(); cont.removeMovieClip(); machineGunz.removeMovieClip(); flameGun.removeMovieClip(); shootygun.removeMovieClip(); player.removeMovieClip(); removedied(); removebullets(); removebulletType(); removeegroundMarker(); removeegravity(); removepotionType(); removepotions(); removeboxHealth(); removeboxHit(); removeboxHitTimer(); removeboxes(); removeedropping(); removeeonfloor(); removeejump(); removeejumpamount(); removeeyspeed(); removeshot(); removeportTimer(); removebeingSmacked(); removedead_body(); removetype(); removehypArray(); removeenemyHealth(); removedamagedTimer(); removehit(); removeenemyAttackingTimer(); removeenemyAttacking(); removeenemy(); removeblocks(); removemoveAbout(); removewhere(); removeonPlatform(); removepickAttack(); removeport(); removefalling(); removedown(); removedownTimer(); removedepths(); } function noOverLap() { i = enemy.length - 1; while (i >= 0) { j = enemy.length - 1; while (j >= 0) { if (!(enemy[i] === enemy[j])) { if (enemy[i].hitTest(enemy[j])) { if ((enemyHealth[i] > 0) && (!down[i])) { endX = _root.enemy[j]._x; enemy[i]._x = enemy[i]._x - ((endX - enemy[i]._x) / enemySpeed); } } } j--; } i--; } } function theStage() { } function depthActions() { i = depths.length - 1; while (i >= 0) { if (!jump) { depths[i].idiot_depth = Math.floor((depths[i]._y * 480) + depths[i]._x); depths[i].swapDepths(depths[i].idiot_depth); } i--; } } function calculateHyp() { i = enemy.length - 1; while (i >= 0) { dist_x = player._x - enemy[i]._x; dist_y = player._y - enemy[i]._y; hypArray[i] = Math.sqrt((dist_x * dist_x) + (dist_y * dist_y)); i--; } } function enemyMovement() { i = enemy.length - 1; while (i >= 0) { if (_global.forceDrop) { beingSmacked[i] = 0; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; _global.forceDrop = false; } enemy[i]._yscale = 80; if (enemy[i]._x < 150) { enemy[i]._x = 150; } if (enemy[i]._x > 920) { enemy[i]._x = 920; } if (runTrans) { player._alpha = player._alpha - 1; enemy[i]._alpha = enemy[i]._alpha - 1; } if (type[i] == 0) { if (enemy[i]._y > 550) { enemy[i]._y = 550; } if (enemy[i]._y < 330) { enemy[i]._y = 330; } if (enemyHealth[i] < 1) { if (died[i] == 0) { hurt_sound.start(); enemyNumber--; enemy[i].gotoAndStop("fall"); died[i] = 1; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } if (ejump[i]) { if (enemy[i]._xscale == 180) { enemy[i]._x = enemy[i]._x + 3; } else { enemy[i]._x = enemy[i]._x - 3; } enemy[i]._y = enemy[i]._y + eyspeed[i]; if (enemy[i]._y > egroundMarker[i]) { edropping[i] = false; eonfloor[i] = true; ejump[i] = false; eyspeed[i] = 0; enemy[i]._y = egroundMarker[i]; } else { eyspeed[i] = eyspeed[i] + (egravity[i] * 2); } } if (falling[i]) { if (enemy[i]._y == egroundMarker[i]) { down[i] = true; } } if (down[i]) { if (enemyHealth[i] < 1) { enemy[i].gotoAndStop("dead"); } if (enemyHealth[i] > 0) { enemy[i].gotoAndStop("down"); downTimer[i]++; if (downTimer[i] == 40) { hit[i] = 0; damagedTimer[i] = 0; down[i] = false; falling[i] = false; downTimer[i] = 0; } } } if ((!down[i]) && (enemyHealth[i] > 0)) { if (hypArray[i] < 100) { if (enemyAttacking[i] == 1) { if (enemy[i].marker.hitTest(player.hit)) { hitPlayer = 1; _global.playerHealth = _global.playerHealth - (enemyPower * 1.5); } } enemyAttackingTimer[i]++; } else { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; } if (enemyAttackingTimer[i] > 100) { if (!ejump[i]) { enemy[i].gotoAndStop("attack"); enemyAttacking[i] = 1; if (enemyAttackingTimer[i] == 114) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; pickAttack[i] = Math.round(Math.random() * 3) + 0; } } } if (enemyAttacking[i] == 0) { if (player.hitTest(enemy[i].enemyHitMarker) && (stabTimer == 5)) { enemyHealth[i] = enemyHealth[i] - 2; randomNumber++; _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 120}); if (!ejump[i]) { beingSmacked[i] = 0; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } hit[i] = 1; } j = bullets.length - 1; while (j >= 0) { if (bulletType[j] == "default") { if (bullets[j].hitTest(enemy[i])) { bullets[j]._alpha = 0; } else { bullets[j]._alpha = 100; } } if (bullets[j].hitTest(enemy[i].enemyHitMarker)) { enemyHealth[i] = enemyHealth[i] - bulletPower; randomNumber++; _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[j]._x, _y:bullets[j]._y}); if (beingSmacked[i] > 2) { if (!ejump[i]) { beingSmacked[i] = 0; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } beingSmacked[i]++; hit[i] = 1; bullets[j].removeMovieClip(); bullets.splice(j, 1); bulletType.splice(j, 1); } j--; } if (hit[i] == 1) { if (!ejump[i]) { if (enemy[i]._xscale == 180) { enemy[i]._x = enemy[i]._x + 3; } else { enemy[i]._x = enemy[i]._x - 3; } enemy[i].gotoAndStop("hit"); enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] > 8) { hit[i] = 0; damagedTimer[i] = 0; } } if (ejump[i]) { enemy[i].gotoAndStop("ahit"); enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] > 4) { enemy[i].gotoAndStop("fall"); hit[i] = 0; damagedTimer[i] = 0; } } } if (hit[i] == 0) { if (player._x < enemy[i]._x) { enemy[i]._xscale = 180; } else { enemy[i]._xscale = -180; } portTimer[i]++; if (portTimer[i] > 32) { where[i] = Math.round(Math.random() * 1) + 0; moveAbout[i] = Math.round(Math.random() * 3) + 0; portTimer[i] = 0; } if ((where[i] == 0) or (where[i] == 1)) { if ((!ejump[i]) && (!edropping[i])) { enemy[i].gotoAndStop("run"); } if (moveAbout[i] == 0) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 75) / enemySpeed); enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 1) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 75) / enemySpeed); enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 2) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 25) / enemySpeed); enemy[i]._y = enemy[i]._y + (((endY - enemy[i]._y) - 75) / enemySpeed); } } if (moveAbout[i] == 3) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 25) / enemySpeed); enemy[i]._y = enemy[i]._y + (((endY - enemy[i]._y) + 75) / enemySpeed); } } } else { if (!ejump[i]) { enemy[i].gotoAndStop("idle"); } if (ejump[i]) { enemy[i].gotoAndStop("fall"); } } } } } } if (type[i] == 1) { if (enemy[i]._y > 550) { enemy[i]._y = 550; } if (enemy[i]._y < 330) { enemy[i]._y = 330; } if (enemyHealth[i] < 1) { if (died[i] == 0) { hurt_sound.start(); bigGuy--; enemyNumber--; enemy[i].gotoAndStop("fall"); died[i] = 1; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } if (ejump[i]) { if (enemy[i]._xscale == 80) { enemy[i]._x = enemy[i]._x + 3; } else { enemy[i]._x = enemy[i]._x - 3; } enemy[i]._y = enemy[i]._y + eyspeed[i]; if (enemy[i]._y > egroundMarker[i]) { edropping[i] = false; eonfloor[i] = true; ejump[i] = false; eyspeed[i] = 0; enemy[i]._y = egroundMarker[i]; } else { eyspeed[i] = eyspeed[i] + (egravity[i] * 2); } } if (falling[i]) { if (enemy[i]._y == egroundMarker[i]) { down[i] = true; } } if (down[i]) { if (enemyHealth[i] < 1) { enemy[i].gotoAndStop("dead"); } if (enemyHealth[i] > 0) { enemy[i].gotoAndStop("down"); downTimer[i]++; if (downTimer[i] == 40) { hit[i] = 0; damagedTimer[i] = 0; down[i] = false; falling[i] = false; downTimer[i] = 0; enemyAttackingTimer[i] = 100; } } } if ((!down[i]) && (enemyHealth[i] > 0)) { if (hypArray[i] < 700) { if (enemyAttacking[i] == 1) { if (enemy[i].marker.hitTest(player.hit)) { hitPlayer = 1; _global.playerHealth = _global.playerHealth - (enemyPower * 1.5); } } enemyAttackingTimer[i]++; } else { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; } if (enemyAttackingTimer[i] > 100) { if (!ejump[i]) { if ((enemyShotTimer + 70) < getTimer()) { enemyShotTimer = getTimer(); machinegun_sound.start(); if (enemy[i]._xscale == 80) { randomNumber++; enemyBullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x - 85, _y:enemy[i]._y - 48}); bullets.push(enemyBullet_mc); bulletType.push("bad"); enemyBullet_mc.onEnterFrame = function () { this._x = this._x - 40; }; } if (enemy[i]._xscale == -80) { randomNumber++; enemyBullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x + 85, _y:enemy[i]._y - 48}); bullets.push(enemyBullet_mc); bulletType.push("bad"); enemyBullet_mc.onEnterFrame = function () { this._x = this._x + 40; }; } } enemy[i].gotoAndStop("attack"); enemyAttacking[i] = 1; if (enemyAttackingTimer[i] == 140) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; pickAttack[i] = Math.round(Math.random() * 3) + 0; } } } if (enemyAttacking[i] == 0) { if (player.hitTest(enemy[i].enemyHitMarker) && (stabTimer == 5)) { enemyHealth[i] = enemyHealth[i] - 2; randomNumber++; _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 70}); hit[i] = 1; } j = bullets.length - 1; while (j >= 0) { if (bulletType[j] == "default") { if (bullets[j].hitTest(enemy[i])) { bullets[j]._alpha = 0; } else { bullets[j]._alpha = 100; } } if (bullets[j].hitTest(enemy[i].enemyHitMarker)) { enemyHealth[i] = enemyHealth[i] - bulletPower; randomNumber++; _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[j]._x, _y:bullets[j]._y}); if (beingSmacked[i] > 2) { if (!ejump[i]) { beingSmacked[i] = 0; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } beingSmacked[i]++; hit[i] = 1; bullets[j].removeMovieClip(); bullets.splice(j, 1); bulletType.splice(j, 1); } j--; } if (hit[i] == 1) { if (!ejump[i]) { if (enemy[i]._xscale == 80) { enemy[i]._x = enemy[i]._x + 3; } else { enemy[i]._x = enemy[i]._x - 3; } enemy[i].gotoAndStop("hit"); enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] > 8) { hit[i] = 0; damagedTimer[i] = 0; } } if (ejump[i]) { enemy[i].gotoAndStop("ahit"); enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] > 4) { enemy[i].gotoAndStop("fall"); hit[i] = 0; damagedTimer[i] = 0; } } } if (hit[i] == 0) { if (player._x < enemy[i]._x) { enemy[i]._xscale = 80; } else { enemy[i]._xscale = -80; } portTimer[i]++; if (portTimer[i] > 32) { where[i] = Math.round(Math.random() * 1) + 0; moveAbout[i] = Math.round(Math.random() * 1) + 2; portTimer[i] = 0; } if ((where[i] == 0) or (where[i] == 1)) { if ((!ejump[i]) && (!edropping[i])) { enemy[i].gotoAndStop("run"); } if (moveAbout[i] == 0) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 175) / enemySpeed); enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 1) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 175) / enemySpeed); enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 2) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 200) / enemySpeed); enemy[i]._y = enemy[i]._y + (((endY - enemy[i]._y) - 45) / enemySpeed); } } if (moveAbout[i] == 3) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 200) / enemySpeed); enemy[i]._y = enemy[i]._y + (((endY - enemy[i]._y) + 45) / enemySpeed); } } } else { if (!ejump[i]) { enemy[i].gotoAndStop("idle"); } if (ejump[i]) { enemy[i].gotoAndStop("fall"); } } } } } } if (type[i] == 2) { if (enemy[i]._y > 550) { enemy[i]._y = 550; } if (enemy[i]._y < 330) { enemy[i]._y = 330; } if (enemyHealth[i] < 1) { if (died[i] == 0) { hurt_sound.start(); enemyNumber--; enemy[i].gotoAndStop("fall"); died[i] = 1; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } if (ejump[i]) { if (enemy[i]._xscale == 180) { enemy[i]._x = enemy[i]._x + 3; } else { enemy[i]._x = enemy[i]._x - 3; } enemy[i]._y = enemy[i]._y + eyspeed[i]; if (enemy[i]._y > egroundMarker[i]) { edropping[i] = false; eonfloor[i] = true; ejump[i] = false; eyspeed[i] = 0; enemy[i]._y = egroundMarker[i]; } else { eyspeed[i] = eyspeed[i] + (egravity[i] * 2); } } if (falling[i]) { if (enemy[i]._y == egroundMarker[i]) { down[i] = true; } } if (down[i]) { if (enemyHealth[i] < 1) { enemy[i].gotoAndStop("dead"); } if (enemyHealth[i] > 0) { enemy[i].gotoAndStop("down"); downTimer[i]++; if (downTimer[i] == 40) { hit[i] = 0; damagedTimer[i] = 0; down[i] = false; falling[i] = false; downTimer[i] = 0; } } } if ((!down[i]) && (enemyHealth[i] > 0)) { if (hypArray[i] < 700) { if (enemyAttacking[i] == 1) { if (enemy[i].marker.hitTest(player.hit)) { hitPlayer = 1; _global.playerHealth = _global.playerHealth - (enemyPower * 1.5); } } enemyAttackingTimer[i]++; } else { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; } if (enemyAttackingTimer[i] > 100) { if (!ejump[i]) { if ((enemyShotTimer + 70) < getTimer()) { enemyShotTimer = getTimer(); machinegun_sound.start(); if (enemy[i]._xscale == 180) { randomNumber++; enemyBullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x - 45, _y:(enemy[i]._y + Math.round(Math.random() * 20)) - 40}); bullets.push(enemyBullet_mc); bulletType.push("bad"); enemyBullet_mc.onEnterFrame = function () { this._x = this._x - 40; }; } if (enemy[i]._xscale == -180) { randomNumber++; enemyBullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x + 45, _y:(enemy[i]._y + Math.round(Math.random() * 20)) - 40}); bullets.push(enemyBullet_mc); bulletType.push("bad"); enemyBullet_mc.onEnterFrame = function () { this._x = this._x + 40; }; } } enemy[i].gotoAndStop("attack"); enemyAttacking[i] = 1; if (enemyAttackingTimer[i] == 140) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; pickAttack[i] = Math.round(Math.random() * 3) + 0; } } } if (enemyAttacking[i] == 0) { if (player.hitTest(enemy[i].enemyHitMarker) && (stabTimer == 5)) { enemyHealth[i] = enemyHealth[i] - 2; randomNumber++; _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 70}); hit[i] = 1; } j = bullets.length - 1; while (j >= 0) { if (bulletType[j] == "default") { if (bullets[j].hitTest(enemy[i])) { bullets[j]._alpha = 0; } else { bullets[j]._alpha = 100; } } if (bullets[j].hitTest(enemy[i].enemyHitMarker)) { enemyHealth[i] = enemyHealth[i] - bulletPower; randomNumber++; _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_x:bullets[j]._x, _y:bullets[j]._y}); if (beingSmacked[i] > 2) { if (!ejump[i]) { beingSmacked[i] = 0; egroundMarker[i] = enemy[i]._y; falling[i] = true; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } beingSmacked[i]++; hit[i] = 1; bullets[j].removeMovieClip(); bullets.splice(j, 1); bulletType.splice(j, 1); } j--; } if (hit[i] == 1) { if (!ejump[i]) { if (enemy[i]._xscale == 180) { enemy[i]._x = enemy[i]._x + 3; } else { enemy[i]._x = enemy[i]._x - 3; } enemy[i].gotoAndStop("hit"); enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] > 8) { hit[i] = 0; damagedTimer[i] = 0; } } if (ejump[i]) { enemy[i].gotoAndStop("ahit"); enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] > 4) { enemy[i].gotoAndStop("fall"); hit[i] = 0; damagedTimer[i] = 0; } } } if (hit[i] == 0) { if (player._x < enemy[i]._x) { enemy[i]._xscale = 180; } else { enemy[i]._xscale = -180; } portTimer[i]++; if (portTimer[i] > 32) { where[i] = Math.round(Math.random() * 1) + 0; moveAbout[i] = Math.round(Math.random() * 1) + 2; portTimer[i] = 0; } if ((where[i] == 0) or (where[i] == 1)) { if ((!ejump[i]) && (!edropping[i])) { enemy[i].gotoAndStop("run"); } if (moveAbout[i] == 0) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 175) / enemySpeed); enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 1) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 175) / enemySpeed); enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 2) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 200) / enemySpeed); enemy[i]._y = enemy[i]._y + (((endY - enemy[i]._y) - 45) / enemySpeed); } } if (moveAbout[i] == 3) { if ((!falling[i]) && (!jump)) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 200) / enemySpeed); enemy[i]._y = enemy[i]._y + (((endY - enemy[i]._y) + 45) / enemySpeed); } } } else { if (!ejump[i]) { enemy[i].gotoAndStop("idle"); } if (ejump[i]) { enemy[i].gotoAndStop("fall"); } } } } } } i--; } } function playerMovement() { if (shootygun.hitTest(player._x, player._y, true)) { hover_sound.start(); shootygun.removeMovieClip(); weapon = "shotGun"; } if (machineGunz.hitTest(player._x, player._y, true)) { hover_sound.start(); machineGunz.removeMovieClip(); weapon = "default"; } if (flameGun.hitTest(player._x, player._y, true)) { hover_sound.start(); flameGun.removeMovieClip(); weapon = "flame"; } if (((_global.alive && (notOverHeated)) && (!jump)) && (Key.isDown(65))) { shooting = true; } if (!Key.isDown(65)) { shooting = false; } i = bullets.length - 1; while (i >= 0) { if (bullets[i].hitTest(player.hit)) { if (bulletType[i] == "bad") { hitPlayer = 1; _global.playerHealth = _global.playerHealth - 5; bullets[i].removeMovieClip(); bullets.splice(i, 1); bulletType.splice(i, 1); } } if (bulletType[i] == "flamethrower") { bullets[i]._xscale = bullets[i]._xscale + 100; bullets[i]._yscale = bullets[i]._yscale + 100; if (bullets[i]._xscale > 1200) { bullets[i].removeMovieClip(); bullets.splice(i, 1); bulletType.splice(i, 1); } } if ((bullets[i]._x > (player._x + 640)) or (bullets[i]._x < (player._x - 640))) { bullets[i].removeMovieClip(); bullets.splice(i, 1); bulletType.splice(i, 1); } i--; } if (shooting) { if ((shotTimer + reloadTime) < getTimer()) { shotTimer = getTimer(); overHeat = overHeat + 3; if (overHeat > 100) { myColor = new Color(cam.heatBar); myColorTransform = new Object(); myColorTransform = {rb:0, gb:0, bb:250}; myColor.setTransform(myColorTransform); dropSpeed = 0.5; overHeat = 100; cam.weaponoverheat._alpha = 100; notOverHeated = false; } if (weapon == "pistols") { bulletPower = 1; reloadTime = 250; if (player._xscale == 65) { randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 15, _y:player._y - 38}); bullets.push(bullet_mc); bulletType.push("dualPistols"); bullet_mc.onEnterFrame = function () { this._x = this._x + 18; }; randomNumber++; bullet2_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 25, _y:player._y - 42}); bullets.push(bullet2_mc); bulletType.push("dualPistols"); bullet2_mc.onEnterFrame = function () { this._x = this._x + 18; }; } if (player._xscale == -65) { randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 15, _y:player._y - 38}); bullets.push(bullet_mc); bulletType.push("dualPistols"); bullet_mc.onEnterFrame = function () { this._x = this._x - 18; }; randomNumber++; bullet2_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 25, _y:player._y - 42}); bullets.push(bullet2_mc); bulletType.push("dualPistols"); bullet2_mc.onEnterFrame = function () { this._x = this._x - 18; }; } } if (weapon == "default") { machinegun_sound.start(); bulletPower = 2; reloadTime = 100; if (player._xscale == 65) { randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 65, _y:player._y - 42}); bullets.push(bullet_mc); bulletType.push("machineGun"); bullet_mc.onEnterFrame = function () { this._x = this._x + 40; }; } if (player._xscale == -65) { randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 65, _y:player._y - 42}); bullets.push(bullet_mc); bulletType.push("machineGun"); bullet_mc.onEnterFrame = function () { this._x = this._x - 40; }; } } if (weapon == "flame") { flame_sound.start(); bulletPower = 3; reloadTime = 100; if (player._xscale == 65) { randomNumber++; bullet_mc = _root.attachMovie("flameBullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 45, _y:player._y - 42}); bullets.push(bullet_mc); bulletType.push("flamethrower"); bullet_mc.onEnterFrame = function () { this._x = this._x + 10; }; } if (player._xscale == -65) { randomNumber++; bullet_mc = _root.attachMovie("flameBullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 45, _y:player._y - 42}); bullets.push(bullet_mc); bulletType.push("flamethrower"); bullet_mc.onEnterFrame = function () { this._x = this._x - 10; }; } } if (weapon == "shotGun") { shotgun_sound.start(); bulletPower = 3; reloadTime = 700; if (player._xscale == 65) { randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 45, _y:player._y - 42}); bullets.push(bullet_mc); bulletType.push("shotty"); bullet_mc.onEnterFrame = function () { this._x = this._x + 30; }; randomNumber++; bullet2_mc = _root.attachMovie("bullet", "bullet2" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 45, _y:player._y - 42}); bullets.push(bullet2_mc); bulletType.push("shotty"); bullet2_mc.onEnterFrame = function () { this._x = this._x + 30; this._y = this._y + 2.5; }; randomNumber++; bullet3_mc = _root.attachMovie("bullet", "bullet3" + randomNumber, _root.getNextHighestDepth(), {_x:player._x + 45, _y:player._y - 42}); bullets.push(bullet3_mc); bulletType.push("shotty"); bullet3_mc.onEnterFrame = function () { this._x = this._x + 30; this._y = this._y - 2.5; }; } if (player._xscale == -65) { randomNumber++; bullet_mc = _root.attachMovie("bullet", "bullet" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 45, _y:player._y - 42}); bullets.push(bullet_mc); bulletType.push("shotty"); bullet_mc.onEnterFrame = function () { this._x = this._x - 30; }; randomNumber++; bullet2_mc = _root.attachMovie("bullet", "bullet2" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 45, _y:player._y - 42}); bullets.push(bullet2_mc); bulletType.push("shotty"); bullet2_mc.onEnterFrame = function () { this._x = this._x - 30; this._y = this._y + 2.5; }; randomNumber++; bullet3_mc = _root.attachMovie("bullet", "bullet3" + randomNumber, _root.getNextHighestDepth(), {_x:player._x - 45, _y:player._y - 42}); bullets.push(bullet3_mc); bulletType.push("shotty"); bullet3_mc.onEnterFrame = function () { this._x = this._x - 30; this._y = this._y - 2.5; }; } } } } if (hitPlayer == 0) { var _local4 = player.transform.colorTransform; player.transform.colorTransform = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0); } if (hitPlayer == 1) { var _local4 = player.transform.colorTransform; _local4.rgb = 4294967295; player.transform.colorTransform = _local4; hitTimer++; if (hitTimer == 1) { hitPlayer = 0; hitTimer = 0; } } if (cam._x < 315) { cam._x = 315; } if (cam._x > 800) { cam._x = 800; } if (player._x < callcam._x) { endX = _root.callcam._x; cam._x = cam._x + (((endX - cam._x) - 220) / 15); } else if (lock == 0) { endX = _root.player._x; cam._x = cam._x + ((endX - cam._x) / 15); } if (!moveOn) { if (player.hitTest(cam.right)) { player._x = player._x - playerSpeed; } } if (player.hitTest(cam.left)) { player._x = player._x + playerSpeed; } if (player._x < 115) { player._x = 115; } if (player._x > 990) { player._x = 990; } if (player._y > 550) { player._y = 550; } if ((player._y < 330) && (!jump)) { player._y = 330; } if (_global.alive) { if (!stab) { if (weapon == "pistols") { if (jump) { player.gotoAndStop("jumpPistol"); } if (shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("shootPistol"); } if (running) { player.gotoAndStop("shootWalkPistol"); } } } } if (!shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("idlePistol"); } if (running) { player.gotoAndStop("runPistol"); } } } } } if (weapon == "default") { if (jump) { player.gotoAndStop("jump"); } if (shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("shoot"); } if (running) { player.gotoAndStop("shootWalk"); } } } } if (!shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("idle"); } if (running) { player.gotoAndStop("run"); } } } } } if (weapon == "shotGun") { if (jump) { player.gotoAndStop("jumpshotGun"); } if (shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("shootshotGun"); } if (running) { player.gotoAndStop("shootWalkshotGun"); } } } } if (!shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("idleshotGun"); } if (running) { player.gotoAndStop("runshotGun"); } } } } } if (weapon == "flame") { if (jump) { player.gotoAndStop("jumpflame"); } if (shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("shootflame"); } if (running) { player.gotoAndStop("shootWalkflame"); } } } } if (!shooting) { if (!jump) { if (!special) { if (!running) { player.gotoAndStop("idleflame"); } if (running) { player.gotoAndStop("runflame"); } } } } } } } if (!_global.alive) { player.gotoAndStop("dead"); } if (Key.isDown(83)) { if (canAttack) { if (_global.alive) { if (!shooting) { if (!jump) { stab = true; } } } } } if (stab) { playerSpeed = 0; stabTimer++; player.gotoAndStop("melee"); if (stabTimer == 14) { playerSpeed = 7; stabTimer = 0; stab = false; } } if (Key.isDown(68)) { if (_global.alive) { if (!sliding) { if (!stab) { if (onfloor) { shooting = false; groundMarker = player._y; jump = true; onfloor = false; _root.attachMovie("shadow_mc", "shadow_mc", _root.getNextHighestDepth(), {_y:player._y, _x:player._x}); yspeed = yspeed - jumpamount; } } } } } if (!Key.isDown(38)) { running = false; } if (!Key.isDown(40)) { running = false; } if (!Key.isDown(39)) { running = false; } if (!Key.isDown(37)) { running = false; } if (_global.alive && (inControl)) { if (Key.isDown(39)) { player._xscale = 65; player._x = player._x + playerSpeed; running = true; } if (Key.isDown(37)) { player._xscale = -65; player._x = player._x - playerSpeed; running = true; } if (Key.isDown(38)) { player._y = player._y - playerSpeed; running = true; } if (Key.isDown(40)) { player._y = player._y + playerSpeed; running = true; } } if (jump) { player._y = player._y + yspeed; if (player._y > groundMarker) { shadow_mc.removeMovieClip(); onfloor = true; jump = false; yspeed = 0; player._y = groundMarker; } else { yspeed = yspeed + (gravity * 2); } } } function countFrames() { _root.frameCount = 0; } stop(); blu_sound = new Sound(); blu_sound.attachSound("blu"); hover_sound = new Sound(); hover_sound.attachSound("other"); shotgun_sound = new Sound(); shotgun_sound.attachSound("shotBoom"); machinegun_sound = new Sound(); machinegun_sound.attachSound("mg"); hurt_sound = new Sound(); hurt_sound.attachSound("hurt"); flame_sound = new Sound(); flame_sound.attachSound("flamwthrowa"); cam._xscale = 100; cam._yscale = 100; if (playerSelect == 0) { _root.attachMovie("player", "player", _root.getNextHighestDepth(), {_x:150, _y:450}); } if (playerSelect == 1) { _root.attachMovie("playerWhite", "player", _root.getNextHighestDepth(), {_x:150, _y:450}); } if (playerSelect == 2) { _root.attachMovie("playerBlack", "player", _root.getNextHighestDepth(), {_x:150, _y:450}); } _root.attachMovie("shootygun", "shootygun", _root.getNextHighestDepth(), {_x:1500, _y:450}); _root.attachMovie("machineGunz", "machineGunz", _root.getNextHighestDepth(), {_x:2700, _y:350}); _root.attachMovie("flameGun", "flameGun", _root.getNextHighestDepth(), {_x:4000, _y:330}); player._yscale = 65; player._xscale = 65; runTrans = false; moveOn = false; bigGuy = 1; toGo = 0; inControl = true; canAttack = true; addComplete = 0; stageDone = false; stab = false; _global.quit = false; _global.alive = true; notOverHeated = true; overHeat = 0; dropSpeed = 1; gaySound = 0; enemyPower = 0.5; stabTimer = 0; dashSpeed = 10; enemyNumber = 1; randomNumber = 0; jump = false; enemySpeed = 30; jumpamount = 25; gravity = 2; pullingCam = true; yspeed = 0; onfloor = true; pressHack = 0; lock = 0; _global.forceDrop = false; sliding = false; slidingTimer = 0; special = false; specialTimer = 0; clicks = 0; shooting = false; hit2 = false; hit3 = false; running = false; attacking = false; playerSpeed = 7; is_attacking = 0; smack = 0; hitPlayer = 0; pick = Math.round(Math.random() * 3) + 0; hitTimer = 0; shotTimer = 0; reloadTime = 100; enemyShotTimer = 0; groundMarker = player._y; var bullets = new Array(); var bulletType = new Array(); var egroundMarker = new Array(); var egravity = new Array(); var potionType = new Array(); var potions = new Array(); var boxHealth = new Array(); var boxHit = new Array(); var boxHitTimer = new Array(); var boxes = new Array(); var edropping = new Array(); var eonfloor = new Array(); var ejump = new Array(); var ejumpamount = new Array(); var eyspeed = new Array(); var shot = new Array(); var portTimer = new Array(); var beingSmacked = new Array(); var dead_body = new Array(); var type = new Array(); var hypArray = new Array(); var enemyHealth = new Array(); var damagedTimer = new Array(); var hit = new Array(); var enemyAttackingTimer = new Array(); var enemyAttacking = new Array(); var enemy = new Array(); var blocks = new Array(); var moveAbout = new Array(); var where = new Array(); var onPlatform = new Array(); var pickAttack = new Array(); var port = new Array(); var falling = new Array(); var down = new Array(); var downTimer = new Array(); var depths = new Array(); var died = new Array(); randomNumber++; enemy_mc = _root.attachMovie("cop", "enemy" + randomNumber, _root.getNextHighestDepth(), {_x:700, _y:450}); depths.push(player, shootygun, enemy_mc); enemy.push(enemy_mc); egroundMarker.push(enemy_mc._y); died.push(0); falling.push(false); egravity.push(2); down.push(false); downTimer.push(0); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(20); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push(1); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(110); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); player.onEnterFrame = function () { if (moveOn) { stabTimer = 0; stab = false; energy = 0; canAttack = false; inControl = false; player._xscale = 65; playerSpeed = 18; player._x = player._x + playerSpeed; running = true; } if (bigGuy == 0) { removeEverything(); nextFrame(); } if (runTrans) { toGo++; } if (enemyNumber == 0) { if (addComplete == 0) { cam.trans.gotoAndStop("black"); runTrans = true; canAttack = false; inControl = false; playerSpeed = 0; addComplete = 1; } stageDone = true; cam.goSign._alpha = 0; } if (_global.playerHealth < 0) { lives--; livesNumber--; _root.attachMovie("splatter", "splatter", _root.getNextHighestDepth()); splatter._x = cam._x; splatter._y = cam._y; shooting = false; _global.alive = false; _global.playerHealth = 0; } cam.bar._xscale = _global.playerHealth; if (!notOverHeated) { overHeat = overHeat - dropSpeed; shooting = false; } if (!shooting) { if (notOverHeated) { overHeat = overHeat - dropSpeed; dropSpeed = 1; } } if (overHeat < 0) { myColor = new Color(cam.heatBar); myColorTransform = new Object(); myColorTransform = {rb:0, gb:0, bb:0}; cam.weaponoverheat._alpha = 0; myColor.setTransform(myColorTransform); overHeat = 0; notOverHeated = true; } if (_global.alive) { italy._y = cam._y - 1000; } if ((!_global.alive) && (lives < 0)) { italy._y = cam._y; } italy._x = cam._x; if (_global.alive) { cont._y = cam._y - 1000; } if ((!_global.alive) && (lives > -1)) { cont._y = cam._y; } if ((bigGuy == 0) && (enemyNumber == 0)) { moveOn = true; } cont._x = cam._x; cam.heatBar._yscale = overHeat; shadow_mc._x = player._x; cam._y = _root.player._y - 150; theStage(); cam.camControl(); playerMovement(); calculateHyp(); enemyMovement(); cont.swapDepths(_root.getNextHighestDepth()); italy.swapDepths(_root.getNextHighestDepth()); depthActions(); noOverLap(); if (livesNumber < 0) { livesNumber = 0; } cam.livesNum.text = livesNumber; if (_global.quit) { stopAllSounds(); removeEverything(); _root.gotoAndStop("title"); } }; frameRateCounter = setInterval(countFrames, 1000);
Frame 17
stopAllSounds(); _root.gotoAndStop("title");
Symbol 2 Button
on (release) { getURL ("http://www.bandias.com/?a=mod_other_promo&f=thug", "_blank"); }
Symbol 10 Button
on (release) { _root.nextFrame(); }
Instance of Symbol 13 MovieClip in Symbol 14 MovieClip Frame 50
on (release) { _root.nextFrame(); }
Symbol 14 MovieClip Frame 70
stop();
Symbol 183 MovieClip Frame 11
stop();
Symbol 184 MovieClip [player] Frame 1
stop();
Symbol 184 MovieClip [player] Frame 2
stop();
Symbol 184 MovieClip [player] Frame 3
stop();
Symbol 184 MovieClip [player] Frame 4
stop();
Symbol 184 MovieClip [player] Frame 5
stop();
Symbol 184 MovieClip [player] Frame 6
stop();
Symbol 184 MovieClip [player] Frame 7
stop();
Symbol 184 MovieClip [player] Frame 8
stop();
Symbol 184 MovieClip [player] Frame 9
stop();
Symbol 184 MovieClip [player] Frame 10
stop();
Symbol 184 MovieClip [player] Frame 11
stop();
Symbol 184 MovieClip [player] Frame 12
stop();
Symbol 184 MovieClip [player] Frame 13
stop();
Symbol 184 MovieClip [player] Frame 14
stop();
Symbol 184 MovieClip [player] Frame 15
stop();
Symbol 184 MovieClip [player] Frame 16
stop();
Symbol 184 MovieClip [player] Frame 17
stop();
Symbol 184 MovieClip [player] Frame 18
stop();
Symbol 184 MovieClip [player] Frame 19
stop();
Symbol 184 MovieClip [player] Frame 20
stop();
Symbol 184 MovieClip [player] Frame 21
stop();
Symbol 184 MovieClip [player] Frame 22
stop();
Symbol 225 MovieClip Frame 30
stop();
Symbol 226 MovieClip [enemy] Frame 1
stop();
Symbol 226 MovieClip [enemy] Frame 2
stop();
Symbol 226 MovieClip [enemy] Frame 3
stop();
Symbol 226 MovieClip [enemy] Frame 4
stop();
Symbol 226 MovieClip [enemy] Frame 5
stop();
Symbol 226 MovieClip [enemy] Frame 6
stop();
Symbol 226 MovieClip [enemy] Frame 7
stop();
Symbol 226 MovieClip [enemy] Frame 8
stop();
Symbol 256 MovieClip Frame 30
stop();
Symbol 257 MovieClip [enemy2] Frame 1
stop();
Symbol 257 MovieClip [enemy2] Frame 2
stop();
Symbol 257 MovieClip [enemy2] Frame 3
stop();
Symbol 257 MovieClip [enemy2] Frame 4
stop();
Symbol 257 MovieClip [enemy2] Frame 5
stop();
Symbol 257 MovieClip [enemy2] Frame 6
stop();
Symbol 257 MovieClip [enemy2] Frame 7
stop();
Symbol 257 MovieClip [enemy2] Frame 8
stop();
Symbol 279 MovieClip Frame 30
stop();
Symbol 280 MovieClip [enemy3] Frame 1
stop();
Symbol 280 MovieClip [enemy3] Frame 2
stop();
Symbol 280 MovieClip [enemy3] Frame 3
stop();
Symbol 280 MovieClip [enemy3] Frame 4
stop();
Symbol 280 MovieClip [enemy3] Frame 5
stop();
Symbol 280 MovieClip [enemy3] Frame 6
stop();
Symbol 280 MovieClip [enemy3] Frame 7
stop();
Symbol 280 MovieClip [enemy3] Frame 8
stop();
Symbol 301 MovieClip Frame 30
stop();
Symbol 302 MovieClip [enemy4] Frame 1
stop();
Symbol 302 MovieClip [enemy4] Frame 2
stop();
Symbol 302 MovieClip [enemy4] Frame 3
stop();
Symbol 302 MovieClip [enemy4] Frame 4
stop();
Symbol 302 MovieClip [enemy4] Frame 5
stop();
Symbol 302 MovieClip [enemy4] Frame 6
stop();
Symbol 302 MovieClip [enemy4] Frame 7
stop();
Symbol 302 MovieClip [enemy4] Frame 8
stop();
Symbol 304 MovieClip [blood] Frame 11
this.removeMovieClip();
Symbol 339 MovieClip Frame 30
stop();
Symbol 340 MovieClip [midlvlboss] Frame 1
stop();
Symbol 340 MovieClip [midlvlboss] Frame 2
stop();
Symbol 340 MovieClip [midlvlboss] Frame 3
stop();
Symbol 340 MovieClip [midlvlboss] Frame 4
stop();
Symbol 340 MovieClip [midlvlboss] Frame 5
stop();
Symbol 340 MovieClip [midlvlboss] Frame 6
stop();
Symbol 340 MovieClip [midlvlboss] Frame 7
stop();
Symbol 340 MovieClip [midlvlboss] Frame 8
stop();
Symbol 454 MovieClip [playerWhite] Frame 1
stop();
Symbol 454 MovieClip [playerWhite] Frame 2
stop();
Symbol 454 MovieClip [playerWhite] Frame 3
stop();
Symbol 454 MovieClip [playerWhite] Frame 4
stop();
Symbol 454 MovieClip [playerWhite] Frame 5
stop();
Symbol 454 MovieClip [playerWhite] Frame 6
stop();
Symbol 454 MovieClip [playerWhite] Frame 7
stop();
Symbol 454 MovieClip [playerWhite] Frame 8
stop();
Symbol 454 MovieClip [playerWhite] Frame 9
stop();
Symbol 454 MovieClip [playerWhite] Frame 10
stop();
Symbol 454 MovieClip [playerWhite] Frame 11
stop();
Symbol 454 MovieClip [playerWhite] Frame 12
stop();
Symbol 454 MovieClip [playerWhite] Frame 13
stop();
Symbol 454 MovieClip [playerWhite] Frame 14
stop();
Symbol 454 MovieClip [playerWhite] Frame 15
stop();
Symbol 454 MovieClip [playerWhite] Frame 16
stop();
Symbol 454 MovieClip [playerWhite] Frame 17
stop();
Symbol 454 MovieClip [playerWhite] Frame 18
stop();
Symbol 454 MovieClip [playerWhite] Frame 19
stop();
Symbol 454 MovieClip [playerWhite] Frame 20
stop();
Symbol 454 MovieClip [playerWhite] Frame 21
stop();
Symbol 454 MovieClip [playerWhite] Frame 22
stop();
Symbol 559 MovieClip [playerBlack] Frame 1
stop();
Symbol 559 MovieClip [playerBlack] Frame 2
stop();
Symbol 559 MovieClip [playerBlack] Frame 3
stop();
Symbol 559 MovieClip [playerBlack] Frame 4
stop();
Symbol 559 MovieClip [playerBlack] Frame 5
stop();
Symbol 559 MovieClip [playerBlack] Frame 6
stop();
Symbol 559 MovieClip [playerBlack] Frame 7
stop();
Symbol 559 MovieClip [playerBlack] Frame 8
stop();
Symbol 559 MovieClip [playerBlack] Frame 9
stop();
Symbol 559 MovieClip [playerBlack] Frame 10
stop();
Symbol 559 MovieClip [playerBlack] Frame 11
stop();
Symbol 559 MovieClip [playerBlack] Frame 12
stop();
Symbol 559 MovieClip [playerBlack] Frame 13
stop();
Symbol 559 MovieClip [playerBlack] Frame 14
stop();
Symbol 559 MovieClip [playerBlack] Frame 15
stop();
Symbol 559 MovieClip [playerBlack] Frame 16
stop();
Symbol 559 MovieClip [playerBlack] Frame 17
stop();
Symbol 559 MovieClip [playerBlack] Frame 18
stop();
Symbol 559 MovieClip [playerBlack] Frame 19
stop();
Symbol 559 MovieClip [playerBlack] Frame 20
stop();
Symbol 559 MovieClip [playerBlack] Frame 21
stop();
Symbol 559 MovieClip [playerBlack] Frame 22
stop();
Symbol 561 MovieClip [flash] Frame 8
this.removeMovieClip();
Symbol 593 MovieClip Frame 30
stop();
Symbol 594 MovieClip [withGun] Frame 1
stop();
Symbol 594 MovieClip [withGun] Frame 2
stop();
Symbol 594 MovieClip [withGun] Frame 3
stop();
Symbol 594 MovieClip [withGun] Frame 4
stop();
Symbol 594 MovieClip [withGun] Frame 5
stop();
Symbol 594 MovieClip [withGun] Frame 6
stop();
Symbol 594 MovieClip [withGun] Frame 7
stop();
Symbol 594 MovieClip [withGun] Frame 8
stop();
Symbol 618 MovieClip Frame 63
stop();
Symbol 627 MovieClip Frame 7
stop();
Symbol 633 MovieClip Frame 5
stop();
Symbol 649 MovieClip Frame 15
stop();
Symbol 653 MovieClip [splatter] Frame 81
this.removeMovieClip();
Symbol 682 MovieClip [cop] Frame 1
stop();
Symbol 682 MovieClip [cop] Frame 2
stop();
Symbol 682 MovieClip [cop] Frame 3
stop();
Symbol 682 MovieClip [cop] Frame 4
stop();
Symbol 682 MovieClip [cop] Frame 5
stop();
Symbol 682 MovieClip [cop] Frame 6
stop();
Symbol 682 MovieClip [cop] Frame 7
stop();
Symbol 692 MovieClip Frame 5
stop();
Symbol 697 MovieClip Frame 10
stop();
Symbol 700 MovieClip Frame 5
stop();
Symbol 709 MovieClip Frame 30
stop();
Symbol 710 MovieClip Frame 1
_root.stop();
Symbol 710 MovieClip Frame 175
_root.play(); stopAllSounds();
Symbol 713 MovieClip Frame 1
stop();
Symbol 713 MovieClip Frame 2
stop();
Symbol 716 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 724 MovieClip Frame 1
stop();
Symbol 724 MovieClip Frame 2
stop();
Symbol 727 MovieClip Frame 1
stop();
Symbol 727 MovieClip Frame 2
stop();
Symbol 730 MovieClip Frame 1
stop();
Symbol 730 MovieClip Frame 2
stop();
Symbol 782 MovieClip Frame 1
_root.stop();
Symbol 782 MovieClip Frame 410
_root.play();
Symbol 814 MovieClip Frame 12
stop();
Symbol 818 Button
on (release) { gotoAndPlay (2); _root.soundstatus = "off"; }
Symbol 819 MovieClip Frame 11
stop();
Symbol 821 Button
on (release) { gotoAndPlay (1); _root.soundstatus = "on"; }
Symbol 822 MovieClip Frame 1
stop();
Symbol 822 MovieClip Frame 2
stop();
Instance of Symbol 826 MovieClip in Symbol 827 MovieClip [sound_contr] 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 828 MovieClip Frame 101
stop();
Symbol 829 MovieClip Frame 1
stop();
Symbol 829 MovieClip Frame 2
stop();
Symbol 830 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 834 MovieClip Frame 1
_root.frameCount++;
Symbol 834 MovieClip Frame 2
gotoAndPlay (1);
Symbol 840 MovieClip Frame 1
stop();
Symbol 840 MovieClip Frame 2
stop();
Symbol 843 MovieClip Frame 1
stop();
Symbol 843 MovieClip Frame 2
stop();
Instance of Symbol 840 MovieClip "yes" in Symbol 844 MovieClip Frame 1
on (rollOver) { this.gotoAndStop("over"); } on (rollOut) { this.gotoAndStop("up"); } on (release) { _global.playerHealth = 100; _global.alive = true; _global.forceDrop = true; }
Instance of Symbol 843 MovieClip "no" in Symbol 844 MovieClip Frame 1
on (rollOver) { this.gotoAndStop("over"); } on (rollOut) { this.gotoAndStop("up"); } on (release) { _global.quit = true; }
Instance of Symbol 49 MovieClip in Symbol 844 MovieClip Frame 1
on (release) { getURL ("http://www.bandias.com/?a=mod_other_promo&f=thug", "_blank"); }
Symbol 847 MovieClip Frame 1
stop();
Symbol 847 MovieClip Frame 2
stop();
Instance of Symbol 847 MovieClip in Symbol 850 MovieClip Frame 1
on (rollOver) { this.gotoAndStop("over"); } on (rollOut) { this.gotoAndStop("up"); } on (release) { _global.quit = true; }
Instance of Symbol 49 MovieClip in Symbol 850 MovieClip Frame 1
on (release) { getURL ("http://www.bandias.com/?a=mod_other_promo&f=thug", "_blank"); }
Symbol 867 MovieClip Frame 1
_root.stop();
Symbol 867 MovieClip Frame 193
_root.play();
Symbol 899 MovieClip Frame 33
stop();
Symbol 919 MovieClip Frame 1
_root.stop();
Symbol 919 MovieClip Frame 415
_root.play();

Library Items

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

Instance Names

"loadBar"Frame 2Symbol 51 MovieClip
"logo"Frame 5Symbol 710 MovieClip
"screen"Frame 6Symbol 713 MovieClip
"cam"Frame 6Symbol 716 MovieClip
"two"Frame 7Symbol 724 MovieClip
"one"Frame 7Symbol 727 MovieClip
"three"Frame 7Symbol 730 MovieClip
"bg_mc"Frame 10Symbol 783 MovieClip
"cam"Frame 10Symbol 830 MovieClip
"callcam"Frame 10Symbol 832 MovieClip
"cont"Frame 10Symbol 844 MovieClip
"italy"Frame 10Symbol 850 MovieClip
"cam"Frame 11Symbol 716 MovieClip
"bg_mc"Frame 13Symbol 871 MovieClip
"cam"Frame 13Symbol 830 MovieClip
"callcam"Frame 13Symbol 832 MovieClip
"cont"Frame 13Symbol 844 MovieClip
"italy"Frame 13Symbol 850 MovieClip
"bg_mc"Frame 15Symbol 875 MovieClip
"callcam"Frame 15Symbol 832 MovieClip
"cont"Frame 15Symbol 844 MovieClip
"italy"Frame 15Symbol 850 MovieClip
"cam"Frame 15Symbol 830 MovieClip
"cam"Frame 16Symbol 716 MovieClip
"button_bandias"Symbol 14 MovieClip Frame 1Symbol 2 Button
"stary"Symbol 14 MovieClip Frame 14Symbol 8 MovieClip
"stary"Symbol 14 MovieClip Frame 17Symbol 8 MovieClip
"stary"Symbol 14 MovieClip Frame 22Symbol 8 MovieClip
"play_button"Symbol 14 MovieClip Frame 50Symbol 10 Button
"hit"Symbol 184 MovieClip [player] Frame 1Symbol 65 MovieClip
"enemyHitMarker"Symbol 226 MovieClip [enemy] Frame 1Symbol 206 MovieClip
"marker"Symbol 226 MovieClip [enemy] Frame 3Symbol 219 MovieClip
"enemyHitMarker"Symbol 257 MovieClip [enemy2] Frame 1Symbol 238 MovieClip
"marker"Symbol 257 MovieClip [enemy2] Frame 3Symbol 219 MovieClip
"enemyHitMarker"Symbol 280 MovieClip [enemy3] Frame 1Symbol 238 MovieClip
"marker"Symbol 280 MovieClip [enemy3] Frame 3Symbol 219 MovieClip
"enemyHitMarker"Symbol 302 MovieClip [enemy4] Frame 1Symbol 238 MovieClip
"marker"Symbol 302 MovieClip [enemy4] Frame 3Symbol 219 MovieClip
"enemyHitMarker"Symbol 340 MovieClip [midlvlboss] Frame 1Symbol 325 MovieClip
"hit"Symbol 454 MovieClip [playerWhite] Frame 1Symbol 356 MovieClip
"hit"Symbol 559 MovieClip [playerBlack] Frame 1Symbol 469 MovieClip
"enemyHitMarker"Symbol 594 MovieClip [withGun] Frame 1Symbol 573 MovieClip
"enemyHitMarker"Symbol 682 MovieClip [cop] Frame 1Symbol 669 MovieClip
"lens"Symbol 716 MovieClip Frame 1Symbol 715 MovieClip
"lens"Symbol 830 MovieClip Frame 1Symbol 715 MovieClip
"bar"Symbol 830 MovieClip Frame 1Symbol 791 MovieClip
"livesNum"Symbol 830 MovieClip Frame 1Symbol 793 EditableText
"left"Symbol 830 MovieClip Frame 1Symbol 794 MovieClip
"right"Symbol 830 MovieClip Frame 1Symbol 795 MovieClip
"heatBar"Symbol 830 MovieClip Frame 1Symbol 798 MovieClip
"goSign"Symbol 830 MovieClip Frame 1Symbol 805 MovieClip
"weaponoverheat"Symbol 830 MovieClip Frame 1Symbol 807 MovieClip
"soundControl"Symbol 830 MovieClip Frame 1Symbol 827 MovieClip [sound_contr]
"trans"Symbol 830 MovieClip Frame 1Symbol 829 MovieClip
"yes"Symbol 844 MovieClip Frame 1Symbol 840 MovieClip
"no"Symbol 844 MovieClip Frame 1Symbol 843 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 4Symbol 184 as "player"
ExportAssets (56)Timeline Frame 4Symbol 185 as "shadow_mc"
ExportAssets (56)Timeline Frame 4Symbol 187 as "bullet"
ExportAssets (56)Timeline Frame 4Symbol 198 as "flameBullet"
ExportAssets (56)Timeline Frame 4Symbol 226 as "enemy"
ExportAssets (56)Timeline Frame 4Symbol 257 as "enemy2"
ExportAssets (56)Timeline Frame 4Symbol 280 as "enemy3"
ExportAssets (56)Timeline Frame 4Symbol 302 as "enemy4"
ExportAssets (56)Timeline Frame 4Symbol 304 as "blood"
ExportAssets (56)Timeline Frame 4Symbol 311 as "flameGun"
ExportAssets (56)Timeline Frame 4Symbol 340 as "midlvlboss"
ExportAssets (56)Timeline Frame 4Symbol 454 as "playerWhite"
ExportAssets (56)Timeline Frame 4Symbol 559 as "playerBlack"
ExportAssets (56)Timeline Frame 4Symbol 561 as "flash"
ExportAssets (56)Timeline Frame 4Symbol 564 as "shootygun"
ExportAssets (56)Timeline Frame 4Symbol 594 as "withGun"
ExportAssets (56)Timeline Frame 4Symbol 597 as "machineGunz"
ExportAssets (56)Timeline Frame 4Symbol 653 as "splatter"
ExportAssets (56)Timeline Frame 4Symbol 682 as "cop"
ExportAssets (56)Timeline Frame 4Symbol 683 as "hurt"
ExportAssets (56)Timeline Frame 4Symbol 684 as "flamwthrowa"
ExportAssets (56)Timeline Frame 4Symbol 685 as "shotBoom"
ExportAssets (56)Timeline Frame 4Symbol 686 as "mg"
ExportAssets (56)Timeline Frame 4Symbol 687 as "blu"
ExportAssets (56)Timeline Frame 4Symbol 688 as "other"
ExportAssets (56)Timeline Frame 4Symbol 689 as "css"
ExportAssets (56)Timeline Frame 10Symbol 827 as "sound_contr"

Labels

"title"Frame 6
"idleflame"Symbol 184 MovieClip [player] Frame 1
"runflame"Symbol 184 MovieClip [player] Frame 2
"jumpflame"Symbol 184 MovieClip [player] Frame 3
"shootflame"Symbol 184 MovieClip [player] Frame 4
"shootWalkflame"Symbol 184 MovieClip [player] Frame 5
"idle"Symbol 184 MovieClip [player] Frame 6
"run"Symbol 184 MovieClip [player] Frame 7
"jump"Symbol 184 MovieClip [player] Frame 8
"shootWalk"Symbol 184 MovieClip [player] Frame 9
"shoot"Symbol 184 MovieClip [player] Frame 10
"idleshotGun"Symbol 184 MovieClip [player] Frame 11
"runshotGun"Symbol 184 MovieClip [player] Frame 12
"jumpshotGun"Symbol 184 MovieClip [player] Frame 13
"shootshotGun"Symbol 184 MovieClip [player] Frame 14
"shootWalkshotGun"Symbol 184 MovieClip [player] Frame 15
"idlePistol"Symbol 184 MovieClip [player] Frame 16
"runPistol"Symbol 184 MovieClip [player] Frame 17
"jumpPistol"Symbol 184 MovieClip [player] Frame 18
"shootPistol"Symbol 184 MovieClip [player] Frame 19
"shootWalkPistol"Symbol 184 MovieClip [player] Frame 20
"melee"Symbol 184 MovieClip [player] Frame 21
"dead"Symbol 184 MovieClip [player] Frame 22
"idle"Symbol 226 MovieClip [enemy] Frame 1
"run"Symbol 226 MovieClip [enemy] Frame 2
"attack"Symbol 226 MovieClip [enemy] Frame 3
"hit"Symbol 226 MovieClip [enemy] Frame 4
"down"Symbol 226 MovieClip [enemy] Frame 5
"ahit"Symbol 226 MovieClip [enemy] Frame 6
"fall"Symbol 226 MovieClip [enemy] Frame 7
"dead"Symbol 226 MovieClip [enemy] Frame 8
"idle"Symbol 257 MovieClip [enemy2] Frame 1
"run"Symbol 257 MovieClip [enemy2] Frame 2
"attack"Symbol 257 MovieClip [enemy2] Frame 3
"hit"Symbol 257 MovieClip [enemy2] Frame 4
"down"Symbol 257 MovieClip [enemy2] Frame 5
"ahit"Symbol 257 MovieClip [enemy2] Frame 6
"fall"Symbol 257 MovieClip [enemy2] Frame 7
"dead"Symbol 257 MovieClip [enemy2] Frame 8
"idle"Symbol 280 MovieClip [enemy3] Frame 1
"run"Symbol 280 MovieClip [enemy3] Frame 2
"attack"Symbol 280 MovieClip [enemy3] Frame 3
"hit"Symbol 280 MovieClip [enemy3] Frame 4
"down"Symbol 280 MovieClip [enemy3] Frame 5
"ahit"Symbol 280 MovieClip [enemy3] Frame 6
"fall"Symbol 280 MovieClip [enemy3] Frame 7
"dead"Symbol 280 MovieClip [enemy3] Frame 8
"idle"Symbol 302 MovieClip [enemy4] Frame 1
"run"Symbol 302 MovieClip [enemy4] Frame 2
"attack"Symbol 302 MovieClip [enemy4] Frame 3
"hit"Symbol 302 MovieClip [enemy4] Frame 4
"down"Symbol 302 MovieClip [enemy4] Frame 5
"ahit"Symbol 302 MovieClip [enemy4] Frame 6
"fall"Symbol 302 MovieClip [enemy4] Frame 7
"dead"Symbol 302 MovieClip [enemy4] Frame 8
"idle"Symbol 340 MovieClip [midlvlboss] Frame 1
"run"Symbol 340 MovieClip [midlvlboss] Frame 2
"attack"Symbol 340 MovieClip [midlvlboss] Frame 3
"hit"Symbol 340 MovieClip [midlvlboss] Frame 4
"down"Symbol 340 MovieClip [midlvlboss] Frame 5
"ahit"Symbol 340 MovieClip [midlvlboss] Frame 6
"fall"Symbol 340 MovieClip [midlvlboss] Frame 7
"dead"Symbol 340 MovieClip [midlvlboss] Frame 8
"idleflame"Symbol 454 MovieClip [playerWhite] Frame 1
"runflame"Symbol 454 MovieClip [playerWhite] Frame 2
"jumpflame"Symbol 454 MovieClip [playerWhite] Frame 3
"shootflame"Symbol 454 MovieClip [playerWhite] Frame 4
"shootWalkflame"Symbol 454 MovieClip [playerWhite] Frame 5
"idle"Symbol 454 MovieClip [playerWhite] Frame 6
"run"Symbol 454 MovieClip [playerWhite] Frame 7
"jump"Symbol 454 MovieClip [playerWhite] Frame 8
"shootWalk"Symbol 454 MovieClip [playerWhite] Frame 9
"shoot"Symbol 454 MovieClip [playerWhite] Frame 10
"idleshotGun"Symbol 454 MovieClip [playerWhite] Frame 11
"runshotGun"Symbol 454 MovieClip [playerWhite] Frame 12
"jumpshotGun"Symbol 454 MovieClip [playerWhite] Frame 13
"shootshotGun"Symbol 454 MovieClip [playerWhite] Frame 14
"shootWalkshotGun"Symbol 454 MovieClip [playerWhite] Frame 15
"idlePistol"Symbol 454 MovieClip [playerWhite] Frame 16
"runPistol"Symbol 454 MovieClip [playerWhite] Frame 17
"jumpPistol"Symbol 454 MovieClip [playerWhite] Frame 18
"shootPistol"Symbol 454 MovieClip [playerWhite] Frame 19
"shootWalkPistol"Symbol 454 MovieClip [playerWhite] Frame 20
"melee"Symbol 454 MovieClip [playerWhite] Frame 21
"dead"Symbol 454 MovieClip [playerWhite] Frame 22
"idleflame"Symbol 559 MovieClip [playerBlack] Frame 1
"runflame"Symbol 559 MovieClip [playerBlack] Frame 2
"jumpflame"Symbol 559 MovieClip [playerBlack] Frame 3
"shootflame"Symbol 559 MovieClip [playerBlack] Frame 4
"shootWalkflame"Symbol 559 MovieClip [playerBlack] Frame 5
"idle"Symbol 559 MovieClip [playerBlack] Frame 6
"run"Symbol 559 MovieClip [playerBlack] Frame 7
"jump"Symbol 559 MovieClip [playerBlack] Frame 8
"shootWalk"Symbol 559 MovieClip [playerBlack] Frame 9
"shoot"Symbol 559 MovieClip [playerBlack] Frame 10
"idleshotGun"Symbol 559 MovieClip [playerBlack] Frame 11
"runshotGun"Symbol 559 MovieClip [playerBlack] Frame 12
"jumpshotGun"Symbol 559 MovieClip [playerBlack] Frame 13
"shootshotGun"Symbol 559 MovieClip [playerBlack] Frame 14
"shootWalkshotGun"Symbol 559 MovieClip [playerBlack] Frame 15
"idlePistol"Symbol 559 MovieClip [playerBlack] Frame 16
"runPistol"Symbol 559 MovieClip [playerBlack] Frame 17
"jumpPistol"Symbol 559 MovieClip [playerBlack] Frame 18
"shootPistol"Symbol 559 MovieClip [playerBlack] Frame 19
"shootWalkPistol"Symbol 559 MovieClip [playerBlack] Frame 20
"melee"Symbol 559 MovieClip [playerBlack] Frame 21
"dead"Symbol 559 MovieClip [playerBlack] Frame 22
"idle"Symbol 594 MovieClip [withGun] Frame 1
"run"Symbol 594 MovieClip [withGun] Frame 2
"attack"Symbol 594 MovieClip [withGun] Frame 3
"hit"Symbol 594 MovieClip [withGun] Frame 4
"down"Symbol 594 MovieClip [withGun] Frame 5
"ahit"Symbol 594 MovieClip [withGun] Frame 6
"fall"Symbol 594 MovieClip [withGun] Frame 7
"dead"Symbol 594 MovieClip [withGun] Frame 8
"idle"Symbol 682 MovieClip [cop] Frame 1
"run"Symbol 682 MovieClip [cop] Frame 2
"attack"Symbol 682 MovieClip [cop] Frame 3
"hit"Symbol 682 MovieClip [cop] Frame 4
"down"Symbol 682 MovieClip [cop] Frame 5
"ahit"Symbol 682 MovieClip [cop] Frame 6
"fall"Symbol 682 MovieClip [cop] Frame 7
"up"Symbol 713 MovieClip Frame 1
"over"Symbol 713 MovieClip Frame 2
"up"Symbol 724 MovieClip Frame 1
"over"Symbol 724 MovieClip Frame 2
"up"Symbol 727 MovieClip Frame 1
"over"Symbol 727 MovieClip Frame 2
"up"Symbol 730 MovieClip Frame 1
"over"Symbol 730 MovieClip Frame 2
"black"Symbol 829 MovieClip Frame 2
"up"Symbol 840 MovieClip Frame 1
"over"Symbol 840 MovieClip Frame 2
"up"Symbol 843 MovieClip Frame 1
"over"Symbol 843 MovieClip Frame 2
"up"Symbol 847 MovieClip Frame 1
"over"Symbol 847 MovieClip Frame 2




http://swfchan.com/26/125589/info.shtml
Created: 27/2 -2019 22:33:17 Last modified: 27/2 -2019 22:33:17 Server time: 14/11 -2024 06:42:47