Combined Code
movieClip 5 {
}
movieClip 8 {
}
movieClip 19 {
}
movieClip 22 {
}
movieClip 24 {
}
movieClip 28 {
}
movieClip 29 {
}
movieClip 32 {
}
movieClip 36 {
}
movieClip 39 {
}
movieClip 40 {
}
movieClip 42 {
}
movieClip 43 {
}
button 46 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 48 {
frame 40 {
stop();
}
}
movieClip 73 {
}
button 74 {
on (release) {
_root.play();
}
}
movieClip 75 {
frame 1 {
function onEnterFrame() {
if (!loaded) {
var v3 = _root.getBytesLoaded() / _root.getBytesTotal();
if (v3 >= 1) {
play();
bar._x = initX;
loaded = true;
} else {
bar._x = initX + (v3 - 1) * bar._width;
}
}
var v4 = getTimer() - time;
timeAccum += v4;
while (timeAccum >= FRAME_TIME) {
var v2 = 0;
while (v2 < timeClips.length) {
if (timeClips[v2]._currentframe < timeClips[v2]._totalframes) {
timeClips[v2].nextFrame();
} else {
timeClips[v2].gotoAndStop(1);
}
++v2;
}
if (loaded && _currentframe < _totalframes) {
nextFrame();
}
timeAccum -= FRAME_TIME;
}
time += v4;
}
stop();
_root.stop();
var initX = bar._x;
var time = getTimer();
var FRAME_TIME = 33.33333333333334;
var timeAccum = 0;
var loaded = false;
timeClips = [bargfx, tank.mc0, tank.mc1, tank.mc2, tank.mc3, tank.mc4, tank.mc4.mc0, tank.mc4.mc1, tank.mc4.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc0.mc2, tank.mc4.mc0.mc0.mc0.mc3, tank.mc4.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc2, tank.mc5.mc0];
var i = 0;
while (i < timeClips.length) {
timeClips[i].stop();
++i;
}
}
frame 51 {
}
}
frame 48 {
stop();
}
button 85 {
on (release) {
gotoAndPlay(50);
}
}
button 87 {
on (release) {
gotoAndStop(49);
stopAllSounds();
}
}
button 89 {
on (release) {
gotoAndPlay('credits');
stopAllSounds();
}
}
button 99 {
on (release) {
gotoAndPlay('STARTNINJAFIGHT');
}
}
frame 140 {
stop();
}
button 117 {
on (keyPress '<Space>') {
gotoAndPlay('141');
undefined;
stopAllSounds();
undefined;
undefined;
undefined;
}
}
button 189 {
on (keyPress '<Space>') {
gotoAndPlay('endloop1');
}
}
frame 272 {
gotoAndPlay('luigiloop1');
}
button 236 {
on (keyPress '<Space>') {
gotoAndPlay('endloop2');
}
}
frame 313 {
gotoAndPlay('luigiloop2');
}
frame 350 {
stop();
}
button 262 {
on (keyPress '<Space>') {
gotoAndPlay('mario1');
}
}
button 290 {
on (keyPress '<Space>') {
gotoAndPlay('endloop3');
}
}
frame 378 {
gotoAndPlay('luigiloop3');
}
frame 400 {
stop();
}
button 306 {
on (keyPress '<Space>') {
gotoAndPlay('mario2');
}
}
frame 452 {
stop();
}
button 321 {
on (keyPress '<Space>') {
gotoAndPlay('mario3');
}
}
frame 575 {
stop();
}
button 399 {
on (keyPress '<Space>') {
gotoAndPlay(576);
}
}
frame 590 {
stop();
}
button 404 {
on (keyPress '<Space>') {
gotoAndPlay(591);
}
}
frame 610 {
stop();
}
button 407 {
on (keyPress '<Space>') {
gotoAndPlay(611);
}
}
frame 798 {
stop();
}
button 595 {
on (keyPress '<Space>') {
gotoAndPlay(799);
}
}
frame 849 {
stop();
}
button 616 {
on (keyPress '<Space>') {
gotoAndPlay(850);
}
}
frame 967 {
stop();
}
button 624 {
on (keyPress '<Space>') {
gotoAndPlay(968);
}
}
frame 1080 {
stop();
}
button 666 {
on (keyPress '<Space>') {
gotoAndPlay(1081);
}
}
frame 1388 {
stop();
}
button 827 {
on (keyPress '<Space>') {
gotoAndPlay(1389);
}
}
frame 1415 {
stop();
}
button 833 {
on (keyPress '<Space>') {
gotoAndPlay(1416);
}
}
frame 1456 {
stop();
}
button 851 {
on (keyPress '<Space>') {
gotoAndPlay(1457);
}
}
frame 1604 {
stop();
}
button 918 {
on (keyPress '<Space>') {
gotoAndPlay(1605);
}
}
frame 1756 {
stopAllSounds();
}
frame 1763 {
stop();
}
button 925 {
on (release) {
gotoAndStop('cast_pg1');
}
}
button 927 {
on (release) {
gotoAndStop('crew');
}
}
button 929 {
on (release) {
gotoAndStop('music');
}
}
button 931 {
on (release) {
gotoAndStop('images');
}
}
button 933 {
on (release) {
stopAllSounds();
undefined;
gotoAndPlay('STARTNINJAFIGHT');
undefined;
undefined;
undefined;
}
}
button 939 {
on (release) {
nextFrame();
gotoAndStop(undefined);
undefined;
}
}
button 943 {
on (release) {
prevFrame();
gotoAndStop(undefined);
undefined;
}
}