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

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

Combat Hero Adventures.swf

This is the info page for
Flash #99779

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


ActionScript [AS1/AS2]
Combined Code
movieClip 41 { } // unknown tag 88 length 63 movieClip 46 bubble { } movieClip 48 { frame 1 { _visible = false; } } movieClip 50 { frame 1 { _visible = false; } } movieClip 95 Head { frame 1 { gotoAndStop(_parent._parent.character); } } movieClip 96 { } movieClip 100 { frame 1 { if (_parent._parent._parent._name == 'player1' && _root.g1gold == true) { gotoAndStop(2); } stop(); } } movieClip 106 { frame 1 { gotoAndStop(_parent._parent._parent.team); } } movieClip 112 { frame 1 { stop(); } frame 2 { if (_parent._parent._visible == true) { _root.med_shot.start(0, 0); _root.med_shot.setVolume(_root.sfxvolume - 15); } if (_parent._parent._name == 'player1' && _root.showparticles == true) { gutsngore = _root.attachMovie('shellcase_1', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._parent._x; gutsngore._xscale = _parent._parent._xscale * 0.75; gutsngore._yscale = 75; gutsngore._y = _parent._parent._y - _parent._parent._height / 3; gutsngore.sc = true; gutsngore.grav = 7 + random(3); gutsngore.xSpeed = random(10) * -(_parent._parent._xscale / 100); _root.bitsArray.push(gutsngore); } var bullet = _root.attachMovie('bullet1', 'bullet1' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); var __reg1 = _parent._rotation; _parent._parent._xscale <= 0 ? null : __reg1; __reg1 += 90; var TO_RAD = 0.0174532925199433; if (_parent._parent._xscale == 100) { bullet._x = _parent._parent._x + _parent._x - Math.sin(__reg1 * TO_RAD) * gunTip._x; bullet._y = _parent._parent._y + _parent._y - this.gunTip._x * Math.cos(__reg1 * TO_RAD); } if (_parent._parent._xscale == -100) { bullet._x = _parent._parent._x - _parent._x - Math.sin(__reg1 * TO_RAD) * gunTip._x; bullet._y = _parent._parent._y + _parent._y - this.gunTip._x * Math.cos(__reg1 * TO_RAD); } bullet.damage = 1; bullet.bulletSpeed = 25; bullet.orig = _parent._parent._name; bullet.team = _parent._parent.team; if (_parent._parent._xscale == 100) { bullet._rotation = _parent._rotation; } if (_parent._parent._xscale == -100) { bullet._rotation = _parent._rotation * -1 + 180; } _root.bullet1Array.push(bullet); play(); } } movieClip 116 { frame 1 { if (_parent._parent._parent._name == 'player1' && _root.g2gold == true) { gotoAndStop(2); } stop(); } } movieClip 126 { frame 1 { stop(); } frame 2 { if (_parent._parent._visible == true) { _root.shotgun.start(0, 0); _root.shotgun.setVolume(_root.sfxvolume - 10); } var bullet = _root.attachMovie('bullet1', 'bullet1' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); bullet._x = _parent._parent._x; bullet._y = _parent._parent._y + _parent._y; bullet.bulletSpeed = 25; bullet.orig = _parent._parent._name; bullet.damage = 2; bullet.team = _parent._parent.team; if (_parent._parent._xscale == 100) { bullet._rotation = _parent._rotation; } if (_parent._parent._xscale == -100) { bullet._rotation = _parent._rotation * -1 + 180; } _root.bullet1Array.push(bullet); var bullet = _root.attachMovie('bullet1', 'bullet1' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); bullet._x = _parent._parent._x; bullet._y = _parent._parent._y + _parent._y; bullet.bulletSpeed = 25; bullet.orig = _parent._parent._name; bullet.damage = 1; bullet.team = _parent._parent.team; if (_parent._parent._xscale == 100) { bullet._rotation = _parent._rotation + 8; } if (_parent._parent._xscale == -100) { bullet._rotation = _parent._rotation * -1 + 180 + 8; } _root.bullet1Array.push(bullet); var bullet = _root.attachMovie('bullet1', 'bullet1' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); bullet._x = _parent._parent._x; bullet._y = _parent._parent._y + _parent._y; bullet.bulletSpeed = 25; bullet.orig = _parent._parent._name; bullet.damage = 2; bullet.team = _parent._parent.team; if (_parent._parent._xscale == 100) { bullet._rotation = _parent._rotation - 8; } if (_parent._parent._xscale == -100) { bullet._rotation = _parent._rotation * -1 + 180 - 8; } _root.bullet1Array.push(bullet); if (_parent._parent._visible == true && _root.showparticles == true) { gutsngore = _root.attachMovie('shellcase', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._parent._x; gutsngore._xscale = _parent._parent._xscale; gutsngore._y = _parent._parent._y - _parent._parent._height / 3; gutsngore.grav = 5 + random(3); gutsngore.xSpeed = random(10) * -(_parent._parent._xscale / 100); gutsngore.sgsc = true; _root.bitsArray.push(gutsngore); } play(); } } movieClip 130 { frame 1 { if (_parent._parent._parent._name == 'player1' && _root.g3gold == true) { gotoAndStop(2); } stop(); } } movieClip 134 { frame 1 { stop(); } frame 2 { if (_parent._parent._visible == true) { _root.big_shot.start(0, 0); _root.big_shot.setVolume(_root.sfxvolume); if (_parent._parent._visible == true && _root.showparticles == true) { gutsngore = _root.attachMovie('shellcase', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._parent._x; gutsngore._xscale = _parent._parent._xscale; gutsngore._y = _parent._parent._y - _parent._parent._height / 3; gutsngore.grav = 5 + random(3); gutsngore.xSpeed = random(10) * -(_parent._parent._xscale / 100); gutsngore.sgsc = true; _root.bitsArray.push(gutsngore); } } var bullet = _root.attachMovie('bullet2', 'bullet2' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); bullet._x = _parent._parent._x; bullet._y = _parent._parent._y + _parent._y; bullet.bulletSpeed = 30; bullet.damage = 8; bullet.orig = _parent._parent._name; bullet.team = _parent._parent.team; if (_parent._parent._xscale == 100) { bullet._rotation = _parent._rotation; } if (_parent._parent._xscale == -100) { bullet._rotation = _parent._rotation * -1 + 180; } _root.bullet1Array.push(bullet); play(); } } movieClip 139 { frame 1 { if (_parent._parent._parent._name == 'player1' && _root.g4gold == true) { gotoAndStop(2); } stop(); } } movieClip 141 { frame 1 { stop(); } frame 2 { var bullet = _root.attachMovie('rocket', 'rocket' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); bullet._x = _parent._parent._x; bullet._y = _parent._parent._y + _parent._y; bullet.bulletSpeed = 15; bullet.orig = _parent._parent._name; bullet.team = _parent._parent.team; if (_parent._parent._xscale == 100) { bullet._rotation = _parent._rotation; } if (_parent._parent._xscale == -100) { bullet._rotation = _parent._rotation * -1 + 180; } _root.rocketArray.push(bullet); if (_parent._parent._visible == true) { _root.rocketsfx.start(0, 0); _root.rocketsfx.setVolume(_root.sfxvolume); } play(); } } movieClip 145 { frame 1 { if (_parent._parent._parent._name == 'player1' && _root.g5gold == true) { gotoAndStop(2); } stop(); } } movieClip 147 { frame 1 { stop(); } frame 2 { var bullet = _root.attachMovie('grenade', 'grenade' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); bullet._x = _parent._parent._x; bullet._y = _parent._parent._y + _parent._y; bullet.team = _parent._parent.team; bullet.orig = _parent._parent._name; if (_parent._parent._xscale == 100) { bullet.xSpeed = Math.cos(_parent._rotation * -1 * Math.PI / 180) * 20; bullet.grav = Math.sin(_parent._rotation * -1 * Math.PI / 180) * 20; } if (_parent._parent._xscale == -100) { bullet.xSpeed = Math.cos((180 - _parent._rotation * -1) * Math.PI / 180) * 20; bullet.grav = Math.sin((180 - _parent._rotation * -1) * Math.PI / 180) * 20; } bullet.life = 45; _root.grenadeArray.push(bullet); if (_parent._parent._visible == true) { _root.grenadesfx.start(0, 0); _root.grenadesfx.setVolume(_root.sfxvolume); } play(); } } movieClip 152 { frame 1 { if (_parent._parent._parent._name == 'player1' && _root.g6gold == true) { gotoAndStop(2); } stop(); } } movieClip 154 { frame 1 { if (_parent._parent.ammo < 1) { _parent._parent.weapon = 'machinegun'; _parent.gotoAndStop('machinegun'); } stop(); } frame 2 { var bullet = _root.attachMovie('saw', 'saw' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); bullet._x = _parent._parent._x; bullet._y = _parent._parent._y + _parent._y; bullet.orig = _parent._parent._name; if (_parent._parent._name == 'player1') { distance = 0; xDist = 0; yDist = 0; searchRadius = 1000; i = 0; while (i < 10) { xDist = _root._xmouse - _parent._parent.enemylist[i]._x; yDist = _root._ymouse - _parent._parent.enemylist[i]._y; distance = Math.sqrt(Math.pow(xDist, 2) + Math.pow(yDist, 2)); if (distance < searchRadius) { searchRadius = distance; bullet.enetarget = _parent._parent.enemylist[i]; } ++i; } } else { bullet.enetarget = _parent._parent.aimtarget; } bullet.team = _parent._parent.team; if (_parent._parent._xscale == 100) { bullet.xSpeed = Math.cos(_parent._rotation * -1 * Math.PI / 180) * 20; bullet.grav = Math.sin(_parent._rotation * -1 * Math.PI / 180) * 20; } if (_parent._parent._xscale == -100) { bullet.xSpeed = Math.cos((180 - _parent._rotation * -1) * Math.PI / 180) * 20; bullet.grav = Math.sin((180 - _parent._rotation * -1) * Math.PI / 180) * 20; } _root.sawArray.push(bullet); if (_parent._parent._visible == true) { _root.rocketsfx.start(0, 0); _root.rocketsfx.setVolume(_root.sfxvolume); } _parent._parent.ammo -= 1; play(); } } movieClip 158 { frame 1 { if (_parent._parent._parent._name == 'player1' && _root.g7gold == true) { gotoAndStop(2); } stop(); } } movieClip 161 { frame 1 { stop(); } frame 2 { if (_parent._parent._visible == true) { _root.med_shot.start(0, 0); _root.med_shot.setVolume(_root.sfxvolume); if (_parent._parent._visible && _root.showparticles == true) { gutsngore = _root.attachMovie('shellcase_1', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._parent._x; gutsngore._xscale = _parent._parent._xscale * 0.75; gutsngore._yscale = 75; gutsngore._y = _parent._parent._y - _parent._parent._height / 3; gutsngore.grav = 7 + random(3); gutsngore.xSpeed = random(10) * -(_parent._parent._xscale / 100); gutsngore.sc = true; _root.bitsArray.push(gutsngore); } } var bullet = _root.attachMovie('bullet1', 'bullet1' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); bullet._x = _parent._parent._x; bullet._y = _parent._parent._y + _parent._y; bullet.damage = 1; bullet.orig = _parent._parent._name; bullet.bulletSpeed = 25; bullet.team = _parent._parent.team; if (_parent._parent._xscale == 100) { bullet._rotation = _parent._rotation; } if (_parent._parent._xscale == -100) { bullet._rotation = _parent._rotation * -1 + 180; } _root.bullet1Array.push(bullet); play(); } } movieClip 165 { frame 1 { if (_parent._parent._parent._name == 'player1' && _root.g8gold == true) { gotoAndStop(2); } stop(); } } movieClip 169 { frame 1 { stop(); } frame 2 { if (_parent._parent._visible == true) { _root.shotgun.start(0, 0); _root.shotgun.setVolume(_root.sfxvolume - 10); } var bullet = _root.attachMovie('bullet1', 'bullet1' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); bullet._x = _parent._parent._x; bullet._y = _parent._parent._y + _parent._y; bullet.damage = 2; bullet.orig = _parent._parent._name; bullet.team = _parent._parent.team; if (_parent._parent._xscale == 100) { bullet._rotation = _parent._rotation; } if (_parent._parent._xscale == -100) { bullet._rotation = _parent._rotation * -1 + 180; } _root.nailArray.push(bullet); var bullet2 = _root.attachMovie('bullet1', 'bullet1' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); bullet2._x = _parent._parent._x; bullet2._y = _parent._parent._y + _parent._y; bullet2.damage = 2; bullet2.orig = _parent._parent._name; bullet2.team = _parent._parent.team; if (_parent._parent._xscale == 100) { bullet2._rotation = _parent._rotation + 8; } if (_parent._parent._xscale == -100) { bullet2._rotation = _parent._rotation * -1 + 180 + 8; } _root.nailArray.push(bullet2); var bullet3 = _root.attachMovie('bullet1', 'bullet1' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); bullet3._x = _parent._parent._x; bullet3._y = _parent._parent._y + _parent._y; bullet3.damage = 2; bullet3.orig = _parent._parent._name; bullet3.team = _parent._parent.team; if (_parent._parent._xscale == 100) { bullet3._rotation = _parent._rotation - 8; } if (_parent._parent._xscale == -100) { bullet3._rotation = _parent._rotation * -1 + 180 - 8; } _root.nailArray.push(bullet3); if (_parent._parent._name == 'player1') { distance = 0; xDist = 0; yDist = 0; searchRadius = 1000; i = 0; while (i < 10) { xDist = _root._xmouse - _parent._parent.enemylist[i]._x; yDist = _root._ymouse - _parent._parent.enemylist[i]._y; distance = Math.sqrt(Math.pow(xDist, 2) + Math.pow(yDist, 2)); if (distance < searchRadius) { searchRadius = distance; bullet.enetarget = _parent._parent.enemylist[i]; bullet2.enetarget = _parent._parent.enemylist[i]; bullet3.enetarget = _parent._parent.enemylist[i]; } ++i; } } else { bullet.enetarget = _parent._parent.aimtarget; bullet2.enetarget = _parent._parent.aimtarget; bullet3.enetarget = _parent._parent.aimtarget; } if (_parent._parent._xscale == 100) { bullet.xSpeed = Math.cos(_parent._rotation * -1 * Math.PI / 180) * 20; bullet2.xSpeed = Math.cos((_parent._rotation + 4) * -1 * Math.PI / 180) * 20; bullet3.xSpeed = Math.cos((_parent._rotation - 4) * -1 * Math.PI / 180) * 20; bullet.grav = Math.sin(_parent._rotation * -1 * Math.PI / 180) * 20; bullet2.grav = Math.sin((_parent._rotation - 4) * -1 * Math.PI / 180) * 20; bullet3.grav = Math.sin((_parent._rotation + 4) * -1 * Math.PI / 180) * 20; } if (_parent._parent._xscale == -100) { bullet.xSpeed = Math.cos((180 - _parent._rotation * -1) * Math.PI / 180) * 20; bullet2.xSpeed = Math.cos((180 - (_parent._rotation + 4) * -1) * Math.PI / 180) * 20; bullet3.xSpeed = Math.cos((180 - (_parent._rotation - 4) * -1) * Math.PI / 180) * 20; bullet.grav = Math.sin((180 - _parent._rotation * -1) * Math.PI / 180) * 20; bullet2.grav = Math.sin((180 - (_parent._rotation + 4) * -1) * Math.PI / 180) * 20; bullet3.grav = Math.sin((180 - (_parent._rotation - 4) * -1) * Math.PI / 180) * 20; } if (_parent._parent._visible && _root.showparticles == true) { gutsngore = _root.attachMovie('shellcase', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._parent._x; gutsngore._xscale = _parent._parent._xscale; gutsngore._y = _parent._parent._y - _parent._parent._height / 3; gutsngore.grav = 5 + random(3); gutsngore.xSpeed = random(10) * -(_parent._parent._xscale / 100); gutsngore.sgsc = true; _root.bitsArray.push(gutsngore); } play(); } } movieClip 176 { frame 1 { if (_parent._parent._parent._name == 'player1' && _root.g10gold == true) { gotoAndStop(2); } stop(); } } movieClip 178 { frame 1 { stop(); } frame 2 { if (_parent._parent._visible == true) { _root.laser_shot.start(0, 0); _root.laser_shot.setVolume(_root.sfxvolume - 5); } var beam = _root.attachMovie('sniper_beam', 'sniper_beam' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); beam._x = _parent._parent._x; beam._y = _parent._parent._y + _parent._y; if (_parent._parent._xscale == 100) { angle = _parent._rotation; beam._rotation = _parent._rotation; } if (_parent._parent._xscale == -100) { angle = _parent._rotation * -1 + 180; beam._rotation = _parent._rotation * -1 + 180; } beam.orig = _parent._parent._name; beam.team = _parent._parent.team; x = 1; while (x <= dist) { point_x = _parent._parent._x + x * Math.cos(angle * Math.PI / 180); point_y = _parent._parent._y + _parent._y + x * Math.sin(angle * Math.PI / 180); if (_root.ground.hitTest(point_x, point_y, true) or x > 450) { x1 = _parent._parent._x; y1 = _parent._parent._y + _parent._y; a = point_x - x1; b = point_y - y1; c = Math.sqrt(a * a + b * b); beam.stretcher._xscale = c; beam.end._x = c; break; } x += 30; } play(); } } movieClip 182 { frame 1 { if (_parent._parent._parent._name == 'player1' && _root.g9gold == true) { gotoAndStop(2); } stop(); } } movieClip 184 { frame 1 { stop(); } frame 2 { var bullet = _root.attachMovie('shell', 'shell' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); bullet._x = _parent._parent._x; bullet._y = _parent._parent._y + _parent._y; bullet._xscale = _parent._parent._xscale; bullet.damage = 4; bullet.life = 90; bullet.team = _parent._parent.team; bullet.orig = _parent._parent._name; if (_parent._parent._xscale == 100) { bullet.xSpeed = Math.cos(_parent._rotation * -1 * Math.PI / 180) * 15; bullet.grav = Math.sin(_parent._rotation * -1 * Math.PI / 180) * 18; } if (_parent._parent._xscale == -100) { bullet.xSpeed = Math.cos((180 - _parent._rotation * -1) * Math.PI / 180) * 15; bullet.grav = Math.sin((180 - _parent._rotation * -1) * Math.PI / 180) * 18; } _root.shellArray.push(bullet); if (_parent._parent._visible == true) { _root.shelllaunch.start(0, 0); _root.shelllaunch.setVolume(_root.sfxvolume - 20); } play(); } } movieClip 188 { frame 1 { if (_parent._parent._parent._name == 'player1' && _root.g11gold == true) { gotoAndStop(2); } stop(); } } movieClip 193 { frame 1 { stop(); } frame 2 { if (_parent._parent._visible == true) { } var bullet = _root.attachMovie('flame', 'flame' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); var __reg1 = _parent._rotation; _parent._parent._xscale <= 0 ? null : __reg1; __reg1 += 90; var TO_RAD = 0.0174532925199433; if (_parent._parent._xscale == 100) { bullet._x = _parent._parent._x + _parent._x - Math.sin(__reg1 * TO_RAD) * gunTip._x; bullet._y = _parent._parent._y + _parent._y - this.gunTip._x * Math.cos(__reg1 * TO_RAD); } if (_parent._parent._xscale == -100) { bullet._x = _parent._parent._x - _parent._x - Math.sin(__reg1 * TO_RAD) * gunTip._x; bullet._y = _parent._parent._y + _parent._y - this.gunTip._x * Math.cos(__reg1 * TO_RAD); } bullet._yscale = _parent._parent._xscale; bullet.damage = 2; if (_parent._parent._currentframe == 2) { bullet.bulletSpeed = 10; } else { bullet.bulletSpeed = 5; } bullet.orig = _parent._parent._name; bullet.team = _parent._parent.team; if (_parent._parent._xscale == 100) { bullet._rotation = _parent._rotation; } if (_parent._parent._xscale == -100) { bullet._rotation = _parent._rotation * -1 + 180; } _root.flameArray.push(bullet); play(); } } movieClip 197 { frame 1 { if (_parent._parent._parent._name == 'player1' && _root.g12gold == true) { gotoAndStop(2); } stop(); } } movieClip 199 { frame 1 { stop(); } frame 2 { if (_parent._parent._visible == true) { _root.silenced.start(0, 0); _root.silenced.setVolume(_root.sfxvolume); } var bullet = _root.attachMovie('goo', 'goo' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); bullet._x = _parent._parent._x; bullet._y = _parent._parent._y + _parent._y; bullet.team = _parent._parent.team; bullet.orig = _parent._parent._name; if (_parent._parent._xscale == 100) { bullet.xSpeed = Math.cos(_parent._rotation * -1 * Math.PI / 180) * 20; bullet.grav = Math.sin(_parent._rotation * -1 * Math.PI / 180) * 20; } if (_parent._parent._xscale == -100) { bullet.xSpeed = Math.cos((180 - _parent._rotation * -1) * Math.PI / 180) * 20; bullet.grav = Math.sin((180 - _parent._rotation * -1) * Math.PI / 180) * 20; } bullet.life = 45; _root.gooArray.push(bullet); if (_parent._parent._visible == true) { } play(); } } movieClip 200 gun { frame 1 { gotoAndStop(_parent.weapon); } } movieClip 208 { } movieClip 232 { frame 23 { stop(); } } movieClip 237 { } movieClip 258 { frame 1 { _parent.lbar._visible = false; _parent.mapmarker._visible = false; _parent.player_pointer._visible = false; _parent.grav = 0; _parent.capturingcp = false; if (_parent._name == 'player1') { _root.hud.lbar._xscale = 0; } } frame 3 { if (_parent.hitTest(_root.vcam) && _root.showparticles == true) { gutsngore = _root.attachMovie('gutsngore', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._y = _parent._y - _parent._height / 2; gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; _root.bitsArray.push(gutsngore); gutsngore = _root.attachMovie('gutsngore', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._y = _parent._y - _parent._height / 2; gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; _root.bitsArray.push(gutsngore); gutsngore = _root.attachMovie('gun', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._y = _parent._y - _parent._height / 2; gutsngore._xscale = _parent._xscale; gutsngore.gotoAndStop(_parent.weapon); gutsngore.gun2.shoulderpads.gotoAndStop(_parent.team); gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; _root.bitsArray.push(gutsngore); gutsngore = _root.attachMovie('Head', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._xscale = _parent._xscale; gutsngore._y = _parent._y - _parent._height; gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; gutsngore.gotoAndStop(_parent.character); _root.bitsArray.push(gutsngore); } } frame 21 { if (_root.setup_gametype == 'capture the flag') { if (_parent.team == 'team1') { ranspawn = random(_root.bluespawnArray.length); _parent._x = _root.bluespawnArray[ranspawn]._x; _parent._y = _root.bluespawnArray[ranspawn]._y; _parent.lastorderfrom = 'void'; _parent.gototarget = _root.bluespawnArray[ranspawn].togoArray[random(_root.bluespawnArray[ranspawn].togoArray.length)]; } if (_parent.team == 'team2') { ranspawn = random(_root.redspawnArray.length); _parent._x = _root.redspawnArray[ranspawn]._x; _parent._y = _root.redspawnArray[ranspawn]._y; _parent.lastorderfrom = 'void'; _parent.gototarget = _root.redspawnArray[ranspawn].togoArray[random(_root.redspawnArray[ranspawn].togoArray.length)]; } } else { ranspawn = random(_root.spawnArray.length); _parent._x = _root.spawnArray[ranspawn]._x; _parent._y = _root.spawnArray[ranspawn]._y; _parent.lastorderfrom = 'void'; _parent.gototarget = _root.spawnArray[ranspawn].togoArray[random(_root.spawnArray[ranspawn].togoArray.length)]; } _parent.gotoAndStop(6); } } movieClip 268 { frame 1 { if ((_root.setup_gametype == 'elimination' or _root.setup_gametype == 'team elimination') && _root[_parent._name + '_points'] < 1) { _parent.score_disp._visible = false; _parent._x = -1000; _parent._y = -1000; stop(); } } frame 12 { team = _parent.team; _parent.weapon = 'machinegun'; weapon = _parent.weapon; if (_parent._name == 'player1') { } } frame 22 { _parent.life = _parent.totallife; _parent.lbar._visible = true; _parent.mapmarker._visible = true; _parent.player_pointer._visible = true; _parent.gotoAndStop(1); } } movieClip 269 team1_unit { frame 1 { stop(); } frame 5 { if (_parent._visible == true) { _root.splat.start(0, 0); _root.splat.setVolume(_root.sfxvolume); } } } movieClip 272 bullet1 { } movieClip 278 ricochet { frame 1 { if (this.hitTest(_root.vcam)) { var ranric = random(4); _root['ric' + ranric].start(0, 0); _root['ric' + ranric].setVolume(_root.sfxvolume - 10); } } frame 6 { this.removeMovieClip(); } } movieClip 282 { } movieClip 283 lbar { } movieClip 295 blood { frame 11 { this.removeMovieClip(); } } movieClip 307 mapmarker { } movieClip 312 gutsngore { frame 1 { this.gotoAndStop(random(this._totalframes + 1)); } } movieClip 315 shellcase { } movieClip 317 bullet2 { } movieClip 380 explosion { frame 1 { if (this.hitTest(_root.vcam)) { _root.explosionsfx.start(0, 0); _root.explosionsfx.setVolume(_root.sfxvolume); } } frame 3 { _root.explosionFunction(this); } frame 30 { this.removeMovieClip(); } } movieClip 383 rocket { } movieClip 386 smoke { frame 17 { this.removeMovieClip(); } } movieClip 389 grenade { } movieClip 402 powerup { frame 1 { stop(); } } movieClip 405 saw { } movieClip 408 blue_smoke { frame 24 { this.removeMovieClip(); } } movieClip 411 red_smoke { frame 24 { this.removeMovieClip(); } } movieClip 414 pwrup_marker { } movieClip 416 { } movieClip 418 { } movieClip 420 sniper_beam { frame 3 { _root.sniper_beamFunction(this, _root.player1); _root.sniper_beamFunction(this, _root.player2); _root.sniper_beamFunction(this, _root.player3); _root.sniper_beamFunction(this, _root.player4); _root.sniper_beamFunction(this, _root.player5); _root.sniper_beamFunction(this, _root.player6); _root.sniper_beamFunction(this, _root.player7); _root.sniper_beamFunction(this, _root.player8); } frame 11 { this.removeMovieClip(this); } } movieClip 422 player_pointer { } movieClip 425 yellow_smoke { frame 24 { this.removeMovieClip(); } } movieClip 428 green_smoke { frame 24 { this.removeMovieClip(); } } movieClip 431 shell { } movieClip 434 shellhalf { } movieClip 493 flame { } movieClip 511 flameout { frame 16 { this.removeMovieClip(); } } movieClip 513 { } movieClip 521 { } movieClip 545 { frame 23 { stop(); } } movieClip 549 { } movieClip 553 { frame 1 { _parent.lbar._visible = false; _parent.mapmarker._visible = false; _parent.player_pointer._visible = false; _parent.grav = 0; _parent.capturingcp = false; if (_parent._name == 'player1') { _root.hud.lbar._xscale = 0; } } frame 3 { if (_parent.hitTest(_root.vcam) && _root.showparticles == true) { gutsngore = _root.attachMovie('gutsngore', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._y = _parent._y - _parent._height / 2; gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; _root.bitsArray.push(gutsngore); gutsngore = _root.attachMovie('gutsngore', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._y = _parent._y - _parent._height / 2; gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; _root.bitsArray.push(gutsngore); gutsngore = _root.attachMovie('gun', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._y = _parent._y - _parent._height / 2; gutsngore._xscale = _parent._xscale; gutsngore.gotoAndStop(_parent.weapon); gutsngore.gun2.shoulderpads.gotoAndStop(_parent.team); gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; _root.bitsArray.push(gutsngore); gutsngore = _root.attachMovie('Head', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._xscale = _parent._xscale; gutsngore._y = _parent._y - _parent._height; gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; gutsngore.gotoAndStop(_parent.character); _root.bitsArray.push(gutsngore); } } frame 21 { if (_root.setup_gametype == 'capture the flag') { if (_parent.team == 'team1') { ranspawn = random(_root.bluespawnArray.length); _parent._x = _root.bluespawnArray[ranspawn]._x; _parent._y = _root.bluespawnArray[ranspawn]._y; _parent.lastorderfrom = 'void'; _parent.gototarget = _root.bluespawnArray[ranspawn].togoArray[random(_root.bluespawnArray[ranspawn].togoArray.length)]; } if (_parent.team == 'team2') { ranspawn = random(_root.redspawnArray.length); _parent._x = _root.redspawnArray[ranspawn]._x; _parent._y = _root.redspawnArray[ranspawn]._y; _parent.lastorderfrom = 'void'; _parent.gototarget = _root.redspawnArray[ranspawn].togoArray[random(_root.redspawnArray[ranspawn].togoArray.length)]; } } else { ranspawn = random(_root.spawnArray.length); _parent._x = _root.spawnArray[ranspawn]._x; _parent._y = _root.spawnArray[ranspawn]._y; _parent.lastorderfrom = 'void'; _parent.gototarget = _root.spawnArray[ranspawn].togoArray[random(_root.spawnArray[ranspawn].togoArray.length)]; } _parent.gotoAndStop(6); } } movieClip 562 { frame 1 { if ((_root.setup_gametype == 'elimination' or _root.setup_gametype == 'team elimination') && _root[_parent._name + '_points'] < 1) { stop(); _parent.score_disp._visible = false; } } frame 12 { team = _parent.team; _parent.weapon = 'machinegun'; weapon = _parent.weapon; } frame 22 { _parent.life = _parent.totallife; _parent.lbar._visible = true; _parent.mapmarker._visible = true; _parent.player_pointer._visible = true; _parent.gotoAndStop(1); } } movieClip 563 team2_unit { frame 1 { stop(); } frame 5 { if (_parent._visible == true) { _root.splat.start(0, 0); _root.splat.setVolume(_root.sfxvolume); } } } movieClip 565 { } movieClip 573 { } movieClip 597 { frame 23 { stop(); } } movieClip 602 { } movieClip 606 { frame 1 { _parent.lbar._visible = false; _parent.mapmarker._visible = false; _parent.player_pointer._visible = false; _parent.grav = 0; _parent.capturingcp = false; if (_parent._name == 'player1') { _root.hud.lbar._xscale = 0; } } frame 3 { if (_parent.hitTest(_root.vcam) && _root.showparticles == true) { gutsngore = _root.attachMovie('gutsngore', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._y = _parent._y - _parent._height / 2; gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; _root.bitsArray.push(gutsngore); gutsngore = _root.attachMovie('gutsngore', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._y = _parent._y - _parent._height / 2; gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; _root.bitsArray.push(gutsngore); gutsngore = _root.attachMovie('gun', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._y = _parent._y - _parent._height / 2; gutsngore._xscale = _parent._xscale; gutsngore.gotoAndStop(_parent.weapon); gutsngore.gun2.shoulderpads.gotoAndStop(_parent.team); gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; _root.bitsArray.push(gutsngore); gutsngore = _root.attachMovie('Head', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._xscale = _parent._xscale; gutsngore._y = _parent._y - _parent._height; gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; gutsngore.gotoAndStop(_parent.character); _root.bitsArray.push(gutsngore); } } frame 21 { if (_root.setup_gametype == 'capture the flag') { if (_parent.team == 'team1') { ranspawn = random(_root.bluespawnArray.length); _parent._x = _root.bluespawnArray[ranspawn]._x; _parent._y = _root.bluespawnArray[ranspawn]._y; _parent.lastorderfrom = 'void'; _parent.gototarget = _root.bluespawnArray[ranspawn].togoArray[random(_root.bluespawnArray[ranspawn].togoArray.length)]; } if (_parent.team == 'team2') { ranspawn = random(_root.redspawnArray.length); _parent._x = _root.redspawnArray[ranspawn]._x; _parent._y = _root.redspawnArray[ranspawn]._y; _parent.lastorderfrom = 'void'; _parent.gototarget = _root.redspawnArray[ranspawn].togoArray[random(_root.redspawnArray[ranspawn].togoArray.length)]; } } else { ranspawn = random(_root.spawnArray.length); _parent._x = _root.spawnArray[ranspawn]._x; _parent._y = _root.spawnArray[ranspawn]._y; _parent.lastorderfrom = 'void'; _parent.gototarget = _root.spawnArray[ranspawn].togoArray[random(_root.spawnArray[ranspawn].togoArray.length)]; } _parent.gotoAndStop(6); } } movieClip 615 { frame 1 { if ((_root.setup_gametype == 'elimination' or _root.setup_gametype == 'team elimination') && _root[_parent._name + '_points'] < 1) { stop(); _parent.score_disp._visible = false; } } frame 12 { team = _parent.team; _parent.weapon = 'machinegun'; weapon = _parent.weapon; } frame 22 { _parent.life = _parent.totallife; _parent.lbar._visible = true; _parent.mapmarker._visible = true; _parent.player_pointer._visible = true; _parent.gotoAndStop(1); } } movieClip 616 team4_unit { frame 1 { stop(); } frame 5 { if (_parent._visible == true) { _root.splat.start(0, 0); _root.splat.setVolume(_root.sfxvolume); } } } movieClip 618 { } movieClip 626 { } movieClip 650 { frame 23 { stop(); } } movieClip 655 { } movieClip 659 { frame 1 { _parent.lbar._visible = false; _parent.mapmarker._visible = false; _parent.player_pointer._visible = false; _parent.grav = 0; _parent.capturingcp = false; if (_parent._name == 'player1') { _root.hud.lbar._xscale = 0; } } frame 3 { if (_parent.hitTest(_root.vcam) && _root.showparticles == true) { gutsngore = _root.attachMovie('gutsngore', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._y = _parent._y - _parent._height / 2; gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; _root.bitsArray.push(gutsngore); gutsngore = _root.attachMovie('gutsngore', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._y = _parent._y - _parent._height / 2; gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; _root.bitsArray.push(gutsngore); gutsngore = _root.attachMovie('gun', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._y = _parent._y - _parent._height / 2; gutsngore._xscale = _parent._xscale; gutsngore.gotoAndStop(_parent.weapon); gutsngore.gun2.shoulderpads.gotoAndStop(_parent.team); gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; _root.bitsArray.push(gutsngore); gutsngore = _root.attachMovie('Head', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._xscale = _parent._xscale; gutsngore._y = _parent._y - _parent._height; gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; gutsngore.gotoAndStop(_parent.character); _root.bitsArray.push(gutsngore); } } frame 21 { if (_root.setup_gametype == 'capture the flag') { if (_parent.team == 'team1') { ranspawn = random(_root.bluespawnArray.length); _parent._x = _root.bluespawnArray[ranspawn]._x; _parent._y = _root.bluespawnArray[ranspawn]._y; _parent.lastorderfrom = 'void'; _parent.gototarget = _root.bluespawnArray[ranspawn].togoArray[random(_root.bluespawnArray[ranspawn].togoArray.length)]; } if (_parent.team == 'team2') { ranspawn = random(_root.redspawnArray.length); _parent._x = _root.redspawnArray[ranspawn]._x; _parent._y = _root.redspawnArray[ranspawn]._y; _parent.lastorderfrom = 'void'; _parent.gototarget = _root.redspawnArray[ranspawn].togoArray[random(_root.redspawnArray[ranspawn].togoArray.length)]; } } else { ranspawn = random(_root.spawnArray.length); _parent._x = _root.spawnArray[ranspawn]._x; _parent._y = _root.spawnArray[ranspawn]._y; _parent.lastorderfrom = 'void'; _parent.gototarget = _root.spawnArray[ranspawn].togoArray[random(_root.spawnArray[ranspawn].togoArray.length)]; } _parent.gotoAndStop(6); } } movieClip 668 { frame 1 { if ((_root.setup_gametype == 'elimination' or _root.setup_gametype == 'team elimination') && _root[_parent._name + '_points'] < 1) { stop(); _parent.score_disp._visible = false; } } frame 12 { team = _parent.team; _parent.weapon = 'machinegun'; weapon = _parent.weapon; } frame 22 { _parent.life = _parent.totallife; _parent.lbar._visible = true; _parent.mapmarker._visible = true; _parent.player_pointer._visible = true; _parent.gotoAndStop(1); } } movieClip 669 team3_unit { frame 1 { stop(); } frame 5 { if (_parent._visible == true) { _root.splat.start(0, 0); _root.splat.setVolume(_root.sfxvolume); } } } movieClip 678 goo { frame 1 { stop(); } frame 10 { gotoAndPlay(2); } } movieClip 689 { } movieClip 692 score_disp { frame 1 { stop(); onEnterFrame = function () { score = _root[this.plyr + '_points']; }; } } movieClip 695 shellcase_1 { } movieClip 697 { } movieClip 705 { } movieClip 729 { frame 23 { stop(); } } movieClip 733 { } movieClip 734 { frame 1 { _parent.lbar._visible = false; _parent.mapmarker._visible = false; _parent.player_pointer._visible = false; _parent.grav = 0; _parent.capturingcp = false; if (_parent._name == 'player1') { _root.hud.lbar._xscale = 0; } } frame 3 { if (_parent.hitTest(_root.vcam) && _root.showparticles == true) { gutsngore = _root.attachMovie('gutsngore', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._y = _parent._y - _parent._height / 2; gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; _root.bitsArray.push(gutsngore); gutsngore = _root.attachMovie('gutsngore', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._y = _parent._y - _parent._height / 2; gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; _root.bitsArray.push(gutsngore); gutsngore = _root.attachMovie('gun', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._y = _parent._y - _parent._height / 2; gutsngore._xscale = _parent._xscale; gutsngore.gotoAndStop(_parent.weapon); gutsngore.gun2.shoulderpads.gotoAndStop(_parent.team); gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; _root.bitsArray.push(gutsngore); gutsngore = _root.attachMovie('Head', 'gutsngore' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); gutsngore._x = _parent._x; gutsngore._xscale = _parent._xscale; gutsngore._y = _parent._y - _parent._height; gutsngore.grav = 5 + random(10); gutsngore.xSpeed = random(20) - random(20); gutsngore.tb = true; gutsngore.gotoAndStop(_parent.character); _root.bitsArray.push(gutsngore); } } frame 21 { if (_root.setup_gametype == 'capture the flag') { if (_parent.team == 'team1') { ranspawn = random(_root.bluespawnArray.length); _parent._x = _root.bluespawnArray[ranspawn]._x; _parent._y = _root.bluespawnArray[ranspawn]._y; _parent.lastorderfrom = 'void'; _parent.gototarget = _root.bluespawnArray[ranspawn].togoArray[random(_root.bluespawnArray[ranspawn].togoArray.length)]; } if (_parent.team == 'team2') { ranspawn = random(_root.redspawnArray.length); _parent._x = _root.redspawnArray[ranspawn]._x; _parent._y = _root.redspawnArray[ranspawn]._y; _parent.lastorderfrom = 'void'; _parent.gototarget = _root.redspawnArray[ranspawn].togoArray[random(_root.redspawnArray[ranspawn].togoArray.length)]; } } else { ranspawn = random(_root.spawnArray.length); _parent._x = _root.spawnArray[ranspawn]._x; _parent._y = _root.spawnArray[ranspawn]._y; _parent.lastorderfrom = 'void'; _parent.gototarget = _root.spawnArray[ranspawn].togoArray[random(_root.spawnArray[ranspawn].togoArray.length)]; } _parent.gotoAndStop(6); } } movieClip 743 { frame 1 { if ((_root.setup_gametype == 'elimination' or _root.setup_gametype == 'team elimination') && _root[_parent._name + '_points'] < 1) { stop(); _parent.score_disp._visible = false; } } frame 12 { team = _parent.team; _parent.weapon = 'machinegun'; weapon = _parent.weapon; } frame 22 { _parent.life = _parent.totallife; _parent.lbar._visible = true; _parent.mapmarker._visible = true; _parent.player_pointer._visible = true; _parent.gotoAndStop(1); } } movieClip 744 unit_deathmatch { frame 1 { stop(); } frame 5 { if (_parent._visible == true) { _root.splat.start(0, 0); _root.splat.setVolume(_root.sfxvolume); } } } movieClip 747 { } // unknown tag 88 length 38 movieClip 753 level_2 { } movieClip 755 fadeout { frame 12 { this.action = 'ply'; if ('ply') { _root.gotoAndPlay(this.destination); } this.action = 'stp'; if ('stp') { _root.gotoAndStop(this.destination); } } frame 14 { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 757 { } movieClip 760 { } movieClip 762 { } movieClip 763 { } movieClip 766 { } movieClip 767 { } movieClip 769 { } movieClip 771 { } movieClip 773 level_4 { } movieClip 775 level_5 { } movieClip 777 level_7 { } movieClip 779 level_6 { } movieClip 784 newsfeed { } movieClip 786 level_10 { } movieClip 788 level_8 { } movieClip 790 level_9 { } movieClip 792 level_3 { } movieClip 794 level_1 { } movieClip 805 tscore { frame 1 { stop(); } } movieClip 816 summarybg { frame 1 { stop(); } } movieClip 818 smokeholder { } movieClip 819 level_case { } movieClip 820 fadein { frame 20 { this.swapDepths(_parent.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 826 icon_char { } frame 1 { allchars = ['max', 'harry', 'seb', 'sean', 'orca', 'sarah', 'johnson', 'thane', 'marsh', 'roundy', 'tobo', 'wompoon', 'bot', 'payne', 'hawkton', 'red hand', 'trooper', 'undead', 'crabug', 'cow', 'reptillion', 'king rep', 'roger', 'derrick', 'thudds', 'beardless', 'cat', 'pig', 'chicken', 'smallcok', 'steve', 'ed', 'ollie', 'commander', 'shark', 'pedro', 'brutus', 'luis', 'siren', 'octopod', 'dad', 'james']; } frame 1 { _root.vcam.target = _root.player1; cameraFunction = function () { _root.hud._x = _root.vcam._x; _root.hud._y = _root.vcam._y; _root.bg._x = _root.vcam._x / 1.2; _root.bg._y = _root.vcam._y; _root.bg1._x = _root.vcam._x / _root.bg1.m - _root.vcam._width / 2; _root.bg1._y = _root.vcam._y / _root.bg1.vm; _root.vcam.camControl(); _root.vcam._y += (_root.vcam.target._y - _root.vcam._y) / 5; _root.vcam._x = _root.vcam._x + (_root.vcam.target._x - _root.vcam._x) / 10 - _root.vcam.xadjust; if (_root.vcam._x + _root.vcam._width / 2 > _root.r_limit._x) { _root.vcam._x = _root.r_limit._x - _root.vcam._width / 2; } if (_root.vcam._x - _root.vcam._width / 2 < _root.l_limit._x) { _root.vcam._x = _root.l_limit._x + _root.vcam._width / 2; } if (_root.vcam._y + _root.vcam._height / 2 > _root.d_limit._y) { _root.vcam._y = _root.d_limit._y - _root.vcam._height / 2; } if (_root.vcam._y - _root.vcam._height / 2 < _root.u_limit._y) { _root.vcam._y = _root.u_limit._y + _root.vcam._height / 2; } }; pauseFunction = function () { if (_root.pcooldown > -1) { --_root.pcooldown; } if ((Key.isDown(80) or Key.isDown(27)) && _root.hud.showstats._currentframe == 1 && _root.pcooldown < 1) { _root.pcooldown = 15; _root.hud.showstats.gotoAndPlay('pause'); _root.hud.swapDepths(_root.getNextHighestDepth()); _root.player1.run_mc.stop(); _root.player2.run_mc.stop(); _root.player3.run_mc.stop(); _root.player4.run_mc.stop(); _root.player5.run_mc.stop(); _root.player6.run_mc.stop(); _root.player7.run_mc.stop(); _root.player8.run_mc.stop(); } if (_root.hud.showstats._currentframe == 92 && Key.isDown(80) && _root.pcooldown < 1) { _root.pcooldown = 15; _root.hud.showstats.gotoAndPlay(93); _root.player1.run_mc.play(); _root.player2.run_mc.play(); _root.player3.run_mc.play(); _root.player4.run_mc.play(); _root.player5.run_mc.play(); _root.player6.run_mc.play(); _root.player7.run_mc.play(); _root.player8.run_mc.play(); } }; boostFunction = function (subject1) { if (subject1.hitTest(_root.vcam)) { subject1._visible = true; } else { subject1._visible = false; } if (subject1._visible == true) { if (subject1.hitTest(_root.player1.hitbox) && Key.isDown(_root.key_jump) && _root.player1.onGround == true) { _root.player1.grav = 27; subject1.gotoAndPlay(3); _root.teleport.start(0, 0); _root.teleport.setVolume(_root.sfxvolume); } } }; } frame 1 { team_resistance = ['orca', 'harry', 'sean', 'max']; team_bots = ['bot', 'bot', 'bot', 'bot', 'bot', 'bot', 'bot', 'bot']; team_wompoons = ['wompoon', 'wompoon', 'wompoon', 'wompoon', 'wompoon', 'wompoon', 'wompoon', 'wompoon']; team_farm = ['cat', 'pig', 'cow', 'chicken']; team_gladiators = ['siren', 'luis', 'brutus', 'pedro']; team_villagers = ['dad', 'sarah', 'seb', 'james']; team_swa = ['thane', 'marsh', 'tobo', 'roundy', 'thane', 'marsh', 'tobo', 'roundy']; team_pirates = ['beardless', 'thudds', 'roger', 'derrick']; team_reptillions = ['king rep', 'reptillion', 'reptillion', 'reptillion']; team_sharkonians = ['shark', 'shark', 'shark', 'shark']; team_evil = ['commander', 'trooper', 'trooper', 'trooper']; team_uedf = ['payne', 'hawkton', 'smallcok', 'johnson']; team_outcasts = ['ed', 'ollie', 'ed', 'ollie']; team_redhand = ['red hand', 'red hand', 'red hand', 'red hand']; team_octopods = ['octopod', 'octopod', 'octopod', 'octopod']; team_crabugs = ['crabug', 'crabug', 'crabug', 'crabug']; team_undead = ['undead', 'undead', 'undead', 'undead']; _root.playlvlmusic = function () { _root.musicqueue += 1; if (_root.musicqueue > 4) { _root.musicqueue = 0; } _root['music' + _root.musicqueue].start(0, 99); _root['music' + _root.musicqueue].setVolume(_root.musicvolume); }; _root.saveData = SharedObject.getLocal('combathero_save'); _root.musicqueue = 0; saveresetFunction = function () { _root.setup_warned = false; _root.saveData.data.setup_warned = _root.setup_warned; _root.team1_char = team_resistance; _root.team1_teamname = 'resistance'; _root.saveData.data.team1_char = _root.team1_char; _root.saveData.data.team1_teamname = _root.team1_teamname; _root.team2_char = team_swa; _root.team2_teamname = 'team swa'; _root.saveData.data.team2_char = _root.team2_char; _root.saveData.data.team2_teamname = _root.team2_teamname; _root.team3_char = team_bots; _root.team3_teamname = 'bots'; _root.saveData.data.team3_char = _root.team3_char; _root.saveData.data.team3_teamname = _root.team3_teamname; _root.team4_char = team_wompoons; _root.team4_teamname = 'wompoons'; _root.saveData.data.team4_char = _root.team4_char; _root.saveData.data.team4_teamname = _root.team4_teamname; _root.ctf_team1_char = team_crabugs; _root.ctf_team1_teamname = 'crabugs'; _root.saveData.data.ctf_team1_char = _root.ctf_team1_char; _root.saveData.data.ctf_team1_teamname = _root.ctf_team1_teamname; _root.ctf_team2_char = team_reptillions; _root.ctf_team2_teamname = 'reptillions'; _root.saveData.data.ctf_team2_char = _root.ctf_team2_char; _root.saveData.data.ctf_team2_teamname = _root.ctf_team2_teamname; _root.sfxvolume = 100; _root.saveData.data.sfxvolume = _root.sfxvolume; _root.musicvolume = 80; _root.saveData.data.musicvolume = _root.musicvolume; _root.showparticles = true; _root.saveData.data.showparticles = _root.showparticles; _root.player1_team = 'team1'; _root.saveData.data.player1_team = _root.player1_team; _root.player1_customname = 'player'; _root.saveData.data.player1_customname = _root.player1_customname; _root.player1_customcharacter = _root.allchars[random(_root.allchars.length)]; _root.saveData.data.player1_customcharacter = _root.player1_customcharacter; _root.player_controls = 'mouse'; _root.saveData.data.player_controls = _root.player_controls; _root.key_jump = 87; _root.saveData.data.key_jump = _root.key_jump; _root.key_left = 65; _root.saveData.data.key_left = _root.key_left; _root.key_right = 68; _root.saveData.data.key_right = _root.key_right; _root.key_pickup = 83; _root.saveData.data.key_pickup = _root.key_pickup; _root.key_sleft = 74; _root.saveData.data.key_sleft = _root.key_sleft; _root.key_sright = 76; _root.saveData.data.key_sright = _root.key_sright; _root.key_sup = 73; _root.saveData.data.key_sup = _root.key_sup; _root.key_sdown = 75; _root.saveData.data.key_sdown = _root.key_sdown; _root.gm_i = 0; _root.saveData.data.gm_i = _root.gm_i; _root.lvl_j = 2; _root.saveData.data.lvl_j = _root.lvl_j; _root.diff_k = 1; _root.saveData.data.diff_k = _root.diff_k; _root._quality = 'HIGH'; _root.saveData.data.qual = _root._quality; _root.pts_l = 2; _root.saveData.data.pts_l = _root.pts_l; _root.time_m = 4; _root.saveData.data.time_m = _root.time_m; _root.stats_tkills = 0; _root.saveData.data.stats_tkills = _root.stats_tkills; _root.stats_teamwins = 0; _root.saveData.data.stats_teamwins = _root.stats_teamwins; _root.stats_teamlosses = 0; _root.saveData.data.stats_teamlosses = _root.stats_teamlosses; _root.stats_solowins = 0; _root.saveData.data.stats_solowins = _root.stats_solowins; _root.stats_sololosses = 0; _root.saveData.data.stats_sololosses = _root.stats_sololosses; _root.player_suicide = 0; _root.saveData.data.player_suicide = _root.player_suicide; _root.winstreak = 0; _root.saveData.data.winstreak = _root.winstreak; _root.totalpoints = 0; _root.saveData.data.totalpoints = _root.totalpoints; _root.g1gold = false; _root.saveData.data.g1gold = _root.g1gold; _root.g2gold = false; _root.saveData.data.g2gold = _root.g2gold; _root.g3gold = false; _root.saveData.data.g3gold = _root.g3gold; _root.g4gold = false; _root.saveData.data.g4gold = _root.g4gold; _root.g5gold = false; _root.saveData.data.g5gold = _root.g5gold; _root.g6gold = false; _root.saveData.data.g6gold = _root.g6gold; _root.g7gold = false; _root.saveData.data.g7gold = _root.g7gold; _root.g8gold = false; _root.saveData.data.g8gold = _root.g8gold; _root.g9gold = false; _root.saveData.data.g9gold = _root.g9gold; _root.g10gold = false; _root.saveData.data.g10gold = _root.g10gold; _root.g11gold = false; _root.saveData.data.g11gold = _root.g11gold; _root.g12gold = false; _root.saveData.data.g12gold = _root.g12gold; _root.g1goldul = false; _root.saveData.data.g1goldul = _root.g1goldul; _root.g2goldul = false; _root.saveData.data.g2goldul = _root.g2goldul; _root.g3goldul = false; _root.saveData.data.g3goldul = _root.g3goldul; _root.g4goldul = false; _root.saveData.data.g4goldul = _root.g4goldul; _root.g5goldul = false; _root.saveData.data.g5goldul = _root.g5goldul; _root.g6goldul = false; _root.saveData.data.g6goldul = _root.g6goldul; _root.g7goldul = false; _root.saveData.data.g7goldul = _root.g7goldul; _root.g8goldul = false; _root.saveData.data.g8goldul = _root.g8goldul; _root.g9goldul = false; _root.saveData.data.g9goldul = _root.g9goldul; _root.g10goldul = false; _root.saveData.data.g10goldul = _root.g10goldul; _root.g11goldul = false; _root.saveData.data.g11goldul = _root.g11goldul; _root.g12goldul = false; _root.saveData.data.g12goldul = _root.g12goldul; _root.g1ul = true; _root.saveData.data.g1ul = _root.g1ul; _root.g2ul = true; _root.saveData.data.g2ul = _root.g2ul; _root.g3ul = true; _root.saveData.data.g3ul = _root.g3ul; _root.g4ul = false; _root.saveData.data.g4ul = _root.g4ul; _root.g5ul = false; _root.saveData.data.g5ul = _root.g5ul; _root.g6ul = false; _root.saveData.data.g6ul = _root.g6ul; _root.g7ul = false; _root.saveData.data.g7ul = _root.g7ul; _root.g8ul = false; _root.saveData.data.g8ul = _root.g8ul; _root.g9ul = false; _root.saveData.data.g9ul = _root.g9ul; _root.g10ul = false; _root.saveData.data.g10ul = _root.g10ul; _root.g11ul = false; _root.saveData.data.g11ul = _root.g11ul; _root.g12ul = false; _root.saveData.data.g12ul = _root.g12ul; _root.level1 = true; _root.saveData.data.level1 = _root.level1; _root.level2 = false; _root.saveData.data.level2 = _root.level2; _root.level3 = false; _root.saveData.data.level3 = _root.level3; _root.level4 = false; _root.saveData.data.level4 = _root.level4; _root.level5 = false; _root.saveData.data.level5 = _root.level5; _root.level6 = false; _root.saveData.data.level6 = _root.level6; _root.level7 = false; _root.saveData.data.level7 = _root.level7; _root.level8 = false; _root.saveData.data.level8 = _root.level8; _root.level9 = false; _root.saveData.data.level9 = _root.level9; _root.level10 = false; _root.saveData.data.level10 = _root.level10; _root.level11 = false; _root.saveData.data.level11 = _root.level11; _root.level12 = false; _root.saveData.data.level12 = _root.level12; _root.level13 = false; _root.saveData.data.level13 = _root.level13; _root.level14 = false; _root.saveData.data.level14 = _root.level14; _root.level15 = false; _root.saveData.data.level15 = _root.level15; _root.level16 = false; _root.saveData.data.level16 = _root.level16; _root.level17 = false; _root.saveData.data.level17 = _root.level17; _root.level18 = false; _root.saveData.data.level18 = _root.level18; _root.m1 = false; _root.saveData.data.m1 = _root.m1; _root.m2 = false; _root.saveData.data.m2 = _root.m2; _root.m3 = false; _root.saveData.data.m3 = _root.m3; _root.m4 = false; _root.saveData.data.m4 = _root.m4; _root.m5 = false; _root.saveData.data.m5 = _root.m5; _root.m6 = false; _root.saveData.data.m6 = _root.m6; _root.m7 = false; _root.saveData.data.m7 = _root.m7; _root.m8 = false; _root.saveData.data.m8 = _root.m8; _root.m9 = false; _root.saveData.data.m9 = _root.m9; _root.m10 = false; _root.saveData.data.m10 = _root.m10; _root.m11 = false; _root.saveData.data.m11 = _root.m11; _root.m12 = false; _root.saveData.data.m12 = _root.m12; _root.m13 = false; _root.saveData.data.m13 = _root.m13; _root.m14 = false; _root.saveData.data.m14 = _root.m14; _root.m15 = false; _root.saveData.data.m15 = _root.m15; _root.m16 = false; _root.saveData.data.m16 = _root.m16; _root.gun1xp = 0; _root.saveData.data.gun1xp = _root.gun1xp; _root.gun2xp = 0; _root.saveData.data.gun2xp = _root.gun2xp; _root.gun3xp = 0; _root.saveData.data.gun3xp = _root.gun3xp; _root.gun4xp = 0; _root.saveData.data.gun4xp = _root.gun4xp; _root.gun5xp = 0; _root.saveData.data.gun5xp = _root.gun5xp; _root.gun6xp = 0; _root.saveData.data.gun6xp = _root.gun6xp; _root.gun7xp = 0; _root.saveData.data.gun7xp = _root.gun7xp; _root.gun8xp = 0; _root.saveData.data.gun8xp = _root.gun8xp; _root.gun9xp = 0; _root.saveData.data.gun9xp = _root.gun9xp; _root.gun10xp = 0; _root.saveData.data.gun10xp = _root.gun10xp; _root.gun11xp = 0; _root.saveData.data.gun11xp = _root.gun11xp; _root.gun12xp = 0; _root.saveData.data.gun12xp = _root.gun12xp; _root.saveData.flush(); }; if (_root.saveData.data.exists == 1) { _root.setup_warned = _root.saveData.data.setup_warned; _root.team1_char = _root.saveData.data.team1_char; _root.team1_teamname = _root.saveData.data.team1_teamname; _root.team2_char = _root.saveData.data.team2_char; _root.team2_teamname = _root.saveData.data.team2_teamname; _root.team3_char = _root.saveData.data.team3_char; _root.team3_teamname = _root.saveData.data.team3_teamname; _root.team4_char = _root.saveData.data.team4_char; _root.team4_teamname = _root.saveData.data.team4_teamname; _root.ctf_team1_char = _root.saveData.data.ctf_team1_char; _root.ctf_team1_teamname = _root.saveData.data.ctf_team1_teamname; _root.ctf_team2_char = _root.saveData.data.ctf_team2_char; _root.ctf_team2_teamname = _root.saveData.data.ctf_team2_teamname; _root.m1 = _root.saveData.data.m1; _root.m2 = _root.saveData.data.m2; _root.m3 = _root.saveData.data.m3; _root.m4 = _root.saveData.data.m4; _root.m5 = _root.saveData.data.m5; _root.m6 = _root.saveData.data.m6; _root.m7 = _root.saveData.data.m7; _root.m8 = _root.saveData.data.m8; _root.m9 = _root.saveData.data.m9; _root.m10 = _root.saveData.data.m10; _root.m11 = _root.saveData.data.m11; _root.m12 = _root.saveData.data.m12; _root.m13 = _root.saveData.data.m13; _root.m14 = _root.saveData.data.m14; _root.m15 = _root.saveData.data.m15; _root.m16 = _root.saveData.data.m16; _root.g1goldul = _root.saveData.data.g1goldul; _root.g2goldul = _root.saveData.data.g2goldul; _root.g3goldul = _root.saveData.data.g3goldul; _root.g4goldul = _root.saveData.data.g4goldul; _root.g5goldul = _root.saveData.data.g5goldul; _root.g6goldul = _root.saveData.data.g6goldul; _root.g7goldul = _root.saveData.data.g7goldul; _root.g8goldul = _root.saveData.data.g8goldul; _root.g9goldul = _root.saveData.data.g9goldul; _root.g10goldul = _root.saveData.data.g10goldul; _root.g11goldul = _root.saveData.data.g11goldul; _root.g12goldul = _root.saveData.data.g12goldul; _root.g1gold = _root.saveData.data.g1gold; _root.g2gold = _root.saveData.data.g2gold; _root.g3gold = _root.saveData.data.g3gold; _root.g4gold = _root.saveData.data.g4gold; _root.g5gold = _root.saveData.data.g5gold; _root.g6gold = _root.saveData.data.g6gold; _root.g7gold = _root.saveData.data.g7gold; _root.g8gold = _root.saveData.data.g8gold; _root.g9gold = _root.saveData.data.g9gold; _root.g10gold = _root.saveData.data.g10gold; _root.g11gold = _root.saveData.data.g11gold; _root.g12gold = _root.saveData.data.g12gold; _root.stats_tkills = _root.saveData.data.stats_tkills; _root.stats_teamwins = _root.saveData.data.stats_teamwins; _root.stats_teamlosses = _root.saveData.data.stats_teamlosses; _root.stats_solowins = _root.saveData.data.stats_solowins; _root.stats_sololosses = _root.saveData.data.stats_sololosses; _root.player_suicide = _root.saveData.data.player_suicide; _root.winstreak = _root.saveData.data.winstreak; _root.totalpoints = _root.saveData.data.totalpoints; _root.g1ul = _root.saveData.data.g1ul; _root.g2ul = _root.saveData.data.g2ul; _root.g3ul = _root.saveData.data.g3ul; _root.g4ul = _root.saveData.data.g4ul; _root.g5ul = _root.saveData.data.g5ul; _root.g6ul = _root.saveData.data.g6ul; _root.g7ul = _root.saveData.data.g7ul; _root.g8ul = _root.saveData.data.g8ul; _root.g9ul = _root.saveData.data.g9ul; _root.g10ul = _root.saveData.data.g10ul; _root.g11ul = _root.saveData.data.g11ul; _root.g12ul = _root.saveData.data.g12ul; _root.gun1xp = _root.saveData.data.gun1xp; _root.gun2xp = _root.saveData.data.gun2xp; _root.gun3xp = _root.saveData.data.gun3xp; _root.gun4xp = _root.saveData.data.gun4xp; _root.gun5xp = _root.saveData.data.gun5xp; _root.gun6xp = _root.saveData.data.gun6xp; _root.gun7xp = _root.saveData.data.gun7xp; _root.gun8xp = _root.saveData.data.gun8xp; _root.gun9xp = _root.saveData.data.gun9xp; _root.gun10xp = _root.saveData.data.gun10xp; _root.gun11xp = _root.saveData.data.gun11xp; _root.gun12xp = _root.saveData.data.gun12xp; _root.level1 = _root.saveData.data.level1; _root.level2 = _root.saveData.data.level2; _root.level3 = _root.saveData.data.level3; _root.level4 = _root.saveData.data.level4; _root.level5 = _root.saveData.data.level5; _root.level6 = _root.saveData.data.level6; _root.level7 = _root.saveData.data.level7; _root.level8 = _root.saveData.data.level8; _root.level9 = _root.saveData.data.level9; _root.level10 = _root.saveData.data.level10; _root.level11 = _root.saveData.data.level11; _root.level12 = _root.saveData.data.level12; _root.level13 = _root.saveData.data.level13; _root.level14 = _root.saveData.data.level14; _root.level15 = _root.saveData.data.level15; _root.level16 = _root.saveData.data.level16; _root.level17 = _root.saveData.data.level17; _root.level18 = _root.saveData.data.level18; _root.sfxvolume = _root.saveData.data.sfxvolume; _root.musicvolume = _root.saveData.data.musicvolume; _root.showparticles = _root.saveData.data.showparticles; _root.player1_team = _root.saveData.data.player1_team; _root.player1_customname = _root.saveData.data.player1_customname; _root.player1_customcharacter = _root.saveData.data.player1_customcharacter; _root.player_controls = _root.saveData.data.player_controls; _root.key_jump = _root.saveData.data.key_jump; _root.key_left = _root.saveData.data.key_left; _root.key_right = _root.saveData.data.key_right; _root.key_pickup = _root.saveData.data.key_pickup; _root.key_sleft = _root.saveData.data.key_sleft; _root.key_sright = _root.saveData.data.key_sright; _root.key_sup = _root.saveData.data.key_sup; _root.key_sdown = _root.saveData.data.key_sdown; _root.gm_i = _root.saveData.data.gm_i; _root.lvl_j = _root.saveData.data.lvl_j; _root.diff_k = _root.saveData.data.diff_k; _root._quality = _root.saveData.data.qual; _root.pts_l = _root.saveData.data.pts_l; _root.time_m = _root.saveData.data.time_m; } else { _root.saveData.data.exists = 1; saveresetFunction(); } saveitFunction = function () { _root.saveData.data.setup_warned = _root.setup_warned; _root.saveData.data.team1_char = _root.team1_char; _root.saveData.data.team1_teamname = _root.team1_teamname; _root.saveData.data.team2_char = _root.team2_char; _root.saveData.data.team2_teamname = _root.team2_teamname; _root.saveData.data.team3_char = _root.team3_char; _root.saveData.data.team3_teamname = _root.team3_teamname; _root.saveData.data.team4_char = _root.team4_char; _root.saveData.data.team4_teamname = _root.team4_teamname; _root.saveData.data.ctf_team1_char = _root.ctf_team1_char; _root.saveData.data.ctf_team1_teamname = _root.ctf_team1_teamname; _root.saveData.data.ctf_team2_char = _root.ctf_team2_char; _root.saveData.data.ctf_team2_teamname = _root.ctf_team2_teamname; _root.saveData.data.m1 = _root.m1; _root.saveData.data.m2 = _root.m2; _root.saveData.data.m3 = _root.m3; _root.saveData.data.m4 = _root.m4; _root.saveData.data.m5 = _root.m5; _root.saveData.data.m6 = _root.m6; _root.saveData.data.m7 = _root.m7; _root.saveData.data.m8 = _root.m8; _root.saveData.data.m9 = _root.m9; _root.saveData.data.m10 = _root.m10; _root.saveData.data.m11 = _root.m11; _root.saveData.data.m12 = _root.m12; _root.saveData.data.m13 = _root.m13; _root.saveData.data.m14 = _root.m14; _root.saveData.data.m15 = _root.m15; _root.saveData.data.m16 = _root.m16; _root.saveData.data.g1goldul = _root.g1goldul; _root.saveData.data.g2goldul = _root.g2goldul; _root.saveData.data.g3goldul = _root.g3goldul; _root.saveData.data.g4goldul = _root.g4goldul; _root.saveData.data.g5goldul = _root.g5goldul; _root.saveData.data.g6goldul = _root.g6goldul; _root.saveData.data.g7goldul = _root.g7goldul; _root.saveData.data.g8goldul = _root.g8goldul; _root.saveData.data.g9goldul = _root.g9goldul; _root.saveData.data.g10goldul = _root.g10goldul; _root.saveData.data.g11goldul = _root.g11goldul; _root.saveData.data.g12goldul = _root.g12goldul; _root.saveData.data.g1gold = _root.g1gold; _root.saveData.data.g2gold = _root.g2gold; _root.saveData.data.g3gold = _root.g3gold; _root.saveData.data.g4gold = _root.g4gold; _root.saveData.data.g5gold = _root.g5gold; _root.saveData.data.g6gold = _root.g6gold; _root.saveData.data.g7gold = _root.g7gold; _root.saveData.data.g8gold = _root.g8gold; _root.saveData.data.g9gold = _root.g9gold; _root.saveData.data.g10gold = _root.g10gold; _root.saveData.data.g11gold = _root.g11gold; _root.saveData.data.g12gold = _root.g12gold; _root.saveData.data.stats_tkills = _root.stats_tkills; _root.saveData.data.stats_teamwins = _root.stats_teamwins; _root.saveData.data.stats_teamlosses = _root.stats_teamlosses; _root.saveData.data.stats_solowins = _root.stats_solowins; _root.saveData.data.stats_sololosses = _root.stats_sololosses; _root.saveData.data.player_suicide = _root.player_suicide; _root.saveData.data.winstreak = _root.winstreak; _root.saveData.data.totalpoints = _root.totalpoints; _root.saveData.data.g1ul = _root.g1ul; _root.saveData.data.g2ul = _root.g2ul; _root.saveData.data.g3ul = _root.g3ul; _root.saveData.data.g4ul = _root.g4ul; _root.saveData.data.g5ul = _root.g5ul; _root.saveData.data.g6ul = _root.g6ul; _root.saveData.data.g7ul = _root.g7ul; _root.saveData.data.g8ul = _root.g8ul; _root.saveData.data.g9ul = _root.g9ul; _root.saveData.data.g10ul = _root.g10ul; _root.saveData.data.g11ul = _root.g11ul; _root.saveData.data.g12ul = _root.g12ul; _root.saveData.data.gun1xp = _root.gun1xp; _root.saveData.data.gun2xp = _root.gun2xp; _root.saveData.data.gun3xp = _root.gun3xp; _root.saveData.data.gun4xp = _root.gun4xp; _root.saveData.data.gun5xp = _root.gun5xp; _root.saveData.data.gun6xp = _root.gun6xp; _root.saveData.data.gun7xp = _root.gun7xp; _root.saveData.data.gun8xp = _root.gun8xp; _root.saveData.data.gun9xp = _root.gun9xp; _root.saveData.data.gun10xp = _root.gun10xp; _root.saveData.data.gun11xp = _root.gun11xp; _root.saveData.data.gun12xp = _root.gun12xp; _root.saveData.data.level1 = _root.level1; _root.saveData.data.level2 = _root.level2; _root.saveData.data.level3 = _root.level3; _root.saveData.data.level4 = _root.level4; _root.saveData.data.level5 = _root.level5; _root.saveData.data.level6 = _root.level6; _root.saveData.data.level7 = _root.level7; _root.saveData.data.level8 = _root.level8; _root.saveData.data.level9 = _root.level9; _root.saveData.data.level10 = _root.level10; _root.saveData.data.level11 = _root.level11; _root.saveData.data.level12 = _root.level12; _root.saveData.data.level13 = _root.level13; _root.saveData.data.level14 = _root.level14; _root.saveData.data.level15 = _root.level15; _root.saveData.data.level16 = _root.level16; _root.saveData.data.level17 = _root.level17; _root.saveData.data.level18 = _root.level18; _root.saveData.data.sfxvolume = _root.sfxvolume; _root.saveData.data.musicvolume = _root.musicvolume; _root.saveData.data.showparticles = _root.showparticles; _root.saveData.data.player1_team = _root.player1_team; _root.saveData.data.player1_customname = _root.player1_customname; _root.saveData.data.player1_customcharacter = _root.player1_customcharacter; _root.saveData.data.player_controls = _root.player_controls; _root.saveData.data.key_jump = _root.key_jump; _root.saveData.data.key_left = _root.key_left; _root.saveData.data.key_right = _root.key_right; _root.saveData.data.key_pickup = _root.key_pickup; _root.saveData.data.key_sleft = _root.key_sleft; _root.saveData.data.key_sright = _root.key_sright; _root.saveData.data.key_sup = _root.key_sup; _root.saveData.data.key_sdown = _root.key_sdown; _root.saveData.data.gm_i = _root.gm_i; _root.saveData.data.lvl_j = _root.lvl_j; _root.saveData.data.diff_k = _root.diff_k; _root.saveData.data.qual = _root._quality; _root.saveData.data.pts_l = _root.pts_l; _root.saveData.data.time_m = _root.time_m; _root.saveData.flush(); }; _root.setup_players = 0; _root.pcooldown = 0; _root.createEmptyMovieClip('sfxMC', 1001); jump = new Sound(sfxMC); jump.attachSound('jump'); splat = new Sound(sfxMC); splat.attachSound('splat'); explosionsfx = new Sound(sfxMC); explosionsfx.attachSound('explosionsfx'); boing = new Sound(sfxMC); boing.attachSound('boing'); teleport = new Sound(sfxMC); teleport.attachSound('teleport'); shellbump = new Sound(sfxMC); shellbump.attachSound('shellbump'); shellhit = new Sound(sfxMC); shellhit.attachSound('shellhit'); goohit = new Sound(sfxMC); goohit.attachSound('goohit'); btn_over = new Sound(sfxMC); btn_over.attachSound('btn_over'); btn_press = new Sound(sfxMC); btn_press.attachSound('btn_press'); btn_accept = new Sound(sfxMC); btn_accept.attachSound('btn_accept'); _root.createEmptyMovieClip('bulletMC', 1002); ric0 = new Sound(bulletMC); ric0.attachSound('ric0'); ric1 = new Sound(bulletMC); ric1.attachSound('ric1'); ric2 = new Sound(bulletMC); ric2.attachSound('ric2'); ric3 = new Sound(bulletMC); ric3.attachSound('ric3'); med_shot = new Sound(bulletMC); med_shot.attachSound('med_shot'); big_shot = new Sound(bulletMC); big_shot.attachSound('big_shot'); laser_shot = new Sound(bulletMC); laser_shot.attachSound('laser_shot'); rocketsfx = new Sound(bulletMC); rocketsfx.attachSound('rocketsfx'); grenadesfx = new Sound(bulletMC); grenadesfx.attachSound('grenadesfx'); shelllaunch = new Sound(bulletMC); shelllaunch.attachSound('shelllaunch'); shotgun = new Sound(bulletMC); shotgun.attachSound('shotgun'); silenced = new Sound(bulletMC); silenced.attachSound('silenced'); _root.createEmptyMovieClip('sfx1MC', 1003); medalsfx = new Sound(sfx1MC); medalsfx.attachSound('medalsfx'); cash = new Sound(sfx1MC); cash.attachSound('cash'); denied = new Sound(sfx1MC); denied.attachSound('denied'); bluescores = new Sound(sfx1MC); bluescores.attachSound('bluescores'); redscores = new Sound(sfx1MC); redscores.attachSound('redscores'); flagtaken = new Sound(sfx1MC); flagtaken.attachSound('flagtaken'); _root.createEmptyMovieClip('sfx1musicMC', 1004); music0 = new Sound(sfx1musicMC); music0.attachSound('music0'); music1 = new Sound(sfx1musicMC); music1.attachSound('music1'); music2 = new Sound(sfx1musicMC); music2.attachSound('music2'); music3 = new Sound(sfx1musicMC); music3.attachSound('music3'); music4 = new Sound(sfx1musicMC); music4.attachSound('music4'); menumusic = new Sound(sfx1musicMC); menumusic.attachSound('menumusic'); town = new Sound(sfx1musicMC); town.attachSound('town'); victoryjingle = new Sound(sfx1musicMC); victoryjingle.attachSound('victoryjingle'); loss_sfx = new Sound(sfx1musicMC); loss_sfx.attachSound('loss_sfx'); cutscene1 = new Sound(sfx1musicMC); cutscene1.attachSound('cutscene1'); adjectivesArray = ['killed', 'pwnd', 'owned', 'nailed', 'mashed', 'did in', 'got', 'ended', 'slew', 'beat', 'erased', 'owned']; _root.waypointArray = new Array(); _root.bullet1Array = new Array(); _root.rocketArray = new Array(); _root.grenadeArray = new Array(); _root.spawnArray = new Array(); _root.sawArray = new Array(); _root.bitsArray = new Array(); _root.nailArray = new Array(); _root.flameArray = new Array(); _root.gooArray = new Array(); _root.shellArray = new Array(); _root.activepowerupArray = new Array(); _root.powerupArray = new Array(); _root.redspawnArray = new Array(); _root.bluespawnArray = new Array(); _root.controlpointsArray = new Array(); _root.boostArray = new Array(); _root.nwssort = new Array(); team1_box_char = new Array(); team2_box_char = new Array(); team3_box_char = new Array(); team4_box_char = new Array(); ctf_team1_box_char = new Array(); ctf_team2_box_char = new Array(); dm_box_char = new Array(); } frame 1 { stop(); onEnterFrame = function () { _root.lbar._xscale = Math.floor((_root.getBytesLoaded() / getBytesTotal()) * 100); if (_root.lbar._xscale == 100) { delete this.onEnterFrame; _root.plybtn._y = 352.2; } }; } frame 1 { stamplevelFunction = function () { thislvl = attachMovie(_root.setup_level, lvl, _root.getNextHighestDepth()); thislvl.bg.swapDepths(thislvl.getNextHighestDepth()); thislvl.bg.removeMovieClip(); snapshot = new flash.display.BitmapData(thislvl._width, thislvl._height, true, 0); snapshot.draw(thislvl); thislvl.removeMovieClip(); _root.level_case.attachBitmap(snapshot, 1); _root.level_case.cacheAsBitmap(); }; drawsgcaseFunction = function (subject1) { subject1.ranangle = random(3); if (subject1.ranangle == 0) { _root.snapshot.setPixel(subject1._x - 3, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 1, 0); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 1, 0); _root.snapshot.setPixel(subject1._x + 5, subject1._y + 1, 0); _root.snapshot.setPixel(subject1._x + 6, subject1._y, 0); _root.snapshot.setPixel(subject1._x + 7, subject1._y, 0); _root.snapshot.setPixel(subject1._x - 3, subject1._y + 4, 0); _root.snapshot.setPixel(subject1._x - 3, subject1._y + 5, 0); if (subject1._xscale == 100) { _root.snapshot.setPixel(subject1._x - 2, subject1._y + 4, 9013512); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 4, 9013512); _root.snapshot.setPixel(subject1._x, subject1._y + 3, 9013512); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 3, 10027008); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 3, 10027008); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x + 5, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x + 6, subject1._y + 1, 10027008); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 5, 9013512); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 5, 9013512); _root.snapshot.setPixel(subject1._x, subject1._y + 4, 9013512); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 4, 10027008); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 4, 10027008); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 3, 10027008); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 3, 10027008); _root.snapshot.setPixel(subject1._x + 5, subject1._y + 3, 10027008); _root.snapshot.setPixel(subject1._x + 6, subject1._y + 2, 10027008); } if (subject1._xscale == -100) { _root.snapshot.setPixel(subject1._x - 2, subject1._y + 4, 10027008); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 4, 10027008); _root.snapshot.setPixel(subject1._x, subject1._y + 3, 10027008); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 3, 10027008); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 3, 10027008); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 2, 9013512); _root.snapshot.setPixel(subject1._x + 5, subject1._y + 2, 9013512); _root.snapshot.setPixel(subject1._x + 6, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 5, 10027008); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 5, 10027008); _root.snapshot.setPixel(subject1._x, subject1._y + 4, 10027008); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 4, 10027008); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 4, 10027008); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 3, 10027008); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 3, 9013512); _root.snapshot.setPixel(subject1._x + 5, subject1._y + 3, 9013512); _root.snapshot.setPixel(subject1._x + 6, subject1._y + 2, 9013512); } _root.snapshot.setPixel(subject1._x + 7, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x + 7, subject1._y + 1, 0); _root.snapshot.setPixel(subject1._x - 3, subject1._y + 6, 0); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 6, 0); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 6, 0); _root.snapshot.setPixel(subject1._x, subject1._y + 5, 0); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 5, 0); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 5, 0); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 4, 0); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 4, 0); _root.snapshot.setPixel(subject1._x + 5, subject1._y + 4, 0); _root.snapshot.setPixel(subject1._x + 6, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x + 7, subject1._y + 3, 0); } if (subject1.ranangle == 1) { _root.snapshot.setPixel(subject1._x - 3, subject1._y, 0); _root.snapshot.setPixel(subject1._x - 2, subject1._y, 0); _root.snapshot.setPixel(subject1._x - 1, subject1._y, 0); _root.snapshot.setPixel(subject1._x, subject1._y + 1, 0); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 1, 0); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 1, 0); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x + 5, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x + 6, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x + 7, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x - 3, subject1._y + 1, 0); _root.snapshot.setPixel(subject1._x - 3, subject1._y + 2, 0); if (subject1._xscale == 100) { _root.snapshot.setPixel(subject1._x - 2, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x, subject1._y + 2, 9013512); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 3, 10027008); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 3, 10027008); _root.snapshot.setPixel(subject1._x + 5, subject1._y + 3, 10027008); _root.snapshot.setPixel(subject1._x + 6, subject1._y + 4, 10027008); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 2, 9013512); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 2, 9013512); _root.snapshot.setPixel(subject1._x, subject1._y + 3, 9013512); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 3, 10027008); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 3, 10027008); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 4, 10027008); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 4, 10027008); _root.snapshot.setPixel(subject1._x + 5, subject1._y + 4, 10027008); _root.snapshot.setPixel(subject1._x + 6, subject1._y + 5, 10027008); } if (subject1._xscale == -100) { _root.snapshot.setPixel(subject1._x - 2, subject1._y + 1, 10027008); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 1, 10027008); _root.snapshot.setPixel(subject1._x, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 3, 10027008); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 3, 9013512); _root.snapshot.setPixel(subject1._x + 5, subject1._y + 3, 9013512); _root.snapshot.setPixel(subject1._x + 6, subject1._y + 4, 9013512); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x, subject1._y + 3, 10027008); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 3, 10027008); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 3, 10027008); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 4, 10027008); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 4, 9013512); _root.snapshot.setPixel(subject1._x + 5, subject1._y + 4, 9013512); _root.snapshot.setPixel(subject1._x + 6, subject1._y + 5, 9013512); } _root.snapshot.setPixel(subject1._x + 7, subject1._y + 4, 0); _root.snapshot.setPixel(subject1._x + 7, subject1._y + 5, 0); _root.snapshot.setPixel(subject1._x - 3, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x, subject1._y + 4, 0); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 4, 0); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 4, 0); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 5, 0); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 5, 0); _root.snapshot.setPixel(subject1._x + 5, subject1._y + 5, 0); _root.snapshot.setPixel(subject1._x + 6, subject1._y + 6, 0); _root.snapshot.setPixel(subject1._x + 7, subject1._y + 6, 0); } if (subject1.ranangle == 2) { _root.snapshot.setPixel(subject1._x - 3, subject1._y, 0); _root.snapshot.setPixel(subject1._x - 2, subject1._y, 0); _root.snapshot.setPixel(subject1._x - 1, subject1._y, 0); _root.snapshot.setPixel(subject1._x, subject1._y, 0); _root.snapshot.setPixel(subject1._x + 1, subject1._y, 0); _root.snapshot.setPixel(subject1._x + 2, subject1._y, 0); _root.snapshot.setPixel(subject1._x + 3, subject1._y, 0); _root.snapshot.setPixel(subject1._x + 4, subject1._y, 0); _root.snapshot.setPixel(subject1._x + 5, subject1._y, 0); _root.snapshot.setPixel(subject1._x + 6, subject1._y, 0); _root.snapshot.setPixel(subject1._x + 7, subject1._y, 0); _root.snapshot.setPixel(subject1._x - 3, subject1._y + 1, 0); _root.snapshot.setPixel(subject1._x - 3, subject1._y + 2, 0); if (subject1._xscale == -100) { _root.snapshot.setPixel(subject1._x - 2, subject1._y + 1, 10027008); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 1, 10027008); _root.snapshot.setPixel(subject1._x, subject1._y + 1, 10027008); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 1, 10027008); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 1, 10027008); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 1, 10027008); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x + 5, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x + 6, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 2, 9013512); _root.snapshot.setPixel(subject1._x + 5, subject1._y + 2, 9013512); _root.snapshot.setPixel(subject1._x + 6, subject1._y + 2, 9013512); } if (subject1._xscale == 100) { _root.snapshot.setPixel(subject1._x - 2, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 1, 10027008); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 1, 10027008); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 1, 10027008); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 1, 10027008); _root.snapshot.setPixel(subject1._x + 5, subject1._y + 1, 10027008); _root.snapshot.setPixel(subject1._x + 6, subject1._y + 1, 10027008); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 2, 9013512); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 2, 9013512); _root.snapshot.setPixel(subject1._x, subject1._y + 2, 9013512); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x + 5, subject1._y + 2, 10027008); _root.snapshot.setPixel(subject1._x + 6, subject1._y + 2, 10027008); } _root.snapshot.setPixel(subject1._x + 7, subject1._y + 1, 0); _root.snapshot.setPixel(subject1._x + 7, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x - 3, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x + 5, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x + 6, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x + 7, subject1._y + 3, 0); } }; drawcaseFunction = function (subject1) { subject1.ranangle = random(3); if (subject1.ranangle == 0) { _root.snapshot.setPixel(subject1._x - 3, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 1, 0); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 1, 0); _root.snapshot.setPixel(subject1._x + 3, subject1._y, 0); _root.snapshot.setPixel(subject1._x + 4, subject1._y, 0); _root.snapshot.setPixel(subject1._x - 3, subject1._y + 4, 0); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 3, 9013512); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 3, 9013512); _root.snapshot.setPixel(subject1._x, subject1._y + 2, 9013512); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 2, 9013512); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 1, 0); _root.snapshot.setPixel(subject1._x - 3, subject1._y + 5, 0); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 5, 0); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 4, 0); _root.snapshot.setPixel(subject1._x, subject1._y + 4, 0); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 2, 0); } if (subject1.ranangle == 1) { _root.snapshot.setPixel(subject1._x - 3, subject1._y, 0); _root.snapshot.setPixel(subject1._x - 2, subject1._y, 0); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 1, 0); _root.snapshot.setPixel(subject1._x, subject1._y + 1, 0); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x - 3, subject1._y + 1, 0); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x, subject1._y + 2, 9013512); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 2, 9013512); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 3, 9013512); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 3, 9013512); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 4, 0); _root.snapshot.setPixel(subject1._x - 3, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x, subject1._y + 3, 0); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 4, 0); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 4, 0); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 5, 0); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 5, 0); } if (subject1.ranangle == 2) { _root.snapshot.setPixel(subject1._x - 3, subject1._y, 0); _root.snapshot.setPixel(subject1._x - 2, subject1._y, 0); _root.snapshot.setPixel(subject1._x - 1, subject1._y, 0); _root.snapshot.setPixel(subject1._x, subject1._y, 0); _root.snapshot.setPixel(subject1._x + 1, subject1._y, 0); _root.snapshot.setPixel(subject1._x + 2, subject1._y, 0); _root.snapshot.setPixel(subject1._x + 3, subject1._y, 0); _root.snapshot.setPixel(subject1._x + 4, subject1._y, 0); _root.snapshot.setPixel(subject1._x - 3, subject1._y + 1, 0); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 1, 9013512); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 1, 0); _root.snapshot.setPixel(subject1._x - 3, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x + 3, subject1._y + 2, 0); _root.snapshot.setPixel(subject1._x + 4, subject1._y + 2, 0); } }; drawbloodspeckFunction = function (subject1) { _root.snapshot.setPixel(subject1._x, subject1._y, 6362131); _root.snapshot.setPixel(subject1._x + 1, subject1._y, 6362131); _root.snapshot.setPixel(subject1._x - 1, subject1._y, 6362131); _root.snapshot.setPixel(subject1._x, subject1._y + 1, 6362131); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 1, 6362131); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 1, 6362131); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 1, 6362131); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 1, 6362131); _root.snapshot.setPixel(subject1._x, subject1._y + 2, 6362131); _root.snapshot.setPixel(subject1._x + 1, subject1._y + 2, 6362131); _root.snapshot.setPixel(subject1._x + 2, subject1._y + 2, 6362131); _root.snapshot.setPixel(subject1._x - 2, subject1._y + 2, 6362131); _root.snapshot.setPixel(subject1._x - 1, subject1._y + 2, 6362131); }; } frame 1 { _root.gun1totalxp = 50; _root.gun2totalxp = 50; _root.gun3totalxp = 50; _root.gun4totalxp = 50; _root.gun5totalxp = 50; _root.gun6totalxp = 50; _root.gun7totalxp = 50; _root.gun8totalxp = 50; _root.gun9totalxp = 50; _root.gun10totalxp = 50; _root.gun11totalxp = 50; _root.gun12totalxp = 50; medalsFunction = function () { if (_root.stats_tkills > 0 && _root.m1 != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('medal'); _root.hud.mcase.medal.displaymedalname = 'first blood'; _root.m1 = true; } if (_root.stats_tkills > 50 && _root.m2 != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('medal'); _root.hud.mcase.medal.displaymedalname = 'cold killer'; _root.m2 = true; } if (_root.stats_tkills > 150 && _root.m3 != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('medal'); _root.hud.mcase.medal.displaymedalname = 'blood thirsty'; _root.m3 = true; } if (_root.stats_tkills > 300 && _root.m4 != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('medal'); _root.hud.mcase.medal.displaymedalname = 'mass murderer'; _root.m4 = true; } if (_root.stats_tkills > 1000 && _root.m5 != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('medal'); _root.hud.mcase.medal.displaymedalname = 'genocidal maniac'; _root.m5 = true; } if ((_root.stats_teamwins > 0 or _root.stats_solowins > 0) && _root.m6 != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('medal'); _root.hud.mcase.medal.displaymedalname = 'big winner'; _root.m6 = true; } if (_root.stats_teamwins > 5 && _root.m9 != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('medal'); _root.hud.mcase.medal.displaymedalname = 'team captain'; _root.m9 = true; } if (_root.stats_teamwins > 15 && _root.m10 != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('medal'); _root.hud.mcase.medal.displaymedalname = 'commander'; _root.m10 = true; } if (_root.stats_teamwins > 25 && _root.m11 != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('medal'); _root.hud.mcase.medal.displaymedalname = 'general'; _root.m11 = true; } if (_root.stats_solowins > 5 && _root.m12 != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('medal'); _root.hud.mcase.medal.displaymedalname = 'lone wolf'; _root.m12 = true; } if (_root.stats_solowins > 15 && _root.m13 != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('medal'); _root.hud.mcase.medal.displaymedalname = 'i work alone'; _root.m13 = true; } if (_root.stats_solowins > 25 && _root.m14 != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('medal'); _root.hud.mcase.medal.displaymedalname = 'one man army'; _root.m14 = true; } if (_root.player_suicide > 0 && _root.m15 != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('medal'); _root.hud.mcase.medal.displaymedalname = 'vertigo'; _root.m15 = true; } if (_root.m16 != true && _root.beatthegame == true) { _root.hud.mcase.gotoAndPlay('medal'); _root.hud.mcase.medal.displaymedalname = 'combat hero'; _root.m16 = true; } }; } frame 1 { tag = 0; artificialsmartsFunction = function (subject1) { if (subject1.hitTest(_root.vcam)) { subject1._visible = true; } else { subject1._visible = false; } if (subject1._currentframe != 5 && subject1._currentframe != 6) { subject1._y -= subject1.grav; if (subject1.grav > -100) { subject1.grav -= 1; } while (_root.ground.hitTest(subject1._x + subject1.hitbox._x, subject1._y + subject1.hitbox._y + subject1.hitbox._height / 2 - 2, true)) { --subject1._y; subject1.grav = 0; } while (_root.ground.hitTest(subject1._x + subject1.hitbox._x, subject1._y + subject1.hitbox._y - subject1.hitbox._height / 2 + 2, true)) { ++subject1._y; subject1.grav = -3; } if (_root.setup_gametype == 'control points') { if (subject1.capturingcp != true) { if (subject1._x < subject1.gototarget._x) { subject1._x += 5; if (subject1.onGround == true) { if (subject1._xscale == -100) { subject1.gotoAndStop(2); } if (subject1._xscale == 100) { subject1.gotoAndStop(4); } } } if (subject1._x > subject1.gototarget._x) { subject1._x -= 5; if (subject1.onGround == true) { if (subject1._xscale == 100) { subject1.gotoAndStop(2); } if (subject1._xscale == -100) { subject1.gotoAndStop(4); } } } } } else { if (subject1._x < subject1.gototarget._x) { subject1._x += 5; if (subject1.onGround == true) { subject1.gotoAndStop(2); } } if (subject1._x > subject1.gototarget._x) { subject1._x -= 5; if (subject1.onGround == true) { subject1.gotoAndStop(2); } } } if (_root.ground.hitTest(subject1._x + subject1.hitbox._x, subject1._y + subject1.hitbox._y + subject1.hitbox._height / 2 + 10, true)) { subject1.onGround = true; } else { if (subject1.onGround == true) { subject1.gotoAndStop(3); } subject1.onGround = false; } i = 0; while (i < _root.waypointArray.length) { if (subject1.hitbox.hitTest(_root.waypointArray[i]) && subject1.lastorderfrom != _root.waypointArray[i] && subject1.onGround == true) { if (_root.setup_gametype == 'capture the flag' && _root.ctfstyle == 'new') { if (subject1.priority == null) { subject1.rangoto = random(_root.waypointArray[i].togoArray.length); } else { subject1.rangoto = random(_root.waypointArray[i][subject1.priority + 'Array'].length); } subject1.gototarget = _root.waypointArray[i][subject1.priority + 'Array'][subject1.rangoto]; if (_root.waypointArray[i][subject1.priority + 'togoactionArray'][subject1.rangoto] == 'jump') { subject1.grav = 15; if (subject1._visible == true) { _root.jump.start(0, 0); _root.jump.setVolume(_root.sfxvolume - 10); } } if (_root.waypointArray[i][subject1.priority + 'togoactionArray'][subject1.rangoto] == 'boost') { subject1.grav = 27; if (subject1._visible == true) { _root.teleport.start(0, 0); _root.teleport.setVolume(_root.sfxvolume - 10); } } if (_root.waypointArray[i][subject1.priority + 'togoactionArray'][subject1.rangoto] == 'hop') { subject1.grav = 13; if (subject1._visible == true) { _root.jump.start(0, 0); _root.jump.setVolume(_root.sfxvolume - 10); } } } else { if (subject1.priority == null) { subject1.rangoto = random(_root.waypointArray[i].togoArray.length); } else { subject1.rangoto = _root.waypointArray[i][subject1.priority + 'Array'][random(_root.waypointArray[i][subject1.priority + 'Array'].length)]; } subject1.gototarget = _root.waypointArray[i].togoArray[subject1.rangoto]; if (_root.waypointArray[i].togoactionArray[subject1.rangoto] == 'jump') { subject1.grav = 15; if (subject1._visible == true) { _root.jump.start(0, 0); _root.jump.setVolume(_root.sfxvolume - 10); } } if (_root.waypointArray[i].togoactionArray[subject1.rangoto] == 'boost') { subject1.grav = 27; if (subject1._visible == true) { _root.teleport.start(0, 0); _root.teleport.setVolume(_root.sfxvolume - 10); } } if (_root.waypointArray[i].togoactionArray[subject1.rangoto] == 'hop') { subject1.grav = 13; if (subject1._visible == true) { _root.jump.start(0, 0); _root.jump.setVolume(_root.sfxvolume - 10); } } } subject1.lastorderfrom = _root.waypointArray[i]; } ++i; } subject1.mapmarker._x = subject1._x / (_root.ground._width / _root.hud.map.map._width); subject1.mapmarker._y = (subject1._y - subject1.hitbox._height / 2) / (_root.ground._height / _root.hud.map.map._height); subject1.lbar._x = subject1._x; subject1.lbar._y = subject1._y; subject1.lbar.lbar._xscale = (subject1.life / subject1.totallife) * 100; if (subject1.lbar.lbar._xscale < 0) { subject1.lbar.lbar._xscale = 0; } if (subject1.team != _root.player2.team) { if (_root.player2.hitTest(subject1.range)) { subject1.aimtargetx = _root.player2._x; subject1.aimtargety = _root.player2._y - _root.player2.hitbox._height / 2; subject1.aimtarget = _root.player2; if (subject1.gun.gun2._currentframe == 1) { subject1.gun.gun2.gotoAndPlay('fire'); } } } if (subject1.team != _root.player3.team) { if (_root.player3.hitTest(subject1.range)) { subject1.aimtargetx = _root.player3._x; subject1.aimtargety = _root.player3._y - _root.player3.hitbox._height / 2; subject1.aimtarget = _root.player3; if (subject1.gun.gun2._currentframe == 1) { subject1.gun.gun2.gotoAndPlay('fire'); } } } if (subject1.team != _root.player4.team) { if (_root.player4.hitTest(subject1.range)) { subject1.aimtargetx = _root.player4._x; subject1.aimtargety = _root.player4._y - _root.player4.hitbox._height / 2; subject1.aimtarget = _root.player4; if (subject1.gun.gun2._currentframe == 1) { subject1.gun.gun2.gotoAndPlay('fire'); } } } if (subject1.team != _root.player5.team) { if (_root.player5.hitTest(subject1.range)) { subject1.aimtargetx = _root.player5._x; subject1.aimtargety = _root.player5._y - _root.player5.hitbox._height / 2; subject1.aimtarget = _root.player5; if (subject1.gun.gun2._currentframe == 1) { subject1.gun.gun2.gotoAndPlay('fire'); } } } if (subject1.team != _root.player6.team) { if (_root.player6.hitTest(subject1.range)) { subject1.aimtargetx = _root.player6._x; subject1.aimtargety = _root.player6._y - _root.player6.hitbox._height / 2; subject1.aimtarget = _root.player6; if (subject1.gun.gun2._currentframe == 1) { subject1.gun.gun2.gotoAndPlay('fire'); } } } if (subject1.team != _root.player7.team) { if (_root.player7.hitTest(subject1.range)) { subject1.aimtargetx = _root.player7._x; subject1.aimtargety = _root.player7._y - _root.player7.hitbox._height / 2; subject1.aimtarget = _root.player7; if (subject1.gun.gun2._currentframe == 1) { subject1.gun.gun2.gotoAndPlay('fire'); } } } if (subject1.team != _root.player8.team) { if (_root.player8.hitTest(subject1.range)) { subject1.aimtargetx = _root.player8._x; subject1.aimtargety = _root.player8._y - _root.player8.hitbox._height / 2; subject1.aimtarget = _root.player8; if (subject1.gun.gun2._currentframe == 1) { subject1.gun.gun2.gotoAndPlay('fire'); } } } if (subject1.team != _root.player1.team) { if (_root.player1.hitTest(subject1.range)) { subject1.aimtargetx = _root.player1._x; subject1.aimtargety = _root.player1._y - _root.player1.hitbox._height / 2; subject1.aimtarget = _root.player1; if (subject1.gun.gun2._currentframe == 1) { subject1.gun.gun2.gotoAndPlay('fire'); } } } if (subject1._xscale == 100) { subject1.gunangle = Math.atan2(subject1.aimtargety - (subject1._y + subject1.gun._y), subject1.aimtargetx - subject1._x) * 180 / Math.PI; subject1.diff = subject1.gunangle - subject1.gun._rotation; subject1.gun._rotation += subject1.diff / subject1.aim; if (subject1.gun._rotation + 90 > 180 or subject1.gun._rotation + 90 < 0) { subject1._xscale = -100; } } if (subject1._xscale == -100) { subject1.gunangle = (Math.atan2(subject1.aimtargety - (subject1._y + subject1.gun._y), subject1.aimtargetx - subject1._x) * 180 / Math.PI) * -1 + 180; subject1.diff = subject1.gunangle - subject1.gun._rotation; if (subject1.diff < -180) { subject1.diff += 360; } if (subject1.diff > 180) { subject1.diff -= 360; } subject1.gun._rotation += subject1.diff / subject1.aim; if (subject1.gun._rotation + 90 > 180 or subject1.gun._rotation + 90 < 0) { subject1._xscale = 100; } } } }; } frame 1 { powerupFunction = function (subject1, num) { if (Key.isDown(_root.key_pickup) or Key.isDown(40)) { _root.pwrupFunction(subject1, _root.player1, num); } _root.pwrupFunction(subject1, _root.player2, num); _root.pwrupFunction(subject1, _root.player3, num); _root.pwrupFunction(subject1, _root.player4, num); _root.pwrupFunction(subject1, _root.player5, num); _root.pwrupFunction(subject1, _root.player6, num); _root.pwrupFunction(subject1, _root.player7, num); _root.pwrupFunction(subject1, _root.player8, num); }; pwrupFunction = function (subject1, subject2, num) { if (subject1.hitTest(subject2.hitbox) && _root.hasredflag._name != subject2._name && _root.hasblueflag._name != subject2._name) { if (subject1._currentframe == 1) { subject2.life = subject2.totallife; subject1.removeMovieClip(); _root.activepowerupArray.splice(num, 1); } if (subject1._currentframe == 2) { subject2.weapon = 'rocketlauncher'; subject2.gun.gotoAndStop(subject2.weapon); subject1.removeMovieClip(); _root.activepowerupArray.splice(num, 1); _root.hud.wpn_disp.gotoAndStop(_root.player1.weapon); } if (subject1._currentframe == 3) { subject2.weapon = 'shotgun'; subject2.gun.gotoAndStop(subject2.weapon); subject1.removeMovieClip(); _root.activepowerupArray.splice(num, 1); _root.hud.wpn_disp.gotoAndStop(_root.player1.weapon); } if (subject1._currentframe == 4) { subject2.weapon = 'sniper'; subject2.gun.gotoAndStop(subject2.weapon); subject1.removeMovieClip(); _root.activepowerupArray.splice(num, 1); _root.hud.wpn_disp.gotoAndStop(_root.player1.weapon); } if (subject1._currentframe == 5) { subject2.weapon = 'grenadelauncher'; subject2.gun.gotoAndStop(subject2.weapon); subject1.removeMovieClip(); _root.activepowerupArray.splice(num, 1); _root.hud.wpn_disp.gotoAndStop(_root.player1.weapon); } if (subject1._currentframe == 6) { subject2.weapon = 'sawgun'; subject2.ammo = 5; subject2.gun.gotoAndStop(subject2.weapon); subject1.removeMovieClip(); _root.activepowerupArray.splice(num, 1); _root.hud.wpn_disp.gotoAndStop(_root.player1.weapon); } if (subject1._currentframe == 7) { subject2.weapon = 'ultragun'; subject2.gun.gotoAndStop(subject2.weapon); subject1.removeMovieClip(); _root.activepowerupArray.splice(num, 1); _root.hud.wpn_disp.gotoAndStop(_root.player1.weapon); } if (subject1._currentframe == 8) { subject2.weapon = 'nailgun'; subject2.gun.gotoAndStop(subject2.weapon); subject1.removeMovieClip(); _root.activepowerupArray.splice(num, 1); _root.hud.wpn_disp.gotoAndStop(_root.player1.weapon); } if (subject1._currentframe == 9) { subject2.weapon = 'beamgun'; subject2.gun.gotoAndStop(subject2.weapon); subject1.removeMovieClip(); _root.activepowerupArray.splice(num, 1); _root.hud.wpn_disp.gotoAndStop(_root.player1.weapon); } if (subject1._currentframe == 10) { subject2.weapon = 'flamethrower'; subject2.gun.gotoAndStop(subject2.weapon); subject1.removeMovieClip(); _root.activepowerupArray.splice(num, 1); _root.hud.wpn_disp.gotoAndStop(_root.player1.weapon); } if (subject1._currentframe == 11) { subject2.weapon = 'shelllauncher'; subject2.gun.gotoAndStop(subject2.weapon); subject1.removeMovieClip(); _root.activepowerupArray.splice(num, 1); _root.hud.wpn_disp.gotoAndStop(_root.player1.weapon); } if (subject1._currentframe == 12) { subject2.weapon = 'googun'; subject2.gun.gotoAndStop(subject2.weapon); subject1.removeMovieClip(); _root.activepowerupArray.splice(num, 1); _root.hud.wpn_disp.gotoAndStop(_root.player1.weapon); } } }; bullet1Function = function (subject1, num) { if (subject1.hitTest(_root.vcam)) { subject1._visible = true; } else { subject1._visible = false; } subject1._x += Math.cos(subject1._rotation * Math.PI / 180) * subject1.bulletSpeed; subject1._y += Math.sin(subject1._rotation * Math.PI / 180) * subject1.bulletSpeed; if (subject1.team != _root.player1.team) { if (_root.player1.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.bld = attachMovie('blood', 'blood' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.bld._rotation = subject1._rotation; subject1.bld._x = _root.player1._x; subject1.bld._y = subject1._y; _root.player1.life -= subject1.damage; if (_root.player1.life < 1) { _root[subject1.orig + '_kills'] += 1; if (subject1.orig == 'player1') { _root.stats_tkills += 1; } _root.player1_deaths += 1; _root.updnews(subject1, _root.player1); _root.player1.gotoAndStop(5); } subject1.removeMovieClip(); _root.bullet1Array.splice(num, 1); } } if (subject1.team != _root.player2.team) { if (_root.player2.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.bld = attachMovie('blood', 'blood' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.bld._x = _root.player2._x; subject1.bld._rotation = subject1._rotation; subject1.bld._y = subject1._y; _root.player2.life -= subject1.damage; if (_root.player2.life < 1) { _root[subject1.orig + '_kills'] += 1; if (subject1.orig == 'player1') { _root.stats_tkills += 1; } _root.player2_deaths += 1; _root.updnews(subject1, _root.player2); _root.player2.gotoAndStop(5); } subject1.removeMovieClip(); _root.bullet1Array.splice(num, 1); } } if (subject1.team != _root.player3.team) { if (_root.player3.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.bld = attachMovie('blood', 'blood' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.bld._x = _root.player3._x; subject1.bld._rotation = subject1._rotation; subject1.bld._y = subject1._y; _root.player3.life -= subject1.damage; if (_root.player3.life < 1) { _root[subject1.orig + '_kills'] += 1; if (subject1.orig == 'player1') { _root.stats_tkills += 1; } _root.player3_deaths += 1; _root.updnews(subject1, _root.player3); _root.player3.gotoAndStop(5); } subject1.removeMovieClip(); _root.bullet1Array.splice(num, 1); } } if (subject1.team != _root.player4.team) { if (_root.player4.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.bld = attachMovie('blood', 'blood' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.bld._x = _root.player4._x; subject1.bld._rotation = subject1._rotation; subject1.bld._y = subject1._y; _root.player4.life -= subject1.damage; if (_root.player4.life < 1) { _root[subject1.orig + '_kills'] += 1; if (subject1.orig == 'player1') { _root.stats_tkills += 1; } _root.player4_deaths += 1; _root.updnews(subject1, _root.player4); _root.player4.gotoAndStop(5); } subject1.removeMovieClip(); _root.bullet1Array.splice(num, 1); } } if (subject1.team != _root.player5.team) { if (_root.player5.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.bld = attachMovie('blood', 'blood' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.bld._x = _root.player5._x; subject1.bld._rotation = subject1._rotation; subject1.bld._y = subject1._y; _root.player5.life -= subject1.damage; if (_root.player5.life < 1) { _root[subject1.orig + '_kills'] += 1; if (subject1.orig == 'player1') { _root.stats_tkills += 1; } _root.player5_deaths += 1; _root.updnews(subject1, _root.player5); _root.player5.gotoAndStop(5); } subject1.removeMovieClip(); _root.bullet1Array.splice(num, 1); } } if (subject1.team != _root.player6.team) { if (_root.player6.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.bld = attachMovie('blood', 'blood' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.bld._x = _root.player6._x; subject1.bld._rotation = subject1._rotation; subject1.bld._y = subject1._y; _root.player6.life -= subject1.damage; if (_root.player6.life < 1) { _root[subject1.orig + '_kills'] += 1; if (subject1.orig == 'player1') { _root.stats_tkills += 1; } _root.player6_deaths += 1; _root.updnews(subject1, _root.player6); _root.player6.gotoAndStop(5); } subject1.removeMovieClip(); _root.bullet1Array.splice(num, 1); } } if (subject1.team != _root.player7.team) { if (_root.player7.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.bld = attachMovie('blood', 'blood' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.bld._x = _root.player7._x; subject1.bld._rotation = subject1._rotation; subject1.bld._y = subject1._y; _root.player7.life -= subject1.damage; if (_root.player7.life < 1) { _root[subject1.orig + '_kills'] += 1; if (subject1.orig == 'player1') { _root.stats_tkills += 1; } _root.player7_deaths += 1; _root.updnews(subject1, _root.player7); _root.player7.gotoAndStop(5); } subject1.removeMovieClip(); _root.bullet1Array.splice(num, 1); } } if (subject1.team != _root.player8.team) { if (_root.player8.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.bld = attachMovie('blood', 'blood' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.bld._x = _root.player8._x; subject1.bld._rotation = subject1._rotation; subject1.bld._y = subject1._y; _root.player8.life -= subject1.damage; if (_root.player8.life < 1) { _root[subject1.orig + '_kills'] += 1; if (subject1.orig == 'player1') { _root.stats_tkills += 1; } _root.player8_deaths += 1; _root.updnews(subject1, _root.player8); _root.player8.gotoAndStop(5); } subject1.removeMovieClip(); _root.bullet1Array.splice(num, 1); } } if (_root.ground.hitTest(subject1._x, subject1._y, true)) { subject1.ric = attachMovie('ricochet', 'ricochet' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.ric._x = subject1._x; subject1.ric._y = subject1._y; subject1.ric._rotation = subject1._rotation; subject1.removeMovieClip(); _root.bullet1Array.splice(num, 1); } }; getAngle = function (vecx, vecy) { var v1 = Math.sqrt(vecx * vecx + vecy * vecy); if (v1 == 0) { return 0; } var v3; if (vecy < 0) { v3 = 6.283185307179586 - Math.acos(vecx / v1); return v3 * 180 / Math.PI; } v3 = Math.acos(vecx / v1); return v3 * 180 / Math.PI; }; bulexpFunction = function (subject1, subject2, num) { if (subject1.team != subject2.team) { if (subject2.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.bld = attachMovie('blood', 'blood' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.bld._x = subject2._x; subject1.bld._rotation = subject1._rotation; subject1.bld._y = subject1._y; subject2.life -= subject1.damage; if (subject2.life < 1) { _root[subject1.orig + '_kills'] += 1; if (subject1.orig == 'player1') { _root.stats_tkills += 1; } _root[subject2._name + '_deaths'] += 1; _root.updnews(subject1, subject2); subject2.gotoAndStop(5); } subject1.removeMovieClip(); _root.nailArray.splice(num, 1); } } }; nailFunction = function (subject1, num) { if (subject1.hitTest(_root.vcam)) { subject1._visible = true; } else { subject1._visible = false; } subject1._rotation = _root.getAngle(subject1.xSpeed, -subject1.grav); subject1._x += subject1.xSpeed; subject1._y -= subject1.grav; if (subject1.enetarget._x < subject1._x && subject1.xSpeed > -10) { --subject1.xSpeed; } if (subject1.enetarget._x > subject1._x && subject1.xSpeed < 10) { ++subject1.xSpeed; } if (subject1.enetarget._y - subject1.enetarget.hitbox._height / 2 < subject1._y && subject1.grav < 10) { ++subject1.grav; } if (subject1.enetarget._y - subject1.enetarget.hitbox._height / 2 > subject1._y && subject1.grav > -10) { --subject1.grav; } _root.bulexpFunction(subject1, _root.player1, num); _root.bulexpFunction(subject1, _root.player2, num); _root.bulexpFunction(subject1, _root.player3, num); _root.bulexpFunction(subject1, _root.player4, num); _root.bulexpFunction(subject1, _root.player5, num); _root.bulexpFunction(subject1, _root.player6, num); _root.bulexpFunction(subject1, _root.player7, num); _root.bulexpFunction(subject1, _root.player8, num); if (_root.ground.hitTest(subject1._x, subject1._y, true)) { subject1.ric = attachMovie('ricochet', 'ricochet' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.ric._x = subject1._x; subject1.ric._y = subject1._y; subject1.ric._rotation = subject1._rotation; subject1.removeMovieClip(); _root.nailArray.splice(num, 1); } }; sawexpFunction = function (subject1, subject2, num) { if (subject1.team != subject2.team) { if (subject2.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.explosion = attachMovie('explosion', 'explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.explosion.orig = subject1.orig; subject1.explosion._x = subject2._x; subject1.explosion._y = subject1._y; subject1.explosion.team = subject1.team; subject1.removeMovieClip(); _root.sawArray.splice(num, 1); } } }; sawFunction = function (subject1, num) { if (subject1.hitTest(_root.vcam)) { subject1._visible = true; if (_root.showparticles == true) { subject1.smoke = attachMovie('smoke', 'smoke' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.smoke._x = subject1._x + (random(3) - random(3)); subject1.smoke._y = subject1._y + (random(3) - random(3)); subject1.smoke._rotation = subject1._rotation; subject1.swapDepths(_root.getNextHighestDepth()); } } else { subject1._visible = false; } subject1._rotation = _root.getAngle(subject1.xSpeed, -subject1.grav); subject1._x += subject1.xSpeed; subject1._y -= subject1.grav; if (subject1.enetarget._x < subject1._x && subject1.xSpeed > -5) { --subject1.xSpeed; } if (subject1.enetarget._x > subject1._x && subject1.xSpeed < 5) { ++subject1.xSpeed; } if (subject1.enetarget._y - subject1.enetarget.hitbox._height / 2 < subject1._y && subject1.grav < 5) { ++subject1.grav; } if (subject1.enetarget._y - subject1.enetarget.hitbox._height / 2 > subject1._y && subject1.grav > -5) { --subject1.grav; } if (subject1.enetarget._currentframe == 5 or _root[subject1.orig]._currentframe == 5) { subject1.dud = attachMovie('saw', 'smoke' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.dud._x = subject1._x; subject1.dud._y = subject1._y; subject1.dud._rotation = subject1._rotation; subject1.dud.grav = 15; subject1.dud.xSpeed = random(20) - random(20); _root.bitsArray.push(subject1.dud); subject1.removeMovieClip(); _root.sawArray.splice(num, 1); } _root.sawexpFunction(subject1, _root.player1, num); _root.sawexpFunction(subject1, _root.player2, num); _root.sawexpFunction(subject1, _root.player3, num); _root.sawexpFunction(subject1, _root.player4, num); _root.sawexpFunction(subject1, _root.player5, num); _root.sawexpFunction(subject1, _root.player6, num); _root.sawexpFunction(subject1, _root.player7, num); _root.sawexpFunction(subject1, _root.player8, num); }; bitsFunction = function (subject1, num) { subject1._x += subject1.xSpeed; subject1._y -= subject1.grav; --subject1.grav; subject1._rotation += subject1.xSpeed * 1.5; if (_root.ground.hitTest(subject1._x, subject1._y, true)) { if (subject1.sgsc == true && _root.ground.hitTest(subject1._x, subject1._y + 10, true)) { drawsgcaseFunction(subject1); } if (subject1.sc == true && _root.ground.hitTest(subject1._x, subject1._y + 10, true)) { _root.drawcaseFunction(subject1); } if (subject1.tb == true) { _root.drawbloodspeckFunction(subject1); } subject1.removeMovieClip(); _root.bitsArray.splice(num, 1); } }; grnexpFunction = function (subject1, subject2, num) { if (subject1.team != subject2.team) { if (subject2.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.explosion = attachMovie('explosion', 'explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.explosion.orig = subject1.orig; subject1.explosion._x = subject2._x; subject1.explosion._y = subject1._y; subject1.explosion.team = subject1.team; subject1.removeMovieClip(); _root.grenadeArray.splice(num, 1); } } }; grenadeFunction = function (subject1, num) { --subject1.life; if (subject1.life < 0) { subject1.explosion = attachMovie('explosion', 'explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.explosion.orig = subject1.orig; subject1.explosion._x = subject1._x; subject1.explosion._y = subject1._y; subject1.explosion.team = subject1.team; subject1.removeMovieClip(); _root.grenadeArray.splice(num, 1); } subject1._x += subject1.xSpeed; subject1._y -= subject1.grav; if (subject1.grav > -20) { --subject1.grav; } while (_root.ground.hitTest(subject1._x, subject1._y + subject1._height / 2, true)) { --subject1._y; } while (_root.ground.hitTest(subject1._x, subject1._y - subject1._height / 2, true)) { ++subject1._y; } while (_root.ground.hitTest(subject1._x + subject1._width, subject1._y, true)) { --subject1._x; } while (_root.ground.hitTest(subject1._x - subject1._width, subject1._y, true)) { ++subject1._x; } if (_root.ground.hitTest(subject1._x, subject1._y + subject1._height / 2 + 2, true)) { subject1.grav *= -0.9; if (subject1.hitTest(_root.vcam)) { _root.boing.start(0, 0); if (_root.sfxvolume < 1) { _root.boing.setVolume(0); } else { _root.boing.setVolume(4 * (Math.abs(subject1.xSpeed) + Math.abs(subject1.grav))); } } } if (_root.ground.hitTest(subject1._x, subject1._y - subject1._height / 2 - 2, true)) { subject1.grav *= -0.9; if (subject1.hitTest(_root.vcam)) { _root.boing.start(0, 0); if (_root.sfxvolume < 1) { _root.boing.setVolume(0); } else { _root.boing.setVolume(4 * (Math.abs(subject1.xSpeed) + Math.abs(subject1.grav))); } } } if (_root.ground.hitTest(subject1._x + subject1._width + 2, subject1._y, true)) { subject1.xSpeed *= -1; if (subject1.hitTest(_root.vcam)) { _root.boing.start(0, 0); if (_root.sfxvolume < 1) { _root.boing.setVolume(0); } else { _root.boing.setVolume(4 * (Math.abs(subject1.xSpeed) + Math.abs(subject1.grav))); } } } if (_root.ground.hitTest(subject1._x - subject1._width - 2, subject1._y, true)) { subject1.xSpeed *= -1; if (subject1.hitTest(_root.vcam)) { _root.boing.start(0, 0); if (_root.sfxvolume < 1) { _root.boing.setVolume(0); } else { _root.boing.setVolume(4 * (Math.abs(subject1.xSpeed) + Math.abs(subject1.grav))); } } } _root.grnexpFunction(subject1, _root.player1, num); _root.grnexpFunction(subject1, _root.player2, num); _root.grnexpFunction(subject1, _root.player3, num); _root.grnexpFunction(subject1, _root.player4, num); _root.grnexpFunction(subject1, _root.player5, num); _root.grnexpFunction(subject1, _root.player6, num); _root.grnexpFunction(subject1, _root.player7, num); _root.grnexpFunction(subject1, _root.player8, num); }; rocketFunction = function (subject1, num) { if (subject1.hitTest(_root.vcam)) { subject1._visible = true; if (_root.showparticles == true) { subject1.smoke = attachMovie('smoke', 'smoke' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.smoke._x = subject1._x + (random(3) - random(3)); subject1.smoke._y = subject1._y + (random(3) - random(3)); subject1.smoke._rotation = subject1._rotation; } } else { subject1._visible = false; } subject1._x += Math.cos(subject1._rotation * Math.PI / 180) * subject1.bulletSpeed; subject1._y += Math.sin(subject1._rotation * Math.PI / 180) * subject1.bulletSpeed; if (subject1.team != _root.player1.team) { if (_root.player1.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.explosion = attachMovie('explosion', 'explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.explosion.orig = subject1.orig; subject1.explosion._x = _root.player1._x; subject1.explosion._y = subject1._y; subject1.explosion.team = subject1.team; subject1.removeMovieClip(); _root.rocketArray.splice(num, 1); } } if (subject1.team != _root.player2.team) { if (_root.player2.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.explosion = attachMovie('explosion', 'explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.explosion.orig = subject1.orig; subject1.explosion._x = _root.player2._x; subject1.explosion._y = subject1._y; subject1.explosion.team = subject1.team; subject1.removeMovieClip(); _root.rocketArray.splice(num, 1); } } if (subject1.team != _root.player3.team) { if (_root.player3.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.explosion = attachMovie('explosion', 'explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.explosion.orig = subject1.orig; subject1.explosion._x = _root.player3._x; subject1.explosion._y = subject1._y; subject1.explosion.team = subject1.team; subject1.removeMovieClip(); _root.rocketArray.splice(num, 1); } } if (subject1.team != _root.player4.team) { if (_root.player4.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.explosion = attachMovie('explosion', 'explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.explosion.orig = subject1.orig; subject1.explosion._x = _root.player4._x; subject1.explosion._y = subject1._y; subject1.explosion.team = subject1.team; subject1.removeMovieClip(); _root.rocketArray.splice(num, 1); } } if (subject1.team != _root.player5.team) { if (_root.player5.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.explosion = attachMovie('explosion', 'explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.explosion.orig = subject1.orig; subject1.explosion._x = _root.player5._x; subject1.explosion._y = subject1._y; subject1.explosion.team = subject1.team; subject1.removeMovieClip(); _root.rocketArray.splice(num, 1); } } if (subject1.team != _root.player6.team) { if (_root.player6.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.explosion = attachMovie('explosion', 'explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.explosion.orig = subject1.orig; subject1.explosion._x = _root.player6._x; subject1.explosion._y = subject1._y; subject1.explosion.team = subject1.team; subject1.removeMovieClip(); _root.rocketArray.splice(num, 1); } } if (subject1.team != _root.player7.team) { if (_root.player7.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.explosion = attachMovie('explosion', 'explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.explosion.orig = subject1.orig; subject1.explosion._x = _root.player7._x; subject1.explosion._y = subject1._y; subject1.explosion.team = subject1.team; subject1.removeMovieClip(); _root.rocketArray.splice(num, 1); } } if (subject1.team != _root.player8.team) { if (_root.player8.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.explosion = attachMovie('explosion', 'explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.explosion.orig = subject1.orig; subject1.explosion._x = _root.player8._x; subject1.explosion._y = subject1._y; subject1.explosion.team = subject1.team; subject1.removeMovieClip(); _root.rocketArray.splice(num, 1); } } if (_root.ground.hitTest(subject1._x, subject1._y, true)) { subject1.explosion = attachMovie('explosion', 'explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.explosion.orig = subject1.orig; subject1.explosion._x = subject1._x; subject1.explosion._y = subject1._y; subject1.explosion.team = subject1.team; subject1.removeMovieClip(); _root.rocketArray.splice(num, 1); } }; expfunction = function (subject1, subject2) { if (subject1.team != subject2.team && subject1.hitTest(subject2._x + subject2.hitbox._x, subject2._y + subject2.hitbox._y, true)) { _root[subject1.orig + '_kills'] += 1; if (subject1.orig == 'player1') { _root.stats_tkills += 1; } _root[subject2._name + '_deaths'] += 1; _root.updnews(subject1, subject2); subject2.life = 0; subject2.gotoAndStop(5); } }; explosionFunction = function (subject1) { _root.expfunction(subject1, _root.player1); _root.expfunction(subject1, _root.player2); _root.expfunction(subject1, _root.player3); _root.expfunction(subject1, _root.player4); _root.expfunction(subject1, _root.player5); _root.expfunction(subject1, _root.player6); _root.expfunction(subject1, _root.player7); _root.expfunction(subject1, _root.player8); }; sniper_beamFunction = function (subject1, subject2) { if (subject1.team != subject2.team && subject1.hitTest(subject2._x + subject2.hitbox._x, subject2._y + subject2.hitbox._y, true)) { subject2.life -= 5; if (subject2.life < 1) { _root[subject1.orig + '_kills'] += 1; if (subject1.orig == 'player1') { _root.stats_tkills += 1; } _root[subject2._name + '_deaths'] += 1; _root.updnews(subject1, subject2); _root.hud.newsfeed.n1 = subject1.orig; _root.hud.newsfeed.n2 = subject2._name; subject2.life = 0; subject2.gotoAndStop(5); } else { subject1.bld = attachMovie('blood', 'blood' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.bld._rotation = subject1._rotation; subject1.bld._x = subject1._x; subject1.bld._y = subject1._y; } } }; shellFunction = function (subject1, num) { if (subject1.hitTest(_root.vcam)) { subject1._visible = true; } else { subject1._visible = false; } --subject1.life; if (subject1.life < 0) { if (subject1._visible == true && _root.showparticles == true) { subject1.dud = attachMovie('shellhalf', 'shell' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.dud._x = subject1._x; subject1.dud._y = subject1._y; subject1.dud._rotation = subject1._rotation; subject1.dud.grav = 15; subject1.dud.xSpeed = random(20) - random(20); _root.bitsArray.push(subject1.dud); subject1.dud = attachMovie('shellhalf', 'shell' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.dud._x = subject1._x; subject1.dud._y = subject1._y; subject1.dud._rotation = subject1._rotation; subject1.dud.grav = 15; subject1.dud.xSpeed = random(20) - random(20); _root.bitsArray.push(subject1.dud); } subject1.removeMovieClip(); _root.shellArray.splice(num, 1); } subject1._x += subject1.xSpeed; subject1._y -= subject1.grav; if (subject1.grav > -20) { subject1.grav -= 1; } if (_root.ground.hitTest(subject1._x + subject1.hitbox._x, subject1._y + subject1.hitbox._y + subject1._height / 2 + 2, true)) { subject1._rotation = 0; subject1.grav = 0; } else { if (subject1._xscale == 100) { subject1._rotation = _root.getAngle(subject1.xSpeed, -subject1.grav); } if (subject1._xscale == -100) { subject1._rotation = _root.getAngle(subject1.xSpeed, -subject1.grav) + 180; } } while (_root.ground.hitTest(subject1._x + subject1.hitbox._x, subject1._y + subject1.hitbox._y + subject1.hitbox._height / 2, true)) { --subject1._y; subject1.grav = 0; } while (_root.ground.hitTest(subject1._x + subject1.hitbox._x, subject1._y + subject1.hitbox._y - subject1.hitbox._height / 2 - 2, true)) { ++subject1._y; subject1.grav = -3; } while (_root.ground.hitTest(subject1._x + subject1.hitbox._x + subject1.hitbox._width / 2, subject1._y + subject1.hitbox._y, true)) { --subject1._x; } while (_root.ground.hitTest(subject1._x + subject1.hitbox._x - subject1.hitbox._width / 2, subject1._y + subject1.hitbox._y, true)) { ++subject1._x; } if (_root.ground.hitTest(subject1._x + subject1.hitbox._x + subject1.hitbox._width / 2 + 2, subject1._y + subject1.hitbox._y, true)) { subject1.xSpeed *= -0.8; subject1._xscale *= -1; } if (_root.ground.hitTest(subject1._x + subject1.hitbox._x - subject1.hitbox._width / 2 - 2, subject1._y + subject1.hitbox._y, true)) { subject1.xSpeed *= -0.8; subject1._xscale *= -1; } if (_root.ground.hitTest(subject1._x, subject1._y + subject1.hitbox._y - subject1.hitbox._height / 2 - 2, true)) { subject1.grav *= -0.9; } _root.shlfunction(subject1, _root.player1, num); _root.shlfunction(subject1, _root.player2, num); _root.shlfunction(subject1, _root.player3, num); _root.shlfunction(subject1, _root.player4, num); _root.shlfunction(subject1, _root.player5, num); _root.shlfunction(subject1, _root.player6, num); _root.shlfunction(subject1, _root.player7, num); _root.shlfunction(subject1, _root.player8, num); }; shlfunction = function (subject1, subject2, num) { if (subject1.team != subject2.team) { if (subject2.hitbox.hitTest(subject1._x, subject1._y, true)) { if (subject1._visible == true) { _root.shellhit.start(0, 0); _root.shellhit.setVolume(_root.sfxvolume * 1.7); } subject1.bld = attachMovie('blood', 'blood' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.bld._x = subject2._x; subject1.bld._rotation = subject1._rotation; subject1.bld._y = subject1._y; subject2.life -= subject1.damage; if (subject2.life < 1) { _root[subject1.orig + '_kills'] += 1; if (subject1.orig == 'player1') { _root.stats_tkills += 1; } _root[subject2._name + '_deaths'] += 1; _root.updnews(subject1, subject2); subject2.gotoAndStop(5); } subject1.dud = attachMovie('shellhalf', 'shell' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.dud._x = subject1._x; subject1.dud._y = subject1._y; subject1.dud._rotation = subject1._rotation; subject1.dud.grav = 15; subject1.dud.xSpeed = random(20) - random(20); _root.bitsArray.push(subject1.dud); subject1.dud = attachMovie('shellhalf', 'shell' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.dud._x = subject1._x; subject1.dud._y = subject1._y; subject1.dud._rotation = subject1._rotation; subject1.dud.grav = 15; subject1.dud.xSpeed = random(20) - random(20); _root.bitsArray.push(subject1.dud); subject1.removeMovieClip(); _root.shellArray.splice(num, 1); } } }; flmfunction = function (subject1, subject2, num) { if (subject1.team != subject2.team) { if (subject2.hitbox.hitTest(subject1._x, subject1._y, true)) { subject1.flameout = attachMovie('flameout', 'flameout' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.flameout._x = subject1._x; subject1.flameout._rotation = subject1._rotation; subject1.flameout._y = subject1._y; subject1.flameout._yscale = subject1._yscale; subject1.bld = attachMovie('blood', 'blood' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.bld._x = subject2._x; subject1.bld._rotation = subject1._rotation; subject1.bld._y = subject1._y; subject2.life -= subject1.damage; if (subject2.life < 1) { _root[subject1.orig + '_kills'] += 1; if (subject1.orig == 'player1') { _root.stats_tkills += 1; } _root[subject2._name + '_deaths'] += 1; _root.updnews(subject1, subject2); subject2.gotoAndStop(5); } subject1.removeMovieClip(); _root.flameArray.splice(num, 1); } } }; flameFunction = function (subject1, num) { subject1._x += Math.cos(subject1._rotation * Math.PI / 180) * subject1.bulletSpeed; subject1._y += Math.sin(subject1._rotation * Math.PI / 180) * subject1.bulletSpeed; if (subject1._currentframe > 30) { subject1.removeMovieClip(); _root.flameArray.splice(num, 1); } _root.flmfunction(subject1, _root.player1, num); _root.flmfunction(subject1, _root.player2, num); _root.flmfunction(subject1, _root.player3, num); _root.flmfunction(subject1, _root.player4, num); _root.flmfunction(subject1, _root.player5, num); _root.flmfunction(subject1, _root.player6, num); _root.flmfunction(subject1, _root.player7, num); _root.flmfunction(subject1, _root.player8, num); if (_root.ground.hitTest(subject1._x, subject1._y, true)) { subject1.flameout = attachMovie('flameout', 'flameout' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); subject1.flameout._x = subject1._x; subject1.flameout._rotation = subject1._rotation; subject1.flameout._y = subject1._y; subject1.flameout._yscale = subject1._yscale; subject1.removeMovieClip(); _root.flameArray.splice(num, 1); } }; gooFunction = function (subject1, num) { if (subject1.hitTest(_root.vcam)) { subject1._visible = true; } else { subject1._visible = false; } if (subject1._currentframe == 1) { subject1._x += subject1.xSpeed; subject1._y -= subject1.grav; if (subject1.grav > -20) { --subject1.grav; } if (_root.ground.hitTest(subject1._x, subject1._y, true) && _root.showparticles == true) { subject1.gotoAndPlay(2); if (subject1._visible == true) { _root.goohit.start(0, 0); _root.goohit.setVolume(_root.sfxvolume); } } if (_root.player1.hitbox.hitTest(subject1._x, subject1._y, true) && _root.player1.team != subject1.team) { subject1.gotoAndPlay(2); subject1.host = _root.player1; subject1.xmod = subject1._x - subject1.host._x; subject1.ymod = subject1._y - subject1.host._y; if (subject1._visible == true) { _root.goohit.start(0, 0); _root.goohit.setVolume(_root.sfxvolume); } } if (_root.player2.hitbox.hitTest(subject1._x, subject1._y, true) && _root.player2.team != subject1.team) { subject1.gotoAndPlay(2); subject1.host = _root.player2; subject1.xmod = subject1._x - subject1.host._x; subject1.ymod = subject1._y - subject1.host._y; if (subject1._visible == true) { _root.goohit.start(0, 0); _root.goohit.setVolume(_root.sfxvolume); } } if (_root.player3.hitbox.hitTest(subject1._x, subject1._y, true) && _root.player3.team != subject1.team) { subject1.gotoAndPlay(2); subject1.host = _root.player3; subject1.xmod = subject1._x - subject1.host._x; subject1.ymod = subject1._y - subject1.host._y; if (subject1._visible == true) { _root.goohit.start(0, 0); _root.goohit.setVolume(_root.sfxvolume); } } if (_root.player4.hitbox.hitTest(subject1._x, subject1._y, true) && _root.player4.team != subject1.team) { subject1.gotoAndPlay(2); subject1.host = _root.player4; subject1.xmod = subject1._x - subject1.host._x; subject1.ymod = subject1._y - subject1.host._y; if (subject1._visible == true) { _root.goohit.start(0, 0); _root.goohit.setVolume(_root.sfxvolume); } } if (_root.player5.hitbox.hitTest(subject1._x, subject1._y, true) && _root.player5.team != subject1.team) { subject1.gotoAndPlay(2); subject1.host = _root.player5; subject1.xmod = subject1._x - subject1.host._x; subject1.ymod = subject1._y - subject1.host._y; if (subject1._visible == true) { _root.goohit.start(0, 0); _root.goohit.setVolume(_root.sfxvolume); } } if (_root.player6.hitbox.hitTest(subject1._x, subject1._y, true) && _root.player6.team != subject1.team) { subject1.gotoAndPlay(2); subject1.host = _root.player6; subject1.xmod = subject1._x - subject1.host._x; subject1.ymod = subject1._y - subject1.host._y; if (subject1._visible == true) { _root.goohit.start(0, 0); _root.goohit.setVolume(_root.sfxvolume); } } if (_root.player7.hitbox.hitTest(subject1._x, subject1._y, true) && _root.player7.team != subject1.team) { subject1.gotoAndPlay(2); subject1.host = _root.player7; subject1.xmod = subject1._x - subject1.host._x; subject1.ymod = subject1._y - subject1.host._y; if (subject1._visible == true) { _root.goohit.start(0, 0); _root.goohit.setVolume(_root.sfxvolume); } } if (_root.player8.hitbox.hitTest(subject1._x, subject1._y, true) && _root.player8.team != subject1.team) { subject1.gotoAndPlay(2); subject1.host = _root.player8; subject1.xmod = subject1._x - subject1.host._x; subject1.ymod = subject1._y - subject1.host._y; if (subject1._visible == true) { _root.goohit.start(0, 0); _root.goohit.setVolume(_root.sfxvolume); } } } if (subject1._currentframe > 1) { subject1._x = subject1.host._x + subject1.xmod; subject1._y = subject1.host._y + subject1.ymod; subject1.host.life -= 0.1; if (subject1.host.life < 1) { _root[subject1.orig + '_kills'] += 1; if (subject1.orig == 'player1') { _root.stats_tkills += 1; } _root[subject1.host._name + '_deaths'] += 1; _root.updnews(subject1, subject1.host); subject1.host.gotoAndStop(5); subject1.removeMovieClip(); _root.gooArray.splice(num, 1); } subject1._xscale -= 1; subject1._yscale -= 1; if (subject1._xscale < 40) { subject1.removeMovieClip(); _root.gooArray.splice(num, 1); } } }; } frame 1 { playerFunction = function (subject1) { if (subject1._currentframe != 5 && subject1._currentframe != 6) { subject1._y -= subject1.grav; if (subject1.grav > -100) { subject1.grav -= 1; } while (_root.ground.hitTest(subject1._x + subject1.hitbox._x, subject1._y + subject1.hitbox._y + subject1.hitbox._height / 2 - 2, true)) { --subject1._y; subject1.grav = 0; } while (_root.ground.hitTest(subject1._x + subject1.hitbox._x, subject1._y + subject1.hitbox._y - subject1.hitbox._height / 2 + 2, true)) { ++subject1._y; subject1.grav = -3; } while (_root.ground.hitTest(subject1._x + subject1.hitbox._x + subject1.hitbox._width / 2, subject1._y + subject1.hitbox._y, true)) { --subject1._x; } while (_root.ground.hitTest(subject1._x + subject1.hitbox._x - subject1.hitbox._width / 2, subject1._y + subject1.hitbox._y, true)) { ++subject1._x; } if (_root.ground.hitTest(subject1._x + subject1.hitbox._x, subject1._y + subject1.hitbox._y + subject1.hitbox._height / 2 + 10, true)) { subject1.onGround = true; } else { subject1.onGround = false; } subject1.mapmarker._x = subject1._x / (_root.ground._width / _root.hud.map.map._width); subject1.mapmarker._y = (subject1._y - subject1.hitbox._height / 2) / (_root.ground._height / _root.hud.map.map._height); subject1.player_pointer._x = subject1._x; subject1.player_pointer._y = subject1._y; _root.hud.lbar._xscale += ((subject1.life / subject1.totallife) * 100 - _root.hud.lbar._xscale) / 4; subject1.lbar._x = _root.player1._x; subject1.lbar._y = _root.player1._y; subject1.lbar.lbar._xscale = (subject1.life / subject1.totallife) * 100; if (subject1.lbar.lbar._xscale < 0) { subject1.lbar.lbar._xscale = 0; } if (Key.isDown(_root.key_right) or Key.isDown(39)) { subject1._x += 6; if (subject1.onGround == true) { if (subject1._xscale == 100) { subject1.gotoAndStop(2); } if (subject1._xscale == -100) { subject1.gotoAndStop(4); } } } if (Key.isDown(_root.key_left) or Key.isDown(37)) { subject1._x -= 6; if (subject1.onGround == true) { if (subject1._xscale == -100) { subject1.gotoAndStop(2); } if (subject1._xscale == 100) { subject1.gotoAndStop(4); } } } if (subject1.onGround == true && 0 == Key.isDown(_root.key_right) && 0 == Key.isDown(_root.key_left) && 0 == Key.isDown(39) && 0 == Key.isDown(37)) { subject1.gotoAndStop(1); } if (subject1.onGround == false) { subject1.gotoAndStop(3); } if (subject1.onGround == true && Key.isDown(_root.key_right) && Key.isDown(_root.key_left)) { subject1.gotoAndStop(1); } if ((Key.isDown(_root.key_jump) or Key.isDown(38)) && subject1.onGround == true) { subject1.grav = 15; _root.jump.start(0, 0); _root.jump.setVolume(_root.sfxvolume); } if (_root.player_controls == 'mouse') { if (subject1._xscale == 100) { subject1.gun._rotation = Math.atan2(_root._ymouse - (subject1._y + subject1.gun._y), _root._xmouse - subject1._x) * 180 / Math.PI; if (subject1.gun._rotation + 90 > 180 or subject1.gun._rotation + 90 < 0) { subject1._xscale = -100; } } if (subject1._xscale == -100) { subject1.gun._rotation = (Math.atan2(_root._ymouse - (subject1._y + subject1.gun._y), _root._xmouse - subject1._x) * 180 / Math.PI) * -1 + 180; if (subject1.gun._rotation + 90 > 180 or subject1.gun._rotation + 90 < 0) { subject1._xscale = 100; } } if (subject1.msdown == true) { if (subject1.gun.gun2._currentframe == 1) { subject1.gun.gun2.gotoAndPlay('fire'); } } } if (_root.player_controls == 'keyboard') { if (Key.isDown(_root.key_sup)) { subject1.gun._rotation = -90; if (subject1.gun.gun2._currentframe == 1) { subject1.gun.gun2.gotoAndPlay('fire'); } } if (Key.isDown(_root.key_sdown)) { subject1.gun._rotation = 90; if (subject1.gun.gun2._currentframe == 1) { subject1.gun.gun2.gotoAndPlay('fire'); } } if (Key.isDown(_root.key_sleft)) { subject1._xscale = -100; if (Key.isDown(_root.key_sup)) { subject1.gun._rotation = -45; } else { if (Key.isDown(_root.key_sdown)) { subject1.gun._rotation = 45; } else { subject1.gun._rotation = 0; } } if (subject1.gun.gun2._currentframe == 1) { subject1.gun.gun2.gotoAndPlay('fire'); } } if (Key.isDown(_root.key_sright)) { subject1._xscale = 100; if (Key.isDown(_root.key_sup)) { subject1.gun._rotation = -45; } else { if (Key.isDown(_root.key_sdown)) { subject1.gun._rotation = 45; } else { subject1.gun._rotation = 0; } } if (subject1.gun.gun2._currentframe == 1) { subject1.gun.gun2.gotoAndPlay('fire'); } } } if (subject1._y > _root.d_limit._y) { _root.player1.gotoAndStop(5); _root.player1_deaths += 1; _root.player_suicide += 1; _root.player1.grav = 0; _root.player1._y = _root.d_limit._y; } } }; } frame 1 { function sortByNumber(a, b) { return a.score < b.score; } function sortSummary(a, b) { return _root[a + '_kills'] < _root[b + '_kills']; } teamgame_assigningteamsFunction = function () { i = 0; while (i < _root.tg_inteam1.length) { _root['player' + _root.tag + '_team'] = 'team1'; _root['player' + _root.tag + '_char'] = _root.team1_box_char[i].char; ++_root.tag; ++i; } i = 0; while (i < _root.tg_inteam2.length) { _root['player' + _root.tag + '_team'] = 'team2'; _root['player' + _root.tag + '_char'] = _root.team2_box_char[i].char; ++_root.tag; ++i; } i = 0; while (i < _root.tg_inteam3.length) { _root['player' + _root.tag + '_team'] = 'team3'; _root['player' + _root.tag + '_char'] = _root.team3_box_char[i].char; ++_root.tag; ++i; } i = 0; while (i < _root.tg_inteam4.length) { _root['player' + _root.tag + '_team'] = 'team4'; _root['player' + _root.tag + '_char'] = _root.team4_box_char[i].char; ++_root.tag; ++i; } _root.setup_players = _root.tg_inteam1.length + _root.tg_inteam2.length + _root.tg_inteam3.length + _root.tg_inteam4.length; _root.numberofplayers = _root.setup_players + 2; }; ctf_assigningteamsFunction = function () { i = 0; while (i < _root.ctf_inteam1.length) { _root['player' + _root.tag + '_team'] = 'team1'; _root['player' + _root.tag + '_char'] = _root.ctf_team1_box_char[i].char; ++_root.tag; ++i; } i = 0; while (i < _root.ctf_inteam2.length) { _root['player' + _root.tag + '_team'] = 'team2'; _root['player' + _root.tag + '_char'] = _root.ctf_team2_box_char[i].char; ++_root.tag; ++i; } _root.setup_players = _root.ctf_inteam1.length + _root.ctf_inteam2.length; _root.numberofplayers = _root.setup_players + 2; }; dm_assigningteamsFunction = function () { i = 0; while (i < _root.dm_inteam1.length) { _root['player' + _root.tag + '_team'] = 'player' + _root.tag; _root['player' + _root.tag + '_char'] = _root.dm_box_char[i].char; ++_root.tag; ++i; } _root.setup_players = _root.dm_inteam1.length; _root.numberofplayers = _root.setup_players + 2; }; updnews = function (subject1, subject2) { nws = _root.hud.newsdesk.attachMovie('newsfeed', 'newsfeed' + _root.hud.newsdesk.getNextHighestDepth(), _root.hud.newsdesk.getNextHighestDepth()); nws.n1 = _root[subject1.orig].character; nws.adjective = _root.adjectivesArray[random(_root.adjectivesArray.length)]; nws.n1t.gotoAndStop(_root[subject1.orig].team); nws.n2 = subject2.character; nws.n2t.gotoAndStop(subject2.team); nws.clck = 180; nws._y = 50; if (subject1.orig == 'player1') { nws.ppointer = nws.attachMovie('player_pointer', 'player_pointer' + nws.getNextHighestDepth(), nws.getNextHighestDepth()); nws.ppointer._x = 20; nws.ppointer._y = -1; nws.ppointer._xscale = 70; nws.ppointer._rotation = 90; if (_root.gamemode == 'custom') { nws.n1 = _root.player1_customname; } if (_root.gamemode == 'story') { nws.n1 = 'max'; } _root.assignxp(); } if (subject2._name == 'player1') { nws.ppointer = nws.attachMovie('player_pointer', 'player_pointer' + nws.getNextHighestDepth(), nws.getNextHighestDepth()); nws.ppointer._x = 145; nws.ppointer._y = -1; nws.ppointer._xscale = 70; nws.ppointer._rotation = -90; if (_root.gamemode == 'custom') { nws.n2 = _root.player1_customname; } if (_root.gamemode == 'story') { nws.n2 = 'max'; } } _root.nwssort.push(nws); }; _root.assignxp = function () { if (_root.player1.weapon == 'machinegun') { _root.gun1xp += 1; } if (_root.player1.weapon == 'shotgun') { _root.gun2xp += 1; } if (_root.player1.weapon == 'sniper') { _root.gun3xp += 1; } if (_root.player1.weapon == 'rocketlauncher') { _root.gun4xp += 1; } if (_root.player1.weapon == 'grenadelauncher') { _root.gun5xp += 1; } if (_root.player1.weapon == 'sawgun') { _root.gun6xp += 1; } if (_root.player1.weapon == 'ultragun') { _root.gun7xp += 1; } if (_root.player1.weapon == 'nailgun') { _root.gun8xp += 1; } if (_root.player1.weapon == 'beamgun') { _root.gun10xp += 1; } if (_root.player1.weapon == 'shelllauncher') { _root.gun9xp += 1; } if (_root.player1.weapon == 'flamethrower') { _root.gun11xp += 1; } if (_root.player1.weapon == 'googun') { _root.gun12xp += 1; } _root.totalpoints += 5; }; newssortingFunction = function () { _root.nwssort[0]._y += -_root.nwssort[0]._y / 4; _root.nwssort[1]._y += (12 - _root.nwssort[1]._y) / 4; _root.nwssort[2]._y += (24 - _root.nwssort[2]._y) / 4; --_root.nwssort[0].clck; if (_root.nwssort[0].clck < 1) { _root.nwssort[0].removeMovieClip(); _root.nwssort.splice(0, 1); } if (_root.nwssort.length > 3) { _root.nwssort[0].removeMovieClip(); _root.nwssort.splice(0, 1); } }; scoreboardUpdate = function () { if (_root.setup_gametype == 'elimination' or _root.setup_gametype == 'team elimination') { _root.player1_points = _root.setup_pointlimit - _root.player1_deaths; _root.player2_points = _root.setup_pointlimit - _root.player2_deaths; _root.player3_points = _root.setup_pointlimit - _root.player3_deaths; _root.player4_points = _root.setup_pointlimit - _root.player4_deaths; _root.player5_points = _root.setup_pointlimit - _root.player5_deaths; _root.player6_points = _root.setup_pointlimit - _root.player6_deaths; _root.player7_points = _root.setup_pointlimit - _root.player7_deaths; _root.player8_points = _root.setup_pointlimit - _root.player8_deaths; } else { _root.player1_points = _root.player1_kills; _root.player2_points = _root.player2_kills; _root.player3_points = _root.player3_kills; _root.player4_points = _root.player4_kills; _root.player5_points = _root.player5_kills; _root.player6_points = _root.player6_kills; _root.player7_points = _root.player7_kills; _root.player8_points = _root.player8_kills; } if (_root.setup_gametype == 'capture the flag' or _root.setup_gametype == 'control points') { } else { _root.scoreboardArray = [_root.player1.score_disp, _root.player2.score_disp, _root.player3.score_disp, _root.player4.score_disp, _root.player5.score_disp, _root.player6.score_disp, _root.player7.score_disp, _root.player8.score_disp]; } _root.scoreboardArray.sort(_root.sortByNumber); if (_root.gamesetup == true) { _root.scoreboardArray[0]._y += -_root.scoreboardArray[0]._y / 4; _root.scoreboardArray[1]._y += (12 - _root.scoreboardArray[1]._y) / 4; _root.scoreboardArray[2]._y += (24 - _root.scoreboardArray[2]._y) / 4; _root.scoreboardArray[3]._y += (36 - _root.scoreboardArray[3]._y) / 4; _root.scoreboardArray[4]._y += (48 - _root.scoreboardArray[4]._y) / 4; _root.scoreboardArray[5]._y += (60 - _root.scoreboardArray[5]._y) / 4; _root.scoreboardArray[6]._y += (72 - _root.scoreboardArray[6]._y) / 4; _root.scoreboardArray[7]._y += (84 - _root.scoreboardArray[7]._y) / 4; } else { _root.scoreboardArray[0]._visible = false; _root.scoreboardArray[1]._visible = false; _root.scoreboardArray[2]._visible = false; _root.scoreboardArray[3]._visible = false; _root.scoreboardArray[4]._visible = false; _root.scoreboardArray[5]._visible = false; _root.scoreboardArray[6]._visible = false; _root.scoreboardArray[7]._visible = false; } }; gameInitialiseFunction = function () { if (_root.setup_players > 0) { if (setup_gametype == 'team deathmatch') { addplayer = attachMovie([_root[_root.playernames[0] + '_team'] + '_unit'], _root.playernames[0], _root.getNextHighestDepth()); addplayer.team = _root[_root.playernames[0] + '_team']; } if (setup_gametype == 'capture the flag') { addplayer = attachMovie([_root[_root.playernames[0] + '_team'] + '_unit'], _root.playernames[0], _root.getNextHighestDepth()); addplayer.team = _root[_root.playernames[0] + '_team']; } if (setup_gametype == 'control points') { addplayer = attachMovie([_root[_root.playernames[0] + '_team'] + '_unit'], _root.playernames[0], _root.getNextHighestDepth()); addplayer.team = _root[_root.playernames[0] + '_team']; } if (setup_gametype == 'team elimination') { addplayer = attachMovie([_root[_root.playernames[0] + '_team'] + '_unit'], _root.playernames[0], _root.getNextHighestDepth()); addplayer.team = _root[_root.playernames[0] + '_team']; } if (setup_gametype == 'deathmatch') { addplayer = attachMovie('unit_deathmatch', _root.playernames[0], _root.getNextHighestDepth()); addplayer.team = addplayer._name; } if (setup_gametype == 'elimination') { addplayer = attachMovie('unit_deathmatch', _root.playernames[0], _root.getNextHighestDepth()); addplayer.team = addplayer._name; } addplayer.grav = 0; if (_root.difficulty == 'easy') { if (addplayer.team != _root.player1_team) { addplayer.life = 8; addplayer.aim = 15; } if (addplayer.team == _root.player1_team) { addplayer.life = 10; addplayer.aim = 10; } } if (_root.difficulty == 'medium') { if (addplayer.team != _root.player1_team) { addplayer.life = 9; addplayer.aim = 5; } if (addplayer.team == _root.player1_team) { addplayer.life = 9; addplayer.aim = 11; } } if (_root.difficulty == 'hard') { if (addplayer.team != _root.player1_team) { addplayer.life = 12; addplayer.aim = 1; } if (addplayer.team == _root.player1_team) { addplayer.life = 10; addplayer.aim = 6; } } addplayer.character = _root[addplayer._name + '_char']; addplayer.totallife = addplayer.life; addplayer.lbar = _root.attachMovie('lbar', 'lbar' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); addplayer.weapon = 'machinegun'; if (_root.setup_gametype == 'elimination' or _root.setup_gametype == 'team elimination' or _root.setup_gametype == 'deathmatch' or _root.setup_gametype == 'team deathmatch') { addplayer.score_disp = _root.hud.scoreboard.attachMovie('score_disp', addplayer._name + '_score_disp', _root.hud.scoreboard.getNextHighestDepth()); addplayer.score_disp.name = addplayer.character; addplayer.score_disp.plyr = addplayer._name; addplayer.score_disp.tm = addplayer.team; addplayer.score_disp.team.gotoAndStop(addplayer.team); } if (_root.setup_gametype == 'capture the flag') { if (addplayer.team == 'team1') { addplayer.ranspawn = random(_root.bluespawnArray.length); addplayer._x = _root.bluespawnArray[addplayer.ranspawn]._x; addplayer._y = _root.bluespawnArray[addplayer.ranspawn]._y; addplayer.gototarget = _root.bluespawnArray[addplayer.ranspawn].togoArray[random(_root.bluespawnArray[addplayer.ranspawn].togoArray.length)]; } if (addplayer.team == 'team2') { addplayer.ranspawn = random(_root.redspawnArray.length); addplayer._x = _root.redspawnArray[addplayer.ranspawn]._x; addplayer._y = _root.redspawnArray[addplayer.ranspawn]._y; addplayer.gototarget = _root.redspawnArray[addplayer.ranspawn].togoArray[random(_root.redspawnArray[addplayer.ranspawn].togoArray.length)]; } } if (_root.setup_gametype == 'deathmatch' or _root.setup_gametype == 'team deathmatch' or _root.setup_gametype == 'control points' or _root.setup_gametype == 'elimination' or _root.setup_gametype == 'team elimination') { addplayer.ranspawn = random(_root.spawnArray.length); addplayer._x = _root.spawnArray[addplayer.ranspawn]._x; addplayer._y = _root.spawnArray[addplayer.ranspawn]._y; addplayer.gototarget = _root.spawnArray[addplayer.ranspawn].togoArray[random(_root.spawnArray[addplayer.ranspawn].togoArray.length)]; } addplayer.mapmarker = _root.hud.map.attachMovie('mapmarker', 'mapmarker' + _root.getNextHighestDepth(), _root.hud.map.getNextHighestDepth()); addplayer.mapmarker.gotoAndStop(addplayer.team); addplayer.mapmarker._x = addplayer._x / (_root.ground._width / _root.hud.map._width); addplayer.mapmarker._y = (addplayer._y - addplayer.hitbox._height / 2) / (_root.ground._height / _root.hud.map._height); addplayer.lastorderfrom = 'void'; addplayer.gotoAndStop(6); addplayer.enemylist = new Array(); if (_root.player2.team != addplayer.team) { addplayer.enemylist.push(_root.player2); } if (_root.player3.team != addplayer.team) { addplayer.enemylist.push(_root.player3); } if (_root.player4.team != addplayer.team) { addplayer.enemylist.push(_root.player4); } if (_root.player5.team != addplayer.team) { addplayer.enemylist.push(_root.player5); } if (_root.player6.team != addplayer.team) { addplayer.enemylist.push(_root.player6); } if (_root.player7.team != addplayer.team) { addplayer.enemylist.push(_root.player7); } if (_root.player8.team != addplayer.team) { addplayer.enemylist.push(_root.player8); } _root.playernames.splice(0, 1); --_root.setup_players; } if (_root.setup_players < 1) { if (_root.setup_gametype == 'team deathmatch' or setup_gametype == 'capture the flag' or setup_gametype == 'team elimination' or setup_gametype == 'control points') { addplayer = attachMovie([_root.player1_team + '_unit'], 'player1', _root.getNextHighestDepth()); } else { addplayer = attachMovie('unit_deathmatch', 'player1', _root.getNextHighestDepth()); } if (_root.setup_gametype == 'team deathmatch') { _root.player1.team = _root.player1_team; } if (_root.setup_gametype == 'capture the flag') { _root.player1.team = _root.player1_team; } if (_root.setup_gametype == 'control points') { _root.player1.team = _root.player1_team; } if (_root.setup_gametype == 'team elimination') { _root.player1.team = _root.player1_team; } if (_root.setup_gametype == 'deathmatch') { _root.player1.team = 'player1'; } if (_root.setup_gametype == 'elimination') { _root.player1.team = 'player1'; } if (_root.setup_gametype == 'capture the flag') { if (_root.player1.team == 'team1') { _root.player1.ranspawn = random(_root.bluespawnArray.length); _root.player1._x = _root.bluespawnArray[_root.player1.ranspawn]._x; _root.player1._y = _root.bluespawnArray[_root.player1.ranspawn]._y; } if (_root.player1.team == 'team2') { _root.player1.ranspawn = random(_root.redspawnArray.length); _root.player1._x = _root.redspawnArray[_root.player1.ranspawn]._x; _root.player1._y = _root.redspawnArray[_root.player1.ranspawn]._y; } } else { _root.player1.ranspawn = random(_root.spawnArray.length); _root.player1._x = _root.spawnArray[_root.player1.ranspawn]._x; _root.player1._y = _root.spawnArray[_root.player1.ranspawn]._y; } _root.player1.gotoAndStop(6); _root.vcam.target = _root.player1; _root.player1.weapon = 'machinegun'; _root.player1.life = 10; _root.player1.totallife = 10; _root.player1.grav = 0; if (_root.gamemode == 'custom') { _root.player1.character = _root.player1_customcharacter; } if (_root.gamemode == 'story') { _root.player1.character = 'max'; } _root.player1.lbar = _root.attachMovie('lbar', 'lbar' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.player1.mapmarker = _root.hud.map.attachMovie('mapmarker', 'mapmarker' + _root.getNextHighestDepth(), _root.hud.map.getNextHighestDepth()); _root.player1.mapmarker.gotoAndStop('player1'); _root.player1.mapmarker._x = _root.player1._x / (_root.ground._width / _root.hud.map._width); _root.player1.mapmarker._y = (_root.player1._y - _root.player1.hitbox._height / 2) / (_root.ground._height / _root.hud.map._height); _root.player1.player_pointer = _root.attachMovie('player_pointer', 'player_pointer' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); if (_root.setup_gametype == 'deathmatch' or _root.setup_gametype == 'team deathmatch' or _root.setup_gametype == 'team elimination' or _root.setup_gametype == 'elimination') { _root.player1.score_disp = _root.hud.scoreboard.attachMovie('score_disp', 'player1_score_disp', _root.hud.scoreboard.getNextHighestDepth()); if (_root.gamemode == 'custom') { _root.player1.score_disp.name = _root.player1_customname; } if (_root.gamemode == 'story') { _root.player1.score_disp.name = _root.player1.character; } _root.player1.score_disp.plyr = 'player1'; _root.player1.score_disp.tm = _root.player1.team; _root.player1.score_disp.team.gotoAndStop(_root.player1.team); _root.player1.score_disp.player_pointer = _root.hud.scoreboard.player1_score_disp.attachMovie('player_pointer', 'player_pointer' + _root.getNextHighestDepth(), 100); _root.player1.score_disp.player_pointer._rotation = 90; _root.player1.score_disp.player_pointer._xscale = 70; _root.player1.score_disp.player_pointer._yscale = 70; _root.player1.score_disp.player_pointer._x = 10; _root.player1.score_disp.player_pointer._y = -(_root.player1.score_disp.player_pointer._width / 4); } _root.player1.enemylist = new Array(); if (_root.player2_team != _root.player1.team) { _root.player1.enemylist.push(_root.player2); } if (_root.player3_team != _root.player1.team) { _root.player1.enemylist.push(_root.player3); } if (_root.player4_team != _root.player1.team) { _root.player1.enemylist.push(_root.player4); } if (_root.player5_team != _root.player1.team) { _root.player1.enemylist.push(_root.player5); } if (_root.player6_team != _root.player1.team) { _root.player1.enemylist.push(_root.player6); } if (_root.player7_team != _root.player1.team) { _root.player1.enemylist.push(_root.player7); } if (_root.player8_team != _root.player1.team) { _root.player1.enemylist.push(_root.player8); } if (_root.setup_gametype == 'control points' or _root.setup_gametype == 'capture the flag') { _root.scoreboardArray = []; if (_root.player1.team == 'team1' or _root.player2.team == 'team1' or _root.player3.team == 'team1' or _root.player4.team == 'team1' or _root.player5.team == 'team1' or _root.player6.team == 'team1' or _root.player7.team == 'team1' or _root.player8.team == 'team1') { team1_score_disp = _root.hud.scoreboard.attachMovie('score_disp', 'team1_score_disp', _root.hud.scoreboard.getNextHighestDepth()); team1_score_disp.name = 'team1'; team1_score_disp.plyr = 'team1'; team1_score_disp.team.gotoAndStop('team1'); _root.scoreboardArray.push(team1_score_disp); } if (_root.player1.team == 'team2' or _root.player2.team == 'team2' or _root.player3.team == 'team2' or _root.player4.team == 'team2' or _root.player5.team == 'team2' or _root.player6.team == 'team2' or _root.player7.team == 'team2' or _root.player8.team == 'team2') { team2_score_disp = _root.hud.scoreboard.attachMovie('score_disp', 'team2_score_disp', _root.hud.scoreboard.getNextHighestDepth()); team2_score_disp.name = 'team2'; team2_score_disp.plyr = 'team2'; team2_score_disp.team.gotoAndStop('team2'); _root.scoreboardArray.push(team2_score_disp); } if (_root.player1.team == 'team3' or _root.player2.team == 'team3' or _root.player3.team == 'team3' or _root.player4.team == 'team3' or _root.player5.team == 'team3' or _root.player6.team == 'team3' or _root.player7.team == 'team3' or _root.player8.team == 'team3') { team3_score_disp = _root.hud.scoreboard.attachMovie('score_disp', 'team3_score_disp', _root.hud.scoreboard.getNextHighestDepth()); team3_score_disp.name = 'team3'; team3_score_disp.plyr = 'team3'; team3_score_disp.team.gotoAndStop('team3'); _root.scoreboardArray.push(team3_score_disp); } if (_root.player1.team == 'team4' or _root.player2.team == 'team4' or _root.player3.team == 'team4' or _root.player4.team == 'team4' or _root.player5.team == 'team4' or _root.player6.team == 'team4' or _root.player7.team == 'team4' or _root.player8.team == 'team4') { team4_score_disp = _root.hud.scoreboard.attachMovie('score_disp', 'team4_score_disp', _root.hud.scoreboard.getNextHighestDepth()); team4_score_disp.name = 'team4'; team4_score_disp.plyr = 'team4'; team4_score_disp.team.gotoAndStop('team4'); _root.scoreboardArray.push(team4_score_disp); } } _root.scoreboardUpdate(); _root.scoreboardArray[0]._visible = true; _root.scoreboardArray[1]._visible = true; _root.scoreboardArray[2]._visible = true; _root.scoreboardArray[3]._visible = true; _root.scoreboardArray[4]._visible = true; _root.scoreboardArray[5]._visible = true; _root.scoreboardArray[6]._visible = true; _root.scoreboardArray[7]._visible = true; if (_root.setup_timelimit == 'none') { _root.hud.clock.swapDepths(_root.hud.getNextHighestDepth()); _root.hud.clock.removeMovieClip(); } _root.powerupArray = ['medipak']; if (_root.g2ul == true) { _root.powerupArray.push('shotgun'); } if (_root.g3ul == true) { _root.powerupArray.push('sniper'); } if (_root.g4ul == true) { _root.powerupArray.push('rocketlauncher'); } if (_root.g5ul == true) { _root.powerupArray.push('grenadelauncher'); } if (_root.g6ul == true) { _root.powerupArray.push('sawgun'); } if (_root.g7ul == true) { _root.powerupArray.push('ultragun'); } if (_root.g8ul == true) { _root.powerupArray.push('nailgun'); } if (_root.g9ul == true) { _root.powerupArray.push('shellgun'); } if (_root.g10ul == true) { _root.powerupArray.push('beamgun'); } if (_root.g11ul == true) { _root.powerupArray.push('flamethrower'); } if (_root.g12ul == true) { _root.powerupArray.push('googun'); } _root.hud.swapDepths(_root.getNextHighestDepth()); _root.timeelapsed = _root.setup_timelimit * 1920; _root.gamesetup = true; } }; } frame 1 { gamfunc = function (subject1, subject2, subject3, subject4, subject5) { if (subject2.hitbox.hitTest(subject1) && subject2.team != subject1.team) { subject1.gotoAndStop(3); _root[subject3] = subject2; subject2.priority = subject4; _root[subject5].mapmarker.swapDepths(_root.hud.map.getNextHighestDepth()); } }; teamaifunc = function (subject1) { if (subject1.team == 'team1' && _root.red_flag._currentframe == 2) { subject1.priority = 'red_flag'; } if (subject1.team == 'team1' && _root.red_flag._currentframe == 3) { subject1.priority = 'blue_flag'; } if (subject1.team == 'team2' && _root.blue_flag._currentframe == 2) { subject1.priority = 'blue_flag'; } if (subject1.team == 'team2' && _root.blue_flag._currentframe == 3) { subject1.priority = 'red_flag'; } }; cpfunc = function (subject1, subject2) { if (subject2.hitbox.hitTest(subject1.bulbous) && subject1.team != subject2.team) { subject1[subject2.team] += 2; subject1.lbar.lbar._xscale = subject1[subject2.team]; subject1.lbar.gotoAndPlay(1); subject2.capturingcp = true; if (subject2._name != 'player1') { subject2.gotoAndStop(1); } if (subject1[subject2.team] > 100 && subject1._currentframe == 2) { subject1.gotoAndPlay(3); subject1.team = subject2.team; subject1.mapmarker.gotoAndStop('cp_' + subject1.team); subject1.bulbous.gotoAndStop(subject2.team); subject2.capturingcp = false; } } }; gamerulesFunction = function () { if (_root.setup_gametype == 'control points') { e = 0; while (e < _root.controlpointsArray.length) { if (_root.controlpointsArray[e].hitTest(_root.vcam)) { _root.controlpointsArray[e]._visible = true; } else { _root.controlpointsArray[e]._visible = false; } cpfunc(_root.controlpointsArray[e], _root.player1); cpfunc(_root.controlpointsArray[e], _root.player2); cpfunc(_root.controlpointsArray[e], _root.player3); cpfunc(_root.controlpointsArray[e], _root.player4); cpfunc(_root.controlpointsArray[e], _root.player5); cpfunc(_root.controlpointsArray[e], _root.player6); cpfunc(_root.controlpointsArray[e], _root.player7); cpfunc(_root.controlpointsArray[e], _root.player8); if (_root.controlpointsArray[e].team1 > 0) { --_root.controlpointsArray[e].team1; } if (_root.controlpointsArray[e].team2 > 0) { --_root.controlpointsArray[e].team2; } if (_root.controlpointsArray[e].team3 > 0) { --_root.controlpointsArray[e].team3; } if (_root.controlpointsArray[e].team4 > 0) { --_root.controlpointsArray[e].team4; } ++_root.controlpointsArray[e].point_interval; if (_root.controlpointsArray[e].point_interval > 45) { ++_root[_root.controlpointsArray[e].team + '_points']; _root.controlpointsArray[e].point_interval = 0; } if (_root.controlpointsArray[e].bulbous._currentframe == 2 && _root.controlpointsArray[e]._visible == true) { if (_root.showparticles == true) { _root.controlpointsArray[e].smoke = _root.controlpointsArray[e].smokeholder.attachMovie('blue_smoke', 'flag_smoke' + _root.controlpointsArray[e].smokeholder.getNextHighestDepth(), _root.controlpointsArray[e].smokeholder.getNextHighestDepth()); _root.controlpointsArray[e].smoke._x = random(16) - random(16); _root.controlpointsArray[e].smoke._y = random(10); } } if (_root.controlpointsArray[e].bulbous._currentframe == 3 && _root.controlpointsArray[e]._visible == true) { if (_root.showparticles == true) { _root.controlpointsArray[e].smoke = _root.controlpointsArray[e].smokeholder.attachMovie('red_smoke', 'flag_smoke' + _root.controlpointsArray[e].smokeholder.getNextHighestDepth(), _root.controlpointsArray[e].smokeholder.getNextHighestDepth()); _root.controlpointsArray[e].smoke._x = random(16) - random(16); _root.controlpointsArray[e].smoke._y = random(10); } } if (_root.controlpointsArray[e].bulbous._currentframe == 4 && _root.controlpointsArray[e]._visible == true) { if (_root.showparticles == true) { _root.controlpointsArray[e].smoke = _root.controlpointsArray[e].smokeholder.attachMovie('green_smoke', 'flag_smoke' + _root.controlpointsArray[e].smokeholder.getNextHighestDepth(), _root.controlpointsArray[e].smokeholder.getNextHighestDepth()); _root.controlpointsArray[e].smoke._x = random(16) - random(16); _root.controlpointsArray[e].smoke._y = random(10); } } if (_root.controlpointsArray[e].bulbous._currentframe == 5 && _root.controlpointsArray[e]._visible == true) { if (_root.showparticles == true) { _root.controlpointsArray[e].smoke = _root.controlpointsArray[e].smokeholder.attachMovie('yellow_smoke', 'flag_smoke' + _root.controlpointsArray[e].smokeholder.getNextHighestDepth(), _root.controlpointsArray[e].smokeholder.getNextHighestDepth()); _root.controlpointsArray[e].smoke._x = random(16) - random(16); _root.controlpointsArray[e].smoke._y = random(10); } } ++e; } } if (_root.setup_gametype == 'capture the flag') { _root.teamaifunc(_root.player2); _root.teamaifunc(_root.player3); _root.teamaifunc(_root.player4); _root.teamaifunc(_root.player5); _root.teamaifunc(_root.player6); _root.teamaifunc(_root.player7); _root.teamaifunc(_root.player8); if (_root.red_flag._currentframe == 2) { _root.gamfunc(_root.red_flag, _root.player1, 'hasredflag', 'blue_flag', 'red_flag'); _root.gamfunc(_root.red_flag, _root.player2, 'hasredflag', 'blue_flag', 'red_flag'); _root.gamfunc(_root.red_flag, _root.player3, 'hasredflag', 'blue_flag', 'red_flag'); _root.gamfunc(_root.red_flag, _root.player4, 'hasredflag', 'blue_flag', 'red_flag'); _root.gamfunc(_root.red_flag, _root.player5, 'hasredflag', 'blue_flag', 'red_flag'); _root.gamfunc(_root.red_flag, _root.player6, 'hasredflag', 'blue_flag', 'red_flag'); _root.gamfunc(_root.red_flag, _root.player7, 'hasredflag', 'blue_flag', 'red_flag'); _root.gamfunc(_root.red_flag, _root.player8, 'hasredflag', 'blue_flag', 'red_flag'); } if (_root.blue_flag._currentframe == 2) { _root.gamfunc(_root.blue_flag, _root.player1, 'hasblueflag', 'red_flag', 'blue_flag'); _root.gamfunc(_root.blue_flag, _root.player2, 'hasblueflag', 'red_flag', 'blue_flag'); _root.gamfunc(_root.blue_flag, _root.player3, 'hasblueflag', 'red_flag', 'blue_flag'); _root.gamfunc(_root.blue_flag, _root.player4, 'hasblueflag', 'red_flag', 'blue_flag'); _root.gamfunc(_root.blue_flag, _root.player5, 'hasblueflag', 'red_flag', 'blue_flag'); _root.gamfunc(_root.blue_flag, _root.player6, 'hasblueflag', 'red_flag', 'blue_flag'); _root.gamfunc(_root.blue_flag, _root.player7, 'hasblueflag', 'red_flag', 'blue_flag'); _root.gamfunc(_root.blue_flag, _root.player8, 'hasblueflag', 'red_flag', 'blue_flag'); } if (_root.red_flag._currentframe == 3) { if (_root.hasredflag._name != 'player1') { if (_root.hasredflag._x < _root.blue_flag._x) { _root.hasredflag._xscale = 100; } if (_root.hasredflag._x > _root.blue_flag._x) { _root.hasredflag._xscale = -100; } } if (_root.showparticles == true) { smoke = _root.attachMovie('red_smoke', 'flag_smoke' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); smoke._x = _root.hasredflag._x + random(30) * -(_root.hasredflag._xscale / 100); smoke._y = _root.hasredflag._y - _root.hasredflag.hitbox._height / 2 - random(10); } _root.hasredflag.swapDepths(_root.getNextHighestDepth()); _root.hasredflag.gun.gotoAndStop('red_flag'); _root.hasredflag.gun._rotation = 0; _root.red_flag.mapmarker._x = _root.hasredflag.mapmarker._x; _root.red_flag.mapmarker._y = _root.hasredflag.mapmarker._y; if (_root.hasredflag._currentframe == 5) { _root.hasredflag.gun.gotoAndStop(_root.hasredflag.weapon); _root.red_flag.mapmarker._x = _root.red_flag._x / (_root.ground._width / _root.hud.map._width); _root.red_flag.mapmarker._y = (_root.red_flag._y - _root.blue_flag._height / 2) / (_root.ground._height / _root.hud.map._height); _root.hasredflag.priority = null; _root.hasredflag = 'void'; _root.red_flag.gotoAndStop(2); } if (_root.hasredflag.hitbox.hitTest(_root.blue_flag)) { _root.team1_points += 1; _root.bluescores.start(0, 0); _root.bluescores.setVolume(_root.sfxvolume); _root.hasredflag.gun.gotoAndStop(_root.hasredflag.weapon); _root.red_flag.mapmarker._x = _root.red_flag._x / (_root.ground._width / _root.hud.map._width); _root.red_flag.mapmarker._y = (_root.red_flag._y - _root.blue_flag._height / 2) / (_root.ground._height / _root.hud.map._height); _root.hasredflag.priority = null; _root.hasredflag = 'void'; _root.red_flag.gotoAndStop(2); } } if (_root.blue_flag._currentframe == 3) { if (_root.hasblueflag._name != 'player1') { if (_root.hasblueflag._x < _root.red_flag._x) { _root.hasblueflag._xscale = 100; } if (_root.hasblueflag._x > _root.red_flag._x) { _root.hasblueflag._xscale = -100; } } if (_root.showparticles == true) { smoke = _root.attachMovie('blue_smoke', 'flag_smoke' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); smoke._x = _root.hasblueflag._x + random(30) * -(_root.hasblueflag._xscale / 100); smoke._y = _root.hasblueflag._y - _root.hasblueflag._height / 2 - random(10); } _root.hasblueflag.swapDepths(_root.getNextHighestDepth()); _root.hasblueflag.gun.gotoAndStop('blue_flag'); _root.hasblueflag.gun._rotation = 0; _root.blue_flag.mapmarker._x = _root.hasblueflag.mapmarker._x; _root.blue_flag.mapmarker._y = _root.hasblueflag.mapmarker._y; if (_root.hasblueflag._currentframe == 5) { _root.hasblueflag.gun.gotoAndStop(_root.hasblueflag.weapon); _root.blue_flag.mapmarker._x = _root.blue_flag._x / (_root.ground._width / _root.hud.map._width); _root.blue_flag.mapmarker._y = (_root.blue_flag._y - _root.blue_flag._height / 2) / (_root.ground._height / _root.hud.map._height); _root.hasblueflag.priority = null; _root.hasblueflag = 'void'; _root.blue_flag.gotoAndStop(2); } if (_root.hasblueflag.hitbox.hitTest(_root.red_flag)) { _root.redscores.start(0, 0); _root.redscores.setVolume(_root.sfxvolume); _root.team2_points += 1; _root.hasblueflag.gun.gotoAndStop(_root.hasblueflag.weapon); _root.blue_flag.mapmarker._x = _root.blue_flag._x / (_root.ground._width / _root.hud.map._width); _root.blue_flag.mapmarker._y = (_root.blue_flag._y - _root.blue_flag._height / 2) / (_root.ground._height / _root.hud.map._height); _root.hasblueflag.priority = null; _root.hasblueflag = 'void'; _root.blue_flag.gotoAndStop(2); } } } _root.timeelapsed -= 1; if (Math.floor(_root.timeelapsed / 32 % 60) < 10) { _root.gametime = Math.floor(_root.timeelapsed / 32 / 60) + ':0' + Math.floor(_root.timeelapsed / 32 % 60); } else { _root.gametime = Math.floor(_root.timeelapsed / 32 / 60) + ':' + Math.floor(_root.timeelapsed / 32 % 60); } if (_root.timeelapsed < 1) { _root.gametime = '0:0'; } if (_root.setup_gametype == 'deathmatch') { if (_root.scoreboardArray[0].score > _root.setup_pointlimit - 1 or _root.timeelapsed < 1) { if (_root.hud.showstats._currentframe == 1) { if (_root.scoreboardArray[0].plyr == 'player1') { _root.hud.showstats.gotoAndPlay('victory'); _root.stats_solowins += 1; } else { _root.hud.showstats.gotoAndPlay('defeated'); _root.stats_sololosses += 1; } } } } if (_root.setup_gametype == 'team deathmatch') { if (_root.scoreboardArray[0].score > _root.setup_pointlimit - 1 or _root.timeelapsed < 1) { if (_root.hud.showstats._currentframe == 1) { if (_root.scoreboardArray[0].tm == _root.player1.team) { _root.hud.showstats.gotoAndPlay('victory'); _root.stats_teamwins += 1; } else { _root.hud.showstats.gotoAndPlay('defeated'); _root.stats_teamlosses += 1; } } } } if (_root.setup_gametype == 'control points') { if (_root.scoreboardArray[0].score > _root.setup_pointlimit - 1 or _root.timeelapsed < 1) { if (_root.hud.showstats._currentframe == 1) { if (_root.scoreboardArray[0].plyr == _root.player1.team) { _root.hud.showstats.gotoAndPlay('victory'); _root.stats_teamwins += 1; } else { _root.hud.showstats.gotoAndPlay('defeated'); _root.stats_teamlosses += 1; } } } } if (_root.setup_gametype == 'capture the flag') { if (_root.scoreboardArray[0].score > _root.setup_pointlimit - 1 or _root.timeelapsed < 1) { if (_root.hud.showstats._currentframe == 1) { if (_root.scoreboardArray[0].plyr == _root.player1.team) { _root.hud.showstats.gotoAndPlay('victory'); _root.stats_teamwins += 1; } else { _root.hud.showstats.gotoAndPlay('defeated'); _root.stats_teamlosses += 1; } } } } if (_root.setup_gametype == 'elimination') { if (_root.player1_points < 1 && _root.hud.showstats._currentframe == 1) { _root.hud.showstats.gotoAndPlay('defeated'); _root.stats_sololosses += 1; } if (_root.scoreboardArray[1].score < 1 or _root.timeelapsed < 1) { if (_root.hud.showstats._currentframe == 1) { if (_root.scoreboardArray[0].plyr == 'player1') { _root.hud.showstats.gotoAndPlay('victory'); _root.stats_solowins += 1; } else { _root.hud.showstats.gotoAndPlay('defeated'); _root.stats_sololosses += 1; } } } } if (_root.setup_gametype == 'team elimination') { if (_root.player1_points < 1 && _root.hud.showstats._currentframe == 1) { _root.hud.showstats.gotoAndPlay('defeated'); _root.stats_teamlosses += 1; } _root.winteamelim = 0; i = 0; while (i < _root.player1.enemylist.length) { if (_root.player1.enemylist[i].score_disp._visible == true) { _root.winteamelim += 1; } ++i; } if (_root.winteamelim == 0 && _root.hud.showstats._currentframe == 1) { _root.hud.showstats.gotoAndPlay('victory'); _root.stats_teamwins += 1; } } }; _root.resetlevel = function () { delete _root.onEnterFrame; _root.tscore_score = []; _root.tscore_name = []; i = 0; while (i < _root.scoreboardArray.length) { if (_root.scoreboardArray[i].name != undefined) { _root.tscore_score.push(_root.scoreboardArray[i].score); _root.tscore_name.push(_root.scoreboardArray[i].name); } ++i; } _root.postgamesummary = []; i = 1; while (i < _root.numberofplayers) { _root.postgamesummary.push('player' + i); ++i; } _root.postgamesummary.sort(_root.sortSummary); _root.player1.lbar.swapDepths(_root.getNextHighestDepth()); _root.player1.lbar.removeMovieClip(); _root.player1.player_pointer.swapDepths(_root.getNextHighestDepth()); _root.player1.player_pointer.removeMovieClip(); _root.player2.lbar.removeMovieClip(); _root.player3.lbar.removeMovieClip(); _root.player4.lbar.removeMovieClip(); _root.player5.lbar.removeMovieClip(); _root.player6.lbar.removeMovieClip(); _root.player7.lbar.removeMovieClip(); _root.player8.lbar.removeMovieClip(); _root.player1.swapDepths(_root.getNextHighestDepth()); _root.player1.removeMovieClip(); _root.player2.removeMovieClip(); _root.player3.removeMovieClip(); _root.player4.removeMovieClip(); _root.player5.removeMovieClip(); _root.player6.removeMovieClip(); _root.player7.removeMovieClip(); _root.player8.removeMovieClip(); i = 0; while (i < _root.bullet1Array.length) { _root.bullet1Array[i].removeMovieClip(); ++i; } i = 0; while (i < _root.rocketArray.length) { _root.rocketArray[i].removeMovieClip(); ++i; } i = 0; while (i < _root.grenadeArray.length) { _root.grenadeArray[i].removeMovieClip(); ++i; } i = 0; while (i < _root.activepowerupArray.length) { _root.activepowerupArray[i].removeMovieClip(); ++i; } i = 0; while (i < _root.bitsArray.length) { _root.bitsArray[i].removeMovieClip(); ++i; } i = 0; while (i < _root.nailArray.length) { _root.nailArray[i].removeMovieClip(); ++i; } i = 0; while (i < _root.sawArray.length) { _root.sawArray[i].removeMovieClip(); ++i; } i = 0; while (i < _root.shellArray.length) { _root.shellArray[i].removeMovieClip(); ++i; } i = 0; while (i < _root.flameArray.length) { _root.flameArray[i].removeMovieClip(); ++i; } i = 0; while (i < _root.gooArray.length) { _root.gooArray[i].removeMovieClip(); ++i; } _root.bullet1Array = []; _root.rocketArray = []; _root.grenadeArray = []; _root.activepowerupArray = []; _root.bitsArray = []; _root.nailArray = []; _root.sawArray = []; _root.shellArray = []; _root.flameArray = []; _root.gooArray = []; _root.boostArray = []; _root.spawnArray = []; _root.waypointArray = []; _root.controlpointsArray = []; _root.redspawnArray = []; _root.bluespawnArray = []; _root.vcam.removeMovieClip(); }; } frame 1 { function spelltext() { l = sceneconv[convpos].length; showtext = sceneconv[convpos].substring(0, p); ++p; if (p == l + 1) { clearInterval(write); } } stop(); scenecameraFunction = function () { _root.vcam.target = _root.scenewhotalk[_root.convpos]; _root.vcam._xscale -= (_root.vcam._xscale - _root.convzoom[_root.convpos]) / 3; _root.vcam._yscale = _root.vcam._xscale; _root.vcam._y += (_root.vcam.target._y - 56.9 * (2 * _root.vcam._xscale / 100) - _root.vcam._y) / 5; _root.bg._x = _root.vcam._x / 1.2; _root.bg._y = _root.vcam._y; _root.bg1._x = _root.vcam._x / _root.bg1.m - _root.vcam._width / 2; _root.bg1._y = _root.vcam._y / _root.bg1.vm; _root.curtains._x = _root.vcam._x; _root.curtains._y = _root.vcam._y; _root.curtains._xscale = _root.vcam._xscale; _root.curtains._yscale = _root.vcam._yscale; _root.vcam.camControl(); _root.vcam._x = _root.vcam._x + (_root.vcam.target._x - _root.vcam._x) / 10 - _root.vcam.xadjust; if (_root.vcam._x + _root.vcam._width / 2 > _root.r_limit._x) { _root.vcam._x = _root.r_limit._x - _root.vcam._width / 2; } if (_root.vcam._x - _root.vcam._width / 2 < _root.l_limit._x) { _root.vcam._x = _root.l_limit._x + _root.vcam._width / 2; } if (_root.vcam._y + _root.vcam._height / 2 > _root.d_limit._y) { _root.vcam._y = _root.d_limit._y - _root.vcam._height / 2; } if (_root.vcam._y - _root.vcam._height / 2 < _root.u_limit._y) { _root.vcam._y = _root.u_limit._y + _root.vcam._height / 2; } }; write = setInterval(spelltext, 25); } movieClip 833 { } movieClip 836 { } instance of movieClip 836 { onClipEvent (load) { this.cacheAsBitmap = true; } } // unknown tag 88 length 44 movieClip 841 { frame 1 { stop(); } } instance plybtn of movieClip 841 { onClipEvent (rollOver) { gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume - 30); _root.gotoAndStop('logos'); } } frame 2 { tg_plyrstoassign = ['player2', 'player3', 'player4', 'player5', 'player6', 'player7', 'player8']; tg_inteam1 = []; tg_inteam2 = []; tg_inteam3 = []; tg_inteam4 = []; ctf_plyrstoassign = ['player2', 'player3', 'player4', 'player5', 'player6', 'player7', 'player8']; ctf_inteam1 = []; ctf_inteam2 = []; ctf_inteam3 = []; ctf_inteam4 = []; dm_plyrstoassign = ['player2', 'player3', 'player4', 'player5', 'player6', 'player7', 'player8']; dm_inteam1 = []; } frame 2 { stop(); _root.saveitFunction(); if (menumusicplaying != true) { _root.menumusic.start(0, 99); _root.menumusic.setVolume(_root.musicvolume); menumusicplaying = true; } gametypes = ['deathmatch', 'team deathmatch', 'capture the flag', 'control points', 'elimination', 'team elimination']; gametypesdescription = ['free for all deathmatch. score by killing opponents. player with the highest score wins', 'deathmatch in teams. score by killing opponents on other teams. team with the highest scoring player wins', 'capture the enemy flag and take it back to your flag to score. take a flag by walking up to it.', 'capture and hold control points to score. capture a control point by standing next to it', 'last man alive wins.', 'team of the last man alive wins']; levellist = ['level_1', 'level_2', 'level_3', 'level_4', 'level_5', 'level_6', 'level_7', 'level_8', 'level_9', 'level_10']; levellistdescription = ['small but perfectly formed', 'team games ftw', 'a wild and beautiful land', 'space prison', 'tree village', 'two bases', ' gladiator arena', 'village under seige', 'ancient ruins', 'bridge over troubled waters']; difflist = ['easy', 'medium', 'hard']; pointslist = ['none', 5, 10, 15, 20, 25, 30, 50, 75, 100, 150, 200, 300, 500, 1000]; timeslist = ['none', 1, 2, 3, 5, 7, 10, 15, 20, 30, 60]; _root.setup_gametype = _root.gametypes[_root.gm_i]; _root.setup_level = _root.levellist[_root.lvl_j]; _root.difficulty = _root.difflist[_root.diff_k]; _root.setup_pointlimit = _root.pointslist[_root.pts_l]; _root.setup_timelimit = _root.timeslist[_root.time_m]; _root.setup_players = 0; tg_inteam1 = []; tg_inteam2 = []; tg_inteam3 = []; tg_inteam4 = []; ctf_inteam1 = []; ctf_inteam2 = []; ctf_inteam3 = []; ctf_inteam4 = []; dm_inteam1 = []; team1_box_char = []; team2_box_char = []; team3_box_char = []; team4_box_char = []; ctf_team1_box_char = []; ctf_team2_box_char = []; dm_box_char = []; dm_plyrstoassign = ['player2', 'player3', 'player4', 'player5', 'player6', 'player7', 'player8']; tg_plyrstoassign = ['player2', 'player3', 'player4', 'player5', 'player6', 'player7', 'player8']; ctf_plyrstoassign = ['player2', 'player3', 'player4', 'player5', 'player6', 'player7', 'player8']; } frame 2 { _root.player1_char = 'undefined'; _root.player2_char = 'undefined'; _root.player3_char = 'undefined'; _root.player4_char = 'undefined'; _root.player5_char = 'undefined'; _root.player6_char = 'undefined'; _root.player7_char = 'undefined'; _root.player8_char = 'undefined'; _root.player1_kills = 0; _root.player2_kills = 0; _root.player3_kills = 0; _root.player4_kills = 0; _root.player5_kills = 0; _root.player6_kills = 0; _root.player7_kills = 0; _root.player8_kills = 0; _root.player1_deaths = 0; _root.player2_deaths = 0; _root.player3_deaths = 0; _root.player4_deaths = 0; _root.player5_deaths = 0; _root.player6_deaths = 0; _root.player7_deaths = 0; _root.player8_deaths = 0; _root.player1_points = 0; _root.player2_points = 0; _root.player3_points = 0; _root.player4_points = 0; _root.player5_points = 0; _root.player6_points = 0; _root.player7_points = 0; _root.player8_points = 0; _root.team1_points = 0; _root.team2_points = 0; _root.team3_points = 0; _root.team4_points = 0; } movieClip 849 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 851 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 853 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 856 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 865 { frame 1 { stop(); } } movieClip 869 { frame 1 { stop(); } } movieClip 870 { frame 1 { if (_root._quality == 'HIGH') { this.slider._x = 66; } if (_root._quality == 'MEDIUM') { this.slider._x = 40; } if (_root._quality == 'LOW') { this.slider._x = 4; } onEnterFrame = function () { if (this.press == true) { this.slider._x = this._xmouse; if (this.slider._x < (this._width / 3) * 1) { _root._quality = 'LOW'; } if (this.slider._x > (this._width / 3) * 1 && this.slider._x < (this._width / 3) * 2) { _root._quality = 'MEDIUM'; } if (this.slider._x > (this._width / 3) * 2) { _root._quality = 'HIGH'; } } if (this.slider._x < 4) { this.slider._x = 4; } if (this.slider._x > 66) { this.slider._x = 66; } this.slider._yscale = this.slider._x + 57; }; } } movieClip 873 { frame 1 { this.slider._x = _root[this.vartoadjust] / 2.4; onEnterFrame = function () { if (this.press == true) { this.slider._x = this._xmouse; } if (this.slider._x < 4) { this.slider._x = 4; } if (this.slider._x > 66) { this.slider._x = 66; } _root[this.vartoadjust] = this.slider._x * 2.4; this.slider._yscale = this.slider._x + 57; if (this.slider._x < 5) { _root[this.vartoadjust] = 'mute'; this.slider._yscale = 100; this.slider.gotoAndStop(2); } else { this.slider.gotoAndStop(1); } if (this.vartoadjust == 'musicvolume') { _root['music' + _root.musicqueue].setVolume(_root.musicvolume); } }; } } movieClip 881 { frame 1 { stop(); } frame 6 { stop(); } frame 10 { gotoAndStop(1); } } movieClip 889 { frame 1 { stop(); } frame 3 { stop(); } } movieClip 893 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 898 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 901 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 904 { } movieClip 905 { frame 1 { ground = this.attachMovie(_root.setup_level, _root.setup_level + this.getNextHighestDepth(), this.getNextHighestDepth()); ground._width = map._width - 2; ground._height = map._height - 2; ground._x = map._x; ground._y = map._y; ground.cacheAsBitmap = true; } } movieClip 908 { frame 1 { stop(); } frame 6 { stop(); } frame 11 { gotoAndStop(1); } } movieClip 910 { } movieClip 912 { } movieClip 914 { } movieClip 916 { } movieClip 918 { } movieClip 920 { } movieClip 922 { } movieClip 923 { frame 1 { iconfunction = function (subject1) { subject1._xscale = 125 - Math.abs(subject1._x / 2); if (subject1._xscale < 0) { subject1._xscale = 0; } subject1._alpha = 100 - Math.abs(subject1._x * 1); subject1._yscale = subject1._xscale; }; iconArray = [this.deathmatch, this.teamdeathmatch, this.capturetheflag, this.controlpoints, this.elimination, this.teamelimination]; onEnterFrame = function () { i = 0; while (i < iconArray.length) { this.iconfunction(iconArray[i]); ++i; } this.iconArray[_root.gm_i - 5]._x += (-250 - this.iconArray[_root.gm_i - 5]._x) / 3; this.iconArray[_root.gm_i - 4]._x += (-200 - this.iconArray[_root.gm_i - 4]._x) / 3; this.iconArray[_root.gm_i - 3]._x += (-150 - this.iconArray[_root.gm_i - 3]._x) / 3; this.iconArray[_root.gm_i - 2]._x += (-100 - this.iconArray[_root.gm_i - 2]._x) / 3; this.iconArray[_root.gm_i - 1]._x += (-50 - this.iconArray[_root.gm_i - 1]._x) / 3; this.iconArray[_root.gm_i]._x += -this.iconArray[_root.gm_i]._x / 3; this.iconArray[_root.gm_i + 1]._x += (50 - this.iconArray[_root.gm_i + 1]._x) / 3; this.iconArray[_root.gm_i + 2]._x += (100 - this.iconArray[_root.gm_i + 2]._x) / 3; this.iconArray[_root.gm_i + 3]._x += (150 - this.iconArray[_root.gm_i + 3]._x) / 3; this.iconArray[_root.gm_i + 4]._x += (200 - this.iconArray[_root.gm_i + 4]._x) / 3; this.iconArray[_root.gm_i + 5]._x += (300 - this.iconArray[_root.gm_i + 5]._x) / 3; this.iconArray[_root.gm_i].swapDepths(this.getNextHighestDepth()); _parent.gamemodedescription = _root.gametypesdescription[_root.gm_i]; _parent.levellistdescription = _root.levellistdescription[_root.lvl_j]; }; } } movieClip 925 { } movieClip 932 { frame 1 { stop(); } frame 5 { stop(); } } movieClip 940 { } movieClip 942 { } movieClip 945 { frame 1 { stop(); } } movieClip 947 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 948 { frame 1 { stop(); } } movieClip 950 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 970 { frame 1 { stop(); } } movieClip 976 { frame 1 { stop(); } frame 7 { stop(); } frame 13 { gotoAndStop(1); } } movieClip 983 { frame 1 { stop(); } frame 6 { stop(); } frame 11 { gotoAndStop(1); } } movieClip 989 { frame 1 { stop(); } frame 6 { stop(); } frame 12 { gotoAndStop(1); } } movieClip 991 { } movieClip 996 { frame 1 { stop(); } instance head of movieClip 95 Head { onClipEvent (load) { this.gotoAndStop(_parent.head); this.cacheAsBitmap = true; } } } movieClip 998 { } movieClip 1003 { frame 1 { stop(); } instance of movieClip 991 { onClipEvent (load) { } onClipEvent (rollOver) { _parent._parent.setup.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { _parent._parent.setup.gotoAndPlay(8); } onClipEvent (release) { _parent._parent.setup.gotoAndPlay(8); _parent.gotoAndPlay(2); } } frame 2 { _root.othermenu = true; _parent._parent.tg1m.toucher.gotoAndStop(2); _parent._parent.tg1p.toucher.gotoAndStop(2); _parent._parent.tg2m.toucher.gotoAndStop(2); _parent._parent.tg2p.toucher.gotoAndStop(2); _parent._parent.tg3m.toucher.gotoAndStop(2); _parent._parent.tg3p.toucher.gotoAndStop(2); _parent._parent.tg4m.toucher.gotoAndStop(2); _parent._parent.tg4p.toucher.gotoAndStop(2); _parent._parent.dm1m.toucher.gotoAndStop(2); _parent._parent.dm1p.toucher.gotoAndStop(2); _parent._parent.ctf1m.toucher.gotoAndStop(2); _parent._parent.ctf1p.toucher.gotoAndStop(2); _parent._parent.ctf2m.toucher.gotoAndStop(2); _parent._parent.ctf2p.toucher.gotoAndStop(2); _root.mnu.nm1.nm.gotoAndStop(13); _root.mnu.nm2.nm.gotoAndStop(13); _root.mnu.nm3.nm.gotoAndStop(13); _root.mnu.nm4.nm.gotoAndStop(13); _root.mnu.ctf_nm1.nm.gotoAndStop(13); _root.mnu.ctf_nm2.nm.gotoAndStop(13); } instance of movieClip 932 { onClipEvent (rollOver) { gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.player1_customname = _parent.change_name.text; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.gotoAndPlay(_parent._currentframe + 1); } } frame 7 { stop(); display_char_name = ''; this.selector._x = -45; this.selector._y = -140; this.selectortargetx = -45.3; this.selectortargety = -140; onEnterFrame = function () { this.selector._x += (this.selectortargetx - this.selector._x) / 3; this.selector._y += (this.selectortargety - this.selector._y) / 3; }; } instance of movieClip 996 { onClipEvent (load) { head = 1; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 2; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 3; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 4; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 5; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 6; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 7; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 8; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 9; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 10; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 11; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 12; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 13; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 14; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 15; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 16; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 17; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 18; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 19; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 20; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 21; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 22; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 23; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 24; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 25; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 26; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 27; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 28; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 29; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 30; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 31; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 32; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 33; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 34; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 35; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 36; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 37; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 38; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 39; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 40; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 41; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } instance of movieClip 996 { onClipEvent (load) { head = 42; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); _parent.selectortargetx = this._x; _parent.selectortargety = this._y; this.gotoAndStop(2); _parent.display_char_name = _root.allchars[head - 1]; } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.player1_customcharacter = _root.allchars[head - 1]; } } frame 12 { _root.othermenu = false; _parent._parent.tg1m.toucher.gotoAndStop(1); _parent._parent.tg1p.toucher.gotoAndStop(1); _parent._parent.tg2m.toucher.gotoAndStop(1); _parent._parent.tg2p.toucher.gotoAndStop(1); _parent._parent.tg3m.toucher.gotoAndStop(1); _parent._parent.tg3p.toucher.gotoAndStop(1); _parent._parent.tg4m.toucher.gotoAndStop(1); _parent._parent.tg4p.toucher.gotoAndStop(1); _parent._parent.dm1m.toucher.gotoAndStop(1); _parent._parent.dm1p.toucher.gotoAndStop(1); _parent._parent.ctf1m.toucher.gotoAndStop(1); _parent._parent.ctf1p.toucher.gotoAndStop(1); _parent._parent.ctf2m.toucher.gotoAndStop(1); _parent._parent.ctf2p.toucher.gotoAndStop(1); _root.mnu.nm1.nm.gotoAndStop(1); _root.mnu.nm2.nm.gotoAndStop(1); _root.mnu.nm3.nm.gotoAndStop(1); _root.mnu.nm4.nm.gotoAndStop(1); _root.mnu.ctf_nm1.nm.gotoAndStop(1); _root.mnu.ctf_nm2.nm.gotoAndStop(1); } } movieClip 1008 { frame 1 { stop(); } } movieClip 1012 { frame 1 { stop(); } } movieClip 1016 { frame 1 { stop(); } } movieClip 1020 { frame 1 { stop(); } } movieClip 1022 { frame 1 { stop(); } instance tm1 of movieClip 1008 { onClipEvent (rollOver) { if (this._currentframe != 3) { gotoAndStop(2); } } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.player1_team = 'team1'; } } instance tm2 of movieClip 1012 { onClipEvent (rollOver) { if (this._currentframe != 3) { gotoAndStop(2); } } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.player1_team = 'team2'; } } instance tm3 of movieClip 1016 { onClipEvent (rollOver) { if (this._currentframe != 3) { gotoAndStop(2); } } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.player1_team = 'team3'; } } instance tm4 of movieClip 1020 { onClipEvent (rollOver) { if (this._currentframe != 3) { gotoAndStop(2); } } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.player1_team = 'team4'; } } instance tm1 of movieClip 1008 { onClipEvent (rollOver) { if (this._currentframe != 3) { gotoAndStop(2); } } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.player1_team = 'team1'; } } instance tm2 of movieClip 1012 { onClipEvent (rollOver) { if (this._currentframe != 3) { gotoAndStop(2); } } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.player1_team = 'team2'; } } } movieClip 1027 { frame 1 { stop(); } frame 7 { stop(); } frame 12 { gotoAndStop(1); } } movieClip 1036 { frame 1 { stop(); } } movieClip 1054 { frame 1 { stop(); } } movieClip 1062 { } movieClip 1064 { } movieClip 1065 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 1068 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 1117 { } movieClip 1118 { frame 1 { _root.mnu.pressanykey._visible = false; keyListener = new Object(); keyListener.onKeyDown = function () { if (_root.mnu.lkey._currentframe > 2) { _root.mnu.pressanykey._x = -846.1; _root.key_left = Key.getCode(); _root.mnu.lkey.display = String.fromCharCode(Key.getAscii()); _root.mnu.lkey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.rkey._currentframe > 2) { _root.mnu.pressanykey._x = -846.1; _root.key_right = Key.getCode(); _root.mnu.rkey.display = String.fromCharCode(Key.getAscii()); _root.mnu.rkey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.dkey._currentframe > 2) { _root.mnu.pressanykey._x = -846.1; _root.key_pickup = Key.getCode(); _root.mnu.dkey.display = String.fromCharCode(Key.getAscii()); _root.mnu.dkey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.ukey._currentframe > 2) { _root.mnu.pressanykey._x = -846.1; _root.key_jump = Key.getCode(); _root.mnu.ukey.display = String.fromCharCode(Key.getAscii()); _root.mnu.ukey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.alkey._currentframe > 2) { _root.mnu.pressanykey._x = -1435.8; _root.key_left = Key.getCode(); _root.mnu.alkey.display = String.fromCharCode(Key.getAscii()); _root.mnu.alkey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.arkey._currentframe > 2) { _root.mnu.pressanykey._x = -1435.8; _root.key_right = Key.getCode(); _root.mnu.arkey.display = String.fromCharCode(Key.getAscii()); _root.mnu.arkey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.adkey._currentframe > 2) { _root.mnu.pressanykey._x = -1435.8; _root.key_pickup = Key.getCode(); _root.mnu.adkey.display = String.fromCharCode(Key.getAscii()); _root.mnu.adkey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.aukey._currentframe > 2) { _root.mnu.pressanykey._x = -1435.8; _root.key_jump = Key.getCode(); _root.mnu.aukey.display = String.fromCharCode(Key.getAscii()); _root.mnu.aukey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.sukey._currentframe > 2) { _root.mnu.pressanykey._x = -1435.8; _root.key_sup = Key.getCode(); _root.mnu.sukey.display = String.fromCharCode(Key.getAscii()); _root.mnu.sukey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.sdkey._currentframe > 2) { _root.mnu.pressanykey._x = -1435.8; _root.key_sdown = Key.getCode(); _root.mnu.sdkey.display = String.fromCharCode(Key.getAscii()); _root.mnu.sdkey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.slkey._currentframe > 2) { _root.mnu.pressanykey._x = -1435.8; _root.key_sleft = Key.getCode(); _root.mnu.slkey.display = String.fromCharCode(Key.getAscii()); _root.mnu.slkey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.srkey._currentframe > 2) { _root.mnu.pressanykey._x = -1435.8; _root.key_sright = Key.getCode(); _root.mnu.srkey.display = String.fromCharCode(Key.getAscii()); _root.mnu.srkey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } }; Key.addListener(keyListener); stop(); } frame 1 { if (_root.gamemode == 'custom') { _root.mnu.xtogo = 0; _root.mnu.ytogo = 0; } else { if (_root.gamemode == 'story') { _root.mnu.xtogo = 0; _root.mnu.ytogo = 820; } else { _root.mnu.xtogo = 0; _root.mnu.ytogo = 400; } } onEnterFrame = function () { character = _root.player1_customcharacter; _x = _x + (xtogo - _x) / 4; _y = _y + (ytogo - _y) / 4; if (_root.setup_timelimit != 'none') { _root.disp_setup_timelimit = _root.setup_timelimit + ':00'; } else { _root.disp_setup_timelimit = 'none'; } i = 0; while (i < _root.team1_box_char.length) { _root.team1_box_char[i]._x += ((_root.mnu.team1_box._width / (1 + _root.team1_box_char.length)) * (i + 1) - _root.team1_box_char[i]._x) / 3; ++i; } i = 0; while (i < _root.team2_box_char.length) { _root.team2_box_char[i]._x += ((_root.mnu.team2_box._width / (1 + _root.team2_box_char.length)) * (i + 1) - _root.team2_box_char[i]._x) / 3; ++i; } i = 0; while (i < _root.team3_box_char.length) { _root.team3_box_char[i]._x += ((_root.mnu.team3_box._width / (1 + _root.team3_box_char.length)) * (i + 1) - _root.team3_box_char[i]._x) / 3; ++i; } i = 0; while (i < _root.team4_box_char.length) { _root.team4_box_char[i]._x += ((_root.mnu.team4_box._width / (1 + _root.team4_box_char.length)) * (i + 1) - _root.team4_box_char[i]._x) / 3; ++i; } i = 0; while (i < _root.ctf_team1_box_char.length) { _root.ctf_team1_box_char[i]._x += ((_root.mnu.ctf_team1_box._width / (1 + _root.ctf_team1_box_char.length)) * (i + 1) - _root.ctf_team1_box_char[i]._x) / 3; ++i; } i = 0; while (i < _root.ctf_team2_box_char.length) { _root.ctf_team2_box_char[i]._x += ((_root.mnu.ctf_team2_box._width / (1 + _root.ctf_team2_box_char.length)) * (i + 1) - _root.ctf_team2_box_char[i]._x) / 3; ++i; } i = 0; while (i < _root.dm_box_char.length) { _root.dm_box_char[i]._x += ((_root.mnu.dm_box._width / (1 + _root.dm_box_char.length)) * (i + 1) - _root.dm_box_char[i]._x) / 3; ++i; } _root.mnu.plyr_display.head.gotoAndStop(character); _root.mnu.ctf_plyr_display.head.gotoAndStop(character); _root.mnu.dm_plyr_display.head.gotoAndStop(character); if (_root.player1_team == 'team1') { _root.mnu.tm1.gotoAndStop(3); _root.mnu.plyr_display.gotoAndStop(1); _root.mnu.ctf_plyr_display.gotoAndStop(1); } if (_root.player1_team == 'team2') { _root.mnu.tm2.gotoAndStop(3); _root.mnu.plyr_display.gotoAndStop(2); _root.mnu.ctf_plyr_display.gotoAndStop(2); } if (_root.player1_team == 'team3') { _root.mnu.tm3.gotoAndStop(3); _root.mnu.plyr_display.gotoAndStop(3); _root.mnu.ctf_plyr_display.gotoAndStop(3); } if (_root.player1_team == 'team4') { _root.mnu.tm4.gotoAndStop(3); _root.mnu.plyr_display.gotoAndStop(4); _root.mnu.ctf_plyr_display.gotoAndStop(4); } if (_root.mnu.tm1._currentframe == 3 && _root.player1_team != 'team1') { _root.mnu.tm1.gotoAndStop(1); } if (_root.mnu.tm2._currentframe == 3 && _root.player1_team != 'team2') { _root.mnu.tm2.gotoAndStop(1); } if (_root.mnu.tm3._currentframe == 3 && _root.player1_team != 'team3') { _root.mnu.tm3.gotoAndStop(1); } if (_root.mnu.tm4._currentframe == 3 && _root.player1_team != 'team4') { _root.mnu.tm4.gotoAndStop(1); } }; } instance of movieClip 841 { onClipEvent (rollOver) { gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); if (_root.setup_gametype == 'capture the flag') { _parent.xtogo = 579.5; if (_root.player1_team == 'team3' or _root.player1_team == 'team4') { _root.player1_team = 'team1'; } } else { if (_root.setup_gametype == 'deathmatch' or _root.setup_gametype == 'elimination') { _parent.ytogo = -460; } else { _parent.xtogo = -580.5; } } i = 0; while (i < _root.inteam1.length) { _root[_root.inteam1[i] + '_team'] = 'team1'; _root[_root.inteam1[i] + '_char'] = _root.team1_box_char[i].char; ++i; } _root.mnu.plyr_counter.gotoAndStop(_root.plyrstoassign.length + 1); _root.mnu.ctf_plyr_counter.gotoAndStop(_root.plyrstoassign.length + 1); _root.mnu.dm_plyr_counter.gotoAndStop(_root.plyrstoassign.length + 1); } } instance of movieClip 849 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { if (_root.setup_warned != true) { _root.setup_warned = true; _root.teamselect.gotoAndPlay(20); } else { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.gamemode = 'story'; _parent.ytogo = 820; } } } instance of movieClip 851 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { _root.mnu.txt_medals = ''; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.ytogo = 400; _parent.xtogo = -580.5; _root.gamemode = 'undefined'; } } instance of movieClip 853 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); getURL('http://armorgames.com/', '_blank'); } } instance of movieClip 856 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.ytogo = 400; _parent.xtogo = 579.5; _root.gamemode = 'undefined'; } } instance of movieClip 865 { onClipEvent (load) { if (_root.showparticles == true) { this.gotoAndStop(1); } if (_root.showparticles == false) { this.gotoAndStop(2); } } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); if (this._currentframe == 1) { _root.showparticles = false; } if (this._currentframe == 2) { _root.showparticles = true; } if (_root.showparticles == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } } instance of movieClip 870 { onClipEvent (press) { this.press = true; } onClipEvent (release) { this.press = false; } onClipEvent (rollOut) { this.press = false; } onClipEvent (releaseOutside) { this.press = false; } } instance of movieClip 873 { onClipEvent (load) { var vartoadjust = 'sfxvolume'; } onClipEvent (press) { this.press = true; } onClipEvent (release) { this.press = false; } onClipEvent (rollOut) { this.press = false; } onClipEvent (releaseOutside) { this.press = false; } } instance of movieClip 873 { onClipEvent (load) { var vartoadjust = 'musicvolume'; } onClipEvent (press) { this.press = true; } onClipEvent (release) { this.press = false; } onClipEvent (rollOut) { this.press = false; } onClipEvent (releaseOutside) { this.press = false; } } instance keyboardtick of movieClip 865 { onClipEvent (load) { if (_root.player_controls == 'keyboard') { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); if (this._currentframe == 2) { _root.player_controls = 'keyboard'; _parent.mousetick.gotoAndStop(2); } if (_root.player_controls == 'keyboard') { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } } instance mousetick of movieClip 865 { onClipEvent (load) { if (_root.player_controls == 'mouse') { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); if (this._currentframe == 2) { _root.player_controls = 'mouse'; _parent.keyboardtick.gotoAndStop(2); } if (_root.player_controls == 'mouse') { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } } instance of movieClip 881 { onClipEvent (release) { _root.player_controls = 'mouse'; _parent.keyboardtick.gotoAndStop(2); _parent.mousetick.gotoAndStop(1); _root.mnu.pressanykey._x = -846.1; _parent.xtogo = 1140.45; } onClipEvent (rollOver) { gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } } instance of movieClip 881 { onClipEvent (release) { _root.player_controls = 'keyboard'; _parent.mousetick.gotoAndStop(2); _parent.keyboardtick.gotoAndStop(1); _root.mnu.pressanykey._x = -1435.8; _parent.xtogo = 1714.6; } onClipEvent (rollOver) { gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } } instance of movieClip 841 { onClipEvent (rollOver) { gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { if (_root.tg_inteam1.length + _root.tg_inteam2.length + _root.tg_inteam3.length + _root.tg_inteam4.length < 1) { _root.denied.start(0, 0); _root.denied.setVolume(_root.sfxvolume * 2); _root.teamselect.gotoAndPlay(13); } else { _root.menumusic.stop(); _root.menumusicplaying = false; _root.gamemode = 'custom'; _root.tag = 2; _root.teamgame_assigningteamsFunction(); _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = _root.setup_level; fadeout.action = 'stp'; } } } instance of movieClip 841 { onClipEvent (rollOver) { gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { if (_root.dm_inteam1.length < 1) { _root.denied.start(0, 0); _root.denied.setVolume(_root.sfxvolume * 2); _root.teamselect.gotoAndPlay(13); } else { _root.menumusic.stop(); _root.menumusicplaying = false; _root.gamemode = 'custom'; _root.tag = 2; _root.dm_assigningteamsFunction(); _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = _root.setup_level; fadeout.action = 'stp'; } } } instance of movieClip 841 { onClipEvent (rollOver) { gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { if (_root.ctf_inteam1.length + _root.ctf_inteam2.length < 1) { _root.denied.start(0, 0); _root.denied.setVolume(_root.sfxvolume * 2); _root.teamselect.gotoAndPlay(13); } else { _root.menumusic.stop(); _root.menumusicplaying = false; _root.gamemode = 'custom'; _root.tag = 2; _root.ctf_assigningteamsFunction(); _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = _root.setup_level; fadeout.action = 'stp'; } } } instance of movieClip 889 { onClipEvent (load) { this.display = 1; } onClipEvent (release) { _root.mnu.map.ground.removeMovieClip(_root.mnu.map.ground); _root.mnu.map.ground = _root.mnu.map.attachMovie(_root.levellist[this.display - 1], _root.setup_level + _root.mnu.map.getNextHighestDepth(), _root.mnu.map.getNextHighestDepth()); _root.mnu.map.ground._width = 140; _root.mnu.map.ground._height = 75; _root.mnu.map.ground.cacheAsBitmap = true; _root.mnu.map.map.cacheAsBitmap = true; _root.setup_level = _root.levellist[this.display - 1]; _root.lvl_j = this.display - 1; _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } instance of movieClip 889 { onClipEvent (load) { this.display = 2; } onClipEvent (release) { _root.mnu.map.ground.removeMovieClip(_root.mnu.map.ground); _root.mnu.map.ground = _root.mnu.map.attachMovie(_root.levellist[this.display - 1], _root.setup_level + _root.mnu.map.getNextHighestDepth(), _root.mnu.map.getNextHighestDepth()); _root.mnu.map.ground._width = 140; _root.mnu.map.ground._height = 75; _root.mnu.map.ground.cacheAsBitmap = true; _root.mnu.map.map.cacheAsBitmap = true; _root.setup_level = _root.levellist[this.display - 1]; _root.lvl_j = this.display - 1; _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } instance of movieClip 889 { onClipEvent (load) { this.display = 3; } onClipEvent (release) { _root.mnu.map.ground.removeMovieClip(_root.mnu.map.ground); _root.mnu.map.ground = _root.mnu.map.attachMovie(_root.levellist[this.display - 1], _root.setup_level + _root.mnu.map.getNextHighestDepth(), _root.mnu.map.getNextHighestDepth()); _root.mnu.map.ground._width = 140; _root.mnu.map.ground._height = 75; _root.mnu.map.ground.cacheAsBitmap = true; _root.mnu.map.map.cacheAsBitmap = true; _root.setup_level = _root.levellist[this.display - 1]; _root.lvl_j = this.display - 1; _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } instance of movieClip 889 { onClipEvent (load) { this.display = 4; } onClipEvent (release) { _root.mnu.map.ground.removeMovieClip(_root.mnu.map.ground); _root.mnu.map.ground = _root.mnu.map.attachMovie(_root.levellist[this.display - 1], _root.setup_level + _root.mnu.map.getNextHighestDepth(), _root.mnu.map.getNextHighestDepth()); _root.mnu.map.ground._width = 140; _root.mnu.map.ground._height = 75; _root.mnu.map.ground.cacheAsBitmap = true; _root.mnu.map.map.cacheAsBitmap = true; _root.setup_level = _root.levellist[this.display - 1]; _root.lvl_j = this.display - 1; _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } instance of movieClip 889 { onClipEvent (load) { this.display = 5; } onClipEvent (release) { _root.mnu.map.ground.removeMovieClip(_root.mnu.map.ground); _root.mnu.map.ground = _root.mnu.map.attachMovie(_root.levellist[this.display - 1], _root.setup_level + _root.mnu.map.getNextHighestDepth(), _root.mnu.map.getNextHighestDepth()); _root.mnu.map.ground._width = 140; _root.mnu.map.ground._height = 75; _root.mnu.map.ground.cacheAsBitmap = true; _root.mnu.map.map.cacheAsBitmap = true; _root.setup_level = _root.levellist[this.display - 1]; _root.lvl_j = this.display - 1; _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } instance of movieClip 889 { onClipEvent (load) { this.display = 6; } onClipEvent (release) { _root.mnu.map.ground.removeMovieClip(_root.mnu.map.ground); _root.mnu.map.ground = _root.mnu.map.attachMovie(_root.levellist[this.display - 1], _root.setup_level + _root.mnu.map.getNextHighestDepth(), _root.mnu.map.getNextHighestDepth()); _root.mnu.map.ground._width = 140; _root.mnu.map.ground._height = 75; _root.mnu.map.ground.cacheAsBitmap = true; _root.mnu.map.map.cacheAsBitmap = true; _root.setup_level = _root.levellist[this.display - 1]; _root.lvl_j = this.display - 1; _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } instance of movieClip 889 { onClipEvent (load) { this.display = 7; } onClipEvent (release) { _root.mnu.map.ground.removeMovieClip(_root.mnu.map.ground); _root.mnu.map.ground = _root.mnu.map.attachMovie(_root.levellist[this.display - 1], _root.setup_level + _root.mnu.map.getNextHighestDepth(), _root.mnu.map.getNextHighestDepth()); _root.mnu.map.ground._width = 140; _root.mnu.map.ground._height = 75; _root.mnu.map.ground.cacheAsBitmap = true; _root.mnu.map.map.cacheAsBitmap = true; _root.setup_level = _root.levellist[this.display - 1]; _root.lvl_j = this.display - 1; _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } instance of movieClip 889 { onClipEvent (load) { this.display = 8; } onClipEvent (release) { _root.mnu.map.ground.removeMovieClip(_root.mnu.map.ground); _root.mnu.map.ground = _root.mnu.map.attachMovie(_root.levellist[this.display - 1], _root.setup_level + _root.mnu.map.getNextHighestDepth(), _root.mnu.map.getNextHighestDepth()); _root.mnu.map.ground._width = 140; _root.mnu.map.ground._height = 75; _root.mnu.map.ground.cacheAsBitmap = true; _root.mnu.map.map.cacheAsBitmap = true; _root.setup_level = _root.levellist[this.display - 1]; _root.lvl_j = this.display - 1; _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } instance of movieClip 889 { onClipEvent (load) { this.display = 9; } onClipEvent (release) { _root.mnu.map.ground.removeMovieClip(_root.mnu.map.ground); _root.mnu.map.ground = _root.mnu.map.attachMovie(_root.levellist[this.display - 1], _root.setup_level + _root.mnu.map.getNextHighestDepth(), _root.mnu.map.getNextHighestDepth()); _root.mnu.map.ground._width = 140; _root.mnu.map.ground._height = 75; _root.mnu.map.ground.cacheAsBitmap = true; _root.mnu.map.map.cacheAsBitmap = true; _root.setup_level = _root.levellist[this.display - 1]; _root.lvl_j = this.display - 1; _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } instance of movieClip 889 { onClipEvent (load) { this.display = 10; } onClipEvent (release) { _root.mnu.map.ground.removeMovieClip(_root.mnu.map.ground); _root.mnu.map.ground = _root.mnu.map.attachMovie(_root.levellist[this.display - 1], _root.setup_level + _root.mnu.map.getNextHighestDepth(), _root.mnu.map.getNextHighestDepth()); _root.mnu.map.ground._width = 140; _root.mnu.map.ground._height = 75; _root.mnu.map.ground.cacheAsBitmap = true; _root.mnu.map.map.cacheAsBitmap = true; _root.setup_level = _root.levellist[this.display - 1]; _root.lvl_j = this.display - 1; _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } instance of movieClip 893 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.ytogo = 400; _parent.xtogo = -1149.35; _root.gamemode = 'undefined'; } } instance of movieClip 898 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.gamemode = 'custom'; _root.tag = 2; _root.teamgame_assigningteamsFunction(); _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = 'tutorial'; _root.setup_level = 'level_1'; fadeout.action = 'stp'; _root.setup_gametype = 'team deathmatch'; _root.setup_pointlimit = 'none'; _root.setup_timelimit = 'none'; _root.player1_team = 'team1'; } } instance of movieClip 901 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { if (_root.setup_warned != true) { _root.setup_warned = true; _root.teamselect.gotoAndPlay(20); } else { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.gamemode = 'custom'; _parent.ytogo = 0; } } } instance of movieClip 908 { onClipEvent (rollOver) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); ++_root.lvl_j; if (_root.lvl_j > _root.levellist.length - 1) { _root.lvl_j = 0; } _root.mnu.map.ground.removeMovieClip(_root.mnu.map.ground); _root.mnu.map.ground = _root.mnu.map.attachMovie(_root.levellist[_root.lvl_j], _root.setup_level + _root.mnu.map.getNextHighestDepth(), _root.mnu.map.getNextHighestDepth()); _root.mnu.map.ground._width = 140; _root.mnu.map.ground._height = 75; _root.mnu.map.ground.cacheAsBitmap = true; _root.mnu.map.map.cacheAsBitmap = true; _root.setup_level = _root.levellist[_root.lvl_j]; } } instance of movieClip 908 { onClipEvent (rollOver) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); --_root.lvl_j; if (_root.lvl_j < 0) { _root.lvl_j = _root.levellist.length - 1; } _root.mnu.map.ground.removeMovieClip(_root.mnu.map.ground); _root.mnu.map.ground = _root.mnu.map.attachMovie(_root.levellist[_root.lvl_j], _root.setup_level + _root.mnu.map.getNextHighestDepth(), _root.mnu.map.getNextHighestDepth()); _root.mnu.map.ground._width = 140; _root.mnu.map.ground._height = 75; _root.mnu.map.ground.cacheAsBitmap = true; _root.mnu.map.map.cacheAsBitmap = true; _root.setup_level = _root.levellist[_root.lvl_j]; } } instance of movieClip 932 { onClipEvent (rollOver) { gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.xtogo = 0; } } instance plyr_counter of movieClip 940 { onClipEvent (load) { lngth = _root.tg_plyrstoassign.length; this.gotoAndStop(lngth + 1); } } instance of movieClip 836 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 932 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(6); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.xtogo = 0; _parent.ytogo = 400; _root.gamemode = 'undefined'; } } instance of movieClip 932 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(6); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.xtogo = 0; _parent.ytogo = 400; _root.gamemode = 'undefined'; _root.leveltounlock = 'undefined'; } } instance of movieClip 932 { onClipEvent (rollOver) { gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.xtogo = 0; } } instance ctf1m of movieClip 947 { onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { if (_root.ctf_inteam1.length > 0) { _root.ctf_plyrstoassign.unshift(_root.ctf_inteam1[_root.ctf_inteam1.length - 1]); _root.ctf_team1_char.push(_root.ctf_team1_box_char[_root.ctf_team1_box_char.length - 1].char); --_root.mnu.ctf_team1_box.counter; if (_root.mnu.ctf_team1_box.counter < 0) { _root.mnu.ctf_team1_box.counter = _root.ctf_team1_char.length - 1; } _root.ctf_team1_box_char[_root.ctf_team1_box_char.length - 1].removeMovieClip(); _root.ctf_team1_box_char.splice(_root.ctf_team1_box_char.length - 1, 1); _root.ctf_inteam1.splice(_root.ctf_inteam1.length - 1, 1); _root.mnu.ctf_plyr_counter.gotoAndStop(_root.ctf_plyrstoassign.length + 1); } } } instance ctf1p of movieClip 950 { onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (load) { _root.mnu.ctf_team1_box.counter = 0; } onClipEvent (release) { if (_root.ctf_plyrstoassign.length > 0) { _root.ctf_inteam1.push(_root.ctf_plyrstoassign[0]); _root.ctf_plyrstoassign.splice(0, 1); _root.mnu.ctf_plyr_counter.gotoAndStop(_root.ctf_plyrstoassign.length + 1); char_icon = _root.mnu.ctf_team1_box.attachMovie('icon_char', 'icon_char' + _root.ctf_inteam1.length, _root.mnu.ctf_team1_box.getNextHighestDepth()); _root.ctf_team1_box_char.push(char_icon); char_icon.head.gotoAndStop(_root.ctf_team1_char[_root.mnu.ctf_team1_box.counter]); char_icon.char = _root.ctf_team1_char[_root.mnu.ctf_team1_box.counter]; ++_root.mnu.ctf_team1_box.counter; if (_root.mnu.ctf_team1_box.counter > _root.ctf_team1_char.length - 1) { _root.mnu.ctf_team1_box.counter = 0; } char_icon._y = _root.mnu.ctf_team1_box._height / 2; char_icon.gotoAndStop(1); } } } instance ctf2m of movieClip 947 { onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { if (_root.ctf_inteam2.length > 0) { _root.ctf_plyrstoassign.unshift(_root.ctf_inteam2[_root.ctf_inteam2.length - 1]); --_root.mnu.ctf_team2_box.counter; if (_root.mnu.ctf_team2_box.counter < 0) { _root.mnu.ctf_team2_box.counter = _root.team2c_char.length - 1; } _root.ctf_team2_box_char[_root.ctf_team2_box_char.length - 1].removeMovieClip(); _root.ctf_team2_box_char.splice(_root.ctf_team2_box_char.length - 1, 1); _root.ctf_inteam2.splice(_root.ctf_inteam2.length - 1, 1); _root.mnu.ctf_plyr_counter.gotoAndStop(_root.ctf_plyrstoassign.length + 1); } } } instance ctf2p of movieClip 950 { onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (load) { _root.mnu.ctf_team2_box.counter = 0; } onClipEvent (release) { if (_root.ctf_plyrstoassign.length > 0) { _root.ctf_inteam2.push(_root.ctf_plyrstoassign[0]); _root.ctf_plyrstoassign.splice(0, 1); _root.mnu.ctf_plyr_counter.gotoAndStop(_root.ctf_plyrstoassign.length + 1); char_icon = _root.mnu.ctf_team2_box.attachMovie('icon_char', 'icon_char' + _root.ctf_inteam2.length, _root.mnu.ctf_team2_box.getNextHighestDepth()); _root.ctf_team2_box_char.push(char_icon); char_icon.head.gotoAndStop(_root.ctf_team2_char[_root.mnu.ctf_team2_box.counter]); char_icon.char = _root.ctf_team2_char[_root.mnu.ctf_team2_box.counter]; ++_root.mnu.ctf_team2_box.counter; if (_root.mnu.ctf_team2_box.counter > _root.ctf_team2_char.length - 1) { _root.mnu.ctf_team2_box.counter = 0; } char_icon._y = _root.mnu.team2_box._height / 2 + 10; char_icon.gotoAndStop(1); } } } instance of movieClip 932 { onClipEvent (rollOver) { gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.ytogo = 0; } } instance dm1m of movieClip 947 { onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { if (_root.dm_plyrstoassign.length < 7) { _root.dm_plyrstoassign.unshift(_root.dm_inteam1[_root.dm_inteam1.length - 1]); _root.dm_box_char[_root.dm_box_char.length - 1].removeMovieClip(); _root.dm_box_char.splice(_root.dm_box_char.length - 1, 1); _root.dm_inteam1.splice(_root.dm_inteam1.length - 1, 1); _root.mnu.dm_plyr_counter.gotoAndStop(_root.dm_plyrstoassign.length + 1); } } } instance dm1p of movieClip 950 { onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { if (_root.dm_plyrstoassign.length > 0) { _root.dm_inteam1.push(_root.dm_plyrstoassign[0]); _root.dm_plyrstoassign.splice(0, 1); _root.mnu.dm_plyr_counter.gotoAndStop(_root.dm_plyrstoassign.length + 1); char_icon = _root.mnu.dm_box.attachMovie('icon_char', 'icon_char' + _root.dm_inteam1.length, _root.mnu.dm_box.getNextHighestDepth()); ranhead = random(_root.allchars.length); char_icon.head.gotoAndStop(_root.allchars[ranhead]); char_icon.char = _root.allchars[ranhead]; char_icon._y = _root.mnu.dm_box._height / 2; char_icon.gotoAndStop(5); _root.dm_box_char.push(char_icon); } } } instance ctf_plyr_counter of movieClip 940 { onClipEvent (load) { lngth = _root.ctf_plyrstoassign.length; this.gotoAndStop(lngth + 1); } } instance dm_plyr_counter of movieClip 940 { onClipEvent (load) { lngth = _root.dm_plyrstoassign.length; this.gotoAndStop(lngth + 1); } } instance of movieClip 908 { onClipEvent (rollOver) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); ++_root.gm_i; if (_root.gm_i > _root.gametypes.length - 1) { _root.gm_i = 0; } _root.setup_gametype = _root.gametypes[_root.gm_i]; } } instance of movieClip 908 { onClipEvent (rollOver) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); --_root.gm_i; if (_root.gm_i < 0) { _root.gm_i = _root.gametypes.length - 1; } _root.setup_gametype = _root.gametypes[_root.gm_i]; } } instance of movieClip 932 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(6); } onClipEvent (release) { _root.saveitFunction(); _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.xtogo = 0; _parent.ytogo = 400; _root.gamemode = 'undefined'; } } instance of movieClip 908 { onClipEvent (rollOver) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); ++_root.diff_k; if (_root.diff_k > _root.difflist.length - 1) { _root.diff_k = 0; } _root.difficulty = _root.difflist[_root.diff_k]; } } instance of movieClip 908 { onClipEvent (rollOver) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); --_root.diff_k; if (_root.diff_k < 0) { _root.diff_k = _root.difflist.length - 1; } _root.difficulty = _root.difflist[_root.diff_k]; } } instance of movieClip 908 { onClipEvent (rollOver) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.time_m += 1; if (_root.time_m > _root.timeslist.length - 1) { _root.time_m = 0; } _root.setup_timelimit = _root.timeslist[_root.time_m]; } } instance of movieClip 908 { onClipEvent (rollOver) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); --_root.time_m; if (_root.time_m < 0) { _root.time_m = _root.timeslist.length - 1; } _root.setup_timelimit = _root.timeslist[_root.time_m]; } } instance of movieClip 908 { onClipEvent (rollOver) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); ++_root.pts_l; if (_root.pts_l > _root.pointslist.length - 1) { _root.pts_l = 0; } _root.setup_pointlimit = _root.pointslist[_root.pts_l]; } } instance of movieClip 908 { onClipEvent (rollOver) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); --_root.pts_l; if (_root.pts_l < 0) { _root.pts_l = _root.pointslist.length - 1; } _root.setup_pointlimit = _root.pointslist[_root.pts_l]; } } instance of movieClip 908 { onClipEvent (rollOver) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); ++_root.diff_k; if (_root.diff_k > _root.difflist.length - 1) { _root.diff_k = 0; } _root.difficulty = _root.difflist[_root.diff_k]; } } instance of movieClip 908 { onClipEvent (rollOver) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); --_root.diff_k; if (_root.diff_k < 0) { _root.diff_k = _root.difflist.length - 1; } _root.difficulty = _root.difflist[_root.diff_k]; } } instance of movieClip 970 { onClipEvent (rollOver) { gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.gotoAndStop('shop'); } } instance of movieClip 970 { onClipEvent (rollOver) { gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.gotoAndStop('shop'); } } instance of movieClip 976 { onClipEvent (load) { this.goto = 'cs11_1'; this.txt = 'mission 16 - the end draws near'; if (_root.level16 != true) { gotoAndStop('locked'); } } onClipEvent (rollOver) { if (this._currentframe == 1) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (this._currentframe < 8) { this.gotoAndPlay(8); } } onClipEvent (release) { if (this._currentframe < 14) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = this.goto; fadeout.action = 'ply'; _root.leveltounlock = 'level17'; } } } instance of movieClip 976 { onClipEvent (load) { this.goto = 'cs1_1'; this.txt = 'mission 1 - once upon a time...'; } onClipEvent (rollOver) { if (this._currentframe == 1) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (this._currentframe < 8) { this.gotoAndPlay(8); } } onClipEvent (release) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = this.goto; fadeout.action = 'ply'; _root.leveltounlock = 'level2'; } } instance of movieClip 976 { onClipEvent (load) { this.goto = 'cs2_1'; this.txt = 'mission 3 - training begins'; if (_root.level3 != true) { gotoAndStop('locked'); } } onClipEvent (rollOver) { if (this._currentframe == 1) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (this._currentframe < 8) { this.gotoAndPlay(8); } } onClipEvent (release) { if (this._currentframe < 14) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = this.goto; fadeout.action = 'ply'; _root.leveltounlock = 'level4'; } } } instance of movieClip 976 { onClipEvent (load) { this.goto = 'cs2_3'; this.txt = 'mission 4 - team training'; if (_root.level4 != true) { gotoAndStop('locked'); } } onClipEvent (rollOver) { if (this._currentframe == 1) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (this._currentframe < 8) { this.gotoAndPlay(8); } } onClipEvent (release) { if (this._currentframe < 14) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = this.goto; fadeout.action = 'ply'; _root.leveltounlock = 'level5'; } } } instance of movieClip 976 { onClipEvent (load) { this.goto = 'cs3_1'; this.txt = 'mission 5 - attacking the wompoons'; if (_root.level5 != true) { gotoAndStop('locked'); } } onClipEvent (rollOver) { if (this._currentframe == 1) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (this._currentframe < 8) { this.gotoAndPlay(8); } } onClipEvent (release) { if (this._currentframe < 14) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = this.goto; fadeout.action = 'ply'; _root.leveltounlock = 'level6'; } } } instance of movieClip 976 { onClipEvent (load) { this.goto = 'cs1_2'; this.txt = 'mission 2 - defend till the last'; if (_root.level2 != true) { gotoAndStop('locked'); } } onClipEvent (rollOver) { if (this._currentframe == 1) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (this._currentframe < 8) { this.gotoAndPlay(8); } } onClipEvent (release) { if (this._currentframe < 14) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = this.goto; fadeout.action = 'ply'; _root.leveltounlock = 'level3'; } } } instance of movieClip 976 { onClipEvent (load) { this.goto = 'cs3_2'; this.txt = 'mission 6 - oh the humanity'; if (_root.level6 != true) { gotoAndStop('locked'); } } onClipEvent (rollOver) { if (this._currentframe == 1) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (this._currentframe < 8) { this.gotoAndPlay(8); } } onClipEvent (release) { if (this._currentframe < 14) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = this.goto; fadeout.action = 'ply'; _root.leveltounlock = 'level7'; } } } instance of movieClip 976 { onClipEvent (load) { this.goto = 'cs4_1'; this.txt = 'mission 7 - undiplomatic diplomacy'; if (_root.level7 != true) { gotoAndStop('locked'); } } onClipEvent (rollOver) { if (this._currentframe == 1) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (this._currentframe < 8) { this.gotoAndPlay(8); } } onClipEvent (release) { if (this._currentframe < 14) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = this.goto; fadeout.action = 'ply'; _root.leveltounlock = 'level8'; } } } instance of movieClip 976 { onClipEvent (load) { this.goto = 'cs4_3'; this.txt = 'mission 8 - hawkton boom'; if (_root.level8 != true) { gotoAndStop('locked'); } } onClipEvent (rollOver) { if (this._currentframe == 1) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (this._currentframe < 8) { this.gotoAndPlay(8); } } onClipEvent (release) { if (this._currentframe < 14) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = this.goto; fadeout.action = 'ply'; _root.leveltounlock = 'level9'; } } } instance of movieClip 976 { onClipEvent (load) { this.goto = 'cs5_1'; this.txt = 'mission 9 - keeping the peace'; if (_root.level9 != true) { gotoAndStop('locked'); } } onClipEvent (rollOver) { if (this._currentframe == 1) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (this._currentframe < 8) { this.gotoAndPlay(8); } } onClipEvent (release) { if (this._currentframe < 14) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = this.goto; fadeout.action = 'ply'; _root.leveltounlock = 'level10'; } } } instance of movieClip 976 { onClipEvent (load) { this.goto = 'cs6_1'; this.txt = 'mission 10 - a dramtic turn'; if (_root.level10 != true) { gotoAndStop('locked'); } } onClipEvent (rollOver) { if (this._currentframe == 1) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (this._currentframe < 8) { this.gotoAndPlay(8); } } onClipEvent (release) { if (this._currentframe < 14) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = this.goto; fadeout.action = 'ply'; _root.leveltounlock = 'level11'; } } } instance of movieClip 976 { onClipEvent (load) { this.goto = 'cs7_1'; this.txt = 'mission 11 - the all is lost moment'; if (_root.level11 != true) { gotoAndStop('locked'); } } onClipEvent (rollOver) { if (this._currentframe == 1) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (this._currentframe < 8) { this.gotoAndPlay(8); } } onClipEvent (release) { if (this._currentframe < 14) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = this.goto; fadeout.action = 'ply'; _root.leveltounlock = 'level12'; } } } instance of movieClip 976 { onClipEvent (load) { this.goto = 'cs9_1'; this.txt = 'mission 12 - pirates are awesome'; if (_root.level12 != true) { gotoAndStop('locked'); } } onClipEvent (rollOver) { if (this._currentframe == 1) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (this._currentframe < 8) { this.gotoAndPlay(8); } } onClipEvent (release) { if (this._currentframe < 14) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = this.goto; fadeout.action = 'ply'; _root.leveltounlock = 'level13'; } } } instance of movieClip 976 { onClipEvent (load) { this.goto = 'cs9_3'; this.txt = 'mission 13 - mutiny on the milkyway'; if (_root.level13 != true) { gotoAndStop('locked'); } } onClipEvent (rollOver) { if (this._currentframe == 1) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (this._currentframe < 8) { this.gotoAndPlay(8); } } onClipEvent (release) { if (this._currentframe < 14) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = this.goto; fadeout.action = 'ply'; _root.leveltounlock = 'level14'; } } } instance of movieClip 976 { onClipEvent (load) { this.goto = 'cs10_1'; this.txt = 'mission 14 - resistance begins'; if (_root.level14 != true) { gotoAndStop('locked'); } } onClipEvent (rollOver) { if (this._currentframe == 1) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (this._currentframe < 8) { this.gotoAndPlay(8); } } onClipEvent (release) { if (this._currentframe < 14) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = this.goto; fadeout.action = 'ply'; _root.leveltounlock = 'level15'; } } } instance of movieClip 976 { onClipEvent (load) { this.goto = 'lvl14'; this.txt = 'mission 15 - resistance continues...'; if (_root.level15 != true) { gotoAndStop('locked'); } } onClipEvent (rollOver) { if (this._currentframe == 1) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (this._currentframe < 8) { this.gotoAndPlay(8); } } onClipEvent (release) { if (this._currentframe < 14) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = this.goto; fadeout.action = 'ply'; _root.leveltounlock = 'level16'; } } } instance of movieClip 976 { onClipEvent (load) { this.goto = 'lvl16'; this.txt = 'mission 17 - final showdown'; if (_root.level17 != true) { gotoAndStop('locked'); } } onClipEvent (rollOver) { if (this._currentframe == 1) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (this._currentframe < 8) { this.gotoAndPlay(8); } } onClipEvent (release) { if (this._currentframe < 14) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = this.goto; fadeout.action = 'ply'; _root.leveltounlock = 'level18'; } } } instance of movieClip 976 { onClipEvent (load) { this.goto = 'cs12_1'; this.txt = 'the ending'; if (_root.level18 != true) { gotoAndStop('locked'); } } onClipEvent (rollOver) { if (this._currentframe == 1) { this.gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (this._currentframe < 8) { this.gotoAndPlay(8); } } onClipEvent (release) { if (this._currentframe < 14) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = this.goto; fadeout.action = 'ply'; _root.beatthegame = true; } } } instance of movieClip 932 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(6); } onClipEvent (release) { _root.saveitFunction(); _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.xtogo = 0; _parent.ytogo = 400; _root.gamemode = 'undefined'; } } instance of movieClip 983 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); getURL('http://www.jayarmstronggames.com', '_blank'); } } instance of movieClip 983 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); getURL('http://drawnsean.blogspot.com/', '_blank'); } } instance of movieClip 983 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); getURL('http://www.myspace.com/waterflamelegit', '_blank'); } } instance of movieClip 983 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); getURL('http://briansadler.org/', '_blank'); } } instance nm1 of movieClip 989 { onClipEvent (load) { nm = _root.team1_teamname; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.teamselect.gotoAndPlay(2); _root.teamselect.t1 = 'team1_char'; _root.teamselect.t2 = 'team1_teamname'; _root.teamselect.t3 = 'team1_box_char'; } } instance nm2 of movieClip 989 { onClipEvent (load) { nm = _root.team2_teamname; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.teamselect.gotoAndPlay(2); _root.teamselect.t1 = 'team2_char'; _root.teamselect.t2 = 'team2_teamname'; _root.teamselect.t3 = 'team2_box_char'; } } instance nm3 of movieClip 989 { onClipEvent (load) { nm = _root.team3_teamname; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.teamselect.gotoAndPlay(2); _root.teamselect.t1 = 'team3_char'; _root.teamselect.t2 = 'team3_teamname'; _root.teamselect.t3 = 'team3_box_char'; } } instance nm4 of movieClip 989 { onClipEvent (load) { nm = _root.team4_teamname; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.teamselect.gotoAndPlay(2); _root.teamselect.t1 = 'team4_char'; _root.teamselect.t2 = 'team4_teamname'; _root.teamselect.t3 = 'team4_box_char'; } } instance ctf_nm1 of movieClip 989 { onClipEvent (load) { nm = _root.ctf_team1_teamname; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.teamselect.gotoAndPlay(2); _root.teamselect.t1 = 'ctf_team1_char'; _root.teamselect.t2 = 'ctf_team1_teamname'; _root.teamselect.t3 = 'ctf_team1_box_char'; } } instance ctf_nm2 of movieClip 989 { onClipEvent (load) { nm = _root.ctf_team2_teamname; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.teamselect.gotoAndPlay(2); _root.teamselect.t1 = 'ctf_team2_char'; _root.teamselect.t2 = 'ctf_team2_teamname'; _root.teamselect.t3 = 'ctf_team2_box_char'; } } instance ctf_plyr_display of movieClip 1036 { onClipEvent (load) { this.cc.gotoAndStop(3); } } instance dm_plyr_display of movieClip 1036 { onClipEvent (load) { this.gotoAndStop(5); this.cc.gotoAndStop(2); } } instance of movieClip 932 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(6); } onClipEvent (release) { _root.saveitFunction(); _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.xtogo = 0; _parent.ytogo = 400; _root.gamemode = 'undefined'; } } instance of movieClip 1054 { onClipEvent (load) { if (_root.m1 == true) { gotoAndStop(3); } else { gotoAndStop(1); } } onClipEvent (rollOver) { _root.mnu.txt_medals = 'kill your first opponent'; if (_currentframe == 1) { gotoAndStop(2); } if (_currentframe == 3) { gotoAndStop(4); } } onClipEvent (rollOut) { if (_currentframe == 2) { gotoAndStop(1); } if (_currentframe == 4) { gotoAndStop(3); } } } instance of movieClip 1054 { onClipEvent (load) { if (_root.m2 == true) { gotoAndStop(3); } else { gotoAndStop(1); } } onClipEvent (rollOver) { _root.mnu.txt_medals = 'kill more than 50 opponents'; if (_currentframe == 1) { gotoAndStop(2); } if (_currentframe == 3) { gotoAndStop(4); } } onClipEvent (rollOut) { if (_currentframe == 2) { gotoAndStop(1); } if (_currentframe == 4) { gotoAndStop(3); } } } instance of movieClip 1054 { onClipEvent (load) { if (_root.m3 == true) { gotoAndStop(3); } else { gotoAndStop(1); } } onClipEvent (rollOver) { _root.mnu.txt_medals = 'kill more than 150 opponents'; if (_currentframe == 1) { gotoAndStop(2); } if (_currentframe == 3) { gotoAndStop(4); } } onClipEvent (rollOut) { if (_currentframe == 2) { gotoAndStop(1); } if (_currentframe == 4) { gotoAndStop(3); } } } instance of movieClip 1054 { onClipEvent (load) { if (_root.m4 == true) { gotoAndStop(3); } else { gotoAndStop(1); } } onClipEvent (rollOver) { _root.mnu.txt_medals = 'kill more than 300 opponents'; if (_currentframe == 1) { gotoAndStop(2); } if (_currentframe == 3) { gotoAndStop(4); } } onClipEvent (rollOut) { if (_currentframe == 2) { gotoAndStop(1); } if (_currentframe == 4) { gotoAndStop(3); } } } instance of movieClip 1054 { onClipEvent (load) { if (_root.m5 == true) { gotoAndStop(3); } else { gotoAndStop(1); } } onClipEvent (rollOver) { _root.mnu.txt_medals = 'kill more than 1000 opponents'; if (_currentframe == 1) { gotoAndStop(2); } if (_currentframe == 3) { gotoAndStop(4); } } onClipEvent (rollOut) { if (_currentframe == 2) { gotoAndStop(1); } if (_currentframe == 4) { gotoAndStop(3); } } } instance of movieClip 1054 { onClipEvent (load) { if (_root.m6 == true) { gotoAndStop(3); } else { gotoAndStop(1); } } onClipEvent (rollOver) { _root.mnu.txt_medals = 'win your first game'; if (_currentframe == 1) { gotoAndStop(2); } if (_currentframe == 3) { gotoAndStop(4); } } onClipEvent (rollOut) { if (_currentframe == 2) { gotoAndStop(1); } if (_currentframe == 4) { gotoAndStop(3); } } } instance of movieClip 1054 { onClipEvent (load) { if (_root.m7 == true) { gotoAndStop(3); } else { gotoAndStop(1); } } onClipEvent (rollOver) { _root.mnu.txt_medals = 'win more than five games in a row'; if (_currentframe == 1) { gotoAndStop(2); } if (_currentframe == 3) { gotoAndStop(4); } } onClipEvent (rollOut) { if (_currentframe == 2) { gotoAndStop(1); } if (_currentframe == 4) { gotoAndStop(3); } } } instance of movieClip 1054 { onClipEvent (load) { if (_root.m8 == true) { gotoAndStop(3); } else { gotoAndStop(1); } } onClipEvent (rollOver) { _root.mnu.txt_medals = 'win a game without being killed'; if (_currentframe == 1) { gotoAndStop(2); } if (_currentframe == 3) { gotoAndStop(4); } } onClipEvent (rollOut) { if (_currentframe == 2) { gotoAndStop(1); } if (_currentframe == 4) { gotoAndStop(3); } } } instance of movieClip 1054 { onClipEvent (load) { if (_root.m9 == true) { gotoAndStop(3); } else { gotoAndStop(1); } } onClipEvent (rollOver) { _root.mnu.txt_medals = 'win more than 5 team matches'; if (_currentframe == 1) { gotoAndStop(2); } if (_currentframe == 3) { gotoAndStop(4); } } onClipEvent (rollOut) { if (_currentframe == 2) { gotoAndStop(1); } if (_currentframe == 4) { gotoAndStop(3); } } } instance of movieClip 1054 { onClipEvent (load) { if (_root.m10 == true) { gotoAndStop(3); } else { gotoAndStop(1); } } onClipEvent (rollOver) { _root.mnu.txt_medals = 'win more than 15 team matches'; if (_currentframe == 1) { gotoAndStop(2); } if (_currentframe == 3) { gotoAndStop(4); } } onClipEvent (rollOut) { if (_currentframe == 2) { gotoAndStop(1); } if (_currentframe == 4) { gotoAndStop(3); } } } instance of movieClip 1054 { onClipEvent (load) { if (_root.m11 == true) { gotoAndStop(3); } else { gotoAndStop(1); } } onClipEvent (rollOver) { _root.mnu.txt_medals = 'win more than 25 team matches'; if (_currentframe == 1) { gotoAndStop(2); } if (_currentframe == 3) { gotoAndStop(4); } } onClipEvent (rollOut) { if (_currentframe == 2) { gotoAndStop(1); } if (_currentframe == 4) { gotoAndStop(3); } } } instance of movieClip 1054 { onClipEvent (load) { if (_root.m12 == true) { gotoAndStop(3); } else { gotoAndStop(1); } } onClipEvent (rollOver) { _root.mnu.txt_medals = 'win more than 5 free for all matches'; if (_currentframe == 1) { gotoAndStop(2); } if (_currentframe == 3) { gotoAndStop(4); } } onClipEvent (rollOut) { if (_currentframe == 2) { gotoAndStop(1); } if (_currentframe == 4) { gotoAndStop(3); } } } instance of movieClip 1054 { onClipEvent (load) { if (_root.m13 == true) { gotoAndStop(3); } else { gotoAndStop(1); } } onClipEvent (rollOver) { _root.mnu.txt_medals = 'win more than 15 free for all matches'; if (_currentframe == 1) { gotoAndStop(2); } if (_currentframe == 3) { gotoAndStop(4); } } onClipEvent (rollOut) { if (_currentframe == 2) { gotoAndStop(1); } if (_currentframe == 4) { gotoAndStop(3); } } } instance of movieClip 1054 { onClipEvent (load) { if (_root.m14 == true) { gotoAndStop(3); } else { gotoAndStop(1); } } onClipEvent (rollOver) { _root.mnu.txt_medals = 'win more than 25 free for all matches'; if (_currentframe == 1) { gotoAndStop(2); } if (_currentframe == 3) { gotoAndStop(4); } } onClipEvent (rollOut) { if (_currentframe == 2) { gotoAndStop(1); } if (_currentframe == 4) { gotoAndStop(3); } } } instance of movieClip 1054 { onClipEvent (load) { if (_root.m15 == true) { gotoAndStop(3); } else { gotoAndStop(1); } } onClipEvent (rollOver) { _root.mnu.txt_medals = 'have a problem with heights?'; if (_currentframe == 1) { gotoAndStop(2); } if (_currentframe == 3) { gotoAndStop(4); } } onClipEvent (rollOut) { if (_currentframe == 2) { gotoAndStop(1); } if (_currentframe == 4) { gotoAndStop(3); } } } instance of movieClip 1054 { onClipEvent (load) { if (_root.m16 == true) { gotoAndStop(3); } else { gotoAndStop(1); } } onClipEvent (rollOver) { _root.mnu.txt_medals = 'be super cool and beat the campaign'; if (_currentframe == 1) { gotoAndStop(2); } if (_currentframe == 3) { gotoAndStop(4); } } onClipEvent (rollOut) { if (_currentframe == 2) { gotoAndStop(1); } if (_currentframe == 4) { gotoAndStop(3); } } } instance of movieClip 1065 { onClipEvent (rollOver) { gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { getURL('http://jayarmstronggames.com/', '_blank'); } } instance of movieClip 1068 { onClipEvent (rollOver) { gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { getURL('http://armorgames.com/', '_blank'); } } instance tg3m of movieClip 947 { onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { if (_root.tg_inteam3.length > 0) { _root.tg_plyrstoassign.unshift(_root.tg_inteam3[_root.tg_inteam3.length - 1]); --_root.mnu.team3_box.counter; if (_root.mnu.team3_box.counter < 0) { _root.mnu.team3_box.counter = _root.team3_char.length - 1; } _root.team3_box_char[_root.team3_box_char.length - 1].removeMovieClip(); _root.team3_box_char.splice(_root.team3_box_char.length - 1, 1); _root.tg_inteam3.splice(_root.tg_inteam3.length - 1, 1); _root.mnu.plyr_counter.gotoAndStop(_root.tg_plyrstoassign.length + 1); } } } instance tg1m of movieClip 947 { onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { if (_root.tg_inteam1.length > 0) { _root.tg_plyrstoassign.unshift(_root.tg_inteam1[_root.tg_inteam1.length - 1]); --_root.mnu.team1_box.counter; if (_root.mnu.team1_box.counter < 0) { _root.mnu.team1_box.counter = _root.team1_char.length - 1; } _root.team1_box_char[_root.team1_box_char.length - 1].removeMovieClip(); _root.team1_box_char.splice(_root.team1_box_char.length - 1, 1); _root.tg_inteam1.splice(_root.tg_inteam1.length - 1, 1); _root.mnu.plyr_counter.gotoAndStop(_root.tg_plyrstoassign.length + 1); } } } instance tg1p of movieClip 950 { onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); gotoAndPlay(2); } onClipEvent (load) { _root.mnu.team1_box.counter = 0; } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { if (_root.tg_plyrstoassign.length > 0) { _root.tg_inteam1.push(_root.tg_plyrstoassign[0]); _root.tg_plyrstoassign.splice(0, 1); _root.mnu.plyr_counter.gotoAndStop(_root.tg_plyrstoassign.length + 1); char_icon = _root.mnu.team1_box.attachMovie('icon_char', 'icon_char' + _root.tg_inteam1.length, _root.mnu.team1_box.getNextHighestDepth()); _root.team1_box_char.push(char_icon); char_icon.head.gotoAndStop(_root.team1_char[_root.mnu.team1_box.counter]); char_icon.char = _root.team1_char[_root.mnu.team1_box.counter]; ++_root.mnu.team1_box.counter; if (_root.mnu.team1_box.counter > _root.team1_char.length - 1) { _root.mnu.team1_box.counter = 0; } char_icon._y = _root.mnu.team1_box._height / 2; char_icon.gotoAndStop(1); } } } instance tg4m of movieClip 947 { onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { if (_root.tg_inteam4.length > 0) { _root.tg_plyrstoassign.unshift(_root.tg_inteam4[_root.tg_inteam4.length - 1]); --_root.mnu.team4_box.counter; if (_root.mnu.team4_box.counter < 0) { _root.mnu.team4_box.counter = _root.team4_char.length - 1; } _root.team4_box_char[_root.team4_box_char.length - 1].removeMovieClip(); _root.team4_box_char.splice(_root.team4_box_char.length - 1, 1); _root.tg_inteam4.splice(_root.tg_inteam4.length - 1, 1); _root.mnu.plyr_counter.gotoAndStop(_root.tg_plyrstoassign.length + 1); } } } instance tg4p of movieClip 950 { onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); gotoAndPlay(2); } onClipEvent (load) { _root.mnu.team4_box.counter = 0; } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { if (_root.tg_plyrstoassign.length > 0) { _root.tg_inteam4.push(_root.tg_plyrstoassign[0]); _root.tg_plyrstoassign.splice(0, 1); _root.mnu.plyr_counter.gotoAndStop(_root.tg_plyrstoassign.length + 1); char_icon = _root.mnu.team4_box.attachMovie('icon_char', 'icon_char' + _root.tg_inteam4.length, _root.mnu.team4_box.getNextHighestDepth()); _root.team4_box_char.push(char_icon); char_icon.head.gotoAndStop(_root.team4_char[_root.mnu.team4_box.counter]); char_icon.char = _root.team4_char[_root.mnu.team4_box.counter]; ++_root.mnu.team4_box.counter; if (_root.mnu.team4_box.counter > _root.team4_char.length - 1) { _root.mnu.team4_box.counter = 0; } char_icon._y = _root.mnu.team4_box._height / 2; char_icon.gotoAndStop(4); } } } instance tg2m of movieClip 947 { onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { if (_root.tg_inteam2.length > 0) { _root.tg_plyrstoassign.unshift(_root.tg_inteam2[_root.tg_inteam2.length - 1]); --_root.mnu.team2_box.counter; if (_root.mnu.team2_box.counter < 0) { _root.mnu.team2_box.counter = _root.team2_char.length - 1; } _root.team2_box_char[_root.team2_box_char.length - 1].removeMovieClip(); _root.team2_box_char.splice(_root.team2_box_char.length - 1, 1); _root.tg_inteam2.splice(_root.tg_inteam2.length - 1, 1); _root.mnu.plyr_counter.gotoAndStop(_root.tg_plyrstoassign.length + 1); } } } instance tg2p of movieClip 950 { onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); gotoAndPlay(2); } onClipEvent (load) { _root.mnu.team2_box.counter = 0; } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { if (_root.tg_plyrstoassign.length > 0) { _root.tg_inteam2.push(_root.tg_plyrstoassign[0]); _root.tg_plyrstoassign.splice(0, 1); _root.mnu.plyr_counter.gotoAndStop(_root.tg_plyrstoassign.length + 1); char_icon = _root.mnu.team2_box.attachMovie('icon_char', 'icon_char' + _root.tg_inteam2.length, _root.mnu.team2_box.getNextHighestDepth()); _root.team2_box_char.push(char_icon); char_icon.head.gotoAndStop(_root.team2_char[_root.mnu.team2_box.counter]); char_icon.char = _root.team2_char[_root.mnu.team2_box.counter]; ++_root.mnu.team2_box.counter; if (_root.mnu.team2_box.counter > _root.team2_char.length - 1) { _root.mnu.team2_box.counter = 0; } char_icon._y = _root.mnu.team2_box._height / 2; char_icon.gotoAndStop(2); } } } instance tg3p of movieClip 950 { onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); gotoAndPlay(2); } onClipEvent (load) { _root.mnu.team3_box.counter = 0; } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { if (_root.tg_plyrstoassign.length > 0) { _root.tg_inteam3.push(_root.tg_plyrstoassign[0]); _root.tg_plyrstoassign.splice(0, 1); _root.mnu.plyr_counter.gotoAndStop(_root.tg_plyrstoassign.length + 1); char_icon = _root.mnu.team3_box.attachMovie('icon_char', 'icon_char' + _root.tg_inteam3.length, _root.mnu.team3_box.getNextHighestDepth()); _root.team3_box_char.push(char_icon); char_icon.head.gotoAndStop(_root.team3_char[_root.mnu.team3_box.counter]); char_icon.char = _root.team3_char[_root.mnu.team3_box.counter]; ++_root.mnu.team3_box.counter; if (_root.mnu.team3_box.counter > _root.team3_char.length - 1) { _root.mnu.team3_box.counter = 0; } char_icon._y = _root.mnu.team3_box._height / 2; char_icon.gotoAndStop(3); } } } instance dkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_pickup); } } instance lkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.rkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_left); } } instance rkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_right); } } instance ukey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_jump); } } instance adkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_pickup); } } instance alkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.rkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_left); } } instance arkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_right); } } instance aukey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_jump); } } instance sdkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); _parent.sukey.gotoAndStop(1); _parent.slkey.gotoAndStop(1); _parent.srkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_sdown); } } instance slkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); _parent.sukey.gotoAndStop(1); _parent.sukey.gotoAndStop(1); _parent.srkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_sleft); } } instance srkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); _parent.sukey.gotoAndStop(1); _parent.slkey.gotoAndStop(1); _parent.sdkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_sright); } } instance sukey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); _parent.sdkey.gotoAndStop(1); _parent.slkey.gotoAndStop(1); _parent.srkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_sup); } } instance of movieClip 932 { onClipEvent (rollOver) { if (_root.mnu.pressanykey._visible == false) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (_root.mnu.pressanykey._visible == false) { gotoAndPlay(6); } } onClipEvent (release) { if (_root.mnu.pressanykey._visible == false) { _root.saveitFunction(); _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.ytogo = 400; _parent.xtogo = 579.5; } } } instance of movieClip 932 { onClipEvent (rollOver) { if (_root.mnu.pressanykey._visible == false) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (_root.mnu.pressanykey._visible == false) { gotoAndPlay(6); } } onClipEvent (release) { if (_root.mnu.pressanykey._visible == false) { _root.saveitFunction(); _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.ytogo = 400; _parent.xtogo = 579.5; } } } } movieClip 1126 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 1132 { instance c2 of movieClip 826 icon_char { onClipEvent (load) { gotoAndStop(5); this.head.gotoAndStop(2); } } instance c1 of movieClip 826 icon_char { onClipEvent (load) { gotoAndStop(5); this.head.gotoAndStop(1); } } } movieClip 1136 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 1138 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 1139 { frame 1 { stop(); } frame 2 { _root.othermenu = true; _root.mnu.tg1m.toucher.gotoAndStop(2); _root.mnu.tg1p.toucher.gotoAndStop(2); _root.mnu.tg2m.toucher.gotoAndStop(2); _root.mnu.tg2p.toucher.gotoAndStop(2); _root.mnu.tg3m.toucher.gotoAndStop(2); _root.mnu.tg3p.toucher.gotoAndStop(2); _root.mnu.tg4m.toucher.gotoAndStop(2); _root.mnu.tg4p.toucher.gotoAndStop(2); _root.mnu.dm1m.toucher.gotoAndStop(2); _root.mnu.dm1p.toucher.gotoAndStop(2); _root.mnu.ctf1m.toucher.gotoAndStop(2); _root.mnu.ctf1p.toucher.gotoAndStop(2); _root.mnu.ctf2m.toucher.gotoAndStop(2); _root.mnu.ctf2p.toucher.gotoAndStop(2); _root.mnu.nm1.gotoAndStop(13); _root.mnu.nm2.gotoAndStop(13); _root.mnu.nm3.gotoAndStop(13); _root.mnu.nm4.gotoAndStop(13); _root.mnu.ctf_nm1.gotoAndStop(13); _root.mnu.ctf_nm2.gotoAndStop(13); } instance of movieClip 932 { onClipEvent (rollOver) { gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.gotoAndPlay(_parent._currentframe + 1); } } frame 7 { stop(); _root.teamselect.teamname = _root[_root.teamselect.t2]; } instance c1 of movieClip 826 icon_char { onClipEvent (load) { gotoAndStop(5); this.head.gotoAndStop(_root[_root.teamselect.t1][0]); } } instance c2 of movieClip 826 icon_char { onClipEvent (load) { gotoAndStop(5); this.head.gotoAndStop(_root[_root.teamselect.t1][1]); } } instance c3 of movieClip 826 icon_char { onClipEvent (load) { gotoAndStop(5); this.head.gotoAndStop(_root[_root.teamselect.t1][2]); } } instance c4 of movieClip 826 icon_char { onClipEvent (load) { gotoAndStop(5); this.head.gotoAndStop(_root[_root.teamselect.t1][3]); } } instance of movieClip 1126 { onClipEvent (load) { this.teamname = 'resistance'; this.teamarray = _root.team_resistance; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); _root.teamselect.c1.head.gotoAndStop(this.teamarray[0]); _root.teamselect.c2.head.gotoAndStop(this.teamarray[1]); _root.teamselect.c3.head.gotoAndStop(this.teamarray[2]); _root.teamselect.c4.head.gotoAndStop(this.teamarray[3]); _root.teamselect.teamname = this.teamname; } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root[_root.teamselect.t1] = this.teamarray; _root[_root.teamselect.t2] = this.teamname; j = 0; i = 0; while (i < _root[_root.teamselect.t3].length) { _root[_root.teamselect.t3][i].head.gotoAndStop(_root[_root.teamselect.t1][j]); _root[_root.teamselect.t3][i].char = _root[_root.teamselect.t1][j]; ++j; if (j > _root[_root.teamselect.t1].length - 1) { j = 0; } ++i; } _parent.gotoAndPlay(_parent._currentframe + 1); } } instance of movieClip 1126 { onClipEvent (load) { this.teamname = 'team evil'; this.teamarray = _root.team_evil; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); _root.teamselect.c1.head.gotoAndStop(this.teamarray[0]); _root.teamselect.c2.head.gotoAndStop(this.teamarray[1]); _root.teamselect.c3.head.gotoAndStop(this.teamarray[2]); _root.teamselect.c4.head.gotoAndStop(this.teamarray[3]); _root.teamselect.teamname = this.teamname; } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root[_root.teamselect.t1] = this.teamarray; _root[_root.teamselect.t2] = this.teamname; j = 0; i = 0; while (i < _root[_root.teamselect.t3].length) { _root[_root.teamselect.t3][i].head.gotoAndStop(_root[_root.teamselect.t1][j]); _root[_root.teamselect.t3][i].char = _root[_root.teamselect.t1][j]; ++j; if (j > _root[_root.teamselect.t1].length - 1) { j = 0; } ++i; } _parent.gotoAndPlay(_parent._currentframe + 1); } } instance of movieClip 1126 { onClipEvent (load) { this.teamname = 'uedf'; this.teamarray = _root.team_uedf; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); _root.teamselect.c1.head.gotoAndStop(this.teamarray[0]); _root.teamselect.c2.head.gotoAndStop(this.teamarray[1]); _root.teamselect.c3.head.gotoAndStop(this.teamarray[2]); _root.teamselect.c4.head.gotoAndStop(this.teamarray[3]); _root.teamselect.teamname = this.teamname; } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root[_root.teamselect.t1] = this.teamarray; _root[_root.teamselect.t2] = this.teamname; j = 0; i = 0; while (i < _root[_root.teamselect.t3].length) { _root[_root.teamselect.t3][i].head.gotoAndStop(_root[_root.teamselect.t1][j]); _root[_root.teamselect.t3][i].char = _root[_root.teamselect.t1][j]; ++j; if (j > _root[_root.teamselect.t1].length - 1) { j = 0; } ++i; } _parent.gotoAndPlay(_parent._currentframe + 1); } } instance of movieClip 1126 { onClipEvent (load) { this.teamname = 'bots'; this.teamarray = _root.team_bots; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); _root.teamselect.c1.head.gotoAndStop(this.teamarray[0]); _root.teamselect.c2.head.gotoAndStop(this.teamarray[1]); _root.teamselect.c3.head.gotoAndStop(this.teamarray[2]); _root.teamselect.c4.head.gotoAndStop(this.teamarray[3]); _root.teamselect.teamname = this.teamname; } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root[_root.teamselect.t1] = this.teamarray; _root[_root.teamselect.t2] = this.teamname; j = 0; i = 0; while (i < _root[_root.teamselect.t3].length) { _root[_root.teamselect.t3][i].head.gotoAndStop(_root[_root.teamselect.t1][j]); _root[_root.teamselect.t3][i].char = _root[_root.teamselect.t1][j]; ++j; if (j > _root[_root.teamselect.t1].length - 1) { j = 0; } ++i; } _parent.gotoAndPlay(_parent._currentframe + 1); } } instance of movieClip 1126 { onClipEvent (load) { this.teamname = 'gladiators'; this.teamarray = _root.team_gladiators; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); _root.teamselect.c1.head.gotoAndStop(this.teamarray[0]); _root.teamselect.c2.head.gotoAndStop(this.teamarray[1]); _root.teamselect.c3.head.gotoAndStop(this.teamarray[2]); _root.teamselect.c4.head.gotoAndStop(this.teamarray[3]); _root.teamselect.teamname = this.teamname; } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root[_root.teamselect.t1] = this.teamarray; _root[_root.teamselect.t2] = this.teamname; j = 0; i = 0; while (i < _root[_root.teamselect.t3].length) { _root[_root.teamselect.t3][i].head.gotoAndStop(_root[_root.teamselect.t1][j]); _root[_root.teamselect.t3][i].char = _root[_root.teamselect.t1][j]; ++j; if (j > _root[_root.teamselect.t1].length - 1) { j = 0; } ++i; } _parent.gotoAndPlay(_parent._currentframe + 1); } } instance of movieClip 1126 { onClipEvent (load) { this.teamname = 'villagers'; this.teamarray = _root.team_villagers; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); _root.teamselect.c1.head.gotoAndStop(this.teamarray[0]); _root.teamselect.c2.head.gotoAndStop(this.teamarray[1]); _root.teamselect.c3.head.gotoAndStop(this.teamarray[2]); _root.teamselect.c4.head.gotoAndStop(this.teamarray[3]); _root.teamselect.teamname = this.teamname; } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root[_root.teamselect.t1] = this.teamarray; _root[_root.teamselect.t2] = this.teamname; j = 0; i = 0; while (i < _root[_root.teamselect.t3].length) { _root[_root.teamselect.t3][i].head.gotoAndStop(_root[_root.teamselect.t1][j]); _root[_root.teamselect.t3][i].char = _root[_root.teamselect.t1][j]; ++j; if (j > _root[_root.teamselect.t1].length - 1) { j = 0; } ++i; } _parent.gotoAndPlay(_parent._currentframe + 1); } } instance of movieClip 1126 { onClipEvent (load) { this.teamname = 'pirates'; this.teamarray = _root.team_pirates; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); _root.teamselect.c1.head.gotoAndStop(this.teamarray[0]); _root.teamselect.c2.head.gotoAndStop(this.teamarray[1]); _root.teamselect.c3.head.gotoAndStop(this.teamarray[2]); _root.teamselect.c4.head.gotoAndStop(this.teamarray[3]); _root.teamselect.teamname = this.teamname; } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root[_root.teamselect.t1] = this.teamarray; _root[_root.teamselect.t2] = this.teamname; j = 0; i = 0; while (i < _root[_root.teamselect.t3].length) { _root[_root.teamselect.t3][i].head.gotoAndStop(_root[_root.teamselect.t1][j]); _root[_root.teamselect.t3][i].char = _root[_root.teamselect.t1][j]; ++j; if (j > _root[_root.teamselect.t1].length - 1) { j = 0; } ++i; } _parent.gotoAndPlay(_parent._currentframe + 1); } } instance of movieClip 1126 { onClipEvent (load) { this.teamname = 'reptillions'; this.teamarray = _root.team_reptillions; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); _root.teamselect.c1.head.gotoAndStop(this.teamarray[0]); _root.teamselect.c2.head.gotoAndStop(this.teamarray[1]); _root.teamselect.c3.head.gotoAndStop(this.teamarray[2]); _root.teamselect.c4.head.gotoAndStop(this.teamarray[3]); _root.teamselect.teamname = this.teamname; } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root[_root.teamselect.t1] = this.teamarray; _root[_root.teamselect.t2] = this.teamname; j = 0; i = 0; while (i < _root[_root.teamselect.t3].length) { _root[_root.teamselect.t3][i].head.gotoAndStop(_root[_root.teamselect.t1][j]); _root[_root.teamselect.t3][i].char = _root[_root.teamselect.t1][j]; ++j; if (j > _root[_root.teamselect.t1].length - 1) { j = 0; } ++i; } _parent.gotoAndPlay(_parent._currentframe + 1); } } instance of movieClip 1126 { onClipEvent (load) { this.teamname = 'red hand'; this.teamarray = _root.team_redhand; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); _root.teamselect.c1.head.gotoAndStop(this.teamarray[0]); _root.teamselect.c2.head.gotoAndStop(this.teamarray[1]); _root.teamselect.c3.head.gotoAndStop(this.teamarray[2]); _root.teamselect.c4.head.gotoAndStop(this.teamarray[3]); _root.teamselect.teamname = this.teamname; } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root[_root.teamselect.t1] = this.teamarray; _root[_root.teamselect.t2] = this.teamname; j = 0; i = 0; while (i < _root[_root.teamselect.t3].length) { _root[_root.teamselect.t3][i].head.gotoAndStop(_root[_root.teamselect.t1][j]); _root[_root.teamselect.t3][i].char = _root[_root.teamselect.t1][j]; ++j; if (j > _root[_root.teamselect.t1].length - 1) { j = 0; } ++i; } _parent.gotoAndPlay(_parent._currentframe + 1); } } instance of movieClip 1126 { onClipEvent (load) { this.teamname = 'octopods'; this.teamarray = _root.team_octopods; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); _root.teamselect.c1.head.gotoAndStop(this.teamarray[0]); _root.teamselect.c2.head.gotoAndStop(this.teamarray[1]); _root.teamselect.c3.head.gotoAndStop(this.teamarray[2]); _root.teamselect.c4.head.gotoAndStop(this.teamarray[3]); _root.teamselect.teamname = this.teamname; } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root[_root.teamselect.t1] = this.teamarray; _root[_root.teamselect.t2] = this.teamname; j = 0; i = 0; while (i < _root[_root.teamselect.t3].length) { _root[_root.teamselect.t3][i].head.gotoAndStop(_root[_root.teamselect.t1][j]); _root[_root.teamselect.t3][i].char = _root[_root.teamselect.t1][j]; ++j; if (j > _root[_root.teamselect.t1].length - 1) { j = 0; } ++i; } _parent.gotoAndPlay(_parent._currentframe + 1); } } instance of movieClip 1126 { onClipEvent (load) { this.teamname = 'crabugs'; this.teamarray = _root.team_crabugs; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); _root.teamselect.c1.head.gotoAndStop(this.teamarray[0]); _root.teamselect.c2.head.gotoAndStop(this.teamarray[1]); _root.teamselect.c3.head.gotoAndStop(this.teamarray[2]); _root.teamselect.c4.head.gotoAndStop(this.teamarray[3]); _root.teamselect.teamname = this.teamname; } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root[_root.teamselect.t1] = this.teamarray; _root[_root.teamselect.t2] = this.teamname; j = 0; i = 0; while (i < _root[_root.teamselect.t3].length) { _root[_root.teamselect.t3][i].head.gotoAndStop(_root[_root.teamselect.t1][j]); _root[_root.teamselect.t3][i].char = _root[_root.teamselect.t1][j]; ++j; if (j > _root[_root.teamselect.t1].length - 1) { j = 0; } ++i; } _parent.gotoAndPlay(_parent._currentframe + 1); } } instance of movieClip 1126 { onClipEvent (load) { this.teamname = 'undead'; this.teamarray = _root.team_undead; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); _root.teamselect.c1.head.gotoAndStop(this.teamarray[0]); _root.teamselect.c2.head.gotoAndStop(this.teamarray[1]); _root.teamselect.c3.head.gotoAndStop(this.teamarray[2]); _root.teamselect.c4.head.gotoAndStop(this.teamarray[3]); _root.teamselect.teamname = this.teamname; } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root[_root.teamselect.t1] = this.teamarray; _root[_root.teamselect.t2] = this.teamname; j = 0; i = 0; while (i < _root[_root.teamselect.t3].length) { _root[_root.teamselect.t3][i].head.gotoAndStop(_root[_root.teamselect.t1][j]); _root[_root.teamselect.t3][i].char = _root[_root.teamselect.t1][j]; ++j; if (j > _root[_root.teamselect.t1].length - 1) { j = 0; } ++i; } _parent.gotoAndPlay(_parent._currentframe + 1); } } instance of movieClip 1126 { onClipEvent (load) { this.teamname = 'wompoons'; this.teamarray = _root.team_wompoons; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); _root.teamselect.c1.head.gotoAndStop(this.teamarray[0]); _root.teamselect.c2.head.gotoAndStop(this.teamarray[1]); _root.teamselect.c3.head.gotoAndStop(this.teamarray[2]); _root.teamselect.c4.head.gotoAndStop(this.teamarray[3]); _root.teamselect.teamname = this.teamname; } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root[_root.teamselect.t1] = this.teamarray; _root[_root.teamselect.t2] = this.teamname; j = 0; i = 0; while (i < _root[_root.teamselect.t3].length) { _root[_root.teamselect.t3][i].head.gotoAndStop(_root[_root.teamselect.t1][j]); _root[_root.teamselect.t3][i].char = _root[_root.teamselect.t1][j]; ++j; if (j > _root[_root.teamselect.t1].length - 1) { j = 0; } ++i; } _parent.gotoAndPlay(_parent._currentframe + 1); } } instance of movieClip 1126 { onClipEvent (load) { this.teamname = 'sharkonians'; this.teamarray = _root.team_sharkonians; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); _root.teamselect.c1.head.gotoAndStop(this.teamarray[0]); _root.teamselect.c2.head.gotoAndStop(this.teamarray[1]); _root.teamselect.c3.head.gotoAndStop(this.teamarray[2]); _root.teamselect.c4.head.gotoAndStop(this.teamarray[3]); _root.teamselect.teamname = this.teamname; } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root[_root.teamselect.t1] = this.teamarray; _root[_root.teamselect.t2] = this.teamname; j = 0; i = 0; while (i < _root[_root.teamselect.t3].length) { _root[_root.teamselect.t3][i].head.gotoAndStop(_root[_root.teamselect.t1][j]); _root[_root.teamselect.t3][i].char = _root[_root.teamselect.t1][j]; ++j; if (j > _root[_root.teamselect.t1].length - 1) { j = 0; } ++i; } _parent.gotoAndPlay(_parent._currentframe + 1); } } instance of movieClip 1126 { onClipEvent (load) { this.teamname = 'team swa'; this.teamarray = _root.team_swa; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); _root.teamselect.c1.head.gotoAndStop(this.teamarray[0]); _root.teamselect.c2.head.gotoAndStop(this.teamarray[1]); _root.teamselect.c3.head.gotoAndStop(this.teamarray[2]); _root.teamselect.c4.head.gotoAndStop(this.teamarray[3]); _root.teamselect.teamname = this.teamname; } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root[_root.teamselect.t1] = this.teamarray; _root[_root.teamselect.t2] = this.teamname; j = 0; i = 0; while (i < _root[_root.teamselect.t3].length) { _root[_root.teamselect.t3][i].head.gotoAndStop(_root[_root.teamselect.t1][j]); _root[_root.teamselect.t3][i].char = _root[_root.teamselect.t1][j]; ++j; if (j > _root[_root.teamselect.t1].length - 1) { j = 0; } ++i; } _parent.gotoAndPlay(_parent._currentframe + 1); } } instance of movieClip 1126 { onClipEvent (load) { this.teamname = 'the farm'; this.teamarray = _root.team_farm; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); _root.teamselect.c1.head.gotoAndStop(this.teamarray[0]); _root.teamselect.c2.head.gotoAndStop(this.teamarray[1]); _root.teamselect.c3.head.gotoAndStop(this.teamarray[2]); _root.teamselect.c4.head.gotoAndStop(this.teamarray[3]); _root.teamselect.teamname = this.teamname; } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root[_root.teamselect.t1] = this.teamarray; _root[_root.teamselect.t2] = this.teamname; j = 0; i = 0; while (i < _root[_root.teamselect.t3].length) { _root[_root.teamselect.t3][i].head.gotoAndStop(_root[_root.teamselect.t1][j]); _root[_root.teamselect.t3][i].char = _root[_root.teamselect.t1][j]; ++j; if (j > _root[_root.teamselect.t1].length - 1) { j = 0; } ++i; } _parent.gotoAndPlay(_parent._currentframe + 1); } } instance of movieClip 1126 { onClipEvent (load) { this.teamname = 'outcasts'; this.teamarray = _root.team_outcasts; } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndPlay(2); _root.teamselect.c1.head.gotoAndStop(this.teamarray[0]); _root.teamselect.c2.head.gotoAndStop(this.teamarray[1]); _root.teamselect.c3.head.gotoAndStop(this.teamarray[2]); _root.teamselect.c4.head.gotoAndStop(this.teamarray[3]); _root.teamselect.teamname = this.teamname; } onClipEvent (rollOut) { this.gotoAndPlay(7); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root[_root.teamselect.t1] = this.teamarray; _root[_root.teamselect.t2] = this.teamname; j = 0; i = 0; while (i < _root[_root.teamselect.t3].length) { _root[_root.teamselect.t3][i].head.gotoAndStop(_root[_root.teamselect.t1][j]); _root[_root.teamselect.t3][i].char = _root[_root.teamselect.t1][j]; ++j; if (j > _root[_root.teamselect.t1].length - 1) { j = 0; } ++i; } _parent.gotoAndPlay(_parent._currentframe + 1); } } frame 8 { _root.mnu.nm1.nm = _root.team1_teamname; _root.mnu.nm2.nm = _root.team2_teamname; _root.mnu.nm3.nm = _root.team3_teamname; _root.mnu.nm4.nm = _root.team4_teamname; _root.mnu.ctf_nm1.nm = _root.ctf_team1_teamname; _root.mnu.ctf_nm2.nm = _root.ctf_team2_teamname; } frame 12 { _root.othermenu = false; _root.mnu.tg1m.toucher.gotoAndStop(1); _root.mnu.tg1p.toucher.gotoAndStop(1); _root.mnu.tg2m.toucher.gotoAndStop(1); _root.mnu.tg2p.toucher.gotoAndStop(1); _root.mnu.tg3m.toucher.gotoAndStop(1); _root.mnu.tg3p.toucher.gotoAndStop(1); _root.mnu.tg4m.toucher.gotoAndStop(1); _root.mnu.tg4p.toucher.gotoAndStop(1); _root.mnu.dm1m.toucher.gotoAndStop(1); _root.mnu.dm1p.toucher.gotoAndStop(1); _root.mnu.ctf1m.toucher.gotoAndStop(1); _root.mnu.ctf1p.toucher.gotoAndStop(1); _root.mnu.ctf2m.toucher.gotoAndStop(1); _root.mnu.ctf2p.toucher.gotoAndStop(1); _root.mnu.nm1.gotoAndStop(1); _root.mnu.nm2.gotoAndStop(1); _root.mnu.nm3.gotoAndStop(1); _root.mnu.nm4.gotoAndStop(1); _root.mnu.ctf_nm1.gotoAndStop(1); _root.mnu.ctf_nm2.gotoAndStop(1); gotoAndStop(1); } instance of movieClip 932 { onClipEvent (rollOver) { gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.gotoAndPlay(_parent._currentframe + 1); } } frame 13 { _root.othermenu = true; _root.mnu.tg1m.toucher.gotoAndStop(2); _root.mnu.tg1p.toucher.gotoAndStop(2); _root.mnu.tg2m.toucher.gotoAndStop(2); _root.mnu.tg2p.toucher.gotoAndStop(2); _root.mnu.tg3m.toucher.gotoAndStop(2); _root.mnu.tg3p.toucher.gotoAndStop(2); _root.mnu.tg4m.toucher.gotoAndStop(2); _root.mnu.tg4p.toucher.gotoAndStop(2); _root.mnu.dm1m.toucher.gotoAndStop(2); _root.mnu.dm1p.toucher.gotoAndStop(2); _root.mnu.ctf1m.toucher.gotoAndStop(2); _root.mnu.ctf1p.toucher.gotoAndStop(2); _root.mnu.ctf2m.toucher.gotoAndStop(2); _root.mnu.ctf2p.toucher.gotoAndStop(2); _root.mnu.nm1.gotoAndStop(13); _root.mnu.nm2.gotoAndStop(13); _root.mnu.nm3.gotoAndStop(13); _root.mnu.nm4.gotoAndStop(13); _root.mnu.ctf_nm1.gotoAndStop(13); _root.mnu.ctf_nm2.gotoAndStop(13); } instance of movieClip 932 { onClipEvent (rollOver) { gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.gotoAndPlay(_parent._currentframe + 1); } } frame 16 { stop(); } frame 19 { _root.othermenu = false; _root.mnu.tg1m.toucher.gotoAndStop(1); _root.mnu.tg1p.toucher.gotoAndStop(1); _root.mnu.tg2m.toucher.gotoAndStop(1); _root.mnu.tg2p.toucher.gotoAndStop(1); _root.mnu.tg3m.toucher.gotoAndStop(1); _root.mnu.tg3p.toucher.gotoAndStop(1); _root.mnu.tg4m.toucher.gotoAndStop(1); _root.mnu.tg4p.toucher.gotoAndStop(1); _root.mnu.dm1m.toucher.gotoAndStop(1); _root.mnu.dm1p.toucher.gotoAndStop(1); _root.mnu.ctf1m.toucher.gotoAndStop(1); _root.mnu.ctf1p.toucher.gotoAndStop(1); _root.mnu.ctf2m.toucher.gotoAndStop(1); _root.mnu.ctf2p.toucher.gotoAndStop(1); _root.mnu.nm1.gotoAndStop(1); _root.mnu.nm2.gotoAndStop(1); _root.mnu.nm3.gotoAndStop(1); _root.mnu.nm4.gotoAndStop(1); _root.mnu.ctf_nm1.gotoAndStop(1); _root.mnu.ctf_nm2.gotoAndStop(1); gotoAndStop(1); } frame 20 { _root.othermenu = true; _root.mnu.tg1m.toucher.gotoAndStop(2); _root.mnu.tg1p.toucher.gotoAndStop(2); _root.mnu.tg2m.toucher.gotoAndStop(2); _root.mnu.tg2p.toucher.gotoAndStop(2); _root.mnu.tg3m.toucher.gotoAndStop(2); _root.mnu.tg3p.toucher.gotoAndStop(2); _root.mnu.tg4m.toucher.gotoAndStop(2); _root.mnu.tg4p.toucher.gotoAndStop(2); _root.mnu.dm1m.toucher.gotoAndStop(2); _root.mnu.dm1p.toucher.gotoAndStop(2); _root.mnu.ctf1m.toucher.gotoAndStop(2); _root.mnu.ctf1p.toucher.gotoAndStop(2); _root.mnu.ctf2m.toucher.gotoAndStop(2); _root.mnu.ctf2p.toucher.gotoAndStop(2); _root.mnu.nm1.gotoAndStop(13); _root.mnu.nm2.gotoAndStop(13); _root.mnu.nm3.gotoAndStop(13); _root.mnu.nm4.gotoAndStop(13); _root.mnu.ctf_nm1.gotoAndStop(13); _root.mnu.ctf_nm2.gotoAndStop(13); } instance of movieClip 1136 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { _root.menumusic.stop(); _root.menumusicplaying = false; _root.gamemode = 'custom'; _root.tag = 2; _root.teamgame_assigningteamsFunction(); _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = 'tutorial'; _root.setup_level = 'level_1'; fadeout.action = 'stp'; _root.setup_gametype = 'team deathmatch'; _root.setup_pointlimit = 'none'; _root.setup_timelimit = 'none'; _root.player1_team = 'team1'; } } instance of movieClip 1138 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.gotoAndPlay(_parent._currentframe + 1); } } frame 23 { stop(); } frame 26 { _root.othermenu = false; _root.mnu.tg1m.toucher.gotoAndStop(1); _root.mnu.tg1p.toucher.gotoAndStop(1); _root.mnu.tg2m.toucher.gotoAndStop(1); _root.mnu.tg2p.toucher.gotoAndStop(1); _root.mnu.tg3m.toucher.gotoAndStop(1); _root.mnu.tg3p.toucher.gotoAndStop(1); _root.mnu.tg4m.toucher.gotoAndStop(1); _root.mnu.tg4p.toucher.gotoAndStop(1); _root.mnu.dm1m.toucher.gotoAndStop(1); _root.mnu.dm1p.toucher.gotoAndStop(1); _root.mnu.ctf1m.toucher.gotoAndStop(1); _root.mnu.ctf1p.toucher.gotoAndStop(1); _root.mnu.ctf2m.toucher.gotoAndStop(1); _root.mnu.ctf2p.toucher.gotoAndStop(1); _root.mnu.nm1.gotoAndStop(1); _root.mnu.nm2.gotoAndStop(1); _root.mnu.nm3.gotoAndStop(1); _root.mnu.nm4.gotoAndStop(1); _root.mnu.ctf_nm1.gotoAndStop(1); _root.mnu.ctf_nm2.gotoAndStop(1); gotoAndStop(1); } } frame 3 { _root.playlvlmusic(); stop(); _root.ctfstyle = 'old'; _root.inplay = true; _root.gamesetup = false; _root.playernames = ['player2', 'player3', 'player4', 'player5', 'player6', 'player7', 'player8']; _root.ground._visible = false; _root.stamplevelFunction(); onEnterFrame = function () { _root.rf._x = 0; _root.rf._y = 0; if (_root.gamesetup == false) { _root.gameInitialiseFunction(); } _root.newssortingFunction(); _root.pauseFunction(); _root.scoreboardUpdate(); if (_root.inplay == true) { _root.medalsFunction(); _root.playerFunction(_root.player1); _root.artificialsmartsFunction(_root.player2); _root.artificialsmartsFunction(_root.player3); _root.artificialsmartsFunction(_root.player4); _root.artificialsmartsFunction(_root.player5); _root.artificialsmartsFunction(_root.player6); _root.artificialsmartsFunction(_root.player7); _root.artificialsmartsFunction(_root.player8); i = 0; while (i < _root.bullet1Array.length) { _root.bullet1Function(_root.bullet1Array[i], i); ++i; } i = 0; while (i < _root.rocketArray.length) { _root.rocketFunction(_root.rocketArray[i], i); ++i; } i = 0; while (i < _root.grenadeArray.length) { _root.grenadeFunction(_root.grenadeArray[i], i); ++i; } i = 0; while (i < _root.activepowerupArray.length) { _root.powerupFunction(_root.activepowerupArray[i], i); ++i; } i = 0; while (i < _root.bitsArray.length) { _root.bitsFunction(_root.bitsArray[i], i); ++i; } i = 0; while (i < _root.nailArray.length) { _root.nailFunction(_root.nailArray[i], i); ++i; } i = 0; while (i < _root.sawArray.length) { _root.sawFunction(_root.sawArray[i], i); ++i; } i = 0; while (i < _root.shellArray.length) { _root.shellFunction(_root.shellArray[i], i); ++i; } i = 0; while (i < _root.boostArray.length) { _root.boostFunction(_root.boostArray[i]); ++i; } i = 0; while (i < _root.flameArray.length) { _root.flameFunction(_root.flameArray[i], i); ++i; } i = 0; while (i < _root.gooArray.length) { _root.gooFunction(_root.gooArray[i], i); ++i; } _root.gamerulesFunction(); } _root.cameraFunction(); }; onMouseDown = function () { _root.player1.msdown = true; }; onMouseUp = function () { _root.player1.msdown = false; }; } movieClip 1141 { } movieClip 1149 { frame 1 { stop(); } } movieClip 1151 { frame 15 { stop(); } } movieClip 1152 { frame 1 { if (_root.setup_gametype == 'control points' or _root._currentframe == 15) { _root.controlpointsArray.push(this); this.team1 = 0; this.team2 = 0; this.team3 = 0; this.team4 = 0; this.team = 'null'; this.point_interval = 0; this.onmap = false; } else { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } frame 2 { stop(); if (this.onmap == false) { this.mapmarker = _root.hud.map.attachMovie('mapmarker', 'mapmarker' + _root.hud.map.getNextHighestDepth(), _root.hud.map.getNextHighestDepth()); this.mapmarker.gotoAndStop('cp_void'); this.mapmarker._x = this._x / (_root.ground._width / _root.hud.map._width); this.mapmarker._y = (this._y - this._height / 2) / (_root.ground._height / _root.hud.map._height); this.onmap = true; } } frame 3 { this.team1 = 0; this.team2 = 0; this.team3 = 0; this.team4 = 0; } frame 26 { gotoAndStop(2); } } movieClip 1154 { frame 1 { function camControl() { rp.x = _x; rp.y = _y; var v4 = camH * _yscale * 0.01; var v3 = camW * _xscale * 0.01; var v6 = sH / v4; var v5 = sW / v3; _x2 = (v3 / 2) * v5; _y2 = (v4 / 2) * v6; _xscale2 = v5 * 100; _yscale2 = v6 * 100; _parent.filters = this.filters; _parent.transform.colorTransform = this.transform.colorTransform; } function reset() { _parent._xscale = 100; _parent._yscale = 100; _parent._x = 0; _parent._y = 0; _parent._rotation = 0; _parent._visible = true; _root.reset_mc._x = 350; _root.reset_mc._y = 200; } function set_x2(value) { var v2 = {'x': rp.x, 'y': rp.y}; _parent.localToGlobal(v2); _parent._x += value - v2.x; } function get_x2() { var v2 = {'x': rp.x, 'y': rp.y}; _parent.localToGlobal(v2); return v2.x; } function set_y2(value) { var v2 = {'x': rp.x, 'y': rp.y}; _parent.localToGlobal(v2); _parent._y += value - v2.y; } function get_y2() { var v2 = {'x': rp.x, 'y': rp.y}; _parent.localToGlobal(v2); return v2.y; } function get_xscale2() { return _parent._xscale; } function set_xscale2(value) { setProperty2('_xscale', value); } function get_yscale2() { return _parent._yscale; } function set_yscale2(value) { setProperty2('_yscale', value); } function get_rotation2() { return parent.rotation; } function setProperty2(prop, n) { var v2 = {'x': rp.x, 'y': rp.y}; _parent.localToGlobal(v2); _parent[prop] = n; var v3 = {'x': rp.x, 'y': rp.y}; _parent.localToGlobal(v3); _parent._x -= v3.x - v2.x; _parent._y -= v3.y - v2.y; } addProperty('_xscale2', get_xscale2, set_xscale2); addProperty('_yscale2', get_yscale2, set_yscale2); _visible = false; addProperty('_x2', get_x2, set_x2); addProperty('_y2', get_y2, set_y2); var oldScaleMode = stage.scaleMode; stage.scaleMode = 'exactFit'; var sW = Stage.width; var sH = Stage.height; stage.scaleMode = oldScaleMode; var bounds_obj = this.getBounds(this); var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin); var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin); var rp = {'x': this._x, 'y': this._y}; this.onUnload = reset; } } instance vcam of movieClip 1154 { onClipEvent (load) { _x = 374.1; _y = 242; var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; target = _root.player1; } } movieClip 1156 { frame 1 { _visible = false; } } movieClip 1159 { frame 1 { _root.spawnArray.push(this); _visible = false; } frame 2 { stop(); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w1, _root.rf.w2]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w4]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w3, _root.rf.w5]; } } movieClip 1161 { frame 1 { _root.waypointArray.push(this); } frame 3 { stop(); } } movieClip 1162 { frame 1 { _visible = false; } instance w3 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w1, _root.rf.w5]; red_flagArray = [0]; blue_flagArray = [1]; } } instance w1 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w2, _root.rf.w4]; red_flagArray = [0]; blue_flagArray = [0]; } } instance w2 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w1, _root.rf.w3, _root.rf.w4]; togoactionArray = ['', 'jump', '']; red_flagArray = [0]; blue_flagArray = [1, 2]; } } instance w5 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w3, _root.rf.w4]; red_flagArray = [0]; blue_flagArray = [1]; } } instance w4 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w5, _root.rf.w2, _root.rf.w3]; togoactionArray = ['jump', '', 'jump']; red_flagArray = [0, 2]; blue_flagArray = [1]; } } } movieClip 1165 { frame 1 { if (_root.setup_gametype == 'capture the flag' or _root._currentframe == 15) { team = 'team1'; this.onmap = false; } else { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } frame 2 { stop(); if (this.onmap == false) { this.mapmarker = _root.hud.map.attachMovie('mapmarker', 'mapmarker' + _root.hud.map.getNextHighestDepth(), _root.hud.map.getNextHighestDepth()); this.mapmarker.gotoAndStop('blue_flag'); this.mapmarker._x = this._x / (_root.ground._width / _root.hud.map._width); this.mapmarker._y = (this._y - this._height / 2) / (_root.ground._height / _root.hud.map._height); this.onmap = true; } } } movieClip 1168 { frame 1 { if (_root.setup_gametype == 'capture the flag' or _root._currentframe == 15) { team = 'team2'; this.mapmarker = _root.hud.map.attachMovie('mapmarker', 'mapmarker' + _root.hud.map.getNextHighestDepth(), _root.hud.map.getNextHighestDepth()); this.mapmarker.gotoAndStop('red_flag'); this.mapmarker._x = this._x / (_root.ground._width / _root.hud.map._width); this.mapmarker._y = (this._y - this._height / 2) / (_root.ground._height / _root.hud.map._height); } else { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } frame 2 { stop(); } } movieClip 1233 { } movieClip 1234 { frame 1 { this.onmap = false; } frame 2 { newpwrup = _root.attachMovie('powerup', 'powerup' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); newpwrup._x = _x; newpwrup._y = _y - 10; newpwrup.gotoAndStop(_root.powerupArray[random(_root.powerupArray.length)]); _root.activepowerupArray.push(newpwrup); this.timer = 60; gotoAndStop(3); if (this.onmap == false) { mapmarker = _root.hud.map.attachMovie('pwrup_marker', 'pwrup_marker' + _root.getNextHighestDepth(), _root.hud.map.getNextHighestDepth()); mapmarker._x = this._x / (_root.ground._width / _root.hud.map._width); mapmarker._y = this._y / (_root.ground._height / _root.hud.map._height); this.onmap = true; } } frame 3 { stop(); onEnterFrame = function () { if (this.hitTest(_root.vcam)) { this._visible = true; } else { this._visible = false; } if (_root.inplay == true) { if (newpwrup._x == undefined) { this.shine.swapDepths(this.getNextHighestDepth()); this.shine.removeMovieClip(); --this.timer; if (this.timer < 1) { delete this.onEnterFrame; gotoAndStop(2); } } } }; } } movieClip 1237 { } movieClip 1263 { frame 1 { gotoAndStop(_root.player1.weapon); } } movieClip 1267 { } movieClip 1283 { frame 1 { gotoAndStop(_root.setup_gametype); } } movieClip 1294 { frame 1 { stop(); } frame 6 { stop(); } frame 12 { gotoAndStop(1); } } movieClip 1296 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 1298 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 1299 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 1320 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 1324 { frame 1 { } frame 7 { _root.player1.run_mc.stop(); _root.player2.run_mc.stop(); _root.player3.run_mc.stop(); _root.player4.run_mc.stop(); _root.player5.run_mc.stop(); _root.player6.run_mc.stop(); _root.player7.run_mc.stop(); _root.player8.run_mc.stop(); } frame 11 { _root.player1.run_mc.gotoAndStop(1); _root.player2.run_mc.gotoAndStop(1); _root.player3.run_mc.gotoAndStop(1); _root.player4.run_mc.gotoAndStop(1); _root.player5.run_mc.gotoAndStop(1); _root.player6.run_mc.gotoAndStop(1); _root.player7.run_mc.gotoAndStop(1); _root.player8.run_mc.gotoAndStop(1); } frame 56 { _root.player1.run_mc.play(); } frame 60 { _root.player2.run_mc.play(); } frame 63 { _root.player3.run_mc.play(); } frame 64 { } frame 66 { _root.player4.run_mc.play(); } frame 69 { _root.player5.run_mc.play(); _root.player6.run_mc.play(); _root.player7.run_mc.play(); _root.player8.run_mc.play(); } frame 72 { _root.player5.run_mc.play(); } frame 75 { _root.player6.run_mc.play(); } frame 78 { _root.player7.run_mc.play(); } frame 81 { _root.player8.run_mc.play(); } frame 85 { _root.inplay = true; this.gotoAndStop(1); } frame 86 { _root.hud.swapDepths(_root.getNextHighestDepth()); _root.inplay = false; } instance of movieClip 873 { onClipEvent (load) { var vartoadjust = 'sfxvolume'; } onClipEvent (press) { this.press = true; } onClipEvent (release) { this.press = false; } onClipEvent (rollOut) { this.press = false; } onClipEvent (releaseOutside) { this.press = false; } } instance of movieClip 873 { onClipEvent (load) { var vartoadjust = 'musicvolume'; } onClipEvent (press) { this.press = true; } onClipEvent (release) { _root['music' + _root.musicqueue].setVolume(_root.musicvolume); this.press = false; } onClipEvent (rollOut) { this.press = false; } onClipEvent (releaseOutside) { _root['music' + _root.musicqueue].setVolume(_root.musicvolume); this.press = false; } } instance of movieClip 1294 { onClipEvent (rollOver) { gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { _root.pcooldown = 15; _parent.gotoAndPlay(_parent._currentframe + 1); } } instance of movieClip 1296 { onClipEvent (rollOver) { gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { if (_root.hud.mcase._currentframe == 1) { _root.pcooldown = 15; stopAllSounds(); _parent.gotoAndPlay(174); } } } instance of movieClip 1298 { onClipEvent (rollOver) { gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { getURL('http://armorgames.com/', '_blank'); } } instance of movieClip 865 { onClipEvent (load) { if (_root.showparticles == true) { this.gotoAndStop(1); } if (_root.showparticles == false) { this.gotoAndStop(2); } } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); if (this._currentframe == 1) { _root.showparticles = false; } if (this._currentframe == 2) { _root.showparticles = true; } if (_root.showparticles == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } } instance of movieClip 870 { onClipEvent (press) { this.press = true; } onClipEvent (release) { this.press = false; } onClipEvent (rollOut) { this.press = false; } onClipEvent (releaseOutside) { this.press = false; } } instance of movieClip 1299 { onClipEvent (rollOver) { gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { _parent.gotoAndStop(102); } } frame 92 { stop(); } frame 101 { _root.player1.run_mc.play(); _root.player2.run_mc.play(); _root.player3.run_mc.play(); _root.player4.run_mc.play(); _root.player5.run_mc.play(); _root.player6.run_mc.play(); _root.player7.run_mc.play(); _root.player8.run_mc.play(); _root.inplay = true; gotoAndStop(1); } frame 102 { stop(); } instance keyboardtick of movieClip 865 { onClipEvent (load) { if (_root.player_controls == 'keyboard') { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); if (this._currentframe == 2) { _root.player_controls = 'keyboard'; _parent.mousetick.gotoAndStop(2); } if (_root.player_controls == 'keyboard') { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } } instance mousetick of movieClip 865 { onClipEvent (load) { if (_root.player_controls == 'mouse') { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); if (this._currentframe == 2) { _root.player_controls = 'mouse'; _parent.keyboardtick.gotoAndStop(2); } if (_root.player_controls == 'mouse') { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } } instance of movieClip 881 { onClipEvent (release) { _root.player_controls = 'mouse'; _parent.keyboardtick.gotoAndStop(2); _parent.gotoAndStop(103); } onClipEvent (rollOver) { gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } } instance of movieClip 881 { onClipEvent (release) { _root.player_controls = 'keyboard'; _parent.mousetick.gotoAndStop(2); _parent.gotoAndStop(104); } onClipEvent (rollOver) { gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } } instance of movieClip 932 { onClipEvent (rollOver) { gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.gotoAndStop(92); } } frame 103 { _root.hud.showstats.pressanykey._visible = false; keyListener = new Object(); keyListener.onKeyDown = function () { if (_root.hud.showstats.lkey._currentframe > 2) { _root.key_left = Key.getCode(); _root.hud.showstats.lkey.display = String.fromCharCode(Key.getAscii()); _root.hud.showstats.lkey.gotoAndStop(1); _root.hud.showstats.pressanykey._visible = false; } if (_root.hud.showstats.rkey._currentframe > 2) { _root.key_right = Key.getCode(); _root.hud.showstats.rkey.display = String.fromCharCode(Key.getAscii()); _root.hud.showstats.rkey.gotoAndStop(1); _root.hud.showstats.pressanykey._visible = false; } if (_root.hud.showstats.dkey._currentframe > 2) { _root.key_pickup = Key.getCode(); _root.hud.showstats.dkey.display = String.fromCharCode(Key.getAscii()); _root.hud.showstats.dkey.gotoAndStop(1); _root.hud.showstats.pressanykey._visible = false; } if (_root.hud.showstats.ukey._currentframe > 2) { _root.key_jump = Key.getCode(); _root.hud.showstats.ukey.display = String.fromCharCode(Key.getAscii()); _root.hud.showstats.ukey.gotoAndStop(1); _root.hud.showstats.pressanykey._visible = false; } }; Key.addListener(keyListener); stop(); } instance dkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.hud.showstats.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_pickup); } } instance lkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.hud.showstats.pressanykey._visible = true; this.gotoAndStop(3); _parent.rkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_left); } } instance rkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.hud.showstats.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_right); } } instance ukey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.hud.showstats.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_jump); } } frame 104 { _root.hud.showstats.pressanykey._visible = false; keyListener = new Object(); keyListener.onKeyDown = function () { if (_root.hud.showstats.lkey._currentframe > 2) { _root.key_left = Key.getCode(); _root.hud.showstats.lkey.display = String.fromCharCode(Key.getAscii()); _root.hud.showstats.lkey.gotoAndStop(1); _root.hud.showstats.pressanykey._visible = false; } if (_root.hud.showstats.rkey._currentframe > 2) { _root.key_right = Key.getCode(); _root.hud.showstats.rkey.display = String.fromCharCode(Key.getAscii()); _root.hud.showstats.rkey.gotoAndStop(1); _root.hud.showstats.pressanykey._visible = false; } if (_root.hud.showstats.dkey._currentframe > 2) { _root.key_pickup = Key.getCode(); _root.hud.showstats.dkey.display = String.fromCharCode(Key.getAscii()); _root.hud.showstats.dkey.gotoAndStop(1); _root.hud.showstats.pressanykey._visible = false; } if (_root.hud.showstats.ukey._currentframe > 2) { _root.key_jump = Key.getCode(); _root.hud.showstats.ukey.display = String.fromCharCode(Key.getAscii()); _root.hud.showstats.ukey.gotoAndStop(1); _root.hud.showstats.pressanykey._visible = false; } if (_root.hud.showstats.sukey._currentframe > 2) { _root.key_sup = Key.getCode(); _root.hud.showstats.sukey.display = String.fromCharCode(Key.getAscii()); _root.hud.showstats.sukey.gotoAndStop(1); _root.hud.showstats.pressanykey._visible = false; } if (_root.hud.showstats.sdkey._currentframe > 2) { _root.key_sdown = Key.getCode(); _root.hud.showstats.sdkey.display = String.fromCharCode(Key.getAscii()); _root.hud.showstats.sdkey.gotoAndStop(1); _root.hud.showstats.pressanykey._visible = false; } if (_root.hud.showstats.slkey._currentframe > 2) { _root.key_sleft = Key.getCode(); _root.hud.showstats.slkey.display = String.fromCharCode(Key.getAscii()); _root.hud.showstats.slkey.gotoAndStop(1); _root.hud.showstats.pressanykey._visible = false; } if (_root.hud.showstats.srkey._currentframe > 2) { _root.key_sright = Key.getCode(); _root.hud.showstats.srkey.display = String.fromCharCode(Key.getAscii()); _root.hud.showstats.srkey.gotoAndStop(1); _root.hud.showstats.pressanykey._visible = false; } }; Key.addListener(keyListener); stop(); } instance sdkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.hud.showstats.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); _parent.sukey.gotoAndStop(1); _parent.slkey.gotoAndStop(1); _parent.srkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_sdown); } } instance slkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.hud.showstats.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); _parent.sukey.gotoAndStop(1); _parent.sukey.gotoAndStop(1); _parent.srkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_sleft); } } instance srkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.hud.showstats.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); _parent.sukey.gotoAndStop(1); _parent.slkey.gotoAndStop(1); _parent.sdkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_sright); } } instance sukey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.hud.showstats.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); _parent.sdkey.gotoAndStop(1); _parent.slkey.gotoAndStop(1); _parent.srkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_sup); } } frame 105 { _root.stopAllSounds(); stopAllSounds(); _root.victoryjingle.start(0, 0); _root.victoryjingle.setVolume(_root.musicvolume); } frame 117 { _root.inplay = false; _root.hud.swapDepths(_root.getNextHighestDepth()); _root.player1.run_mc.stop(); _root.player2.run_mc.stop(); _root.player3.run_mc.stop(); _root.player4.run_mc.stop(); _root.player5.run_mc.stop(); _root.player6.run_mc.stop(); _root.player7.run_mc.stop(); _root.player8.run_mc.stop(); _root.hasredflag = 'null'; _root.hasblueflag = 'null'; _root.outcome = 'win'; stop(); } instance of movieClip 1320 { onClipEvent (rollOver) { gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { if (_root.hud.mcase._currentframe == 1) { _parent.gotoAndPlay(_parent._currentframe + 1); } } } frame 139 { _root.resetlevel(); _root.gotoAndStop('showscores'); _root.hud.swapDepths(_root.getNextHighestDepth()); _root.hud.removeMovieClip(); } frame 140 { stopAllSounds(); _root.stopAllSounds(); _root.loss_sfx.start(0, 0); _root.loss_sfx.setVolume(_root.musicvolume); } frame 152 { _root.outcome = 'lose'; _root.inplay = false; _root.hud.swapDepths(_root.getNextHighestDepth()); _root.player1.run_mc.stop(); _root.player2.run_mc.stop(); _root.player3.run_mc.stop(); _root.player4.run_mc.stop(); _root.player5.run_mc.stop(); _root.player6.run_mc.stop(); _root.player7.run_mc.stop(); _root.player8.run_mc.stop(); _root.hasredflag = 'null'; _root.hasblueflag = 'null'; stop(); } instance of movieClip 1320 { onClipEvent (rollOver) { gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { if (_root.hud.mcase._currentframe == 1) { _parent.gotoAndPlay(_parent._currentframe + 1); } } } frame 173 { _root.resetlevel(); _root.gotoAndStop('showscores'); _root.hud.swapDepths(_root.getNextHighestDepth()); _root.hud.removeMovieClip(); } frame 174 { _root.outcome = 'quit'; _root.hasredflag = 'null'; _root.hasblueflag = 'null'; } instance of movieClip 873 { onClipEvent (load) { var vartoadjust = 'sfxvolume'; } onClipEvent (press) { this.press = true; } onClipEvent (release) { this.press = false; } onClipEvent (rollOut) { this.press = false; } onClipEvent (releaseOutside) { this.press = false; } } instance of movieClip 873 { onClipEvent (load) { var vartoadjust = 'musicvolume'; } onClipEvent (press) { this.press = true; } onClipEvent (release) { _root['music' + _root.musicqueue].setVolume(_root.musicvolume); this.press = false; } onClipEvent (rollOut) { this.press = false; } onClipEvent (releaseOutside) { _root['music' + _root.musicqueue].setVolume(_root.musicvolume); this.press = false; } } instance of movieClip 1294 { onClipEvent (rollOver) { gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { _root.pcooldown = 15; _parent.gotoAndPlay(_parent._currentframe + 1); } } instance of movieClip 1296 { onClipEvent (rollOver) { gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { if (_root.hud.mcase._currentframe == 1) { _root.pcooldown = 15; stopAllSounds(); _parent.gotoAndPlay(174); } } } instance of movieClip 1298 { onClipEvent (rollOver) { gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { getURL('http://armorgames.com/', '_blank'); } } instance of movieClip 865 { onClipEvent (load) { if (_root.showparticles == true) { this.gotoAndStop(1); } if (_root.showparticles == false) { this.gotoAndStop(2); } } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); if (this._currentframe == 1) { _root.showparticles = false; } if (this._currentframe == 2) { _root.showparticles = true; } if (_root.showparticles == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } } instance of movieClip 870 { onClipEvent (press) { this.press = true; } onClipEvent (release) { this.press = false; } onClipEvent (rollOut) { this.press = false; } onClipEvent (releaseOutside) { this.press = false; } } instance of movieClip 1299 { onClipEvent (rollOver) { gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } onClipEvent (release) { _parent.gotoAndStop(102); } } frame 193 { _root.resetlevel(); _root.gotoAndStop('showscores'); _root.hud.swapDepths(_root.getNextHighestDepth()); _root.hud.removeMovieClip(); } } movieClip 1328 { frame 29 { stop(); } } movieClip 1333 { frame 23 { stop(); } } movieClip 1334 { frame 1 { stop(); } frame 2 { _root.medalsfx.start(0, 0); _root.medalsfx.setVolume(_root.sfxvolume); play(); } frame 92 { gotoAndStop(1); } frame 93 { _root.medalsfx.start(0, 0); _root.medalsfx.setVolume(_root.sfxvolume); play(); } frame 161 { gotoAndStop(1); } } movieClip 1335 { instance wpn_disp of movieClip 1263 { onClipEvent (load) { stop(); } } } frame 4 { _root.playlvlmusic(); stop(); _root.ctfstyle = 'old'; _root.inplay = true; _root.gamesetup = false; _root.playernames = ['player2', 'player3', 'player4', 'player5', 'player6', 'player7', 'player8']; _root.ground._visible = false; _root.stamplevelFunction(); onEnterFrame = function () { if (_root.gamesetup == false) { _root.gameInitialiseFunction(); } _root.newssortingFunction(); _root.pauseFunction(); _root.scoreboardUpdate(); if (_root.inplay == true) { _root.medalsFunction(); _root.playerFunction(_root.player1); _root.artificialsmartsFunction(_root.player2); _root.artificialsmartsFunction(_root.player3); _root.artificialsmartsFunction(_root.player4); _root.artificialsmartsFunction(_root.player5); _root.artificialsmartsFunction(_root.player6); _root.artificialsmartsFunction(_root.player7); _root.artificialsmartsFunction(_root.player8); i = 0; while (i < _root.bullet1Array.length) { _root.bullet1Function(_root.bullet1Array[i], i); ++i; } i = 0; while (i < _root.rocketArray.length) { _root.rocketFunction(_root.rocketArray[i], i); ++i; } i = 0; while (i < _root.grenadeArray.length) { _root.grenadeFunction(_root.grenadeArray[i], i); ++i; } i = 0; while (i < _root.activepowerupArray.length) { _root.powerupFunction(_root.activepowerupArray[i], i); ++i; } i = 0; while (i < _root.bitsArray.length) { _root.bitsFunction(_root.bitsArray[i], i); ++i; } i = 0; while (i < _root.nailArray.length) { _root.nailFunction(_root.nailArray[i], i); ++i; } i = 0; while (i < _root.sawArray.length) { _root.sawFunction(_root.sawArray[i], i); ++i; } i = 0; while (i < _root.shellArray.length) { _root.shellFunction(_root.shellArray[i], i); ++i; } i = 0; while (i < _root.boostArray.length) { _root.boostFunction(_root.boostArray[i]); ++i; } i = 0; while (i < _root.flameArray.length) { _root.flameFunction(_root.flameArray[i], i); ++i; } i = 0; while (i < _root.gooArray.length) { _root.gooFunction(_root.gooArray[i], i); ++i; } _root.gamerulesFunction(); } _root.cameraFunction(); }; onMouseDown = function () { _root.player1.msdown = true; }; onMouseUp = function () { _root.player1.msdown = false; }; } movieClip 1337 { } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w1, _root.rf.w3]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w8, _root.rf.w9]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w7, _root.rf.w6]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w13, _root.rf.w14]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w18, _root.rf.w17]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w14, _root.rf.w17]; _root.bluespawnArray.push(this); } } movieClip 1338 { frame 1 { _visible = false; } instance w1 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w3, _root.rf.w2]; red_flagArray = [0]; blue_flagArray = [0]; blue_flagArray = [0]; togoactionArray = ['', '']; } } instance w2 of movieClip 1161 { onClipEvent (load) { red_flagArray = [0]; blue_flagArray = [1]; togoArray = [_root.rf.w3, _root.rf.w16]; togoactionArray = ['', '']; } } instance w3 of movieClip 1161 { onClipEvent (load) { red_flagArray = [0]; blue_flagArray = [1, 2]; togoArray = [_root.rf.w1, _root.rf.w2, _root.rf.w4]; togoactionArray = ['', '', 'hop']; } } instance w4 of movieClip 1161 { onClipEvent (load) { red_flagArray = [1]; blue_flagArray = [2]; togoArray = [_root.rf.w6, _root.rf.w3, _root.rf.w11]; togoactionArray = ['jump', '', '']; } } instance w6 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w4, _root.rf.w7, _root.rf.w8]; red_flagArray = [1]; blue_flagArray = [0, 2]; togoactionArray = ['', '', 'jump']; } } instance w8 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w6, _root.rf.w9]; red_flagArray = [0]; blue_flagArray = [1]; togoactionArray = ['', '']; } } instance w7 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w1, _root.rf.w6]; red_flagArray = [0]; blue_flagArray = [0, 1]; togoactionArray = ['', '']; } } instance w9 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w8, _root.rf.w10]; red_flagArray = [0]; blue_flagArray = [1]; togoactionArray = ['', '']; } } instance w10 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w4, _root.rf.w12, _root.rf.w9]; red_flagArray = [0, 2]; blue_flagArray = [1]; togoactionArray = ['', '', 'jump']; } } instance w11 of movieClip 1161 { onClipEvent (load) { red_flagArray = [1]; blue_flagArray = [2]; togoArray = [_root.rf.w10, _root.rf.w4, _root.rf.w16]; togoactionArray = ['jump', '', '']; } } instance w12 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w10, _root.rf.w13]; red_flagArray = [0]; blue_flagArray = [1]; togoactionArray = ['', 'jump']; } } instance w13 of movieClip 1161 { onClipEvent (load) { red_flagArray = [0]; blue_flagArray = [1]; togoArray = [_root.rf.w2, _root.rf.w14]; togoactionArray = ['', '']; } } instance w14 of movieClip 1161 { onClipEvent (load) { red_flagArray = [0, 2]; blue_flagArray = [1]; togoArray = [_root.rf.w15, _root.rf.w17, _root.rf.w13]; togoactionArray = ['', '', 'jump']; } } instance w15 of movieClip 1161 { onClipEvent (load) { red_flagArray = [1]; blue_flagArray = [0, 2]; togoArray = [_root.rf.w14, _root.rf.w16, _root.rf.w21]; togoactionArray = ['jump', '', '']; } } instance w16 of movieClip 1161 { onClipEvent (load) { red_flagArray = [1, 2]; blue_flagArray = [0]; togoArray = [_root.rf.w15, _root.rf.w11, _root.rf.w2]; togoactionArray = ['', 'jump', '']; } } instance w21 of movieClip 1161 { onClipEvent (load) { red_flagArray = [0]; blue_flagArray = [1]; togoArray = [_root.rf.w15, _root.rf.w17]; togoactionArray = ['', '']; } } instance w17 of movieClip 1161 { onClipEvent (load) { red_flagArray = [0, 1]; blue_flagArray = [2]; togoArray = [_root.rf.w21, _root.rf.w14, _root.rf.w18]; togoactionArray = ['', 'hop', '']; } } instance w18 of movieClip 1161 { onClipEvent (load) { red_flagArray = [0, 1]; blue_flagArray = [0]; togoArray = [_root.rf.w17, _root.rf.w20]; togoactionArray = ['', 'jump']; } } instance w19 of movieClip 1161 { onClipEvent (load) { red_flagArray = [0]; blue_flagArray = [1, 2]; togoArray = [_root.rf.w14, _root.rf.w17, _root.rf.w20]; togoactionArray = ['', '', 'jump']; } } instance w20 of movieClip 1161 { onClipEvent (load) { red_flagArray = [0]; blue_flagArray = [1]; togoArray = [_root.rf.w19, _root.rf.w18]; togoactionArray = ['hop', '']; } } } instance vcam of movieClip 1154 { onClipEvent (load) { _x = 374.1; _y = 242; var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; target = _root.player1; } } frame 5 { _root.playlvlmusic(); stop(); _root.ctfstyle = 'old'; _root.inplay = true; _root.gamesetup = false; _root.playernames = ['player2', 'player3', 'player4', 'player5', 'player6', 'player7', 'player8']; _root.ground._visible = false; _root.stamplevelFunction(); onEnterFrame = function () { if (_root.gamesetup == false) { _root.gameInitialiseFunction(); } _root.newssortingFunction(); _root.pauseFunction(); _root.scoreboardUpdate(); if (_root.inplay == true) { _root.medalsFunction(); _root.playerFunction(_root.player1); _root.artificialsmartsFunction(_root.player2); _root.artificialsmartsFunction(_root.player3); _root.artificialsmartsFunction(_root.player4); _root.artificialsmartsFunction(_root.player5); _root.artificialsmartsFunction(_root.player6); _root.artificialsmartsFunction(_root.player7); _root.artificialsmartsFunction(_root.player8); i = 0; while (i < _root.bullet1Array.length) { _root.bullet1Function(_root.bullet1Array[i], i); ++i; } i = 0; while (i < _root.rocketArray.length) { _root.rocketFunction(_root.rocketArray[i], i); ++i; } i = 0; while (i < _root.grenadeArray.length) { _root.grenadeFunction(_root.grenadeArray[i], i); ++i; } i = 0; while (i < _root.activepowerupArray.length) { _root.powerupFunction(_root.activepowerupArray[i], i); ++i; } i = 0; while (i < _root.bitsArray.length) { _root.bitsFunction(_root.bitsArray[i], i); ++i; } i = 0; while (i < _root.nailArray.length) { _root.nailFunction(_root.nailArray[i], i); ++i; } i = 0; while (i < _root.sawArray.length) { _root.sawFunction(_root.sawArray[i], i); ++i; } i = 0; while (i < _root.shellArray.length) { _root.shellFunction(_root.shellArray[i], i); ++i; } i = 0; while (i < _root.boostArray.length) { _root.boostFunction(_root.boostArray[i]); ++i; } i = 0; while (i < _root.flameArray.length) { _root.flameFunction(_root.flameArray[i], i); ++i; } i = 0; while (i < _root.gooArray.length) { _root.gooFunction(_root.gooArray[i], i); ++i; } _root.gamerulesFunction(); } _root.cameraFunction(); }; onMouseDown = function () { _root.player1.msdown = true; }; onMouseUp = function () { _root.player1.msdown = false; }; } movieClip 1341 { } movieClip 1343 { } movieClip 1344 { } instance bg of movieClip 1344 { onClipEvent (load) { snapshot = new flash.display.BitmapData(this._width, this._height, true, 0); snapshot.draw(this); this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); this.level_case.attachBitmap(snapshot, 1); } } movieClip 1346 { } movieClip 1347 { } instance bg1 of movieClip 1347 { onClipEvent (load) { m = 1.8; vm = 2; snapshot = new flash.display.BitmapData(this._width, this._height, true, 0); snapshot.draw(this); this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); this.level_case.attachBitmap(snapshot, 1); } } movieClip 1349 { frame 1 { _visible = false; } instance w1 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w3, _root.rf.w13, _root.rf.w2]; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = ['', '', 'hop']; } } instance w2 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w1, _root.rf.w15, _root.rf.w3, _root.rf.w17]; red_flagArray = [1]; blue_flagArray = [2, 3]; blue_flagArray = [0]; togoactionArray = ['hop', 'jump', '', '']; } } instance w3 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w4, _root.rf.w7, _root.rf.w28]; red_flagArray = [0, 1]; blue_flagArray = [2]; togoactionArray = ['jump', '', '']; } } instance w4 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w3, _root.rf.w5]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['', '']; } } instance w5 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w16, _root.rf.w27, _root.rf.w4]; red_flagArray = [0]; blue_flagArray = [1, 2]; togoactionArray = ['jump', '', '']; } } instance w6 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w29, _root.rf.w7, _root.rf.w28]; red_flagArray = [0, 1]; blue_flagArray = [2]; togoactionArray = ['', 'jump', '']; } } instance w7 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w3, _root.rf.w6, _root.rf.w8]; red_flagArray = [2]; blue_flagArray = [1]; togoactionArray = ['', '', 'hop']; } } instance w8 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w29, _root.rf.w7, _root.rf.w9]; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = ['', '', 'jump']; } } instance w9 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w8, _root.rf.w10]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['', '']; } } instance w10 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w11, _root.rf.w9]; red_flagArray = [0]; blue_flagArray = [1]; togoactionArray = ['jump', '']; } } instance w11 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w12, _root.rf.w10]; red_flagArray = [0]; blue_flagArray = [1]; togoactionArray = ['jump', '']; } } instance w12 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w13, _root.rf.w14, _root.rf.w11]; red_flagArray = [0]; blue_flagArray = [1, 2]; togoactionArray = ['jump', '', '']; } } instance w13 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w12, _root.rf.w11, _root.rf.w1]; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = ['jump', '', '']; } } instance w14 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w29, _root.rf.w12]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['', 'boost']; } } instance w15 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w3, _root.rf.w2, _root.rf.w22]; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = ['jump', '', '']; } } instance w16 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w17, _root.rf.w21, _root.rf.w5]; red_flagArray = [0, 1]; blue_flagArray = [2]; togoactionArray = ['jump', '', '']; } } instance w17 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w5, _root.rf.w16, _root.rf.w18, _root.rf.w2]; red_flagArray = [2, 3]; blue_flagArray = [1]; togoactionArray = ['', 'hop', 'jump', '']; } } instance w18 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w22, _root.rf.w19, _root.rf.w5]; red_flagArray = [0]; blue_flagArray = [1, 2]; togoactionArray = ['jump', '']; } } instance w19 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w18, _root.rf.w20, _root.rf.w21]; red_flagArray = [0]; blue_flagArray = [0]; blue_flagArray = [1, 2]; togoactionArray = ['', 'jump', '']; } } instance w20 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w23]; red_flagArray = [0]; blue_flagArray = [0]; togoactionArray = ['']; } } instance w21 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w19, _root.rf.w16]; red_flagArray = [0]; blue_flagArray = [1]; togoactionArray = ['jump', '']; } } instance w22 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w18, _root.rf.w15]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['', '']; } } instance w23 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w24]; red_flagArray = [0]; blue_flagArray = [0]; togoactionArray = ['']; } } instance w24 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w25]; red_flagArray = [0]; blue_flagArray = [0]; togoactionArray = ['jump']; } } instance w25 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w26, _root.rf.w28]; red_flagArray = [0]; blue_flagArray = [1]; togoactionArray = ['jump', '']; } } instance w26 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w27, _root.rf.w25]; red_flagArray = [0]; blue_flagArray = [1]; togoactionArray = ['jump', '']; } } instance w27 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w26, _root.rf.w5]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['hop', '']; } } instance w28 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w3, _root.rf.w25, _root.rf.w6]; red_flagArray = [0, 1]; blue_flagArray = [2]; togoactionArray = ['jump', '', '']; } } instance w29 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w30, _root.rf.w6]; red_flagArray = [0]; blue_flagArray = [1]; togoactionArray = ['jump', '']; } } instance w30 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w8, _root.rf.w14]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['', 'jump']; } } } movieClip 1351 { } movieClip 1353 { frame 1 { _root.boostArray.push(this); } frame 2 { stop(); } frame 12 { gotoAndStop(2); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w4, _root.rf.w5]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w28, _root.rf.w6]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w15, _root.rf.w22]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w14, _root.rf.w12]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w29, _root.rf.w8]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w1, _root.rf.w13]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w28, _root.rf.w25]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w16, _root.rf.w21]; _root.redspawnArray.push(this); } } frame 6 { _root.playlvlmusic(); stop(); _root.ctfstyle = 'old'; _root.inplay = true; _root.gamesetup = false; _root.playernames = ['player2', 'player3', 'player4', 'player5', 'player6', 'player7', 'player8']; _root.ground._visible = false; _root.stamplevelFunction(); onEnterFrame = function () { if (_root.gamesetup == false) { _root.gameInitialiseFunction(); } _root.newssortingFunction(); _root.pauseFunction(); _root.scoreboardUpdate(); if (_root.inplay == true) { _root.medalsFunction(); _root.playerFunction(_root.player1); _root.artificialsmartsFunction(_root.player2); _root.artificialsmartsFunction(_root.player3); _root.artificialsmartsFunction(_root.player4); _root.artificialsmartsFunction(_root.player5); _root.artificialsmartsFunction(_root.player6); _root.artificialsmartsFunction(_root.player7); _root.artificialsmartsFunction(_root.player8); i = 0; while (i < _root.bullet1Array.length) { _root.bullet1Function(_root.bullet1Array[i], i); ++i; } i = 0; while (i < _root.rocketArray.length) { _root.rocketFunction(_root.rocketArray[i], i); ++i; } i = 0; while (i < _root.grenadeArray.length) { _root.grenadeFunction(_root.grenadeArray[i], i); ++i; } i = 0; while (i < _root.activepowerupArray.length) { _root.powerupFunction(_root.activepowerupArray[i], i); ++i; } i = 0; while (i < _root.bitsArray.length) { _root.bitsFunction(_root.bitsArray[i], i); ++i; } i = 0; while (i < _root.nailArray.length) { _root.nailFunction(_root.nailArray[i], i); ++i; } i = 0; while (i < _root.sawArray.length) { _root.sawFunction(_root.sawArray[i], i); ++i; } i = 0; while (i < _root.shellArray.length) { _root.shellFunction(_root.shellArray[i], i); ++i; } i = 0; while (i < _root.boostArray.length) { _root.boostFunction(_root.boostArray[i]); ++i; } i = 0; while (i < _root.flameArray.length) { _root.flameFunction(_root.flameArray[i], i); ++i; } i = 0; while (i < _root.gooArray.length) { _root.gooFunction(_root.gooArray[i], i); ++i; } _root.gamerulesFunction(); } _root.cameraFunction(); }; onMouseDown = function () { _root.player1.msdown = true; }; onMouseUp = function () { _root.player1.msdown = false; }; } movieClip 1355 { } movieClip 1356 { } instance bg of movieClip 1356 { onClipEvent (load) { snapshot = new flash.display.BitmapData(this._width, this._height, true, 0); snapshot.draw(this); this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); this.level_case.attachBitmap(snapshot, 1); this.level_case.cacheAsBitmap = true; this.caceAsBitmap = true; } } movieClip 1358 { } movieClip 1359 { instance bg of movieClip 1358 { onClipEvent (load) { m = 1.3; this.cacheAsBitmap = true; } } } instance bg1 of movieClip 1359 { onClipEvent (load) { m = 1.35; vm = 1; snapshot = new flash.display.BitmapData(this._width, this._height, true, 0); snapshot.draw(this); this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); this.level_case.attachBitmap(snapshot, 1); this.level_case.cacheAsBitmap = true; this.caceAsBitmap = true; } } movieClip 1361 { frame 1 { _visible = false; } instance w2 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w42, _root.rf.w1]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['jump', '']; } } instance w3 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w1, _root.rf.w12, _root.rf.w13]; red_flagArray = [1, 2]; blue_flagArray = [0]; togoactionArray = ['', 'jump', '']; } } instance w4 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w11]; red_flagArray = [0]; blue_flagArray = [0]; togoactionArray = ['']; } } instance w5 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w6, _root.rf.w4, _root.rf.w40]; red_flagArray = [0]; blue_flagArray = [1, 2]; togoactionArray = ['jump', '', '']; } } instance w6 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w5, _root.rf.w40, _root.rf.w35]; red_flagArray = [2]; blue_flagArray = [1, 0]; togoactionArray = ['jump', '', '']; } } instance w7 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w8, _root.rf.w40]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['', '']; } } instance w8 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w7, _root.rf.w9]; red_flagArray = [0, 1]; blue_flagArray = [0, 1]; togoactionArray = ['jump', '']; } } instance w9 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w10, _root.rf.w8]; red_flagArray = [0]; blue_flagArray = [1]; togoactionArray = ['', 'jump']; } } instance w10 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w9, _root.rf.w11]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['jump', '']; } } instance w11 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w10, _root.rf.w43]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['jump', '', '']; } } instance w12 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w3, _root.rf.w14]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['', '']; } } instance w13 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w3, _root.rf.w14, _root.rf.w17]; red_flagArray = [1, 2]; blue_flagArray = [0]; togoactionArray = ['', 'jump', '']; } } instance w14 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w13, _root.rf.w17, _root.rf.w16]; red_flagArray = [1, 2]; blue_flagArray = [0, 2]; togoactionArray = ['', '', 'boost']; } } instance w15 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w14, _root.rf.w16, _root.rf.w31]; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = ['', 'hop', '']; } } instance w16 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w15, _root.rf.w14, _root.rf.w19]; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = ['jump', '', '']; } } instance w17 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w13, _root.rf.w14, _root.rf.w18]; red_flagArray = [1, 2]; blue_flagArray = [0, 1]; togoactionArray = ['', 'jump', '']; } } instance w18 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w17, _root.rf.w20, _root.rf.w23]; red_flagArray = [1, 2]; blue_flagArray = [0, 1]; togoactionArray = ['', 'jump', '']; } } instance w19 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w41, _root.rf.w21, _root.rf.w16]; red_flagArray = [0, 1]; blue_flagArray = [2]; togoactionArray = ['', 'jump', 'jump']; } } instance w20 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w18, _root.rf.w22, _root.rf.w41]; red_flagArray = [1]; blue_flagArray = [0, 2]; togoactionArray = ['', '', 'jump']; } } instance w22 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w21, _root.rf.w20, _root.rf.w25]; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = ['jump', '', '']; } } instance w23 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w18, _root.rf.w24]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['', 'jump']; } } instance w24 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w23, _root.rf.w25]; red_flagArray = [0, 1]; blue_flagArray = [0, 1]; togoactionArray = ['', 'jump']; } } instance w25 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w26, _root.rf.w22, _root.rf.w24]; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = ['jump', '', '']; } } instance w26 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w25, _root.rf.w27]; red_flagArray = [0]; blue_flagArray = [1]; togoactionArray = ['', 'jump']; } } instance w27 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w30, _root.rf.w28, _root.rf.w26]; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = ['', 'jump', '']; } } instance w28 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w27, _root.rf.w29]; red_flagArray = [0]; blue_flagArray = [1]; togoactionArray = ['', 'jump']; } } instance w29 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w38, _root.rf.w28]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['', 'hop']; } } instance w31 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w32, _root.rf.w39, _root.rf.w15]; red_flagArray = [1, 2]; blue_flagArray = [0]; togoactionArray = ['', 'jump', '']; } } instance w32 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w31, _root.rf.w42, _root.rf.w33]; red_flagArray = [0, 2]; blue_flagArray = [1]; togoactionArray = ['', '', 'jump']; } } instance w33 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w34, _root.rf.w32]; red_flagArray = [0, 1]; blue_flagArray = [0, 1]; togoactionArray = ['jump', '']; } } instance w34 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w33, _root.rf.w33, _root.rf.w35, _root.rf.w36]; red_flagArray = [3]; blue_flagArray = [2]; togoactionArray = ['', '', 'jump', 'jump']; } } instance w35 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w6, _root.rf.w36, _root.rf.w34]; red_flagArray = [1, 2]; blue_flagArray = [0, 2]; togoactionArray = ['', 'hop', '']; } } instance w36 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w34, _root.rf.w37, _root.rf.w35]; red_flagArray = [1]; blue_flagArray = [2]; togoactionArray = ['', '', 'hop']; } } instance w37 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w30, _root.rf.w36, _root.rf.w38]; red_flagArray = [0, 2]; blue_flagArray = [1]; togoactionArray = ['', '', 'hop']; } } instance w38 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w37, _root.rf.w30, _root.rf.w29]; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = ['hop', '', '']; } } instance w39 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w31, _root.rf.w30]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['', 'jump']; } } instance w42 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w2, _root.rf.w43, _root.rf.w32]; red_flagArray = [0, 2]; blue_flagArray = [1]; togoactionArray = ['', 'hop', '']; } } instance w40 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w7, _root.rf.w5, _root.rf.w6, _root.rf.w7]; red_flagArray = [2]; blue_flagArray = [0]; togoactionArray = ['', 'jump', 'jump', '']; } } instance w41 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w19, _root.rf.w20, _root.rf.w18]; red_flagArray = [1, 2]; blue_flagArray = [0]; togoactionArray = ['', 'hop', '']; } } instance w1 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w2, _root.rf.w3]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['jump', '']; } } instance w21 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w19, _root.rf.w22]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['', '']; } } instance w30 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w27, _root.rf.w37, _root.rf.w38, _root.rf.w31]; red_flagArray = [0, 2]; blue_flagArray = [1, 3]; togoactionArray = ['', 'jump', 'jump']; } } instance w43 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w2, _root.rf.w42, _root.rf.w11]; red_flagArray = [0, 1]; blue_flagArray = [2]; togoactionArray = ['', 'hop', '']; } } } movieClip 1363 { } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w17, _root.rf.w18]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w39]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w16, _root.rf.w19]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w39, _root.rf.w32]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w3, _root.rf.w1]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w27, _root.rf.w30]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w38, _root.rf.w29]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w38, _root.rf.w37]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w5, _root.rf.w4]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w23, _root.rf.w18]; _root.redspawnArray.push(this); } } frame 7 { _root.playlvlmusic(); stop(); _root.ctfstyle = 'old'; _root.inplay = true; _root.gamesetup = false; _root.playernames = ['player2', 'player3', 'player4', 'player5', 'player6', 'player7', 'player8']; _root.ground._visible = false; _root.stamplevelFunction(); onEnterFrame = function () { if (_root.gamesetup == false) { _root.gameInitialiseFunction(); } _root.newssortingFunction(); _root.pauseFunction(); _root.scoreboardUpdate(); if (_root.inplay == true) { _root.medalsFunction(); _root.playerFunction(_root.player1); _root.artificialsmartsFunction(_root.player2); _root.artificialsmartsFunction(_root.player3); _root.artificialsmartsFunction(_root.player4); _root.artificialsmartsFunction(_root.player5); _root.artificialsmartsFunction(_root.player6); _root.artificialsmartsFunction(_root.player7); _root.artificialsmartsFunction(_root.player8); i = 0; while (i < _root.bullet1Array.length) { _root.bullet1Function(_root.bullet1Array[i], i); ++i; } i = 0; while (i < _root.rocketArray.length) { _root.rocketFunction(_root.rocketArray[i], i); ++i; } i = 0; while (i < _root.grenadeArray.length) { _root.grenadeFunction(_root.grenadeArray[i], i); ++i; } i = 0; while (i < _root.activepowerupArray.length) { _root.powerupFunction(_root.activepowerupArray[i], i); ++i; } i = 0; while (i < _root.bitsArray.length) { _root.bitsFunction(_root.bitsArray[i], i); ++i; } i = 0; while (i < _root.nailArray.length) { _root.nailFunction(_root.nailArray[i], i); ++i; } i = 0; while (i < _root.sawArray.length) { _root.sawFunction(_root.sawArray[i], i); ++i; } i = 0; while (i < _root.shellArray.length) { _root.shellFunction(_root.shellArray[i], i); ++i; } i = 0; while (i < _root.boostArray.length) { _root.boostFunction(_root.boostArray[i]); ++i; } i = 0; while (i < _root.flameArray.length) { _root.flameFunction(_root.flameArray[i], i); ++i; } i = 0; while (i < _root.gooArray.length) { _root.gooFunction(_root.gooArray[i], i); ++i; } _root.gamerulesFunction(); } _root.cameraFunction(); }; onMouseDown = function () { _root.player1.msdown = true; }; onMouseUp = function () { _root.player1.msdown = false; }; } instance bg of movieClip 1344 { onClipEvent (load) { snapshot = new flash.display.BitmapData(this._width, this._height, true, 0); snapshot.draw(this); this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); this.level_case.attachBitmap(snapshot, 1); this.level_case.cacheAsBitmap = true; this.caceAsBitmap = true; } } movieClip 1365 { } movieClip 1366 { } instance bg1 of movieClip 1366 { onClipEvent (load) { m = 1.8; vm = 2; snapshot = new flash.display.BitmapData(this._width, this._height, true, 0); snapshot.draw(this); this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); this.level_case.attachBitmap(snapshot, 1); this.level_case.cacheAsBitmap = true; this.caceAsBitmap = true; } } movieClip 1368 { frame 1 { _visible = false; } instance w1 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w8, _root.rf.w2, _root.rf.w9]; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = ['jump', '']; } } instance w2 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w12, _root.rf.w1]; red_flagArray = [1]; blue_flagArray = [0, 1]; togoactionArray = ['', 'jump']; } } instance w3 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w4, _root.rf.w7, _root.rf.w9]; red_flagArray = [0]; blue_flagArray = [2]; togoactionArray = ['jump', '', '']; } } instance w4 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w3, _root.rf.w7, _root.rf.w5]; red_flagArray = [2]; blue_flagArray = [0]; togoactionArray = ['jump', '', '']; } } instance w5 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w6, _root.rf.w22, _root.rf.w4]; red_flagArray = [0, 1]; blue_flagArray = [2]; togoactionArray = ['jump', '', '']; } } instance w6 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w5, _root.rf.w24]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['', '']; } } instance w8 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w11, _root.rf.w1]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['jump', '']; } } instance w9 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w1, _root.rf.w3]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['', '']; } } instance w10 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w15, _root.rf.w9]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['', '']; } } instance w11 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w13, _root.rf.w12, _root.rf.w26]; red_flagArray = [1, 2]; blue_flagArray = [0]; togoactionArray = ['jump', '', '']; } } instance w12 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w2, _root.rf.w16, _root.rf.w11]; red_flagArray = [1]; blue_flagArray = [0, 2]; togoactionArray = ['jump', '']; } } instance w13 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w14, _root.rf.w26, _root.rf.w11]; red_flagArray = [1, 2]; blue_flagArray = [0]; togoactionArray = ['', '', 'jump']; } } instance w14 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w13]; red_flagArray = [0]; blue_flagArray = [0]; togoactionArray = ['']; } } instance w15 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w14, _root.rf.w10]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['hop', '']; } } instance w16 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w17, _root.rf.w12, _root.rf.w7]; red_flagArray = [0, 2]; blue_flagArray = [1]; togoactionArray = ['jump', '', '']; } } instance w17 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w16, _root.rf.w18]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['', '']; } } instance w18 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w19, _root.rf.w17, _root.rf.w7]; red_flagArray = [0, 2]; blue_flagArray = [1]; togoactionArray = ['jump', '', '']; } } instance w19 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w18, _root.rf.w7, _root.rf.w20]; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = ['jump', '', '']; } } instance w20 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w21, _root.rf.w19]; red_flagArray = [0]; blue_flagArray = [1]; togoactionArray = ['', '']; } } instance w21 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w20, _root.rf.w7, _root.rf.w22]; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = ['jump', '', '']; } } instance w22 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w5, _root.rf.w21, _root.rf.w25]; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = ['jump', '', '']; } } instance w23 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w27, _root.rf.w24, _root.rf.w25]; red_flagArray = [1]; blue_flagArray = [0, 2]; togoactionArray = ['jump', '', '']; } } instance w24 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w23]; red_flagArray = [0]; blue_flagArray = [0]; togoactionArray = ['']; } } instance w27 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w23, _root.rf.w22, _root.rf.w25]; red_flagArray = [0]; blue_flagArray = [1, 2]; togoactionArray = ['jump', '', '']; } } instance w28 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w16, _root.rf.w7, _root.rf.w26]; red_flagArray = [1]; blue_flagArray = [0, 2]; togoactionArray = ['jump', '', '']; } } instance w29 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w21, _root.rf.w7, _root.rf.w25]; red_flagArray = [0, 2]; blue_flagArray = [1]; togoactionArray = ['jump', '', '']; } } instance w7 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w28, _root.rf.w29]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['', '']; } } instance w25 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w7, _root.rf.w23]; red_flagArray = [1]; blue_flagArray = [0]; togoactionArray = ['', 'boost']; } } instance w26 of movieClip 1161 { onClipEvent (load) { togoArray = [_root.rf.w7, _root.rf.w13]; red_flagArray = [0]; blue_flagArray = [1]; togoactionArray = ['', 'boost']; } } } movieClip 1370 { } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w15, _root.rf.w10]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w6, _root.rf.w23]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w26, _root.rf.w7]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w25, _root.rf.w7]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w11, _root.rf.w12]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w21, _root.rf.w22]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w9, _root.rf.w3]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w4, _root.rf.w5]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w18, _root.rf.w17]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w19, _root.rf.w20]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w25, _root.rf.w7]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w26, _root.rf.w7]; } } frame 8 { _root.playlvlmusic(); stop(); _root.ctfstyle = 'new'; _root.inplay = true; _root.gamesetup = false; _root.playernames = ['player2', 'player3', 'player4', 'player5', 'player6', 'player7', 'player8']; _root.ground._visible = false; _root.stamplevelFunction(); onEnterFrame = function () { if (_root.gamesetup == false) { _root.gameInitialiseFunction(); } _root.newssortingFunction(); _root.pauseFunction(); _root.scoreboardUpdate(); _root.cameraFunction(); if (_root.inplay == true) { _root.medalsFunction(); _root.playerFunction(_root.player1); _root.artificialsmartsFunction(_root.player2); _root.artificialsmartsFunction(_root.player3); _root.artificialsmartsFunction(_root.player4); _root.artificialsmartsFunction(_root.player5); _root.artificialsmartsFunction(_root.player6); _root.artificialsmartsFunction(_root.player7); _root.artificialsmartsFunction(_root.player8); i = 0; while (i < _root.bullet1Array.length) { _root.bullet1Function(_root.bullet1Array[i], i); ++i; } i = 0; while (i < _root.rocketArray.length) { _root.rocketFunction(_root.rocketArray[i], i); ++i; } i = 0; while (i < _root.grenadeArray.length) { _root.grenadeFunction(_root.grenadeArray[i], i); ++i; } i = 0; while (i < _root.activepowerupArray.length) { _root.powerupFunction(_root.activepowerupArray[i], i); ++i; } i = 0; while (i < _root.bitsArray.length) { _root.bitsFunction(_root.bitsArray[i], i); ++i; } i = 0; while (i < _root.nailArray.length) { _root.nailFunction(_root.nailArray[i], i); ++i; } i = 0; while (i < _root.sawArray.length) { _root.sawFunction(_root.sawArray[i], i); ++i; } i = 0; while (i < _root.shellArray.length) { _root.shellFunction(_root.shellArray[i], i); ++i; } i = 0; while (i < _root.boostArray.length) { _root.boostFunction(_root.boostArray[i]); ++i; } i = 0; while (i < _root.flameArray.length) { _root.flameFunction(_root.flameArray[i], i); ++i; } i = 0; while (i < _root.gooArray.length) { _root.gooFunction(_root.gooArray[i], i); ++i; } _root.gamerulesFunction(); } }; onMouseDown = function () { _root.player1.msdown = true; }; onMouseUp = function () { _root.player1.msdown = false; }; } movieClip 1372 { } movieClip 1373 { } instance bg1 of movieClip 1373 { onClipEvent (load) { m = 1.5; vm = 2; snapshot = new flash.display.BitmapData(this._width, this._height, true, 0); snapshot.draw(this); this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); this.level_case.attachBitmap(snapshot, 1); this.level_case.cacheAsBitmap = true; this.caceAsBitmap = true; } } movieClip 1375 { } movieClip 1378 { } movieClip 1380 { } movieClip 1381 { frame 3 { i = 0; while (i < _root.waypointArray.length) { if (this.orig.hitTest(_root.waypointArray[i])) { j = 0; while (j < _root.waypointArray.length) { if (this.e.hitTest(_root.waypointArray[j]._x, _root.waypointArray[j]._y, true)) { _root.waypointArray[i].togoArray.push(_root.waypointArray[j]); _root.waypointArray[i].togoactionArray.push(''); break; } ++j; } } ++i; } this.swapDepths(_parent.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 1383 { frame 5 { i = 0; while (i < _root.waypointArray.length) { if (this.orig.hitTest(_root.waypointArray[i])) { j = 0; while (j < _root.waypointArray.length) { if (this.e.hitTest(_root.waypointArray[j]._x, _root.waypointArray[j]._y, true)) { _root.waypointArray[i].togoArray.push(_root.waypointArray[j]); _root.waypointArray[i].togoactionArray.push('jump'); break; } ++j; } } ++i; } this.swapDepths(_parent.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 1385 { frame 3 { i = 0; while (i < _root.waypointArray.length) { if (this.orig.hitTest(_root.waypointArray[i])) { j = 0; while (j < _root.waypointArray.length) { if (this.e.hitTest(_root.waypointArray[j]._x, _root.waypointArray[j]._y, true)) { _root.waypointArray[i].togoArray.push(_root.waypointArray[j]); _root.waypointArray[i].togoactionArray.push('hop'); break; } ++j; } } ++i; } this.swapDepths(_parent.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 1387 { frame 3 { i = 0; while (i < _root.waypointArray.length) { if (this.orig.hitTest(_root.waypointArray[i])) { j = 0; while (j < _root.waypointArray.length) { if (this.e.hitTest(_root.waypointArray[j]._x, _root.waypointArray[j]._y, true)) { _root.waypointArray[i].togoArray.push(_root.waypointArray[j]); _root.waypointArray[i].togoactionArray.push('boost'); } ++j; } } ++i; } this.swapDepths(_parent.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 1389 { frame 3 { i = 0; while (i < _root.waypointArray.length) { if (this.orig.hitTest(_root.waypointArray[i])) { j = 0; while (j < _root.waypointArray.length) { if (this.e.hitTest(_root.waypointArray[j]._x, _root.waypointArray[j]._y, true)) { _root.waypointArray[i].blue_flagArray.push(_root.waypointArray[j]); _root.waypointArray[i].blue_flagtogoactionArray.push('hop'); break; } ++j; } } ++i; } this.swapDepths(_parent.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 1391 { frame 5 { i = 0; while (i < _root.waypointArray.length) { if (this.orig.hitTest(_root.waypointArray[i])) { j = 0; while (j < _root.waypointArray.length) { if (this.e.hitTest(_root.waypointArray[j]._x, _root.waypointArray[j]._y, true)) { _root.waypointArray[i].blue_flagArray.push(_root.waypointArray[j]); _root.waypointArray[i].blue_flagtogoactionArray.push('jump'); break; } ++j; } } ++i; } this.swapDepths(_parent.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 1393 { frame 3 { i = 0; while (i < _root.waypointArray.length) { if (this.orig.hitTest(_root.waypointArray[i])) { j = 0; while (j < _root.waypointArray.length) { if (this.e.hitTest(_root.waypointArray[j]._x, _root.waypointArray[j]._y, true)) { _root.waypointArray[i].blue_flagArray.push(_root.waypointArray[j]); _root.waypointArray[i].blue_flagtogoactionArray.push('boost'); } ++j; } } ++i; } this.swapDepths(_parent.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 1395 { frame 3 { i = 0; while (i < _root.waypointArray.length) { if (this.orig.hitTest(_root.waypointArray[i])) { j = 0; while (j < _root.waypointArray.length) { if (this.e.hitTest(_root.waypointArray[j]._x, _root.waypointArray[j]._y, true)) { _root.waypointArray[i].red_flagArray.push(_root.waypointArray[j]); _root.waypointArray[i].red_flagtogoactionArray.push(''); break; } ++j; } } ++i; } this.swapDepths(_parent.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 1397 { frame 5 { i = 0; while (i < _root.waypointArray.length) { if (this.orig.hitTest(_root.waypointArray[i])) { j = 0; while (j < _root.waypointArray.length) { if (this.e.hitTest(_root.waypointArray[j]._x, _root.waypointArray[j]._y, true)) { _root.waypointArray[i].red_flagArray.push(_root.waypointArray[j]); _root.waypointArray[i].red_flagtogoactionArray.push('jump'); break; } ++j; } } ++i; } this.swapDepths(_parent.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 1399 { frame 3 { i = 0; while (i < _root.waypointArray.length) { if (this.orig.hitTest(_root.waypointArray[i])) { j = 0; while (j < _root.waypointArray.length) { if (this.e.hitTest(_root.waypointArray[j]._x, _root.waypointArray[j]._y, true)) { _root.waypointArray[i].blue_flagArray.push(_root.waypointArray[j]); _root.waypointArray[i].blue_flagtogoactionArray.push(''); break; } ++j; } } ++i; } this.swapDepths(_parent.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 1402 { frame 3 { i = 0; while (i < _root.waypointArray.length) { if (this.orig.hitTest(_root.waypointArray[i])) { j = 0; while (j < _root.waypointArray.length) { if (this.e.hitTest(_root.waypointArray[j]._x, _root.waypointArray[j]._y, true)) { _root.waypointArray[i].red_flagArray.push(_root.waypointArray[j]); _root.waypointArray[i].red_flagtogoactionArray.push('boost'); } ++j; } } ++i; } this.swapDepths(_parent.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 1404 { frame 3 { i = 0; while (i < _root.waypointArray.length) { if (this.orig.hitTest(_root.waypointArray[i])) { j = 0; while (j < _root.waypointArray.length) { if (this.e.hitTest(_root.waypointArray[j]._x, _root.waypointArray[j]._y, true)) { _root.waypointArray[i].red_flagArray.push(_root.waypointArray[j]); _root.waypointArray[i].red_flagtogoactionArray.push('hop'); break; } ++j; } } ++i; } this.swapDepths(_parent.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 1405 { frame 1 { _visible = false; } instance w1 of movieClip 1161 { onClipEvent (load) { togoArray = []; togoactionArray = []; red_flagArray = []; blue_flagArray = []; red_togoactionArray = []; blue_togoactionArray = []; } } instance w2 of movieClip 1161 { onClipEvent (load) { togoArray = []; togoactionArray = []; red_flagArray = []; blue_flagArray = []; red_flagtogoactionArray = []; blue_flagtogoactionArray = []; } } instance w3 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w4 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w9 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w10 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w11 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w12 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w13 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w14 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = []; blue_flagArray = []; togoactionArray = ['', 'jump', '']; } } instance w15 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w17 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w18 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w19 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w20 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w21 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w22 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w42 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w27 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w28 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w32 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w33 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w34 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w35 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = []; blue_flagArray = []; togoactionArray = []; } } instance w36 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w55 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } frame 2 { stop(); i = 0; while (i < 60) { _root.rf['w' + i].red_flagArray = []; _root.rf['w' + i].blue_flagArray = []; _root.rf['w' + i].red_flagtogoactionArray = []; _root.rf['w' + i].blue_flagtogoactionArray = []; ++i; } } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w1, _root.rf.w2]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w21, _root.rf.w20]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w13, _root.rf.w2]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w15, _root.rf.w20]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w36, _root.rf.w28]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w32, _root.rf.w35]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w22]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w4]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w3, _root.rf.w9]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w12, _root.rf.w14]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w18, _root.rf.w19]; _root.bluespawnArray.push(this); } } frame 9 { _root.playlvlmusic(); stop(); _root.ctfstyle = 'new'; _root.inplay = true; _root.gamesetup = false; _root.playernames = ['player2', 'player3', 'player4', 'player5', 'player6', 'player7', 'player8']; _root.ground._visible = false; _root.stamplevelFunction(); onEnterFrame = function () { if (_root.gamesetup == false) { _root.gameInitialiseFunction(); } _root.newssortingFunction(); _root.pauseFunction(); _root.scoreboardUpdate(); if (_root.inplay == true) { _root.medalsFunction(); _root.playerFunction(_root.player1); _root.artificialsmartsFunction(_root.player2); _root.artificialsmartsFunction(_root.player3); _root.artificialsmartsFunction(_root.player4); _root.artificialsmartsFunction(_root.player5); _root.artificialsmartsFunction(_root.player6); _root.artificialsmartsFunction(_root.player7); _root.artificialsmartsFunction(_root.player8); i = 0; while (i < _root.bullet1Array.length) { _root.bullet1Function(_root.bullet1Array[i], i); ++i; } i = 0; while (i < _root.rocketArray.length) { _root.rocketFunction(_root.rocketArray[i], i); ++i; } i = 0; while (i < _root.grenadeArray.length) { _root.grenadeFunction(_root.grenadeArray[i], i); ++i; } i = 0; while (i < _root.activepowerupArray.length) { _root.powerupFunction(_root.activepowerupArray[i], i); ++i; } i = 0; while (i < _root.bitsArray.length) { _root.bitsFunction(_root.bitsArray[i], i); ++i; } i = 0; while (i < _root.nailArray.length) { _root.nailFunction(_root.nailArray[i], i); ++i; } i = 0; while (i < _root.sawArray.length) { _root.sawFunction(_root.sawArray[i], i); ++i; } i = 0; while (i < _root.shellArray.length) { _root.shellFunction(_root.shellArray[i], i); ++i; } i = 0; while (i < _root.boostArray.length) { _root.boostFunction(_root.boostArray[i]); ++i; } i = 0; while (i < _root.flameArray.length) { _root.flameFunction(_root.flameArray[i], i); ++i; } i = 0; while (i < _root.gooArray.length) { _root.gooFunction(_root.gooArray[i], i); ++i; } _root.gamerulesFunction(); } _root.cameraFunction(); }; onMouseDown = function () { _root.player1.msdown = true; }; onMouseUp = function () { _root.player1.msdown = false; }; } movieClip 1408 { } movieClip 1409 { } instance bg of movieClip 1409 { onClipEvent (load) { snapshot = new flash.display.BitmapData(this._width, this._height, true, 0); snapshot.draw(this); this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); this.level_case.attachBitmap(snapshot, 1); this.level_case.cacheAsBitmap = true; this.caceAsBitmap = true; } } movieClip 1411 { } movieClip 1412 { } instance bg1 of movieClip 1412 { onClipEvent (load) { m = 1.5; vm = 2; snapshot = new flash.display.BitmapData(this._width, this._height, true, 0); snapshot.draw(this); this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); this.level_case.attachBitmap(snapshot, 1); this.level_case.cacheAsBitmap = true; this.caceAsBitmap = true; } } movieClip 1414 { } movieClip 1417 { frame 1 { _visible = false; } instance w1 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w2 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w3 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w4 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w6 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w7 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w8 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w10 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w11 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w12 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w13 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w14 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w15 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w16 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w17 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w18 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w19 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w20 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w5 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w22 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w23 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } frame 2 { stop(); i = 0; while (i < 60) { _root.rf['w' + i].red_flagArray = []; _root.rf['w' + i].blue_flagArray = []; _root.rf['w' + i].red_flagtogoactionArray = []; _root.rf['w' + i].blue_flagtogoactionArray = []; ++i; } } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w20, _root.rf.w7]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w15, _root.rf.w16]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w3, _root.rf.w19]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w5, _root.rf.w6]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w11, _root.rf.w12]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w6, _root.rf.w8]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w1, _root.rf.w2]; _root.bluespawnArray.push(this); } } frame 10 { _root.playlvlmusic(); stop(); _root.ctfstyle = 'new'; _root.inplay = true; _root.gamesetup = false; _root.playernames = ['player2', 'player3', 'player4', 'player5', 'player6', 'player7', 'player8']; _root.ground._visible = false; _root.stamplevelFunction(); onEnterFrame = function () { if (_root.gamesetup == false) { _root.gameInitialiseFunction(); } _root.newssortingFunction(); _root.pauseFunction(); _root.scoreboardUpdate(); if (_root.inplay == true) { _root.medalsFunction(); _root.playerFunction(_root.player1); _root.artificialsmartsFunction(_root.player2); _root.artificialsmartsFunction(_root.player3); _root.artificialsmartsFunction(_root.player4); _root.artificialsmartsFunction(_root.player5); _root.artificialsmartsFunction(_root.player6); _root.artificialsmartsFunction(_root.player7); _root.artificialsmartsFunction(_root.player8); i = 0; while (i < _root.bullet1Array.length) { _root.bullet1Function(_root.bullet1Array[i], i); ++i; } i = 0; while (i < _root.rocketArray.length) { _root.rocketFunction(_root.rocketArray[i], i); ++i; } i = 0; while (i < _root.grenadeArray.length) { _root.grenadeFunction(_root.grenadeArray[i], i); ++i; } i = 0; while (i < _root.activepowerupArray.length) { _root.powerupFunction(_root.activepowerupArray[i], i); ++i; } i = 0; while (i < _root.bitsArray.length) { _root.bitsFunction(_root.bitsArray[i], i); ++i; } i = 0; while (i < _root.nailArray.length) { _root.nailFunction(_root.nailArray[i], i); ++i; } i = 0; while (i < _root.sawArray.length) { _root.sawFunction(_root.sawArray[i], i); ++i; } i = 0; while (i < _root.shellArray.length) { _root.shellFunction(_root.shellArray[i], i); ++i; } i = 0; while (i < _root.boostArray.length) { _root.boostFunction(_root.boostArray[i]); ++i; } i = 0; while (i < _root.flameArray.length) { _root.flameFunction(_root.flameArray[i], i); ++i; } i = 0; while (i < _root.gooArray.length) { _root.gooFunction(_root.gooArray[i], i); ++i; } _root.gamerulesFunction(); } _root.cameraFunction(); }; onMouseDown = function () { _root.player1.msdown = true; }; onMouseUp = function () { _root.player1.msdown = false; }; } movieClip 1419 { } movieClip 1420 { } instance bg1 of movieClip 1420 { onClipEvent (load) { m = 1.5; vm = 2; snapshot = new flash.display.BitmapData(this._width, this._height, true, 0); snapshot.draw(this); this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); this.level_case.attachBitmap(snapshot, 1); this.level_case.cacheAsBitmap = true; this.caceAsBitmap = true; } } movieClip 1422 { } movieClip 1424 { frame 1 { _visible = false; } instance w3 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w1 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w2 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w4 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w5 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w6 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w7 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w8 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w9 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w10 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w11 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w12 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w13 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w14 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w15 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w16 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w17 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w18 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w19 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w20 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w21 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w22 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } frame 2 { stop(); i = 0; while (i < 80) { _root.rf['w' + i].red_flagArray = []; _root.rf['w' + i].blue_flagArray = []; _root.rf['w' + i].red_flagtogoactionArray = []; _root.rf['w' + i].blue_flagtogoactionArray = []; ++i; } } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w4, _root.rf.w22]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w10, _root.rf.w20]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w15, _root.rf.w14]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w5, _root.rf.w12]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w12, _root.rf.w13]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w3, _root.rf.w11]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w21, _root.rf.w22]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w3]; _root.bluespawnArray.push(this); } } frame 11 { _root.playlvlmusic(); stop(); _root.ctfstyle = 'new'; _root.inplay = true; _root.gamesetup = false; _root.playernames = ['player2', 'player3', 'player4', 'player5', 'player6', 'player7', 'player8']; _root.ground._visible = false; _root.stamplevelFunction(); onEnterFrame = function () { if (_root.gamesetup == false) { _root.gameInitialiseFunction(); } _root.newssortingFunction(); _root.pauseFunction(); _root.scoreboardUpdate(); if (_root.inplay == true) { _root.medalsFunction(); _root.playerFunction(_root.player1); _root.artificialsmartsFunction(_root.player2); _root.artificialsmartsFunction(_root.player3); _root.artificialsmartsFunction(_root.player4); _root.artificialsmartsFunction(_root.player5); _root.artificialsmartsFunction(_root.player6); _root.artificialsmartsFunction(_root.player7); _root.artificialsmartsFunction(_root.player8); i = 0; while (i < _root.bullet1Array.length) { _root.bullet1Function(_root.bullet1Array[i], i); ++i; } i = 0; while (i < _root.rocketArray.length) { _root.rocketFunction(_root.rocketArray[i], i); ++i; } i = 0; while (i < _root.grenadeArray.length) { _root.grenadeFunction(_root.grenadeArray[i], i); ++i; } i = 0; while (i < _root.activepowerupArray.length) { _root.powerupFunction(_root.activepowerupArray[i], i); ++i; } i = 0; while (i < _root.bitsArray.length) { _root.bitsFunction(_root.bitsArray[i], i); ++i; } i = 0; while (i < _root.nailArray.length) { _root.nailFunction(_root.nailArray[i], i); ++i; } i = 0; while (i < _root.sawArray.length) { _root.sawFunction(_root.sawArray[i], i); ++i; } i = 0; while (i < _root.shellArray.length) { _root.shellFunction(_root.shellArray[i], i); ++i; } i = 0; while (i < _root.boostArray.length) { _root.boostFunction(_root.boostArray[i]); ++i; } i = 0; while (i < _root.flameArray.length) { _root.flameFunction(_root.flameArray[i], i); ++i; } i = 0; while (i < _root.gooArray.length) { _root.gooFunction(_root.gooArray[i], i); ++i; } _root.gamerulesFunction(); } _root.cameraFunction(); }; onMouseDown = function () { _root.player1.msdown = true; }; onMouseUp = function () { _root.player1.msdown = false; }; } movieClip 1426 { } movieClip 1427 { } instance bg1 of movieClip 1427 { onClipEvent (load) { m = 1.8; vm = 2; snapshot = new flash.display.BitmapData(this._width, this._height, true, 0); snapshot.draw(this); this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); this.level_case.attachBitmap(snapshot, 1); this.level_case.cacheAsBitmap = true; this.caceAsBitmap = true; } } movieClip 1429 { } movieClip 1431 { frame 1 { _visible = false; } instance w1 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w2 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w3 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w4 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w5 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w6 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w7 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w8 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w9 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w10 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w11 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w12 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w13 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w14 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w15 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w16 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = []; blue_flagArray = []; togoactionArray = []; } } instance w17 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w18 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w19 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w21 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w22 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w23 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w24 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w25 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w30 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } frame 2 { stop(); i = 0; while (i < 80) { _root.rf['w' + i].red_flagArray = []; _root.rf['w' + i].blue_flagArray = []; _root.rf['w' + i].red_flagtogoactionArray = []; _root.rf['w' + i].blue_flagtogoactionArray = []; ++i; } } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w1]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w22]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w4, _root.rf.w25]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w19, _root.rf.w30]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w9, _root.rf.w8]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w14, _root.rf.w15]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w3, _root.rf.w25]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w21, _root.rf.w30]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w13, _root.rf.w12]; _root.bluespawnArray.push(this); } } frame 12 { _root.playlvlmusic(); stop(); _root.ctfstyle = 'new'; _root.inplay = true; _root.gamesetup = false; _root.playernames = ['player2', 'player3', 'player4', 'player5', 'player6', 'player7', 'player8']; _root.ground._visible = false; _root.stamplevelFunction(); onEnterFrame = function () { if (_root.gamesetup == false) { _root.gameInitialiseFunction(); } _root.newssortingFunction(); _root.pauseFunction(); _root.scoreboardUpdate(); if (_root.inplay == true) { _root.medalsFunction(); _root.playerFunction(_root.player1); _root.artificialsmartsFunction(_root.player2); _root.artificialsmartsFunction(_root.player3); _root.artificialsmartsFunction(_root.player4); _root.artificialsmartsFunction(_root.player5); _root.artificialsmartsFunction(_root.player6); _root.artificialsmartsFunction(_root.player7); _root.artificialsmartsFunction(_root.player8); i = 0; while (i < _root.bullet1Array.length) { _root.bullet1Function(_root.bullet1Array[i], i); ++i; } i = 0; while (i < _root.rocketArray.length) { _root.rocketFunction(_root.rocketArray[i], i); ++i; } i = 0; while (i < _root.grenadeArray.length) { _root.grenadeFunction(_root.grenadeArray[i], i); ++i; } i = 0; while (i < _root.activepowerupArray.length) { _root.powerupFunction(_root.activepowerupArray[i], i); ++i; } i = 0; while (i < _root.bitsArray.length) { _root.bitsFunction(_root.bitsArray[i], i); ++i; } i = 0; while (i < _root.nailArray.length) { _root.nailFunction(_root.nailArray[i], i); ++i; } i = 0; while (i < _root.sawArray.length) { _root.sawFunction(_root.sawArray[i], i); ++i; } i = 0; while (i < _root.shellArray.length) { _root.shellFunction(_root.shellArray[i], i); ++i; } i = 0; while (i < _root.boostArray.length) { _root.boostFunction(_root.boostArray[i]); ++i; } i = 0; while (i < _root.flameArray.length) { _root.flameFunction(_root.flameArray[i], i); ++i; } i = 0; while (i < _root.gooArray.length) { _root.gooFunction(_root.gooArray[i], i); ++i; } _root.gamerulesFunction(); } _root.cameraFunction(); }; onMouseDown = function () { _root.player1.msdown = true; }; onMouseUp = function () { _root.player1.msdown = false; }; } movieClip 1433 { } movieClip 1434 { } instance bg1 of movieClip 1434 { onClipEvent (load) { m = 1.8; vm = 2; snapshot = new flash.display.BitmapData(this._width, this._height, true, 0); snapshot.draw(this); this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); this.level_case.attachBitmap(snapshot, 1); this.level_case.cacheAsBitmap = true; this.caceAsBitmap = true; } } movieClip 1436 { } movieClip 1438 { frame 1 { _visible = false; } instance w1 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w2 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w3 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w4 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w5 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w6 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w7 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w8 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w9 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w10 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w11 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w12 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w13 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w14 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w15 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w16 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w17 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w20 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w30 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } instance w31 of movieClip 1161 { onClipEvent (load) { togoArray = []; red_flagArray = [2]; blue_flagArray = [0, 1]; togoactionArray = []; } } frame 2 { stop(); i = 0; while (i < 80) { _root.rf['w' + i].red_flagArray = []; _root.rf['w' + i].blue_flagArray = []; _root.rf['w' + i].red_flagtogoactionArray = []; _root.rf['w' + i].blue_flagtogoactionArray = []; ++i; } } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w7, _root.rf.w20]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w3, _root.rf.w4]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w16, _root.rf.w10]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w13, _root.rf.w11]; _root.redspawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w5, _root.rf.w6]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w8, _root.rf.w9]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w8, _root.rf.w9]; } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w1, _root.rf.w2]; _root.bluespawnArray.push(this); } } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w12, _root.rf.w15]; _root.redspawnArray.push(this); } } instance vcam of movieClip 1154 { onClipEvent (load) { _x = 374.1; _y = 242; var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; target = _root.player1; } } frame 13 { _root.hud._x = 275; _root.hud._y = 200; _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); _root.walkto2.swapDepths(_root.getNextHighestDepth()); _root.walkto2.removeMovieClip(); _root.walkto.swapDepths(_root.getNextHighestDepth()); _root.walkto.removeMovieClip(); if (menumusicplaying != true) { _root.menumusic.start(0, 99); _root.menumusic.setVolume(_root.musicvolume); menumusicplaying = true; } _root.saveitFunction(); if (_root.outcome == 'win') { if (_root.gamemode == 'story') { _root[_root.leveltounlock] = true; } _root.winstreak += 1; _root.totalpoints += 100; } else { _root.winstreak = 0; } tnm = 0; if (_root.setup_gametype == 'capture the flag' or _root.setup_gametype == 'control points') { i = 0; while (i < _root.tscore_score.length) { tscore = _root.scoreboard.attachMovie('tscore', 'tscore' + tnm, _root.scoreboard.getNextHighestDepth()); tnm += 1; tscore._y = -110.85; tscore._x = 0; tscore.score = _root.tscore_score[i]; tscore.gotoAndStop(_root.tscore_name[i]); ++i; } ypos = -17.8; xscl = 85; yposplus = 18; xplace = -145.25; } else { ypos = -66.75; xscl = 100; yposplus = 20; xplace = -172.1; } nm = 0; i = 0; while (i < _root.postgamesummary.length) { newscore = _root.scoreboard.attachMovie('summarybg', 'summarybg' + nm, _root.scoreboard.getNextHighestDepth()); nm += 1; newscore._xscale = xscl; newscore._yscale = xscl; newscore._x = xplace; newscore._y = ypos; newscore.ypos = ypos; ypos += yposplus; if (_root.postgamesummary[i] == 'player1') { if (_root.gamemode == 'custom') { newscore.name = _root.player1_customname; } if (_root.gamemode == 'story') { newscore.name = 'max'; } } else { newscore.name = _root[_root.postgamesummary[i] + '_char']; } newscore.kills = _root[_root.postgamesummary[i] + '_kills']; newscore.deaths = _root[_root.postgamesummary[i] + '_deaths']; newscore.score = _root[_root.postgamesummary[i] + '_points']; if (_root.setup_gametype != 'deathmatch' && _root.setup_gametype != 'elimination') { if (_root[_root.postgamesummary[i] + '_team'] == 'team1') { newscore.gotoAndStop(2); } if (_root[_root.postgamesummary[i] + '_team'] == 'team2') { newscore.gotoAndStop(3); } if (_root[_root.postgamesummary[i] + '_team'] == 'team3') { newscore.gotoAndStop(4); } if (_root[_root.postgamesummary[i] + '_team'] == 'team4') { newscore.gotoAndStop(5); } } ++i; } onEnterFrame = function () { if (_root.gun1xp >= _root.gun1totalxp && _root.g1goldul != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('goldunlocked'); _root.g1gold = true; _root.hud.mcase.medal.displaymedalname = 'blaster'; _root.g1goldul = true; } if (_root.gun2xp >= _root.gun1totalxp && _root.g2goldul != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('goldunlocked'); _root.g2gold = true; _root.hud.mcase.medal.displaymedalname = 'shotgun'; _root.g2goldul = true; } if (_root.gun3xp >= _root.gun1totalxp && _root.g3goldul != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('goldunlocked'); _root.g3gold = true; _root.hud.mcase.medal.displaymedalname = 'sniper'; _root.g3goldul = true; } if (_root.gun4xp >= _root.gun1totalxp && _root.g4goldul != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('goldunlocked'); _root.g4gold = true; _root.hud.mcase.medal.displaymedalname = 'rocket'; _root.g4goldul = true; } if (_root.gun5xp >= _root.gun1totalxp && _root.g5goldul != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('goldunlocked'); _root.g5gold = true; _root.hud.mcase.medal.displaymedalname = 'grenade'; _root.g5goldul = true; } if (_root.gun6xp >= _root.gun1totalxp && _root.g6goldul != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('goldunlocked'); _root.g6gold = true; _root.hud.mcase.medal.displaymedalname = 'homing'; _root.g6goldul = true; } if (_root.gun7xp >= _root.gun1totalxp && _root.g7goldul != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('goldunlocked'); _root.g7gold = true; _root.hud.mcase.medal.displaymedalname = 'ultragun'; _root.g7goldul = true; } if (_root.gun8xp >= _root.gun1totalxp && _root.g8goldul != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('goldunlocked'); _root.g8gold = true; _root.hud.mcase.medal.displaymedalname = 'nailgun'; _root.g8goldul = true; } if (_root.gun9xp >= _root.gun1totalxp && _root.g9goldul != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('goldunlocked'); _root.g9gold = true; _root.hud.mcase.medal.displaymedalname = 'shell'; _root.g9goldul = true; } if (_root.gun10xp >= _root.gun1totalxp && _root.g10goldul != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('goldunlocked'); _root.g10gold = true; _root.hud.mcase.medal.displaymedalname = 'beam gun'; _root.g10goldul = true; } if (_root.gun11xp >= _root.gun1totalxp && _root.g11goldul != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('goldunlocked'); _root.g11gold = true; _root.hud.mcase.medal.displaymedalname = 'flame'; _root.g11goldul = true; } if (_root.gun12xp >= _root.gun1totalxp && _root.g12goldul != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('goldunlocked'); _root.g12gold = true; _root.hud.mcase.medal.displaymedalname = 'goo gun'; _root.g12goldul = true; } if (_root.winstreak > 5 && _root.m7 != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('medal'); _root.hud.mcase.medal.displaymedalname = 'winning streak'; _root.m7 = true; } if (_root.player1_deaths < 1 && _root.outcome == 'win' && _root.m8 != true && _root.hud.mcase._currentframe == 1) { _root.hud.mcase.gotoAndPlay('medal'); _root.hud.mcase.medal.displaymedalname = 'untouchable'; _root.m8 = true; } if (_root.m16 != true && _root.beatthegame == true) { _root.hud.mcase.gotoAndPlay('medal'); _root.hud.mcase.medal.displaymedalname = 'combat hero'; _root.m16 = true; } i = 0; while (i < _root.postgamesummary.length) { _root.scoreboard['summarybg' + i]._y += (_root.scoreboard['summarybg' + i].ypos - _root.scoreboard['summarybg' + i]._y) / 4; ++i; } i = 0; while (i < _root.tscore_score.length) { _root.scoreboard['tscore' + i]._x += ((320 / (1 + _root.tscore_score.length)) * (i + 1) - _root.scoreboard['tscore' + i]._x - 160) / 3; ++i; } _root.medalsFunction(); }; } movieClip 1440 { } movieClip 1448 { frame 1 { stop(); } } movieClip 1453 { frame 1 { if (_root.setup_gametype == 'capture the flag' or _root.setup_gametype == 'control points') { gotoAndStop(2); } else { stop(); } } instance of movieClip 932 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(6); } onClipEvent (release) { _root.hud.swapDepths(_root.getNextHighestDepth()); _root.hud.removeMovieClip(); _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.gotoAndStop(2); } } instance of movieClip 970 { onClipEvent (rollOver) { gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.gotoAndStop('shop'); } } instance of movieClip 970 { onClipEvent (rollOver) { gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.gotoAndStop('shop'); } } } movieClip 1456 { frame 1 { gotoAndStop(_root.outcome); } } frame 14 { delete this.onEnterFrame; if (menumusicplaying != true) { _root.menumusic.start(0, 99); _root.menumusic.setVolume(_root.musicvolume); menumusicplaying = true; } _root.txt_gun = ''; _root.saveitFunction(); } movieClip 1465 { } movieClip 1467 { frame 1 { stop(); } } movieClip 1475 { instance of movieClip 1467 { onClipEvent (load) { this.bar._xscale = (_root.gun1xp / _root.gun1totalxp) * 100; this.bartip._x = this.bar._xscale / 1.43; if (_root.gun1xp >= _root.gun1totalxp) { this.gotoAndStop(2); } } } instance of movieClip 1467 { onClipEvent (load) { this.bar._xscale = (_root.gun1xp / _root.totalgun1xp) * 100; this.bartip._x = this.bar._xscale / 1.43; if (_root.gun1xp >= _root.gun1totalxp) { this.gotoAndStop(2); } } } } instance of movieClip 1475 { onClipEvent (load) { if (_root.g1ul == true) { if (_root.g1gold == true) { this.gotoAndStop(3); } if (_root.g1gold != true) { this.gotoAndStop(1); } } if (_root.g1ul != true) { this.gotoAndStop(5); } } onClipEvent (rollOver) { _root.txt_gun = 'default weapon. an automatic sub machine gun'; if (this._currentframe == 5) { this.gotoAndStop(6); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } if (this._currentframe == 1) { if (_root.gun1xp >= _root.gun1totalxp) { this.gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } if (this._currentframe == 3) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(4); } } onClipEvent (rollOut) { if (this._currentframe == 6) { this.gotoAndStop(5); } if (this._currentframe == 2) { this.gotoAndStop(1); } if (this._currentframe == 4) { this.gotoAndStop(3); } } onClipEvent (release) { if (this._currentframe == 1 or this._currentframe == 2) { if (_root.gun1xp >= _root.gun1totalxp) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g1gold = true; } } if (this._currentframe == 3 or this._currentframe == 4) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g1gold = false; } if (this._currentframe == 5 or this._currentframe == 6) { if (_root.totalpoints >= 500) { _parent.ttlpointdisp.gotoAndPlay(2); _root.totalpoints -= 500; _root.g1ul = true; _root.cash.start(0, 0); _root.cash.setVolume(_root.sfxvolume); } else { _root.denied.start(0, 0); _root.denied.setVolume(_root.sfxvolume); _parent.ttlpointdisp.gotoAndPlay(2); } } if (_root.g1gold == true && _root.g1ul == true) { this.gotoAndStop(3); } if (_root.g1gold != true && _root.g1ul == true) { this.gotoAndStop(1); } } } movieClip 1482 { instance of movieClip 1467 { onClipEvent (load) { this.bar._xscale = (_root.gun2xp / _root.gun2totalxp) * 100; this.bartip._x = this.bar._xscale / 1.43; if (_root.gun2xp >= _root.gun2totalxp) { this.gotoAndStop(2); } } } } instance of movieClip 1482 { onClipEvent (load) { if (_root.g2ul == true) { if (_root.g2gold == true) { this.gotoAndStop(3); } if (_root.g2gold != true) { this.gotoAndStop(1); } } if (_root.g2ul != true) { this.gotoAndStop(5); } } onClipEvent (rollOver) { _root.txt_gun = 'a shotgun that fires three rounds at once.'; if (this._currentframe == 5) { this.gotoAndStop(6); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } if (this._currentframe == 1) { if (_root.gun2xp >= _root.gun2totalxp) { this.gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } if (this._currentframe == 3) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(4); } } onClipEvent (rollOut) { if (this._currentframe == 6) { this.gotoAndStop(5); } if (this._currentframe == 2) { this.gotoAndStop(1); } if (this._currentframe == 4) { this.gotoAndStop(3); } } onClipEvent (release) { if (this._currentframe == 1 or this._currentframe == 2) { if (_root.gun2xp >= _root.gun2totalxp) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g2gold = true; } } if (this._currentframe == 3 or this._currentframe == 4) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g2gold = false; } if (this._currentframe == 5 or this._currentframe == 6) { if (_root.totalpoints >= 500) { _parent.ttlpointdisp.gotoAndPlay(2); _root.totalpoints -= 500; _root.g2ul = true; _root.cash.start(0, 0); _root.cash.setVolume(_root.sfxvolume); } else { _root.denied.start(0, 0); _root.denied.setVolume(_root.sfxvolume); _parent.ttlpointdisp.gotoAndPlay(2); } } if (_root.g2gold == true && _root.g2ul == true) { this.gotoAndStop(3); } if (_root.g2gold != true && _root.g2ul == true) { this.gotoAndStop(1); } } } movieClip 1488 { instance of movieClip 1467 { onClipEvent (load) { this.bar._xscale = (_root.gun4xp / _root.gun4totalxp) * 100; this.bartip._x = this.bar._xscale / 1.43; if (_root.gun4xp >= _root.gun4totalxp) { this.gotoAndStop(2); } } } } instance of movieClip 1488 { onClipEvent (load) { if (_root.g4ul == true) { if (_root.g4gold == true) { this.gotoAndStop(3); } if (_root.g4gold != true) { this.gotoAndStop(1); } } if (_root.g4ul != true) { this.gotoAndStop(5); } } onClipEvent (rollOver) { _root.txt_gun = 'fires rocket propoelled explosives'; if (this._currentframe == 5) { this.gotoAndStop(6); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } if (this._currentframe == 1) { if (_root.gun4xp >= _root.gun4totalxp) { this.gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } if (this._currentframe == 3) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(4); } } onClipEvent (rollOut) { if (this._currentframe == 6) { this.gotoAndStop(5); } if (this._currentframe == 2) { this.gotoAndStop(1); } if (this._currentframe == 4) { this.gotoAndStop(3); } } onClipEvent (release) { if (this._currentframe == 1 or this._currentframe == 2) { if (_root.gun4xp >= _root.gun4totalxp) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g4gold = true; } } if (this._currentframe == 3 or this._currentframe == 4) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g4gold = false; } if (this._currentframe == 5 or this._currentframe == 6) { if (_root.totalpoints >= 500) { _parent.ttlpointdisp.gotoAndPlay(2); _root.totalpoints -= 500; _root.g4ul = true; _root.cash.start(0, 0); _root.cash.setVolume(_root.sfxvolume); } else { _root.denied.start(0, 0); _root.denied.setVolume(_root.sfxvolume); _parent.ttlpointdisp.gotoAndPlay(2); } } if (_root.g4gold == true && _root.g4ul == true) { this.gotoAndStop(3); } if (_root.g4gold != true && _root.g4ul == true) { this.gotoAndStop(1); } } } movieClip 1494 { instance of movieClip 1467 { onClipEvent (load) { this.bar._xscale = (_root.gun3xp / _root.gun3totalxp) * 100; this.bartip._x = this.bar._xscale / 1.43; if (_root.gun3xp >= _root.gun3totalxp) { this.gotoAndStop(2); } } } } instance of movieClip 1494 { onClipEvent (load) { if (_root.g3ul == true) { if (_root.g3gold == true) { this.gotoAndStop(3); } if (_root.g3gold != true) { this.gotoAndStop(1); } } if (_root.g3ul != true) { this.gotoAndStop(5); } } onClipEvent (rollOver) { _root.txt_gun = 'deals high damage but takes a long time to reload.'; if (this._currentframe == 5) { this.gotoAndStop(6); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } if (this._currentframe == 1) { if (_root.gun3xp >= _root.gun3totalxp) { this.gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } if (this._currentframe == 3) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(4); } } onClipEvent (rollOut) { if (this._currentframe == 6) { this.gotoAndStop(5); } if (this._currentframe == 2) { this.gotoAndStop(1); } if (this._currentframe == 4) { this.gotoAndStop(3); } } onClipEvent (release) { if (this._currentframe == 1 or this._currentframe == 2) { if (_root.gun3xp >= _root.gun3totalxp) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g3gold = true; } } if (this._currentframe == 3 or this._currentframe == 4) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g3gold = false; } if (this._currentframe == 5 or this._currentframe == 6) { if (_root.totalpoints >= 500) { _parent.ttlpointdisp.gotoAndPlay(2); _root.totalpoints -= 500; _root.g3ul = true; _root.cash.start(0, 0); _root.cash.setVolume(_root.sfxvolume); } else { _root.denied.start(0, 0); _root.denied.setVolume(_root.sfxvolume); _parent.ttlpointdisp.gotoAndPlay(2); } } if (_root.g3gold == true && _root.g3ul == true) { this.gotoAndStop(3); } if (_root.g3gold != true && _root.g3ul == true) { this.gotoAndStop(1); } } } movieClip 1500 { instance of movieClip 1467 { onClipEvent (load) { this.bar._xscale = (_root.gun5xp / _root.gun5totalxp) * 100; this.bartip._x = this.bar._xscale / 1.43; if (_root.gun5xp >= _root.gun5totalxp) { this.gotoAndStop(2); } } } } instance of movieClip 1500 { onClipEvent (load) { if (_root.g5ul == true) { if (_root.g5gold == true) { this.gotoAndStop(3); } if (_root.g5gold != true) { this.gotoAndStop(1); } } if (_root.g5ul != true) { this.gotoAndStop(5); } } onClipEvent (rollOver) { _root.txt_gun = 'fires bouncy grenades'; if (this._currentframe == 5) { this.gotoAndStop(6); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } if (this._currentframe == 1) { if (_root.gun5xp >= _root.gun5totalxp) { this.gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } if (this._currentframe == 3) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(4); } } onClipEvent (rollOut) { if (this._currentframe == 6) { this.gotoAndStop(5); } if (this._currentframe == 2) { this.gotoAndStop(1); } if (this._currentframe == 4) { this.gotoAndStop(3); } } onClipEvent (release) { if (this._currentframe == 1 or this._currentframe == 2) { if (_root.gun5xp >= _root.gun5totalxp) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g5gold = true; } } if (this._currentframe == 3 or this._currentframe == 4) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g5gold = false; } if (this._currentframe == 5 or this._currentframe == 6) { if (_root.totalpoints >= 500) { _parent.ttlpointdisp.gotoAndPlay(2); _root.totalpoints -= 500; _root.g5ul = true; _root.cash.start(0, 0); _root.cash.setVolume(_root.sfxvolume); } else { _root.denied.start(0, 0); _root.denied.setVolume(_root.sfxvolume); _parent.ttlpointdisp.gotoAndPlay(2); } } if (_root.g5gold == true && _root.g5ul == true) { this.gotoAndStop(3); } if (_root.g5gold != true && _root.g5ul == true) { this.gotoAndStop(1); } } } movieClip 1507 { instance of movieClip 1467 { onClipEvent (load) { this.bar._xscale = (_root.gun6xp / _root.gun6totalxp) * 100; this.bartip._x = this.bar._xscale / 1.43; if (_root.gun6xp >= _root.gun6totalxp) { this.gotoAndStop(2); } } } } instance of movieClip 1507 { onClipEvent (load) { if (_root.g6ul == true) { if (_root.g6gold == true) { this.gotoAndStop(3); } if (_root.g6gold != true) { this.gotoAndStop(1); } } if (_root.g6ul != true) { this.gotoAndStop(5); } } onClipEvent (rollOver) { _root.txt_gun = 'homing rocket launcher'; if (this._currentframe == 5) { this.gotoAndStop(6); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } if (this._currentframe == 1) { if (_root.gun6xp >= _root.gun6totalxp) { this.gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } if (this._currentframe == 3) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(4); } } onClipEvent (rollOut) { if (this._currentframe == 6) { this.gotoAndStop(5); } if (this._currentframe == 2) { this.gotoAndStop(1); } if (this._currentframe == 4) { this.gotoAndStop(3); } } onClipEvent (release) { if (this._currentframe == 1 or this._currentframe == 2) { if (_root.gun6xp >= _root.gun6totalxp) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g6gold = true; } } if (this._currentframe == 3 or this._currentframe == 4) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g6gold = false; } if (this._currentframe == 5 or this._currentframe == 6) { if (_root.totalpoints >= 750) { _parent.ttlpointdisp.gotoAndPlay(2); _root.totalpoints -= 750; _root.g6ul = true; _root.cash.start(0, 0); _root.cash.setVolume(_root.sfxvolume); } else { _root.denied.start(0, 0); _root.denied.setVolume(_root.sfxvolume); _parent.ttlpointdisp.gotoAndPlay(2); } } if (_root.g6gold == true && _root.g6ul == true) { this.gotoAndStop(3); } if (_root.g6gold != true && _root.g6ul == true) { this.gotoAndStop(1); } } } movieClip 1513 { instance of movieClip 1467 { onClipEvent (load) { this.bar._xscale = (_root.gun7xp / _root.gun7totalxp) * 100; this.bartip._x = this.bar._xscale / 1.43; if (_root.gun7xp >= _root.gun7totalxp) { this.gotoAndStop(2); } } } } instance of movieClip 1513 { onClipEvent (load) { if (_root.g7ul == true) { if (_root.g7gold == true) { this.gotoAndStop(3); } if (_root.g7gold != true) { this.gotoAndStop(1); } } if (_root.g7ul != true) { this.gotoAndStop(5); } } onClipEvent (rollOver) { _root.txt_gun = 'fires a hail storm of bullets'; if (this._currentframe == 5) { this.gotoAndStop(6); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } if (this._currentframe == 1) { if (_root.gun7xp >= _root.gun7totalxp) { this.gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } if (this._currentframe == 3) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(4); } } onClipEvent (rollOut) { if (this._currentframe == 6) { this.gotoAndStop(5); } if (this._currentframe == 2) { this.gotoAndStop(1); } if (this._currentframe == 4) { this.gotoAndStop(3); } } onClipEvent (release) { if (this._currentframe == 1 or this._currentframe == 2) { if (_root.gun7xp >= _root.gun7totalxp) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g7gold = true; } } if (this._currentframe == 3 or this._currentframe == 4) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g7gold = false; } if (this._currentframe == 5 or this._currentframe == 6) { if (_root.totalpoints >= 500) { _parent.ttlpointdisp.gotoAndPlay(2); _root.totalpoints -= 500; _root.g7ul = true; _root.cash.start(0, 0); _root.cash.setVolume(_root.sfxvolume); } else { _root.denied.start(0, 0); _root.denied.setVolume(_root.sfxvolume); _parent.ttlpointdisp.gotoAndPlay(2); } } if (_root.g7gold == true && _root.g7ul == true) { this.gotoAndStop(3); } if (_root.g7gold != true && _root.g7ul == true) { this.gotoAndStop(1); } } } movieClip 1519 { instance of movieClip 1467 { onClipEvent (load) { this.bar._xscale = (_root.gun8xp / _root.gun8totalxp) * 100; this.bartip._x = this.bar._xscale / 1.43; if (_root.gun8xp >= _root.gun8totalxp) { this.gotoAndStop(2); } } } } instance of movieClip 1519 { onClipEvent (load) { if (_root.g8ul == true) { if (_root.g8gold == true) { this.gotoAndStop(3); } if (_root.g8gold != true) { this.gotoAndStop(1); } } if (_root.g8ul != true) { this.gotoAndStop(5); } } onClipEvent (rollOver) { _root.txt_gun = 'fires nails which home in on their target'; if (this._currentframe == 5) { this.gotoAndStop(6); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } if (this._currentframe == 1) { if (_root.gun8xp >= _root.gun8totalxp) { this.gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } if (this._currentframe == 3) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(4); } } onClipEvent (rollOut) { if (this._currentframe == 6) { this.gotoAndStop(5); } if (this._currentframe == 2) { this.gotoAndStop(1); } if (this._currentframe == 4) { this.gotoAndStop(3); } } onClipEvent (release) { if (this._currentframe == 1 or this._currentframe == 2) { if (_root.gun8xp >= _root.gun8totalxp) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g8gold = true; } } if (this._currentframe == 3 or this._currentframe == 4) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g8gold = false; } if (this._currentframe == 5 or this._currentframe == 6) { if (_root.totalpoints >= 500) { _parent.ttlpointdisp.gotoAndPlay(2); _root.totalpoints -= 500; _root.g8ul = true; _root.cash.start(0, 0); _root.cash.setVolume(_root.sfxvolume); } else { _root.denied.start(0, 0); _root.denied.setVolume(_root.sfxvolume); _parent.ttlpointdisp.gotoAndPlay(2); } } if (_root.g8gold == true && _root.g8ul == true) { this.gotoAndStop(3); } if (_root.g8gold != true && _root.g8ul == true) { this.gotoAndStop(1); } } } movieClip 1525 { instance of movieClip 1467 { onClipEvent (load) { this.bar._xscale = (_root.gun9xp / _root.gun9totalxp) * 100; this.bartip._x = this.bar._xscale / 1.43; if (_root.gun9xp >= _root.gun9totalxp) { this.gotoAndStop(2); } } } } instance of movieClip 1525 { onClipEvent (load) { if (_root.g9ul == true) { if (_root.g9gold == true) { this.gotoAndStop(3); } if (_root.g9gold != true) { this.gotoAndStop(1); } } if (_root.g9ul != true) { this.gotoAndStop(5); } } onClipEvent (rollOver) { _root.txt_gun = 'launches mario kart style turtle shells'; if (this._currentframe == 5) { this.gotoAndStop(6); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } if (this._currentframe == 1) { if (_root.gun9xp >= _root.gun9totalxp) { this.gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } if (this._currentframe == 3) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(4); } } onClipEvent (rollOut) { if (this._currentframe == 6) { this.gotoAndStop(5); } if (this._currentframe == 2) { this.gotoAndStop(1); } if (this._currentframe == 4) { this.gotoAndStop(3); } } onClipEvent (release) { if (this._currentframe == 1 or this._currentframe == 2) { if (_root.gun9xp >= _root.gun9totalxp) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g9gold = true; } } if (this._currentframe == 3 or this._currentframe == 4) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g9gold = false; } if (this._currentframe == 5 or this._currentframe == 6) { if (_root.totalpoints >= 500) { _parent.ttlpointdisp.gotoAndPlay(2); _root.totalpoints -= 500; _root.g9ul = true; _root.cash.start(0, 0); _root.cash.setVolume(_root.sfxvolume); } else { _root.denied.start(0, 0); _root.denied.setVolume(_root.sfxvolume); _parent.ttlpointdisp.gotoAndPlay(2); } } if (_root.g9gold == true && _root.g9ul == true) { this.gotoAndStop(3); } if (_root.g9gold != true && _root.g9ul == true) { this.gotoAndStop(1); } } } movieClip 1531 { instance of movieClip 1467 { onClipEvent (load) { this.bar._xscale = (_root.gun10xp / _root.gun10totalxp) * 100; this.bartip._x = this.bar._xscale / 1.43; if (_root.gun10xp >= _root.gun10totalxp) { this.gotoAndStop(2); } } } } instance of movieClip 1531 { onClipEvent (load) { if (_root.g10ul == true) { if (_root.g10gold == true) { this.gotoAndStop(3); } if (_root.g10gold != true) { this.gotoAndStop(1); } } if (_root.g10ul != true) { this.gotoAndStop(5); } } onClipEvent (rollOver) { _root.txt_gun = 'emits a power beam that cuts through multiple enemies'; if (this._currentframe == 5) { this.gotoAndStop(6); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } if (this._currentframe == 1) { if (_root.gun10xp >= _root.gun10totalxp) { this.gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } if (this._currentframe == 3) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(4); } } onClipEvent (rollOut) { if (this._currentframe == 6) { this.gotoAndStop(5); } if (this._currentframe == 2) { this.gotoAndStop(1); } if (this._currentframe == 4) { this.gotoAndStop(3); } } onClipEvent (release) { if (this._currentframe == 1 or this._currentframe == 2) { if (_root.gun10xp >= _root.gun10totalxp) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g10gold = true; } } if (this._currentframe == 3 or this._currentframe == 4) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g10gold = false; } if (this._currentframe == 5 or this._currentframe == 6) { if (_root.totalpoints >= 500) { _parent.ttlpointdisp.gotoAndPlay(2); _root.totalpoints -= 500; _root.g10ul = true; _root.cash.start(0, 0); _root.cash.setVolume(_root.sfxvolume); } else { _root.denied.start(0, 0); _root.denied.setVolume(_root.sfxvolume); _parent.ttlpointdisp.gotoAndPlay(2); } } if (_root.g10gold == true && _root.g10ul == true) { this.gotoAndStop(3); } if (_root.g10gold != true && _root.g10ul == true) { this.gotoAndStop(1); } } } movieClip 1537 { instance of movieClip 1467 { onClipEvent (load) { this.bar._xscale = (_root.gun11xp / _root.gun11totalxp) * 100; this.bartip._x = this.bar._xscale / 1.43; if (_root.gun11xp >= _root.gun11totalxp) { this.gotoAndStop(2); } } } } instance of movieClip 1537 { onClipEvent (load) { if (_root.g11ul == true) { if (_root.g11gold == true) { this.gotoAndStop(3); } if (_root.g11gold != true) { this.gotoAndStop(1); } } if (_root.g11ul != true) { this.gotoAndStop(5); } } onClipEvent (rollOver) { _root.txt_gun = 'flame thrower'; if (this._currentframe == 5) { this.gotoAndStop(6); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } if (this._currentframe == 1) { if (_root.gun11xp >= _root.gun11totalxp) { this.gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } if (this._currentframe == 3) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(4); } } onClipEvent (rollOut) { if (this._currentframe == 6) { this.gotoAndStop(5); } if (this._currentframe == 2) { this.gotoAndStop(1); } if (this._currentframe == 4) { this.gotoAndStop(3); } } onClipEvent (release) { if (this._currentframe == 1 or this._currentframe == 2) { if (_root.gun11xp >= _root.gun11totalxp) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g11gold = true; } } if (this._currentframe == 3 or this._currentframe == 4) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g11gold = false; } if (this._currentframe == 5 or this._currentframe == 6) { if (_root.totalpoints >= 500) { _parent.ttlpointdisp.gotoAndPlay(2); _root.totalpoints -= 500; _root.g11ul = true; _root.cash.start(0, 0); _root.cash.setVolume(_root.sfxvolume); } else { _root.denied.start(0, 0); _root.denied.setVolume(_root.sfxvolume); _parent.ttlpointdisp.gotoAndPlay(2); } } if (_root.g11gold == true && _root.g11ul == true) { this.gotoAndStop(3); } if (_root.g11gold != true && _root.g11ul == true) { this.gotoAndStop(1); } } } movieClip 1543 { instance of movieClip 1467 { onClipEvent (load) { this.bar._xscale = (_root.gun12xp / _root.gun12totalxp) * 100; this.bartip._x = this.bar._xscale / 1.43; if (_root.gun12xp >= _root.gun12totalxp) { this.gotoAndStop(2); } } } } instance of movieClip 1543 { onClipEvent (load) { if (_root.g12ul == true) { if (_root.g12gold == true) { this.gotoAndStop(3); } if (_root.g12gold != true) { this.gotoAndStop(1); } } if (_root.g12ul != true) { this.gotoAndStop(5); } } onClipEvent (rollOver) { _root.txt_gun = 'blasts out balls of goo which stick and drain health'; if (this._currentframe == 5) { this.gotoAndStop(6); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } if (this._currentframe == 1) { if (_root.gun12xp >= _root.gun12totalxp) { this.gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } if (this._currentframe == 3) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); this.gotoAndStop(4); } } onClipEvent (rollOut) { if (this._currentframe == 6) { this.gotoAndStop(5); } if (this._currentframe == 2) { this.gotoAndStop(1); } if (this._currentframe == 4) { this.gotoAndStop(3); } } onClipEvent (release) { if (this._currentframe == 1 or this._currentframe == 2) { if (_root.gun12xp >= _root.gun12totalxp) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g12gold = true; } } if (this._currentframe == 3 or this._currentframe == 4) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); _root.g12gold = false; } if (this._currentframe == 5 or this._currentframe == 6) { if (_root.totalpoints >= 500) { _parent.ttlpointdisp.gotoAndPlay(2); _root.totalpoints -= 500; _root.g12ul = true; _root.cash.start(0, 0); _root.cash.setVolume(_root.sfxvolume); } else { _root.denied.start(0, 0); _root.denied.setVolume(_root.sfxvolume); _parent.ttlpointdisp.gotoAndPlay(2); } } if (_root.g12gold == true && _root.g12ul == true) { this.gotoAndStop(3); } if (_root.g12gold != true && _root.g12ul == true) { this.gotoAndStop(1); } } } instance of movieClip 932 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(6); } onClipEvent (release) { _root.hud.swapDepths(_root.getNextHighestDepth()); _root.hud.removeMovieClip(); _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.gotoAndStop(2); } } movieClip 1547 { } instance of movieClip 1547 { onClipEvent (load) { this.cacheAsBitmap = true; } } frame 15 { _root.playlvlmusic(); stop(); _root.ctfstyle = 'old'; _root.inplay = true; _root.gamesetup = false; _root.playernames = ['player2', 'player3', 'player4', 'player5', 'player6', 'player7', 'player8']; _root.ground._visible = false; _root.stamplevelFunction(); _root.hud.showstats.gotoAndStop(1); _root.walkto2._visible = false; _root.powerupArray = ['shotgun', 'sniper']; _root.bubble.timer = 15; onEnterFrame = function () { --_root.bubble.timer; _root.powerupArray = ['shotgun', 'sniper']; if (_root.bubble._currentframe == 1) { if (_root.player1.hitbox.hitTest(_root.walkto.hitbox)) { _root.walkto2._visible = true; _root.walkto._visible = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.bubble.gotoAndStop(2); } } if (_root.bubble._currentframe == 2) { if (_root.player1.hitbox.hitTest(_root.walkto2.hitbox)) { _root.walkto2._visible = false; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.bubble.gotoAndStop(3); } } if (_root.bubble._currentframe == 4) { if (_root.player1_points > 0) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.bubble.gotoAndStop(5); } } if (_root.bubble._currentframe == 6) { _root.red_flag._x = 58.25; _root.red_flag._y = 338.75; _root.blue_flag._x = 713.55; _root.blue_flag._y = 518.8; _root.setup_gametype = 'capture the flag'; if (_root.team1_points > 0) { _root.bubble.timer = 15; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.bubble.gotoAndStop(7); } } if (_root.bubble._currentframe == 7) { if (_root.bubble.timer < 1 && Key.isDown(32)) { _root.bubble.timer = 15; _root.bubble.gotoAndStop(8); } } if (_root.bubble._currentframe == 8) { if (_root.bubble.timer < 1 && Key.isDown(32)) { _root.bubble.timer = 15; _root.bubble.gotoAndStop(9); } } if (_root.bubble._currentframe == 9) { if (_root.bubble.timer < 1 && Key.isDown(32)) { _root.bubble.timer = 15; _root.bubble.gotoAndStop(10); } } if (_root.bubble._currentframe == 10) { if (_root.bubble.timer < 1 && Key.isDown(32)) { _root.bubble.timer = 15; _root.bubble.gotoAndStop(11); } } if (_root.bubble._currentframe == 5) { _root.setup_gametype = 'control points'; _root.addplayer.removeMovieClip(); _root.controlpoint._x = 477.1; _root.controlpoint._y = 310.3; if (_root.controlpoint.bulbous._currentframe != 1) { _root.team1_points = 0; _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.bubble.gotoAndStop(6); } } if (_root.bubble._currentframe == 3) { if (_root.player1.weapon != 'machinegun') { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _root.bubble.gotoAndStop(4); addplayer = attachMovie('team2_unit', 'player2', _root.getNextHighestDepth()); addplayer.team = 'team2'; addplayer.grav = 0; addplayer.life = 9; addplayer.aim = 5; addplayer.weapon = 'machinegun'; addplayer.character = 'bot'; addplayer._x = 570.7000000000001; addplayer._y = 531; addplayer.gototarget = _root.rf.w4; addplayer.lastorderfrom = 'void'; addplayer.gotoAndStop(6); addplayer.enemylist = new Array(); addplayer.enemylist = ['player1']; addplayer.totallife = addplayer.life; addplayer.lbar = _root.attachMovie('lbar', 'lbar' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); addplayer.score_disp = _root.hud.scoreboard.attachMovie('score_disp', addplayer._name + '_score_disp', _root.hud.scoreboard.getNextHighestDepth()); addplayer.score_disp.name = addplayer.character; addplayer.score_disp.plyr = addplayer._name; addplayer.score_disp.tm = addplayer.team; addplayer.score_disp.team.gotoAndStop(addplayer.team); addplayer.mapmarker = _root.hud.map.attachMovie('mapmarker', 'mapmarker' + _root.getNextHighestDepth(), _root.hud.map.getNextHighestDepth()); addplayer.mapmarker.gotoAndStop(addplayer.team); addplayer.mapmarker._x = addplayer._x / (_root.ground._width / _root.hud.map._width); addplayer.mapmarker._y = (addplayer._y - addplayer.hitbox._height / 2) / (_root.ground._height / _root.hud.map._height); } } _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height - 20 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = _root.player1._x - x1; b = _root.player1._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(_root.player1._y - (_root.bubble._y + _root.bubble.pointer._y), _root.player1._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; _root.rf._x = 0; _root.rf._y = 0; if (_root.gamesetup == false) { _root.gameInitialiseFunction(); } _root.newssortingFunction(); _root.pauseFunction(); _root.scoreboardUpdate(); if (_root.inplay == true) { _root.medalsFunction(); _root.playerFunction(_root.player1); _root.artificialsmartsFunction(_root.player2); _root.artificialsmartsFunction(_root.player3); _root.artificialsmartsFunction(_root.player4); _root.artificialsmartsFunction(_root.player5); _root.artificialsmartsFunction(_root.player6); _root.artificialsmartsFunction(_root.player7); _root.artificialsmartsFunction(_root.player8); i = 0; while (i < _root.bullet1Array.length) { _root.bullet1Function(_root.bullet1Array[i], i); ++i; } i = 0; while (i < _root.rocketArray.length) { _root.rocketFunction(_root.rocketArray[i], i); ++i; } i = 0; while (i < _root.grenadeArray.length) { _root.grenadeFunction(_root.grenadeArray[i], i); ++i; } i = 0; while (i < _root.activepowerupArray.length) { _root.powerupFunction(_root.activepowerupArray[i], i); ++i; } i = 0; while (i < _root.bitsArray.length) { _root.bitsFunction(_root.bitsArray[i], i); ++i; } i = 0; while (i < _root.nailArray.length) { _root.nailFunction(_root.nailArray[i], i); ++i; } i = 0; while (i < _root.sawArray.length) { _root.sawFunction(_root.sawArray[i], i); ++i; } i = 0; while (i < _root.shellArray.length) { _root.shellFunction(_root.shellArray[i], i); ++i; } i = 0; while (i < _root.boostArray.length) { _root.boostFunction(_root.boostArray[i]); ++i; } i = 0; while (i < _root.flameArray.length) { _root.flameFunction(_root.flameArray[i], i); ++i; } i = 0; while (i < _root.gooArray.length) { _root.gooFunction(_root.gooArray[i], i); ++i; } _root.gamerulesFunction(); } _root.cameraFunction(); _root.vcam._y -= 15; }; onMouseDown = function () { _root.player1.msdown = true; }; onMouseUp = function () { _root.player1.msdown = false; }; } instance of movieClip 1159 { onClipEvent (load) { togoArray = [_root.rf.w4, _root.rf.w2]; _root.redspawnArray.push(this); } } movieClip 1550 { } instance vcam of movieClip 1154 { onClipEvent (load) { _x = 374.1; _y = 242; var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; target = _root.player1; } } movieClip 1577 { frame 1 { stop(); } instance alkey of movieClip 889 { onClipEvent (load) { display = 'a'; } } instance arkey of movieClip 889 { onClipEvent (load) { display = 'd'; } } instance aukey of movieClip 889 { onClipEvent (load) { display = 'w'; } } instance adkey of movieClip 889 { onClipEvent (load) { display = 's'; } } } frame 16 { play(); } frame 17 { stop(); m1activated = false; _root.town.start(0, 0); _root.town.setVolume(_root.musicvolume); sceneconv = ['that is some great farming you are doing there son! im so proud and happy to be here in this town and totally not under attack!', 'i agree dad. i am having a great time living as a simple farmer and not being under attack', 'yes indeed. idyllic, peaceful farm life is wonderful. not being attacked is totally great.', 'ack!', 'dadd!!!!! no!!!!', 'max - we are under attack! we need your help up here!', 'kill everyone boys, i don\'t want a single soul left alive!', 'i\'ll get you for this!!']; scenewhotalk = [t2, t1, t2, t2, t1, t3, t5, t1]; convzoom = [80, 60, 70, 50, 60, 90, 40, 50, 60, 70, 80, 40, 80, 70, 50, 40, 80]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'lvl1'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (scenewhotalk[convpos]._x < t7._x && scenewhotalk[convpos] != t7) { t7._xscale = -100; } else { if (scenewhotalk[convpos]._x > t7._x) { t7._xscale = 100; } } if (convpos == 6) { _root.t1.gotoAndStop(2); } if (convpos == 3) { _root.bubble._visible = false; _root.t2.gotoAndStop(2); if (m1activated == false) { _root.town.stop(); _root.music0.start(0, 99); _root.music0.setVolume(100); m1activated = true; } } else { _root.bubble._visible = true; } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } movieClip 1579 { } movieClip 1582 { } movieClip 1584 { } movieClip 1591 { frame 8 { _root.laser_shot.start(0, 0); _root.laser_shot.setVolume(_root.sfxvolume); } frame 10 { _root.splat.start(0, 0); _root.splat.setVolume(_root.sfxvolume); } frame 35 { stop(); } } movieClip 1592 { frame 1 { stop(); } } movieClip 1595 { frame 1 { stop(); } } movieClip 1597 { } movieClip 1599 { } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } movieClip 1602 { frame 16 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { delete this.onEnterFrame; _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); this.gotoAndPlay(17); } }; } frame 38 { delete _root.onEnterFrame; _root.gotoAndPlay(_root.togonext); } } frame 19 { stopAllSounds(); _root.gamemode = 'story'; _root.setup_players = 7; _root.numberofplayers = _root.setup_players + 2; _root.setup_gametype = 'team deathmatch'; _root.setup_level = 'level_8'; _root.setup_timelimit = 'none'; _root.setup_pointlimit = 10; _root.player1_team = 'team4'; _root.player2_team = 'team4'; _root.player3_team = 'team4'; _root.player4_team = 'team4'; _root.player5_team = 'team2'; _root.player6_team = 'team2'; _root.player7_team = 'team2'; _root.player8_team = 'team2'; _root.player2_char = 'seb'; _root.player3_char = 'sarah'; _root.player4_char = 'james'; _root.player5_char = 'trooper'; _root.player6_char = 'trooper'; _root.player7_char = 'trooper'; _root.player8_char = 'trooper'; _root.gotoAndStop('level_8'); } frame 20 { play(); } frame 21 { stop(); _root.cutscene1.start(0, 99); _root.cutscene1.setVolume(_root.musicvolume); sceneconv = ['this is bad guys - real bad!', 'they are going to go after our control points - we need to capture and keep as many as we can to win.', 'if you get out of this alive max you should sign up to the united earth defence force and get revenge for all of us!', 'if we get out of this then i promise i will']; scenewhotalk = [t2, t1, t3, t1]; convzoom = [80, 60, 70, 50, 60, 90, 40, 50, 60, 70, 80, 40, 80, 70, 50, 40, 80]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'lvl1_2'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (scenewhotalk[convpos]._x < t7._x && scenewhotalk[convpos] != t7) { t7._xscale = -100; } else { if (scenewhotalk[convpos]._x > t7._x) { t7._xscale = 100; } } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } movieClip 1605 { } movieClip 1607 { } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 23 { stopAllSounds(); _root.gamemode = 'story'; _root.setup_players = 7; _root.numberofplayers = _root.setup_players + 2; _root.setup_gametype = 'control points'; _root.setup_level = 'level_8'; _root.setup_timelimit = 'none'; _root.setup_pointlimit = 200; _root.player1_team = 'team4'; _root.player2_team = 'team4'; _root.player3_team = 'team4'; _root.player4_team = 'team4'; _root.player5_team = 'team2'; _root.player6_team = 'team2'; _root.player7_team = 'team2'; _root.player8_team = 'team2'; _root.player2_char = 'seb'; _root.player3_char = 'sarah'; _root.player4_char = 'james'; _root.player5_char = 'trooper'; _root.player6_char = 'trooper'; _root.player7_char = 'trooper'; _root.player8_char = 'trooper'; _root.gotoAndStop('level_8'); } frame 24 { play(); } frame 25 { stop(); _root.cutscene1.start(0, 99); _root.cutscene1.setVolume(_root.musicvolume); sceneconv = ['so, your thinking of signing up to the united earth defence force?', 'yes sir. i have a score to settle with the people who destroyed my village.', 'whoah, whoah, whoah! the uedf is not about revenge. we are here to protect people not hurt people...', 'for that reason i\'m afraid i can\'t let you sign up. we don\'t need hot heads like you out to cause damage. the uedf can\'t afford loose cannons.', 'what? oh come one! is there nothing you can do?', 'i\'m afraid not. good day!', 'private smallcok!!!', 'uh-oh', 'just what in the hell is going on here? did i just hear that a good honest fighting man has been denied service?', 'but sir, they -', 'i don\'t want to hear it smallcok! if this person is not in uniform in the next 10 minutes you\'ll be cleaning out the latrines for the rest of your career!', 'sir, yes sir!', 'now - whats your name, you pretty little thing?', 'uhh...it\'s max', 'max eh? that was my mother\'s name', 'your mother\'s name was max?', 'what\'s a delicate little flower like you doing out here?', 'i came to sign up sir', 'did you now? well i do love a girl in uniform', 'a girl?! but sir-', 'hush my little butternut pancake. there will be time for talk later. toodles', 'uhh... toodles...']; scenewhotalk = [t1, t2, t1, t1, t2, t1, t3, t1, t3, t1, t3, t1, t3, t2, t3, t2, t3, t2, t3, t2, t3, t2]; convzoom = [70, 50, 50, 40, 50, 40, 80, 50, 50, 40, 60, 50, 50, 60, 50, 60, 50, 50, 40, 50, 60, 30]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'cs2_2'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (convpos == 7) { t3._x = 227.65; t3._y = 276.45; } if (convpos == 12) { t1._x = 1000; t1._y = 1000; } if (convpos == 21) { t3._x = 1000; t3._y = 1000; } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } movieClip 1610 { } movieClip 1612 { } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 26 { play(); } frame 27 { stop(); sceneconv = ['ok rookie listen up!', 'the commander may have a soft spot for you - but if you don\'t pass this test then you\'re not getting in!', 'i\'m ready for this! what do i need to do?', 'those over there are training bots', '...hi', 'they are mindless killing machines with no compassion or human emotion', 'i\'m so alone... :(', 'you will need to beat as many of those as we throw at you in a fight to the death. you survive - you\'re in', 'let\'s do this.']; scenewhotalk = [t1, t1, t2, t1, t3, t1, t3, t1, t2]; convzoom = [70, 40, 60, 50, 60, 40, 50, 60, 30]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'lvl2'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (scenewhotalk[convpos]._x < t7._x && scenewhotalk[convpos] != t7) { t7._xscale = -100; } else { if (scenewhotalk[convpos]._x > t7._x) { t7._xscale = 100; } } if (convpos == 3) { _root.t2._xscale = -100; } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } movieClip 1614 { } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 29 { stopAllSounds(); _root.gamemode = 'story'; _root.setup_players = 2; _root.numberofplayers = _root.setup_players + 2; _root.setup_gametype = 'team deathmatch'; _root.setup_level = 'level_1'; _root.setup_timelimit = 'none'; _root.setup_pointlimit = 10; _root.player1_team = 'team1'; _root.player2_team = 'team3'; _root.player3_team = 'team3'; _root.player2_char = 'bot'; _root.player3_char = 'bot'; _root.gotoAndStop('level_1'); } frame 30 { play(); } frame 31 { stop(); _root.cutscene1.start(0, 99); _root.cutscene1.setVolume(_root.musicvolume); sceneconv = ['not bad rookie! but how will you do in a team game?', 'capture the enemy\'s flag and carry it back to your flag post. every time you do you get a point. the team with the most points at the end of the game wins.', 'rock and roll']; scenewhotalk = [t1, t1, t2]; convzoom = [70, 50, 30]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'lvl3'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (scenewhotalk[convpos]._x < t7._x && scenewhotalk[convpos] != t7) { t7._xscale = -100; } else { if (scenewhotalk[convpos]._x > t7._x) { t7._xscale = 100; } } if (convpos == 3) { _root.t2._xscale = -100; } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 33 { stopAllSounds(); _root.gamemode = 'story'; _root.setup_players = 7; _root.numberofplayers = _root.setup_players + 2; _root.setup_gametype = 'capture the flag'; _root.setup_level = 'level_2'; _root.setup_timelimit = 10; _root.setup_pointlimit = 10; _root.player1_team = 'team1'; _root.player2_team = 'team1'; _root.player3_team = 'team1'; _root.player4_team = 'team1'; _root.player5_team = 'team2'; _root.player6_team = 'team2'; _root.player7_team = 'team2'; _root.player8_team = 'team2'; _root.player2_char = 'payne'; _root.player3_char = 'smallcok'; _root.player4_char = 'johnson'; _root.player5_char = 'bot'; _root.player6_char = 'bot'; _root.player7_char = 'bot'; _root.player8_char = 'bot'; _root.gotoAndStop('level_2'); } frame 34 { play(); } frame 35 { stop(); _root.cutscene1.start(0, 99); _root.cutscene1.setVolume(_root.musicvolume); sceneconv = ['well here we are on the planet of the wompoons. hope your ready for your first mission rookie', 'this may be my first mission but i\'ve seen my fair share of action', 'this aint exactly a mud wrestle your granny contest - people get hurt out here. the dead kind of hurt... ', 'will you pansys shut up back there - there\'s no reason why our new recruit cant duke it out with the best of them just because she\'s a proud and beautiful woman', '...', '...', 'quiet! theres a group of wompoons now!', 'lolz omg', 'oh my goodness! te he he megalolz! xd', 'we\'re so cute and harmless :3 ', 'right - we\'ll get them now while they are unaware. smallcok and johnson - go round the back and flank them', 'sir, yes sir!', 'and as for our new recruit here -', 'i\'ll be keeping a close eye on those tight little buns of yours', 'i dont know whether that\'s reassuring - or terrifying']; scenewhotalk = [t4, t1, t3, t2, t3, t1, t2, t5, t6, t7, t2, t4, t2, t2, t1]; convzoom = [70, 50, 40, 70, 40, 60, 50, 60, 40, 50, 70, 50, 60, 40, 30]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'lvl4'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (convpos == 12) { t3._x = 1000; t3._y = 1000; t4._x = 1000; t4._y = 1000; } if (convpos == 14) { t2._x = 1000; t2._y = 1000; } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } instance bg of movieClip 1344 { onClipEvent (load) { snapshot = new flash.display.BitmapData(this._width, this._height, true, 0); snapshot.draw(this); this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); this.level_case.attachBitmap(snapshot, 1); } } instance of movieClip 792 level_3 { onClipEvent (load) { this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); } } movieClip 1616 { } movieClip 1618 { } movieClip 1620 { } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 37 { stopAllSounds(); _root.gamemode = 'story'; _root.setup_players = 7; _root.numberofplayers = _root.setup_players + 2; _root.setup_gametype = 'team deathmatch'; _root.setup_level = 'level_3'; _root.setup_timelimit = 'none'; _root.setup_pointlimit = 15; _root.player1_team = 'team1'; _root.player2_team = 'team1'; _root.player3_team = 'team1'; _root.player4_team = 'team1'; _root.player5_team = 'team4'; _root.player6_team = 'team4'; _root.player7_team = 'team4'; _root.player8_team = 'team4'; _root.player2_char = 'payne'; _root.player3_char = 'smallcok'; _root.player4_char = 'johnson'; _root.player5_char = 'wompoon'; _root.player6_char = 'wompoon'; _root.player7_char = 'wompoon'; _root.player8_char = 'wompoon'; _root.gotoAndStop('level_3'); } frame 38 { play(); } frame 39 { stop(); _root.cutscene1.start(0, 99); _root.cutscene1.setVolume(_root.musicvolume); sceneconv = ['why are they attacking us??', 'we\'ve done nothing wrong!!', 'oh the humanity!!!', 'great work gentlemen!', 'oops! pardon me ma\'am - i had forgotten there were ladies present', '!!!', 'now that we\'ve got them on the back foot we\'ll capture their territory - go go go!']; scenewhotalk = [t6, t5, t7, t2, t2, t1, t2]; convzoom = [70, 50, 70, 80, 60, 50, 40]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'lvl5'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (scenewhotalk[convpos]._x < t7._x && scenewhotalk[convpos] != t7) { t7._xscale = -100; } else { if (scenewhotalk[convpos]._x > t7._x) { t7._xscale = 100; } } if (convpos == 3) { _root.t2._xscale = -100; } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } instance bg of movieClip 1344 { onClipEvent (load) { snapshot = new flash.display.BitmapData(this._width, this._height, true, 0); snapshot.draw(this); this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); this.level_case.attachBitmap(snapshot, 1); } } instance of movieClip 792 level_3 { onClipEvent (load) { this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); } } movieClip 1623 { } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 41 { stopAllSounds(); _root.gamemode = 'story'; _root.setup_players = 7; _root.numberofplayers = _root.setup_players + 2; _root.setup_gametype = 'capture the flag'; _root.setup_level = 'level_3'; _root.setup_timelimit = 15; _root.setup_pointlimit = 10; _root.player1_team = 'team1'; _root.player2_team = 'team1'; _root.player3_team = 'team1'; _root.player4_team = 'team1'; _root.player5_team = 'team2'; _root.player6_team = 'team2'; _root.player7_team = 'team2'; _root.player8_team = 'team2'; _root.player2_char = 'payne'; _root.player3_char = 'smallcok'; _root.player4_char = 'johnson'; _root.player5_char = 'wompoon'; _root.player6_char = 'wompoon'; _root.player7_char = 'wompoon'; _root.player8_char = 'wompoon'; _root.gotoAndStop('level_3'); } frame 42 { play(); } frame 43 { stop(); _root.cutscene1.start(0, 99); _root.cutscene1.setVolume(_root.musicvolume); sceneconv = ['max, i\'ve just been on the phone to the commander - i\'ve been telling him that you\'ve been doing really well.', 'well... thank you sir', 'you show a kind of courage on the battlefield that i rarely see these days', 'just doing my job, i\'m want to avenge my family and this -', 'seeing you out their mercilessly slaughtering those peaceful wompoons made me proud to have you on my team. you\'re a hero max, a hero', 'well i wouldn\'t - ', 'im gonna cry,', 'dont... that\'s just awkward now...', 'i\'m sorry, *sob* i just, you know your one of my own, your just so special...', 'don\'t say what your going to -', 'i love you max', 'oh jeez', 'i love you and i don\'t care who knows', 'sir, this is just silly... and awkward', '*sob* i promised myself i wouldn\'t cry *sob*', 'sir, what did you want to see me about?', '*sob* you\'ve been ordered to go on a diplomatic mission to the reptillions. take steve and johnson with you', 'hi', 'they are total idiots, but they are the commander\'s nephews - he\'ll thank you for it when you meet him.', 'you got it']; scenewhotalk = [t2, t1, t2, t1, t2, t1, t2, t1, t2, t1, t2, t1, t2, t1, t2, t1, t2, t3, t2, t1, t1, t2]; convzoom = [70, 60, 50, 70, 40, 70, 50, 70, 30, 50, 90, 50, 60, 70, 60, 80, 50, 70, 60]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'cs4_2'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (scenewhotalk[convpos]._x < t7._x && scenewhotalk[convpos] != t7) { t7._xscale = -100; } else { if (scenewhotalk[convpos]._x > t7._x) { t7._xscale = 100; } } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } movieClip 1626 { } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 44 { play(); } frame 45 { stop(); sceneconv = ['hee hee ha ha ha!', 'ha ha stop it your making me laugh too! hee hee ha!', 'you two better shut up- this is an incredibly important mission we\'re on and i cant have you two messing it up for me', 'strangers - you are welcome here.', 'thank you noble king - our mission is to come to seek new trade agreements with your people', 'we reptillions are a proud and noble race who\'s civillization stretches back over many millions of years. you honour us with your visit.', 'thank you oh esteemed king, we-', 'haha yeah i know! shh shh he he!', 'what are your companions doing?', 'um... nothing please ignore them', 'behave yourselves, we are on a very important diplomatic mission!', 'their heads look like green naught bts! haha', 'what??!! sir! this is an outrage!!', 'i\'m so sorry! i don\'t know whats come over them', 'stop it right now!', 'i assure you it is not my intention to dishonour your people!', 'i should think not, for our heads certainly do not look like green naughty bits!', 'arrggghh hahahahhahahahaa!!!!', 'you offend my people and laugh in my face! you sir are a disgrace', 'my people will forever curse the name max. you shall go down in our long history as the worst of all our enemies and our great grandchildren will spit on your grave in a bi-annual ceremony!', 'but i-!', 'too late, the time for talk is over - we are at war!']; scenewhotalk = [t3, t2, t1, t4, t1, t4, t1, t3, t4, t1, t1, t3, t4, t1, t1, t1, t4, t3, t4, t4, t1, t4]; convzoom = [70, 40, 50, 70, 60, 70, 50, 70, 30, 50, 90, 70, 90, 60, 70, 80, 70, 80, 70, 60, 80]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'lvl6'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (scenewhotalk[convpos]._x < t7._x && scenewhotalk[convpos] != t7) { t7._xscale = -100; } else { if (scenewhotalk[convpos]._x > t7._x) { t7._xscale = 100; } } if (convpos == 3) { _root.t2._xscale = -100; } if (convpos == 10) { _root.t1._xscale = -100; } if (convpos == 14) { _root.t1._xscale = -100; } if (convpos == 15) { _root.t1._xscale = 100; } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } instance bg1 of movieClip 1427 { onClipEvent (load) { m = 1.8; vm = 2; snapshot = new flash.display.BitmapData(this._width, this._height, true, 0); snapshot.draw(this); this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); this.level_case.attachBitmap(snapshot, 1); } } instance of movieClip 790 level_9 { onClipEvent (load) { this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); } } movieClip 1628 { } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 47 { stopAllSounds(); _root.gamemode = 'story'; _root.setup_players = 7; _root.numberofplayers = _root.setup_players + 2; _root.setup_gametype = 'control points'; _root.setup_level = 'level_9'; _root.setup_timelimit = 15; _root.setup_pointlimit = 200; _root.player1_team = 'team1'; _root.player2_team = 'team1'; _root.player3_team = 'team1'; _root.player4_team = 'team1'; _root.player5_team = 'team4'; _root.player6_team = 'team4'; _root.player7_team = 'team4'; _root.player8_team = 'team4'; _root.player2_char = 'payne'; _root.player3_char = 'smallcok'; _root.player4_char = 'johnson'; _root.player5_char = 'king rep'; _root.player6_char = 'reptillion'; _root.player7_char = 'reptillion'; _root.player8_char = 'reptillion'; _root.gotoAndStop('level_9'); } frame 48 { play(); } frame 49 { stop(); _root.cutscene1.start(0, 99); _root.cutscene1.setVolume(_root.musicvolume); sceneconv = ['sir it\'s hopeless - the reptillions have got us pinned down', 'don\'t be such a big girls blouse johnson - sure things are bad right now but-', 'did somebody say incredibly sexy?', 'uh...no', 'boom! it\'s hawkton! i bet you poor saps never thought you\'d be lucky enough to lay eyes on hawkton in the flesh.', 'who exactly are-', 'calm down ladies. no need to wet yourselves with excitement. hawkton is here now and together we\'ll beat those ugly aliens back to where they came from', 'i think this is their home planet...', 'charge!!!!', 'come on boys - he may be crazy, but he sure has a way with words', 'charge!!!']; scenewhotalk = [t3, t2, t4, t1, t4, t3, t4, t1, t4, t2, t2]; convzoom = [70, 40, 50, 70, 60, 70, 50, 70, 30, 50, 90]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'lvl7'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (scenewhotalk[convpos]._x < t7._x && scenewhotalk[convpos] != t7) { t7._xscale = -100; } else { if (scenewhotalk[convpos]._x > t7._x) { t7._xscale = 100; } } if (convpos == 3) { _root.t2._xscale = -100; } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } instance bg1 of movieClip 1427 { onClipEvent (load) { m = 1.8; vm = 2; snapshot = new flash.display.BitmapData(this._width, this._height, true, 0); snapshot.draw(this); this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); this.level_case.attachBitmap(snapshot, 1); } } instance of movieClip 790 level_9 { onClipEvent (load) { this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); } } movieClip 1631 { } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 51 { stopAllSounds(); _root.gamemode = 'story'; _root.setup_players = 7; _root.numberofplayers = _root.setup_players + 2; _root.setup_gametype = 'team deathmatch'; _root.setup_level = 'level_9'; _root.setup_timelimit = 15; _root.setup_pointlimit = 10; _root.player1_team = 'team1'; _root.player2_team = 'team1'; _root.player3_team = 'team1'; _root.player4_team = 'team1'; _root.player5_team = 'team4'; _root.player6_team = 'team4'; _root.player7_team = 'team4'; _root.player8_team = 'team4'; _root.player2_char = 'payne'; _root.player3_char = 'hawkton'; _root.player4_char = 'johnson'; _root.player5_char = 'king rep'; _root.player6_char = 'reptillion'; _root.player7_char = 'reptillion'; _root.player8_char = 'reptillion'; _root.gotoAndStop('level_9'); } frame 52 { play(); } frame 53 { stop(); _root.cutscene1.start(0, 99); _root.cutscene1.setVolume(_root.musicvolume); sceneconv = ['victory again! no need to thank me ladies, when you\'re as awesome as i am - winning comes easy', 'actually i -', 'now if you\'ll excuse me, i\'ve got a hot tub full of scantily clad ladies waiting for me back at my place. hawkton out! boom.', 'you know, that guy was arrogant, offensive, lazy, half mad and smelly... but you couldn\'t help but love that son of a gun', 'sir - we just got a call. the crabug aliens are at war with the octopods again. we need to get there immediately', 'are we going to break up the fight?', 'no, the crabugs and octopods have been fighting for years. our job is to wipe them all out.', 'well lets get going then!']; scenewhotalk = [t4, t1, t4, t2, t6, t1, t2, t3]; convzoom = [70, 40, 50, 70, 60, 70, 50, 70, 30, 50, 90, 60, 50, 40]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'lvl8'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (scenewhotalk[convpos]._x < t7._x && scenewhotalk[convpos] != t7) { t7._xscale = -100; } else { if (scenewhotalk[convpos]._x > t7._x) { t7._xscale = 100; } } if (convpos == 2) { _root.t4._xscale = -100; } if (convpos == 3) { _root.t4._x = 10000; } if (convpos == 5) { _root.t1._xscale = -100; } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } instance bg1 of movieClip 1427 { onClipEvent (load) { m = 1.8; vm = 2; snapshot = new flash.display.BitmapData(this._width, this._height, true, 0); snapshot.draw(this); this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); this.level_case.attachBitmap(snapshot, 1); } } instance of movieClip 790 level_9 { onClipEvent (load) { this.bg.swapDepths(this.getNextHighestDepth()); this.bg.removeMovieClip(); } } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 55 { stopAllSounds(); _root.gamemode = 'story'; _root.setup_players = 7; _root.numberofplayers = _root.setup_players + 2; _root.setup_gametype = 'team deathmatch'; _root.setup_level = 'level_5'; _root.setup_timelimit = 15; _root.setup_pointlimit = 20; _root.player1_team = 'team1'; _root.player2_team = 'team1'; _root.player3_team = 'team4'; _root.player4_team = 'team4'; _root.player5_team = 'team3'; _root.player6_team = 'team3'; _root.player7_team = 'team3'; _root.player8_team = 'team4'; _root.player2_char = 'payne'; _root.player3_char = 'octopod'; _root.player4_char = 'octopod'; _root.player5_char = 'crabug'; _root.player6_char = 'crabug'; _root.player7_char = 'octopod'; _root.player8_char = 'crabug'; _root.gotoAndStop('level_5'); } frame 56 { play(); } frame 57 { stop(); _root.cutscene1.start(0, 99); _root.cutscene1.setVolume(_root.musicvolume); sceneconv = ['move out boys - take out everyone here. you know the drill', 'sir yes sir!', 'hey! those are the guys who attacked my village!', 'those guys? but that\'s impossible! there\'s no way that they...', 'what johnson is trying to say is that that is the commander - he\'s our boss', 'what?!', 'i\'ve been waiting for a chance to introduce you - look its your chance to meet him - here he comes now', 'well, well, well. at ease boys. good to see you all!', 'hello sir! an honour to see you again too', 'but - but - you ordered an attack on my village and killed everyone!', 'oh yes - i remember you. you put up quite a good fight and then got away', 'a shame really', 'a shame?', 'yes, because now i\'m going to have to have you all killed. i can\'t have anyone know about my little experiment', 'experiment?', 'that\'s right - i plan to... insert generic evil plan... to start a war that will let me take over the galaxy!', 'what? but sir! that goes against everything we fight for!', 'forget your petty honour- i will be the law! myuhahaha!', 'troopers - kill them all!', 'well boys we\'re in it together now - charge!!!']; scenewhotalk = [t1, t5, t2, t4, t3, t2, t3, t1, t4, t2, t1, t1, t2, t1, t4, t1, t3, t1, t1, t3]; convzoom = [80, 60, 70, 70, 60, 70, 50, 70, 60, 50, 70, 60, 50, 80, 70, 60, 70, 60, 90, 70]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'lvl9'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (scenewhotalk[convpos]._x < t7._x && scenewhotalk[convpos] != t7) { t7._xscale = -100; } else { if (scenewhotalk[convpos]._x > t7._x) { t7._xscale = 100; } } if (convpos == 0) { _root.t1._xscale = -100; } if (convpos == 7) { _root.t1._x = 1967.45; _root.t1._y = 493.15; _root.t1._xscale = -100; } if (convpos == 9) { _root.t2._xscale = 100; } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } movieClip 1633 { } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 59 { stopAllSounds(); _root.gamemode = 'story'; _root.setup_players = 7; _root.numberofplayers = _root.setup_players + 2; _root.setup_gametype = 'team deathmatch'; _root.setup_level = 'level_5'; _root.setup_timelimit = 15; _root.setup_pointlimit = 20; _root.player1_team = 'team1'; _root.player2_team = 'team1'; _root.player3_team = 'team1'; _root.player4_team = 'team1'; _root.player5_team = 'team2'; _root.player6_team = 'team2'; _root.player7_team = 'team2'; _root.player8_team = 'team2'; _root.player2_char = 'payne'; _root.player3_char = 'hawkton'; _root.player4_char = 'smallcok'; _root.player5_char = 'commander'; _root.player6_char = 'trooper'; _root.player7_char = 'trooper'; _root.player8_char = 'trooper'; _root.gotoAndStop('level_5'); } frame 60 { play(); } frame 61 { stop(); _root.cutscene1.start(0, 99); _root.cutscene1.setVolume(_root.musicvolume); sceneconv = ['max - they got me! i am slain... *cough*', 'no! this is all my fault', 'you weren\'t to know my petal, my sweet, my everything. i die a happy man, for i die lookin into your eyes...', 'not all this again!', 'we are here but for a breath sneeze of time, and for us to have known love - well, we are blessed among men', 'sir, there\'s really no-', 'i believe it was puff daddy who said it is better to have loved and lost then to have never loved at all', 'actually that was alfred lord tennyson- ', 'i.. i.. *ack*', 'well it seems you have an annoying habit of not dieing. no matter - i shall take you to the space arena where you will be pitted against the most savage warriors in the universe. myuhhaha!', 'i\'ll get you for this commander - one day!']; scenewhotalk = [t2, t1, t2, t1, t2, t1, t2, t1, t2, t3, t1]; convzoom = [60, 70, 50, 60, 70, 50, 60, 70, 60, 70, 50]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'cs8_1'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (scenewhotalk[convpos]._x < t7._x && scenewhotalk[convpos] != t7) { t7._xscale = -100; } else { if (scenewhotalk[convpos]._x > t7._x) { t7._xscale = 100; } } if (convpos == 8) { _root.t2.gotoAndStop(2); } if (convpos == 9) { _root.t3._x = 776.9500000000001; _root.t3._y = 305.65; _root.t4._x = 820.9; _root.t4._y = 298.85; _root.t5._x = 861; _root.t5._y = 286.25; } if (convpos == 9) { _root.t1._xscale = 100; } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } movieClip 1639 { frame 5 { stop(); } } movieClip 1640 { frame 1 { stop(); } } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 62 { play(); } frame 63 { stop(); _root.cutscene1.start(0, 99); _root.cutscene1.setVolume(_root.musicvolume); sceneconv = ['what is this place?', 'this is the space gladiator arena. here you will have to fight against barbaric warriors to stay alive.', 'i\'ll gut you like a bottle nosed dolphin', 'i\'m prepared to reason with you...', 'using my fist!', 'raaaaaawwwwwrrrrr! me need human flesh!! rawwwrr', 'this just goes from bad to worse', 'your alone against them - where are your precious friends now max?', 'you killed them all', '... oh yeah... i guess i did...', 'anyway - enjoy your time here - it will be your sandwich of death! muyhahahaha!!', 'sandwich of death?']; scenewhotalk = [t1, t2, t3, t4, t4, t5, t1, t2, t1, t2, t2, t1]; convzoom = [70, 90, 50, 70, 40, 60, 70, 60, 70, 40, 60, 40, 40]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'lvl10'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (scenewhotalk[convpos]._x < t7._x && scenewhotalk[convpos] != t7) { t7._xscale = -100; } else { if (scenewhotalk[convpos]._x > t7._x) { t7._xscale = 100; } } if (convpos == 11) { _root.t2._x = 10000000; } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } movieClip 1643 { } movieClip 1645 { } movieClip 1647 { } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 65 { stopAllSounds(); _root.gamemode = 'story'; _root.setup_players = 6; _root.numberofplayers = _root.setup_players + 2; _root.setup_gametype = 'deathmatch'; _root.setup_level = 'level_7'; _root.setup_timelimit = 15; _root.setup_pointlimit = 20; _root.player2_char = 'pedro'; _root.player3_char = 'brutus'; _root.player4_char = 'luis'; _root.player5_char = 'siren'; _root.player6_char = 'ed'; _root.player7_char = 'ollie'; _root.gotoAndStop('level_7'); } frame 66 { play(); } frame 67 { stop(); _root.cutscene1.start(0, 99); _root.cutscene1.setVolume(_root.musicvolume); sceneconv = ['impressive. you defeated the arena.', 'but not impressive enough. i am taking you on a prison space ship where you will be executed.', 'what makes you think i won\'t escape?', 'because there is only one thing that could allow you to escape and that\'s pirates.', 'luckily there are no pirates in space.']; scenewhotalk = [t2, t2, t1, t2, t2]; convzoom = [80, 60, 70, 50, 30]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'cs9_2'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (scenewhotalk[convpos]._x < t7._x && scenewhotalk[convpos] != t7) { t7._xscale = -100; } else { if (scenewhotalk[convpos]._x > t7._x) { t7._xscale = 100; } } if (convpos == 0) { _root.t2._xscale = -100; } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 68 { play(); } frame 69 { stop(); sceneconv = ['yo ho ho and a bottle of rum!', 'will you shut up! this is supposed to be a sneak attack you slimy sack of sea dogs!', 'yes sir captain no beard! won\'t happen again - i\'m just so excited. this is our first time as full and proper pirates!', 'well... ok i admit! this is pretty exciting! do you think i\'m over doing it with the pirate phrases? i dont-', 'hey! whats happening over there?', 'aha! avast ye land lubbers, prepare to meet the wrath of captain no beard and his crew of desperate marauders!', 'this is my chance to escape!', 'take us with you!', 'who are you?', 'prisoners like you. besides you can\'t fight your way out of here on your own. you\'ll need all the help you can get', 'right well follow my lead - and as an old friend used to say...', 'charge!!!']; scenewhotalk = [t1, t2, t1, t2, t3, t2, t4, t5, t4, t6, t4, t4]; convzoom = [80, 60, 70, 50, 60, 90, 50, 90, 60, 70, 80, 40, 80, 70, 50, 40]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'lvl11'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (scenewhotalk[convpos]._x < t7._x && scenewhotalk[convpos] != t7) { t7._xscale = -100; } else { if (scenewhotalk[convpos]._x > t7._x) { t7._xscale = 100; } } if (convpos == 0) { _root.t2._xscale = -100; } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } movieClip 1651 { } movieClip 1655 { } movieClip 1657 { } movieClip 1659 { } movieClip 1661 { } movieClip 1663 { } movieClip 1665 { } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 71 { stopAllSounds(); _root.gamemode = 'story'; _root.setup_players = 7; _root.numberofplayers = _root.setup_players + 2; _root.setup_gametype = 'team deathmatch'; _root.setup_level = 'level_4'; _root.setup_timelimit = 15; _root.setup_pointlimit = 20; _root.player1_team = 'team1'; _root.player2_team = 'team1'; _root.player3_team = 'team1'; _root.player4_team = 'team2'; _root.player5_team = 'team2'; _root.player6_team = 'team4'; _root.player7_team = 'team4'; _root.player8_team = 'team4'; _root.player2_char = 'harry'; _root.player3_char = 'orca'; _root.player4_char = 'trooper'; _root.player5_char = 'trooper'; _root.player6_char = 'beardless'; _root.player7_char = 'roger'; _root.player8_char = 'thudds'; _root.gotoAndStop('level_4'); } frame 72 { play(); } frame 73 { stop(); _root.cutscene1.start(0, 99); _root.cutscene1.setVolume(_root.musicvolume); sceneconv = ['we\'re doing it! we\'re actually beating these guys!', 'if we can take control of this ship by capturing all the command points we could land on a nearby planet and escape!', 'great thinking - lets get to work!']; scenewhotalk = [t1, t2, t3]; convzoom = [80, 60, 70, 50, 60, 90, 50, 90, 60, 70, 80, 40, 80, 70, 50, 40]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'lvl12'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (scenewhotalk[convpos]._x < t7._x && scenewhotalk[convpos] != t7) { t7._xscale = -100; } else { if (scenewhotalk[convpos]._x > t7._x) { t7._xscale = 100; } } if (convpos == 0) { _root.t2._xscale = -100; } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 75 { stopAllSounds(); _root.gamemode = 'story'; _root.setup_players = 7; _root.numberofplayers = _root.setup_players + 2; _root.setup_gametype = 'control points'; _root.setup_level = 'level_4'; _root.setup_timelimit = 15; _root.setup_pointlimit = 200; _root.player1_team = 'team1'; _root.player2_team = 'team1'; _root.player3_team = 'team1'; _root.player4_team = 'team2'; _root.player5_team = 'team2'; _root.player6_team = 'team4'; _root.player7_team = 'team4'; _root.player8_team = 'team4'; _root.player2_char = 'harry'; _root.player3_char = 'sean'; _root.player4_char = 'trooper'; _root.player5_char = 'trooper'; _root.player6_char = 'beardless'; _root.player7_char = 'roger'; _root.player8_char = 'thudds'; _root.gotoAndStop('level_4'); } frame 76 { play(); } frame 77 { stop(); _root.cutscene1.start(0, 99); _root.cutscene1.setVolume(_root.musicvolume); sceneconv = ['we escaped!', 'yeah but for how long? the commander will be after us.', 'dont worry we can use these old bases and hold them off from here', 'great idea - we just need time...', 'time is something we don\'t have - look!', 'oh max, come out, come out, where ever you are!', 'yeah max - come out!', 'hey - who said you could talk?', 'no one, i just -', 'well don\'t! i\'m the evil commander here not you!', 'i\'m sorry, i\'m just a struggling actor i thought i\'d try and get a line in. y\'know my mum might be watching this and i told her i was a lead', 'a lead? but you\'re just an anonymous henchman.', 'i know, i just didn\'t want to dissapoint her. she believes in me y\'know? she thinks i\'m gonna be a star', 'yeah its tough out there, i used to be a musician and -', 'will you two shut up!!', 'come on gang - if we attack them now while they are arguing we may just stand a chance!', 'attack!!!!']; scenewhotalk = [t3, t2, t4, t1, t3, t5, t7, t5, t7, t5, t7, t6, t7, t6, t5, t1, t1]; convzoom = [80, 60, 70, 50, 60, 90, 50, 90, 60, 70, 80, 40, 80, 70, 50, 40, 80]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'lvl13'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (scenewhotalk[convpos]._x < t7._x && scenewhotalk[convpos] != t7) { t7._xscale = -100; } else { if (scenewhotalk[convpos]._x > t7._x) { t7._xscale = 100; } } if (convpos == 0) { _root.t3._xscale = -100; } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } movieClip 1668 { } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 79 { stopAllSounds(); _root.gamemode = 'story'; _root.setup_players = 7; _root.numberofplayers = _root.setup_players + 2; _root.setup_gametype = 'team elimination'; _root.setup_level = 'level_10'; _root.setup_timelimit = 'none'; _root.setup_pointlimit = 20; _root.player1_team = 'team1'; _root.player2_team = 'team1'; _root.player3_team = 'team1'; _root.player4_team = 'team1'; _root.player5_team = 'team2'; _root.player6_team = 'team2'; _root.player7_team = 'team2'; _root.player8_team = 'team2'; _root.player2_char = 'harry'; _root.player3_char = 'sean'; _root.player4_char = 'orca'; _root.player5_char = 'commander'; _root.player6_char = 'trooper'; _root.player7_char = 'trooper'; _root.player8_char = 'trooper'; _root.gotoAndStop('level_10'); } frame 80 { play(); } frame 81 { stopAllSounds(); _root.gamemode = 'story'; _root.setup_players = 7; _root.numberofplayers = _root.setup_players + 2; _root.setup_gametype = 'capture the flag'; _root.setup_level = 'level_10'; _root.setup_timelimit = 15; _root.setup_pointlimit = 15; _root.player1_team = 'team1'; _root.player2_team = 'team1'; _root.player3_team = 'team1'; _root.player4_team = 'team1'; _root.player5_team = 'team2'; _root.player6_team = 'team2'; _root.player7_team = 'team2'; _root.player8_team = 'team2'; _root.player2_char = 'harry'; _root.player3_char = 'sean'; _root.player4_char = 'orca'; _root.player5_char = 'trooper'; _root.player6_char = 'trooper'; _root.player7_char = 'trooper'; _root.player8_char = 'trooper'; _root.gotoAndStop('level_10'); } frame 82 { play(); } frame 83 { stop(); _root.cutscene1.start(0, 99); _root.cutscene1.setVolume(_root.musicvolume); sceneconv = ['its amazing you managed to build this base all by yourself harry!', 'yeah well i used to be a mechanic before...', 'before you were wrongfully imprisoned by the commander?', 'no before i went nuts at a sandwich! i freaked out and before i knew it i was covered in blood and 43 people were dead', '....', '...a sandwich?', 'it was looking at me funny!!', '...jeez... nut job', 'look guys, i\'ve put together an awesome super secret plan to finally put a stop to the commander', 'nice work orca and may i also say how hot you are looking?', 'thanks and no! what? just because i\'m the only girl in the game you assume i\'m a love interest? that is so typically sexist', 'orca i didn\'t mean to offend i\'m-', 'you know i have two degrees and am a licenced physician', 'i\'m sorry', 'i should think so. anyway here are the details of their base, conviniently located just across from ours. if we capture their flag enough times we might be able to finally beat the commander!', 'sounds risky, but it just might work...']; scenewhotalk = [t1, t3, t1, t3, t2, t1, t3, t2, t4, t1, t4, t1, t4, t1, t4, t1]; convzoom = [80, 60, 70, 50, 60, 90, 50, 90, 60, 70, 80, 40, 80, 70, 50, 40, 80]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'lvl15'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (scenewhotalk[convpos]._x < t7._x && scenewhotalk[convpos] != t7) { t7._xscale = -100; } else { if (scenewhotalk[convpos]._x > t7._x) { t7._xscale = 100; } } if (convpos == 8) { _root.t2._x = 2096.9; _root.t2._y = 475; _root.t3._x = 2041.7; _root.t3._y = 470.5; _root.t1._x = 2147.2; _root.t1._y = 472.8; } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } movieClip 1670 { } movieClip 1672 { } movieClip 1674 { } movieClip 1676 { } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 84 { play(); } frame 85 { stopAllSounds(); _root.gamemode = 'story'; _root.setup_players = 7; _root.numberofplayers = _root.setup_players + 2; _root.setup_gametype = 'capture the flag'; _root.setup_level = 'level_6'; _root.setup_timelimit = 'none'; _root.setup_pointlimit = 15; _root.player1_team = 'team1'; _root.player2_team = 'team1'; _root.player3_team = 'team1'; _root.player4_team = 'team1'; _root.player5_team = 'team2'; _root.player6_team = 'team2'; _root.player7_team = 'team2'; _root.player8_team = 'team2'; _root.player2_char = 'harry'; _root.player3_char = 'sean'; _root.player4_char = 'orca'; _root.player5_char = 'commander'; _root.player6_char = 'trooper'; _root.player7_char = 'trooper'; _root.player8_char = 'trooper'; _root.gotoAndStop('level_6'); } frame 86 { play(); } frame 87 { stopAllSounds(); _root.gamemode = 'story'; _root.setup_players = 7; _root.numberofplayers = _root.setup_players + 2; _root.setup_gametype = 'team elimination'; _root.setup_level = 'level_6'; _root.setup_timelimit = 'none'; _root.setup_pointlimit = 15; _root.player1_team = 'team1'; _root.player2_team = 'team1'; _root.player3_team = 'team1'; _root.player4_team = 'team1'; _root.player5_team = 'team2'; _root.player6_team = 'team2'; _root.player7_team = 'team2'; _root.player8_team = 'team2'; _root.player2_char = 'harry'; _root.player3_char = 'sean'; _root.player4_char = 'orca'; _root.player5_char = 'commander'; _root.player6_char = 'trooper'; _root.player7_char = 'trooper'; _root.player8_char = 'trooper'; _root.gotoAndStop('level_6'); } frame 88 { play(); } frame 89 { stop(); _root.cutscene1.start(0, 99); _root.cutscene1.setVolume(_root.musicvolume); sceneconv = ['you got me max... you got me!', 'that\'s right i did! you destroyed my village, killed my family and my friends, imprisoned me and forced me to fight as a gladiator and now i\'ve finally beaten you!', '*cough* max i have a secret... *cough* you must no before i die...', 'what is it?', '*cough* max... i am your father *cough*', 'no your not', 'yes *cough* i am', 'no your not. my father was in the village with me', '*cough* oh yeah thats right... never mind then', 'ach!', 'its finally over...', 'after everything i\'ve been through its finally over...', 'you did it max! you beat the commander, freed us all and saved the universe from his evil plan!', 'yeah i guess i did do all that! i\'m pretty awesome huh?', 'yes you are', 'i knew you were the love interest!', 'well yeah... but just don\'t tell anyone - i cant stand cliches!', 'ahh i always cry at happy endings! *sniff* *sniff*', 'jeez calm down and change your diaper you big baby!', 'why you!', 'hahaha group laughter and generic happy ending...']; scenewhotalk = [t2, t1, t2, t1, t2, t1, t2, t1, t2, t2, t1, t1, t3, t1, t3, t1, t3, t4, t5, t4, t1, t1]; convzoom = [80, 60, 70, 50, 60, 90, 50, 90, 60, 70, 80, 60, 80, 70, 50, 60, 80]; convpos = 0; convcooldown = 0; l = sceneconv[convpos].length; p = 1; togonext = 'credits'; bubble = attachMovie('bubble', 'bubble' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.showtext = sceneconv[convpos]; _root.bubble._x = (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y = (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; onEnterFrame = function () { _root.bubble._x += (_root.vcam._x - _root.bubble._x) / 4; _root.bubble._y += (_root.vcam._y - _root.vcam._height / 2 + _root.bubble._height + 5 - _root.bubble._y) / 4; _root.bubble._xscale += (_root.vcam._xscale - _root.bubble._xscale) / 4; _root.bubble._yscale = _root.bubble._xscale; x1 = _root.bubble.pointer._x + _root.bubble._x; y1 = _root.bubble.pointer._y + _root.bubble._y; a = scenewhotalk[convpos]._x - x1; b = scenewhotalk[convpos]._y - y1; c = Math.sqrt(a * a + b * b); _root.bubble.pointer._xscale = c; _root.bubble.pointer._rotation = Math.atan2(scenewhotalk[convpos]._y - (_root.bubble._y + _root.bubble.pointer._y), scenewhotalk[convpos]._x - (_root.bubble._x + _root.bubble.pointer._x)) * 180 / Math.PI; if (convcooldown > 0) { --convcooldown; } _root.scenecameraFunction(); if (scenewhotalk[convpos]._x < t1._x && scenewhotalk[convpos] != t1) { t1._xscale = -100; } else { if (scenewhotalk[convpos]._x > t1._x) { t1._xscale = 100; } } if (scenewhotalk[convpos]._x < t2._x && scenewhotalk[convpos] != t2) { t2._xscale = -100; } else { if (scenewhotalk[convpos]._x > t2._x) { t2._xscale = 100; } } if (scenewhotalk[convpos]._x < t3._x && scenewhotalk[convpos] != t3) { t3._xscale = -100; } else { if (scenewhotalk[convpos]._x > t3._x) { t3._xscale = 100; } } if (scenewhotalk[convpos]._x < t4._x && scenewhotalk[convpos] != t4) { t4._xscale = -100; } else { if (scenewhotalk[convpos]._x > t4._x) { t4._xscale = 100; } } if (scenewhotalk[convpos]._x < t5._x && scenewhotalk[convpos] != t5) { t5._xscale = -100; } else { if (scenewhotalk[convpos]._x > t5._x) { t5._xscale = 100; } } if (scenewhotalk[convpos]._x < t6._x && scenewhotalk[convpos] != t6) { t6._xscale = -100; } else { if (scenewhotalk[convpos]._x > t6._x) { t6._xscale = 100; } } if (scenewhotalk[convpos]._x < t7._x && scenewhotalk[convpos] != t7) { t7._xscale = -100; } else { if (scenewhotalk[convpos]._x > t7._x) { t7._xscale = 100; } } if (convpos == 0) { _root.t2._xscale = -100; } if (convpos == 9) { _root.t2.gotoAndStop(2); } if (convpos == 11) { _root.t3._x = 1456.95; _root.t3._y = 743.8; } if (convpos == 14) { _root.t3.gotoAndStop(2); } }; onMouseDown = function () { if (p == l + 1 or showtext == sceneconv[convpos]) { _root.bubble._xscale = 0; _root.bubble._yscale = 0; convcooldown = 15; if (convpos < sceneconv.length - 1) { convpos += 1; p = 1; write = setInterval(spelltext, 25); spelltext(); } else { if (_root.curtains._currentframe < 17) { _root.curtains.gotoAndPlay('out'); _root.bubble.swapDepths(_root.getNextHighestDepth()); _root.bubble.removeMovieClip(); } } } else { clearInterval(write); showtext = sceneconv[convpos]; } }; } movieClip 1679 { frame 5 { stop(); } } movieClip 1680 { frame 1 { stop(); } } movieClip 1684 { } movieClip 1685 { frame 1 { stop(); } } movieClip 1687 { } instance vcam of movieClip 1154 { onClipEvent (load) { var xSpeed = 0; var ySpeed = 0; var moveSpeed = 8; var xadjust = 0; } } frame 90 { play(); } frame 91 { delete eval(this.onEnterFrame()); stop(); _root.cutscene1.stop(); _root.cutscene1.stop; if (menumusicplaying != true) { _root.menumusic.start(0, 99); _root.menumusic.setVolume(_root.musicvolume); menumusicplaying = true; } if (_root.m16 != true && _root.beatthegame == true) { _root.hud.mcase.gotoAndPlay('medal'); _root.hud.mcase.medal.displaymedalname = 'combat hero'; _root.m16 = true; } } movieClip 1689 { } movieClip 1691 { } movieClip 1693 { } movieClip 1695 { } movieClip 1697 { } movieClip 1702 { instance of movieClip 1689 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 932 { onClipEvent (rollOver) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndPlay(6); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.play(); } } frame 249 { stop(); } frame 282 { _root.endloop.stop(); _root.gotoAndStop(2); } } frame 92 { play(); } frame 93 { stop(); } movieClip 1704 { } movieClip 1708 { } movieClip 1710 { } movieClip 1712 { } movieClip 1713 { frame 1 { onEnterFrame = function () { if (Key.isDown(32)) { delete this.onEnterFrame; _root.gotoAndPlay('cs1_1_1'); } }; } frame 254 { delete this.onEnterFrame; } frame 260 { _root.gotoAndPlay('cs1_1_1'); } } movieClip 1726 { } movieClip 1730 { } movieClip 1743 { } // unknown tag 88 length 64 movieClip 1760 { frame 1 { webtogo = 'http://www.jayarmstronggames.com'; } frame 181 { webtogo = 'http://drawnsean.blogspot.com'; } frame 303 { _root.gotoAndStop('setupgame'); } } instance of movieClip 1760 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.gotoAndStop('setupgame'); } } onClipEvent (release) { getURL(this.webtogo, '_blank'); } } frame 95 { if (menumusicplaying != true) { _root.menumusic.start(0, 99); _root.menumusic.setVolume(_root.musicvolume); menumusicplaying = true; } } movieClip 1774 { frame 1 { xtogo = -1138.35; ytogo = 0; onEnterFrame = function () { _x = _x + (xtogo - _x) / 4; _y = _y + (ytogo - _y) / 4; }; } frame 1 { _root.mnu.pressanykey._visible = false; keyListener = new Object(); keyListener.onKeyDown = function () { if (_root.mnu.lkey._currentframe > 2) { _root.mnu.pressanykey._x = -846.1; _root.key_left = Key.getCode(); _root.mnu.lkey.display = String.fromCharCode(Key.getAscii()); _root.mnu.lkey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.rkey._currentframe > 2) { _root.mnu.pressanykey._x = -846.1; _root.key_right = Key.getCode(); _root.mnu.rkey.display = String.fromCharCode(Key.getAscii()); _root.mnu.rkey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.dkey._currentframe > 2) { _root.mnu.pressanykey._x = -846.1; _root.key_pickup = Key.getCode(); _root.mnu.dkey.display = String.fromCharCode(Key.getAscii()); _root.mnu.dkey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.ukey._currentframe > 2) { _root.mnu.pressanykey._x = -846.1; _root.key_jump = Key.getCode(); _root.mnu.ukey.display = String.fromCharCode(Key.getAscii()); _root.mnu.ukey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.alkey._currentframe > 2) { _root.mnu.pressanykey._x = -1435.8; _root.key_left = Key.getCode(); _root.mnu.alkey.display = String.fromCharCode(Key.getAscii()); _root.mnu.alkey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.arkey._currentframe > 2) { _root.mnu.pressanykey._x = -1435.8; _root.key_right = Key.getCode(); _root.mnu.arkey.display = String.fromCharCode(Key.getAscii()); _root.mnu.arkey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.adkey._currentframe > 2) { _root.mnu.pressanykey._x = -1435.8; _root.key_pickup = Key.getCode(); _root.mnu.adkey.display = String.fromCharCode(Key.getAscii()); _root.mnu.adkey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.aukey._currentframe > 2) { _root.mnu.pressanykey._x = -1435.8; _root.key_jump = Key.getCode(); _root.mnu.aukey.display = String.fromCharCode(Key.getAscii()); _root.mnu.aukey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.sukey._currentframe > 2) { _root.mnu.pressanykey._x = -1435.8; _root.key_sup = Key.getCode(); _root.mnu.sukey.display = String.fromCharCode(Key.getAscii()); _root.mnu.sukey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.sdkey._currentframe > 2) { _root.mnu.pressanykey._x = -1435.8; _root.key_sdown = Key.getCode(); _root.mnu.sdkey.display = String.fromCharCode(Key.getAscii()); _root.mnu.sdkey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.slkey._currentframe > 2) { _root.mnu.pressanykey._x = -1435.8; _root.key_sleft = Key.getCode(); _root.mnu.slkey.display = String.fromCharCode(Key.getAscii()); _root.mnu.slkey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } if (_root.mnu.srkey._currentframe > 2) { _root.mnu.pressanykey._x = -1435.8; _root.key_sright = Key.getCode(); _root.mnu.srkey.display = String.fromCharCode(Key.getAscii()); _root.mnu.srkey.gotoAndStop(1); _root.mnu.pressanykey._visible = false; } }; Key.addListener(keyListener); stop(); } instance dkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_pickup); } } instance lkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.rkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_left); } } instance rkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_right); } } instance ukey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_jump); } } instance adkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_pickup); } } instance alkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.rkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_left); } } instance arkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_right); } } instance aukey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_jump); } } instance sdkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); _parent.sukey.gotoAndStop(1); _parent.slkey.gotoAndStop(1); _parent.srkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_sdown); } } instance slkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); _parent.sukey.gotoAndStop(1); _parent.sukey.gotoAndStop(1); _parent.srkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_sleft); } } instance srkey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); _parent.sukey.gotoAndStop(1); _parent.slkey.gotoAndStop(1); _parent.sdkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_sright); } } instance sukey of movieClip 889 { onClipEvent (release) { if (this._currentframe < 3) { _root.mnu.pressanykey._visible = true; this.gotoAndStop(3); _parent.lkey.gotoAndStop(1); _parent.ukey.gotoAndStop(1); _parent.rkey.gotoAndStop(1); _parent.dkey.gotoAndStop(1); _parent.sdkey.gotoAndStop(1); _parent.slkey.gotoAndStop(1); _parent.srkey.gotoAndStop(1); } } onClipEvent (rollOver) { if (this._currentframe < 3) { this.gotoAndStop(2); } } onClipEvent (rollOut) { if (this._currentframe < 3) { this.gotoAndStop(1); } } onClipEvent (load) { this.display = String.fromCharCode(_root.key_sup); } } instance of movieClip 932 { onClipEvent (rollOver) { if (_root.mnu.pressanykey._visible == false) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (_root.mnu.pressanykey._visible == false) { gotoAndPlay(6); } } onClipEvent (release) { if (_root.mnu.pressanykey._visible == false) { _root.saveitFunction(); _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.ytogo = 0; _parent.xtogo = -1138.35; } } } instance of movieClip 932 { onClipEvent (rollOver) { if (_root.mnu.pressanykey._visible == false) { gotoAndPlay(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } } onClipEvent (rollOut) { if (_root.mnu.pressanykey._visible == false) { gotoAndPlay(6); } } onClipEvent (release) { if (_root.mnu.pressanykey._visible == false) { _root.saveitFunction(); _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); _parent.ytogo = 0; _parent.xtogo = -1138.35; } } } instance of movieClip 865 { onClipEvent (load) { if (_root.showparticles == true) { this.gotoAndStop(1); } if (_root.showparticles == false) { this.gotoAndStop(2); } } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); if (this._currentframe == 1) { _root.showparticles = false; } if (this._currentframe == 2) { _root.showparticles = true; } if (_root.showparticles == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } } instance of movieClip 870 { onClipEvent (press) { this.press = true; } onClipEvent (release) { this.press = false; } onClipEvent (rollOut) { this.press = false; } onClipEvent (releaseOutside) { this.press = false; } } instance of movieClip 873 { onClipEvent (load) { var vartoadjust = 'sfxvolume'; } onClipEvent (press) { this.press = true; } onClipEvent (release) { this.press = false; } onClipEvent (rollOut) { this.press = false; } onClipEvent (releaseOutside) { this.press = false; } } instance of movieClip 873 { onClipEvent (load) { var vartoadjust = 'musicvolume'; } onClipEvent (press) { this.press = true; } onClipEvent (release) { this.press = false; } onClipEvent (rollOut) { this.press = false; } onClipEvent (releaseOutside) { this.press = false; } } instance keyboardtick of movieClip 865 { onClipEvent (load) { if (_root.player_controls == 'keyboard') { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); if (this._currentframe == 2) { _root.player_controls = 'keyboard'; _parent.mousetick.gotoAndStop(2); } if (_root.player_controls == 'keyboard') { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } } instance mousetick of movieClip 865 { onClipEvent (load) { if (_root.player_controls == 'mouse') { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } onClipEvent (rollOver) { _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (release) { _root.btn_press.start(0, 0); _root.btn_press.setVolume(_root.sfxvolume); if (this._currentframe == 2) { _root.player_controls = 'mouse'; _parent.keyboardtick.gotoAndStop(2); } if (_root.player_controls == 'mouse') { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } } instance of movieClip 881 { onClipEvent (release) { _root.player_controls = 'mouse'; _parent.keyboardtick.gotoAndStop(2); _parent.mousetick.gotoAndStop(1); _root.mnu.pressanykey._x = 855.7000000000001; _parent.xtogo = -577.4; } onClipEvent (rollOver) { gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } } instance of movieClip 881 { onClipEvent (release) { _root.player_controls = 'keyboard'; _parent.mousetick.gotoAndStop(2); _parent.keyboardtick.gotoAndStop(1); _root.mnu.pressanykey._x = 281.6; _parent.xtogo = -3.25; } onClipEvent (rollOver) { gotoAndPlay(2); } onClipEvent (rollOut) { gotoAndPlay(7); } } instance of movieClip 841 { onClipEvent (rollOver) { gotoAndStop(2); _root.btn_over.start(0, 0); _root.btn_over.setVolume(_root.sfxvolume); } onClipEvent (rollOut) { gotoAndStop(1); } onClipEvent (release) { _root.btn_accept.start(0, 0); _root.btn_accept.setVolume(_root.sfxvolume); fadeout = _root.attachMovie('fadeout', 'fadeout', _root.getNextHighestDepth()); fadeout.destination = 2; fadeout.action = 'stp'; } } instance of movieClip 836 { onClipEvent (load) { this.cacheAsBitmap = true; } } } movieClip 1782 { } movieClip 1788 { } movieClip 1791 { frame 1 { _root.stop(); gotoAndPlay(2); } frame 225 { _root.gotoAndStop('devlogos'); } }




http://swfchan.com/20/99779/info.shtml
Created: 21/3 -2019 17:07:58 Last modified: 21/3 -2019 17:07:58 Server time: 28/04 -2024 21:55:11