Frame 1
_root.level = 1;
stop();
Instance of Symbol 2 MovieClip in Frame 1
on (rollOver) {
_root.play();
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Frame 2
stop();
Instance of Symbol 2 MovieClip "controller" in Frame 2
onClipEvent (load) {
endlevel = _root.level * 20;
_root.levelscore = 0;
_root.ships = 3;
}
onClipEvent (enterFrame) {
if (timer > 100) {
duplicateMovieClip (_root.flower, "flower" + i, i);
i = i + 1;
timer = 0;
}
timer = timer + (_root.level + 1);
if (i > endlevel) {
_root.play();
}
_root.timebonus = _root.timebonus - 0.5;
if (_root.timebonus == 0) {
_root.bonus = 0;
_root.timebonus = 10;
}
_root.bonus = Math.ceil(_root.bonus);
_root.levelscore = Math.ceil(_root.levelscore);
_root.score = Math.ceil(_root.score);
}
Instance of Symbol 2 MovieClip "flower" in Frame 2
onClipEvent (load) {
if (_name != "flower") {
_x = (Math.random() * 550);
_y = (Math.random() * -100);
grav = (-Math.random()) * -1;
}
}
on (rollOver) {
if (grav >> 0) {
_root.bonus = _root.bonus + (grav + 10);
_root.levelscore = _root.levelscore + _root.bonus;
if (_root.ships > 0) {
_root.score = _root.score + _root.bonus;
}
_root.timebonus = 10;
duplicateMovieClip (_root.bonusind, "bonusindicator", 199);
grav = ((2 * _root.mousey) / 3) - 3;
}
xmove = (2 * _root.mousex) / 3;
}
onClipEvent (enterFrame) {
if (_name != "flower") {
if (_root._currentframe != 2) {
removeMovieClip(this);
}
_y = (_y + grav);
_x = (_x + xmove);
_rotation = (_rotation + grav);
grav = grav + 0.05;
if (_y > 400) {
removeMovieClip(this);
}
if (this.hitTest(_root.ship)) {
if (_root.ship._currentframe < 2) {
_root.ship.play();
_root.ships = _root.ships - 1;
}
}
if (this.hitTest(_root.ship2)) {
if (_root.ship2._currentframe < 2) {
_root.ship2.play();
_root.ships = _root.ships - 1;
}
}
if (this.hitTest(_root.ship3)) {
if (_root.ship3._currentframe < 2) {
_root.ship3.play();
_root.ships = _root.ships - 1;
}
}
}
}
Instance of Symbol 8 MovieClip "ship" in Frame 2
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
timer = timer + 1;
if (timer == 100) {
if ((Math.random() * 100) > 50) {
move = (_root.level / 100) + 0.2;
} else {
move = (-(_root.level / 100)) - 0.2;
}
timer = 0;
}
_x = (_x + move);
if (_x > 550) {
_x = 550;
} else if (_x < 366) {
_x = 366;
}
}
Instance of Symbol 8 MovieClip "ship2" in Frame 2
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
timer = timer + 1;
if (timer == 100) {
if ((Math.random() * 100) > 50) {
move = (_root.level / 100) + 0.2;
} else {
move = (-(_root.level / 100)) - 0.2;
}
timer = 0;
}
_x = (_x + move);
if (_x > 366) {
_x = 366;
} else if (_x < 183) {
_x = 183;
}
}
Instance of Symbol 8 MovieClip "ship3" in Frame 2
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
_root.mousex = _root._xmouse - prevmousex;
_root.mousey = _root._ymouse - prevmousey;
prevmousex = _root._xmouse;
prevmousey = _root._ymouse;
timer = timer + 1;
if (timer == 100) {
if ((Math.random() * 100) > 50) {
move = (_root.level / 100) + 0.2;
} else {
move = (-(_root.level / 100)) - 0.2;
}
timer = 0;
}
_x = (_x + move);
if (_x > 183) {
_x = 183;
} else if (_x < 0) {
_x = 0;
}
}
Instance of Symbol 11 MovieClip "bonusind" in Frame 2
onClipEvent (load) {
if (_name != "bonusind") {
_x = 100;
_y = 350;
}
}
onClipEvent (enterFrame) {
if (_name != "bonusind") {
timer = timer + 1;
if (timer > 50) {
removeMovieClip(this);
}
_y = (_y - 2);
}
}
Instance of Symbol 42 MovieClip in Frame 2
onClipEvent (enterFrame) {
score = _root.score;
temp = Math.floor(score / 10) * 10;
scoretemp = score;
_root.units = scoretemp - temp;
temp = Math.floor(score / 100) * 10;
scoretemp = Math.floor(score / 10);
_root.tens = scoretemp - temp;
temp = Math.floor(score / 1000) * 10;
scoretemp = Math.floor(score / 100);
_root.hundreds = scoretemp - temp;
temp = Math.floor(score / 10000) * 10;
scoretemp = Math.floor(score / 1000);
_root.thousands = scoretemp - temp;
temp = Math.floor(score / 100000) * 10;
scoretemp = Math.floor(score / 10000);
_root.tenthousands = scoretemp - temp;
temp = Math.floor(score / 1000000) * 10;
scoretemp = Math.floor(score / 100000);
_root.hundredthousands = scoretemp - temp;
temp = Math.floor(score / 10000000) * 10;
scoretemp = Math.floor(score / 1000000);
_root.millions = scoretemp - temp;
temp = Math.floor(score / 100000000) * 10;
scoretemp = Math.floor(score / 10000000);
_root.tenmillions = scoretemp - temp;
temp = Math.floor(score / 1000000000) * 10;
scoretemp = Math.floor(score / 100000000);
_root.hundredmillions = scoretemp - temp;
}
Frame 3
_root.levelscore = Math.ceil(_root.levelscore);
_root.score = _root.score + (_root.levelscore * _root.ships);
_root.level = _root.level + 1;
_root.bonus = 0;
stop();
Instance of Symbol 50 MovieClip in Frame 3
on (release) {
_root.gotoAndStop(2);
}
Instance of Symbol 42 MovieClip in Frame 3
onClipEvent (enterFrame) {
score = _root.score;
temp = Math.floor(score / 10) * 10;
scoretemp = score;
_root.units = scoretemp - temp;
temp = Math.floor(score / 100) * 10;
scoretemp = Math.floor(score / 10);
_root.tens = scoretemp - temp;
temp = Math.floor(score / 1000) * 10;
scoretemp = Math.floor(score / 100);
_root.hundreds = scoretemp - temp;
temp = Math.floor(score / 10000) * 10;
scoretemp = Math.floor(score / 1000);
_root.thousands = scoretemp - temp;
temp = Math.floor(score / 100000) * 10;
scoretemp = Math.floor(score / 10000);
_root.tenthousands = scoretemp - temp;
temp = Math.floor(score / 1000000) * 10;
scoretemp = Math.floor(score / 100000);
_root.hundredthousands = scoretemp - temp;
temp = Math.floor(score / 10000000) * 10;
scoretemp = Math.floor(score / 1000000);
_root.millions = scoretemp - temp;
}
Symbol 8 MovieClip Frame 4
stop();
Symbol 15 MovieClip Frame 2
stop();
Symbol 17 MovieClip Frame 2
stop();
Symbol 20 MovieClip Frame 2
stop();
Symbol 23 MovieClip Frame 2
stop();
Symbol 26 MovieClip Frame 2
stop();
Symbol 29 MovieClip Frame 2
stop();
Symbol 32 MovieClip Frame 2
stop();
Symbol 34 MovieClip Frame 2
stop();
Symbol 37 MovieClip Frame 2
stop();
Symbol 40 MovieClip Frame 2
stop();
Instance of Symbol 15 MovieClip in Symbol 41 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop (2);
}
Instance of Symbol 17 MovieClip in Symbol 41 MovieClip Frame 2
onClipEvent (enterFrame) {
gotoAndStop (2);
}
Instance of Symbol 20 MovieClip in Symbol 41 MovieClip Frame 3
onClipEvent (enterFrame) {
gotoAndStop (2);
}
Instance of Symbol 23 MovieClip in Symbol 41 MovieClip Frame 4
onClipEvent (enterFrame) {
gotoAndStop (2);
}
Instance of Symbol 26 MovieClip in Symbol 41 MovieClip Frame 5
onClipEvent (enterFrame) {
gotoAndStop (2);
}
Instance of Symbol 29 MovieClip in Symbol 41 MovieClip Frame 6
onClipEvent (enterFrame) {
gotoAndStop (2);
}
Instance of Symbol 32 MovieClip in Symbol 41 MovieClip Frame 7
onClipEvent (enterFrame) {
gotoAndStop (2);
}
Instance of Symbol 34 MovieClip in Symbol 41 MovieClip Frame 8
onClipEvent (enterFrame) {
gotoAndStop (2);
}
Instance of Symbol 37 MovieClip in Symbol 41 MovieClip Frame 9
onClipEvent (enterFrame) {
gotoAndStop (2);
}
Instance of Symbol 40 MovieClip in Symbol 41 MovieClip Frame 10
onClipEvent (enterFrame) {
gotoAndStop (2);
}
Instance of Symbol 41 MovieClip in Symbol 42 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
gotoAndStop(_root.units + 1);
}
Instance of Symbol 41 MovieClip in Symbol 42 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
gotoAndStop(_root.tens + 1);
}
Instance of Symbol 41 MovieClip in Symbol 42 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
gotoAndStop(_root.hundreds + 1);
}
Instance of Symbol 41 MovieClip in Symbol 42 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
gotoAndStop(_root.thousands + 1);
}
Instance of Symbol 41 MovieClip in Symbol 42 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
gotoAndStop(_root.tenthousands + 1);
}
Instance of Symbol 41 MovieClip in Symbol 42 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
gotoAndStop(_root.hundredthousands + 1);
}
Instance of Symbol 41 MovieClip in Symbol 42 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
gotoAndStop(_root.millions + 1);
}
Instance of Symbol 41 MovieClip in Symbol 42 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
gotoAndStop(_root.tenmillions + 1);
}
Instance of Symbol 41 MovieClip in Symbol 42 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
gotoAndStop(_root.hundredmillions + 1);
}