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

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

Tribes.swf

This is the info page for
Flash #113718

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


Text
Loading....

Sound On

Sound Off

Control

combo

000

D

GAMES.CO.UK

developed by

MORE GAMES

MEER SPELLEN

PLUS DE JEUX

MEHR SPIELE

WIĘCEJ GIER

FLER SPEL

ALTRI GIOCHI

MÁS JUEGOS

MAIS JOGOS

ДРУГИЕ ИГРЫ

PERMAINAN LAINNYA

DAHA FAZLA OYUN

LABIH BANYAK PERMAINAN

ActionScript [AS1/AS2]

Frame 1
var myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); copyrightNotice.separatorBefore = true; myMenu.customItems.push(mySiteLink, copyrightNotice); _root.menu = myMenu; stop(); gamename = "tribes"; domain_parts = _url.split("://"); real_domain = domain_parts[1].split("/"); hostingdomain = real_domain[0]; if (hostingdomain == "") { hostingdomain = "unknown"; } savedomain1 = "gamedev.dev.spilgames.com"; savedomain2 = "www8.agame.com"; if ((hostingdomain == savedomain1) || (hostingdomain == savedomain2)) { spilnetwerk = "internal"; } else { spilnetwerk = "external"; } _root.localization_url1 = (((("http://www.agame.com/?utm_medium=brandedgames_" + spilnetwerk) + "&utm_campaign=") + gamename) + "&utm_source=") + hostingdomain; _root.localization_language_nr = 1; _root.localization_branding_nr = 1; _root.localization_portal = "tweens"; if (_root.localization_portal == "game_com_cn") { this.mainscreen_moregames.onRelease = function () { getURL (_root.localization_url1, "_blank"); }; } else { this.mainscreen_moregames.onRelease = function () { getURL (_root.localization_url1 + "&utm_content=button_mainscreen_moregames", "_blank"); }; }
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(4); }
Frame 3
gotoAndPlay (2);
Frame 4
_root.attachMovie("blank", "blank", 10());
Frame 7
logo.onPress = function () { getURL ("http://www.xdgames.co.uk", "_blank"); }; sound_contr._alpha = 0; qualityControl._alpha = 0;
Frame 8
stopAllSounds(); play();
Frame 9
stop(); gamename = "tribes"; domain_parts = _url.split("://"); real_domain = domain_parts[1].split("/"); hostingdomain = real_domain[0]; if (hostingdomain == "") { hostingdomain = "unknown"; } savedomain1 = "gamedev.dev.spilgames.com"; savedomain2 = "www8.agame.com"; if ((hostingdomain == savedomain1) || (hostingdomain == savedomain2)) { spilnetwerk = "internal"; } else { spilnetwerk = "external"; } _root.localization_url1 = (((("http://www.agame.com/?utm_medium=brandedgames_" + spilnetwerk) + "&utm_campaign=") + gamename) + "&utm_source=") + hostingdomain; _root.localization_language_nr = 1; _root.localization_branding_nr = 1; _root.localization_portal = "tweens"; if (_root.localization_portal == "game_com_cn") { this.mainscreen_moregames.onRelease = function () { getURL (_root.localization_url1, "_blank"); }; } else { this.mainscreen_moregames.onRelease = function () { getURL (_root.localization_url1 + "&utm_content=button_mainscreen_moregames", "_blank"); }; } stop(); jonTimer = 0; jon.onEnterFrame = function () { jonTimer++; if (jonTimer > 45) { if (Key.isDown(65)) { nextFrame(); } } };
Frame 10
stop(); emmaTimer = 0; emma.onEnterFrame = function () { emmaTimer++; if (emmaTimer > 119) { if (Key.isDown(65)) { stopAllSounds(); nextFrame(); } } };
Frame 11
function walkOn() { inControl = false; if (player._x < 120) { player.gotoAndStop("run"); player._x = player._x + playerSpeed; } else { inControl = true; } } function removeall() { comboBox.removeMovieClip(); nearground.removeMovieClip(); sfg.removeMovieClip(); sfg2.removeMovieClip(); removeshot(); removeport(); removepickAttack(); removemoveAbout(); removeblocks(); removeDead_body(); removeType(); removeHypArray(); removeEnemyHealth(); removeDamagedTimer(); removeHit(); removeEnemyAttackingTimer(); removeEnemyAttacking(); removeEnemy(); removewhere(); removebeingSmacked(); removeonPlatform(); removeportTimer(); removeeyspeed(); removeejumpamount(); removeejump(); removeeonfloor(); removeedropping(); removepotions(); removeboxes(); removeboxHealth(); removeboxHit(); removeboxHitTimer(); removepotionType(); removeDepths(); removezombieSpots(); removezombieSpotsFade(); removeerase(); removealive(); removegroundMarker(); removehitPose(); removeeheld(); removethrownTimer(); removethrown(); } function removethrownTimer() { i = thrownTimer.length - 1; while (i >= 0) { thrownTimer[i].removeMovieClip(); thrownTimer.splice(i, 1); i--; } } function removethrown() { i = thrown.length - 1; while (i >= 0) { thrown[i].removeMovieClip(); thrown.splice(i, 1); i--; } } function removeeheld() { i = eheld.length - 1; while (i >= 0) { eheld[i].removeMovieClip(); eheld.splice(i, 1); i--; } } function removezombieSpots() { i = zombieSpots.length - 1; while (i >= 0) { zombieSpots[i].removeMovieClip(); zombieSpots.splice(i, 1); i--; } } function removezombieSpotsFade() { i = zombieSpotsFade.length - 1; while (i >= 0) { zombieSpotsFade[i].removeMovieClip(); zombieSpotsFade.splice(i, 1); i--; } } function removeerase() { i = erase.length - 1; while (i >= 0) { erase[i].removeMovieClip(); erase.splice(i, 1); i--; } } function removealive() { i = alive.length - 1; while (i >= 0) { alive[i].removeMovieClip(); alive.splice(i, 1); i--; } } function removegroundMarker() { i = groundMarker.length - 1; while (i >= 0) { groundMarker[i].removeMovieClip(); groundMarker.splice(i, 1); i--; } } function removehitPose() { i = hitPose.length - 1; while (i >= 0) { hitPose[i].removeMovieClip(); hitPose.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 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 removeeyspeed() { i = eyspeed.length - 1; while (i >= 0) { eyspeed[i].removeMovieClip(); eyspeed.splice(i, 1); i--; } } function removeejumpamount() { i = ejumpamount.length - 1; while (i >= 0) { ejumpamount[i].removeMovieClip(); ejumpamount.splice(i, 1); i--; } } function removeejump() { i = ejump.length - 1; while (i >= 0) { ejump[i].removeMovieClip(); ejump.splice(i, 1); i--; } } function removeeonfloor() { i = eonfloor.length - 1; while (i >= 0) { eonfloor[i].removeMovieClip(); eonfloor.splice(i, 1); i--; } } function removeedropping() { i = edropping.length - 1; while (i >= 0) { edropping[i].removeMovieClip(); edropping.splice(i, 1); i--; } } function removeportTimer() { i = portTimer.length - 1; while (i >= 0) { portTimer[i].removeMovieClip(); portTimer.splice(i, 1); i--; } } function removeshot() { i = shot.length - 1; while (i >= 0) { shot[i].removeMovieClip(); shot.splice(i, 1); i--; } } function removeport() { i = port.length - 1; while (i >= 0) { port[i].removeMovieClip(); port.splice(i, 1); i--; } } function removepickAttack() { i = pickAttack.length - 1; while (i >= 0) { pickAttack[i].removeMovieClip(); pickAttack.splice(i, 1); i--; } } function removeblocks() { i = blocks.length - 1; while (i >= 0) { blocks[i].removeMovieClip(); blocks.splice(i, 1); i--; } } function removebeingSmacked() { i = beingSmacked.length - 1; while (i >= 0) { beingSmacked[i].removeMovieClip(); beingSmacked.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 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 removeDepths() { i = depths.length - 1; while (i >= 0) { depths[i].removeMovieClip(); depths.splice(i, 1); i--; } } function shaker() { if (shake == 0) { _root._x = 0; _root._y = 0; } else if (shake == 1) { shake = shake + 1; _root._x = _root._x + 2; _root._y = _root._y + 2; } else if (shake == 2) { shake = shake + 1; _root._y = _root._y - 4; _root._x = _root._x - 4; } else if (shake == 3) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 4) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 5) { shake = shake + 1; _root._x = 4; _root._y = 4; } else if (shake == 6) { shake = shake + 1; _root._x = 2; _root._y = 2; } else if (shake == 7) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 8) { shake = shake + 1; _root._x = _root._x + 2; _root._y = _root._y + 2; } else if (shake == 9) { shake = shake + 1; _root._y = _root._y - 4; _root._x = _root._x - 4; } else if (shake == 10) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 11) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 12) { shake = shake + 1; _root._x = 4; _root._y = 4; } else if (shake == 13) { shake = shake + 1; _root._x = 2; _root._y = 2; } else if (shake == 14) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 15) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 16) { shake = shake + 1; _root._x = _root._x + 2; _root._y = _root._y + 2; } else if (shake == 17) { shake = shake + 1; _root._y = _root._y - 4; _root._x = _root._x - 4; } else if (shake == 18) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 19) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 20) { shake = shake + 1; _root._x = 4; _root._y = 4; } else if (shake == 21) { shake = shake + 1; _root._x = 2; _root._y = 2; } else if (shake == 22) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 23) { shake = shake + 1; _root._x = _root._x + 2; _root._y = _root._y + 2; } else if (shake == 24) { shake = shake + 1; _root._y = _root._y - 4; _root._x = _root._x - 4; } else if (shake == 25) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 26) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 27) { shake = shake + 1; _root._x = 4; _root._y = 4; } else if (shake == 28) { shake = shake + 1; _root._x = 2; _root._y = 2; } else if (shake == 29) { shake = 0; _root._x = 0; _root._y = 0; } } function waveActions() { if (leaving) { inControl = false; if (waitAsec < 10) { if (!zombieMode) { player.gotoAndStop("idle"); } if (zombieMode) { player.gotoAndStop("zidle"); } } waitAsec++; if (waitAsec > 9) { player._xscale = 100; if (!zombieMode) { player.gotoAndStop("run"); } if (zombieMode) { player.gotoAndStop("zrun"); } player._x = player._x + playerSpeed; if (player._x > 710) { if (toGo == 0) { _root.attachMovie("trans", "trans", _root.getNextHighestDepth()); } toGo++; if (toGo == 27) { removeall(); stopAllSounds(); nextFrame(); } } } } } function shotActions() { i = shot.length - 1; while (i >= 0) { if ((shot[i]._x > 640) or (shot[i]._x < 0)) { shot[i].removeMovieClip(); shot.splice(i, 1); } j = enemy.length - 1; while (j >= 0) { if (shot[i].hitTest(enemy[j])) { if (type[j] == 0) { ejump[j] = true; eonfloor[j] = false; eyspeed[j] = 0; eyspeed[j] = eyspeed[j] - ejumpamount[j]; } hitPose[j]++; if (hitPose[j] > 1) { hitPose[j] = 0; } enemyHealth[j] = enemyHealth[j] - 5; randomNumber++; fbhit_mc = _root.attachMovie("fbhit", "fbhit" + randomNumber, _root.getNextHighestDepth(), {_y:shot[i]._y, _x:shot[i]._x}); fbhit_mc._xscale = shot[i]._xscale; randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[j]._y, _x:enemy[j]._x}); ehit_sound.start(); beingSmacked[j]++; randomNumber++; comboCounter++; displayTimer = 16; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[j]._x, _y:enemy[j]._y}); comboBox.cnum.text = comboCounter; hit[j] = 1; damagedTimer[j] = 0; shot[i].removeMovieClip(); shot.splice(i, 1); } j--; } i--; } } function swapdepths() { i = depths.length - 1; while (i >= 0) { j = enemy.length - 1; while (j >= 0) { if (!eheld[i]) { if ((!jump) && (!ejump[i])) { if (player._y < depths[i]._y) { depths[i].swapDepths(_root.getNextHighestDepth()); } if (player._y > depths[i]._y) { player.swapDepths(_root.getNextHighestDepth()); } } } j--; } i--; } } function swapdepthsforenemies() { i = enemy.length - 1; while (i >= 0) { j = depths.length - 1; while (j >= 0) { if (enemy[i]._y < depths[j]._y) { depths[j].swapDepths(_root.getNextHighestDepth()); } if (enemy[i]._y > depths[j]._y) { enemy[i].swapDepths(_root.getNextHighestDepth()); } j--; } i--; } } 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 (alive[i] && (type[i] == 0)) { endX = _root.enemy[j]._x; enemy[i]._x = enemy[i]._x - ((endX - enemy[i]._x) / enemySpeed); } } } j--; } 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.round(Math.sqrt((dist_x * dist_x) + (dist_y * dist_y))); i--; } } function enemyHealthReachesZero() { i = enemy.length - 1; while (i >= 0) { if (enemyHealth[i] < 1) { alive[i] = false; erase[i]++; if (erase[i] == 40) { markWave--; enemy[i].removeMovieClip(); enemy.splice(i, 1); portTimer.splice(i, 1); hit.splice(i, 1); type.splice(i, 1); damagedTimer.splice(i, 1); enemyHealth.splice(i, 1); enemyAttacking.splice(i, 1); enemyAttackingTimer.splice(i, 1); hypArray.splice(i, 1); moveAbout.splice(i, 1); where.splice(i, 1); onPlatform.splice(i, 1); beingSmacked.splice(i, 1); pickAttack.splice(i, 1); port.splice(i, 1); edropping.splice(i, 1); eonfloor.splice(i, 1); ejump.splice(i, 1); ejumpamount.splice(i, 1); eyspeed.splice(i, 1); alive.splice(i, 1); erase.splice(i, 1); groundMarker.splice(i, 1); hitPose.splice(i, 1); eheld.splice(i, 1); thrownTimer.splice(i, 1); thrown.splice(i, 1); } } i--; } } function enemyMovement() { i = enemy.length - 1; while (i >= 0) { if (type[i] == "dummy") { if (!alive[i]) { enemy[i].gotoAndStop("dead"); } if (ejump[i]) { enemy[i]._y = enemy[i]._y + eyspeed[i]; if (enemy[i]._y > groundMarker[i]) { edropping[i] = false; eonfloor[i] = true; ejump[i] = false; eyspeed[i] = 0; enemy[i]._y = groundMarker[i]; } else { if (enemy[i]._xscale == 100) { enemy[i]._x = enemy[i]._x + 2; } else { enemy[i]._x = enemy[i]._x - 2; } eyspeed[i] = eyspeed[i] + (gravity * 2); } } if (alive[i]) { if (!inControl) { hit[i] = 0; damagedTimer[i] = 0; enemy[i].gotoAndStop("idle"); enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 50) + 0; } if (playerAlive) { if (player.hitTest(enemy[i])) { if (eonfloor[i] && (enemyAttackingTimer[i] < 100)) { if ((forwardAttackTimer == 6) or (jumpAttackTimer == 6)) { if (hypArray[i] < 150) { groundMarker[i] = enemy[i]._y; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = eyspeed[i] - ejumpamount[i]; hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } if ((!jump) && (is_attacking == 22)) { if (hypArray[i] < 150) { groundMarker[i] = enemy[i]._y; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } if (jump) { if (is_attacking == 4) { groundMarker[i] = enemy[i]._y; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = eyspeed[i] - ejumpamount[i]; hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } } } if (player._x < enemy[i]._x) { enemy[i]._xscale = 100; } else { enemy[i]._xscale = -100; } if ((hypArray[i] < 200) && (eonfloor[i])) { if (enemyAttacking[i] == 1) { if (enemy[i].hitTest(player)) { invisible = false; player._alpha = 100; if (((!zombieMode) && (!special)) && (!gotSoap)) { hitPlayer = 1; playerHealth = playerHealth - (enemyPower * 1.5); } } } } else { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; } if (enemyAttackingTimer[i] > 100) { enemy[i].gotoAndStop("attack"); enemyAttacking[i] = 1; if (enemyAttackingTimer[i] == 147) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; pickAttack[i] = Math.round(Math.random() * 3) + 0; } } if (enemyAttacking[i] == 0) { if (enemy[i].hitTest(player)) { if (jump) { if (((((((is_attacking == 3) or (is_attacking == 10)) or (is_attacking == 16)) or (is_attacking == 20)) or (is_attacking == 22)) or (is_attacking == 24)) or (is_attacking == 26)) { if (hypArray[i] < 150) { if (ejump[i]) { ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - (ejumpamount[i] - 20); } hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } } if (!jump) { if ((((slidingTimer == 3) or (is_attacking == 4)) or (is_attacking == 11)) or (is_attacking == 22)) { if (hypArray[i] < 150) { hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } } } if (hit[i] == 1) { if (ejump[i]) { if (hitPose[i] == 0) { enemy[i].gotoAndStop("ahit1"); } if (hitPose[i] == 1) { enemy[i].gotoAndStop("ahit2"); } } if (!ejump[i]) { if (hitPose[i] == 0) { enemy[i].gotoAndStop("hit1"); } if (hitPose[i] == 1) { enemy[i].gotoAndStop("hit2"); } } enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] == 15) { hit[i] = 0; damagedTimer[i] = 0; } } if (((hit[i] == 0) && (eonfloor[i])) && (inControl)) { portTimer[i]++; if (portTimer[i] > 32) { where[i] = Math.round(Math.random() * 2) + 0; moveAbout[i] = Math.round(Math.random() * 1) + 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) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 75) / enemySpeed); if (!jump) { enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 1) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 75) / enemySpeed); if (!jump) { enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } } else { if (!ejump[i]) { enemy[i].gotoAndStop("idle"); } if (ejump[i]) { enemy[i].gotoAndStop("aidle"); } } } } } } } i--; } } function pushenemy() { i = enemy.length - 1; while (i >= 0) { if (!attacking) { if (!eheld[i]) { if (Key.isDown(38)) { if ((fg._y > 120) && (fg._y < 240)) { enemy[i]._y = enemy[i]._y + 3; } } if (Key.isDown(40)) { if ((fg._y > 120) && (fg._y < 240)) { enemy[i]._y = enemy[i]._y - 3; } } } } i--; } } function pushHole() { i = zombieSpots.length - 1; while (i >= 0) { if (Key.isDown(38)) { if ((fg._y > 120) && (fg._y < 240)) { zombieSpots[i]._y = zombieSpots[i]._y + 3; } } if (Key.isDown(40)) { if ((fg._y > 120) && (fg._y < 240)) { zombieSpots[i]._y = zombieSpots[i]._y - 3; } } i--; } } function fgmove() { if ((player._x < 46) && (inControl)) { player._x = 46; } if (canGo && (inControl)) { if (fg._x > -1916.9) { if (player._x > 410) { i = enemy.length - 1; while (i >= 0) { enemy[i]._x = enemy[i]._x - 5; i--; } j = boxes.length - 1; while (j >= 0) { boxes[j]._x = boxes[j]._x - 5; j--; } k = potions.length - 1; while (k >= 0) { potions[k]._x = potions[k]._x - 5; k--; } moved++; sfg._x = sfg._x - 5; sfg2._x = sfg2._x - 5; bg._x = bg._x - 5; fg._x = fg._x - 5; steps++; player._x = 410; } } } if ((player._x > 590) && (inControl)) { player._x = 590; } if (fg._y < 120) { fg._y = 120; } if (bg._y < 10) { bg._y = 10; } if (bg._y > 30) { bg._y = 30; } if (fg._y > 240) { fg._y = 240; } if ((((((((!special) && (!magic)) && (playerAlive)) && (!gotSoap)) && (inControl)) && (!attacking)) && (!jumpAttack)) && (!forwardAttack)) { if (Key.isDown(38)) { if ((fg._y > 120) && (fg._y < 240)) { sfg._y = sfg._y + 4.5; sfg2._y = sfg2._y + 4.5; } } if (Key.isDown(40)) { if ((fg._y > 120) && (fg._y < 240)) { sfg._y = sfg._y - 4.5; sfg2._y = sfg2._y - 4.5; } } if (Key.isDown(38)) { bg._y = bg._y - 0.7; fg._y = fg._y + 3; } if (Key.isDown(40)) { bg._y = bg._y + 0.7; fg._y = fg._y - 3; } } } function pullUpZombies() { i = zombieSpots.length - 1; while (i >= 0) { zombieSpotsFade[i]++; if (distance < 5) { if (zombieSpotsFade[i] == 25) { randomNumber++; enemy_ = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_y:zombieSpots[i]._y + 880, _x:zombieSpots[i]._x}); depths.push(enemy_); enemy.push(enemy_); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(35); 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(25); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); hitPose.push(0); groundMarker.push(enemy_._y); alive.push(true); erase.push(0); eheld.push(false); thrownTimer.push(0); thrown.push(false); } } if (distance > 4) { zombieSpots[i]._alpha = 0; if (zombieSpotsFade[i] == 25) { randomNumber++; enemy_ = _root.attachMovie("superEnemy", "superEnemy" + randomNumber, _root.getNextHighestDepth(), {_y:350, _x:700}); depths.push(enemy_); enemy.push(enemy_); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(35); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push("rambo"); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(35); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); hitPose.push(0); groundMarker.push(enemy_._y); alive.push(true); erase.push(0); eheld.push(false); thrownTimer.push(0); thrown.push(false); } } if (zombieSpotsFade[i] == 40) { zombieSpots[i].removeMovieClip(); zombieSpots.splice(i, 1); zombieSpotsFade.splice(i, 1); depths.splice(i, 1); } i--; } } function addenemies() { hereTheyCome = true; } function actuallyAddEnemies() { if (hereTheyCome) { hereTheyComeTimer++; } if (hereTheyComeTimer == 30) { quake_sound.start(); randomNumber++; hole = _root.attachMovie("zombiehole", "zombiehole" + randomNumber, _root.getNextHighestDepth(), {_y:-500, _x:Math.round(Math.random() * 550) + 0}); zombieSpots.push(hole); zombieSpotsFade.push(0); depths.push(hole); } if (hereTheyComeTimer == 120) { quake_sound.start(); randomNumber++; hole = _root.attachMovie("zombiehole", "zombiehole" + randomNumber, _root.getNextHighestDepth(), {_y:-500, _x:Math.round(Math.random() * 550) + 0}); zombieSpots.push(hole); zombieSpotsFade.push(0); depths.push(hole); } if (hereTheyComeTimer == 240) { quake_sound.start(); randomNumber++; hole = _root.attachMovie("zombiehole", "zombiehole" + randomNumber, _root.getNextHighestDepth(), {_y:-500, _x:Math.round(Math.random() * 550) + 0}); zombieSpots.push(hole); zombieSpotsFade.push(0); depths.push(hole); hereTheyComeTimer = 0; hereTheyCome = false; } } function canAddPoint() { if (clicks == 0) { canAddComboPoint = true; } else { canAddComboPoint = false; } } function runAttackTimer() { if (attacking) { if (!jump) { playerSpeed = 0; } is_attacking++; } else { playerSpeed = 10; } } function confirmAttacking() { if (clicks > 0) { attacking = true; } } function comboOne() { if (!addSecondCombo) { if (!addThirdCombo) { if (addFirstCombo) { if (attacking) { if (jump) { if (!zombieMode) { player.gotoAndStop("aattack2"); } } if (!jump) { if (!zombieMode) { player.gotoAndStop("attack2"); } } if (is_attacking == 7) { if (jump && (player._y > 180)) { yspeed = 0; yspeed = yspeed - 20; } addFirstCombo = false; if (clicks == 1) { smack = 0; clicks = 0; is_attacking = 0; attacking = false; } if (clicks > 1) { smack = 0; addSecondCombo = true; } } } } } } } function comboTwo() { if (!addFirstCombo) { if (!addThirdCombo) { if (addSecondCombo) { if (attacking) { if (jump) { if (!zombieMode) { player.gotoAndStop("aattack"); } } if (!jump) { if (!zombieMode) { player.gotoAndStop("attack"); } } if (is_attacking == 14) { if (jump && (player._y > 180)) { yspeed = 0; yspeed = yspeed - 20; } addSecondCombo = false; if (clicks == 2) { smack = 0; clicks = 0; is_attacking = 0; attacking = false; } if (clicks > 2) { smack = 0; addThirdCombo = true; } } } } } } } function comboThree() { if (!addFirstCombo) { if (!addSecondCombo) { if (addThirdCombo) { if (attacking) { if (jump) { if (!zombieMode) { player.gotoAndStop("aattack3"); } } if (!jump) { if (!zombieMode) { player.gotoAndStop("attack3"); } } if (is_attacking == 22) { if (onfloor) { shake++; randomNumber++; hitGround2_mc = _root.attachMovie("splash2", "splash2" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); hitGround2_mc._xscale = player._xscale; } } if (is_attacking == 26) { if (jump && (player._y > 180)) { yspeed = 0; yspeed = yspeed - 20; } addThirdCombo = false; if (clicks == 3) { smack = 0; clicks = 0; is_attacking = 0; attacking = false; } if (clicks > 3) { smack = 0; clicks = 1; is_attacking = 0; addFirstCombo = true; } } } } } } } function playerMovement() { if (hitPlayer == 0) { var _local3 = player.transform.colorTransform; player.transform.colorTransform = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0); } if (hitPlayer == 1) { var _local3 = player.transform.colorTransform; _local3.rgb = 4294967295; player.transform.colorTransform = _local3; hitTimer++; if (hitTimer == 1) { hitPlayer = 0; hitTimer = 0; } } if (inControl) { if (!jumpAttack) { if (!rsprint) { if (!lsprint) { if (playerAlive) { if (!magic) { if (!sliding) { if (!forwardAttack) { if (!jump) { if (!special) { if (!attacking) { if (!running) { if (!zombieMode) { player.gotoAndStop("idle"); } if (zombieMode) { player.gotoAndStop("zidle"); } } if (running) { if (!zombieMode) { player.gotoAndStop("run"); } if (zombieMode) { player.gotoAndStop("zrun"); } } } } } } } } } } } } } if (sliding) { slidingTimer++; player.gotoAndStop("slide"); if (slidingRight) { player._x = player._x + (dashSpeed * 10); } if (slidingLeft) { player._x = player._x - (dashSpeed * 10); } if (slidingTimer == 3) { dashSpeed = 0; } if (slidingTimer == 5) { dashSpeed = 3; smack = 0; sliding = false; slidingTimer = 0; if (Key.isDown(68)) { if (hypArray[i] < 60) { if (!held) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; hit[i] = 0; damagedTimer[i] = 0; held = true; lifted = true; eheld[i] = true; canLift = false; zombieMode = true; } } } } } if (lsprint or rsprint) { player.gotoAndStop("sprint"); playerSpeed = 20; } else { playerSpeed = 10; } if (inControl) { if (playerAlive) { if (!held) { if (!magic) { if (!jumpAttack) { if (!forwardAttack) { if (!jump) { if (!special) { if (!attacking) { if (!running) { if (Key.isDown(39) && (!hit2)) { hit2 = true; if (lastPressA && ((getTimer() - lastPressA) < 250)) { swing_sound.start(); sliding = true; slidingRight = true; slidingLeft = false; rsprint = true; } lastPressA = getTimer(); } else if (!Key.isDown(39)) { hit2 = false; rsprint = false; } if (Key.isDown(37) && (!hit3)) { hit3 = true; if (lastPressB && ((getTimer() - lastPressB) < 250)) { swing_sound.start(); sliding = true; slidingRight = false; slidingLeft = true; lsprint = true; } lastPressB = getTimer(); } else if (!Key.isDown(37)) { hit3 = false; lsprint = false; } } } } } } } } } } } if (Key.isDown(68)) { if (canLift) { if (inControl) { if (!magic) { if (!rsprint) { if (!lsprint) { if (playerAlive) { if (!jumpAttack) { if (!sliding) { if (!forwardAttack) { if (!jump) { if (!attacking) { special = true; } } } } } } } } } } } } if (!Key.isDown(65)) { magicTimer = 0; pressHack = 0; } if (Key.isDown(65)) { if (jump) { if (inControl) { if (playerAlive) { if (!jumpAttack) { if (!sliding) { if (!forwardAttack) { if (!special) { if (!held) { if (!rsprint) { if (!lsprint) { if (pressHack == 0) { swing_sound.start(); pressHack = 1; if (canAddComboPoint) { addFirstCombo = true; } clicks++; } } } } } } } } } } } if (!jump) { if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(38))) { if (inControl) { if (!rsprint) { if (!lsprint) { if (playerAlive) { if (!jumpAttack) { if (!sliding) { if (!forwardAttack) { if (!special) { if (!held) { magicTimer++; if (pressHack == 0) { swing_sound.start(); pressHack = 1; if (canAddComboPoint) { addFirstCombo = true; } clicks++; } } if (held) { i = enemy.length - 1; while (i >= 0) { if (eheld[i]) { thrown[i] = true; eheld[i] = false; } i--; } } } } } } } } } } } } } if (special) { player.gotoAndStop("pickup"); specialTimer++; if (specialTimer == 19) { special = false; specialTimer = 0; } } if (!Key.isDown(83)) { pressOnceOnly = 0; } if (Key.isDown(83)) { if (inControl) { if (playerAlive) { if (!sliding) { if (!magic) { if (!rsprint) { if (!lsprint) { if (!forwardAttack) { if (!jumpAttack) { if (!airMagic) { if (!special) { if (onfloor) { if (pressOnceOnly == 0) { pressOnceOnly = 1; if (!attacking) { player.gotoAndStop("jump"); } jump = true; onfloor = false; yspeed = yspeed - jumpamount; _root.attachMovie("shadow_mc", "shadow_mc", 5, {_y:player._y, _x:player._x}); } } } } } } } } } } } } } shadow_mc._x = player._x; if (inControl) { if (playerAlive) { if (!sliding) { if (!magic) { if (!forwardAttack) { if (!jumpAttack) { if (!special) { if (!Key.isDown(40)) { running = false; } if (!Key.isDown(38)) { running = false; } if (!Key.isDown(39)) { running = false; } if (!Key.isDown(37)) { running = false; } if (Key.isDown(39)) { player._xscale = 100; player._x = player._x + playerSpeed; running = true; } if (Key.isDown(37)) { player._xscale = -100; player._x = player._x - playerSpeed; running = true; } if (Key.isDown(38)) { running = true; } if (Key.isDown(40)) { running = true; } } } } } } } } if (player._xscale == 100) { if (Key.isDown(39)) { if (Key.isDown(65)) { if (inControl) { if (playerAlive) { if (!jump) { if (!magic) { if (!rsprint) { if (!lsprint) { if (!jumpAttack) { if (!sliding) { if (!attacking) { if (!special) { if (!held) { forwardAttack = true; } } } } } } } } } } } } } } if (player._xscale == -100) { if (Key.isDown(37)) { if (Key.isDown(65)) { if (inControl) { if (playerAlive) { if (!sliding) { if (!jump) { if (!magic) { if (!rsprint) { if (!lsprint) { if (!jumpAttack) { if (!attacking) { if (!special) { if (!held) { forwardAttack = true; } } } } } } } } } } } } } } if (forwardAttack) { forwardAttackTimer++; player.gotoAndStop("knife1"); if (forwardAttackTimer == 12) { forwardAttackTimer = 0; forwardAttack = false; } } if (Key.isDown(38)) { if (Key.isDown(65)) { if (inControl) { if (playerAlive) { if (!sliding) { if (!jump) { if (!forwardAttack) { if (!attacking) { if (!special) { if (!rsprint) { if (!lsprint) { if (!held) { if (!magic) { jumpAttack = true; } } } } } } } } } } } } } if (magicTimer > 7) { magic = true; if (magicTimer < 32) { player.gotoAndStop("magic"); } if (magicTimer > 32) { player.gotoAndStop("shootmagic"); if (magicTimer > 40) { if (player._xscale == 100) { randomNumber++; fireball_mc = _root.attachMovie("fireball", "fireball" + randomNumber, _root.getNextHighestDepth(), {_y:player._y, _x:player._x}); shot.push(fireball_mc); fireball_mc.onEnterFrame = function () { this._x = this._x + 35; }; } if (player._xscale == -100) { randomNumber++; fireball_mc = _root.attachMovie("fireball", "fireball" + randomNumber, _root.getNextHighestDepth(), {_y:player._y, _x:player._x}); fireball_mc._xscale = -100; shot.push(fireball_mc); fireball_mc.onEnterFrame = function () { this._x = this._x - 35; }; } magicTimer = 0; } } } else { magic = false; } if (jumpAttack) { jumpAttackTimer++; player.gotoAndStop("jattack"); if (jumpAttackTimer == 10) { player.gotoAndStop("jump"); jump = true; onfloor = false; yspeed = yspeed - jumpamount; jumpAttackTimer = 0; jumpAttack = false; } } if ((!playerAlive) or (!inControl)) { clicks = 0; attacking = false; is_attacking = 0; jump = false; forwardAttack = false; forwardAttackTimer = 0; shootTimer = 0; magic = false; } if ((!playerAlive) && (onfloor)) { player.gotoAndStop("dead"); } if (player._y < 70) { player._y = 70; } player._y = player._y + yspeed; if (player._y > 350) { shadow_mc.removeMovieClip(); initial = 0; onfloor = true; jump = false; yspeed = 0; player._y = 350; } else { yspeed = yspeed + (gravity * 2); } if (playerHealth < 0) { playerAlive = false; playerHealth = 0; } if (playerHealth > 100) { playerHealth = 100; } checking = checking + 0.1; if (checking == 0.2) { markDrop = player._y; checking = 0; } if (player._y > markDrop) { if (held) { crush = true; } } } stop(); hud._alpha = 0; playerBar._alpha = 0; manaBar._alpha = 0; ehit_sound = new Sound(); ehit_sound.attachSound("ehit"); quake_sound = new Sound(); quake_sound.attachSound("quake"); fbsfx_sound = new Sound(); fbsfx_sound.attachSound("fballsfx"); _root.attachMovie("cinemaLines", "cinemaLines", _root.getNextHighestDepth()); _root.attachMovie("comboBox", "comboBox", _root.getNextHighestDepth(), {_x:120, _y:425}); comboBox._x = -100; _root.attachMovie("player", "player", _root.getNextHighestDepth(), {_x:-50, _y:350}); jump = false; rambosKilled = 0; addSecondCombo = false; addThirdCombo = false; addFirstCombo = false; checking = 0; enemyrelease = 0; markDrop = player._y; crush = false; soapDrop = 0; leaving = false; pressThis = 0; deadTimer = 112; waitAsec = 0; initial = 0; playerAlive = true; comboCounter = 0; jumpamount = 40; magicAttack = 0; magic = false; magicTimer = 0; death_stick_timer = 0; yspeed = 0; shake = 0; jumpAttack = false; jumpAttackTimer = 0; hereTheyComeTimer = 0; playerHealth = 100; hereTheyCome = false; getThingsGoing = true; onfloor = true; displayTimer = 0; dashSpeed = 3; lsprint = false; rsprint = false; sliding = false; slidingTimer = 0; toGo = 0; playerPower = 1; gravity = 2; shootTimer = 0; bossOnesAttack = 0; randomNumber = 0; forwardAttack = false; forwardAttackTimer = 0; noBoss = true; pressOnceOnly = 0; pressHack = 0; specialTimer = 0; clicks = 0; playerSpeed = 10; is_attacking = 0; smack = 0; gotSoap = false; gotSoapTimer = 0; hitPlayer = 0; hitTimer = 0; enemySpeed = 70; yesGo = 0; moved = 0; markWave = 2; steps = 0; distance = 0; showMoves = 0; addMove = 0; addBoss = 0; superPower = 100; enemyPower = 0.15; startGameTimer = 0; addRambo = 0; canLift = true; lifted = false; held = false; liftedTimer = 0; inControl = true; canGo = false; zombieMode = false; special = false; hit2 = false; hit3 = false; running = false; attacking = false; enemyNumber = 0; var zombieSpots = new Array(); var zombieSpotsFade = new Array(); var erase = new Array(); var alive = new Array(); var groundMarker = new Array(); var hitPose = 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 depths = new Array(); var eheld = new Array(); var thrown = new Array(); var thrownTimer = new Array(); randomNumber++; enemy_ = _root.attachMovie("dummy", "dummy" + randomNumber, _root.getNextHighestDepth(), {_y:350, _x:700}); depths.push(enemy_); enemy.push(enemy_); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(35); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push("dummy"); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push("null"); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); hitPose.push(0); groundMarker.push(enemy_._y); alive.push(true); erase.push(0); eheld.push(false); thrownTimer.push(0); thrown.push(false); player.onEnterFrame = function () { if (comboCounter > 0) { comboBox._x = 120; displayTimer--; } if (displayTimer < 0) { comboCounter = 0; displayTimer = 0; } if (displayTimer == 0) { comboBox._x = comboBox._x - 25; } startGameTimer++; if (startGameTimer < 75) { walkOn(); } superPower = superPower + 0.05; playerBar._xscale = playerHealth; manaBar._xscale = superPower; waveActions(); enemyHealthReachesZero(); if (((((((!special) && (!magic)) && (playerAlive)) && (!gotSoap)) && (inControl)) && (!jumpAttack)) && (!forwardAttack)) { pushHole(); pushenemy(); } if (startGameTimer > 60) { hud._alpha = hud._alpha + 20; playerBar._alpha = playerBar._alpha + 10; manaBar._alpha = manaBar._alpha + 10; } if (hud._alpha > 100) { hud._alpha = 100; } if (playerBar._alpha > 100) { playerBar._alpha = 100; } if (manaBar._alpha > 100) { manaBar._alpha = 100; } if (showMoves == 0) { if (Key.isDown(80)) { if (addMove == 0) { inControl = false; showMoves++; addMove = 1; _root.attachMovie("moves", "moves", _root.getNextHighestDepth()); } } } if (showMoves == 1) { if (Key.isDown(80)) { if (addMove == 0) { inControl = true; showMoves++; addMove = 1; moves.removeMovieClip(); } } } if (!Key.isDown(80)) { addMove = 0; } if (showMoves > 1) { showMoves = 0; } quit.onRelease = function () { leaving = true; }; box(); shotActions(); pullUpZombies(); swapdepthsforenemies(); noOverLap(); swapdepths(); playerMovement(); comboOne(); comboTwo(); comboThree(); runAttackTimer(); canAddPoint(); confirmAttacking(); calculateHyp(); enemyMovement(); shaker(); soapActions(); fgmove(); fbhit_mc.swapDepths(_root.getNextHighestDepth()); hitEm.swapDepths(_root.getNextHighestDepth()); blood_mc.swapDepths(_root.getNextHighestDepth()); sfg.swapDepths(_root.getNextHighestDepth()); sfg2.swapDepths(_root.getNextHighestDepth()); night.swapDepths(_root.getNextHighestDepth()); comboBox.swapDepths(_root.getNextHighestDepth()); cinemaLines.swapDepths(_root.getNextHighestDepth()); moves.swapDepths(_root.getNextHighestDepth()); trans.swapDepths(_root.getNextHighestDepth()); };
Frame 12
player.removeMovieClip(); stopAllSounds(); play();
Frame 13
function walkOn() { inControl = false; if (player._x < 120) { player.gotoAndStop("run"); player._x = player._x + playerSpeed; } else { inControl = true; } } function removeall() { comboBox.removeMovieClip(); nearground.removeMovieClip(); sfg.removeMovieClip(); sfg2.removeMovieClip(); removeshot(); removeport(); removepickAttack(); removemoveAbout(); removeblocks(); removeDead_body(); removeType(); removeHypArray(); removeEnemyHealth(); removeDamagedTimer(); removeHit(); removeEnemyAttackingTimer(); removeEnemyAttacking(); removeEnemy(); removewhere(); removebeingSmacked(); removeonPlatform(); removeportTimer(); removeeyspeed(); removeejumpamount(); removeejump(); removeeonfloor(); removeedropping(); removepotions(); removeboxes(); removeboxHealth(); removeboxHit(); removeboxHitTimer(); removepotionType(); removeDepths(); removezombieSpots(); removezombieSpotsFade(); removeerase(); removealive(); removegroundMarker(); removehitPose(); removeeheld(); removethrownTimer(); removethrown(); } function removethrownTimer() { i = thrownTimer.length - 1; while (i >= 0) { thrownTimer[i].removeMovieClip(); thrownTimer.splice(i, 1); i--; } } function removethrown() { i = thrown.length - 1; while (i >= 0) { thrown[i].removeMovieClip(); thrown.splice(i, 1); i--; } } function removeeheld() { i = eheld.length - 1; while (i >= 0) { eheld[i].removeMovieClip(); eheld.splice(i, 1); i--; } } function removezombieSpots() { i = zombieSpots.length - 1; while (i >= 0) { zombieSpots[i].removeMovieClip(); zombieSpots.splice(i, 1); i--; } } function removezombieSpotsFade() { i = zombieSpotsFade.length - 1; while (i >= 0) { zombieSpotsFade[i].removeMovieClip(); zombieSpotsFade.splice(i, 1); i--; } } function removeerase() { i = erase.length - 1; while (i >= 0) { erase[i].removeMovieClip(); erase.splice(i, 1); i--; } } function removealive() { i = alive.length - 1; while (i >= 0) { alive[i].removeMovieClip(); alive.splice(i, 1); i--; } } function removegroundMarker() { i = groundMarker.length - 1; while (i >= 0) { groundMarker[i].removeMovieClip(); groundMarker.splice(i, 1); i--; } } function removehitPose() { i = hitPose.length - 1; while (i >= 0) { hitPose[i].removeMovieClip(); hitPose.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 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 removeeyspeed() { i = eyspeed.length - 1; while (i >= 0) { eyspeed[i].removeMovieClip(); eyspeed.splice(i, 1); i--; } } function removeejumpamount() { i = ejumpamount.length - 1; while (i >= 0) { ejumpamount[i].removeMovieClip(); ejumpamount.splice(i, 1); i--; } } function removeejump() { i = ejump.length - 1; while (i >= 0) { ejump[i].removeMovieClip(); ejump.splice(i, 1); i--; } } function removeeonfloor() { i = eonfloor.length - 1; while (i >= 0) { eonfloor[i].removeMovieClip(); eonfloor.splice(i, 1); i--; } } function removeedropping() { i = edropping.length - 1; while (i >= 0) { edropping[i].removeMovieClip(); edropping.splice(i, 1); i--; } } function removeportTimer() { i = portTimer.length - 1; while (i >= 0) { portTimer[i].removeMovieClip(); portTimer.splice(i, 1); i--; } } function removeshot() { i = shot.length - 1; while (i >= 0) { shot[i].removeMovieClip(); shot.splice(i, 1); i--; } } function removeport() { i = port.length - 1; while (i >= 0) { port[i].removeMovieClip(); port.splice(i, 1); i--; } } function removepickAttack() { i = pickAttack.length - 1; while (i >= 0) { pickAttack[i].removeMovieClip(); pickAttack.splice(i, 1); i--; } } function removeblocks() { i = blocks.length - 1; while (i >= 0) { blocks[i].removeMovieClip(); blocks.splice(i, 1); i--; } } function removebeingSmacked() { i = beingSmacked.length - 1; while (i >= 0) { beingSmacked[i].removeMovieClip(); beingSmacked.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 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 removeDepths() { i = depths.length - 1; while (i >= 0) { depths[i].removeMovieClip(); depths.splice(i, 1); i--; } } function shaker() { if (shake == 0) { _root._x = 0; _root._y = 0; } else if (shake == 1) { shake = shake + 1; _root._x = _root._x + 2; _root._y = _root._y + 2; } else if (shake == 2) { shake = shake + 1; _root._y = _root._y - 4; _root._x = _root._x - 4; } else if (shake == 3) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 4) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 5) { shake = shake + 1; _root._x = 4; _root._y = 4; } else if (shake == 6) { shake = shake + 1; _root._x = 2; _root._y = 2; } else if (shake == 7) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 8) { shake = shake + 1; _root._x = _root._x + 2; _root._y = _root._y + 2; } else if (shake == 9) { shake = shake + 1; _root._y = _root._y - 4; _root._x = _root._x - 4; } else if (shake == 10) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 11) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 12) { shake = shake + 1; _root._x = 4; _root._y = 4; } else if (shake == 13) { shake = shake + 1; _root._x = 2; _root._y = 2; } else if (shake == 14) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 15) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 16) { shake = shake + 1; _root._x = _root._x + 2; _root._y = _root._y + 2; } else if (shake == 17) { shake = shake + 1; _root._y = _root._y - 4; _root._x = _root._x - 4; } else if (shake == 18) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 19) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 20) { shake = shake + 1; _root._x = 4; _root._y = 4; } else if (shake == 21) { shake = shake + 1; _root._x = 2; _root._y = 2; } else if (shake == 22) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 23) { shake = shake + 1; _root._x = _root._x + 2; _root._y = _root._y + 2; } else if (shake == 24) { shake = shake + 1; _root._y = _root._y - 4; _root._x = _root._x - 4; } else if (shake == 25) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 26) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 27) { shake = shake + 1; _root._x = 4; _root._y = 4; } else if (shake == 28) { shake = shake + 1; _root._x = 2; _root._y = 2; } else if (shake == 29) { shake = 0; _root._x = 0; _root._y = 0; } } function waveActions() { if (((distance == 6) && (markWave < 0)) && (!canGo)) { inControl = false; if (waitAsec < 60) { if (!zombieMode) { player.gotoAndStop("idle"); } if (zombieMode) { player.gotoAndStop("zidle"); } } waitAsec++; if (waitAsec > 59) { player._xscale = 100; if (!zombieMode) { player.gotoAndStop("run"); } if (zombieMode) { player.gotoAndStop("zrun"); } player._x = player._x + playerSpeed; if (player._x > 710) { if (toGo == 0) { _root.attachMovie("trans", "trans", _root.getNextHighestDepth()); } toGo++; if (toGo == 27) { removeall(); stopAllSounds(); nextFrame(); } } } } if (getThingsGoing) { if (startGameTimer > 80) { addenemies(); getThingsGoing = false; } } if (distance < 6) { if (markWave < 0) { if (player._x < 410) { if (yesGo == 0) { distance++; _root.attachMovie("gogo", "gogo", _root.getNextHighestDepth()); } yesGo = 1; canGo = true; } } } if (steps > 130) { addenemies(); gogo.removeMovieClip(); yesGo = 0; markWave = 2; canGo = false; steps = 0; } } function shotActions() { i = shot.length - 1; while (i >= 0) { if ((shot[i]._x > 640) or (shot[i]._x < 0)) { shot[i].removeMovieClip(); shot.splice(i, 1); } j = enemy.length - 1; while (j >= 0) { if (shot[i].hitTest(enemy[j])) { if (type[j] == 0) { ejump[j] = true; eonfloor[j] = false; eyspeed[j] = 0; eyspeed[j] = eyspeed[j] - ejumpamount[j]; } hitPose[j]++; if (hitPose[j] > 1) { hitPose[j] = 0; } enemyHealth[j] = enemyHealth[j] - 5; randomNumber++; fbhit_mc = _root.attachMovie("fbhit", "fbhit" + randomNumber, _root.getNextHighestDepth(), {_y:shot[i]._y, _x:shot[i]._x}); fbhit_mc._xscale = shot[i]._xscale; randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[j]._y, _x:enemy[j]._x}); ehit_sound.start(); beingSmacked[j]++; randomNumber++; comboCounter++; displayTimer = 16; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[j]._x, _y:enemy[j]._y}); comboBox.cnum.text = comboCounter; hit[j] = 1; damagedTimer[j] = 0; shot[i].removeMovieClip(); shot.splice(i, 1); } j--; } i--; } } function swapdepths() { i = depths.length - 1; while (i >= 0) { j = enemy.length - 1; while (j >= 0) { if (!eheld[i]) { if ((!jump) && (!ejump[i])) { if (player._y < depths[i]._y) { depths[i].swapDepths(_root.getNextHighestDepth()); } if (player._y > depths[i]._y) { player.swapDepths(_root.getNextHighestDepth()); } } } j--; } i--; } } function swapdepthsforenemies() { i = enemy.length - 1; while (i >= 0) { j = depths.length - 1; while (j >= 0) { if (enemy[i]._y < depths[j]._y) { depths[j].swapDepths(_root.getNextHighestDepth()); } if (enemy[i]._y > depths[j]._y) { enemy[i].swapDepths(_root.getNextHighestDepth()); } j--; } i--; } } 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 (alive[i] && (type[i] == 0)) { endX = _root.enemy[j]._x; enemy[i]._x = enemy[i]._x - ((endX - enemy[i]._x) / enemySpeed); } } } j--; } 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.round(Math.sqrt((dist_x * dist_x) + (dist_y * dist_y))); i--; } } function enemyHealthReachesZero() { i = enemy.length - 1; while (i >= 0) { if (enemyHealth[i] < 1) { alive[i] = false; erase[i]++; if (erase[i] == 40) { markWave--; enemy[i].removeMovieClip(); enemy.splice(i, 1); portTimer.splice(i, 1); hit.splice(i, 1); type.splice(i, 1); damagedTimer.splice(i, 1); enemyHealth.splice(i, 1); enemyAttacking.splice(i, 1); enemyAttackingTimer.splice(i, 1); hypArray.splice(i, 1); moveAbout.splice(i, 1); where.splice(i, 1); onPlatform.splice(i, 1); beingSmacked.splice(i, 1); pickAttack.splice(i, 1); port.splice(i, 1); edropping.splice(i, 1); eonfloor.splice(i, 1); ejump.splice(i, 1); ejumpamount.splice(i, 1); eyspeed.splice(i, 1); alive.splice(i, 1); erase.splice(i, 1); groundMarker.splice(i, 1); hitPose.splice(i, 1); eheld.splice(i, 1); thrownTimer.splice(i, 1); thrown.splice(i, 1); } } i--; } } function enemyMovement() { i = enemy.length - 1; while (i >= 0) { enemy[i].ebar._xscale = enemyHealth[i]; if (type[i] == "rambo") { if (!alive[i]) { enemy[i].gotoAndStop("dead"); } if (ejump[i]) { enemy[i]._y = enemy[i]._y + eyspeed[i]; if (enemy[i]._y > groundMarker[i]) { edropping[i] = false; eonfloor[i] = true; ejump[i] = false; eyspeed[i] = 0; enemy[i]._y = groundMarker[i]; } else { if (enemy[i]._xscale == 100) { enemy[i]._x = enemy[i]._x + 2; } else { enemy[i]._x = enemy[i]._x - 2; } eyspeed[i] = eyspeed[i] + (gravity * 2); } } if (alive[i]) { if (!playerAlive) { hit[i] = 0; damagedTimer[i] = 0; enemy[i].gotoAndStop("idle"); enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 50) + 0; } if (playerAlive) { if (player.hitTest(enemy[i])) { if (eonfloor[i] && (enemyAttackingTimer[i] < 100)) { if ((forwardAttackTimer == 6) or (jumpAttackTimer == 6)) { if (hypArray[i] < 150) { groundMarker[i] = enemy[i]._y; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = eyspeed[i] - ejumpamount[i]; hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } if ((!jump) && (is_attacking == 22)) { if (hypArray[i] < 150) { groundMarker[i] = enemy[i]._y; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } if (jump) { if (is_attacking == 4) { groundMarker[i] = enemy[i]._y; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = eyspeed[i] - ejumpamount[i]; hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } } } if (player._x < enemy[i]._x) { enemy[i]._xscale = 100; } else { enemy[i]._xscale = -100; } if ((hypArray[i] < 200) && (eonfloor[i])) { if (enemyAttacking[i] == 1) { if (enemy[i].hitTest(player)) { invisible = false; player._alpha = 100; if (((!zombieMode) && (!special)) && (!gotSoap)) { hitPlayer = 1; playerHealth = playerHealth - (enemyPower * 1.5); } } } enemyAttackingTimer[i]++; } else { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; } if (enemyAttackingTimer[i] > 100) { enemy[i].gotoAndStop("attack"); enemyAttacking[i] = 1; if (enemyAttackingTimer[i] == 147) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; pickAttack[i] = Math.round(Math.random() * 3) + 0; } } if (enemyAttacking[i] == 0) { if (enemy[i].hitTest(player)) { if (jump) { if (((((((is_attacking == 3) or (is_attacking == 10)) or (is_attacking == 16)) or (is_attacking == 20)) or (is_attacking == 22)) or (is_attacking == 24)) or (is_attacking == 26)) { if (hypArray[i] < 150) { if (ejump[i]) { ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - (ejumpamount[i] - 20); } hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } } if (!jump) { if ((((slidingTimer == 3) or (is_attacking == 4)) or (is_attacking == 11)) or (is_attacking == 22)) { if (hypArray[i] < 150) { hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } } } if (hit[i] == 1) { if (ejump[i]) { if (hitPose[i] == 0) { enemy[i].gotoAndStop("ahit1"); } if (hitPose[i] == 1) { enemy[i].gotoAndStop("ahit2"); } } if (!ejump[i]) { if (hitPose[i] == 0) { enemy[i].gotoAndStop("hit1"); } if (hitPose[i] == 1) { enemy[i].gotoAndStop("hit2"); } } enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] == 15) { hit[i] = 0; damagedTimer[i] = 0; } } if ((hit[i] == 0) && (eonfloor[i])) { portTimer[i]++; if (portTimer[i] > 32) { where[i] = Math.round(Math.random() * 2) + 0; moveAbout[i] = Math.round(Math.random() * 1) + 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) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 75) / enemySpeed); if (!jump) { enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 1) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 75) / enemySpeed); if (!jump) { enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } } else { if (!ejump[i]) { enemy[i].gotoAndStop("idle"); } if (ejump[i]) { enemy[i].gotoAndStop("aidle"); } } } } } } } if (type[i] == 0) { if (!alive[i]) { enemy[i]._y = enemy[i]._y + eyspeed[i]; if (enemy[i]._y > groundMarker[i]) { edropping[i] = false; eonfloor[i] = true; ejump[i] = false; eyspeed[i] = 0; enemy[i]._y = groundMarker[i]; } else { if (enemy[i]._xscale == 100) { enemy[i]._x = enemy[i]._x + 2; } else { enemy[i]._x = enemy[i]._x - 2; } eyspeed[i] = eyspeed[i] + (gravity * 2); } enemy[i].gotoAndStop("dead"); } if (thrown[i]) { if (thrownTimer[i] == 0) { ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - (ejumpamount[i] - 10); } if (thrownTimer[i] == 25) { enemyHealth[i] = 0; thrown[i] = false; thrownTimer[i] = 0; randomNumber++; enemy_ = _root.attachMovie("superEnemy", "superEnemy" + randomNumber, _root.getNextHighestDepth(), {_y:350, _x:700}); depths.push(enemy_); enemy.push(enemy_); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(35); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push("rambo"); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(35); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); hitPose.push(0); groundMarker.push(enemy_._y); alive.push(true); erase.push(0); eheld.push(false); thrownTimer.push(0); thrown.push(false); markWave++; } thrownTimer[i]++; gravity = 2; crush = false; held = false; zombieMode = false; canLift = true; enemy[i]._y = enemy[i]._y + eyspeed[i]; if (enemy[i]._y > groundMarker[i]) { edropping[i] = false; eonfloor[i] = true; ejump[i] = false; eyspeed[i] = 0; enemy[i]._y = groundMarker[i]; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - (ejumpamount[i] * 1.2); } else { if (enemy[i]._xscale == 100) { enemy[i]._x = enemy[i]._x + 30; } else { enemy[i]._x = enemy[i]._x - 30; } eyspeed[i] = eyspeed[i] + (gravity * 2); } } if (eheld[i]) { enemy[i].swapDepths(_root.getNextHighestDepth()); if (crush) { gravity = gravity * 4; enemy[i]._y = enemy[i]._y + 30; } if (crush && (onfloor)) { shake++; randomNumber++; hitGround_mc = _root.attachMovie("splash", "splash" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); hitGround_mc._xscale = player._xscale; enemyHealth[i] = 0; gravity = 2; eheld[i] = false; crush = false; held = false; zombieMode = false; canLift = true; ehit_sound.start(); randomNumber++; enemy_ = _root.attachMovie("superEnemy", "superEnemy" + randomNumber, _root.getNextHighestDepth(), {_y:350, _x:700}); depths.push(enemy_); enemy.push(enemy_); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(35); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push("rambo"); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(35); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); hitPose.push(0); groundMarker.push(enemy_._y); alive.push(true); erase.push(0); eheld.push(false); thrownTimer.push(0); thrown.push(false); markWave++; } if (alive[i]) { enemy[i].gotoAndStop("held"); enemy[i]._x = player._x; enemy[i]._xscale = player._xscale; } if (jump && (!crush)) { enemy[i]._y = player._y - 100; } } if (player.hitTest(enemy[i])) { if (specialTimer > 14) { if (hypArray[i] < 60) { if (!held) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; hit[i] = 0; damagedTimer[i] = 0; held = true; lifted = true; eheld[i] = true; canLift = false; zombieMode = true; } } } } if (lifted) { if (eheld[i]) { if (liftedTimer == 0) { groundMarker[i] = enemy[i]._y; } if (liftedTimer < 5) { enemy[i]._y = player._y - 120; } if (liftedTimer == 5) { lifted = false; liftedTimer = 0; } liftedTimer++; } } if ((!eheld[i]) && (!thrown[i])) { if (ejump[i]) { enemy[i]._y = enemy[i]._y + eyspeed[i]; if (enemy[i]._y > groundMarker[i]) { edropping[i] = false; eonfloor[i] = true; ejump[i] = false; eyspeed[i] = 0; enemy[i]._y = groundMarker[i]; } else { if (enemy[i]._xscale == 100) { enemy[i]._x = enemy[i]._x + 2; } else { enemy[i]._x = enemy[i]._x - 2; } eyspeed[i] = eyspeed[i] + (gravity * 2); } } if (alive[i]) { if (!playerAlive) { hit[i] = 0; damagedTimer[i] = 0; enemy[i].gotoAndStop("idle"); enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 50) + 0; } if (playerAlive) { if (player.hitTest(enemy[i])) { if (eonfloor[i] && (enemyAttackingTimer[i] < 100)) { if ((forwardAttackTimer == 6) or (jumpAttackTimer == 6)) { if (hypArray[i] < 150) { groundMarker[i] = enemy[i]._y; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = eyspeed[i] - ejumpamount[i]; hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } if ((!jump) && (is_attacking == 22)) { if (hypArray[i] < 150) { groundMarker[i] = enemy[i]._y; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } if (jump) { if (is_attacking == 4) { groundMarker[i] = enemy[i]._y; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = eyspeed[i] - ejumpamount[i]; hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } } } if (player._x < enemy[i]._x) { enemy[i]._xscale = 100; } else { enemy[i]._xscale = -100; } if ((hypArray[i] < 200) && (eonfloor[i])) { if (enemyAttacking[i] == 1) { if (enemy[i].hitTest(player)) { invisible = false; player._alpha = 100; if (((!zombieMode) && (!special)) && (!gotSoap)) { hitPlayer = 1; playerHealth = playerHealth - (enemyPower * 1.5); } } } enemyAttackingTimer[i]++; } else { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; } if (enemyAttackingTimer[i] > 100) { enemy[i].gotoAndStop("attack"); enemyAttacking[i] = 1; if (enemyAttackingTimer[i] == 110) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; pickAttack[i] = Math.round(Math.random() * 3) + 0; } } if (enemyAttacking[i] == 0) { if (enemy[i].hitTest(player)) { if (jump) { if (((((((is_attacking == 3) or (is_attacking == 10)) or (is_attacking == 16)) or (is_attacking == 20)) or (is_attacking == 22)) or (is_attacking == 24)) or (is_attacking == 26)) { if (hypArray[i] < 150) { if (ejump[i]) { ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - (ejumpamount[i] - 20); } hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } } if (!jump) { if ((((slidingTimer == 3) or (is_attacking == 4)) or (is_attacking == 11)) or (is_attacking == 22)) { if (hypArray[i] < 150) { hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } } } if (hit[i] == 1) { if (ejump[i]) { if (hitPose[i] == 0) { enemy[i].gotoAndStop("ahit1"); } if (hitPose[i] == 1) { enemy[i].gotoAndStop("ahit2"); } } if (!ejump[i]) { if (hitPose[i] == 0) { enemy[i].gotoAndStop("hit1"); } if (hitPose[i] == 1) { enemy[i].gotoAndStop("hit2"); } } enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] == 15) { hit[i] = 0; damagedTimer[i] = 0; } } if ((hit[i] == 0) && (eonfloor[i])) { portTimer[i]++; if (portTimer[i] > 32) { where[i] = Math.round(Math.random() * 2) + 0; moveAbout[i] = Math.round(Math.random() * 1) + 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) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 75) / enemySpeed); if (!jump) { enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 1) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 75) / enemySpeed); if (!jump) { enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } } else { if (!ejump[i]) { enemy[i].gotoAndStop("idle"); } if (ejump[i]) { enemy[i].gotoAndStop("aidle"); } } } } } } } } i--; } } function pushenemy() { i = enemy.length - 1; while (i >= 0) { if (!attacking) { if (!eheld[i]) { if (Key.isDown(38)) { if ((fg._y > 120) && (fg._y < 240)) { enemy[i]._y = enemy[i]._y + 3; } } if (Key.isDown(40)) { if ((fg._y > 120) && (fg._y < 240)) { enemy[i]._y = enemy[i]._y - 3; } } } } i--; } } function pushHole() { i = zombieSpots.length - 1; while (i >= 0) { if (Key.isDown(38)) { if ((fg._y > 120) && (fg._y < 240)) { zombieSpots[i]._y = zombieSpots[i]._y + 3; } } if (Key.isDown(40)) { if ((fg._y > 120) && (fg._y < 240)) { zombieSpots[i]._y = zombieSpots[i]._y - 3; } } i--; } } function fgmove() { if ((player._x < 46) && (inControl)) { player._x = 46; } if (canGo && (inControl)) { if (fg._x > -1916.9) { if (player._x > 410) { i = enemy.length - 1; while (i >= 0) { enemy[i]._x = enemy[i]._x - 5; i--; } j = boxes.length - 1; while (j >= 0) { boxes[j]._x = boxes[j]._x - 5; j--; } k = potions.length - 1; while (k >= 0) { potions[k]._x = potions[k]._x - 5; k--; } moved++; sfg._x = sfg._x - 5; sfg2._x = sfg2._x - 5; bg._x = bg._x - 5; fg._x = fg._x - 5; steps++; player._x = 410; } } } if ((player._x > 590) && (inControl)) { player._x = 590; } if (fg._y < 120) { fg._y = 120; } if (bg._y < 10) { bg._y = 10; } if (bg._y > 30) { bg._y = 30; } if (fg._y > 240) { fg._y = 240; } if ((((((((!special) && (!magic)) && (playerAlive)) && (!gotSoap)) && (inControl)) && (!attacking)) && (!jumpAttack)) && (!forwardAttack)) { if (Key.isDown(38)) { if ((fg._y > 120) && (fg._y < 240)) { sfg._y = sfg._y + 4.5; sfg2._y = sfg2._y + 4.5; } } if (Key.isDown(40)) { if ((fg._y > 120) && (fg._y < 240)) { sfg._y = sfg._y - 4.5; sfg2._y = sfg2._y - 4.5; } } if (Key.isDown(38)) { bg._y = bg._y - 0.7; fg._y = fg._y + 3; } if (Key.isDown(40)) { bg._y = bg._y + 0.7; fg._y = fg._y - 3; } } } function pullUpZombies() { i = zombieSpots.length - 1; while (i >= 0) { zombieSpotsFade[i]++; if (distance < 5) { if (zombieSpotsFade[i] == 25) { randomNumber++; enemy_ = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_y:zombieSpots[i]._y + 880, _x:zombieSpots[i]._x}); depths.push(enemy_); enemy.push(enemy_); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(35); 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(25); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); hitPose.push(0); groundMarker.push(enemy_._y); alive.push(true); erase.push(0); eheld.push(false); thrownTimer.push(0); thrown.push(false); } } if (distance > 4) { zombieSpots[i]._alpha = 0; if (zombieSpotsFade[i] == 25) { randomNumber++; enemy_ = _root.attachMovie("superEnemy", "superEnemy" + randomNumber, _root.getNextHighestDepth(), {_y:350, _x:700}); depths.push(enemy_); enemy.push(enemy_); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(35); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push("rambo"); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(35); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); hitPose.push(0); groundMarker.push(enemy_._y); alive.push(true); erase.push(0); eheld.push(false); thrownTimer.push(0); thrown.push(false); } } if (zombieSpotsFade[i] == 40) { zombieSpots[i].removeMovieClip(); zombieSpots.splice(i, 1); zombieSpotsFade.splice(i, 1); depths.splice(i, 1); } i--; } } function addenemies() { hereTheyCome = true; } function actuallyAddEnemies() { if (hereTheyCome) { hereTheyComeTimer++; } if (hereTheyComeTimer == 30) { quake_sound.start(); randomNumber++; hole = _root.attachMovie("zombiehole", "zombiehole" + randomNumber, _root.getNextHighestDepth(), {_y:-500, _x:Math.round(Math.random() * 550) + 0}); zombieSpots.push(hole); zombieSpotsFade.push(0); depths.push(hole); } if (hereTheyComeTimer == 120) { quake_sound.start(); randomNumber++; hole = _root.attachMovie("zombiehole", "zombiehole" + randomNumber, _root.getNextHighestDepth(), {_y:-500, _x:Math.round(Math.random() * 550) + 0}); zombieSpots.push(hole); zombieSpotsFade.push(0); depths.push(hole); } if (hereTheyComeTimer == 240) { quake_sound.start(); randomNumber++; hole = _root.attachMovie("zombiehole", "zombiehole" + randomNumber, _root.getNextHighestDepth(), {_y:-500, _x:Math.round(Math.random() * 550) + 0}); zombieSpots.push(hole); zombieSpotsFade.push(0); depths.push(hole); hereTheyComeTimer = 0; hereTheyCome = false; } } function canAddPoint() { if (clicks == 0) { canAddComboPoint = true; } else { canAddComboPoint = false; } } function runAttackTimer() { if (attacking) { if (!jump) { playerSpeed = 0; } is_attacking++; } else { playerSpeed = 10; } } function confirmAttacking() { if (clicks > 0) { attacking = true; } } function comboOne() { if (!addSecondCombo) { if (!addThirdCombo) { if (addFirstCombo) { if (attacking) { if (jump) { if (!zombieMode) { player.gotoAndStop("aattack2"); } } if (!jump) { if (!zombieMode) { player.gotoAndStop("attack2"); } } if (is_attacking == 7) { if (jump && (player._y > 180)) { yspeed = 0; yspeed = yspeed - 20; } addFirstCombo = false; if (clicks == 1) { smack = 0; clicks = 0; is_attacking = 0; attacking = false; } if (clicks > 1) { smack = 0; addSecondCombo = true; } } } } } } } function comboTwo() { if (!addFirstCombo) { if (!addThirdCombo) { if (addSecondCombo) { if (attacking) { if (jump) { if (!zombieMode) { player.gotoAndStop("aattack"); } } if (!jump) { if (!zombieMode) { player.gotoAndStop("attack"); } } if (is_attacking == 14) { if (jump && (player._y > 180)) { yspeed = 0; yspeed = yspeed - 20; } addSecondCombo = false; if (clicks == 2) { smack = 0; clicks = 0; is_attacking = 0; attacking = false; } if (clicks > 2) { smack = 0; addThirdCombo = true; } } } } } } } function comboThree() { if (!addFirstCombo) { if (!addSecondCombo) { if (addThirdCombo) { if (attacking) { if (jump) { if (!zombieMode) { player.gotoAndStop("aattack3"); } } if (!jump) { if (!zombieMode) { player.gotoAndStop("attack3"); } } if (is_attacking == 22) { if (onfloor) { shake++; randomNumber++; hitGround2_mc = _root.attachMovie("splash2", "splash2" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); hitGround2_mc._xscale = player._xscale; } } if (is_attacking == 26) { if (jump && (player._y > 180)) { yspeed = 0; yspeed = yspeed - 20; } addThirdCombo = false; if (clicks == 3) { smack = 0; clicks = 0; is_attacking = 0; attacking = false; } if (clicks > 3) { smack = 0; clicks = 1; is_attacking = 0; addFirstCombo = true; } } } } } } } function playerMovement() { if (hitPlayer == 0) { var _local3 = player.transform.colorTransform; player.transform.colorTransform = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0); } if (hitPlayer == 1) { var _local3 = player.transform.colorTransform; _local3.rgb = 4294967295; player.transform.colorTransform = _local3; hitTimer++; if (hitTimer == 1) { hitPlayer = 0; hitTimer = 0; } } if (inControl) { if (!jumpAttack) { if (!rsprint) { if (!lsprint) { if (playerAlive) { if (!magic) { if (!sliding) { if (!forwardAttack) { if (!jump) { if (!special) { if (!attacking) { if (!running) { if (!zombieMode) { player.gotoAndStop("idle"); } if (zombieMode) { player.gotoAndStop("zidle"); } } if (running) { if (!zombieMode) { player.gotoAndStop("run"); } if (zombieMode) { player.gotoAndStop("zrun"); } } } } } } } } } } } } } if (sliding) { slidingTimer++; player.gotoAndStop("slide"); if (slidingRight) { player._x = player._x + (dashSpeed * 10); } if (slidingLeft) { player._x = player._x - (dashSpeed * 10); } if (slidingTimer == 3) { dashSpeed = 0; } if (slidingTimer == 5) { dashSpeed = 3; smack = 0; sliding = false; slidingTimer = 0; if (Key.isDown(68)) { if (hypArray[i] < 60) { if (!held) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; hit[i] = 0; damagedTimer[i] = 0; held = true; lifted = true; eheld[i] = true; canLift = false; zombieMode = true; } } } } } if (lsprint or rsprint) { player.gotoAndStop("sprint"); playerSpeed = 20; } else { playerSpeed = 10; } if (inControl) { if (playerAlive) { if (!held) { if (!magic) { if (!jumpAttack) { if (!forwardAttack) { if (!jump) { if (!special) { if (!attacking) { if (!running) { if (Key.isDown(39) && (!hit2)) { hit2 = true; if (lastPressA && ((getTimer() - lastPressA) < 250)) { swing_sound.start(); sliding = true; slidingRight = true; slidingLeft = false; rsprint = true; } lastPressA = getTimer(); } else if (!Key.isDown(39)) { hit2 = false; rsprint = false; } if (Key.isDown(37) && (!hit3)) { hit3 = true; if (lastPressB && ((getTimer() - lastPressB) < 250)) { swing_sound.start(); sliding = true; slidingRight = false; slidingLeft = true; lsprint = true; } lastPressB = getTimer(); } else if (!Key.isDown(37)) { hit3 = false; lsprint = false; } } } } } } } } } } } if (Key.isDown(68)) { if (canLift) { if (inControl) { if (!magic) { if (!rsprint) { if (!lsprint) { if (playerAlive) { if (!jumpAttack) { if (!sliding) { if (!forwardAttack) { if (!jump) { if (!attacking) { special = true; } } } } } } } } } } } } if (!Key.isDown(65)) { magicTimer = 0; pressHack = 0; } if (Key.isDown(65)) { if (jump) { if (inControl) { if (playerAlive) { if (!jumpAttack) { if (!sliding) { if (!forwardAttack) { if (!special) { if (!held) { if (!rsprint) { if (!lsprint) { if (pressHack == 0) { swing_sound.start(); pressHack = 1; if (canAddComboPoint) { addFirstCombo = true; } clicks++; } } } } } } } } } } } if (!jump) { if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(38))) { if (inControl) { if (!rsprint) { if (!lsprint) { if (playerAlive) { if (!jumpAttack) { if (!sliding) { if (!forwardAttack) { if (!special) { if (!held) { magicTimer++; if (pressHack == 0) { swing_sound.start(); pressHack = 1; if (canAddComboPoint) { addFirstCombo = true; } clicks++; } } if (held) { i = enemy.length - 1; while (i >= 0) { if (eheld[i]) { thrown[i] = true; eheld[i] = false; } i--; } } } } } } } } } } } } } if (special) { player.gotoAndStop("pickup"); specialTimer++; if (specialTimer == 19) { special = false; specialTimer = 0; } } if (!Key.isDown(83)) { pressOnceOnly = 0; } if (Key.isDown(83)) { if (inControl) { if (playerAlive) { if (!sliding) { if (!magic) { if (!rsprint) { if (!lsprint) { if (!forwardAttack) { if (!jumpAttack) { if (!airMagic) { if (!special) { if (onfloor) { if (pressOnceOnly == 0) { pressOnceOnly = 1; if (!attacking) { player.gotoAndStop("jump"); } jump = true; onfloor = false; yspeed = yspeed - jumpamount; _root.attachMovie("shadow_mc", "shadow_mc", 5, {_y:player._y, _x:player._x}); } } } } } } } } } } } } } shadow_mc._x = player._x; if (inControl) { if (playerAlive) { if (!sliding) { if (!magic) { if (!forwardAttack) { if (!jumpAttack) { if (!special) { if (!Key.isDown(40)) { running = false; } if (!Key.isDown(38)) { running = false; } if (!Key.isDown(39)) { running = false; } if (!Key.isDown(37)) { running = false; } if (Key.isDown(39)) { player._xscale = 100; player._x = player._x + playerSpeed; running = true; } if (Key.isDown(37)) { player._xscale = -100; player._x = player._x - playerSpeed; running = true; } if (Key.isDown(38)) { running = true; } if (Key.isDown(40)) { running = true; } } } } } } } } if (player._xscale == 100) { if (Key.isDown(39)) { if (Key.isDown(65)) { if (inControl) { if (playerAlive) { if (!jump) { if (!magic) { if (!rsprint) { if (!lsprint) { if (!jumpAttack) { if (!sliding) { if (!attacking) { if (!special) { if (!held) { forwardAttack = true; } } } } } } } } } } } } } } if (player._xscale == -100) { if (Key.isDown(37)) { if (Key.isDown(65)) { if (inControl) { if (playerAlive) { if (!sliding) { if (!jump) { if (!magic) { if (!rsprint) { if (!lsprint) { if (!jumpAttack) { if (!attacking) { if (!special) { if (!held) { forwardAttack = true; } } } } } } } } } } } } } } if (forwardAttack) { forwardAttackTimer++; player.gotoAndStop("knife1"); if (forwardAttackTimer == 12) { forwardAttackTimer = 0; forwardAttack = false; } } if (Key.isDown(38)) { if (Key.isDown(65)) { if (inControl) { if (playerAlive) { if (!sliding) { if (!jump) { if (!forwardAttack) { if (!attacking) { if (!special) { if (!rsprint) { if (!lsprint) { if (!held) { if (!magic) { jumpAttack = true; } } } } } } } } } } } } } if (magicTimer > 7) { magic = true; if (magicTimer < 32) { player.gotoAndStop("magic"); } if (magicTimer > 32) { player.gotoAndStop("shootmagic"); if (magicTimer > 40) { if (player._xscale == 100) { randomNumber++; fireball_mc = _root.attachMovie("fireball", "fireball" + randomNumber, _root.getNextHighestDepth(), {_y:player._y, _x:player._x}); shot.push(fireball_mc); fireball_mc.onEnterFrame = function () { this._x = this._x + 35; }; } if (player._xscale == -100) { randomNumber++; fireball_mc = _root.attachMovie("fireball", "fireball" + randomNumber, _root.getNextHighestDepth(), {_y:player._y, _x:player._x}); fireball_mc._xscale = -100; shot.push(fireball_mc); fireball_mc.onEnterFrame = function () { this._x = this._x - 35; }; } magicTimer = 0; } } } else { magic = false; } if (jumpAttack) { jumpAttackTimer++; player.gotoAndStop("jattack"); if (jumpAttackTimer == 10) { player.gotoAndStop("jump"); jump = true; onfloor = false; yspeed = yspeed - jumpamount; jumpAttackTimer = 0; jumpAttack = false; } } if ((!playerAlive) or (!inControl)) { clicks = 0; attacking = false; is_attacking = 0; jump = false; forwardAttack = false; forwardAttackTimer = 0; shootTimer = 0; magic = false; } if ((!playerAlive) && (onfloor)) { player.gotoAndStop("dead"); if (toGo == 0) { _root.attachMovie("trans", "trans", _root.getNextHighestDepth()); } toGo++; if (toGo == 27) { removeall(); stopAllSounds(); gotoAndStop ("game_over"); } } if (player._y < 70) { player._y = 70; } player._y = player._y + yspeed; if (player._y > 350) { shadow_mc.removeMovieClip(); initial = 0; onfloor = true; jump = false; yspeed = 0; player._y = 350; } else { yspeed = yspeed + (gravity * 2); } if (playerHealth < 0) { playerAlive = false; playerHealth = 0; } if (playerHealth > 100) { playerHealth = 100; } checking = checking + 0.1; if (checking == 0.2) { markDrop = player._y; checking = 0; } if (player._y > markDrop) { if (held) { crush = true; } } } stop(); hud._alpha = 0; playerBar._alpha = 0; manaBar._alpha = 0; ehit_sound = new Sound(); ehit_sound.attachSound("ehit"); quake_sound = new Sound(); quake_sound.attachSound("quake"); fbsfx_sound = new Sound(); fbsfx_sound.attachSound("fballsfx"); _root.attachMovie("cinemaLines", "cinemaLines", _root.getNextHighestDepth()); _root.attachMovie("comboBox", "comboBox", _root.getNextHighestDepth(), {_x:120, _y:425}); comboBox._x = -100; _root.attachMovie("player", "player", _root.getNextHighestDepth(), {_x:-50, _y:350}); jump = false; rambosKilled = 0; addSecondCombo = false; addThirdCombo = false; addFirstCombo = false; checking = 0; enemyrelease = 0; markDrop = player._y; crush = false; soapDrop = 0; pressThis = 0; deadTimer = 112; waitAsec = 0; initial = 0; playerAlive = true; comboCounter = 0; jumpamount = 40; magicAttack = 0; magic = false; magicTimer = 0; death_stick_timer = 0; yspeed = 0; shake = 0; jumpAttack = false; jumpAttackTimer = 0; hereTheyComeTimer = 0; playerHealth = 100; hereTheyCome = false; getThingsGoing = true; onfloor = true; displayTimer = 0; dashSpeed = 3; lsprint = false; rsprint = false; sliding = false; slidingTimer = 0; toGo = 0; playerPower = 1; gravity = 2; shootTimer = 0; bossOnesAttack = 0; randomNumber = 0; forwardAttack = false; forwardAttackTimer = 0; noBoss = true; pressOnceOnly = 0; pressHack = 0; specialTimer = 0; clicks = 0; playerSpeed = 10; is_attacking = 0; smack = 0; gotSoap = false; gotSoapTimer = 0; hitPlayer = 0; hitTimer = 0; enemySpeed = 70; yesGo = 0; moved = 0; markWave = 2; steps = 0; distance = 0; addBoss = 0; superPower = 100; enemyPower = 0.15; startGameTimer = 0; addRambo = 0; canLift = true; lifted = false; held = false; liftedTimer = 0; inControl = true; canGo = false; zombieMode = false; special = false; hit2 = false; hit3 = false; running = false; attacking = false; enemyNumber = 0; var zombieSpots = new Array(); var zombieSpotsFade = new Array(); var erase = new Array(); var alive = new Array(); var groundMarker = new Array(); var hitPose = 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 depths = new Array(); var eheld = new Array(); var thrown = new Array(); var thrownTimer = new Array(); player.onEnterFrame = function () { if (comboCounter > 0) { comboBox._x = 120; displayTimer--; } if (displayTimer < 0) { comboCounter = 0; displayTimer = 0; } if (displayTimer == 0) { comboBox._x = comboBox._x - 25; } startGameTimer++; if (startGameTimer < 75) { walkOn(); } superPower = superPower + 0.05; playerBar._xscale = playerHealth; manaBar._xscale = superPower; actuallyAddEnemies(); waveActions(); enemyHealthReachesZero(); if (((((((!special) && (!magic)) && (playerAlive)) && (!gotSoap)) && (inControl)) && (!jumpAttack)) && (!forwardAttack)) { pushHole(); pushenemy(); } if (startGameTimer > 60) { hud._alpha = hud._alpha + 20; playerBar._alpha = playerBar._alpha + 10; manaBar._alpha = manaBar._alpha + 10; } if (hud._alpha > 100) { hud._alpha = 100; } if (playerBar._alpha > 100) { playerBar._alpha = 100; } if (manaBar._alpha > 100) { manaBar._alpha = 100; } box(); shotActions(); pullUpZombies(); swapdepthsforenemies(); noOverLap(); swapdepths(); playerMovement(); comboOne(); comboTwo(); comboThree(); runAttackTimer(); canAddPoint(); confirmAttacking(); calculateHyp(); enemyMovement(); shaker(); soapActions(); fgmove(); fbhit_mc.swapDepths(_root.getNextHighestDepth()); hitEm.swapDepths(_root.getNextHighestDepth()); blood_mc.swapDepths(_root.getNextHighestDepth()); sfg.swapDepths(_root.getNextHighestDepth()); sfg2.swapDepths(_root.getNextHighestDepth()); night.swapDepths(_root.getNextHighestDepth()); comboBox.swapDepths(_root.getNextHighestDepth()); trans.swapDepths(_root.getNextHighestDepth()); cinemaLines.swapDepths(_root.getNextHighestDepth()); };
Frame 14
player.removeMovieClip(); stopAllSounds(); play();
Frame 15
stop(); player.removeMovieClip(); toGo = 0; scene.onEnterFrame = function () { toGo++; if (toGo == 108) { _root.attachMovie("trans", "trans", _root.getNextHighestDepth()); } if (toGo == 135) { stopAllSounds(); nextFrame(); } };
Frame 16
player.removeMovieClip(); stopAllSounds(); play();
Frame 17
function walkOn() { inControl = false; if (player._x < 120) { player.gotoAndStop("run"); player._x = player._x + playerSpeed; } else { inControl = true; } } function removeall() { comboBox.removeMovieClip(); nearground.removeMovieClip(); sfg.removeMovieClip(); sfg2.removeMovieClip(); removeshot(); removeport(); removepickAttack(); removemoveAbout(); removeblocks(); removeDead_body(); removeType(); removeHypArray(); removeEnemyHealth(); removeDamagedTimer(); removeHit(); removeEnemyAttackingTimer(); removeEnemyAttacking(); removeEnemy(); removewhere(); removebeingSmacked(); removeonPlatform(); removeportTimer(); removeeyspeed(); removeejumpamount(); removeejump(); removeeonfloor(); removeedropping(); removepotions(); removeboxes(); removeboxHealth(); removeboxHit(); removeboxHitTimer(); removepotionType(); removeDepths(); removezombieSpots(); removezombieSpotsFade(); removeerase(); removealive(); removegroundMarker(); removehitPose(); removeeheld(); removethrownTimer(); removethrown(); } function removethrownTimer() { i = thrownTimer.length - 1; while (i >= 0) { thrownTimer[i].removeMovieClip(); thrownTimer.splice(i, 1); i--; } } function removethrown() { i = thrown.length - 1; while (i >= 0) { thrown[i].removeMovieClip(); thrown.splice(i, 1); i--; } } function removeeheld() { i = eheld.length - 1; while (i >= 0) { eheld[i].removeMovieClip(); eheld.splice(i, 1); i--; } } function removezombieSpots() { i = zombieSpots.length - 1; while (i >= 0) { zombieSpots[i].removeMovieClip(); zombieSpots.splice(i, 1); i--; } } function removezombieSpotsFade() { i = zombieSpotsFade.length - 1; while (i >= 0) { zombieSpotsFade[i].removeMovieClip(); zombieSpotsFade.splice(i, 1); i--; } } function removeerase() { i = erase.length - 1; while (i >= 0) { erase[i].removeMovieClip(); erase.splice(i, 1); i--; } } function removealive() { i = alive.length - 1; while (i >= 0) { alive[i].removeMovieClip(); alive.splice(i, 1); i--; } } function removegroundMarker() { i = groundMarker.length - 1; while (i >= 0) { groundMarker[i].removeMovieClip(); groundMarker.splice(i, 1); i--; } } function removehitPose() { i = hitPose.length - 1; while (i >= 0) { hitPose[i].removeMovieClip(); hitPose.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 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 removeeyspeed() { i = eyspeed.length - 1; while (i >= 0) { eyspeed[i].removeMovieClip(); eyspeed.splice(i, 1); i--; } } function removeejumpamount() { i = ejumpamount.length - 1; while (i >= 0) { ejumpamount[i].removeMovieClip(); ejumpamount.splice(i, 1); i--; } } function removeejump() { i = ejump.length - 1; while (i >= 0) { ejump[i].removeMovieClip(); ejump.splice(i, 1); i--; } } function removeeonfloor() { i = eonfloor.length - 1; while (i >= 0) { eonfloor[i].removeMovieClip(); eonfloor.splice(i, 1); i--; } } function removeedropping() { i = edropping.length - 1; while (i >= 0) { edropping[i].removeMovieClip(); edropping.splice(i, 1); i--; } } function removeportTimer() { i = portTimer.length - 1; while (i >= 0) { portTimer[i].removeMovieClip(); portTimer.splice(i, 1); i--; } } function removeshot() { i = shot.length - 1; while (i >= 0) { shot[i].removeMovieClip(); shot.splice(i, 1); i--; } } function removeport() { i = port.length - 1; while (i >= 0) { port[i].removeMovieClip(); port.splice(i, 1); i--; } } function removepickAttack() { i = pickAttack.length - 1; while (i >= 0) { pickAttack[i].removeMovieClip(); pickAttack.splice(i, 1); i--; } } function removeblocks() { i = blocks.length - 1; while (i >= 0) { blocks[i].removeMovieClip(); blocks.splice(i, 1); i--; } } function removebeingSmacked() { i = beingSmacked.length - 1; while (i >= 0) { beingSmacked[i].removeMovieClip(); beingSmacked.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 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 removeDepths() { i = depths.length - 1; while (i >= 0) { depths[i].removeMovieClip(); depths.splice(i, 1); i--; } } function shaker() { if (shake == 0) { _root._x = 0; _root._y = 0; } else if (shake == 1) { shake = shake + 1; _root._x = _root._x + 2; _root._y = _root._y + 2; } else if (shake == 2) { shake = shake + 1; _root._y = _root._y - 4; _root._x = _root._x - 4; } else if (shake == 3) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 4) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 5) { shake = shake + 1; _root._x = 4; _root._y = 4; } else if (shake == 6) { shake = shake + 1; _root._x = 2; _root._y = 2; } else if (shake == 7) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 8) { shake = shake + 1; _root._x = _root._x + 2; _root._y = _root._y + 2; } else if (shake == 9) { shake = shake + 1; _root._y = _root._y - 4; _root._x = _root._x - 4; } else if (shake == 10) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 11) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 12) { shake = shake + 1; _root._x = 4; _root._y = 4; } else if (shake == 13) { shake = shake + 1; _root._x = 2; _root._y = 2; } else if (shake == 14) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 15) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 16) { shake = shake + 1; _root._x = _root._x + 2; _root._y = _root._y + 2; } else if (shake == 17) { shake = shake + 1; _root._y = _root._y - 4; _root._x = _root._x - 4; } else if (shake == 18) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 19) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 20) { shake = shake + 1; _root._x = 4; _root._y = 4; } else if (shake == 21) { shake = shake + 1; _root._x = 2; _root._y = 2; } else if (shake == 22) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 23) { shake = shake + 1; _root._x = _root._x + 2; _root._y = _root._y + 2; } else if (shake == 24) { shake = shake + 1; _root._y = _root._y - 4; _root._x = _root._x - 4; } else if (shake == 25) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 26) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 27) { shake = shake + 1; _root._x = 4; _root._y = 4; } else if (shake == 28) { shake = shake + 1; _root._x = 2; _root._y = 2; } else if (shake == 29) { shake = 0; _root._x = 0; _root._y = 0; } } function waveActions() { if (((distance == 6) && (markWave < 0)) && (!canGo)) { inControl = false; if (waitAsec < 60) { if (!zombieMode) { player.gotoAndStop("idle"); } if (zombieMode) { player.gotoAndStop("zidle"); } } waitAsec++; if (waitAsec > 59) { player._xscale = 100; if (!zombieMode) { player.gotoAndStop("run"); } if (zombieMode) { player.gotoAndStop("zrun"); } player._x = player._x + playerSpeed; if (player._x > 710) { if (toGo == 0) { _root.attachMovie("trans", "trans", _root.getNextHighestDepth()); } toGo++; if (toGo == 27) { removeall(); stopAllSounds(); nextFrame(); } } } } if (getThingsGoing) { if (startGameTimer > 80) { addenemies(); getThingsGoing = false; } } if (distance < 6) { if (markWave < 0) { if (player._x < 410) { if (yesGo == 0) { distance++; _root.attachMovie("gogo", "gogo", _root.getNextHighestDepth()); } yesGo = 1; canGo = true; } } } if (steps > 130) { addenemies(); gogo.removeMovieClip(); yesGo = 0; markWave = 2; canGo = false; steps = 0; } } function shotActions() { i = shot.length - 1; while (i >= 0) { if ((shot[i]._x > 640) or (shot[i]._x < 0)) { shot[i].removeMovieClip(); shot.splice(i, 1); } j = enemy.length - 1; while (j >= 0) { if (shot[i].hitTest(enemy[j])) { if (type[j] == 0) { ejump[j] = true; eonfloor[j] = false; eyspeed[j] = 0; eyspeed[j] = eyspeed[j] - ejumpamount[j]; } hitPose[j]++; if (hitPose[j] > 1) { hitPose[j] = 0; } enemyHealth[j] = enemyHealth[j] - 5; randomNumber++; fbhit_mc = _root.attachMovie("fbhit", "fbhit" + randomNumber, _root.getNextHighestDepth(), {_y:shot[i]._y, _x:shot[i]._x}); fbhit_mc._xscale = shot[i]._xscale; randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[j]._y, _x:enemy[j]._x}); ehit_sound.start(); beingSmacked[j]++; randomNumber++; comboCounter++; displayTimer = 16; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[j]._x, _y:enemy[j]._y}); comboBox.cnum.text = comboCounter; hit[j] = 1; damagedTimer[j] = 0; shot[i].removeMovieClip(); shot.splice(i, 1); } j--; } i--; } } function swapdepths() { i = depths.length - 1; while (i >= 0) { j = enemy.length - 1; while (j >= 0) { if (!eheld[i]) { if ((!jump) && (!ejump[i])) { if (player._y < depths[i]._y) { depths[i].swapDepths(_root.getNextHighestDepth()); } if (player._y > depths[i]._y) { player.swapDepths(_root.getNextHighestDepth()); } } } j--; } i--; } } function swapdepthsforenemies() { i = enemy.length - 1; while (i >= 0) { j = depths.length - 1; while (j >= 0) { if (enemy[i]._y < depths[j]._y) { depths[j].swapDepths(_root.getNextHighestDepth()); } if (enemy[i]._y > depths[j]._y) { enemy[i].swapDepths(_root.getNextHighestDepth()); } j--; } i--; } } 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 (alive[i] && (type[i] == 0)) { endX = _root.enemy[j]._x; enemy[i]._x = enemy[i]._x - ((endX - enemy[i]._x) / enemySpeed); } } } j--; } 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.round(Math.sqrt((dist_x * dist_x) + (dist_y * dist_y))); i--; } } function enemyHealthReachesZero() { i = enemy.length - 1; while (i >= 0) { if (enemyHealth[i] < 1) { alive[i] = false; erase[i]++; if (erase[i] == 40) { markWave--; enemy[i].removeMovieClip(); enemy.splice(i, 1); portTimer.splice(i, 1); hit.splice(i, 1); type.splice(i, 1); damagedTimer.splice(i, 1); enemyHealth.splice(i, 1); enemyAttacking.splice(i, 1); enemyAttackingTimer.splice(i, 1); hypArray.splice(i, 1); moveAbout.splice(i, 1); where.splice(i, 1); onPlatform.splice(i, 1); beingSmacked.splice(i, 1); pickAttack.splice(i, 1); port.splice(i, 1); edropping.splice(i, 1); eonfloor.splice(i, 1); ejump.splice(i, 1); ejumpamount.splice(i, 1); eyspeed.splice(i, 1); alive.splice(i, 1); erase.splice(i, 1); groundMarker.splice(i, 1); hitPose.splice(i, 1); eheld.splice(i, 1); thrownTimer.splice(i, 1); thrown.splice(i, 1); } } i--; } } function enemyMovement() { i = enemy.length - 1; while (i >= 0) { enemy[i].ebar._xscale = enemyHealth[i]; if (type[i] == "rambo") { if (!alive[i]) { enemy[i].gotoAndStop("dead"); } if (ejump[i]) { enemy[i]._y = enemy[i]._y + eyspeed[i]; if (enemy[i]._y > groundMarker[i]) { edropping[i] = false; eonfloor[i] = true; ejump[i] = false; eyspeed[i] = 0; enemy[i]._y = groundMarker[i]; } else { if (enemy[i]._xscale == 100) { enemy[i]._x = enemy[i]._x + 2; } else { enemy[i]._x = enemy[i]._x - 2; } eyspeed[i] = eyspeed[i] + (gravity * 2); } } if (alive[i]) { if (!playerAlive) { hit[i] = 0; damagedTimer[i] = 0; enemy[i].gotoAndStop("idle"); enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 50) + 0; } if (playerAlive) { if (player.hitTest(enemy[i])) { if (eonfloor[i] && (enemyAttackingTimer[i] < 100)) { if ((forwardAttackTimer == 6) or (jumpAttackTimer == 6)) { if (hypArray[i] < 150) { groundMarker[i] = enemy[i]._y; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = eyspeed[i] - ejumpamount[i]; hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } if ((!jump) && (is_attacking == 22)) { if (hypArray[i] < 150) { groundMarker[i] = enemy[i]._y; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } if (jump) { if (is_attacking == 4) { groundMarker[i] = enemy[i]._y; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = eyspeed[i] - ejumpamount[i]; hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } } } if (player._x < enemy[i]._x) { enemy[i]._xscale = 100; } else { enemy[i]._xscale = -100; } if ((hypArray[i] < 200) && (eonfloor[i])) { if (enemyAttacking[i] == 1) { if (enemy[i].hitTest(player)) { invisible = false; player._alpha = 100; if (((!zombieMode) && (!special)) && (!gotSoap)) { hitPlayer = 1; playerHealth = playerHealth - (enemyPower * 1.5); } } } enemyAttackingTimer[i]++; } else { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; } if (enemyAttackingTimer[i] > 100) { enemy[i].gotoAndStop("attack"); enemyAttacking[i] = 1; if (enemyAttackingTimer[i] == 147) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; pickAttack[i] = Math.round(Math.random() * 3) + 0; } } if (enemyAttacking[i] == 0) { if (enemy[i].hitTest(player)) { if (jump) { if (((((((is_attacking == 3) or (is_attacking == 10)) or (is_attacking == 16)) or (is_attacking == 20)) or (is_attacking == 22)) or (is_attacking == 24)) or (is_attacking == 26)) { if (hypArray[i] < 150) { if (ejump[i]) { ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - (ejumpamount[i] - 20); } hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } } if (!jump) { if ((((slidingTimer == 3) or (is_attacking == 4)) or (is_attacking == 11)) or (is_attacking == 22)) { if (hypArray[i] < 150) { hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } } } if (hit[i] == 1) { if (ejump[i]) { if (hitPose[i] == 0) { enemy[i].gotoAndStop("ahit1"); } if (hitPose[i] == 1) { enemy[i].gotoAndStop("ahit2"); } } if (!ejump[i]) { if (hitPose[i] == 0) { enemy[i].gotoAndStop("hit1"); } if (hitPose[i] == 1) { enemy[i].gotoAndStop("hit2"); } } enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] == 15) { hit[i] = 0; damagedTimer[i] = 0; } } if ((hit[i] == 0) && (eonfloor[i])) { portTimer[i]++; if (portTimer[i] > 32) { where[i] = Math.round(Math.random() * 2) + 0; moveAbout[i] = Math.round(Math.random() * 1) + 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) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 75) / enemySpeed); if (!jump) { enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 1) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 75) / enemySpeed); if (!jump) { enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } } else { if (!ejump[i]) { enemy[i].gotoAndStop("idle"); } if (ejump[i]) { enemy[i].gotoAndStop("aidle"); } } } } } } } if (type[i] == 0) { if (!alive[i]) { enemy[i]._y = enemy[i]._y + eyspeed[i]; if (enemy[i]._y > groundMarker[i]) { edropping[i] = false; eonfloor[i] = true; ejump[i] = false; eyspeed[i] = 0; enemy[i]._y = groundMarker[i]; } else { if (enemy[i]._xscale == 100) { enemy[i]._x = enemy[i]._x + 2; } else { enemy[i]._x = enemy[i]._x - 2; } eyspeed[i] = eyspeed[i] + (gravity * 2); } enemy[i].gotoAndStop("dead"); } if (thrown[i]) { if (thrownTimer[i] == 0) { ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - (ejumpamount[i] - 10); } if (thrownTimer[i] == 25) { enemyHealth[i] = 0; thrown[i] = false; thrownTimer[i] = 0; randomNumber++; enemy_ = _root.attachMovie("zsuperEnemy", "superEnemy" + randomNumber, _root.getNextHighestDepth(), {_y:350, _x:700}); depths.push(enemy_); enemy.push(enemy_); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(35); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push("rambo"); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(35); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); hitPose.push(0); groundMarker.push(enemy_._y); alive.push(true); erase.push(0); eheld.push(false); thrownTimer.push(0); thrown.push(false); markWave++; } thrownTimer[i]++; gravity = 2; crush = false; held = false; zombieMode = false; canLift = true; enemy[i]._y = enemy[i]._y + eyspeed[i]; if (enemy[i]._y > groundMarker[i]) { edropping[i] = false; eonfloor[i] = true; ejump[i] = false; eyspeed[i] = 0; enemy[i]._y = groundMarker[i]; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - (ejumpamount[i] * 1.2); } else { if (enemy[i]._xscale == 100) { enemy[i]._x = enemy[i]._x + 30; } else { enemy[i]._x = enemy[i]._x - 30; } eyspeed[i] = eyspeed[i] + (gravity * 2); } } if (eheld[i]) { enemy[i].swapDepths(_root.getNextHighestDepth()); if (crush) { gravity = gravity * 4; enemy[i]._y = enemy[i]._y + 30; } if (crush && (onfloor)) { shake++; randomNumber++; hitGround_mc = _root.attachMovie("splash", "splash" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); hitGround_mc._xscale = player._xscale; enemyHealth[i] = 0; gravity = 2; eheld[i] = false; crush = false; held = false; zombieMode = false; canLift = true; ehit_sound.start(); randomNumber++; enemy_ = _root.attachMovie("zsuperEnemy", "superEnemy" + randomNumber, _root.getNextHighestDepth(), {_y:350, _x:700}); depths.push(enemy_); enemy.push(enemy_); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(35); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push("rambo"); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(35); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); hitPose.push(0); groundMarker.push(enemy_._y); alive.push(true); erase.push(0); eheld.push(false); thrownTimer.push(0); thrown.push(false); markWave++; } if (alive[i]) { enemy[i].gotoAndStop("held"); enemy[i]._x = player._x; enemy[i]._xscale = player._xscale; } if (jump && (!crush)) { enemy[i]._y = player._y - 100; } } if (player.hitTest(enemy[i])) { if (specialTimer > 14) { if (hypArray[i] < 60) { if (!held) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; hit[i] = 0; damagedTimer[i] = 0; held = true; lifted = true; eheld[i] = true; canLift = false; zombieMode = true; } } } } if (lifted) { if (eheld[i]) { if (liftedTimer == 0) { groundMarker[i] = enemy[i]._y; } if (liftedTimer < 5) { enemy[i]._y = player._y - 120; } if (liftedTimer == 5) { lifted = false; liftedTimer = 0; } liftedTimer++; } } if ((!eheld[i]) && (!thrown[i])) { if (ejump[i]) { enemy[i]._y = enemy[i]._y + eyspeed[i]; if (enemy[i]._y > groundMarker[i]) { edropping[i] = false; eonfloor[i] = true; ejump[i] = false; eyspeed[i] = 0; enemy[i]._y = groundMarker[i]; } else { if (enemy[i]._xscale == 100) { enemy[i]._x = enemy[i]._x + 2; } else { enemy[i]._x = enemy[i]._x - 2; } eyspeed[i] = eyspeed[i] + (gravity * 2); } } if (alive[i]) { if (!playerAlive) { hit[i] = 0; damagedTimer[i] = 0; enemy[i].gotoAndStop("idle"); enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 50) + 0; } if (playerAlive) { if (player.hitTest(enemy[i])) { if (eonfloor[i] && (enemyAttackingTimer[i] < 100)) { if ((forwardAttackTimer == 6) or (jumpAttackTimer == 6)) { if (hypArray[i] < 150) { groundMarker[i] = enemy[i]._y; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = eyspeed[i] - ejumpamount[i]; hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } if ((!jump) && (is_attacking == 22)) { if (hypArray[i] < 150) { groundMarker[i] = enemy[i]._y; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = eyspeed[i] - ejumpamount[i]; } } if (jump) { if (is_attacking == 4) { groundMarker[i] = enemy[i]._y; ejump[i] = true; eonfloor[i] = false; eyspeed[i] = eyspeed[i] - ejumpamount[i]; hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } } } if (player._x < enemy[i]._x) { enemy[i]._xscale = 100; } else { enemy[i]._xscale = -100; } if ((hypArray[i] < 200) && (eonfloor[i])) { if (enemyAttacking[i] == 1) { if (enemy[i].hitTest(player)) { invisible = false; player._alpha = 100; if (((!zombieMode) && (!special)) && (!gotSoap)) { hitPlayer = 1; playerHealth = playerHealth - (enemyPower * 1.5); } } } enemyAttackingTimer[i]++; } else { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; } if (enemyAttackingTimer[i] > 100) { enemy[i].gotoAndStop("attack"); enemyAttacking[i] = 1; if (enemyAttackingTimer[i] == 110) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; pickAttack[i] = Math.round(Math.random() * 3) + 0; } } if (enemyAttacking[i] == 0) { if (enemy[i].hitTest(player)) { if (jump) { if (((((((is_attacking == 3) or (is_attacking == 10)) or (is_attacking == 16)) or (is_attacking == 20)) or (is_attacking == 22)) or (is_attacking == 24)) or (is_attacking == 26)) { if (hypArray[i] < 150) { if (ejump[i]) { ejump[i] = true; eonfloor[i] = false; eyspeed[i] = 0; eyspeed[i] = eyspeed[i] - (ejumpamount[i] - 20); } hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } } if (!jump) { if ((((slidingTimer == 3) or (is_attacking == 4)) or (is_attacking == 11)) or (is_attacking == 22)) { if (hypArray[i] < 150) { hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } } } if (hit[i] == 1) { if (ejump[i]) { if (hitPose[i] == 0) { enemy[i].gotoAndStop("ahit1"); } if (hitPose[i] == 1) { enemy[i].gotoAndStop("ahit2"); } } if (!ejump[i]) { if (hitPose[i] == 0) { enemy[i].gotoAndStop("hit1"); } if (hitPose[i] == 1) { enemy[i].gotoAndStop("hit2"); } } enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] == 15) { hit[i] = 0; damagedTimer[i] = 0; } } if ((hit[i] == 0) && (eonfloor[i])) { portTimer[i]++; if (portTimer[i] > 32) { where[i] = Math.round(Math.random() * 2) + 0; moveAbout[i] = Math.round(Math.random() * 1) + 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) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 75) / enemySpeed); if (!jump) { enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 1) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 75) / enemySpeed); if (!jump) { enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } } else { if (!ejump[i]) { enemy[i].gotoAndStop("idle"); } if (ejump[i]) { enemy[i].gotoAndStop("aidle"); } } } } } } } } i--; } } function pushenemy() { i = enemy.length - 1; while (i >= 0) { if (!attacking) { if (!eheld[i]) { if (Key.isDown(38)) { if ((fg._y > 120) && (fg._y < 240)) { enemy[i]._y = enemy[i]._y + 3; } } if (Key.isDown(40)) { if ((fg._y > 120) && (fg._y < 240)) { enemy[i]._y = enemy[i]._y - 3; } } } } i--; } } function pushHole() { i = zombieSpots.length - 1; while (i >= 0) { if (Key.isDown(38)) { if ((fg._y > 120) && (fg._y < 240)) { zombieSpots[i]._y = zombieSpots[i]._y + 3; } } if (Key.isDown(40)) { if ((fg._y > 120) && (fg._y < 240)) { zombieSpots[i]._y = zombieSpots[i]._y - 3; } } i--; } } function fgmove() { if ((player._x < 46) && (inControl)) { player._x = 46; } if (canGo && (inControl)) { if (fg._x > -1916.9) { if (player._x > 410) { i = enemy.length - 1; while (i >= 0) { enemy[i]._x = enemy[i]._x - 5; i--; } j = boxes.length - 1; while (j >= 0) { boxes[j]._x = boxes[j]._x - 5; j--; } k = potions.length - 1; while (k >= 0) { potions[k]._x = potions[k]._x - 5; k--; } moved++; sfg._x = sfg._x - 5; sfg2._x = sfg2._x - 5; bg._x = bg._x - 5; fg._x = fg._x - 5; steps++; player._x = 410; } } } if ((player._x > 590) && (inControl)) { player._x = 590; } if (fg._y < 120) { fg._y = 120; } if (bg._y < 10) { bg._y = 10; } if (bg._y > 30) { bg._y = 30; } if (fg._y > 240) { fg._y = 240; } if ((((((((!special) && (!magic)) && (playerAlive)) && (!gotSoap)) && (inControl)) && (!attacking)) && (!jumpAttack)) && (!forwardAttack)) { if (Key.isDown(38)) { if ((fg._y > 120) && (fg._y < 240)) { sfg._y = sfg._y + 4.5; sfg2._y = sfg2._y + 4.5; } } if (Key.isDown(40)) { if ((fg._y > 120) && (fg._y < 240)) { sfg._y = sfg._y - 4.5; sfg2._y = sfg2._y - 4.5; } } if (Key.isDown(38)) { bg._y = bg._y - 0.7; fg._y = fg._y + 3; } if (Key.isDown(40)) { bg._y = bg._y + 0.7; fg._y = fg._y - 3; } } } function pullUpZombies() { i = zombieSpots.length - 1; while (i >= 0) { zombieSpotsFade[i]++; if (distance < 5) { if (zombieSpotsFade[i] == 25) { randomNumber++; enemy_ = _root.attachMovie("zenemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_y:zombieSpots[i]._y + 880, _x:zombieSpots[i]._x}); depths.push(enemy_); enemy.push(enemy_); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(35); 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(25); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); hitPose.push(0); groundMarker.push(enemy_._y); alive.push(true); erase.push(0); eheld.push(false); thrownTimer.push(0); thrown.push(false); } } if (distance > 4) { zombieSpots[i]._alpha = 0; if (zombieSpotsFade[i] == 25) { randomNumber++; enemy_ = _root.attachMovie("zsuperEnemy", "superEnemy" + randomNumber, _root.getNextHighestDepth(), {_y:350, _x:700}); depths.push(enemy_); enemy.push(enemy_); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(35); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push("rambo"); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(35); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); hitPose.push(0); groundMarker.push(enemy_._y); alive.push(true); erase.push(0); eheld.push(false); thrownTimer.push(0); thrown.push(false); } } if (zombieSpotsFade[i] == 40) { zombieSpots[i].removeMovieClip(); zombieSpots.splice(i, 1); zombieSpotsFade.splice(i, 1); depths.splice(i, 1); } i--; } } function addenemies() { hereTheyCome = true; } function actuallyAddEnemies() { if (hereTheyCome) { hereTheyComeTimer++; } if (hereTheyComeTimer == 30) { quake_sound.start(); randomNumber++; hole = _root.attachMovie("zzombiehole", "zombiehole" + randomNumber, _root.getNextHighestDepth(), {_y:-500, _x:Math.round(Math.random() * 550) + 0}); zombieSpots.push(hole); zombieSpotsFade.push(0); depths.push(hole); } if (hereTheyComeTimer == 120) { quake_sound.start(); randomNumber++; hole = _root.attachMovie("zzombiehole", "zombiehole" + randomNumber, _root.getNextHighestDepth(), {_y:-500, _x:Math.round(Math.random() * 550) + 0}); zombieSpots.push(hole); zombieSpotsFade.push(0); depths.push(hole); } if (hereTheyComeTimer == 240) { quake_sound.start(); randomNumber++; hole = _root.attachMovie("zzombiehole", "zombiehole" + randomNumber, _root.getNextHighestDepth(), {_y:-500, _x:Math.round(Math.random() * 550) + 0}); zombieSpots.push(hole); zombieSpotsFade.push(0); depths.push(hole); hereTheyComeTimer = 0; hereTheyCome = false; } } function canAddPoint() { if (clicks == 0) { canAddComboPoint = true; } else { canAddComboPoint = false; } } function runAttackTimer() { if (attacking) { if (!jump) { playerSpeed = 0; } is_attacking++; } else { playerSpeed = 10; } } function confirmAttacking() { if (clicks > 0) { attacking = true; } } function comboOne() { if (!addSecondCombo) { if (!addThirdCombo) { if (addFirstCombo) { if (attacking) { if (jump) { if (!zombieMode) { player.gotoAndStop("aattack2"); } } if (!jump) { if (!zombieMode) { player.gotoAndStop("attack2"); } } if (is_attacking == 7) { if (jump && (player._y > 180)) { yspeed = 0; yspeed = yspeed - 20; } addFirstCombo = false; if (clicks == 1) { smack = 0; clicks = 0; is_attacking = 0; attacking = false; } if (clicks > 1) { smack = 0; addSecondCombo = true; } } } } } } } function comboTwo() { if (!addFirstCombo) { if (!addThirdCombo) { if (addSecondCombo) { if (attacking) { if (jump) { if (!zombieMode) { player.gotoAndStop("aattack"); } } if (!jump) { if (!zombieMode) { player.gotoAndStop("attack"); } } if (is_attacking == 14) { if (jump && (player._y > 180)) { yspeed = 0; yspeed = yspeed - 20; } addSecondCombo = false; if (clicks == 2) { smack = 0; clicks = 0; is_attacking = 0; attacking = false; } if (clicks > 2) { smack = 0; addThirdCombo = true; } } } } } } } function comboThree() { if (!addFirstCombo) { if (!addSecondCombo) { if (addThirdCombo) { if (attacking) { if (jump) { if (!zombieMode) { player.gotoAndStop("aattack3"); } } if (!jump) { if (!zombieMode) { player.gotoAndStop("attack3"); } } if (is_attacking == 22) { if (onfloor) { shake++; randomNumber++; hitGround2_mc = _root.attachMovie("splash2", "splash2" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); hitGround2_mc._xscale = player._xscale; } } if (is_attacking == 26) { if (jump && (player._y > 180)) { yspeed = 0; yspeed = yspeed - 20; } addThirdCombo = false; if (clicks == 3) { smack = 0; clicks = 0; is_attacking = 0; attacking = false; } if (clicks > 3) { smack = 0; clicks = 1; is_attacking = 0; addFirstCombo = true; } } } } } } } function playerMovement() { if (hitPlayer == 0) { var _local3 = player.transform.colorTransform; player.transform.colorTransform = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0); } if (hitPlayer == 1) { var _local3 = player.transform.colorTransform; _local3.rgb = 4294967295; player.transform.colorTransform = _local3; hitTimer++; if (hitTimer == 1) { hitPlayer = 0; hitTimer = 0; } } if (inControl) { if (!jumpAttack) { if (!rsprint) { if (!lsprint) { if (playerAlive) { if (!magic) { if (!sliding) { if (!forwardAttack) { if (!jump) { if (!special) { if (!attacking) { if (!running) { if (!zombieMode) { player.gotoAndStop("idle"); } if (zombieMode) { player.gotoAndStop("zidle"); } } if (running) { if (!zombieMode) { player.gotoAndStop("run"); } if (zombieMode) { player.gotoAndStop("zrun"); } } } } } } } } } } } } } if (sliding) { slidingTimer++; player.gotoAndStop("slide"); if (slidingRight) { player._x = player._x + (dashSpeed * 10); } if (slidingLeft) { player._x = player._x - (dashSpeed * 10); } if (slidingTimer == 3) { dashSpeed = 0; } if (slidingTimer == 5) { dashSpeed = 3; smack = 0; sliding = false; slidingTimer = 0; if (Key.isDown(68)) { if (hypArray[i] < 60) { if (!held) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; hit[i] = 0; damagedTimer[i] = 0; held = true; lifted = true; eheld[i] = true; canLift = false; zombieMode = true; } } } } } if (lsprint or rsprint) { player.gotoAndStop("sprint"); playerSpeed = 20; } else { playerSpeed = 10; } if (inControl) { if (playerAlive) { if (!held) { if (!magic) { if (!jumpAttack) { if (!forwardAttack) { if (!jump) { if (!special) { if (!attacking) { if (!running) { if (Key.isDown(39) && (!hit2)) { hit2 = true; if (lastPressA && ((getTimer() - lastPressA) < 250)) { swing_sound.start(); sliding = true; slidingRight = true; slidingLeft = false; rsprint = true; } lastPressA = getTimer(); } else if (!Key.isDown(39)) { hit2 = false; rsprint = false; } if (Key.isDown(37) && (!hit3)) { hit3 = true; if (lastPressB && ((getTimer() - lastPressB) < 250)) { swing_sound.start(); sliding = true; slidingRight = false; slidingLeft = true; lsprint = true; } lastPressB = getTimer(); } else if (!Key.isDown(37)) { hit3 = false; lsprint = false; } } } } } } } } } } } if (Key.isDown(68)) { if (canLift) { if (inControl) { if (!magic) { if (!rsprint) { if (!lsprint) { if (playerAlive) { if (!jumpAttack) { if (!sliding) { if (!forwardAttack) { if (!jump) { if (!attacking) { special = true; } } } } } } } } } } } } if (!Key.isDown(65)) { magicTimer = 0; pressHack = 0; } if (Key.isDown(65)) { if (jump) { if (inControl) { if (playerAlive) { if (!jumpAttack) { if (!sliding) { if (!forwardAttack) { if (!special) { if (!held) { if (!rsprint) { if (!lsprint) { if (pressHack == 0) { swing_sound.start(); pressHack = 1; if (canAddComboPoint) { addFirstCombo = true; } clicks++; } } } } } } } } } } } if (!jump) { if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(38))) { if (inControl) { if (!rsprint) { if (!lsprint) { if (playerAlive) { if (!jumpAttack) { if (!sliding) { if (!forwardAttack) { if (!special) { if (!held) { magicTimer++; if (pressHack == 0) { swing_sound.start(); pressHack = 1; if (canAddComboPoint) { addFirstCombo = true; } clicks++; } } if (held) { i = enemy.length - 1; while (i >= 0) { if (eheld[i]) { thrown[i] = true; eheld[i] = false; } i--; } } } } } } } } } } } } } if (special) { player.gotoAndStop("pickup"); specialTimer++; if (specialTimer == 19) { special = false; specialTimer = 0; } } if (!Key.isDown(83)) { pressOnceOnly = 0; } if (Key.isDown(83)) { if (inControl) { if (playerAlive) { if (!sliding) { if (!magic) { if (!rsprint) { if (!lsprint) { if (!forwardAttack) { if (!jumpAttack) { if (!airMagic) { if (!special) { if (onfloor) { if (pressOnceOnly == 0) { pressOnceOnly = 1; if (!attacking) { player.gotoAndStop("jump"); } jump = true; onfloor = false; yspeed = yspeed - jumpamount; _root.attachMovie("shadow_mc", "shadow_mc", 5, {_y:player._y, _x:player._x}); } } } } } } } } } } } } } shadow_mc._x = player._x; if (inControl) { if (playerAlive) { if (!sliding) { if (!magic) { if (!forwardAttack) { if (!jumpAttack) { if (!special) { if (!Key.isDown(40)) { running = false; } if (!Key.isDown(38)) { running = false; } if (!Key.isDown(39)) { running = false; } if (!Key.isDown(37)) { running = false; } if (Key.isDown(39)) { player._xscale = 100; player._x = player._x + playerSpeed; running = true; } if (Key.isDown(37)) { player._xscale = -100; player._x = player._x - playerSpeed; running = true; } if (Key.isDown(38)) { running = true; } if (Key.isDown(40)) { running = true; } } } } } } } } if (player._xscale == 100) { if (Key.isDown(39)) { if (Key.isDown(65)) { if (inControl) { if (playerAlive) { if (!jump) { if (!magic) { if (!rsprint) { if (!lsprint) { if (!jumpAttack) { if (!sliding) { if (!attacking) { if (!special) { if (!held) { forwardAttack = true; } } } } } } } } } } } } } } if (player._xscale == -100) { if (Key.isDown(37)) { if (Key.isDown(65)) { if (inControl) { if (playerAlive) { if (!sliding) { if (!jump) { if (!magic) { if (!rsprint) { if (!lsprint) { if (!jumpAttack) { if (!attacking) { if (!special) { if (!held) { forwardAttack = true; } } } } } } } } } } } } } } if (forwardAttack) { forwardAttackTimer++; player.gotoAndStop("knife1"); if (forwardAttackTimer == 12) { forwardAttackTimer = 0; forwardAttack = false; } } if (Key.isDown(38)) { if (Key.isDown(65)) { if (inControl) { if (playerAlive) { if (!sliding) { if (!jump) { if (!forwardAttack) { if (!attacking) { if (!special) { if (!rsprint) { if (!lsprint) { if (!held) { if (!magic) { jumpAttack = true; } } } } } } } } } } } } } if (magicTimer > 7) { magic = true; if (magicTimer < 32) { player.gotoAndStop("magic"); } if (magicTimer > 32) { player.gotoAndStop("shootmagic"); if (magicTimer > 40) { if (player._xscale == 100) { randomNumber++; fireball_mc = _root.attachMovie("fireball", "fireball" + randomNumber, _root.getNextHighestDepth(), {_y:player._y, _x:player._x}); shot.push(fireball_mc); fireball_mc.onEnterFrame = function () { this._x = this._x + 35; }; } if (player._xscale == -100) { randomNumber++; fireball_mc = _root.attachMovie("fireball", "fireball" + randomNumber, _root.getNextHighestDepth(), {_y:player._y, _x:player._x}); fireball_mc._xscale = -100; shot.push(fireball_mc); fireball_mc.onEnterFrame = function () { this._x = this._x - 35; }; } magicTimer = 0; } } } else { magic = false; } if (jumpAttack) { jumpAttackTimer++; player.gotoAndStop("jattack"); if (jumpAttackTimer == 10) { player.gotoAndStop("jump"); jump = true; onfloor = false; yspeed = yspeed - jumpamount; jumpAttackTimer = 0; jumpAttack = false; } } if ((!playerAlive) or (!inControl)) { clicks = 0; attacking = false; is_attacking = 0; jump = false; forwardAttack = false; forwardAttackTimer = 0; shootTimer = 0; magic = false; } if ((!playerAlive) && (onfloor)) { player.gotoAndStop("dead"); if (toGo == 0) { _root.attachMovie("trans", "trans", _root.getNextHighestDepth()); } toGo++; if (toGo == 27) { removeall(); stopAllSounds(); gotoAndStop ("game_over"); } } if (player._y < 70) { player._y = 70; } player._y = player._y + yspeed; if (player._y > 350) { shadow_mc.removeMovieClip(); initial = 0; onfloor = true; jump = false; yspeed = 0; player._y = 350; } else { yspeed = yspeed + (gravity * 2); } if (playerHealth < 0) { playerAlive = false; playerHealth = 0; } if (playerHealth > 100) { playerHealth = 100; } checking = checking + 0.1; if (checking == 0.2) { markDrop = player._y; checking = 0; } if (player._y > markDrop) { if (held) { crush = true; } } } stop(); hud._alpha = 0; playerBar._alpha = 0; manaBar._alpha = 0; ehit_sound = new Sound(); ehit_sound.attachSound("ehit"); quake_sound = new Sound(); quake_sound.attachSound("quake"); fbsfx_sound = new Sound(); fbsfx_sound.attachSound("fballsfx"); _root.attachMovie("cinemaLines", "cinemaLines", _root.getNextHighestDepth()); _root.attachMovie("comboBox", "comboBox", _root.getNextHighestDepth(), {_x:120, _y:425}); comboBox._x = -100; _root.attachMovie("player", "player", _root.getNextHighestDepth(), {_x:-50, _y:350}); jump = false; rambosKilled = 0; addSecondCombo = false; addThirdCombo = false; addFirstCombo = false; checking = 0; enemyrelease = 0; markDrop = player._y; crush = false; soapDrop = 0; pressThis = 0; deadTimer = 112; waitAsec = 0; initial = 0; playerAlive = true; comboCounter = 0; jumpamount = 40; magicAttack = 0; magic = false; magicTimer = 0; death_stick_timer = 0; yspeed = 0; shake = 0; jumpAttack = false; jumpAttackTimer = 0; hereTheyComeTimer = 0; playerHealth = 100; hereTheyCome = false; getThingsGoing = true; onfloor = true; displayTimer = 0; dashSpeed = 3; lsprint = false; rsprint = false; sliding = false; slidingTimer = 0; toGo = 0; playerPower = 1; gravity = 2; shootTimer = 0; bossOnesAttack = 0; randomNumber = 0; forwardAttack = false; forwardAttackTimer = 0; noBoss = true; pressOnceOnly = 0; pressHack = 0; specialTimer = 0; clicks = 0; playerSpeed = 10; is_attacking = 0; smack = 0; gotSoap = false; gotSoapTimer = 0; hitPlayer = 0; hitTimer = 0; enemySpeed = 70; yesGo = 0; moved = 0; markWave = 2; steps = 0; distance = 0; addBoss = 0; superPower = 100; enemyPower = 0.15; startGameTimer = 0; addRambo = 0; canLift = true; lifted = false; held = false; liftedTimer = 0; inControl = true; canGo = false; zombieMode = false; special = false; hit2 = false; hit3 = false; running = false; attacking = false; enemyNumber = 0; var zombieSpots = new Array(); var zombieSpotsFade = new Array(); var erase = new Array(); var alive = new Array(); var groundMarker = new Array(); var hitPose = 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 depths = new Array(); var eheld = new Array(); var thrown = new Array(); var thrownTimer = new Array(); player.onEnterFrame = function () { if (comboCounter > 0) { comboBox._x = 120; displayTimer--; } if (displayTimer < 0) { comboCounter = 0; displayTimer = 0; } if (displayTimer == 0) { comboBox._x = comboBox._x - 25; } startGameTimer++; if (startGameTimer < 75) { walkOn(); } superPower = superPower + 0.05; playerBar._xscale = playerHealth; manaBar._xscale = superPower; actuallyAddEnemies(); waveActions(); enemyHealthReachesZero(); if (((((((!special) && (!magic)) && (playerAlive)) && (!gotSoap)) && (inControl)) && (!jumpAttack)) && (!forwardAttack)) { pushHole(); pushenemy(); } if (startGameTimer > 60) { hud._alpha = hud._alpha + 20; playerBar._alpha = playerBar._alpha + 10; manaBar._alpha = manaBar._alpha + 10; } if (hud._alpha > 100) { hud._alpha = 100; } if (playerBar._alpha > 100) { playerBar._alpha = 100; } if (manaBar._alpha > 100) { manaBar._alpha = 100; } box(); shotActions(); pullUpZombies(); swapdepthsforenemies(); noOverLap(); swapdepths(); playerMovement(); comboOne(); comboTwo(); comboThree(); runAttackTimer(); canAddPoint(); confirmAttacking(); calculateHyp(); enemyMovement(); shaker(); soapActions(); fgmove(); fbhit_mc.swapDepths(_root.getNextHighestDepth()); hitEm.swapDepths(_root.getNextHighestDepth()); blood_mc.swapDepths(_root.getNextHighestDepth()); sfg.swapDepths(_root.getNextHighestDepth()); sfg2.swapDepths(_root.getNextHighestDepth()); night.swapDepths(_root.getNextHighestDepth()); comboBox.swapDepths(_root.getNextHighestDepth()); trans.swapDepths(_root.getNextHighestDepth()); cinemaLines.swapDepths(_root.getNextHighestDepth()); };
Frame 18
player.removeMovieClip(); stopAllSounds(); play();
Frame 19
function walkOn() { inControl = false; if (player._x < 120) { player.gotoAndStop("run"); player._x = player._x + playerSpeed; } else { inControl = true; } } function removeall() { shadow_mc.removeMovieClip(); comboBox.removeMovieClip(); nearground.removeMovieClip(); sfg.removeMovieClip(); sfg2.removeMovieClip(); removeshot(); removeport(); removepickAttack(); removemoveAbout(); removeblocks(); removeDead_body(); removeType(); removeHypArray(); removeEnemyHealth(); removeDamagedTimer(); removeHit(); removeEnemyAttackingTimer(); removeEnemyAttacking(); removeEnemy(); removewhere(); removebeingSmacked(); removeonPlatform(); removeportTimer(); removeeyspeed(); removeejumpamount(); removeejump(); removeeonfloor(); removeedropping(); removepotions(); removeboxes(); removeboxHealth(); removeboxHit(); removeboxHitTimer(); removepotionType(); removeDepths(); removezombieSpots(); removezombieSpotsFade(); removeerase(); removealive(); removegroundMarker(); removehitPose(); removeeheld(); removethrownTimer(); removethrown(); } function removethrownTimer() { i = thrownTimer.length - 1; while (i >= 0) { thrownTimer[i].removeMovieClip(); thrownTimer.splice(i, 1); i--; } } function removethrown() { i = thrown.length - 1; while (i >= 0) { thrown[i].removeMovieClip(); thrown.splice(i, 1); i--; } } function removeeheld() { i = eheld.length - 1; while (i >= 0) { eheld[i].removeMovieClip(); eheld.splice(i, 1); i--; } } function removezombieSpots() { i = zombieSpots.length - 1; while (i >= 0) { zombieSpots[i].removeMovieClip(); zombieSpots.splice(i, 1); i--; } } function removezombieSpotsFade() { i = zombieSpotsFade.length - 1; while (i >= 0) { zombieSpotsFade[i].removeMovieClip(); zombieSpotsFade.splice(i, 1); i--; } } function removeerase() { i = erase.length - 1; while (i >= 0) { erase[i].removeMovieClip(); erase.splice(i, 1); i--; } } function removealive() { i = alive.length - 1; while (i >= 0) { alive[i].removeMovieClip(); alive.splice(i, 1); i--; } } function removegroundMarker() { i = groundMarker.length - 1; while (i >= 0) { groundMarker[i].removeMovieClip(); groundMarker.splice(i, 1); i--; } } function removehitPose() { i = hitPose.length - 1; while (i >= 0) { hitPose[i].removeMovieClip(); hitPose.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 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 removeeyspeed() { i = eyspeed.length - 1; while (i >= 0) { eyspeed[i].removeMovieClip(); eyspeed.splice(i, 1); i--; } } function removeejumpamount() { i = ejumpamount.length - 1; while (i >= 0) { ejumpamount[i].removeMovieClip(); ejumpamount.splice(i, 1); i--; } } function removeejump() { i = ejump.length - 1; while (i >= 0) { ejump[i].removeMovieClip(); ejump.splice(i, 1); i--; } } function removeeonfloor() { i = eonfloor.length - 1; while (i >= 0) { eonfloor[i].removeMovieClip(); eonfloor.splice(i, 1); i--; } } function removeedropping() { i = edropping.length - 1; while (i >= 0) { edropping[i].removeMovieClip(); edropping.splice(i, 1); i--; } } function removeportTimer() { i = portTimer.length - 1; while (i >= 0) { portTimer[i].removeMovieClip(); portTimer.splice(i, 1); i--; } } function removeshot() { i = shot.length - 1; while (i >= 0) { shot[i].removeMovieClip(); shot.splice(i, 1); i--; } } function removeport() { i = port.length - 1; while (i >= 0) { port[i].removeMovieClip(); port.splice(i, 1); i--; } } function removepickAttack() { i = pickAttack.length - 1; while (i >= 0) { pickAttack[i].removeMovieClip(); pickAttack.splice(i, 1); i--; } } function removeblocks() { i = blocks.length - 1; while (i >= 0) { blocks[i].removeMovieClip(); blocks.splice(i, 1); i--; } } function removebeingSmacked() { i = beingSmacked.length - 1; while (i >= 0) { beingSmacked[i].removeMovieClip(); beingSmacked.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 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 removeDepths() { i = depths.length - 1; while (i >= 0) { depths[i].removeMovieClip(); depths.splice(i, 1); i--; } } function shaker() { if (shake == 0) { _root._x = 0; _root._y = 0; } else if (shake == 1) { shake = shake + 1; _root._x = _root._x + 2; _root._y = _root._y + 2; } else if (shake == 2) { shake = shake + 1; _root._y = _root._y - 4; _root._x = _root._x - 4; } else if (shake == 3) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 4) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 5) { shake = shake + 1; _root._x = 4; _root._y = 4; } else if (shake == 6) { shake = shake + 1; _root._x = 2; _root._y = 2; } else if (shake == 7) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 8) { shake = shake + 1; _root._x = _root._x + 2; _root._y = _root._y + 2; } else if (shake == 9) { shake = shake + 1; _root._y = _root._y - 4; _root._x = _root._x - 4; } else if (shake == 10) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 11) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 12) { shake = shake + 1; _root._x = 4; _root._y = 4; } else if (shake == 13) { shake = shake + 1; _root._x = 2; _root._y = 2; } else if (shake == 14) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 15) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 16) { shake = shake + 1; _root._x = _root._x + 2; _root._y = _root._y + 2; } else if (shake == 17) { shake = shake + 1; _root._y = _root._y - 4; _root._x = _root._x - 4; } else if (shake == 18) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 19) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 20) { shake = shake + 1; _root._x = 4; _root._y = 4; } else if (shake == 21) { shake = shake + 1; _root._x = 2; _root._y = 2; } else if (shake == 22) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 23) { shake = shake + 1; _root._x = _root._x + 2; _root._y = _root._y + 2; } else if (shake == 24) { shake = shake + 1; _root._y = _root._y - 4; _root._x = _root._x - 4; } else if (shake == 25) { shake = shake + 1; _root._x = _root._x + 1; _root._y = _root._y + 1; } else if (shake == 26) { shake = shake + 1; _root._x = 0; _root._y = 0; } else if (shake == 27) { shake = shake + 1; _root._x = 4; _root._y = 4; } else if (shake == 28) { shake = shake + 1; _root._x = 2; _root._y = 2; } else if (shake == 29) { shake = 0; _root._x = 0; _root._y = 0; } } function waveActions() { if (gdone) { player._x = player._x + playerSpeed; if (toGo == 0) { _root.attachMovie("trans", "trans", _root.getNextHighestDepth()); } toGo++; if (toGo == 27) { removeall(); gotoAndStop ("you_won"); } } } function shotActions() { i = shot.length - 1; while (i >= 0) { if ((shot[i]._x > 640) or (shot[i]._x < 0)) { shot[i].removeMovieClip(); shot.splice(i, 1); } j = enemy.length - 1; while (j >= 0) { if (shot[i].hitTest(enemy[j])) { if (type[j] == 0) { ejump[j] = true; eonfloor[j] = false; eyspeed[j] = 0; eyspeed[j] = eyspeed[j] - ejumpamount[j]; } hitPose[j]++; if (hitPose[j] > 1) { hitPose[j] = 0; } enemyHealth[j] = enemyHealth[j] - 5; randomNumber++; fbhit_mc = _root.attachMovie("fbhit", "fbhit" + randomNumber, _root.getNextHighestDepth(), {_y:shot[i]._y, _x:shot[i]._x}); fbhit_mc._xscale = shot[i]._xscale; randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[j]._y, _x:enemy[j]._x}); ehit_sound.start(); beingSmacked[j]++; randomNumber++; comboCounter++; displayTimer = 16; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[j]._x, _y:enemy[j]._y}); comboBox.cnum.text = comboCounter; hit[j] = 1; damagedTimer[j] = 0; shot[i].removeMovieClip(); shot.splice(i, 1); } j--; } i--; } } function swapdepths() { i = depths.length - 1; while (i >= 0) { j = enemy.length - 1; while (j >= 0) { if (!eheld[i]) { if ((!jump) && (!ejump[i])) { if (player._y < depths[i]._y) { depths[i].swapDepths(_root.getNextHighestDepth()); } if (player._y > depths[i]._y) { player.swapDepths(_root.getNextHighestDepth()); } } } j--; } i--; } } function swapdepthsforenemies() { i = enemy.length - 1; while (i >= 0) { j = depths.length - 1; while (j >= 0) { if (enemy[i]._y < depths[j]._y) { depths[j].swapDepths(_root.getNextHighestDepth()); } if (enemy[i]._y > depths[j]._y) { enemy[i].swapDepths(_root.getNextHighestDepth()); } j--; } i--; } } 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 (alive[i] && (type[i] == 0)) { endX = _root.enemy[j]._x; enemy[i]._x = enemy[i]._x - ((endX - enemy[i]._x) / enemySpeed); } } } j--; } 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.round(Math.sqrt((dist_x * dist_x) + (dist_y * dist_y))); i--; } } function enemyHealthReachesZero() { i = enemy.length - 1; while (i >= 0) { if (enemyHealth[i] < 1) { alive[i] = false; gdone = true; if (erase[i] == 40) { enemy[i].removeMovieClip(); enemy.splice(i, 1); portTimer.splice(i, 1); hit.splice(i, 1); type.splice(i, 1); damagedTimer.splice(i, 1); enemyHealth.splice(i, 1); enemyAttacking.splice(i, 1); enemyAttackingTimer.splice(i, 1); hypArray.splice(i, 1); moveAbout.splice(i, 1); where.splice(i, 1); onPlatform.splice(i, 1); beingSmacked.splice(i, 1); pickAttack.splice(i, 1); port.splice(i, 1); edropping.splice(i, 1); eonfloor.splice(i, 1); ejump.splice(i, 1); ejumpamount.splice(i, 1); eyspeed.splice(i, 1); alive.splice(i, 1); erase.splice(i, 1); groundMarker.splice(i, 1); hitPose.splice(i, 1); eheld.splice(i, 1); thrownTimer.splice(i, 1); thrown.splice(i, 1); } } i--; } } function enemyMovement() { i = enemy.length - 1; while (i >= 0) { if (type[i] == "mech") { ebar._xscale = enemyHealth[i]; if (!alive[i]) { enemy[i].gotoAndStop("hit1"); } if (alive[i]) { if (!inControl) { hit[i] = 0; damagedTimer[i] = 0; enemy[i].gotoAndStop("idle"); enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 50) + 0; } if (playerAlive) { if (player.hitTest(enemy[i])) { if (eonfloor[i] && (enemyAttackingTimer[i] < 100)) { if ((forwardAttackTimer == 6) or (jumpAttackTimer == 6)) { if (hypArray[i] < 150) { hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } if (jump) { if (is_attacking == 4) { hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } } } if (player._x < enemy[i]._x) { enemy[i]._xscale = 100; } else { enemy[i]._xscale = -100; } if (eonfloor[i]) { if (enemyAttacking[i] == 1) { } enemyAttackingTimer[i]++; } else { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; } if (beingSmacked[i] == 15) { hit[i] = 0; damagedTimer[i] = 0; pickAttack[i] = 1; enemyAttackingTimer[i] = 100; beingSmacked[i] = 0; } if (pickAttack[i] == 0) { if (enemyAttackingTimer[i] > 100) { if (enemy[i].hitTest(player)) { hitPlayer = 1; playerHealth = playerHealth - (enemyPower * 1.5); } enemy[i].gotoAndStop("attack"); enemyAttacking[i] = 1; if (enemyAttackingTimer[i] == 147) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; pickAttack[i] = Math.round(Math.random() * 1) + 0; } } } if (pickAttack[i] == 1) { if (enemyAttackingTimer[i] > 100) { if (enemyAttackingTimer[i] > 200) { if (enemyAttackingTimer[i] == 201) { shake++; } if (enemy[i].hitTest(player)) { if (hypArray[i] < 250) { hitPlayer = 1; playerHealth = playerHealth - (enemyPower * 3); } } } enemy[i].gotoAndStop("attack2"); enemyAttacking[i] = 1; if (enemyAttackingTimer[i] == 211) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; pickAttack[i] = Math.round(Math.random() * 1) + 0; } } } if (enemyAttacking[i] == 0) { if (enemy[i].hitTest(player)) { if (jump) { if (((((((is_attacking == 3) or (is_attacking == 10)) or (is_attacking == 16)) or (is_attacking == 20)) or (is_attacking == 22)) or (is_attacking == 24)) or (is_attacking == 26)) { if (hypArray[i] < 150) { hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } } if (!jump) { if ((((slidingTimer == 3) or (is_attacking == 4)) or (is_attacking == 11)) or (is_attacking == 22)) { if (hypArray[i] < 150) { hitPose[i]++; if (hitPose[i] > 1) { hitPose[i] = 0; } randomNumber++; blood_mc = _root.attachMovie("blood", "blood" + randomNumber, _root.getNextHighestDepth(), {_y:enemy[i]._y, _x:enemy[i]._x}); ehit_sound.start(); beingSmacked[i]++; comboCounter++; displayTimer = 16; randomNumber++; hitEm = _root.attachMovie("oneHit", "oneHit" + randomNumber, _root.getNextHighestDepth(), {_x:enemy[i]._x, _y:enemy[i]._y - 50}); comboBox.cnum.text = comboCounter; hit[i] = 1; damagedTimer[i] = 0; enemyHealth[i] = enemyHealth[i] - playerPower; } } } } if (hit[i] == 1) { if (!ejump[i]) { if (hitPose[i] == 0) { enemy[i].gotoAndStop("hit1"); } if (hitPose[i] == 1) { enemy[i].gotoAndStop("hit2"); } } enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; enemyAttacking[i] = 0; damagedTimer[i]++; if (damagedTimer[i] == 15) { hit[i] = 0; damagedTimer[i] = 0; } } if (((hit[i] == 0) && (eonfloor[i])) && (inControl)) { portTimer[i]++; if (portTimer[i] > 32) { where[i] = Math.round(Math.random() * 2) + 0; moveAbout[i] = Math.round(Math.random() * 1) + 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) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) + 75) / enemySpeed); if (!jump) { enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } if (moveAbout[i] == 1) { endX = _root.player._x; endY = _root.player._y; enemy[i]._x = enemy[i]._x + (((endX - enemy[i]._x) - 75) / enemySpeed); if (!jump) { enemy[i]._y = enemy[i]._y + ((endY - enemy[i]._y) / enemySpeed); } } } else if (!ejump[i]) { enemy[i].gotoAndStop("idle"); } } } } } } i--; } } function pushenemy() { i = enemy.length - 1; while (i >= 0) { if (!attacking) { if (!eheld[i]) { if (Key.isDown(38)) { if ((fg._y > 120) && (fg._y < 240)) { enemy[i]._y = enemy[i]._y + 3; } } if (Key.isDown(40)) { if ((fg._y > 120) && (fg._y < 240)) { enemy[i]._y = enemy[i]._y - 3; } } } } i--; } } function pushHole() { i = zombieSpots.length - 1; while (i >= 0) { if (Key.isDown(38)) { if ((fg._y > 120) && (fg._y < 240)) { zombieSpots[i]._y = zombieSpots[i]._y + 3; } } if (Key.isDown(40)) { if ((fg._y > 120) && (fg._y < 240)) { zombieSpots[i]._y = zombieSpots[i]._y - 3; } } i--; } } function fgmove() { if ((player._x < 46) && (inControl)) { player._x = 46; } if (canGo && (inControl)) { if (fg._x > -1916.9) { if (player._x > 410) { i = enemy.length - 1; while (i >= 0) { enemy[i]._x = enemy[i]._x - 5; i--; } j = boxes.length - 1; while (j >= 0) { boxes[j]._x = boxes[j]._x - 5; j--; } k = potions.length - 1; while (k >= 0) { potions[k]._x = potions[k]._x - 5; k--; } moved++; sfg._x = sfg._x - 5; sfg2._x = sfg2._x - 5; bg._x = bg._x - 5; fg._x = fg._x - 5; steps++; player._x = 410; } } } if ((player._x > 590) && (inControl)) { player._x = 590; } if (fg._y < 120) { fg._y = 120; } if (bg._y < 10) { bg._y = 10; } if (bg._y > 30) { bg._y = 30; } if (fg._y > 240) { fg._y = 240; } if ((((((((!special) && (!magic)) && (playerAlive)) && (!gotSoap)) && (inControl)) && (!attacking)) && (!jumpAttack)) && (!forwardAttack)) { if (Key.isDown(38)) { if ((fg._y > 120) && (fg._y < 240)) { sfg._y = sfg._y + 4.5; sfg2._y = sfg2._y + 4.5; } } if (Key.isDown(40)) { if ((fg._y > 120) && (fg._y < 240)) { sfg._y = sfg._y - 4.5; sfg2._y = sfg2._y - 4.5; } } if (Key.isDown(38)) { bg._y = bg._y - 0.7; fg._y = fg._y + 3; } if (Key.isDown(40)) { bg._y = bg._y + 0.7; fg._y = fg._y - 3; } } } function pullUpZombies() { i = zombieSpots.length - 1; while (i >= 0) { zombieSpotsFade[i]++; if (distance < 5) { if (zombieSpotsFade[i] == 25) { randomNumber++; enemy_ = _root.attachMovie("enemy", "enemy" + randomNumber, _root.getNextHighestDepth(), {_y:zombieSpots[i]._y + 880, _x:zombieSpots[i]._x}); depths.push(enemy_); enemy.push(enemy_); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(35); 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(25); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); hitPose.push(0); groundMarker.push(enemy_._y); alive.push(true); erase.push(0); eheld.push(false); thrownTimer.push(0); thrown.push(false); } } if (distance > 4) { zombieSpots[i]._alpha = 0; if (zombieSpotsFade[i] == 25) { randomNumber++; enemy_ = _root.attachMovie("superEnemy", "superEnemy" + randomNumber, _root.getNextHighestDepth(), {_y:350, _x:700}); depths.push(enemy_); enemy.push(enemy_); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(35); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push("rambo"); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(35); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); hitPose.push(0); groundMarker.push(enemy_._y); alive.push(true); erase.push(0); eheld.push(false); thrownTimer.push(0); thrown.push(false); } } if (zombieSpotsFade[i] == 40) { zombieSpots[i].removeMovieClip(); zombieSpots.splice(i, 1); zombieSpotsFade.splice(i, 1); depths.splice(i, 1); } i--; } } function addenemies() { hereTheyCome = true; } function actuallyAddEnemies() { if (hereTheyCome) { hereTheyComeTimer++; } if (hereTheyComeTimer == 30) { quake_sound.start(); randomNumber++; hole = _root.attachMovie("zombiehole", "zombiehole" + randomNumber, _root.getNextHighestDepth(), {_y:-500, _x:Math.round(Math.random() * 550) + 0}); zombieSpots.push(hole); zombieSpotsFade.push(0); depths.push(hole); } if (hereTheyComeTimer == 120) { quake_sound.start(); randomNumber++; hole = _root.attachMovie("zombiehole", "zombiehole" + randomNumber, _root.getNextHighestDepth(), {_y:-500, _x:Math.round(Math.random() * 550) + 0}); zombieSpots.push(hole); zombieSpotsFade.push(0); depths.push(hole); } if (hereTheyComeTimer == 240) { quake_sound.start(); randomNumber++; hole = _root.attachMovie("zombiehole", "zombiehole" + randomNumber, _root.getNextHighestDepth(), {_y:-500, _x:Math.round(Math.random() * 550) + 0}); zombieSpots.push(hole); zombieSpotsFade.push(0); depths.push(hole); hereTheyComeTimer = 0; hereTheyCome = false; } } function canAddPoint() { if (clicks == 0) { canAddComboPoint = true; } else { canAddComboPoint = false; } } function runAttackTimer() { if (attacking) { if (!jump) { playerSpeed = 0; } is_attacking++; } else { playerSpeed = 10; } } function confirmAttacking() { if (clicks > 0) { attacking = true; } } function comboOne() { if (!addSecondCombo) { if (!addThirdCombo) { if (addFirstCombo) { if (attacking) { if (jump) { if (!zombieMode) { player.gotoAndStop("aattack2"); } } if (!jump) { if (!zombieMode) { player.gotoAndStop("attack2"); } } if (is_attacking == 7) { if (jump && (player._y > 180)) { yspeed = 0; yspeed = yspeed - 20; } addFirstCombo = false; if (clicks == 1) { smack = 0; clicks = 0; is_attacking = 0; attacking = false; } if (clicks > 1) { smack = 0; addSecondCombo = true; } } } } } } } function comboTwo() { if (!addFirstCombo) { if (!addThirdCombo) { if (addSecondCombo) { if (attacking) { if (jump) { if (!zombieMode) { player.gotoAndStop("aattack"); } } if (!jump) { if (!zombieMode) { player.gotoAndStop("attack"); } } if (is_attacking == 14) { if (jump && (player._y > 180)) { yspeed = 0; yspeed = yspeed - 20; } addSecondCombo = false; if (clicks == 2) { smack = 0; clicks = 0; is_attacking = 0; attacking = false; } if (clicks > 2) { smack = 0; addThirdCombo = true; } } } } } } } function comboThree() { if (!addFirstCombo) { if (!addSecondCombo) { if (addThirdCombo) { if (attacking) { if (jump) { if (!zombieMode) { player.gotoAndStop("aattack3"); } } if (!jump) { if (!zombieMode) { player.gotoAndStop("attack3"); } } if (is_attacking == 22) { if (onfloor) { shake++; randomNumber++; hitGround2_mc = _root.attachMovie("splash2", "splash2" + randomNumber, _root.getNextHighestDepth(), {_x:player._x, _y:player._y}); hitGround2_mc._xscale = player._xscale; } } if (is_attacking == 26) { if (jump && (player._y > 180)) { yspeed = 0; yspeed = yspeed - 20; } addThirdCombo = false; if (clicks == 3) { smack = 0; clicks = 0; is_attacking = 0; attacking = false; } if (clicks > 3) { smack = 0; clicks = 1; is_attacking = 0; addFirstCombo = true; } } } } } } } function playerMovement() { if (hitPlayer == 0) { var _local3 = player.transform.colorTransform; player.transform.colorTransform = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0); } if (hitPlayer == 1) { var _local3 = player.transform.colorTransform; _local3.rgb = 4294967295; player.transform.colorTransform = _local3; hitTimer++; if (hitTimer == 1) { hitPlayer = 0; hitTimer = 0; } } if (inControl) { if (!jumpAttack) { if (!rsprint) { if (!lsprint) { if (playerAlive) { if (!magic) { if (!sliding) { if (!forwardAttack) { if (!jump) { if (!special) { if (!attacking) { if (!running) { if (!zombieMode) { player.gotoAndStop("idle"); } if (zombieMode) { player.gotoAndStop("zidle"); } } if (running) { if (!zombieMode) { player.gotoAndStop("run"); } if (zombieMode) { player.gotoAndStop("zrun"); } } } } } } } } } } } } } if (sliding) { slidingTimer++; player.gotoAndStop("slide"); if (slidingRight) { player._x = player._x + (dashSpeed * 10); } if (slidingLeft) { player._x = player._x - (dashSpeed * 10); } if (slidingTimer == 3) { dashSpeed = 0; } if (slidingTimer == 5) { dashSpeed = 3; smack = 0; sliding = false; slidingTimer = 0; if (Key.isDown(68)) { if (hypArray[i] < 60) { if (!held) { enemyAttacking[i] = 0; enemyAttackingTimer[i] = Math.round(Math.random() * 100) + 0; hit[i] = 0; damagedTimer[i] = 0; held = true; lifted = true; eheld[i] = true; canLift = false; zombieMode = true; } } } } } if (lsprint or rsprint) { player.gotoAndStop("sprint"); playerSpeed = 20; } else { playerSpeed = 10; } if (inControl) { if (playerAlive) { if (!held) { if (!magic) { if (!jumpAttack) { if (!forwardAttack) { if (!jump) { if (!special) { if (!attacking) { if (!running) { if (Key.isDown(39) && (!hit2)) { hit2 = true; if (lastPressA && ((getTimer() - lastPressA) < 250)) { swing_sound.start(); sliding = true; slidingRight = true; slidingLeft = false; rsprint = true; } lastPressA = getTimer(); } else if (!Key.isDown(39)) { hit2 = false; rsprint = false; } if (Key.isDown(37) && (!hit3)) { hit3 = true; if (lastPressB && ((getTimer() - lastPressB) < 250)) { swing_sound.start(); sliding = true; slidingRight = false; slidingLeft = true; lsprint = true; } lastPressB = getTimer(); } else if (!Key.isDown(37)) { hit3 = false; lsprint = false; } } } } } } } } } } } if (Key.isDown(68)) { if (canLift) { if (inControl) { if (!magic) { if (!rsprint) { if (!lsprint) { if (playerAlive) { if (!jumpAttack) { if (!sliding) { if (!forwardAttack) { if (!jump) { if (!attacking) { special = true; } } } } } } } } } } } } if (!Key.isDown(65)) { magicTimer = 0; pressHack = 0; } if (Key.isDown(65)) { if (jump) { if (inControl) { if (playerAlive) { if (!jumpAttack) { if (!sliding) { if (!forwardAttack) { if (!special) { if (!held) { if (!rsprint) { if (!lsprint) { if (pressHack == 0) { swing_sound.start(); pressHack = 1; if (canAddComboPoint) { addFirstCombo = true; } clicks++; } } } } } } } } } } } if (!jump) { if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(38))) { if (inControl) { if (!rsprint) { if (!lsprint) { if (playerAlive) { if (!jumpAttack) { if (!sliding) { if (!forwardAttack) { if (!special) { if (!held) { magicTimer++; if (pressHack == 0) { swing_sound.start(); pressHack = 1; if (canAddComboPoint) { addFirstCombo = true; } clicks++; } } if (held) { i = enemy.length - 1; while (i >= 0) { if (eheld[i]) { thrown[i] = true; eheld[i] = false; } i--; } } } } } } } } } } } } } if (special) { player.gotoAndStop("pickup"); specialTimer++; if (specialTimer == 19) { special = false; specialTimer = 0; } } if (!Key.isDown(83)) { pressOnceOnly = 0; } if (Key.isDown(83)) { if (inControl) { if (playerAlive) { if (!sliding) { if (!magic) { if (!rsprint) { if (!lsprint) { if (!forwardAttack) { if (!jumpAttack) { if (!airMagic) { if (!special) { if (onfloor) { if (pressOnceOnly == 0) { pressOnceOnly = 1; if (!attacking) { player.gotoAndStop("jump"); } jump = true; onfloor = false; yspeed = yspeed - jumpamount; _root.attachMovie("shadow_mc", "shadow_mc", 5, {_y:player._y, _x:player._x}); } } } } } } } } } } } } } shadow_mc._x = player._x; if (inControl) { if (playerAlive) { if (!sliding) { if (!magic) { if (!forwardAttack) { if (!jumpAttack) { if (!special) { if (!Key.isDown(40)) { running = false; } if (!Key.isDown(38)) { running = false; } if (!Key.isDown(39)) { running = false; } if (!Key.isDown(37)) { running = false; } if (Key.isDown(39)) { player._xscale = 100; player._x = player._x + playerSpeed; running = true; } if (Key.isDown(37)) { player._xscale = -100; player._x = player._x - playerSpeed; running = true; } if (Key.isDown(38)) { running = true; } if (Key.isDown(40)) { running = true; } } } } } } } } if (player._xscale == 100) { if (Key.isDown(39)) { if (Key.isDown(65)) { if (inControl) { if (playerAlive) { if (!jump) { if (!magic) { if (!rsprint) { if (!lsprint) { if (!jumpAttack) { if (!sliding) { if (!attacking) { if (!special) { if (!held) { forwardAttack = true; } } } } } } } } } } } } } } if (player._xscale == -100) { if (Key.isDown(37)) { if (Key.isDown(65)) { if (inControl) { if (playerAlive) { if (!sliding) { if (!jump) { if (!magic) { if (!rsprint) { if (!lsprint) { if (!jumpAttack) { if (!attacking) { if (!special) { if (!held) { forwardAttack = true; } } } } } } } } } } } } } } if (forwardAttack) { forwardAttackTimer++; player.gotoAndStop("knife1"); if (forwardAttackTimer == 12) { forwardAttackTimer = 0; forwardAttack = false; } } if (Key.isDown(38)) { if (Key.isDown(65)) { if (inControl) { if (playerAlive) { if (!sliding) { if (!jump) { if (!forwardAttack) { if (!attacking) { if (!special) { if (!rsprint) { if (!lsprint) { if (!held) { if (!magic) { jumpAttack = true; } } } } } } } } } } } } } if (magicTimer > 7) { magic = true; if (magicTimer < 32) { player.gotoAndStop("magic"); } if (magicTimer > 32) { player.gotoAndStop("shootmagic"); if (magicTimer > 40) { if (player._xscale == 100) { randomNumber++; fireball_mc = _root.attachMovie("fireball", "fireball" + randomNumber, _root.getNextHighestDepth(), {_y:player._y, _x:player._x}); shot.push(fireball_mc); fireball_mc.onEnterFrame = function () { this._x = this._x + 35; }; } if (player._xscale == -100) { randomNumber++; fireball_mc = _root.attachMovie("fireball", "fireball" + randomNumber, _root.getNextHighestDepth(), {_y:player._y, _x:player._x}); fireball_mc._xscale = -100; shot.push(fireball_mc); fireball_mc.onEnterFrame = function () { this._x = this._x - 35; }; } magicTimer = 0; } } } else { magic = false; } if (jumpAttack) { jumpAttackTimer++; player.gotoAndStop("jattack"); if (jumpAttackTimer == 10) { player.gotoAndStop("jump"); jump = true; onfloor = false; yspeed = yspeed - jumpamount; jumpAttackTimer = 0; jumpAttack = false; } } if ((!playerAlive) or (!inControl)) { clicks = 0; attacking = false; is_attacking = 0; jump = false; forwardAttack = false; forwardAttackTimer = 0; shootTimer = 0; magic = false; } if ((!playerAlive) && (onfloor)) { player.gotoAndStop("dead"); if (toGo == 0) { _root.attachMovie("trans", "trans", _root.getNextHighestDepth()); } toGo++; if (toGo == 27) { removeall(); stopAllSounds(); gotoAndStop ("game_over"); } } if (player._y < 70) { player._y = 70; } player._y = player._y + yspeed; if (player._y > 350) { shadow_mc.removeMovieClip(); initial = 0; onfloor = true; jump = false; yspeed = 0; player._y = 350; } else { yspeed = yspeed + (gravity * 2); } if (playerHealth < 0) { playerAlive = false; playerHealth = 0; } if (playerHealth > 100) { playerHealth = 100; } checking = checking + 0.1; if (checking == 0.2) { markDrop = player._y; checking = 0; } if (player._y > markDrop) { if (held) { crush = true; } } } stop(); hud._alpha = 0; playerBar._alpha = 0; manaBar._alpha = 0; ehit_sound = new Sound(); ehit_sound.attachSound("ehit"); quake_sound = new Sound(); quake_sound.attachSound("quake"); fbsfx_sound = new Sound(); fbsfx_sound.attachSound("fballsfx"); _root.attachMovie("cinemaLines", "cinemaLines", _root.getNextHighestDepth()); _root.attachMovie("comboBox", "comboBox", _root.getNextHighestDepth(), {_x:120, _y:425}); comboBox._x = -100; _root.attachMovie("player", "player", _root.getNextHighestDepth(), {_x:-50, _y:350}); jump = false; rambosKilled = 0; addSecondCombo = false; addThirdCombo = false; addFirstCombo = false; checking = 0; enemyrelease = 0; markDrop = player._y; crush = false; soapDrop = 0; leaving = false; gdone = false; pressThis = 0; deadTimer = 112; waitAsec = 0; initial = 0; playerAlive = true; comboCounter = 0; jumpamount = 40; magicAttack = 0; magic = false; magicTimer = 0; death_stick_timer = 0; yspeed = 0; shake = 0; jumpAttack = false; jumpAttackTimer = 0; hereTheyComeTimer = 0; playerHealth = 100; hereTheyCome = false; getThingsGoing = true; onfloor = true; displayTimer = 0; dashSpeed = 3; lsprint = false; rsprint = false; sliding = false; slidingTimer = 0; toGo = 0; playerPower = 1; gravity = 2; shootTimer = 0; bossOnesAttack = 0; randomNumber = 0; forwardAttack = false; forwardAttackTimer = 0; noBoss = true; pressOnceOnly = 0; pressHack = 0; specialTimer = 0; clicks = 0; playerSpeed = 10; is_attacking = 0; smack = 0; gotSoap = false; gotSoapTimer = 0; hitPlayer = 0; hitTimer = 0; enemySpeed = 70; yesGo = 0; moved = 0; markWave = 2; steps = 0; distance = 0; showMoves = 0; addMove = 0; addBoss = 0; superPower = 100; enemyPower = 0.15; startGameTimer = 0; addRambo = 0; canLift = true; lifted = false; held = false; liftedTimer = 0; inControl = true; canGo = false; zombieMode = false; special = false; hit2 = false; hit3 = false; running = false; attacking = false; enemyNumber = 0; var zombieSpots = new Array(); var zombieSpotsFade = new Array(); var erase = new Array(); var alive = new Array(); var groundMarker = new Array(); var hitPose = 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 depths = new Array(); var eheld = new Array(); var thrown = new Array(); var thrownTimer = new Array(); randomNumber++; enemy_ = _root.attachMovie("zmech", "dummy" + randomNumber, _root.getNextHighestDepth(), {_y:350, _x:700}); depths.push(enemy_); enemy.push(enemy_); edropping.push(false); eonfloor.push(true); ejump.push(false); ejumpamount.push(35); eyspeed.push(0); portTimer.push(0); port.push(0); pickAttack.push(Math.round(Math.random() * 2) + 0); type.push("mech"); enemyAttacking.push(false); enemyAttackingTimer.push(Math.round(Math.random() * 100) + 0); enemyHealth.push(200); damagedTimer.push(0); hit.push(0); hypArray.push(0); moveAbout.push(0); where.push(0); onPlatform.push(false); beingSmacked.push(0); hitPose.push(0); groundMarker.push(enemy_._y); alive.push(true); erase.push(0); eheld.push(false); thrownTimer.push(0); thrown.push(false); player.onEnterFrame = function () { if (comboCounter > 0) { comboBox._x = 120; displayTimer--; } if (displayTimer < 0) { comboCounter = 0; displayTimer = 0; } if (displayTimer == 0) { comboBox._x = comboBox._x - 25; } startGameTimer++; if (startGameTimer < 75) { walkOn(); } superPower = superPower + 0.05; playerBar._xscale = playerHealth; manaBar._xscale = superPower; waveActions(); enemyHealthReachesZero(); if (((((((!special) && (!magic)) && (playerAlive)) && (!gotSoap)) && (inControl)) && (!jumpAttack)) && (!forwardAttack)) { pushHole(); pushenemy(); } if (startGameTimer > 60) { hud._alpha = hud._alpha + 20; playerBar._alpha = playerBar._alpha + 10; manaBar._alpha = manaBar._alpha + 10; } if (hud._alpha > 100) { hud._alpha = 100; } if (playerBar._alpha > 100) { playerBar._alpha = 100; } if (manaBar._alpha > 100) { manaBar._alpha = 100; } box(); shotActions(); pullUpZombies(); swapdepthsforenemies(); noOverLap(); swapdepths(); playerMovement(); comboOne(); comboTwo(); comboThree(); runAttackTimer(); canAddPoint(); confirmAttacking(); calculateHyp(); enemyMovement(); shaker(); soapActions(); fgmove(); fbhit_mc.swapDepths(_root.getNextHighestDepth()); hitEm.swapDepths(_root.getNextHighestDepth()); blood_mc.swapDepths(_root.getNextHighestDepth()); sfg.swapDepths(_root.getNextHighestDepth()); sfg2.swapDepths(_root.getNextHighestDepth()); night.swapDepths(_root.getNextHighestDepth()); comboBox.swapDepths(_root.getNextHighestDepth()); cinemaLines.swapDepths(_root.getNextHighestDepth()); moves.swapDepths(_root.getNextHighestDepth()); trans.swapDepths(_root.getNextHighestDepth()); };
Frame 20
player.removeMovieClip(); play();
Frame 21
stop(); gamename = "tribes"; domain_parts = _url.split("://"); real_domain = domain_parts[1].split("/"); hostingdomain = real_domain[0]; if (hostingdomain == "") { hostingdomain = "unknown"; } savedomain1 = "gamedev.dev.spilgames.com"; savedomain2 = "www8.agame.com"; if ((hostingdomain == savedomain1) || (hostingdomain == savedomain2)) { spilnetwerk = "internal"; } else { spilnetwerk = "external"; } _root.localization_url1 = (((("http://www.agame.com/?utm_medium=brandedgames_" + spilnetwerk) + "&utm_campaign=") + gamename) + "&utm_source=") + hostingdomain; _root.localization_language_nr = 1; _root.localization_branding_nr = 1; _root.localization_portal = "tweens"; if (_root.localization_portal == "game_com_cn") { this.mainscreen_moregames.onRelease = function () { getURL (_root.localization_url1, "_blank"); }; } else { this.mainscreen_moregames.onRelease = function () { getURL (_root.localization_url1 + "&utm_content=button_mainscreen_moregames", "_blank"); }; } stop(); player.removeMovieClip();
Frame 22
player.removeMovieClip(); stopAllSounds(); play();
Frame 23
stop(); gamename = "tribes"; domain_parts = _url.split("://"); real_domain = domain_parts[1].split("/"); hostingdomain = real_domain[0]; if (hostingdomain == "") { hostingdomain = "unknown"; } savedomain1 = "gamedev.dev.spilgames.com"; savedomain2 = "www8.agame.com"; if ((hostingdomain == savedomain1) || (hostingdomain == savedomain2)) { spilnetwerk = "internal"; } else { spilnetwerk = "external"; } _root.localization_url1 = (((("http://www.agame.com/?utm_medium=brandedgames_" + spilnetwerk) + "&utm_campaign=") + gamename) + "&utm_source=") + hostingdomain; _root.localization_language_nr = 1; _root.localization_branding_nr = 1; _root.localization_portal = "tweens"; if (_root.localization_portal == "game_com_cn") { this.mainscreen_moregames.onRelease = function () { getURL (_root.localization_url1, "_blank"); }; } else { this.mainscreen_moregames.onRelease = function () { getURL (_root.localization_url1 + "&utm_content=button_mainscreen_moregames", "_blank"); }; } stop();
Symbol 131 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 136 MovieClip Frame 1
_root.stop();
Symbol 136 MovieClip Frame 91
_root.play();
Symbol 139 MovieClip Frame 1
if (_root.localization_portal == "game_com_cn") { this.logo_intro.onRelease = function () { getURL (_root.localization_url1, "_blank"); }; } else { this.logo_intro.onRelease = function () { getURL (_root.localization_url1 + "&utm_content=logo_intro", "_blank"); }; }
Symbol 139 MovieClip Frame 90
stop();
Symbol 145 MovieClip Frame 1
_root.stop();
Symbol 145 MovieClip Frame 90
_root.play();
Symbol 153 MovieClip Frame 1
_root.stop();
Symbol 153 MovieClip Frame 89
_root.play();
Symbol 156 MovieClip Frame 1
_root.stop();
Symbol 156 MovieClip Frame 89
_root.play();
Symbol 157 MovieClip Frame 1
if (_root.localization_portal == "family") { gotoAndStop (1); } if (_root.localization_portal == "tweens") { gotoAndStop (2); } if (_root.localization_portal == "girl") { gotoAndStop (3); } if (_root.localization_portal == "game_com_cn") { gotoAndStop (4); }
Symbol 220 MovieClip Frame 12
stop();
Symbol 224 Button
on (release) { gotoAndPlay (2); _root.soundstatus = "off"; }
Symbol 225 MovieClip Frame 11
stop();
Symbol 227 Button
on (release) { gotoAndPlay (1); _root.soundstatus = "on"; }
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 2
stop();
Instance of Symbol 232 MovieClip in Symbol 233 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 252 MovieClip Frame 12
stop();
Symbol 299 MovieClip Frame 1
play();
Symbol 299 MovieClip Frame 12
_parent.gotoAndStop("remove");
Symbol 300 MovieClip Frame 33
stop();
Symbol 308 MovieClip [player] Frame 1
stop();
Symbol 308 MovieClip [player] Frame 2
stop();
Symbol 308 MovieClip [player] Frame 3
stop();
Symbol 308 MovieClip [player] Frame 4
stop();
Symbol 308 MovieClip [player] Frame 5
stop();
Symbol 308 MovieClip [player] Frame 6
stop();
Symbol 308 MovieClip [player] Frame 7
stop();
Symbol 308 MovieClip [player] Frame 8
stop();
Symbol 308 MovieClip [player] Frame 9
stop();
Symbol 308 MovieClip [player] Frame 10
stop();
Symbol 308 MovieClip [player] Frame 11
stop();
Symbol 308 MovieClip [player] Frame 12
stop();
Symbol 308 MovieClip [player] Frame 13
stop();
Symbol 308 MovieClip [player] Frame 14
stop();
Symbol 308 MovieClip [player] Frame 15
stop();
Symbol 308 MovieClip [player] Frame 16
stop();
Symbol 308 MovieClip [player] Frame 17
stop();
Symbol 308 MovieClip [player] Frame 18
stop();
Symbol 308 MovieClip [player] Frame 19
stop();
Symbol 308 MovieClip [player] Frame 20
stop();
Symbol 313 MovieClip Frame 11
stop();
Symbol 321 MovieClip [splash] Frame 21
this.removeMovieClip();
Symbol 353 MovieClip [explo] Frame 29
this.removeMovieClip();
Symbol 354 MovieClip [blood] Frame 7
this.removeMovieClip();
Symbol 355 MovieClip [splash2] Frame 21
this.removeMovieClip();
Symbol 369 MovieClip Frame 10
stop();
Symbol 370 MovieClip [enemy] Frame 1
stop();
Symbol 370 MovieClip [enemy] Frame 2
stop();
Symbol 370 MovieClip [enemy] Frame 3
stop();
Symbol 370 MovieClip [enemy] Frame 4
stop();
Symbol 370 MovieClip [enemy] Frame 5
stop();
Symbol 370 MovieClip [enemy] Frame 6
stop();
Symbol 370 MovieClip [enemy] Frame 7
stop();
Symbol 370 MovieClip [enemy] Frame 8
stop();
Symbol 370 MovieClip [enemy] Frame 9
stop();
Symbol 370 MovieClip [enemy] Frame 10
stop();
Symbol 375 MovieClip Frame 10
stop();
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 2
stop();
Symbol 377 MovieClip Frame 3
stop();
Symbol 377 MovieClip Frame 4
stop();
Symbol 377 MovieClip Frame 5
stop();
Symbol 377 MovieClip Frame 6
stop();
Symbol 377 MovieClip Frame 7
stop();
Symbol 387 MovieClip [oneHit] Frame 30
this.removeMovieClip();
Symbol 422 MovieClip [superEnemy] Frame 1
stop();
Symbol 422 MovieClip [superEnemy] Frame 2
stop();
Symbol 422 MovieClip [superEnemy] Frame 3
stop();
Symbol 422 MovieClip [superEnemy] Frame 4
stop();
Symbol 422 MovieClip [superEnemy] Frame 5
stop();
Symbol 422 MovieClip [superEnemy] Frame 6
stop();
Symbol 422 MovieClip [superEnemy] Frame 7
stop();
Symbol 422 MovieClip [superEnemy] Frame 8
stop();
Symbol 422 MovieClip [superEnemy] Frame 9
stop();
Symbol 450 MovieClip [zmech] Frame 1
stop();
Symbol 450 MovieClip [zmech] Frame 2
stop();
Symbol 450 MovieClip [zmech] Frame 3
stop();
Symbol 450 MovieClip [zmech] Frame 4
stop();
Symbol 450 MovieClip [zmech] Frame 5
stop();
Symbol 450 MovieClip [zmech] Frame 6
stop();
Symbol 450 MovieClip [zmech] Frame 7
stop();
Symbol 472 MovieClip [trans] Frame 54
this.removeMovieClip();
Symbol 473 MovieClip [cinemaLines] Frame 76
this.removeMovieClip();
Symbol 494 MovieClip [dummy] Frame 1
stop();
Symbol 494 MovieClip [dummy] Frame 2
stop();
Symbol 494 MovieClip [dummy] Frame 3
stop();
Symbol 494 MovieClip [dummy] Frame 4
stop();
Symbol 494 MovieClip [dummy] Frame 5
stop();
Symbol 494 MovieClip [dummy] Frame 6
stop();
Symbol 542 MovieClip [moves] Frame 1
stop();
Instance of Symbol 501 MovieClip "button1" in Symbol 542 MovieClip [moves] Frame 1
on (release) { _root.moves.gotoAndStop("page1"); }
Instance of Symbol 503 MovieClip in Symbol 542 MovieClip [moves] Frame 1
on (release) { _root.moves.gotoAndStop("page2"); }
Instance of Symbol 505 MovieClip "button3" in Symbol 542 MovieClip [moves] Frame 1
on (release) { _root.moves.gotoAndStop("page3"); }
Instance of Symbol 507 MovieClip "button4" in Symbol 542 MovieClip [moves] Frame 1
on (release) { _root.moves.gotoAndStop("page4"); }
Instance of Symbol 509 MovieClip "button5" in Symbol 542 MovieClip [moves] Frame 1
on (release) { _root.moves.gotoAndStop("page5"); }
Instance of Symbol 511 MovieClip "button6" in Symbol 542 MovieClip [moves] Frame 1
on (release) { _root.moves.gotoAndStop("page6"); }
Instance of Symbol 513 MovieClip "button7" in Symbol 542 MovieClip [moves] Frame 1
on (release) { _root.moves.gotoAndStop("page7"); }
Symbol 542 MovieClip [moves] Frame 2
stop();
Instance of Symbol 520 MovieClip in Symbol 542 MovieClip [moves] Frame 2
on (release) { _root.moves.gotoAndStop("main"); }
Symbol 542 MovieClip [moves] Frame 3
stop();
Symbol 542 MovieClip [moves] Frame 4
stop();
Symbol 542 MovieClip [moves] Frame 5
stop();
Symbol 542 MovieClip [moves] Frame 6
stop();
Symbol 542 MovieClip [moves] Frame 7
stop();
Symbol 542 MovieClip [moves] Frame 8
stop();
Symbol 568 MovieClip Frame 10
stop();
Symbol 569 MovieClip [zenemy] Frame 1
stop();
Symbol 569 MovieClip [zenemy] Frame 2
stop();
Symbol 569 MovieClip [zenemy] Frame 3
stop();
Symbol 569 MovieClip [zenemy] Frame 4
stop();
Symbol 569 MovieClip [zenemy] Frame 5
stop();
Symbol 569 MovieClip [zenemy] Frame 6
stop();
Symbol 569 MovieClip [zenemy] Frame 7
stop();
Symbol 569 MovieClip [zenemy] Frame 8
stop();
Symbol 569 MovieClip [zenemy] Frame 9
stop();
Symbol 569 MovieClip [zenemy] Frame 10
stop();
Symbol 595 MovieClip Frame 21
stop();
Symbol 602 MovieClip [zsuperEnemy] Frame 1
stop();
Symbol 602 MovieClip [zsuperEnemy] Frame 2
stop();
Symbol 602 MovieClip [zsuperEnemy] Frame 3
stop();
Symbol 602 MovieClip [zsuperEnemy] Frame 4
stop();
Symbol 602 MovieClip [zsuperEnemy] Frame 5
stop();
Symbol 602 MovieClip [zsuperEnemy] Frame 6
stop();
Symbol 602 MovieClip [zsuperEnemy] Frame 7
stop();
Symbol 602 MovieClip [zsuperEnemy] Frame 8
stop();
Symbol 602 MovieClip [zsuperEnemy] Frame 9
stop();
Symbol 605 MovieClip Frame 5
stop();
Symbol 610 MovieClip Frame 10
stop();
Symbol 613 MovieClip Frame 5
stop();
Symbol 622 MovieClip Frame 30
stop();
Symbol 623 MovieClip Frame 1
_root.stop();
Symbol 623 MovieClip Frame 175
_root.play(); stopAllSounds();
Symbol 635 MovieClip Frame 45
stop();
Symbol 654 MovieClip Frame 1
gotoAndStop(_root.localization_language_nr);
Symbol 658 MovieClip Frame 16
stop();
Symbol 667 MovieClip Frame 10
stop();
Symbol 672 MovieClip Frame 119
stop();
Symbol 684 MovieClip Frame 47
stop();
Symbol 852 MovieClip Frame 230
stop();
Instance of Symbol 848 MovieClip in Symbol 852 MovieClip Frame 230
on (release) { _root.gotoAndStop("title"); }
Symbol 861 MovieClip Frame 110
stop();
Instance of Symbol 858 MovieClip in Symbol 861 MovieClip Frame 110
on (release) { stopAllSounds(); _root.gotoAndStop("dojo"); }

