Frame 141
Stage.showMenu = false;
Instance of Symbol 93 MovieClip in Frame 141
onClipEvent (load) {
bgSound = new Sound(this);
bgSound.attachSound("theme");
bgSound.start(0, 99);
}
Frame 142
stop();
Frame 143
stop();
Mouse.show();
Frame 144
stop();
Mouse.show();
Frame 145
Stage.showMenu = false;
win = 3;
health = 100;
Frame 146
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (148);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (149);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 146
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 180 MovieClip "shine" in Frame 146
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 171 MovieClip "food" in Frame 146
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 147
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (148);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (149);
}
gotoAndPlay (146);
Frame 148
Mouse.show();
stop();
Frame 149
play();
Frame 156
Mouse.show();
stop();
Frame 157
Stage.showMenu = false;
win = 3;
health = 100;
Frame 158
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (160);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (161);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 158
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 180 MovieClip "shine" in Frame 158
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 171 MovieClip "food" in Frame 158
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 159
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (160);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (161);
}
gotoAndPlay (158);
Frame 160
Mouse.show();
stop();
Frame 161
play();
Frame 168
Mouse.show();
stop();
Frame 169
Stage.showMenu = false;
win = 3;
health = 100;
Frame 170
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (172);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (173);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 170
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 180 MovieClip "shine" in Frame 170
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 171 MovieClip "food" in Frame 170
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 171
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (172);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (173);
}
gotoAndPlay (170);
Frame 172
Mouse.show();
stop();
Frame 173
play();
Frame 180
Mouse.show();
stop();
Frame 181
Stage.showMenu = false;
win = 3;
health = 100;
Frame 182
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (184);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (185);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 182
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 180 MovieClip "shine" in Frame 182
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 171 MovieClip "food" in Frame 182
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 183
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (184);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (185);
}
gotoAndPlay (182);
Frame 184
Mouse.show();
stop();
Frame 185
play();
Frame 192
Mouse.show();
stop();
Frame 193
Stage.showMenu = false;
win = 3;
health = 100;
Frame 194
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (196);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (197);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 194
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 180 MovieClip "shine" in Frame 194
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 171 MovieClip "food" in Frame 194
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 195
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (196);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (197);
}
gotoAndPlay (194);
Frame 196
Mouse.show();
stop();
Frame 197
play();
Frame 204
Mouse.show();
stop();
Frame 205
Stage.showMenu = false;
win = 3;
health = 100;
Frame 206
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (208);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (209);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 206
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 180 MovieClip "shine" in Frame 206
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 171 MovieClip "food" in Frame 206
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 207
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (208);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (209);
}
gotoAndPlay (206);
Frame 208
Mouse.show();
stop();
Frame 209
play();
Frame 216
Mouse.show();
stop();
Frame 217
Stage.showMenu = false;
win = 3;
health = 100;
Frame 218
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (220);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (221);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 218
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 180 MovieClip "shine" in Frame 218
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 171 MovieClip "food" in Frame 218
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 219
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (220);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (221);
}
gotoAndPlay (218);
Frame 220
Mouse.show();
stop();
Frame 221
play();
Frame 228
Mouse.show();
stop();
Frame 229
Stage.showMenu = false;
win = 3;
health = 100;
Frame 230
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (232);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (233);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 230
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 180 MovieClip "shine" in Frame 230
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 171 MovieClip "food" in Frame 230
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 231
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (232);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (233);
}
gotoAndPlay (230);
Frame 232
Mouse.show();
stop();
Frame 233
play();
Frame 240
Mouse.show();
stop();
Frame 241
Stage.showMenu = false;
win = 3;
health = 100;
Frame 242
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (244);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (245);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 242
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 180 MovieClip "shine" in Frame 242
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 171 MovieClip "food" in Frame 242
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 243
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (244);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (245);
}
gotoAndPlay (242);
Frame 244
Mouse.show();
stop();
Frame 245
play();
Frame 252
Mouse.show();
stop();
Frame 253
Stage.showMenu = false;
win = 3;
health = 100;
Frame 254
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (256);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (257);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 254
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 180 MovieClip "shine" in Frame 254
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 171 MovieClip "food" in Frame 254
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 255
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (256);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (257);
}
gotoAndPlay (254);
Frame 256
Mouse.show();
stop();
Frame 257
play();
Frame 264
Mouse.show();
stop();
Frame 265
Stage.showMenu = false;
win = 3;
health = 100;
Frame 266
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (268);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (269);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 266
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 180 MovieClip "shine" in Frame 266
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 171 MovieClip "food" in Frame 266
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 267
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (268);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (269);
}
gotoAndPlay (266);
Frame 268
Mouse.show();
stop();
Frame 269
play();
Frame 276
Mouse.show();
stop();
Frame 277
Stage.showMenu = false;
win = 3;
health = 100;
Frame 278
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (280);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (281);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 278
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 180 MovieClip "shine" in Frame 278
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 171 MovieClip "food" in Frame 278
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 279
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (280);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (281);
}
gotoAndPlay (278);
Frame 280
Mouse.show();
stop();
Frame 281
play();
Frame 288
Mouse.show();
stop();
Frame 289
Stage.showMenu = false;
win = 3;
health = 100;
Frame 290
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (292);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (293);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 290
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 180 MovieClip "shine" in Frame 290
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 171 MovieClip "food" in Frame 290
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 291
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (292);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (293);
}
gotoAndPlay (290);
Frame 292
Mouse.show();
stop();
Frame 293
play();
Frame 300
Mouse.show();
stop();
Frame 301
Stage.showMenu = false;
win = 3;
health = 100;
Frame 302
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (304);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (305);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 302
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 180 MovieClip "shine" in Frame 302
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 171 MovieClip "food" in Frame 302
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 303
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (304);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (305);
}
gotoAndPlay (302);
Frame 304
Mouse.show();
stop();
Frame 305
play();
Frame 312
Mouse.show();
stop();
Frame 313
Stage.showMenu = false;
win = 3;
health = 100;
Frame 314
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (316);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (317);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 314
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 180 MovieClip "shine" in Frame 314
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 171 MovieClip "food" in Frame 314
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 315
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (316);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (317);
}
gotoAndPlay (314);
Frame 316
Mouse.show();
stop();
Frame 317
play();
Frame 324
Mouse.show();
stop();
Frame 325
Stage.showMenu = false;
win = 3;
health = 100;
Frame 326
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (328);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (329);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 326
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 180 MovieClip "shine" in Frame 326
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 171 MovieClip "food" in Frame 326
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 327
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (328);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (329);
}
gotoAndPlay (326);
Frame 328
Mouse.show();
stop();
Frame 329
play();
Frame 336
Mouse.show();
stop();
Frame 337
Stage.showMenu = false;
win = 3;
health = 100;
Frame 338
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (340);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (341);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 338
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 180 MovieClip "shine" in Frame 338
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 171 MovieClip "food" in Frame 338
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 339
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (340);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (341);
}
gotoAndPlay (338);
Frame 340
Mouse.show();
stop();
Frame 341
play();
Frame 348
Mouse.show();
stop();
Frame 349
Stage.showMenu = false;
win = 3;
health = 100;
Frame 350
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (352);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (353);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 350
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 180 MovieClip "shine" in Frame 350
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 171 MovieClip "food" in Frame 350
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 351
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (352);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (353);
}
gotoAndPlay (350);
Frame 352
Mouse.show();
stop();
Frame 353
play();
Frame 360
Mouse.show();
stop();
Frame 361
Stage.showMenu = false;
win = 3;
health = 100;
Frame 362
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (364);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (365);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 362
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 180 MovieClip "shine" in Frame 362
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 171 MovieClip "food" in Frame 362
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 363
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (364);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (365);
}
gotoAndPlay (362);
Frame 364
Mouse.show();
stop();
Frame 365
play();
Frame 372
Mouse.show();
stop();
Frame 373
Stage.showMenu = false;
win = 3;
health = 100;
Frame 374
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (376);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (377);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 374
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 180 MovieClip "shine" in Frame 374
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 171 MovieClip "food" in Frame 374
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 375
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (376);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (377);
}
gotoAndPlay (374);
Frame 376
Mouse.show();
stop();
Frame 377
play();
Frame 384
Mouse.show();
stop();
Frame 385
Stage.showMenu = false;
win = 3;
health = 100;
Frame 386
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (388);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (389);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 386
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 180 MovieClip "shine" in Frame 386
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 171 MovieClip "food" in Frame 386
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 387
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (388);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (389);
}
gotoAndPlay (386);
Frame 388
Mouse.show();
stop();
Frame 389
play();
Frame 396
Mouse.show();
stop();
Frame 397
Stage.showMenu = false;
win = 3;
health = 100;
Frame 398
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (400);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (401);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 398
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 180 MovieClip "shine" in Frame 398
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 171 MovieClip "food" in Frame 398
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 399
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (400);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (401);
}
gotoAndPlay (398);
Frame 400
Mouse.show();
stop();
Frame 401
play();
Frame 408
Mouse.show();
stop();
Frame 409
Stage.showMenu = false;
win = 3;
health = 100;
Frame 410
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (412);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (413);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 410
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 180 MovieClip "shine" in Frame 410
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 171 MovieClip "food" in Frame 410
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 411
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (412);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (413);
}
gotoAndPlay (410);
Frame 412
Mouse.show();
stop();
Frame 413
play();
Frame 420
Mouse.show();
stop();
Frame 421
Stage.showMenu = false;
win = 3;
health = 100;
Frame 422
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (424);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (425);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 422
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 180 MovieClip "shine" in Frame 422
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 171 MovieClip "food" in Frame 422
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 423
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (424);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (425);
}
gotoAndPlay (422);
Frame 424
Mouse.show();
stop();
Frame 425
play();
Frame 432
Mouse.show();
stop();
Frame 433
Stage.showMenu = false;
win = 3;
health = 100;
Frame 434
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (436);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (437);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 434
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 180 MovieClip "shine" in Frame 434
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 171 MovieClip "food" in Frame 434
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 435
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (436);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (437);
}
gotoAndPlay (434);
Frame 436
Mouse.show();
stop();
Frame 437
play();
Frame 444
Mouse.show();
stop();
Frame 445
Stage.showMenu = false;
win = 3;
health = 100;
Frame 446
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (448);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (449);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 446
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 180 MovieClip "shine" in Frame 446
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 171 MovieClip "food" in Frame 446
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 447
Mouse.hide();
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (448);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (449);
}
gotoAndPlay (446);
Frame 448
Mouse.show();
stop();
Frame 449
play();
Instance of Symbol 171 MovieClip "food" in Frame 449
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 456
Mouse.show();
stop();
Frame 457
stop();
Instance of Symbol 247 MovieClip "aimover" in Frame 457
onClipEvent (enterFrame) {
this._x = _root.orb._x;
this._y = _root.orb._y;
}
Instance of Symbol 175 MovieClip "orb" in Frame 457
onClipEvent (enterFrame) {
}
Frame 459
Stage.showMenu = false;
win = 3;
health = 100;
Frame 460
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (462);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (463);
}
Instance of Symbol 178 MovieClip "enemy" in Frame 460
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 180 MovieClip "shine" in Frame 460
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 171 MovieClip "food" in Frame 460
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 461
Stage.showMenu = false;
gotoAndPlay (460);
if (food.hitTest(_root.enemy)) {
health = (49 - _root.food._currentframe) * 2;
}
if (health < 1) {
gotoAndStop (462);
}
if (_root.food.hitTest(_root.aimover)) {
win = 2;
}
if (win < 3) {
gotoAndPlay (463);
}
Frame 462
Mouse.show();
stop();
Frame 463
stop();
Instance of Symbol 171 MovieClip "food" in Frame 463
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 5 Button
on (release) {
getURL ("http://www.flashportal.com", "_blank");
}
Symbol 112 Button
on (release) {
_root.play();
}
Symbol 113 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 113 MovieClip Frame 2
gotoAndPlay (1);
Symbol 116 Button
on (release) {
getURL ("http://www.freewebs.com/kkabombm/", _blank);
}
Symbol 120 MovieClip Frame 21
stop();
Symbol 121 MovieClip Frame 1
a = 0;
this.onEnterFrame = function () {
a = a + 1;
bg.duplicateMovieClip("bg" + a, -a);
setProperty("bg" + a, _rotation , random(360));
};
Symbol 126 Button
on (rollOver) {
play();
}
Symbol 127 Button
on (rollOut) {
gotoAndPlay (9);
}
Symbol 130 Button
on (rollOut) {
play();
}
Symbol 132 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 8
stop();
Symbol 136 Button
on (rollOut) {
gotoAndPlay (9);
}
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 8
stop();
Symbol 144 Button
on (rollOut) {
gotoAndPlay (9);
}
Symbol 148 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 8
stop();
Instance of Symbol 132 MovieClip "low" in Symbol 149 MovieClip Frame 1
on (release) {
_quality = "low";
}
Instance of Symbol 140 MovieClip "med" in Symbol 149 MovieClip Frame 1
on (release) {
_quality = "medium";
}
Instance of Symbol 148 MovieClip "high" in Symbol 149 MovieClip Frame 1
on (release) {
_quality = "high";
}
Symbol 156 Button
on (release) {
getURL ("http://www.flashportal.com", "_blank");
}
Symbol 157 Button
on (release) {
gotoAndStop (144);
getURL ("http://www.freewebs.com/kkabombm/", _blank);
}
Symbol 160 Button
on (release) {
gotoAndPlay (145);
}
Symbol 162 Button
on (rollOver) {
instruct._alpha = 100;
}
on (rollOut) {
instruct._alpha = 0;
}
Symbol 164 Button
on (release) {
gotoAndStop (457);
}
Symbol 166 Button
on (rollOver) {
credits._alpha = 100;
}
on (rollOut) {
credits._alpha = 0;
}
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 49
stop();
Symbol 171 MovieClip Frame 50
stop();
Symbol 174 MovieClip Frame 21
stop();
Symbol 175 MovieClip Frame 1
g = 0;
this.onEnterFrame = function () {
g = g + 1;
aim.duplicateMovieClip("aim" + g, -g);
setProperty("aim" + g, _rotation , random(360));
};
Symbol 188 Button
on (release) {
gotoAndPlay (145);
}
Symbol 190 Button
on (release) {
gotoAndPlay (157);
}
Symbol 192 Button
on (release) {
gotoAndPlay (169);
}
Symbol 194 Button
on (release) {
gotoAndPlay (181);
}
Symbol 196 Button
on (release) {
gotoAndPlay (193);
}
Symbol 198 Button
on (release) {
gotoAndPlay (205);
}
Symbol 200 Button
on (release) {
gotoAndPlay (217);
}
Symbol 202 Button
on (release) {
gotoAndPlay (229);
}
Symbol 204 Button
on (release) {
gotoAndPlay (241);
}
Symbol 207 Button
on (release) {
gotoAndPlay (253);
}
Symbol 209 Button
on (release) {
gotoAndPlay (265);
}
Symbol 211 Button
on (release) {
gotoAndPlay (277);
}
Symbol 213 Button
on (release) {
gotoAndPlay (289);
}
Symbol 215 Button
on (release) {
gotoAndPlay (301);
}
Symbol 217 Button
on (release) {
gotoAndPlay (313);
}
Symbol 219 Button
on (release) {
gotoAndPlay (325);
}
Symbol 221 Button
on (release) {
gotoAndPlay (337);
}
Symbol 223 Button
on (release) {
gotoAndPlay (349);
}
Symbol 225 Button
on (release) {
gotoAndPlay (361);
}
Symbol 227 Button
on (release) {
gotoAndPlay (373);
}
Symbol 229 Button
on (release) {
gotoAndPlay (385);
}
Symbol 231 Button
on (release) {
gotoAndPlay (397);
}
Symbol 233 Button
on (release) {
gotoAndPlay (409);
}
Symbol 235 Button
on (release) {
gotoAndPlay (421);
}
Symbol 237 Button
on (release) {
gotoAndPlay (433);
}
Symbol 239 Button
on (release) {
gotoAndPlay (445);
}
Symbol 240 Button
on (release) {
levels._alpha = 100;
getURL ("http://www.freewebs.com/kkabombm/", _blank);
}
Symbol 249 Button
on (keyPress "<Space>") {
gotoAndStop (155);
}
Symbol 251 Button
on (release) {
gotoAndStop (142);
}
Symbol 259 Button
on (release) {
health = 100;
gotoAndPlay (145);
health = 100;
}
Symbol 266 Button
on (release) {
health = 100;
gotoAndPlay (157);
}
Symbol 271 Button
on (keyPress "<Space>") {
gotoAndStop (167);
}
Symbol 272 Button
on (release) {
health = 100;
gotoAndPlay (157);
health = 100;
}
Symbol 273 Button
on (release) {
health = 100;
gotoAndPlay (169);
}
Symbol 278 Button
on (keyPress "<Space>") {
gotoAndStop (179);
}
Symbol 279 Button
on (release) {
health = 100;
gotoAndPlay (169);
health = 100;
}
Symbol 280 Button
on (release) {
health = 100;
gotoAndPlay (181);
}
Symbol 285 Button
on (keyPress "<Space>") {
gotoAndStop (191);
}
Symbol 286 Button
on (release) {
health = 100;
gotoAndPlay (181);
health = 100;
}
Symbol 287 Button
on (release) {
health = 100;
gotoAndPlay (193);
}
Symbol 292 Button
on (keyPress "<Space>") {
gotoAndStop (203);
}
Symbol 293 Button
on (release) {
health = 100;
gotoAndPlay (193);
health = 100;
}
Symbol 294 Button
on (release) {
health = 100;
gotoAndPlay (205);
}
Symbol 299 Button
on (keyPress "<Space>") {
gotoAndStop (215);
}
Symbol 300 Button
on (release) {
health = 100;
gotoAndPlay (205);
health = 100;
}
Symbol 301 Button
on (release) {
health = 100;
gotoAndPlay (217);
}
Symbol 308 Button
on (keyPress "<Space>") {
gotoAndStop (227);
}
Symbol 309 Button
on (release) {
health = 100;
gotoAndPlay (217);
health = 100;
}
Symbol 310 Button
on (release) {
health = 100;
gotoAndPlay (229);
}
Symbol 317 Button
on (keyPress "<Space>") {
gotoAndStop (239);
}
Symbol 318 Button
on (release) {
health = 100;
gotoAndPlay (229);
health = 100;
}
Symbol 319 Button
on (release) {
health = 100;
gotoAndPlay (241);
}
Symbol 326 Button
on (keyPress "<Space>") {
gotoAndStop (251);
}
Symbol 327 Button
on (release) {
health = 100;
gotoAndPlay (241);
health = 100;
}
Symbol 328 Button
on (release) {
health = 100;
gotoAndPlay (253);
}
Symbol 335 Button
on (keyPress "<Space>") {
gotoAndStop (264);
}
Symbol 336 Button
on (release) {
health = 100;
gotoAndPlay (253);
health = 100;
}
Symbol 337 Button
on (release) {
health = 100;
gotoAndPlay (265);
}
Symbol 344 Button
on (keyPress "<Space>") {
gotoAndStop (276);
}
Symbol 345 Button
on (release) {
health = 100;
gotoAndPlay (265);
health = 100;
}
Symbol 346 Button
on (release) {
health = 100;
gotoAndPlay (277);
}
Symbol 353 Button
on (keyPress "<Space>") {
gotoAndStop (288);
}
Symbol 354 Button
on (release) {
health = 100;
gotoAndPlay (277);
health = 100;
}
Symbol 355 Button
on (release) {
health = 100;
gotoAndPlay (289);
}
Symbol 362 Button
on (keyPress "<Space>") {
gotoAndStop (300);
}
Symbol 363 Button
on (release) {
health = 100;
gotoAndPlay (289);
health = 100;
}
Symbol 364 Button
on (release) {
health = 100;
gotoAndPlay (301);
}
Symbol 371 Button
on (keyPress "<Space>") {
gotoAndStop (312);
}
Symbol 372 Button
on (release) {
health = 100;
gotoAndPlay (301);
health = 100;
}
Symbol 373 Button
on (release) {
health = 100;
gotoAndPlay (313);
}
Symbol 380 Button
on (keyPress "<Space>") {
gotoAndStop (324);
}
Symbol 381 Button
on (release) {
health = 100;
gotoAndPlay (313);
health = 100;
}
Symbol 382 Button
on (release) {
health = 100;
gotoAndPlay (325);
}
Symbol 389 Button
on (keyPress "<Space>") {
gotoAndStop (336);
}
Symbol 390 Button
on (release) {
health = 100;
gotoAndPlay (325);
health = 100;
}
Symbol 391 Button
on (release) {
health = 100;
gotoAndPlay (337);
}
Symbol 398 Button
on (keyPress "<Space>") {
gotoAndStop (348);
}
Symbol 399 Button
on (release) {
health = 100;
gotoAndPlay (337);
health = 100;
}
Symbol 400 Button
on (release) {
health = 100;
gotoAndPlay (349);
}
Symbol 407 Button
on (keyPress "<Space>") {
gotoAndStop (360);
}
Symbol 408 Button
on (release) {
health = 100;
gotoAndPlay (349);
health = 100;
}
Symbol 409 Button
on (release) {
health = 100;
gotoAndPlay (361);
}
Symbol 416 Button
on (keyPress "<Space>") {
gotoAndStop (372);
}
Symbol 417 Button
on (release) {
health = 100;
gotoAndPlay (361);
health = 100;
}
Symbol 418 Button
on (release) {
health = 100;
gotoAndPlay (373);
}
Symbol 425 Button
on (keyPress "<Space>") {
gotoAndStop (384);
}
Symbol 426 Button
on (release) {
health = 100;
gotoAndPlay (373);
health = 100;
}
Symbol 427 Button
on (release) {
health = 100;
gotoAndPlay (385);
}
Symbol 434 Button
on (keyPress "<Space>") {
gotoAndStop (396);
}
Symbol 435 Button
on (release) {
health = 100;
gotoAndPlay (385);
health = 100;
}
Symbol 436 Button
on (release) {
health = 100;
gotoAndPlay (397);
}
Symbol 443 Button
on (keyPress "<Space>") {
gotoAndStop (408);
}
Symbol 444 Button
on (release) {
health = 100;
gotoAndPlay (397);
health = 100;
}
Symbol 445 Button
on (release) {
health = 100;
gotoAndPlay (409);
}
Symbol 452 Button
on (keyPress "<Space>") {
gotoAndStop (420);
}
Symbol 453 Button
on (release) {
health = 100;
gotoAndPlay (409);
health = 100;
}
Symbol 454 Button
on (release) {
health = 100;
gotoAndPlay (421);
}
Symbol 461 Button
on (keyPress "<Space>") {
gotoAndStop (432);
}
Symbol 462 Button
on (release) {
health = 100;
gotoAndPlay (421);
health = 100;
}
Symbol 463 Button
on (release) {
health = 100;
gotoAndPlay (433);
}
Symbol 470 Button
on (keyPress "<Space>") {
gotoAndStop (444);
}
Symbol 471 Button
on (release) {
health = 100;
gotoAndPlay (433);
health = 100;
}
Symbol 472 Button
on (release) {
health = 100;
gotoAndPlay (445);
}
Symbol 479 Button
on (keyPress "<Space>") {
gotoAndStop (455);
}
Symbol 480 Button
on (release) {
health = 100;
gotoAndPlay (445);
health = 100;
}
Symbol 482 Button
on (release) {
health = 100;
gotoAndStop (142);
}
Symbol 485 Button
on (release) {
this.clear();
play();
}
Symbol 486 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 489 Button
on (release) {
gotoAndStop (458);
}
Symbol 490 Button
on (release) {
gotoAndStop (142);
}
Symbol 491 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 493 Button
on (release) {
play();
}
Symbol 501 Button
on (release) {
health = 100;
gotoAndStop (457);
health = 100;
}
Symbol 502 Button
on (release) {
gotoAndStop (457);
}