Frame 1
Stage.showMenu = false;
Instance of Symbol 3 MovieClip in Frame 1
onClipEvent (load) {
bgSound = new Sound(this);
bgSound.attachSound("theme");
bgSound.start(0, 99);
}
Frame 2
stop();
Frame 3
stop();
Mouse.show();
Frame 4
stop();
Mouse.show();
Frame 5
Stage.showMenu = false;
win = 3;
health = 100;
Frame 6
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (8);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (9);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 6
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 6
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 6
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 7
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (8);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (9);
}
gotoAndPlay (6);
Frame 8
Mouse.show();
stop();
Frame 9
play();
Frame 16
Mouse.show();
stop();
Frame 17
Stage.showMenu = false;
win = 3;
health = 100;
Frame 18
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (20);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (21);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 18
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 18
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 18
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 19
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (20);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (21);
}
gotoAndPlay (18);
Frame 20
Mouse.show();
stop();
Frame 21
play();
Frame 28
Mouse.show();
stop();
Frame 29
Stage.showMenu = false;
win = 3;
health = 100;
Frame 30
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (32);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (33);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 30
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 30
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 30
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 31
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (32);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (33);
}
gotoAndPlay (30);
Frame 32
Mouse.show();
stop();
Frame 33
play();
Frame 40
Mouse.show();
stop();
Frame 41
Stage.showMenu = false;
win = 3;
health = 100;
Frame 42
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (44);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (45);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 42
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 42
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 42
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 43
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (44);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (45);
}
gotoAndPlay (42);
Frame 44
Mouse.show();
stop();
Frame 45
play();
Frame 52
Mouse.show();
stop();
Frame 53
Stage.showMenu = false;
win = 3;
health = 100;
Frame 54
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (56);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (57);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 54
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 54
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 54
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 55
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (56);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (57);
}
gotoAndPlay (54);
Frame 56
Mouse.show();
stop();
Frame 57
play();
Frame 64
Mouse.show();
stop();
Frame 65
Stage.showMenu = false;
win = 3;
health = 100;
Frame 66
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (68);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (69);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 66
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 66
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 66
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 67
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (68);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (69);
}
gotoAndPlay (66);
Frame 68
Mouse.show();
stop();
Frame 69
play();
Frame 76
Mouse.show();
stop();
Frame 77
Stage.showMenu = false;
win = 3;
health = 100;
Frame 78
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (80);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (81);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 78
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 78
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 78
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 79
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (80);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (81);
}
gotoAndPlay (78);
Frame 80
Mouse.show();
stop();
Frame 81
play();
Frame 88
Mouse.show();
stop();
Frame 89
Stage.showMenu = false;
win = 3;
health = 100;
Frame 90
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (92);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (93);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 90
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 90
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 90
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 91
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (92);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (93);
}
gotoAndPlay (90);
Frame 92
Mouse.show();
stop();
Frame 93
play();
Frame 100
Mouse.show();
stop();
Frame 101
Stage.showMenu = false;
win = 3;
health = 100;
Frame 102
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (104);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (105);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 102
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 102
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 102
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 103
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (104);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (105);
}
gotoAndPlay (102);
Frame 104
Mouse.show();
stop();
Frame 105
play();
Frame 112
Mouse.show();
stop();
Frame 113
Stage.showMenu = false;
win = 3;
health = 100;
Frame 114
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (116);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (117);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 114
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 114
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 114
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 115
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (116);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (117);
}
gotoAndPlay (114);
Frame 116
Mouse.show();
stop();
Frame 117
play();
Frame 124
Mouse.show();
stop();
Frame 125
Stage.showMenu = false;
win = 3;
health = 100;
Frame 126
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (128);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (129);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 126
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 126
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 126
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 127
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (128);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (129);
}
gotoAndPlay (126);
Frame 128
Mouse.show();
stop();
Frame 129
play();
Frame 136
Mouse.show();
stop();
Frame 137
Stage.showMenu = false;
win = 3;
health = 100;
Frame 138
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (140);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (141);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 138
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 138
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 138
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 139
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (140);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (141);
}
gotoAndPlay (138);
Frame 140
Mouse.show();
stop();
Frame 141
play();
Frame 148
Mouse.show();
stop();
Frame 149
Stage.showMenu = false;
win = 3;
health = 100;
Frame 150
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (152);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (153);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 150
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 150
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 150
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 151
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (152);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (153);
}
gotoAndPlay (150);
Frame 152
Mouse.show();
stop();
Frame 153
play();
Frame 160
Mouse.show();
stop();
Frame 161
Stage.showMenu = false;
win = 3;
health = 100;
Frame 162
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (164);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (165);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 162
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 162
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 162
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 163
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (164);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (165);
}
gotoAndPlay (162);
Frame 164
Mouse.show();
stop();
Frame 165
play();
Frame 172
Mouse.show();
stop();
Frame 173
Stage.showMenu = false;
win = 3;
health = 100;
Frame 174
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (176);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (177);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 174
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 174
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 174
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 175
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (176);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (177);
}
gotoAndPlay (174);
Frame 176
Mouse.show();
stop();
Frame 177
play();
Frame 184
Mouse.show();
stop();
Frame 185
Stage.showMenu = false;
win = 3;
health = 100;
Frame 186
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (188);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (189);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 186
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 186
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 186
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 187
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (188);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (189);
}
gotoAndPlay (186);
Frame 188
Mouse.show();
stop();
Frame 189
play();
Frame 196
Mouse.show();
stop();
Frame 197
Stage.showMenu = false;
win = 3;
health = 100;
Frame 198
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (200);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (201);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 198
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 198
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 198
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 199
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (200);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (201);
}
gotoAndPlay (198);
Frame 200
Mouse.show();
stop();
Frame 201
play();
Frame 208
Mouse.show();
stop();
Frame 209
Stage.showMenu = false;
win = 3;
health = 100;
Frame 210
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (212);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (213);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 210
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 210
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 210
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 211
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (212);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (213);
}
gotoAndPlay (210);
Frame 212
Mouse.show();
stop();
Frame 213
play();
Frame 220
Mouse.show();
stop();
Frame 221
Stage.showMenu = false;
win = 3;
health = 100;
Frame 222
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (224);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (225);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 222
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 222
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 222
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 223
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (224);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (225);
}
gotoAndPlay (222);
Frame 224
Mouse.show();
stop();
Frame 225
play();
Frame 232
Mouse.show();
stop();
Frame 233
Stage.showMenu = false;
win = 3;
health = 100;
Frame 234
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (236);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (237);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 234
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 234
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 234
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 235
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (236);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (237);
}
gotoAndPlay (234);
Frame 236
Mouse.show();
stop();
Frame 237
play();
Frame 244
Mouse.show();
stop();
Frame 245
Stage.showMenu = false;
win = 3;
health = 100;
Frame 246
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (248);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (249);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 246
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 246
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 246
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 247
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (248);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (249);
}
gotoAndPlay (246);
Frame 248
Mouse.show();
stop();
Frame 249
play();
Frame 256
Mouse.show();
stop();
Frame 257
Stage.showMenu = false;
win = 3;
health = 100;
Frame 258
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (260);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (261);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 258
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 258
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 258
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 259
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (260);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (261);
}
gotoAndPlay (258);
Frame 260
Mouse.show();
stop();
Frame 261
play();
Frame 268
Mouse.show();
stop();
Frame 269
Stage.showMenu = false;
win = 3;
health = 100;
Frame 270
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (272);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (273);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 270
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 270
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 270
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 271
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (272);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (273);
}
gotoAndPlay (270);
Frame 272
Mouse.show();
stop();
Frame 273
play();
Frame 280
Mouse.show();
stop();
Frame 281
Stage.showMenu = false;
win = 3;
health = 100;
Frame 282
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (284);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (285);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 282
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 282
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 282
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 283
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (284);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (285);
}
gotoAndPlay (282);
Frame 284
Mouse.show();
stop();
Frame 285
play();
Frame 292
Mouse.show();
stop();
Frame 293
Stage.showMenu = false;
win = 3;
health = 100;
Frame 294
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (296);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (297);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 294
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 294
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 294
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 295
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (296);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (297);
}
gotoAndPlay (294);
Frame 296
Mouse.show();
stop();
Frame 297
play();
Frame 304
Mouse.show();
stop();
Frame 305
Stage.showMenu = false;
win = 3;
health = 100;
Frame 306
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (308);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (309);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 306
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 306
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 306
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 307
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (308);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (309);
}
gotoAndPlay (306);
Frame 308
Mouse.show();
stop();
Frame 309
play();
Instance of Symbol 79 MovieClip "food" in Frame 309
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 316
Mouse.show();
stop();
Frame 317
stop();
Instance of Symbol 155 MovieClip "aimover" in Frame 317
onClipEvent (enterFrame) {
this._x = _root.orb._x;
this._y = _root.orb._y;
}
Instance of Symbol 83 MovieClip "orb" in Frame 317
onClipEvent (enterFrame) {
}
Frame 319
Stage.showMenu = false;
win = 3;
health = 100;
Frame 320
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (322);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (323);
}
Instance of Symbol 86 MovieClip "enemy" in Frame 320
onClipEvent (enterFrame) {
varX = _root.food._x - this._x;
varY = -1 * (_root.food._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 88 MovieClip "shine" in Frame 320
onClipEvent (enterFrame) {
this._x = _root.enemy._x;
this._y = _root.enemy._y;
}
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 30;
}
onClipEvent (enterFrame) {
endX = _root.food._x;
endY = _root.food._y;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 79 MovieClip "food" in Frame 320
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (this.hitTest(_root.enemy)) {
_root.player.play();
this.play();
health = (50 - _root.food._currentframe) * 2;
} else {
this.stop();
}
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Frame 321
Stage.showMenu = false;
gotoAndPlay (320);
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (322);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (323);
}
Frame 322
Mouse.show();
stop();
Frame 323
stop();
Instance of Symbol 79 MovieClip "food" in Frame 323
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
speed = speed + 5;
}
if (Key.isDown(40)) {
speed = speed - 3;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
speed = speed * 0.6;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.land.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.8;
}
}
Symbol 23 Button
on (release) {
_root.play();
}
Symbol 24 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 24 MovieClip Frame 2
gotoAndPlay (1);
Symbol 27 Button
on (release) {
getURL ("http://www.freewebs.com/kkabombm/", _blank);
}
Symbol 31 MovieClip Frame 21
stop();
Symbol 32 MovieClip Frame 1
a = 0;
this.onEnterFrame = function () {
a = a + 1;
bg.duplicateMovieClip("bg" + a, -a);
setProperty("bg" + a, _rotation , random(360));
};
Symbol 37 Button
on (rollOver) {
play();
}
Symbol 38 Button
on (rollOut) {
gotoAndPlay (9);
}
Symbol 41 Button
on (rollOut) {
play();
}
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 8
stop();
Symbol 47 Button
on (rollOut) {
gotoAndPlay (9);
}
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 8
stop();
Symbol 55 Button
on (rollOut) {
gotoAndPlay (9);
}
Symbol 59 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 8
stop();
Instance of Symbol 43 MovieClip "low" in Symbol 60 MovieClip Frame 1
on (release) {
_quality = "low";
}
Instance of Symbol 51 MovieClip "med" in Symbol 60 MovieClip Frame 1
on (release) {
_quality = "medium";
}
Instance of Symbol 59 MovieClip "high" in Symbol 60 MovieClip Frame 1
on (release) {
_quality = "high";
}
Symbol 65 Button
on (release) {
gotoAndStop (4);
getURL ("http://www.freewebs.com/kkabombm/", _blank);
}
Symbol 68 Button
on (release) {
gotoAndPlay (5);
}
Symbol 70 Button
on (rollOver) {
instruct._alpha = 100;
}
on (rollOut) {
instruct._alpha = 0;
}
Symbol 72 Button
on (release) {
gotoAndStop (317);
}
Symbol 74 Button
on (rollOver) {
credits._alpha = 100;
}
on (rollOut) {
credits._alpha = 0;
}
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 49
stop();
Symbol 79 MovieClip Frame 50
stop();
Symbol 82 MovieClip Frame 21
stop();
Symbol 83 MovieClip Frame 1
g = 0;
this.onEnterFrame = function () {
g = g + 1;
aim.duplicateMovieClip("aim" + g, -g);
setProperty("aim" + g, _rotation , random(360));
};
Symbol 96 Button
on (release) {
gotoAndPlay (5);
}
Symbol 98 Button
on (release) {
gotoAndPlay (17);
}
Symbol 100 Button
on (release) {
gotoAndPlay (29);
}
Symbol 102 Button
on (release) {
gotoAndPlay (41);
}
Symbol 104 Button
on (release) {
gotoAndPlay (53);
}
Symbol 106 Button
on (release) {
gotoAndPlay (65);
}
Symbol 108 Button
on (release) {
gotoAndPlay (77);
}
Symbol 110 Button
on (release) {
gotoAndPlay (89);
}
Symbol 112 Button
on (release) {
gotoAndPlay (101);
}
Symbol 115 Button
on (release) {
gotoAndPlay (113);
}
Symbol 117 Button
on (release) {
gotoAndPlay (125);
}
Symbol 119 Button
on (release) {
gotoAndPlay (137);
}
Symbol 121 Button
on (release) {
gotoAndPlay (149);
}
Symbol 123 Button
on (release) {
gotoAndPlay (161);
}
Symbol 125 Button
on (release) {
gotoAndPlay (173);
}
Symbol 127 Button
on (release) {
gotoAndPlay (185);
}
Symbol 129 Button
on (release) {
gotoAndPlay (197);
}
Symbol 131 Button
on (release) {
gotoAndPlay (209);
}
Symbol 133 Button
on (release) {
gotoAndPlay (221);
}
Symbol 135 Button
on (release) {
gotoAndPlay (233);
}
Symbol 137 Button
on (release) {
gotoAndPlay (245);
}
Symbol 139 Button
on (release) {
gotoAndPlay (257);
}
Symbol 141 Button
on (release) {
gotoAndPlay (269);
}
Symbol 143 Button
on (release) {
gotoAndPlay (281);
}
Symbol 145 Button
on (release) {
gotoAndPlay (293);
}
Symbol 147 Button
on (release) {
gotoAndPlay (305);
}
Symbol 148 Button
on (release) {
levels._alpha = 100;
getURL ("http://www.freewebs.com/kkabombm/", _blank);
}
Symbol 157 Button
on (keyPress "<Space>") {
gotoAndStop (15);
}
Symbol 159 Button
on (release) {
gotoAndStop (2);
}
Symbol 166 Button
on (release) {
health = 100;
gotoAndPlay (5);
health = 100;
}
Symbol 173 Button
on (release) {
health = 100;
gotoAndPlay (17);
}
Symbol 178 Button
on (keyPress "<Space>") {
gotoAndStop (27);
}
Symbol 179 Button
on (release) {
health = 100;
gotoAndPlay (17);
health = 100;
}
Symbol 180 Button
on (release) {
health = 100;
gotoAndPlay (29);
}
Symbol 185 Button
on (keyPress "<Space>") {
gotoAndStop (39);
}
Symbol 186 Button
on (release) {
health = 100;
gotoAndPlay (29);
health = 100;
}
Symbol 187 Button
on (release) {
health = 100;
gotoAndPlay (41);
}
Symbol 192 Button
on (keyPress "<Space>") {
gotoAndStop (51);
}
Symbol 193 Button
on (release) {
health = 100;
gotoAndPlay (41);
health = 100;
}
Symbol 194 Button
on (release) {
health = 100;
gotoAndPlay (53);
}
Symbol 199 Button
on (keyPress "<Space>") {
gotoAndStop (63);
}
Symbol 200 Button
on (release) {
health = 100;
gotoAndPlay (53);
health = 100;
}
Symbol 201 Button
on (release) {
health = 100;
gotoAndPlay (65);
}
Symbol 206 Button
on (keyPress "<Space>") {
gotoAndStop (75);
}
Symbol 207 Button
on (release) {
health = 100;
gotoAndPlay (65);
health = 100;
}
Symbol 208 Button
on (release) {
health = 100;
gotoAndPlay (77);
}
Symbol 215 Button
on (keyPress "<Space>") {
gotoAndStop (87);
}
Symbol 216 Button
on (release) {
health = 100;
gotoAndPlay (77);
health = 100;
}
Symbol 217 Button
on (release) {
health = 100;
gotoAndPlay (89);
}
Symbol 224 Button
on (keyPress "<Space>") {
gotoAndStop (99);
}
Symbol 225 Button
on (release) {
health = 100;
gotoAndPlay (89);
health = 100;
}
Symbol 226 Button
on (release) {
health = 100;
gotoAndPlay (101);
}
Symbol 233 Button
on (keyPress "<Space>") {
gotoAndStop (111);
}
Symbol 234 Button
on (release) {
health = 100;
gotoAndPlay (101);
health = 100;
}
Symbol 235 Button
on (release) {
health = 100;
gotoAndPlay (113);
}
Symbol 242 Button
on (keyPress "<Space>") {
gotoAndStop (124);
}
Symbol 243 Button
on (release) {
health = 100;
gotoAndPlay (113);
health = 100;
}
Symbol 244 Button
on (release) {
health = 100;
gotoAndPlay (125);
}
Symbol 251 Button
on (keyPress "<Space>") {
gotoAndStop (136);
}
Symbol 252 Button
on (release) {
health = 100;
gotoAndPlay (125);
health = 100;
}
Symbol 253 Button
on (release) {
health = 100;
gotoAndPlay (137);
}
Symbol 260 Button
on (keyPress "<Space>") {
gotoAndStop (148);
}
Symbol 261 Button
on (release) {
health = 100;
gotoAndPlay (137);
health = 100;
}
Symbol 262 Button
on (release) {
health = 100;
gotoAndPlay (149);
}
Symbol 269 Button
on (keyPress "<Space>") {
gotoAndStop (160);
}
Symbol 270 Button
on (release) {
health = 100;
gotoAndPlay (149);
health = 100;
}
Symbol 271 Button
on (release) {
health = 100;
gotoAndPlay (161);
}
Symbol 278 Button
on (keyPress "<Space>") {
gotoAndStop (172);
}
Symbol 279 Button
on (release) {
health = 100;
gotoAndPlay (161);
health = 100;
}
Symbol 280 Button
on (release) {
health = 100;
gotoAndPlay (173);
}
Symbol 287 Button
on (keyPress "<Space>") {
gotoAndStop (184);
}
Symbol 288 Button
on (release) {
health = 100;
gotoAndPlay (173);
health = 100;
}
Symbol 289 Button
on (release) {
health = 100;
gotoAndPlay (185);
}
Symbol 296 Button
on (keyPress "<Space>") {
gotoAndStop (196);
}
Symbol 297 Button
on (release) {
health = 100;
gotoAndPlay (185);
health = 100;
}
Symbol 298 Button
on (release) {
health = 100;
gotoAndPlay (197);
}
Symbol 305 Button
on (keyPress "<Space>") {
gotoAndStop (208);
}
Symbol 306 Button
on (release) {
health = 100;
gotoAndPlay (197);
health = 100;
}
Symbol 307 Button
on (release) {
health = 100;
gotoAndPlay (209);
}
Symbol 314 Button
on (keyPress "<Space>") {
gotoAndStop (220);
}
Symbol 315 Button
on (release) {
health = 100;
gotoAndPlay (209);
health = 100;
}
Symbol 316 Button
on (release) {
health = 100;
gotoAndPlay (221);
}
Symbol 323 Button
on (keyPress "<Space>") {
gotoAndStop (232);
}
Symbol 324 Button
on (release) {
health = 100;
gotoAndPlay (221);
health = 100;
}
Symbol 325 Button
on (release) {
health = 100;
gotoAndPlay (233);
}
Symbol 332 Button
on (keyPress "<Space>") {
gotoAndStop (244);
}
Symbol 333 Button
on (release) {
health = 100;
gotoAndPlay (233);
health = 100;
}
Symbol 334 Button
on (release) {
health = 100;
gotoAndPlay (245);
}
Symbol 341 Button
on (keyPress "<Space>") {
gotoAndStop (256);
}
Symbol 342 Button
on (release) {
health = 100;
gotoAndPlay (245);
health = 100;
}
Symbol 343 Button
on (release) {
health = 100;
gotoAndPlay (257);
}
Symbol 350 Button
on (keyPress "<Space>") {
gotoAndStop (268);
}
Symbol 351 Button
on (release) {
health = 100;
gotoAndPlay (257);
health = 100;
}
Symbol 352 Button
on (release) {
health = 100;
gotoAndPlay (269);
}
Symbol 359 Button
on (keyPress "<Space>") {
gotoAndStop (280);
}
Symbol 360 Button
on (release) {
health = 100;
gotoAndPlay (269);
health = 100;
}
Symbol 361 Button
on (release) {
health = 100;
gotoAndPlay (281);
}
Symbol 368 Button
on (keyPress "<Space>") {
gotoAndStop (292);
}
Symbol 369 Button
on (release) {
health = 100;
gotoAndPlay (281);
health = 100;
}
Symbol 370 Button
on (release) {
health = 100;
gotoAndPlay (293);
}
Symbol 377 Button
on (keyPress "<Space>") {
gotoAndStop (304);
}
Symbol 378 Button
on (release) {
health = 100;
gotoAndPlay (293);
health = 100;
}
Symbol 379 Button
on (release) {
health = 100;
gotoAndPlay (305);
}
Symbol 386 Button
on (keyPress "<Space>") {
gotoAndStop (315);
}
Symbol 387 Button
on (release) {
health = 100;
gotoAndPlay (305);
health = 100;
}
Symbol 389 Button
on (release) {
health = 100;
gotoAndStop (2);
}
Symbol 392 Button
on (release) {
this.clear();
play();
}
Symbol 393 MovieClip Frame 1
lineStyle(10, 16776960, 100);
down = false;
onMouseDown = function () {
down = true;
moveTo(_xmouse, _ymouse);
};
onMouseUp = function () {
down = false;
};
onMouseMove = function () {
(down ? (lineTo(_xmouse, _ymouse)) : 0);
};
stop();
Symbol 396 Button
on (release) {
gotoAndStop (318);
}
Symbol 397 Button
on (release) {
gotoAndStop (2);
}
Symbol 398 Button
on (keyPress "w") {
orb._y = orb._y - 20;
}
on (keyPress "s") {
orb._y = orb._y + 20;
}
on (keyPress "a") {
orb._x = orb._x - 20;
}
on (keyPress "d") {
orb._x = orb._x + 20;
}
Symbol 400 Button
on (release) {
play();
}
Symbol 408 Button
on (release) {
health = 100;
gotoAndStop (317);
health = 100;
}
Symbol 409 Button
on (release) {
gotoAndStop (317);
}