Library Items

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

Instance Names

"intro"Frame 1Symbol 157 MovieClip
"loadBar"Frame 2Symbol 211 MovieClip
"logo"Frame 7Symbol 623 MovieClip
"jon"Frame 9Symbol 635 MovieClip
"logo_mainscreen"Frame 9Symbol 131 MovieClip
"mainscreen_moregames"Frame 9Symbol 655 Button
"emma"Frame 10Symbol 672 MovieClip
"bg"Frame 11Symbol 676 MovieClip
"fg"Frame 11Symbol 679 MovieClip
"quit"Frame 11Symbol 687 MovieClip
"fg"Frame 13Symbol 741 MovieClip
"hud"Frame 13Symbol 744 MovieClip
"playerBar"Frame 13Symbol 745 MovieClip
"sfg"Frame 13Symbol 748 MovieClip
"scene"Frame 15Symbol 760 MovieClip
"fg"Frame 17Symbol 835 MovieClip
"hud"Frame 17Symbol 744 MovieClip
"playerBar"Frame 17Symbol 745 MovieClip
"sfg"Frame 17Symbol 838 MovieClip
"fg"Frame 19Symbol 840 MovieClip
"hud"Frame 19Symbol 744 MovieClip
"playerBar"Frame 19Symbol 745 MovieClip
"ebar"Frame 19Symbol 842 MovieClip
"logo_mainscreen"Frame 21Symbol 131 MovieClip
"mainscreen_moregames"Frame 21Symbol 655 Button
"logo_mainscreen"Frame 23Symbol 131 MovieClip
"mainscreen_moregames"Frame 23Symbol 655 Button
"logo_intro"Symbol 139 MovieClip Frame 1Symbol 138 Button
"hitarea"Symbol 157 MovieClip Frame 1Symbol 139 MovieClip
"ebar"Symbol 370 MovieClip [enemy] Frame 1Symbol 362 MovieClip
"cnum"Symbol 391 MovieClip [comboBox] Frame 1Symbol 390 EditableText
"ebar"Symbol 422 MovieClip [superEnemy] Frame 1Symbol 362 MovieClip
"button2"Symbol 542 MovieClip [moves] Frame 1Symbol 499 MovieClip
"button1"Symbol 542 MovieClip [moves] Frame 1Symbol 501 MovieClip
"button3"Symbol 542 MovieClip [moves] Frame 1Symbol 505 MovieClip
"button4"Symbol 542 MovieClip [moves] Frame 1Symbol 507 MovieClip
"button5"Symbol 542 MovieClip [moves] Frame 1Symbol 509 MovieClip
"button6"Symbol 542 MovieClip [moves] Frame 1Symbol 511 MovieClip
"button7"Symbol 542 MovieClip [moves] Frame 1Symbol 513 MovieClip
"ebar"Symbol 569 MovieClip [zenemy] Frame 1Symbol 362 MovieClip
"ebar"Symbol 602 MovieClip [zsuperEnemy] Frame 1Symbol 362 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 4Symbol 213 as "blank"
ExportAssets (56)Timeline Frame 4Symbol 233 as "sound_contr"
ExportAssets (56)Timeline Frame 4Symbol 234 as "ehit"
ExportAssets (56)Timeline Frame 6Symbol 308 as "player"
ExportAssets (56)Timeline Frame 6Symbol 309 as "shadow_mc"
ExportAssets (56)Timeline Frame 6Symbol 321 as "splash"
ExportAssets (56)Timeline Frame 6Symbol 353 as "explo"
ExportAssets (56)Timeline Frame 6Symbol 354 as "blood"
ExportAssets (56)Timeline Frame 6Symbol 355 as "splash2"
ExportAssets (56)Timeline Frame 6Symbol 370 as "enemy"
ExportAssets (56)Timeline Frame 6Symbol 376 as "thing"
ExportAssets (56)Timeline Frame 6Symbol 383 as "zombiehole"
ExportAssets (56)Timeline Frame 6Symbol 387 as "oneHit"
ExportAssets (56)Timeline Frame 6Symbol 391 as "comboBox"
ExportAssets (56)Timeline Frame 6Symbol 422 as "superEnemy"
ExportAssets (56)Timeline Frame 6Symbol 450 as "zmech"
ExportAssets (56)Timeline Frame 6Symbol 453 as "fireball"
ExportAssets (56)Timeline Frame 6Symbol 457 as "gogo"
ExportAssets (56)Timeline Frame 6Symbol 472 as "trans"
ExportAssets (56)Timeline Frame 6Symbol 473 as "cinemaLines"
ExportAssets (56)Timeline Frame 6Symbol 494 as "dummy"
ExportAssets (56)Timeline Frame 6Symbol 542 as "moves"
ExportAssets (56)Timeline Frame 6Symbol 569 as "zenemy"
ExportAssets (56)Timeline Frame 6Symbol 574 as "zzombiehole"
ExportAssets (56)Timeline Frame 6Symbol 602 as "zsuperEnemy"

