Frame 2
stop();
paused = false;
power = 1;
sizelvl = 1;
speedlvl = 1;
powerlvl = 1;
t = 0;
seconds = 0;
secondrate = 0;
money = 0;
fullhp = true;
health = 100;
healthround = 100;
maxhealth = 100;
blue1health = 40;
blue2health = 40;
blue3health = 40;
blue4health = 40;
blue5health = 40;
blue6health = 40;
blue7health = 40;
blue8health = 40;
red1health = 50;
red2health = 50;
red3health = 50;
green1health = 130;
green2health = 130;
green3health = 130;
purple1health = 60;
purple2health = 60;
orange1health = 150;
orange2health = 150;
yellow1health = 250;
yellow2health = 250;
autoheal = false;
Frame 4
stop();
Instance of Symbol 100 MovieClip "wallup" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(38)) {
_root.player._y = _root.player._y + _root.player.speed;
}
}
}
Instance of Symbol 100 MovieClip "walldown" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(40)) {
_root.player._y = _root.player._y - _root.player.speed;
}
}
}
Instance of Symbol 100 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(37)) {
_root.player._x = _root.player._x + _root.player.speed;
}
}
}
Instance of Symbol 137 MovieClip "player" in Frame 4
onClipEvent (load) {
speed = 2.8;
stop();
}
onClipEvent (enterFrame) {
if (_root.paused == false) {
_x = (_x + (Key.isDown(39) * speed));
_x = (_x - (Key.isDown(37) * speed));
_y = (_y + (Key.isDown(40) * speed));
_y = (_y - (Key.isDown(38) * speed));
}
}
Frame 5
stop();
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(39)) {
_root.player._x = _root.player._x - _root.player.speed;
}
}
}
Instance of Symbol 124 MovieClip "basehealth" in Frame 5
onClipEvent (enterFrame) {
_root.healthround = Math.round(_root.health);
}
Instance of Symbol 178 MovieClip "blue1" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(150) + 550;
this._y = random(210) + 70;
Speed = (Math.random() + 1.25) * 1.1;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.blue1round = Math.round(_root.blue1health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 187 MovieClip "blue2" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(150) + 550;
this._y = random(210) + 70;
Speed = (Math.random() + 1.25) * 1.1;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.blue2round = Math.round(_root.blue2health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 196 MovieClip "blue3" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(150) + 550;
this._y = random(210) + 70;
Speed = (Math.random() + 1.25) * 1.1;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.blue3round = Math.round(_root.blue3health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 199 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (_root.t < 19700) {
_root.t++;
} else {
_root.t = _root.t - 700;
}
}
}
onClipEvent (enterFrame) {
if (_root.paused == false) {
_root.secondrate = _root.secondrate + 0.03125;
_root.seconds = Math.round(_root.secondrate);
}
}
Instance of Symbol 208 MovieClip "blue4" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(150) + 550;
this._y = random(210) + 70;
Speed = (Math.random() + 1.25) * 1.1;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.blue4round = Math.round(_root.blue4health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 228 MovieClip "red1" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(150) + 550;
this._y = random(210) + 70;
Speed = (Math.random() + 4) * 0.65;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.red1round = Math.round(_root.red1health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 237 MovieClip "blue5" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(150) + 550;
this._y = random(210) + 70;
Speed = (Math.random() + 1.25) * 1.1;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.blue5round = Math.round(_root.blue5health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 246 MovieClip "blue6" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(150) + 550;
this._y = random(210) + 70;
Speed = (Math.random() + 1.25) * 1.1;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.blue6round = Math.round(_root.blue6health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 255 MovieClip "red2" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(200) + 600;
this._y = random(210) + 70;
Speed = (Math.random() + 4) * 0.65;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.red2round = Math.round(_root.red2health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 275 MovieClip "green1" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(150) + 550;
this._y = random(210) + 70;
Speed = (Math.random() + 1.5) * 0.5;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.green1round = Math.round(_root.green1health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 296 MovieClip "purple1" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(150) + 550;
this._y = random(210) + 70;
Speed = (Math.random() + 6) * 0.6;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.purple1round = Math.round(_root.purple1health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 318 MovieClip "orange1" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(150) + 550;
this._y = random(210) + 70;
Speed = (Math.random() + 2.5) * 0.9;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.orange1round = Math.round(_root.orange1health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 338 MovieClip "yellow1" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(150) + 550;
this._y = random(210) + 70;
Speed = (Math.random() + 4) * 0.45;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.yellow1round = Math.round(_root.yellow1health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 348 MovieClip "blue7" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(150) + 550;
this._y = random(210) + 70;
Speed = (Math.random() + 1.25) * 1.1;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.blue7round = Math.round(_root.blue7health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 357 MovieClip "red3" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(200) + 600;
this._y = random(210) + 70;
Speed = (Math.random() + 4) * 0.65;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.red3round = Math.round(_root.red3health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 366 MovieClip "green2" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(150) + 550;
this._y = random(210) + 70;
Speed = (Math.random() + 1.5) * 0.5;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.green2round = Math.round(_root.green2health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 375 MovieClip "green3" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(150) + 550;
this._y = random(210) + 70;
Speed = (Math.random() + 1.5) * 0.5;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.green3round = Math.round(_root.green3health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 392 MovieClip "purple2" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(150) + 550;
this._y = random(210) + 70;
Speed = (Math.random() + 6) * 0.6;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.purple2round = Math.round(_root.purple2health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 403 MovieClip "orange2" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(150) + 550;
this._y = random(210) + 70;
Speed = (Math.random() + 2.5) * 0.9;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.orange2round = Math.round(_root.orange2health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 413 MovieClip "yellow2" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(150) + 550;
this._y = random(210) + 70;
Speed = (Math.random() + 4) * 0.45;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.yellow2round = Math.round(_root.yellow2health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 417 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.t == 50) {
_root.blue1.reset();
}
if (_root.t == 180) {
_root.blue2.reset();
}
if (_root.t == 250) {
_root.blue3.reset();
}
if (_root.t == 350) {
_root.blue4.reset();
}
if (_root.t == 400) {
_root.blue5.reset();
}
if (_root.t == 550) {
_root.blue6.reset();
}
if (_root.t == 620) {
_root.blue7.reset();
}
if (_root.t == 700) {
_root.blue8.reset();
}
if (_root.t == 820) {
_root.blue1.reset();
}
if (_root.t == 900) {
_root.blue2.reset();
}
if (_root.t == 1000) {
_root.blue3.reset();
}
if (_root.t == 1080) {
_root.blue4.reset();
}
if (_root.t == 1200) {
_root.blue5.reset();
}
if (_root.t == 1250) {
_root.blue6.reset();
}
if (_root.t == 1320) {
_root.blue7.reset();
}
if (_root.t == 1400) {
_root.blue8.reset();
}
if (_root.t == 1480) {
_root.blue1.reset();
}
if (_root.t == 1520) {
_root.blue2.reset();
}
if (_root.t == 1600) {
_root.blue3.reset();
}
if (_root.t == 1720) {
_root.blue4.reset();
}
if (_root.t == 1780) {
_root.blue5.reset();
}
if (_root.t == 1800) {
_root.blue6.reset();
}
if (_root.t == 1880) {
_root.blue7.reset();
}
if (_root.t == 2000) {
_root.red1.reset();
}
if (_root.t == 2080) {
_root.blue8.reset();
}
if (_root.t == 2150) {
_root.blue1.reset();
}
if (_root.t == 2250) {
_root.blue2.reset();
}
if (_root.t == 2300) {
_root.red2.reset();
}
if (_root.t == 2400) {
_root.blue3.reset();
}
if (_root.t == 2450) {
_root.blue4.reset();
}
if (_root.t == 2520) {
_root.red3.reset();
}
if (_root.t == 2600) {
_root.blue5.reset();
}
if (_root.t == 2700) {
_root.blue6.reset();
}
if (_root.t == 2720) {
_root.blue7.reset();
}
if (_root.t == 2820) {
_root.red1.reset();
}
if (_root.t == 2900) {
_root.blue8.reset();
}
if (_root.t == 3000) {
_root.blue1.reset();
}
if (_root.t == 3020) {
_root.red2.reset();
}
if (_root.t == 3100) {
_root.blue2.reset();
}
if (_root.t == 3150) {
_root.blue3.reset();
}
if (_root.t == 3200) {
_root.blue4.reset();
}
if (_root.t == 3280) {
_root.red3.reset();
}
if (_root.t == 3380) {
_root.blue5.reset();
}
if (_root.t == 3400) {
_root.red2.reset();
}
if (_root.t == 3450) {
_root.blue6.reset();
}
if (_root.t == 3520) {
_root.red1.reset();
}
if (_root.t == 3600) {
_root.blue7.reset();
}
if (_root.t == 3680) {
_root.blue8.reset();
}
if (_root.t == 3720) {
_root.red2.reset();
}
if (_root.t == 3800) {
_root.blue1.reset();
}
if (_root.t == 3850) {
_root.blue2.reset();
}
if (_root.t == 3920) {
_root.red3.reset();
}
if (_root.t == 4000) {
_root.blue3.reset();
}
if (_root.t == 4050) {
_root.red1.reset();
}
if (_root.t == 4080) {
_root.blue4.reset();
}
if (_root.t == 4150) {
_root.blue5.reset();
}
if (_root.t == 4180) {
_root.blue6.reset();
}
if (_root.t == 4300) {
_root.red2.reset();
}
if (_root.t == 4320) {
_root.blue7.reset();
}
if (_root.t == 4400) {
_root.blue8.reset();
}
if (_root.t == 4480) {
_root.blue1.reset();
}
if (_root.t == 4500) {
_root.blue2.reset();
}
if (_root.t == 4550) {
_root.red3.reset();
}
if (_root.t == 4600) {
_root.blue3.reset();
}
if (_root.t == 4700) {
_root.red1.reset();
}
if (_root.t == 4720) {
_root.blue4.reset();
}
if (_root.t == 4750) {
_root.blue5.reset();
}
if (_root.t == 4800) {
_root.red2.reset();
}
if (_root.t == 4900) {
_root.red3.reset();
}
if (_root.t == 4980) {
_root.blue6.reset();
}
if (_root.t == 5000) {
_root.green2.reset();
}
if (_root.t == 5100) {
_root.red1.reset();
}
if (_root.t == 5200) {
_root.blue7.reset();
}
if (_root.t == 5220) {
_root.blue8.reset();
}
if (_root.t == 5250) {
_root.red2.reset();
}
if (_root.t == 5300) {
_root.blue1.reset();
}
if (_root.t == 5350) {
_root.red3.reset();
}
if (_root.t == 5350) {
_root.green3.reset();
}
if (_root.t == 5420) {
_root.blue3.reset();
}
if (_root.t == 5550) {
_root.red1.reset();
}
if (_root.t == 5580) {
_root.blue5.reset();
}
if (_root.t == 5720) {
_root.red2.reset();
}
if (_root.t == 5750) {
_root.blue7.reset();
}
if (_root.t == 5800) {
_root.blue8.reset();
}
if (_root.t == 5880) {
_root.green2.reset();
}
if (_root.t == 5950) {
_root.blue1.reset();
}
if (_root.t == 6000) {
_root.blue2.reset();
}
if (_root.t == 6080) {
_root.red3.reset();
}
if (_root.t == 6150) {
_root.blue3.reset();
}
if (_root.t == 6200) {
_root.green3.reset();
}
if (_root.t == 6250) {
_root.blue4.reset();
}
if (_root.t == 6300) {
_root.blue5.reset();
}
if (_root.t == 6380) {
_root.red2.reset();
}
if (_root.t == 6400) {
_root.blue6.reset();
}
if (_root.t == 6450) {
_root.blue7.reset();
}
if (_root.t == 6480) {
_root.red3.reset();
}
if (_root.t == 6550) {
_root.green1.reset();
}
if (_root.t == 6600) {
_root.blue1.reset();
}
if (_root.t == 6680) {
_root.blue2.reset();
}
if (_root.t == 6800) {
_root.green2.reset();
}
if (_root.t == 6680) {
_root.blue3.reset();
}
if (_root.t == 6800) {
_root.blue4.reset();
}
if (_root.t == 6880) {
_root.blue8.reset();
}
if (_root.t == 7000) {
_root.red2.reset();
}
if (_root.t == 7100) {
_root.blue1.reset();
}
if (_root.t == 7100) {
_root.red3.reset();
}
if (_root.t == 7200) {
_root.red1.reset();
}
if (_root.t == 7280) {
_root.blue2.reset();
}
if (_root.t == 7350) {
_root.green3.reset();
}
if (_root.t == 7420) {
_root.blue3.reset();
}
if (_root.t == 7450) {
_root.blue4.reset();
}
if (_root.t == 7550) {
_root.blue5.reset();
}
if (_root.t == 7600) {
_root.red2.reset();
}
if (_root.t == 7620) {
_root.blue6.reset();
}
if (_root.t == 7650) {
_root.green1.reset();
}
if (_root.t == 7750) {
_root.blue7.reset();
}
if (_root.t == 7780) {
_root.red3.reset();
}
if (_root.t == 7820) {
_root.blue8.reset();
}
if (_root.t == 7900) {
_root.blue1.reset();
}
if (_root.t == 7980) {
_root.red1.reset();
}
if (_root.t == 8000) {
_root.blue2.reset();
}
if (_root.t == 8050) {
_root.blue3.reset();
}
if (_root.t == 8100) {
_root.blue4.reset();
}
if (_root.t == 8180) {
_root.red2.reset();
}
if (_root.t == 8220) {
_root.blue5.reset();
}
if (_root.t == 8250) {
_root.green2.reset();
}
if (_root.t == 8300) {
_root.blue6.reset();
}
if (_root.t == 8350) {
_root.red3.reset();
}
if (_root.t == 8400) {
_root.blue7.reset();
}
if (_root.t == 8520) {
_root.red1.reset();
}
if (_root.t == 8550) {
_root.blue8.reset();
}
if (_root.t == 8580) {
_root.blue1.reset();
}
if (_root.t == 8600) {
_root.green3.reset();
}
if (_root.t == 8650) {
_root.red2.reset();
}
if (_root.t == 8700) {
_root.blue2.reset();
}
if (_root.t == 8700) {
_root.red3.reset();
}
if (_root.t == 8750) {
_root.blue3.reset();
}
if (_root.t == 8800) {
_root.blue4.reset();
}
if (_root.t == 8850) {
_root.red1.reset();
}
if (_root.t == 9000) {
_root.purple1.reset();
}
if (_root.t == 9050) {
_root.green1.reset();
}
if (_root.t == 9120) {
_root.red1.reset();
}
if (_root.t == 9150) {
_root.purple2.reset();
}
if (_root.t == 9200) {
_root.blue1.reset();
}
if (_root.t == 9250) {
_root.red2.reset();
}
if (_root.t == 9280) {
_root.blue2.reset();
}
if (_root.t == 9320) {
_root.blue3.reset();
}
if (_root.t == 9380) {
_root.purple1.reset();
}
if (_root.t == 9400) {
_root.blue4.reset();
}
if (_root.t == 9450) {
_root.green2.reset();
}
if (_root.t == 9500) {
_root.blue5.reset();
}
if (_root.t == 9520) {
_root.red3.reset();
}
if (_root.t == 9600) {
_root.blue6.reset();
}
if (_root.t == 9720) {
_root.green3.reset();
}
if (_root.t == 9720) {
_root.purple2.reset();
}
if (_root.t == 9820) {
_root.blue7.reset();
}
if (_root.t == 9850) {
_root.blue8.reset();
}
if (_root.t == 9900) {
_root.red1.reset();
}
if (_root.t == 9950) {
_root.blue1.reset();
}
if (_root.t == 10000) {
_root.purple1.reset();
}
if (_root.t == 10020) {
_root.blue2.reset();
}
if (_root.t == 10020) {
_root.green1.reset();
}
if (_root.t == 10100) {
_root.blue3.reset();
}
if (_root.t == 10120) {
_root.red2.reset();
}
if (_root.t == 10120) {
_root.blue4.reset();
}
if (_root.t == 10150) {
_root.purple2.reset();
}
if (_root.t == 10200) {
_root.green2.reset();
}
if (_root.t == 10250) {
_root.blue5.reset();
}
if (_root.t == 10300) {
_root.purple1.reset();
}
if (_root.t == 10350) {
_root.blue6.reset();
}
if (_root.t == 10450) {
_root.red3.reset();
}
if (_root.t == 10500) {
_root.blue7.reset();
}
if (_root.t == 10520) {
_root.red1.reset();
}
if (_root.t == 10520) {
_root.green3.reset();
}
if (_root.t == 10550) {
_root.blue8.reset();
}
if (_root.t == 10600) {
_root.purple1.reset();
}
if (_root.t == 10650) {
_root.red2.reset();
}
if (_root.t == 10720) {
_root.blue1.reset();
}
if (_root.t == 10780) {
_root.blue2.reset();
}
if (_root.t == 10780) {
_root.green1.reset();
}
if (_root.t == 10800) {
_root.red3.reset();
}
if (_root.t == 10880) {
_root.purple2.reset();
}
if (_root.t == 10950) {
_root.blue3.reset();
}
if (_root.t == 11000) {
_root.blue4.reset();
}
if (_root.t == 11050) {
_root.purple1.reset();
}
if (_root.t == 11100) {
_root.red2.reset();
}
if (_root.t == 11100) {
_root.blue5.reset();
}
if (_root.t == 11150) {
_root.blue6.reset();
}
if (_root.t == 11180) {
_root.red3.reset();
}
if (_root.t == 11250) {
_root.purple2.reset();
}
if (_root.t == 11280) {
_root.blue7.reset();
}
if (_root.t == 11350) {
_root.blue8.reset();
}
if (_root.t == 11350) {
_root.green2.reset();
}
if (_root.t == 11400) {
_root.red1.reset();
}
if (_root.t == 11480) {
_root.purple1.reset();
}
if (_root.t == 11520) {
_root.blue1.reset();
}
if (_root.t == 11580) {
_root.red2.reset();
}
if (_root.t == 11600) {
_root.blue2.reset();
}
if (_root.t == 11620) {
_root.blue3.reset();
}
if (_root.t == 11700) {
_root.purple2.reset();
}
if (_root.t == 11720) {
_root.green3.reset();
}
if (_root.t == 11750) {
_root.blue4.reset();
}
if (_root.t == 11800) {
_root.red3.reset();
}
if (_root.t == 11820) {
_root.blue5.reset();
}
if (_root.t == 11900) {
_root.purple1.reset();
}
if (_root.t == 12000) {
_root.blue6.reset();
}
if (_root.t == 12000) {
_root.blue7.reset();
}
if (_root.t == 12080) {
_root.red2.reset();
}
if (_root.t == 12100) {
_root.green1.reset();
}
if (_root.t == 12150) {
_root.purple2.reset();
}
if (_root.t == 12150) {
_root.blue8.reset();
}
if (_root.t == 12200) {
_root.blue1.reset();
}
if (_root.t == 12220) {
_root.purple1.reset();
}
if (_root.t == 12250) {
_root.blue2.reset();
}
if (_root.t == 12300) {
_root.red3.reset();
}
if (_root.t == 12350) {
_root.blue3.reset();
}
if (_root.t == 12400) {
_root.purple2.reset();
}
if (_root.t == 12420) {
_root.green2.reset();
}
if (_root.t == 12500) {
_root.red1.reset();
}
if (_root.t == 12550) {
_root.blue4.reset();
}
if (_root.t == 12580) {
_root.blue5.reset();
}
if (_root.t == 12600) {
_root.blue6.reset();
}
if (_root.t == 12600) {
_root.purple1.reset();
}
if (_root.t == 12680) {
_root.red2.reset();
}
if (_root.t == 12720) {
_root.red3.reset();
}
if (_root.t == 12750) {
_root.green3.reset();
}
if (_root.t == 12850) {
_root.blue7.reset();
}
if (_root.t == 12900) {
_root.blue8.reset();
}
if (_root.t == 12980) {
_root.red1.reset();
}
if (_root.t == 13020) {
_root.purple2.reset();
}
if (_root.t == 13050) {
_root.blue1.reset();
}
if (_root.t == 13050) {
_root.green1.reset();
}
if (_root.t == 13080) {
_root.blue2.reset();
}
if (_root.t == 13100) {
_root.red2.reset();
}
if (_root.t == 13100) {
_root.purple1.reset();
}
if (_root.t == 13120) {
_root.blue3.reset();
}
if (_root.t == 13150) {
_root.blue4.reset();
}
if (_root.t == 13220) {
_root.red3.reset();
}
if (_root.t == 13250) {
_root.green2.reset();
}
if (_root.t == 13320) {
_root.red1.reset();
}
if (_root.t == 13380) {
_root.purple2.reset();
}
if (_root.t == 13420) {
_root.blue5.reset();
}
if (_root.t == 13450) {
_root.red2.reset();
}
if (_root.t == 13450) {
_root.blue6.reset();
}
if (_root.t == 13480) {
_root.blue7.reset();
}
if (_root.t == 13500) {
_root.green3.reset();
}
if (_root.t == 13550) {
_root.purple1.reset();
}
if (_root.t == 13600) {
_root.blue8.reset();
}
if (_root.t == 13600) {
_root.red3.reset();
}
if (_root.t == 13650) {
_root.blue1.reset();
}
if (_root.t == 13700) {
_root.red1.reset();
}
if (_root.t == 13750) {
_root.purple2.reset();
}
if (_root.t == 13780) {
_root.blue2.reset();
}
if (_root.t == 13820) {
_root.blue3.reset();
}
if (_root.t == 13880) {
_root.red2.reset();
}
if (_root.t == 13900) {
_root.green1.reset();
}
if (_root.t == 13920) {
_root.blue4.reset();
}
if (_root.t == 14020) {
_root.orange1.reset();
}
if (_root.t == 14050) {
_root.blue5.reset();
}
if (_root.t == 14080) {
_root.red3.reset();
}
if (_root.t == 14150) {
_root.purple1.reset();
}
if (_root.t == 14200) {
_root.blue6.reset();
}
if (_root.t == 14250) {
_root.green2.reset();
}
if (_root.t == 14280) {
_root.red1.reset();
}
if (_root.t == 14350) {
_root.purple2.reset();
}
if (_root.t == 14380) {
_root.orange2.reset();
}
if (_root.t == 14420) {
_root.blue7.reset();
}
if (_root.t == 14480) {
_root.blue8.reset();
}
if (_root.t == 14500) {
_root.red2.reset();
}
if (_root.t == 14520) {
_root.blue1.reset();
}
if (_root.t == 14520) {
_root.purple1.reset();
}
if (_root.t == 14580) {
_root.red3.reset();
}
if (_root.t == 14600) {
_root.green3.reset();
}
if (_root.t == 14650) {
_root.blue2.reset();
}
if (_root.t == 14680) {
_root.orange1.reset();
}
if (_root.t == 14700) {
_root.purple2.reset();
}
if (_root.t == 14780) {
_root.blue3.reset();
}
if (_root.t == 14820) {
_root.purple1.reset();
}
if (_root.t == 14850) {
_root.red1.reset();
}
if (_root.t == 14900) {
_root.orange2.reset();
}
if (_root.t == 14920) {
_root.green1.reset();
}
if (_root.t == 14980) {
_root.blue4.reset();
}
if (_root.t == 15000) {
_root.blue5.reset();
}
if (_root.t == 15080) {
_root.blue6.reset();
}
if (_root.t == 15120) {
_root.purple2.reset();
}
if (_root.t == 15120) {
_root.green2.reset();
}
if (_root.t == 15150) {
_root.red2.reset();
}
if (_root.t == 15180) {
_root.orange1.reset();
}
if (_root.t == 15220) {
_root.blue7.reset();
}
if (_root.t == 15280) {
_root.red3.reset();
}
if (_root.t == 15300) {
_root.blue8.reset();
}
if (_root.t == 15380) {
_root.green3.reset();
}
if (_root.t == 15400) {
_root.purple1.reset();
}
if (_root.t == 15420) {
_root.orange2.reset();
}
if (_root.t == 15450) {
_root.blue1.reset();
}
if (_root.t == 15520) {
_root.blue2.reset();
}
if (_root.t == 15580) {
_root.red1.reset();
}
if (_root.t == 15650) {
_root.purple2.reset();
}
if (_root.t == 15700) {
_root.red2.reset();
}
if (_root.t == 15720) {
_root.blue3.reset();
}
if (_root.t == 15750) {
_root.orange1.reset();
}
if (_root.t == 15850) {
_root.blue4.reset();
}
if (_root.t == 15900) {
_root.blue5.reset();
}
if (_root.t == 15920) {
_root.green1.reset();
}
if (_root.t == 16000) {
_root.blue6.reset();
}
if (_root.t == 16000) {
_root.purple1.reset();
}
if (_root.t == 16080) {
_root.red3.reset();
}
if (_root.t == 16120) {
_root.green2.reset();
}
if (_root.t == 16200) {
_root.orange2.reset();
}
if (_root.t == 16220) {
_root.blue7.reset();
}
if (_root.t == 16300) {
_root.purple2.reset();
}
if (_root.t == 16350) {
_root.blue8.reset();
}
if (_root.t == 16350) {
_root.red1.reset();
}
if (_root.t == 16400) {
_root.blue1.reset();
}
if (_root.t == 16400) {
_root.green3.reset();
}
if (_root.t == 16480) {
_root.blue2.reset();
}
if (_root.t == 16520) {
_root.orange1.reset();
}
if (_root.t == 16600) {
_root.purple1.reset();
}
if (_root.t == 16620) {
_root.purple2.reset();
}
if (_root.t == 16680) {
_root.blue3.reset();
}
if (_root.t == 16750) {
_root.red2.reset();
}
if (_root.t == 16820) {
_root.green1.reset();
}
if (_root.t == 16900) {
_root.blue4.reset();
}
if (_root.t == 16950) {
_root.red3.reset();
}
if (_root.t == 16980) {
_root.blue5.reset();
}
if (_root.t == 17000) {
_root.orange2.reset();
}
if (_root.t == 17080) {
_root.blue6.reset();
}
if (_root.t == 17120) {
_root.blue7.reset();
}
if (_root.t == 17180) {
_root.purple1.reset();
}
if (_root.t == 17200) {
_root.red1.reset();
}
if (_root.t == 17250) {
_root.green2.reset();
}
if (_root.t == 17280) {
_root.blue8.reset();
}
if (_root.t == 17380) {
_root.red2.reset();
}
if (_root.t == 17380) {
_root.purple2.reset();
}
if (_root.t == 17400) {
_root.orange1.reset();
}
if (_root.t == 17480) {
_root.blue1.reset();
}
if (_root.t == 17500) {
_root.red3.reset();
}
if (_root.t == 17600) {
_root.orange2.reset();
}
if (_root.t == 17680) {
_root.green3.reset();
}
if (_root.t == 17700) {
_root.purple1.reset();
}
if (_root.t == 17750) {
_root.green1.reset();
}
if (_root.t == 17800) {
_root.blue2.reset();
}
if (_root.t == 17820) {
_root.blue3.reset();
}
if (_root.t == 17880) {
_root.blue4.reset();
}
if (_root.t == 17950) {
_root.red1.reset();
}
if (_root.t == 18020) {
_root.purple2.reset();
}
if (_root.t == 18080) {
_root.blue5.reset();
}
if (_root.t == 18150) {
_root.green2.reset();
}
if (_root.t == 18200) {
_root.orange1.reset();
}
if (_root.t == 18200) {
_root.red2.reset();
}
if (_root.t == 18250) {
_root.blue6.reset();
}
if (_root.t == 18300) {
_root.purple1.reset();
}
if (_root.t == 18380) {
_root.blue7.reset();
}
if (_root.t == 18400) {
_root.green3.reset();
}
if (_root.t == 18480) {
_root.red3.reset();
}
if (_root.t == 18500) {
_root.orange2.reset();
}
if (_root.t == 18580) {
_root.blue8.reset();
}
if (_root.t == 18650) {
_root.purple2.reset();
}
if (_root.t == 18700) {
_root.red1.reset();
}
if (_root.t == 18750) {
_root.green1.reset();
}
if (_root.t == 18780) {
_root.blue1.reset();
}
if (_root.t == 18780) {
_root.blue2.reset();
}
if (_root.t == 18800) {
_root.orange1.reset();
}
if (_root.t == 18850) {
_root.red2.reset();
}
if (_root.t == 18880) {
_root.blue3.reset();
}
if (_root.t == 18950) {
_root.purple1.reset();
}
if (_root.t == 19020) {
_root.yellow1.reset();
}
if (_root.t == 19050) {
_root.blue4.reset();
}
if (_root.t == 19100) {
_root.green2.reset();
}
if (_root.t == 19120) {
_root.blue5.reset();
}
if (_root.t == 19200) {
_root.red3.reset();
}
if (_root.t == 19200) {
_root.purple2.reset();
}
if (_root.t == 19250) {
_root.orange2.reset();
}
if (_root.t == 19250) {
_root.blue6.reset();
}
if (_root.t == 19280) {
_root.purple1.reset();
}
if (_root.t == 19320) {
_root.green3.reset();
}
if (_root.t == 19320) {
_root.blue7.reset();
}
if (_root.t == 19350) {
_root.orange1.reset();
}
if (_root.t == 19380) {
_root.yellow2.reset();
}
if (_root.t == 19380) {
_root.blue8.reset();
}
if (_root.t == 19400) {
_root.blue1.reset();
}
if (_root.t == 19450) {
_root.red1.reset();
}
if (_root.t == 19480) {
_root.purple2.reset();
}
if (_root.t == 19500) {
_root.green1.reset();
}
if (_root.t == 19520) {
_root.blue2.reset();
}
if (_root.t == 19550) {
_root.blue3.reset();
}
if (_root.t == 19600) {
_root.purple1.reset();
}
if (_root.t == 19620) {
_root.orange2.reset();
}
if (_root.t == 19680) {
_root.blue4.reset();
}
}
Instance of Symbol 426 MovieClip "blue8" in Frame 5
onClipEvent (load) {
function reset() {
this._x = random(150) + 550;
this._y = random(210) + 70;
Speed = (Math.random() + 1.25) * 1.1;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.blue8round = Math.round(_root.blue8health);
if (_root.paused == false) {
this._x = this._x - Speed;
}
}
Instance of Symbol 514 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.health == _root.maxhealth) {
_root.fullhp = true;
} else {
_root.fullhp = false;
}
}
Instance of Symbol 516 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.gotoAndStop(6);
}
}
Instance of Symbol 532 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.rankscore <= 1) {
this.gotoAndStop(1);
}
if (_root.rankscore == 2) {
this.gotoAndStop(2);
}
if (_root.rankscore == 3) {
this.gotoAndStop(3);
}
if (_root.rankscore == 4) {
this.gotoAndStop(4);
}
if (_root.rankscore == 5) {
this.gotoAndStop(5);
}
if (_root.rankscore >= 6) {
this.gotoAndStop(6);
}
}
Instance of Symbol 534 MovieClip in Frame 7
onClipEvent (enterFrame) {
_root.rankscore = Math.round(_root.seconds / 100);
}
Symbol 9 Button
on (release) {
_root.play();
}
Symbol 10 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 10 MovieClip Frame 2
gotoAndPlay (1);
Symbol 15 MovieClip Frame 15
stop();
Symbol 21 Button
on (release) {
_root.fadescreen.gotoAndPlay(42);
_root.instructions.gotoAndStop(43);
}
Symbol 22 MovieClip Frame 42
stop();
Symbol 22 MovieClip Frame 43
stop();
Symbol 26 Button
on (release) {
_root.fadescreen.gotoAndPlay(2);
_root.playgame.gotoAndStop(38);
}
Symbol 27 MovieClip Frame 37
stop();
Symbol 27 MovieClip Frame 38
stop();
Symbol 41 MovieClip Frame 25
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 2
play();
Symbol 51 MovieClip Frame 21
_root.gotoAndStop(4);
Symbol 51 MovieClip Frame 41
gotoAndStop (1);
Symbol 51 MovieClip Frame 42
play();
Symbol 51 MovieClip Frame 61
_root.gotoAndStop(3);
Symbol 51 MovieClip Frame 81
gotoAndStop (1);
Symbol 51 MovieClip Frame 82
play();
Symbol 51 MovieClip Frame 101
_root.gotoAndStop(3);
Symbol 51 MovieClip Frame 121
gotoAndStop (1);
Symbol 51 MovieClip Frame 122
play();
Symbol 51 MovieClip Frame 141
_root.gotoAndStop(2);
Symbol 51 MovieClip Frame 161
gotoAndStop (1);
Symbol 65 MovieClip Frame 20
stop();
Symbol 77 MovieClip Frame 20
play();
Symbol 77 MovieClip Frame 30
stop();
Symbol 98 MovieClip Frame 49
stop();
Instance of Symbol 97 MovieClip in Symbol 98 MovieClip Frame 49
onClipEvent (enterFrame) {
onEnterFrame = function () {
key = Key.getCode();
if (Key.isDown(key)) {
_root.fadescreen.gotoAndStop(122);
_root.gobacktomenu.gotoAndStop(1);
}
};
}
Symbol 123 MovieClip Frame 10
stop();
Instance of Symbol 111 MovieClip in Symbol 123 MovieClip Frame 10
onClipEvent (enterFrame) {
this.gotoAndStop(Math.round(_root.health + 1));
if (_root.health > _root.maxhealth) {
_root.health = _root.maxhealth;
}
if (_root.health < 1) {
_root.health = 0;
_root.basehealth.gotoAndStop(3);
}
}
Symbol 123 MovieClip Frame 11
stop();
Symbol 123 MovieClip Frame 12
stop();
Symbol 123 MovieClip Frame 13
stop();
Symbol 123 MovieClip Frame 14
stop();
Symbol 123 MovieClip Frame 15
stop();
Symbol 123 MovieClip Frame 16
stop();
Symbol 123 MovieClip Frame 17
stop();
Symbol 123 MovieClip Frame 18
stop();
Symbol 123 MovieClip Frame 19
stop();
Symbol 123 MovieClip Frame 20
stop();
Instance of Symbol 123 MovieClip in Symbol 124 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.maxhealth / 10);
}
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 2
stop();
Symbol 139 Button
on (release) {
_root.soundcntrl.gotoAndStop(2);
}
Symbol 141 Button
on (release) {
_root.soundcntrl.gotoAndStop(1);
}
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 2
stop();
Symbol 153 MovieClip Frame 70
_root.gotoAndStop(5);
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 2
_root.blue1.gotoAndStop(2);
gotoAndStop (1);
Symbol 173 MovieClip Frame 10
stop();
_root.money = _root.money + 3;
_root.blue1health = 40;
Symbol 177 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 10;
_root.damaged.gotoAndPlay(2);
}
Symbol 177 MovieClip Frame 10
stop();
_root.blue1health = 40;
Symbol 178 MovieClip Frame 1
stop();
Instance of Symbol 160 MovieClip in Symbol 178 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.blue1round + 2);
if (_root.blue1health <= 0) {
this.gotoAndStop(2);
}
}
Instance of Symbol 162 MovieClip in Symbol 178 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.blue1health = _root.blue1health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.blue1.gotoAndStop(3);
}
}
}
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
_root.blue2.gotoAndStop(2);
gotoAndStop (1);
Symbol 182 MovieClip Frame 10
stop();
_root.money = _root.money + 3;
_root.blue2health = 40;
Symbol 186 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 10;
_root.damaged.gotoAndPlay(2);
}
Symbol 186 MovieClip Frame 10
stop();
_root.blue2health = 40;
Symbol 187 MovieClip Frame 1
stop();
Instance of Symbol 162 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.blue2health = _root.blue2health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.blue2.gotoAndStop(3);
}
}
}
Instance of Symbol 180 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.blue2round + 2);
if (_root.blue2health <= 0) {
this.gotoAndStop(2);
}
}
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 2
_root.blue3.gotoAndStop(2);
gotoAndStop (1);
Symbol 191 MovieClip Frame 10
stop();
_root.money = _root.money + 3;
_root.blue3health = 40;
Symbol 195 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 10;
_root.damaged.gotoAndPlay(2);
}
Symbol 195 MovieClip Frame 10
stop();
_root.blue3health = 40;
Symbol 196 MovieClip Frame 1
stop();
Instance of Symbol 162 MovieClip in Symbol 196 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.blue3health = _root.blue3health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.blue3.gotoAndStop(3);
}
}
}
Instance of Symbol 189 MovieClip in Symbol 196 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.blue3round + 2);
if (_root.blue3health <= 0) {
this.gotoAndStop(2);
}
}
Symbol 201 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 2
_root.blue4.gotoAndStop(2);
gotoAndStop (1);
Symbol 203 MovieClip Frame 10
stop();
_root.money = _root.money + 3;
_root.blue4health = 40;
Symbol 207 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 10;
_root.damaged.gotoAndPlay(2);
}
Symbol 207 MovieClip Frame 10
stop();
_root.blue4health = 40;
Symbol 208 MovieClip Frame 1
stop();
Instance of Symbol 162 MovieClip in Symbol 208 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.blue4health = _root.blue4health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.blue4.gotoAndStop(3);
}
}
}
Instance of Symbol 201 MovieClip in Symbol 208 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.blue4round + 2);
if (_root.blue4health <= 0) {
this.gotoAndStop(2);
}
}
Symbol 212 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 2
_root.red1.gotoAndStop(2);
gotoAndStop (1);
Symbol 223 MovieClip Frame 10
stop();
_root.money = _root.money + 5;
_root.red1health = 50;
Symbol 227 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 12;
_root.damaged.gotoAndPlay(11);
}
Symbol 227 MovieClip Frame 10
stop();
_root.red1health = 50;
Symbol 228 MovieClip Frame 1
stop();
Instance of Symbol 210 MovieClip in Symbol 228 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.red1health = _root.red1health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.red1.gotoAndStop(3);
}
}
}
Instance of Symbol 212 MovieClip in Symbol 228 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.red1round + 2);
if (_root.red1health <= 0) {
this.gotoAndStop(2);
}
}
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 2
_root.blue5.gotoAndStop(2);
gotoAndStop (1);
Symbol 232 MovieClip Frame 10
stop();
_root.money = _root.money + 3;
_root.blue5health = 40;
Symbol 236 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 10;
_root.damaged.gotoAndPlay(2);
}
Symbol 236 MovieClip Frame 10
stop();
_root.blue5health = 40;
Symbol 237 MovieClip Frame 1
stop();
Instance of Symbol 162 MovieClip in Symbol 237 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.blue5health = _root.blue5health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.blue5.gotoAndStop(3);
}
}
}
Instance of Symbol 230 MovieClip in Symbol 237 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.blue5round + 2);
if (_root.blue5health <= 0) {
this.gotoAndStop(2);
}
}
Symbol 239 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 2
_root.blue6.gotoAndStop(2);
gotoAndStop (1);
Symbol 241 MovieClip Frame 10
stop();
_root.money = _root.money + 3;
_root.blue6health = 40;
Symbol 245 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 10;
_root.damaged.gotoAndPlay(2);
}
Symbol 245 MovieClip Frame 10
stop();
_root.blue6health = 40;
Symbol 246 MovieClip Frame 1
stop();
Instance of Symbol 162 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.blue6health = _root.blue6health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.blue6.gotoAndStop(3);
}
}
}
Instance of Symbol 239 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.blue6round + 2);
if (_root.blue6health <= 0) {
this.gotoAndStop(2);
}
}
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 2
_root.red2.gotoAndStop(2);
gotoAndStop (1);
Symbol 250 MovieClip Frame 10
stop();
_root.money = _root.money + 5;
_root.red2health = 50;
Symbol 254 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 12;
_root.damaged.gotoAndPlay(11);
}
Symbol 254 MovieClip Frame 10
stop();
_root.red2health = 50;
Symbol 255 MovieClip Frame 1
stop();
Instance of Symbol 210 MovieClip in Symbol 255 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.red2health = _root.red2health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.red2.gotoAndStop(3);
}
}
}
Instance of Symbol 248 MovieClip in Symbol 255 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.red2round + 2);
if (_root.red2health <= 0) {
this.gotoAndStop(2);
}
}
Symbol 259 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 2
_root.green1.gotoAndStop(2);
gotoAndStop (1);
Symbol 270 MovieClip Frame 10
stop();
_root.money = _root.money + 8;
_root.green1health = 130;
Symbol 274 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 14;
_root.damaged.gotoAndPlay(20);
}
Symbol 274 MovieClip Frame 10
stop();
_root.green1health = 130;
Symbol 275 MovieClip Frame 1
stop();
Instance of Symbol 257 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.green1health = _root.green1health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.green1.gotoAndStop(3);
}
}
}
Instance of Symbol 259 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.green1round + 2);
if (_root.green1health <= 0) {
this.gotoAndStop(2);
}
}
Symbol 277 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 2
_root.purple1.gotoAndStop(2);
gotoAndStop (1);
Symbol 291 MovieClip Frame 10
stop();
_root.money = _root.money + 10;
_root.purple1health = 60;
Symbol 295 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 16;
_root.damaged.gotoAndPlay(29);
}
Symbol 295 MovieClip Frame 10
stop();
_root.purple1health = 60;
Symbol 296 MovieClip Frame 1
stop();
Instance of Symbol 277 MovieClip in Symbol 296 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.purple1round + 2);
if (_root.purple1health <= 0) {
this.gotoAndStop(2);
}
}
Instance of Symbol 280 MovieClip in Symbol 296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.purple1health = _root.purple1health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.purple1.gotoAndStop(3);
}
}
}
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 2
_root.orange1.gotoAndStop(2);
gotoAndStop (1);
Symbol 312 MovieClip Frame 10
stop();
_root.money = _root.money + 15;
_root.orange1health = 150;
Symbol 317 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 18;
_root.damaged.gotoAndPlay(38);
}
Symbol 317 MovieClip Frame 10
stop();
_root.orange1health = 150;
Symbol 318 MovieClip Frame 1
stop();
Instance of Symbol 298 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.orange1health = _root.orange1health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.orange1.gotoAndStop(3);
}
}
}
Instance of Symbol 300 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.orange1round + 2);
if (_root.orange1health <= 0) {
this.gotoAndStop(2);
}
}
Symbol 322 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 2
_root.yellow1.gotoAndStop(2);
gotoAndStop (1);
Symbol 333 MovieClip Frame 10
stop();
_root.money = _root.money + 30;
_root.yellow1health = 250;
Symbol 337 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 20;
_root.damaged.gotoAndPlay(47);
}
Symbol 337 MovieClip Frame 10
stop();
_root.yellow1health = 250;
Symbol 338 MovieClip Frame 1
stop();
Instance of Symbol 320 MovieClip in Symbol 338 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.yellow1health = _root.yellow1health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.yellow1.gotoAndStop(3);
}
}
}
Instance of Symbol 322 MovieClip in Symbol 338 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.yellow1round + 2);
if (_root.yellow1health <= 0) {
this.gotoAndStop(2);
}
}
Symbol 341 MovieClip Frame 1
stop();
Symbol 341 MovieClip Frame 2
_root.blue7.gotoAndStop(2);
gotoAndStop (1);
Symbol 343 MovieClip Frame 10
stop();
_root.money = _root.money + 3;
_root.blue7health = 40;
Symbol 347 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 10;
_root.damaged.gotoAndPlay(2);
}
Symbol 347 MovieClip Frame 10
stop();
_root.blue7health = 40;
Symbol 348 MovieClip Frame 1
stop();
Instance of Symbol 339 MovieClip in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.blue7health = _root.blue7health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.blue7.gotoAndStop(3);
}
}
}
Instance of Symbol 341 MovieClip in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.blue7round + 2);
if (_root.blue7health <= 0) {
this.gotoAndStop(2);
}
}
Symbol 350 MovieClip Frame 1
stop();
Symbol 350 MovieClip Frame 2
_root.red3.gotoAndStop(2);
gotoAndStop (1);
Symbol 352 MovieClip Frame 10
stop();
_root.money = _root.money + 5;
_root.red3health = 50;
Symbol 356 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 12;
_root.damaged.gotoAndPlay(11);
}
Symbol 356 MovieClip Frame 10
stop();
_root.red3health = 50;
Symbol 357 MovieClip Frame 1
stop();
Instance of Symbol 210 MovieClip in Symbol 357 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.red3health = _root.red3health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.red3.gotoAndStop(3);
}
}
}
Instance of Symbol 350 MovieClip in Symbol 357 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.red3round + 2);
if (_root.red3health <= 0) {
this.gotoAndStop(2);
}
}
Symbol 359 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 2
_root.green2.gotoAndStop(2);
gotoAndStop (1);
Symbol 361 MovieClip Frame 10
stop();
_root.money = _root.money + 8;
_root.green2health = 130;
Symbol 365 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 14;
_root.damaged.gotoAndPlay(20);
}
Symbol 365 MovieClip Frame 10
stop();
_root.green2health = 130;
Symbol 366 MovieClip Frame 1
stop();
Instance of Symbol 257 MovieClip in Symbol 366 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.green2health = _root.green2health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.green2.gotoAndStop(3);
}
}
}
Instance of Symbol 359 MovieClip in Symbol 366 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.green2round + 2);
if (_root.green2health <= 0) {
this.gotoAndStop(2);
}
}
Symbol 368 MovieClip Frame 1
stop();
Symbol 368 MovieClip Frame 2
_root.green3.gotoAndStop(2);
gotoAndStop (1);
Symbol 370 MovieClip Frame 10
stop();
_root.money = _root.money + 8;
_root.green3health = 130;
Symbol 374 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 14;
_root.damaged.gotoAndPlay(20);
}
Symbol 374 MovieClip Frame 10
stop();
_root.green3health = 130;
Symbol 375 MovieClip Frame 1
stop();
Instance of Symbol 257 MovieClip in Symbol 375 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.green3health = _root.green3health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.green3.gotoAndStop(3);
}
}
}
Instance of Symbol 368 MovieClip in Symbol 375 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.green3round + 2);
if (_root.green3health <= 0) {
this.gotoAndStop(2);
}
}
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 2
_root.purple2.gotoAndStop(2);
gotoAndStop (1);
Symbol 387 MovieClip Frame 10
stop();
_root.money = _root.money + 10;
_root.purple2health = 60;
Symbol 391 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 16;
_root.damaged.gotoAndPlay(29);
}
Symbol 391 MovieClip Frame 10
stop();
_root.purple2health = 60;
Symbol 392 MovieClip Frame 1
stop();
Instance of Symbol 280 MovieClip in Symbol 392 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.purple2health = _root.purple2health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.purple2.gotoAndStop(3);
}
}
}
Instance of Symbol 377 MovieClip in Symbol 392 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.purple2round + 2);
if (_root.purple2health <= 0) {
this.gotoAndStop(2);
}
}
Symbol 394 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 2
_root.orange2.gotoAndStop(2);
gotoAndStop (1);
Symbol 397 MovieClip Frame 10
stop();
_root.money = _root.money + 15;
_root.orange2health = 150;
Symbol 402 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 18;
_root.damaged.gotoAndPlay(38);
}
Symbol 402 MovieClip Frame 10
stop();
_root.orange2health = 150;
Symbol 403 MovieClip Frame 1
stop();
Instance of Symbol 298 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.orange2health = _root.orange2health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.orange2.gotoAndStop(3);
}
}
}
Instance of Symbol 394 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.orange2round + 2);
if (_root.orange2health <= 0) {
this.gotoAndStop(2);
}
}
Symbol 405 MovieClip Frame 1
stop();
Symbol 405 MovieClip Frame 2
_root.yellow2.gotoAndStop(2);
gotoAndStop (1);
Symbol 408 MovieClip Frame 10
stop();
_root.money = _root.money + 30;
_root.yellow2health = 250;
Symbol 412 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 20;
_root.damaged.gotoAndPlay(47);
}
Symbol 412 MovieClip Frame 10
stop();
_root.yellow2health = 250;
Symbol 413 MovieClip Frame 1
stop();
Instance of Symbol 320 MovieClip in Symbol 413 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.yellow2health = _root.yellow2health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.yellow2.gotoAndStop(3);
}
}
}
Instance of Symbol 405 MovieClip in Symbol 413 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.yellow2round + 2);
if (_root.yellow2health <= 0) {
this.gotoAndStop(2);
}
}
Symbol 415 Button
on (release) {
_root.t = _root.t + 500;
_root.secondctrl = _root.secondctrl + 8;
}
Symbol 419 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 2
_root.blue8.gotoAndStop(2);
gotoAndStop (1);
Symbol 421 MovieClip Frame 10
stop();
_root.money = _root.money + 3;
_root.blue8health = 40;
Symbol 425 MovieClip Frame 1
if (_root.health > 0) {
_root.health = _root.health - 10;
_root.damaged.gotoAndPlay(2);
}
Symbol 425 MovieClip Frame 10
stop();
_root.blue8health = 40;
Symbol 426 MovieClip Frame 1
stop();
Instance of Symbol 339 MovieClip in Symbol 426 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == false) {
if (this.hitTest(_root.player)) {
_root.blue8health = _root.blue8health - _root.power;
}
if (this.hitTest(_root.base)) {
_root.blue8.gotoAndStop(3);
}
}
}
Instance of Symbol 419 MovieClip in Symbol 426 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.blue8round + 2);
if (_root.blue8health <= 0) {
this.gotoAndStop(2);
}
}
Symbol 442 MovieClip Frame 1
stop();
Symbol 442 MovieClip Frame 10
gotoAndStop (1);
Symbol 442 MovieClip Frame 19
gotoAndStop (1);
Symbol 442 MovieClip Frame 28
gotoAndStop (1);
Symbol 442 MovieClip Frame 37
gotoAndStop (1);
Symbol 442 MovieClip Frame 46
gotoAndStop (1);
Symbol 442 MovieClip Frame 55
gotoAndStop (1);
Symbol 445 Button
on (keyPress "<Space>") {
_root.paused = true;
_root.store.gotoAndPlay(2);
}
Symbol 462 MovieClip Frame 1
stop();
_root.sizeprice = 30;
Symbol 462 MovieClip Frame 2
stop();
_root.sizeprice = 50;
Symbol 462 MovieClip Frame 3
stop();
_root.sizeprice = 70;
Symbol 462 MovieClip Frame 4
stop();
_root.sizeprice = 90;
Symbol 462 MovieClip Frame 5
stop();
_root.sizeprice = 110;
Symbol 462 MovieClip Frame 6
stop();
Symbol 466 Button
on (release) {
if (_root.sizelvl < 6) {
if (_root.money >= _root.sizeprice) {
_root.player._xscale = _root.player._xscale + 8;
_root.player._yscale = _root.player._yscale + 8;
_root.sizelvl = _root.sizelvl + 1;
_root.money = _root.money - _root.sizeprice;
}
}
}
Instance of Symbol 462 MovieClip "sizelvl" in Symbol 467 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sizelvl);
}
Symbol 470 Button
on (release) {
if (_root.speedlvl < 6) {
if (_root.money >= _root.speedprice) {
_root.player.speed = _root.player.speed + 0.35;
_root.speedlvl = _root.speedlvl + 1;
_root.money = _root.money - _root.speedprice;
}
}
}
Symbol 475 MovieClip Frame 1
stop();
_root.speedprice = 40;
Symbol 475 MovieClip Frame 2
stop();
_root.speedprice = 70;
Symbol 475 MovieClip Frame 3
stop();
_root.speedprice = 100;
Symbol 475 MovieClip Frame 4
stop();
_root.speedprice = 130;
Symbol 475 MovieClip Frame 5
stop();
_root.speedprice = 160;
Symbol 475 MovieClip Frame 6
stop();
Instance of Symbol 475 MovieClip in Symbol 476 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.speedlvl);
}
Symbol 479 Button
on (release) {
if (_root.powerlvl < 6) {
if (_root.money >= _root.powerprice) {
_root.power = _root.power + 0.3;
_root.powerlvl = _root.powerlvl + 1;
_root.money = _root.money - _root.powerprice;
}
}
}
Symbol 483 MovieClip Frame 1
stop();
_root.powerprice = 60;
Symbol 483 MovieClip Frame 2
stop();
_root.powerprice = 110;
Symbol 483 MovieClip Frame 3
stop();
_root.powerprice = 160;
Symbol 483 MovieClip Frame 4
stop();
_root.powerprice = 210;
Symbol 483 MovieClip Frame 5
stop();
_root.powerprice = 260;
Symbol 483 MovieClip Frame 6
stop();
Instance of Symbol 483 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.powerlvl);
}
Symbol 491 Button
on (release) {
if (_root.money >= 80) {
_root.money = _root.money - 80;
_root.autohealing.gotoAndStop(2);
_root.store.buyautoheal.gotoAndStop(2);
_root.autoheal = true;
}
}
Symbol 495 MovieClip Frame 1
stop();
Symbol 500 Button
on (release) {
if (_root.health < 1000) {
if (_root.money >= 80) {
if (_root.maxhealth < 200) {
_root.maxhealth = _root.maxhealth + 50;
_root.money = _root.money - 80;
_root.damaged._x = _root.damaged._x + 20;
}
if (_root.maxhealth == 200) {
_root.store.buyreinforce.gotoAndStop(2);
}
}
}
}
Symbol 502 MovieClip Frame 1
stop();
Symbol 507 Button
on (release) {
if (_root.money >= 50) {
_root.health = _root.health + (_root.maxhealth / 4);
_root.money = _root.money - 50;
}
}
Symbol 511 Button
on (keyPress "<Space>") {
_root.store.gotoAndPlay(15);
}
Symbol 512 MovieClip Frame 1
stop();
Instance of Symbol 495 MovieClip "buyautoheal" in Symbol 512 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_root.autoheal == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 502 MovieClip "buyreinforce" in Symbol 512 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_root.maxhealth == 200) {
_root.store.buyreinforce.gotoAndStop(2);
}
}
Symbol 512 MovieClip Frame 14
stop();
Symbol 512 MovieClip Frame 22
_root.paused = false;
_root.store.gotoAndStop(1);
Symbol 518 MovieClip Frame 1
play();
Symbol 518 MovieClip Frame 60
if (_root.paused == false) {
if (_root.health < _root.maxhealth) {
_root.health = _root.health + (_root.maxhealth / 100);
}
}
gotoAndStop (1);
Symbol 519 MovieClip Frame 1
stop();
Symbol 519 MovieClip Frame 2
stop();
Symbol 523 MovieClip Frame 1
play();
Symbol 523 MovieClip Frame 20
_root.gotoAndStop(7);
Symbol 523 MovieClip Frame 40
gotoAndStop (41);
Symbol 523 MovieClip Frame 41
stop();
Symbol 532 MovieClip Frame 1
stop();
Symbol 535 MovieClip Frame 49
stop();
Instance of Symbol 97 MovieClip in Symbol 535 MovieClip Frame 49
onClipEvent (enterFrame) {
onEnterFrame = function () {
key = Key.getCode();
if (Key.isDown(key)) {
_root.losetomenu.gotoAndStop(2);
_root.gobacktomenu2.gotoAndStop(1);
}
};
}
Symbol 539 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 2
play();
Symbol 539 MovieClip Frame 21
_root.gotoAndStop(2);
Symbol 539 MovieClip Frame 41
gotoAndStop (1);