Frame 1
ScoreText = 200;
EndGame = false;
Level = 1;
MainPause = false;
Score = 0;
MainCount1 = 1;
Speed = 2;
foo = 500;
Lock = false;
SuperBonus = 0;
NumberOfBullets = 10;
MaxBullets = 10;
Again = false;
MySound1 = new Sound();
MySound1.attachSound("MySound1");
MySound2 = new Sound();
MySound2.attachSound("MySound2");
MySound3 = new Sound();
MySound3.attachSound("MySound3");
MySound4 = new Sound();
MySound4.attachSound("MySound4");
MySound5 = new Sound();
MySound5.attachSound("MySound5");
MySound6 = new Sound();
MySound6.attachSound("MySound6");
MySound7 = new Sound();
MySound7.attachSound("MySound7");
MySound8 = new Sound();
MySound8.attachSound("MySound8");
MySound9 = new Sound();
MySound9.attachSound("MySound9");
MySound9.setVolume(50);
Frame 2
stop();
Frame 3
stop();
Frame 5
_root.open = false;
stop();
Frame 9
_root.Background.Curtain.gotoAndPlay(10);
_root.Speed = 1;
Instance of Symbol 98 MovieClip "Target" in Frame 9
onClipEvent (load) {
this.swapDepths(2000);
Mouse.hide();
startDrag (this.Target, true);
}
Frame 10
_root.MySound9.start(0, 5);
_root.MySound9.setVolume(30);
MainCount = 0;
MainTarget = 0;
MainPause = false;
EndGame = false;
Background.Curtain.gotoAndPlay(10);
foo = 500;
Frame 11
_root.CoinBar.gotoAndStop(_root.MainCount1);
if (_root.Level == 1) {
myArray = new Array();
CoinXpos = new Array(300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400, 300, 200, 130);
myArray = new Array();
CoinCount = new Array(20, 30, 40, 50, 60, 70, 100, 200, 220, 230, 300, 340, 350, 360, 370, 380, 500, 510, 520, 550, 560, 590, 120, 830, 840);
myArray = new Array();
CoinSpeed = new Array(2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2);
MainTarget = 22;
Speed = 2;
if (_root.Again == true) {
Speed = 10;
}
}
if (_root.Level == 2) {
myArray = new Array();
CoinXpos = new Array(300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400, 300, 200, 130);
myArray = new Array();
CoinCount = new Array(20, 30, 40, 50, 60, 70, 100, 200, 220, 230, 300, 340, 350, 360, 370, 380, 500, 510, 520, 550, 590, 600, 120, 830, 840);
myArray = new Array();
CoinSpeed = new Array(11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11);
MainTarget = 22;
Speed = 3;
if (_root.Again == true) {
Speed = 10;
}
}
if (_root.Level == 3) {
myArray = new Array();
CoinXpos = new Array(300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400, 300, 200, 130);
myArray = new Array();
CoinCount = new Array(20, 30, 40, 50, 60, 70, 100, 200, 220, 230, 300, 340, 350, 360, 370, 380, 500, 510, 520, 550, 590, 600, 120, 830, 840);
myArray = new Array();
CoinSpeed = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
MainTarget = 22;
if (_root.Again == true) {
Speed = 10;
}
}
if (_root.Level == 6) {
myArray = new Array();
CoinXpos = new Array(150, 170, 200, 230, 260, 290, 320, 350, 380, 410, 440, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400, 300, 200, 130);
myArray = new Array();
CoinCount = new Array(20, 30, 40, 50, 60, 70, 100, 200, 220, 230, 300, 340, 350, 360, 370, 380, 500, 510, 520, 550, 590, 600, 120, 830, 840);
myArray = new Array();
CoinSpeed = new Array(12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12);
MainTarget = 22;
if (_root.Again == true) {
Speed = 10;
}
}
if (_root.Level == 5) {
myArray = new Array();
CoinXpos = new Array(150, 170, 200, 230, 260, 290, 320, 350, 380, 410, 440, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400, 300, 200, 130);
myArray = new Array();
CoinCount = new Array(20, 30, 40, 50, 60, 70, 100, 200, 220, 230, 300, 340, 350, 360, 370, 380, 500, 510, 520, 550, 590, 600, 120, 830, 840);
myArray = new Array();
CoinSpeed = new Array(4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4);
MainTarget = 22;
if (_root.Again == true) {
Speed = 10;
}
}
if (_root.Level == 7) {
myArray = new Array();
CoinXpos = new Array(300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400, 300, 200, 130);
myArray = new Array();
CoinCount = new Array(20, 30, 40, 50, 60, 70, 100, 200, 220, 230, 300, 340, 350, 360, 370, 380, 500, 510, 520, 550, 590, 600, 120, 830, 840);
myArray = new Array();
CoinSpeed = new Array(5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5);
MainTarget = 22;
if (_root.Again == true) {
Speed = 10;
}
}
if (_root.Level == 4) {
myArray = new Array();
CoinXpos = new Array(300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400, 300, 200, 130);
myArray = new Array();
CoinCount = new Array(20, 30, 40, 50, 60, 70, 100, 200, 220, 230, 300, 340, 350, 360, 370, 380, 500, 510, 520, 550, 590, 600, 120, 830, 840);
myArray = new Array();
CoinSpeed = new Array(7, 7, 7, 2, 7, 7, 7, 2, 2, 2, 7, 7, 7, 2, 2, 7, 2, 6, 2, 2, 2, 3);
MainTarget = 22;
Speed = 2;
if (_root.Again == true) {
Speed = 10;
}
}
if (_root.Level == 8) {
myArray = new Array();
CoinXpos = new Array(300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400, 300, 200, 130);
myArray = new Array();
CoinCount = new Array(20, 30, 40, 50, 60, 70, 100, 200, 220, 230, 300, 340, 350, 360, 370, 380, 500, 510, 520, 550, 590, 600, 120, 830, 840);
myArray = new Array();
CoinSpeed = new Array(3, 3, 11, 11, 3, 3, 3, 2, 2, 2, 3, 3, 3, 3, 6, 2, 2, 2, 3, 11, 3, 3);
MainTarget = 22;
if (_root.Again == true) {
Speed = 10;
}
}
if (_root.Level == 9) {
myArray = new Array();
CoinXpos = new Array(300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400);
myArray = new Array();
CoinCount = new Array(20, 30, 40, 50, 60, 70, 100, 200, 220, 230, 240, 260, 280, 300, 310, 320, 500, 510, 700, 705, 710, 715);
myArray = new Array();
CoinSpeed = new Array(4, 5, 4, 7, 4, 5, 4, 5, 4, 5, 7, 5, 4, 5, 6, 5, 4, 5, 5, 5, 5, 5);
MainTarget = 22;
if (_root.Again == true) {
Speed = 10;
}
}
if (_root.Level == 10) {
myArray = new Array();
CoinXpos = new Array(300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400);
myArray = new Array();
CoinCount = new Array(20, 30, 40, 50, 60, 70, 100, 150, 160, 170, 180, 340, 350, 360, 370, 380, 500, 510, 520, 550, 590, 600);
myArray = new Array();
CoinSpeed = new Array(1, 1, 2, 2, 11, 12, 4, 4, 5, 5, 6, 6, 7, 7, 11, 11, 12, 12, 3, 3, 7, 13);
MainTarget = 22;
if (_root.Again == true) {
Speed = 10;
}
}
if (_root.Level == 11) {
myArray = new Array();
CoinXpos = new Array(300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400);
myArray = new Array();
CoinCount = new Array(5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105, 110);
myArray = new Array();
CoinSpeed = new Array(4, 4, 4, 4, 8, 4, 4, 4, 4, 4, 4);
MainTarget = 11;
if (_root.Again == true) {
Speed = 10;
}
}
if (_root.Level == 12) {
myArray = new Array();
CoinXpos = new Array(300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400);
myArray = new Array();
CoinCount = new Array(20, 40, 60, 80, 100, 120, 140, 160, 180, 200, 220, 240, 260, 280, 300, 305, 310, 320, 330, 340, 350, 360);
myArray = new Array();
CoinSpeed = new Array(3, 3, 2, 2, 8, 8, 8, 2, 3, 3, 2, 4, 4, 4, 4, 8, 8, 8, 8, 8, 8, 8);
MainTarget = 22;
if (_root.Again == true) {
Speed = 10;
}
}
if (_root.Level == 13) {
myArray = new Array();
CoinXpos = new Array(300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400);
myArray = new Array();
CoinCount = new Array(20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 240, 260, 280, 300, 305, 310, 320, 330, 340, 350, 360);
myArray = new Array();
CoinSpeed = new Array(13, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2);
MainTarget = 11;
Speed = 10;
}
if (_root.Level == 14) {
myArray = new Array();
CoinXpos = new Array(300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400);
myArray = new Array();
CoinCount = new Array(20, 70, 100, 130, 160, 190, 220, 250, 280, 310, 330, 240, 260, 280, 300, 305, 310, 320, 330, 340, 350, 360);
myArray = new Array();
CoinSpeed = new Array(9, 9, 9, 3, 3, 3, 9, 9, 9, 3, 3);
MainTarget = 11;
Speed = 3;
}
if (_root.Level == 15) {
myArray = new Array();
CoinXpos = new Array(100, 200, 300, 400, 500, 100, 500, 200, 150, 250, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400);
myArray = new Array();
CoinCount = new Array(20, 50, 70, 330, 360, 390, 420, 430, 440, 510, 530, 540, 560, 580, 300, 305, 310, 320, 330, 340, 350, 360);
myArray = new Array();
CoinSpeed = new Array(10, 10, 10, 10, 10, 10, 13, 10, 10, 10, 10, 10, 10, 10);
MainTarget = 14;
}
if (_root.Level == 16) {
myArray = new Array();
CoinXpos = new Array(100, 200, 300, 400, 500, 100, 500, 200, 150, 250, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400, 500, 100);
myArray = new Array();
CoinCount = new Array(20, 50, 80, 130, 160, 190, 220, 230, 240, 310, 330, 340, 360, 380, 400, 405, 410, 420, 430, 440, 450, 460, 490, 590);
myArray = new Array();
CoinSpeed = new Array(1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12);
MainTarget = 24;
Speed = 3;
}
if (_root.Level == 17) {
myArray = new Array();
CoinXpos = new Array(100, 200, 300, 400, 500, 100, 500, 200, 150, 250, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400);
myArray = new Array();
CoinCount = new Array(20, 50, 80, 130, 160, 190, 220, 230, 240, 310, 330, 340, 360, 380, 400, 405, 410, 420, 430, 440, 350, 360);
myArray = new Array();
CoinSpeed = new Array(4, 10, 4, 10, 4, 10, 4, 8, 4, 4, 10, 10, 10, 4, 4, 9, 4, 10, 4, 10);
MainTarget = 20;
Speed = 3;
}
if (_root.Level == 18) {
myArray = new Array();
CoinXpos = new Array(300, 250, 100, 350, 500, 100, 500, 100, 150, 250, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400);
myArray = new Array();
CoinCount = new Array(20, 50, 80, 130, 160, 190, 220, 230, 240, 310, 330, 340, 360, 380, 400, 405, 410, 420, 430, 440, 350, 360);
myArray = new Array();
CoinSpeed = new Array(7, 11, 7, 12, 7, 11, 7, 12, 7, 11, 7, 12, 7, 11, 7);
MainTarget = 15;
Speed = 3;
}
if (_root.Level == 19) {
myArray = new Array();
CoinXpos = new Array(300, 150, 500, 100, 500, 100, 500, 100, 150, 250, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400);
myArray = new Array();
CoinCount = new Array(20, 30, 150, 200, 250, 190, 220, 230, 240, 310, 330, 340, 360, 380, 400, 405, 410, 420, 430, 440, 350, 360);
myArray = new Array();
CoinSpeed = new Array(13, 11);
MainTarget = 2;
Speed = 10;
}
if (_root.Level == 20) {
myArray = new Array();
CoinXpos = new Array(300, 100, 500, 100, 500, 100, 500, 100, 150, 250, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400, 100, 200, 300, 400, 500, 100, 200, 300, 400, 500, 300, 300);
myArray = new Array();
CoinCount = new Array(20, 30, 50, 70, 100, 110, 120, 130, 140, 150, 160, 165, 260, 280, 300, 305, 310, 320, 330, 340, 350, 360, 370, 380, 390, 400, 410, 420, 430, 440, 450, 460, 470, 480, 490);
myArray = new Array();
CoinSpeed = new Array(4, 4, 11, 11, 13, 13, 11, 11, 11, 7, 10, 10, 10, 11, 11, 7, 13, 13, 11, 11, 7, 4, 4, 4, 4, 4, 7, 11, 11, 11, 11, 11, 11, 11, 11);
MainTarget = 35;
Speed = 6;
}
if (_root.Level == 21) {
myArray = new Array();
CoinXpos = new Array(300, 100, 500, 100, 500, 100, 500, 100, 150, 250, 200, 150, 300, 200, 150, 400, 500, 200, 150, 150, 500, 400, 100, 200, 300, 400, 500, 100, 200, 300, 400, 500, 300, 300);
myArray = new Array();
CoinCount = new Array(20, 30, 50, 70, 100, 110, 120, 130, 140, 150, 160, 165, 260, 280, 300, 305, 310, 320, 330, 340, 350, 360, 370, 380, 390, 400, 410, 420, 430, 440, 450, 460, 470, 480, 490);
myArray = new Array();
CoinSpeed = new Array(7, 7, 6, 6, 5, 5, 4, 4, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 12);
MainTarget = 19;
Speed = 4;
}
if (_root.Level == 22) {
_root.Level = 0;
_root.Again = true;
gotoAndPlay (11);
}
Frame 20
stop();
Instance of Symbol 124 MovieClip in Frame 20
onClipEvent (load) {
Timmer = 0;
i = 0;
_root.Perfect = 0;
_root.Background.swapDepths(1010);
_root.CoinBar.swapDepths(1011);
}
onClipEvent (enterFrame) {
if ((_root.MainCount1 > 19) && (_root.MainPause == false)) {
_root.MainPause = true;
_root.EndGame = true;
_root.gotoAndPlay(30);
}
if ((_root.NumberOfBullets < 1) && (_root.Lock == false)) {
_root.Lock = true;
_root.Background.Reload.gotoAndPlay(10);
}
if (_root.MainPause == false) {
Timmer = Timmer + 1;
if (_root.MainCount == _root.MainTarget) {
_root.gotoAndStop(25);
_root.EndGame = true;
_root.MainPause = true;
_root.Score = _root.Score + (_root.NumberOfBullets * (_root.Level * 10));
_root.Background.CoinBar.gotoAndStop(1);
_root.Background.Curtain.gotoAndPlay(60);
if (_root.Perfect == _root.MainTarget) {
_root.MaxBullets = _root.MaxBullets + 5;
_root.SuperBonus = _root.SuperBonus + 1;
if (_root.SuperBonus != 8) {
_root.Background.Perfect.gotoAndPlay(30);
} else {
_root.Background.ManiaBonus.gotoAndPlay(10);
_root.SuperBonus = 0;
_root.Score = _root.Score + 10000;
}
if (_root.MainCount1 > 0) {
_root.MainCount1 = _root.MainCount1 - 1;
}
_root.Score = _root.Score + (1000 * _root.Level);
} else if (_root.MaxBullets > 14) {
_root.MaxBullets = _root.MaxBullets - 5;
}
}
if (Timmer == _root.CoinCount[i]) {
_root.Rand = Math.round((Math.random() * 380) + 70);
if (_root.CoinSpeed[i] == 1) {
duplicateMovieClip (_root.Coin, "mc" + i, i);
setProperty("_root.mc" + i, _x , _root.CoinXpos[i]);
setProperty("_root.mc" + i, _y , _root.TopBarYpos + 90);
i = i + 1;
} else if (_root.CoinSpeed[i] == 2) {
duplicateMovieClip (_root.Coin1, "mc" + i, i);
setProperty("_root.mc" + i, _x , _root.CoinXpos[i]);
setProperty("_root.mc" + i, _y , _root.TopBarYpos + 90);
i = i + 1;
} else if (_root.CoinSpeed[i] == 3) {
duplicateMovieClip (_root.Coin2, "mc" + i, i);
setProperty("_root.mc" + i, _x , _root.CoinXpos[i]);
setProperty("_root.mc" + i, _y , _root.TopBarYpos + 90);
i = i + 1;
} else if (_root.CoinSpeed[i] == 4) {
duplicateMovieClip (_root.Coin3, "mc" + i, i);
setProperty("_root.mc" + i, _x , _root.CoinXpos[i]);
setProperty("_root.mc" + i, _y , 400);
i = i + 1;
} else if (_root.CoinSpeed[i] == 5) {
Rand = Math.round((Math.random() * 290) + 40);
duplicateMovieClip (_root.Coin4, "mc" + i, i);
setProperty("_root.mc" + i, _x , 0);
setProperty("_root.mc" + i, _y , Rand);
i = i + 1;
} else if (_root.CoinSpeed[i] == 6) {
Rand = Math.round((Math.random() * 300) + 30);
duplicateMovieClip (_root.Coin5, "mc" + i, i);
setProperty("_root.mc" + i, _x , _root.CoinXpos[i]);
setProperty("_root.mc" + i, _y , _root.TopBarYpos + 90);
i = i + 1;
} else if (_root.CoinSpeed[i] == 7) {
Rand = Math.round((Math.random() * 300) + 30);
duplicateMovieClip (_root.Coin6, "mc" + i, i);
setProperty("_root.mc" + i, _x , _root.CoinXpos[i]);
setProperty("_root.mc" + i, _y , _root.TopBarYpos + 90);
i = i + 1;
} else if (_root.CoinSpeed[i] == 8) {
duplicateMovieClip (_root.Coin8, "mc" + i, i);
setProperty("_root.mc" + i, _x , _root.CoinXpos[i]);
setProperty("_root.mc" + i, _y , 10);
i = i + 1;
} else if (_root.CoinSpeed[i] == 9) {
duplicateMovieClip (_root.Coin9, "mc" + i, i);
setProperty("_root.mc" + i, _x , _root.CoinXpos[i]);
setProperty("_root.mc" + i, _y , 10);
i = i + 1;
} else if (_root.CoinSpeed[i] == 10) {
duplicateMovieClip (_root.Coin10, "mc" + i, i);
setProperty("_root.mc" + i, _x , _root.CoinXpos[i]);
setProperty("_root.mc" + i, _y , _root.TopBarYpos + 90);
i = i + 1;
} else if (_root.CoinSpeed[i] == 11) {
duplicateMovieClip (_root.Coin11, "mc" + i, i);
setProperty("_root.mc" + i, _x , _root.CoinXpos[i]);
setProperty("_root.mc" + i, _y , 499);
i = i + 1;
} else if (_root.CoinSpeed[i] == 12) {
Rand = Math.round((Math.random() * 200) + 300);
duplicateMovieClip (_root.Coin12, "mc" + i, i);
setProperty("_root.mc" + i, _x , 550);
setProperty("_root.mc" + i, _y , _root.Rand);
i = i + 1;
} else if (_root.CoinSpeed[i] == 13) {
duplicateMovieClip (_root.Coin13, "mc" + i, i);
setProperty("_root.mc" + i, _x , _root.CoinXpos[i]);
setProperty("_root.mc" + i, _y , 40);
i = i + 1;
}
}
}
}
Instance of Symbol 156 MovieClip "Coin" in Frame 20
onClipEvent (load) {
Fly = false;
Speed = 2;
Pause = false;
ShotCount = Speed - 1;
Count = 0;
}
onClipEvent (enterFrame) {
if (_root.EndGame == true) {
this.removeMovieClip();
}
if ((Pause == false) && (this._y > 0)) {
this._y = this._y + Speed;
Rand1 = Math.round((Math.random() * 10) + 1);
if ((this._x < 500) && (Rand1 > 5)) {
this._x = this._x + Speed;
}
if ((this._x > 40) && (Rand1 < 6)) {
this._x = this._x - Speed;
}
if (this._y > 500) {
_root.MainCount = _root.MainCount + 1;
_root.MainCount1 = _root.MainCount1 + 1;
_root.CoinBar.gotoAndStop(_root.MainCount1);
_root.MySound6.start(0, 1);
this.removeMovieClip();
}
}
}
Instance of Symbol 160 MovieClip "Coin1" in Frame 20
onClipEvent (load) {
Fly = false;
Pause = false;
ShotCount = 0;
Rand = Math.round((Math.random() * 10) + 1);
Count = 0;
}
onClipEvent (enterFrame) {
if (_root.EndGame == true) {
this.removeMovieClip();
}
if ((Pause == false) && (this._y > 0)) {
this._y = this._y + _root.Speed;
}
if (this._y > 500) {
_root.MainCount = _root.MainCount + 1;
_root.MainCount1 = _root.MainCount1 + 1;
_root.CoinBar.gotoAndStop(_root.MainCount1);
_root.MySound6.start(0, 1);
this.removeMovieClip();
}
}
Instance of Symbol 168 MovieClip "Coin2" in Frame 20
onClipEvent (load) {
Fly = false;
Speed = 2;
Pause = false;
ShotCount = 1;
Rand = Math.round((Math.random() * 10) + 1);
Count = 0;
}
onClipEvent (enterFrame) {
if (_root.EndGame == true) {
this.removeMovieClip();
}
if ((Pause == false) && (this._y > 0)) {
this._y = this._y + Speed;
}
if (this._y > 500) {
_root.MainCount = _root.MainCount + 1;
_root.MainCount1 = _root.MainCount1 + 2;
_root.CoinBar.gotoAndStop(_root.MainCount1);
_root.MySound6.start(0, 1);
this.removeMovieClip();
}
}
Instance of Symbol 173 MovieClip "Coin3" in Frame 20
onClipEvent (load) {
Fly = false;
Speed = 10;
Pause = false;
ShotCount = 0;
Count = 0;
Up = true;
}
onClipEvent (enterFrame) {
if (_root.EndGame == true) {
this.removeMovieClip();
}
if ((Pause == false) && (this._y > 0)) {
if (Up == true) {
this._y = this._y - Speed;
Speed = Speed - 0.2;
} else {
this._y = this._y + Speed;
Speed = Speed + 0.2;
}
if (Speed < 1) {
Speed = 1;
Up = false;
}
if (this._y > 500) {
_root.MainCount = _root.MainCount + 1;
_root.MainCount1 = _root.MainCount1 + 1;
_root.CoinBar.gotoAndStop(_root.MainCount1);
_root.MySound6.start(0, 1);
this.removeMovieClip();
}
}
}
Instance of Symbol 178 MovieClip "Coin4" in Frame 20
onClipEvent (load) {
Fly = false;
Pause = false;
ShotCount = 0;
Count = 0;
Up = true;
Speed = Math.round((Math.random() * 9) + 6);
}
onClipEvent (enterFrame) {
if (_root.EndGame == true) {
this.removeMovieClip();
}
if ((Pause == false) && (this._y > 0)) {
if (Up == true) {
this._x = this._x + Speed;
Speed = Speed - 0.2;
} else {
this._y = this._y + Speed;
Speed = Speed + 0.2;
}
if (Speed < 1) {
Speed = 1;
Up = false;
}
if (this._y > 500) {
_root.MainCount = _root.MainCount + 1;
_root.MainCount1 = _root.MainCount1 + 1;
_root.CoinBar.gotoAndStop(_root.MainCount1);
_root.MySound6.start(0, 1);
this.removeMovieClip();
}
}
}
Instance of Symbol 187 MovieClip "Coin5" in Frame 20
onClipEvent (load) {
Fly = false;
Speed = 3;
Pause = false;
ShotCount = 4;
Rand = Math.round((Math.random() * 10) + 1);
Count = 0;
}
onClipEvent (enterFrame) {
if (_root.EndGame == true) {
this.removeMovieClip();
}
if ((Pause == false) && (this._y > 0)) {
this._y = this._y + Speed;
}
if (this._y > 500) {
_root.MainCount = _root.MainCount + 1;
_root.MainCount1 = _root.MainCount1 + 1;
_root.CoinBar.gotoAndStop(_root.MainCount1);
_root.MySound6.start(0, 1);
this.removeMovieClip();
}
}
Instance of Symbol 192 MovieClip "Coin6" in Frame 20
onClipEvent (load) {
Fly = false;
Pause = false;
ShotCount = 7;
Count = 0;
}
onClipEvent (enterFrame) {
if (_root.EndGame == true) {
this.removeMovieClip();
}
if ((Pause == false) && (this._y > 0)) {
this._y = this._y + _root.Speed;
if (this._y > 500) {
_root.MainCount1 = _root.MainCount1 + 3;
_root.MainCount = _root.MainCount + 1;
_root.CoinBar.gotoAndStop(_root.MainCount1);
_root.MySound6.start(0, 1);
this.removeMovieClip();
}
}
}
Instance of Symbol 196 MovieClip "Coin8" in Frame 20
onClipEvent (load) {
Fly = false;
Pause = false;
ShotCount = 0;
Count = 0;
Up = true;
}
onClipEvent (enterFrame) {
if (_root.EndGame == true) {
this.removeMovieClip();
}
if ((Pause == false) && (this._y > 0)) {
this._y = this._y + 3;
}
if (this._y > 500) {
_root.MainCount = _root.MainCount + 1;
_root.Perfect = _root.Perfect + 1;
_root.MySound6.start(0, 1);
this.removeMovieClip();
}
}
Instance of Symbol 203 MovieClip "Coin9" in Frame 20
onClipEvent (load) {
Fly = false;
Pause = false;
ShotCount = 0;
Count = 0;
myArray = new Array();
TargetXpos = new Array(100, 200, 300, 200, 300, 600, 150, 300, 500);
myArray = new Array();
TargetYpos = new Array(100, 200, 300, 200, 300, 100, 400, 300, 600);
foo = 1;
}
onClipEvent (enterFrame) {
if (_root.EndGame == true) {
this.removeMovieClip();
}
if ((Pause == false) && (this._y > 0)) {
this._y = this._y + ((TargetYpos[foo] - this._y) / 5);
this._x = this._x + ((TargetXpos[foo] - this._x) / 5);
if ((this._x >= (TargetXpos[foo] - 1)) && (this._x <= (TargetXpos[foo] + 1))) {
foo = foo + 1;
}
}
if (this._y > 500) {
_root.MainCount = _root.MainCount + 1;
_root.MainCount1 = _root.MainCount1 + 1;
_root.CoinBar.gotoAndStop(_root.MainCount1);
_root.MySound6.start(0, 1);
this.removeMovieClip();
}
}
Instance of Symbol 210 MovieClip "Coin10" in Frame 20
onClipEvent (load) {
Fly = false;
Pause = false;
ShotCount = 0;
Rand = Math.round((Math.random() * 10) + 1);
Count = 0;
}
onClipEvent (enterFrame) {
if (_root.EndGame == true) {
this.removeMovieClip();
}
if ((Pause == false) && (this._y > 0)) {
this._y = this._y + 8;
if (this._y > 0) {
Bottle._rotation = Bottle._rotation + 1;
}
}
if (this._y > 500) {
_root.MainCount = _root.MainCount + 1;
_root.MainCount1 = _root.MainCount1 + 2;
_root.CoinBar.gotoAndStop(_root.MainCount1);
_root.MySound6.start(0, 1);
this.removeMovieClip();
}
}
Instance of Symbol 221 MovieClip "Coin11" in Frame 20
onClipEvent (load) {
Fly = false;
Pause = false;
ShotCount = 0;
Count = 0;
}
onClipEvent (enterFrame) {
if (_root.EndGame == true) {
this.removeMovieClip();
}
if ((Pause == false) && (this._y > 0)) {
this._y = this._y - _root.Speed;
}
if ((this._y > -10) && (this._y < 0)) {
_root.MainCount = _root.MainCount + 1;
_root.MainCount1 = _root.MainCount1 + 1;
_root.CoinBar.gotoAndStop(_root.MainCount1);
_root.MySound6.start(0, 1);
this.removeMovieClip();
}
}
Instance of Symbol 225 MovieClip "Coin12" in Frame 20
onClipEvent (load) {
Fly = false;
Pause = false;
ShotCount = 0;
Count = 0;
}
onClipEvent (enterFrame) {
if (_root.EndGame == true) {
this.removeMovieClip();
}
if ((Pause == false) && (this._y > 0)) {
this._x = this._x - _root.Speed;
}
if (this._x < 0) {
_root.MainCount = _root.MainCount + 1;
_root.MainCount1 = _root.MainCount1 + 1;
_root.CoinBar.gotoAndStop(_root.MainCount1);
_root.MySound6.start(0, 1);
this.removeMovieClip();
}
}
Instance of Symbol 229 MovieClip "Coin13" in Frame 20
onClipEvent (load) {
Fly = false;
Pause = false;
ShotCount = 0;
Rand = Math.round((Math.random() * 10) + 1);
Count = 0;
}
onClipEvent (enterFrame) {
if (_root.EndGame == true) {
this.removeMovieClip();
}
if ((Pause == false) && (this._y > 0)) {
this._y = this._y + 5;
}
if (this._y > 500) {
_root.MainCount = _root.MainCount + 1;
_root.MainCount1 = _root.MainCount1 + 10;
_root.CoinBar.gotoAndStop(_root.MainCount1);
_root.MySound6.start(0, 1);
this.removeMovieClip();
}
}
Frame 25
_root.EndGame = false;
i = 0;
while (i < 500) {
removeMovieClip(_root["mc" + i]);
i++;
}
stop();
_root.EndGame = false;
_root.MySound4.stop();
i = 0;
while (i < 1000) {
removeMovieClip(_root["mc" + i]);
i++;
}
stop();
Instance of Symbol 238 MovieClip "EndMovie" in Frame 25
onClipEvent (load) {
this.swapDepths(1012);
}
Frame 30
_root.MySound9.stop();
Frame 31
stop();
Symbol 15 MovieClip Frame 1
stop();
Symbol 15 MovieClip Frame 100
stop();
Symbol 18 MovieClip Frame 1
doneLoading = 0;
stop();
Instance of Symbol 17 MovieClip "bkgd" in Symbol 18 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.doneLoading == 0) {
total = _parent._parent.getBytesTotal();
isloaded = _parent._parent.getBytesLoaded();
p = 100 * (isLoaded / total);
_root.LoaderMovie.gotoAndPlay(int(p));
_parent.bytes = ((int(isloaded / 1000) add " KB of ") add int(total / 1000)) add " KB";
_parent.percent = int(p) add "% LOADED";
if (p > 95) {
_parent._parent.gotoAndPlay(3);
_parent.gotoAndStop("off");
_parent.doneLoading = 1;
} else {
_parent._parent.gotoAndPlay(1);
}
}
}
Symbol 26 MovieClip Frame 90
_root.Logo.gotoAndPlay(2);
stop();
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 160
_root.gotoAndStop(5);
stop();
Symbol 54 Button
on (release) {
if (_root.open == false) {
this.removeMovieClip();
_root.Target.removeMovieClip();
_root.Main.removeMovieClip();
_root.Dave.gotoAndPlay(9);
_root.open = true;
}
}
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 40
_root.gotoAndPlay(9);
stop();
Symbol 61 Button
on (release) {
getURL ("http://www.flashninjaclan.com", "_blank");
}
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 105
gotoAndStop (1);
Symbol 74 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 100
gotoAndStop (1);
Symbol 84 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 20
gotoAndStop (1);
Symbol 90 Button
on (rollOver) {
if (_root.Reload == false) {
_root.MySound8.start(0, 1);
_root.Reload = true;
_root.Lock = false;
_root.NumberOfBullets = _root.MaxBullets;
_root.Background.BulletMovie.gotoAndPlay(5);
}
}
on (rollOut) {
_root.Reload = false;
}
Symbol 95 MovieClip Frame 1
stop();
Instance of Symbol 70 MovieClip "Perfect" in Symbol 95 MovieClip Frame 1
/* no clip actions */
Symbol 98 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 21
gotoAndStop (1);
Symbol 124 MovieClip Frame 1
stop();
Symbol 127 Button
on (press) {
if (_root.NumberOfBullets > 0) {
if (this.Count == this.ShotCount) {
_root.Hit = _root.Hit + 1;
_root.MySound2.start(0, 1);
_root.ScoreText = 200;
_root.NumberOfBullets = _root.NumberOfBullets - 1;
_root.Score = _root.Score + 200;
_root.Perfect = _root.Perfect + 1;
Pause = true;
Fly = true;
_root.MainCount = _root.MainCount + 1;
_root.Background.ScoreMovie.gotoAndPlay(5);
this.gotoAndPlay(20);
}
this.Count = this.Count + 1;
if (Fly == false) {
_root.Hit = _root.Hit + 1;
_root.MySound1.start(0, 1);
this.gotoAndStop(this.Count + 9);
_root.NumberOfBullets = _root.NumberOfBullets - 1;
}
}
if (_root.NumberOfBullets > 0) {
_root.MySound2.start(0, 1);
} else {
_root.MySound4.start(0, 1);
}
}
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 60
this.removeMovieClip();
Symbol 159 Button
on (press) {
if (_root.NumberOfBullets > 0) {
if (this.Count == this.ShotCount) {
_root.Hit = _root.Hit + 1;
_root.MySound2.start(0, 1);
_root.ScoreText = 100;
_root.NumberOfBullets = _root.NumberOfBullets - 1;
_root.Score = _root.Score + 100;
_root.Perfect = _root.Perfect + 1;
Pause = true;
Fly = true;
_root.MainCount = _root.MainCount + 1;
_root.Background.ScoreMovie.gotoAndPlay(5);
this.gotoAndPlay(20);
}
this.Count = this.Count + 1;
if (Fly == false) {
_root.Hit = _root.Hit + 1;
_root.MySound1.start(0, 1);
this.gotoAndStop(this.Count + 9);
_root.NumberOfBullets = _root.NumberOfBullets - 1;
}
}
if (_root.NumberOfBullets > 0) {
_root.MySound2.start(0, 1);
} else {
_root.MySound4.start(0, 1);
}
}
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 60
this.removeMovieClip();
Symbol 163 Button
on (press) {
if ((this.Count == this.ShotCount) && (_root.NumberOfBullets > 0)) {
_root.MySound2.start(0, 1);
_root.Hit = _root.Hit + 1;
Fly = true;
Pause = true;
_root.NumberOfBullets = _root.NumberOfBullets - 1;
this.gotoAndPlay(20);
duplicateMovieClip (_root.Coin1, "mc" + _root.foo, _root.foo);
setProperty("_root.mc" + _root.foo, _x , this._x + 30);
setProperty("_root.mc" + _root.foo, _y , this._y);
_root.foo = _root.foo + 1;
duplicateMovieClip (_root.Coin1, "mc" + _root.foo, _root.foo);
setProperty("_root.mc" + _root.foo, _x , this._x - 30);
setProperty("_root.mc" + _root.foo, _y , this._y);
_root.foo = _root.foo + 1;
_root.MainCount = _root.MainCount + 1;
_root.MainTarget = _root.MainTarget + 2;
_root.Perfect = _root.Perfect + 1;
}
this.Count = this.Count + 1;
if ((Fly == false) && (_root.NumberOfBullets > 0)) {
_root.Hit = _root.Hit + 1;
_root.MySound1.start(0, 1);
_root.NumberOfBullets = _root.NumberOfBullets - 1;
this.gotoAndStop(this.Count + 9);
}
if (_root.NumberOfBullets < 1) {
_root.MySound4.start(0, 1);
}
}
Symbol 168 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 60
this.removeMovieClip();
Symbol 169 Button
on (press) {
if (_root.NumberOfBullets > 0) {
if (this.Count == this.ShotCount) {
_root.Hit = _root.Hit + 1;
_root.MySound2.start(0, 1);
_root.ScoreText = 400;
_root.NumberOfBullets = _root.NumberOfBullets - 1;
_root.Score = _root.Score + 400;
_root.Perfect = _root.Perfect + 1;
Pause = true;
Fly = true;
_root.MainCount = _root.MainCount + 1;
_root.Background.ScoreMovie.gotoAndPlay(5);
this.gotoAndPlay(20);
}
this.Count = this.Count + 1;
if (Fly == false) {
_root.Hit = _root.Hit + 1;
_root.MySound1.start(0, 1);
this.gotoAndStop(this.Count + 9);
_root.NumberOfBullets = _root.NumberOfBullets - 1;
}
}
if (_root.NumberOfBullets > 0) {
_root.MySound2.start(0, 1);
} else {
_root.MySound4.start(0, 1);
}
}
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 60
this.removeMovieClip();
Symbol 174 Button
on (press) {
if (_root.NumberOfBullets > 0) {
if (this.Count == this.ShotCount) {
_root.Hit = _root.Hit + 1;
_root.MySound2.start(0, 1);
_root.ScoreText = 250;
_root.NumberOfBullets = _root.NumberOfBullets - 1;
_root.Score = _root.Score + 250;
_root.Perfect = _root.Perfect + 1;
Pause = true;
Fly = true;
_root.MainCount = _root.MainCount + 1;
_root.Background.ScoreMovie.gotoAndPlay(5);
this.gotoAndPlay(20);
}
this.Count = this.Count + 1;
if (Fly == false) {
_root.Hit = _root.Hit + 1;
_root.MySound1.start(0, 1);
this.gotoAndStop(this.Count + 9);
_root.NumberOfBullets = _root.NumberOfBullets - 1;
}
}
if (_root.NumberOfBullets > 0) {
_root.MySound2.start(0, 1);
} else {
_root.MySound4.start(0, 1);
}
}
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 60
this.removeMovieClip();
Symbol 181 Button
on (press) {
if ((this.Count == this.ShotCount) && (_root.NumberOfBullets > 0)) {
_root.MySound2.start(0, 1);
_root.Hit = _root.Hit + 1;
_root.ScoreText = 700;
_root.Score = _root.Score + 700;
_root.TopBarYpos = -70;
_root.Perfect = _root.Perfect + 1;
Pause = true;
Fly = true;
_root.NumberOfBullets = _root.NumberOfBullets - 1;
_root.Background.ScoreMovie.gotoAndPlay(5);
this.gotoAndPlay(20);
_root.MainCount = _root.MainCount + 1;
}
this.Count = this.Count + 1;
if ((Fly == false) && (_root.NumberOfBullets > 0)) {
_root.Hit = _root.Hit + 1;
_root.MySound1.start(0, 1);
_root.NumberOfBullets = _root.NumberOfBullets - 1;
this.gotoAndStop(this.Count + 9);
}
if (_root.NumberOfBullets < 1) {
_root.MySound4.start(0, 1);
}
}
Symbol 187 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 60
this.removeMovieClip();
Symbol 190 Button
on (press) {
if (_root.NumberOfBullets > 0) {
if (this.Count == this.ShotCount) {
_root.Hit = _root.Hit + 1;
_root.MySound2.start(0, 1);
_root.ScoreText = 300;
_root.NumberOfBullets = _root.NumberOfBullets - 1;
_root.Score = _root.Score + 300;
_root.Perfect = _root.Perfect + 1;
Pause = true;
Fly = true;
_root.MainCount = _root.MainCount + 1;
_root.Background.ScoreMovie.gotoAndPlay(5);
this.gotoAndPlay(20);
}
this.Count = this.Count + 1;
if (Fly == false) {
_root.Hit = _root.Hit + 1;
_root.MySound1.start(0, 1);
this.gotoAndStop(this.Count + 9);
_root.NumberOfBullets = _root.NumberOfBullets - 1;
}
}
if (_root.NumberOfBullets > 0) {
_root.MySound2.start(0, 1);
} else {
_root.MySound4.start(0, 1);
}
}
Symbol 191 Button
on (press) {
if (_root.NumberOfBullets > 0) {
_root.Hit = _root.Hit + 1;
_root.MySound2.start(0, 1);
_root.ScoreText = 1000;
_root.NumberOfBullets = _root.NumberOfBullets - 1;
_root.Score = _root.Score + 1000;
_root.Perfect = _root.Perfect + 1;
Pause = true;
Fly = true;
_root.MainCount = _root.MainCount + 1;
_root.Background.ScoreMovie.gotoAndPlay(5);
this.gotoAndPlay(20);
}
}
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 60
this.removeMovieClip();
Symbol 195 Button
on (press) {
if (_root.NumberOfBullets > 0) {
if (this.Count == this.ShotCount) {
_root.Hit = _root.Hit + 1;
_root.MySound2.start(0, 1);
_root.ScoreText = -1000;
_root.NumberOfBullets = _root.NumberOfBullets - 1;
_root.Score = _root.Score - 1000;
_root.Perfect = _root.Perfect + 1;
Pause = true;
Fly = true;
_root.MainCount = _root.MainCount + 1;
_root.Background.ScoreMovie.gotoAndPlay(5);
this.gotoAndPlay(20);
}
this.Count = this.Count + 1;
if (Fly == false) {
_root.Hit = _root.Hit + 1;
_root.MySound1.start(0, 1);
this.gotoAndStop(this.Count + 9);
_root.NumberOfBullets = _root.NumberOfBullets - 1;
}
}
if (_root.NumberOfBullets > 0) {
_root.MySound2.start(0, 1);
} else {
_root.MySound4.start(0, 1);
}
}
Symbol 196 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 60
this.removeMovieClip();
Symbol 199 Button
on (press) {
if (_root.NumberOfBullets > 0) {
if (this.Count == this.ShotCount) {
_root.Hit = _root.Hit + 1;
_root.MySound2.start(0, 1);
_root.ScoreText = 800;
_root.NumberOfBullets = _root.NumberOfBullets - 1;
_root.Score = _root.Score + 800;
_root.Perfect = _root.Perfect + 1;
Pause = true;
Fly = true;
_root.MainCount = _root.MainCount + 1;
_root.Background.ScoreMovie.gotoAndPlay(5);
this.gotoAndPlay(20);
}
this.Count = this.Count + 1;
if (Fly == false) {
_root.Hit = _root.Hit + 1;
_root.MySound1.start(0, 1);
this.gotoAndStop(this.Count + 9);
_root.NumberOfBullets = _root.NumberOfBullets - 1;
}
}
if (_root.NumberOfBullets > 0) {
_root.MySound2.start(0, 1);
} else {
_root.MySound4.start(0, 1);
}
}
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 60
this.removeMovieClip();
Symbol 207 Button
on (press) {
if (_root.NumberOfBullets > 0) {
if (this.Count == this.ShotCount) {
_root.Hit = _root.Hit + 1;
_root.MySound2.start(0, 1);
_root.ScoreText = 900;
_root.NumberOfBullets = _root.NumberOfBullets - 1;
_root.Score = _root.Score + 900;
_root.Perfect = _root.Perfect + 1;
Pause = true;
Fly = true;
_root.MainCount = _root.MainCount + 1;
_root.Background.ScoreMovie.gotoAndPlay(5);
this.gotoAndPlay(20);
}
this.Count = this.Count + 1;
if (Fly == false) {
_root.Hit = _root.Hit + 1;
_root.MySound1.start(0, 1);
this.gotoAndStop(this.Count + 9);
_root.NumberOfBullets = _root.NumberOfBullets - 1;
}
}
if (_root.NumberOfBullets > 0) {
_root.MySound2.start(0, 1);
} else {
_root.MySound4.start(0, 1);
}
}
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 60
this.removeMovieClip();
Symbol 216 MovieClip Frame 15
gotoAndPlay (1);
Symbol 217 Button
on (press) {
if (_root.NumberOfBullets > 0) {
if (this.Count == this.ShotCount) {
_root.Hit = _root.Hit + 1;
_root.MySound2.start(0, 1);
_root.ScoreText = 150;
_root.NumberOfBullets = _root.NumberOfBullets - 1;
_root.Score = _root.Score + 150;
_root.Perfect = _root.Perfect + 1;
Pause = true;
Fly = true;
_root.MainCount = _root.MainCount + 1;
_root.Background.ScoreMovie.gotoAndPlay(5);
this.gotoAndPlay(20);
}
this.Count = this.Count + 1;
if (Fly == false) {
_root.Hit = _root.Hit + 1;
_root.MySound1.start(0, 1);
this.gotoAndStop(this.Count + 9);
_root.NumberOfBullets = _root.NumberOfBullets - 1;
}
}
if (_root.NumberOfBullets > 0) {
_root.MySound2.start(0, 1);
} else {
_root.MySound4.start(0, 1);
}
}
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 60
this.removeMovieClip();
Symbol 224 Button
on (press) {
if (_root.NumberOfBullets > 0) {
if (this.Count == this.ShotCount) {
_root.Hit = _root.Hit + 1;
_root.MySound2.start(0, 1);
_root.ScoreText = 350;
_root.NumberOfBullets = _root.NumberOfBullets - 1;
_root.Score = _root.Score + 350;
_root.Perfect = _root.Perfect + 1;
Pause = true;
Fly = true;
_root.MainCount = _root.MainCount + 1;
_root.Background.ScoreMovie.gotoAndPlay(5);
this.gotoAndPlay(20);
}
this.Count = this.Count + 1;
if (Fly == false) {
_root.Hit = _root.Hit + 1;
_root.MySound1.start(0, 1);
this.gotoAndStop(this.Count + 9);
_root.NumberOfBullets = _root.NumberOfBullets - 1;
}
}
if (_root.NumberOfBullets > 0) {
_root.MySound2.start(0, 1);
} else {
_root.MySound4.start(0, 1);
}
}
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 60
this.removeMovieClip();
Symbol 228 Button
on (press) {
if (_root.NumberOfBullets > 0) {
if (this.Count == this.ShotCount) {
_root.Hit = _root.Hit + 1;
_root.MySound2.start(0, 1);
_root.ScoreText = 500;
_root.NumberOfBullets = _root.NumberOfBullets - 1;
_root.Score = _root.Score + 500;
_root.Perfect = _root.Perfect + 1;
Pause = true;
Fly = true;
_root.MainCount = _root.MainCount + 1;
_root.Background.ScoreMovie.gotoAndPlay(5);
this.gotoAndPlay(20);
}
this.Count = this.Count + 1;
if (Fly == false) {
_root.Hit = _root.Hit + 1;
_root.MySound1.start(0, 1);
this.gotoAndStop(this.Count + 9);
_root.NumberOfBullets = _root.NumberOfBullets - 1;
}
}
if (_root.NumberOfBullets > 0) {
_root.MySound2.start(0, 1);
} else {
_root.MySound4.start(0, 1);
}
}
Symbol 229 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 60
this.removeMovieClip();
Symbol 230 Button
on (press) {
if (_root.NumberOfBullets > 0) {
_root.MySound2.start(0, 1);
_root.NumberOfBullets = _root.NumberOfBullets - 1;
_root.Background.BulletMovie.gotoAndPlay(5);
_root.Miss = _root.Miss + 1;
}
if (_root.NumberofBullets <= 0) {
_root.MySound4.start(0, 1);
}
}
Symbol 238 MovieClip Frame 120
_root.TopBar.removeMovieClip();
_root.Target.removeMovieClip();
_root.EndGame = false;
_root.Level = _root.Level + 1;
_root.MainPause = false;
_root.TopBarYpos = _root.Weaver;
_root.Background.removeMovieClip();
_root.CoinBar.removeMovieClip();
_root.gotoAndPlay(10);
stop();
Symbol 247 Button
on (release) {
nukename = _root.scorename;
nukescore = _root.Score;
loadVariablesNum ("http://www.flashninjaclan.com/games/targetshooting/newscore.php", 0, "POST");
_root.TopBar.removeMovieClip();
_root.EndGame = false;
_root.MainPause = false;
_root.MainCount1 = 1;
_root.MainTarget = 0;
_root.Background.removeMovieClip();
_root.CoinBar.removeMovieClip();
_root.Level = 1;
_root.Score = 0;
_root.foo = 500;
_root.Again = false;
_root.gotoAndPlay(3);
}
Symbol 253 Button
on (release) {
getURL ("http://www.flashninjaclan.com/games/targetshooting/topscores.php");
}
Symbol 254 MovieClip Frame 1
_root.Total = _root.Miss + _root.Hit;
_root.Percent = int(100 * (_root.Hit / _root.Total));
TextBox.text = ((((((((((TextBox.text + _root.Percent) + "% PERCENT ACCURATE") + newline) + "BULLETS FIRED=") + _root.Total) + newline) + "TARGETS HIT=") + _root.Hit) + newline) + "TARGETS MISSED=") + _root.Miss;
stop();