Labels

"title"Frame 8
"dojo"Frame 11
"you_won"Frame 20
"game_over"Frame 22
"idle"Symbol 308 MovieClip [player] Frame 1
"run"Symbol 308 MovieClip [player] Frame 2
"jump"Symbol 308 MovieClip [player] Frame 3
"pickUp"Symbol 308 MovieClip [player] Frame 4
"attack2"Symbol 308 MovieClip [player] Frame 5
"attack"Symbol 308 MovieClip [player] Frame 6
"attack3"Symbol 308 MovieClip [player] Frame 7
"aattack2"Symbol 308 MovieClip [player] Frame 8
"knife1"Symbol 308 MovieClip [player] Frame 9
"jattack"Symbol 308 MovieClip [player] Frame 10
"zidle"Symbol 308 MovieClip [player] Frame 11
"zrun"Symbol 308 MovieClip [player] Frame 12
"aattack"Symbol 308 MovieClip [player] Frame 13
"aattack3"Symbol 308 MovieClip [player] Frame 14
"slide"Symbol 308 MovieClip [player] Frame 15
"dead"Symbol 308 MovieClip [player] Frame 16
"magic"Symbol 308 MovieClip [player] Frame 17
"shootmagic"Symbol 308 MovieClip [player] Frame 18
"sprint"Symbol 308 MovieClip [player] Frame 20
"idle"Symbol 370 MovieClip [enemy] Frame 1
"run"Symbol 370 MovieClip [enemy] Frame 2
"attack"Symbol 370 MovieClip [enemy] Frame 3
"ahit1"Symbol 370 MovieClip [enemy] Frame 4
"ahit2"Symbol 370 MovieClip [enemy] Frame 5
"hit1"Symbol 370 MovieClip [enemy] Frame 6
"hit2"Symbol 370 MovieClip [enemy] Frame 7
"aidle"Symbol 370 MovieClip [enemy] Frame 8
"dead"Symbol 370 MovieClip [enemy] Frame 9
"held"Symbol 370 MovieClip [enemy] Frame 10
"idle"Symbol 377 MovieClip Frame 1
"held"Symbol 377 MovieClip Frame 2
"ahit1"Symbol 377 MovieClip Frame 3
"ahit2"Symbol 377 MovieClip Frame 4
"hit1"Symbol 377 MovieClip Frame 5
"hit2"Symbol 377 MovieClip Frame 6
"aidle"Symbol 377 MovieClip Frame 7
"idle"Symbol 422 MovieClip [superEnemy] Frame 1
"run"Symbol 422 MovieClip [superEnemy] Frame 2
"attack"Symbol 422 MovieClip [superEnemy] Frame 3
"ahit1"Symbol 422 MovieClip [superEnemy] Frame 4
"ahit2"Symbol 422 MovieClip [superEnemy] Frame 5
"hit1"Symbol 422 MovieClip [superEnemy] Frame 6
"hit2"Symbol 422 MovieClip [superEnemy] Frame 7
"aidle"Symbol 422 MovieClip [superEnemy] Frame 8
"dead"Symbol 422 MovieClip [superEnemy] Frame 9
"idle"Symbol 450 MovieClip [zmech] Frame 1
"run"Symbol 450 MovieClip [zmech] Frame 2
"attack"Symbol 450 MovieClip [zmech] Frame 3
"hit1"Symbol 450 MovieClip [zmech] Frame 4
"hit2"Symbol 450 MovieClip [zmech] Frame 5
"attack2"Symbol 450 MovieClip [zmech] Frame 6
"dead"Symbol 450 MovieClip [zmech] Frame 7
"idle"Symbol 494 MovieClip [dummy] Frame 1
"run"Symbol 494 MovieClip [dummy] Frame 2
"hit1"Symbol 494 MovieClip [dummy] Frame 3
"hit2"Symbol 494 MovieClip [dummy] Frame 4
"ahit1"Symbol 494 MovieClip [dummy] Frame 5
"ahit2"Symbol 494 MovieClip [dummy] Frame 6
"main"Symbol 542 MovieClip [moves] Frame 1
"page1"Symbol 542 MovieClip [moves] Frame 2
"page2"Symbol 542 MovieClip [moves] Frame 3
"page3"Symbol 542 MovieClip [moves] Frame 4
"page4"Symbol 542 MovieClip [moves] Frame 5
"page5"Symbol 542 MovieClip [moves] Frame 6
"page6"Symbol 542 MovieClip [moves] Frame 7
"page7"Symbol 542 MovieClip [moves] Frame 8
"idle"Symbol 569 MovieClip [zenemy] Frame 1
"run"Symbol 569 MovieClip [zenemy] Frame 2
"attack"Symbol 569 MovieClip [zenemy] Frame 3
"ahit1"Symbol 569 MovieClip [zenemy] Frame 4
"ahit2"Symbol 569 MovieClip [zenemy] Frame 5
"hit1"Symbol 569 MovieClip [zenemy] Frame 6
"hit2"Symbol 569 MovieClip [zenemy] Frame 7
"aidle"Symbol 569 MovieClip [zenemy] Frame 8
"dead"Symbol 569 MovieClip [zenemy] Frame 9
"held"Symbol 569 MovieClip [zenemy] Frame 10
"idle"Symbol 602 MovieClip [zsuperEnemy] Frame 1
"run"Symbol 602 MovieClip [zsuperEnemy] Frame 2
"attack"Symbol 602 MovieClip [zsuperEnemy] Frame 3
"ahit1"Symbol 602 MovieClip [zsuperEnemy] Frame 4
"ahit2"Symbol 602 MovieClip [zsuperEnemy] Frame 5
"hit1"Symbol 602 MovieClip [zsuperEnemy] Frame 6
"hit2"Symbol 602 MovieClip [zsuperEnemy] Frame 7
"aidle"Symbol 602 MovieClip [zsuperEnemy] Frame 8
"dead"Symbol 602 MovieClip [zsuperEnemy] Frame 9

Dynamic Text Variables

loadTextSymbol 159 EditableText"Loading...."




http://swfchan.com/23/113718/info.shtml
Created: 11/3 -2019 09:23:44 Last modified: 11/3 -2019 09:23:44 Server time: 29/04 -2024 13:54:31