Frame 1
fscommand ("allowscale", "false");
Frame 2
ifFrameLoaded (1000) {
gotoAndPlay (5);
}
Frame 3
gotoAndPlay (2);
Frame 5
stop();
Frame 8
paper._visible = 0;
hand._visible = 0;
lovername = "";
Selection.setFocus("lovername");
stopAllSounds();
Frame 10
stop();
Frame 12
paper._visible = 1;
hand._visible = 1;
bugno = 1;
score = 0;
bugkill = 0;
gameend = 0;
min = "01";
sec = "00";
Mouse.hide();
startDrag ("hand", true, 0, 0, 300, 400);
Frame 19
whichbug = random(15);
if ((whichbug == 0) and (100 < score)) {
duplicateMovieClip ("bug.bugx", "bug" add bugno, bugno + 10);
} else {
duplicateMovieClip ("bug.bug0", "bug" add bugno, bugno + 10);
}
pos = random(4);
if (pos == 0) {
bug["bug" add bugno]._x = random(260) + 20;
} else if (pos == 1) {
bug["bug" add bugno]._x = random(260) + 20;
bug["bug" add bugno]._y = -10;
} else if (pos == 2) {
bug["bug" add bugno]._x = -10;
bug["bug" add bugno]._y = random(360) + 20;
} else if (pos == 3) {
bug["bug" add bugno]._x = 420;
bug["bug" add bugno]._y = random(360) + 20;
}
bug["bug" add bugno]._rotation = random(360);
bug["bug" add bugno]._visible = 1;
bugno++;
Frame 32
gotoAndPlay (19);
Frame 33
gameend = 1;
Mouse.show();
stopDrag();
stop();
Frame 84
stop();
Symbol 8 Button
on (release) {
getURL ("http://www.luar.com.hk/", "_blank");
}
Symbol 12 Button
on (release) {
gotoAndPlay (8);
}
Symbol 18 Button
on (release, keyPress "<Enter>") {
if (lovername ne "") {
gotoAndPlay (12);
paper.lovername = lovername add ",";
}
}
Symbol 25 MovieClip Frame 1
stop();
Symbol 32 MovieClip Frame 1
timernow = getTimer();
xtimer = 1;
yes1 = 0;
yes2 = 0;
yes3 = 0;
Symbol 32 MovieClip Frame 2
timer = getTimer() - timernow;
if (Number(950 * xtimer) < Number(timer)) {
Set("../:sec", ../:sec - 1);
xtimer = Number(xtimer) + 1;
}
if ((Number(../:sec) == 50) and (yes1 == 0)) {
_parent.addobj(20);
_parent.shieldno = _parent.shieldno - 1;
_parent.shieldmc.play();
yes1 = 1;
}
if ((Number(../:sec) == 30) and (yes2 == 0)) {
_parent.addobj(20);
_parent.shieldno = _parent.shieldno - 1;
_parent.shieldmc.play();
yes2 = 1;
}
if ((Number(../:sec) == 15) and (yes3 == 0)) {
_parent.addobj(20);
_parent.shieldno = _parent.shieldno - 1;
_parent.shieldmc.play();
yes3 = 1;
}
if (Number(../:sec) < 0) {
Set("../:min", ../:min - 1);
Set("../:sec", 59);
}
if (Number(length(../:sec)) < 2) {
Set("../:sec", "0" add ../:sec);
}
if (Number(length(../:min)) < 2) {
Set("../:min", "0" add ../:min);
}
if ((_parent.sec eq "00") and (_parent.min eq "00")) {
stop();
tellTarget ("/") {
gotoAndPlay ("gameover");
};
}
Symbol 32 MovieClip Frame 3
gotoAndPlay (2);
Symbol 52 Button
on (release) {
play();
_root.hand.gotoAndPlay(2);
_root.score = _root.score + 10;
}
Symbol 58 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 2
stop();
Symbol 58 MovieClip Frame 3
stop();
Symbol 58 MovieClip Frame 4
stop();
Symbol 58 MovieClip Frame 5
stop();
Symbol 58 MovieClip Frame 6
stop();
Symbol 58 MovieClip Frame 8
_root.bugkill++;
_root.score = _root.score + 250;
stop();
Symbol 61 Button
on (release) {
gotoAndStop (2);
_root.hand.gotoAndPlay(2);
_root.score = _root.score + 10;
_root.bugkill++;
}
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 2
stop();
Symbol 64 MovieClip Frame 1
bug0._visible = 0;
bugx._visible = 0;
Instance of Symbol 58 MovieClip "bugx" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
xlimit = 320;
ylimit = 420;
thrust = 1;
maxSpeed = 5;
time = 1;
}
onClipEvent (enterFrame) {
if ((_currentframe < 7) and (_visible == 1)) {
if (_root.gameend == 1) {
this.removeMovieClip();
}
dir = random(2);
if (dir == 0) {
dir = -1;
}
_rotation = (_rotation + (dir * random(30)));
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
if (maxSpeed < speed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_y < -20) {
_y = ylimit;
}
if (ylimit < _y) {
_y = 0;
}
if (_x < -20) {
_x = xlimit;
}
if (xlimit < _x) {
_x = 0;
}
}
}
Instance of Symbol 63 MovieClip "bug0" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
xlimit = 320;
ylimit = 420;
thrust = 1;
maxSpeed = 5;
time = 1;
}
onClipEvent (enterFrame) {
if ((_currentframe == 1) and (_visible == 1)) {
if (_root.gameend == 1) {
this.removeMovieClip();
}
dir = random(2);
if (dir == 0) {
dir = -1;
}
_rotation = (_rotation + (dir * random(30)));
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
if (maxSpeed < speed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_y < -20) {
_y = ylimit;
}
if (ylimit < _y) {
_y = 0;
}
if (_x < -20) {
_x = xlimit;
}
if (xlimit < _x) {
_x = 0;
}
}
}
Symbol 65 MovieClip Frame 26
stop();
Symbol 67 Button
on (release) {
gotoAndPlay (39);
}
Symbol 80 MovieClip Frame 10
stop();
Symbol 82 Button
on (release) {
gotoAndPlay (8);
}