Frame 1
fscommand ("allowscale", "false");
score = 5;
speed = 0;
keyy = 2;
awaybutton = 1;
stop();
level = 1;
Instance of Symbol 27 MovieClip "a1" in Frame 1
onClipEvent (load) {
a = 1;
b = 1;
c = 1;
d = 1;
}
onClipEvent (enterFrame) {
if (hitTest(_root.essen)) {
_root.essen.play();
}
mh = _root.essen._x;
mv = _root.essen._y;
ran = random(4);
if (a == 1) {
if (ran == 0) {
b = 0;
c = 1;
d = 1;
if (_x < mh) {
_x = (_x + _root.step1);
}
}
}
if (b == 1) {
if (ran == 1) {
a = 0;
c = 1;
d = 1;
if (mh < _x) {
_x = (_x - _root.step1);
}
}
}
if (c == 1) {
if (ran == 2) {
a = 1;
b = 1;
d = 0;
if (_y < mv) {
_y = (_y + _root.step1);
}
}
}
if (d == 1) {
if (ran == 3) {
a = 1;
b = 1;
c = 0;
if (mv < _y) {
_y = (_y - _root.step1);
}
}
}
}
Instance of Symbol 27 MovieClip "a4" in Frame 1
onClipEvent (load) {
a = 1;
b = 1;
c = 1;
d = 1;
}
onClipEvent (enterFrame) {
if (hitTest(_root.essen)) {
_root.essen.play();
}
mh = _root.essen._x;
mv = _root.essen._y;
ran = random(5);
if (a == 1) {
if (ran == 0) {
b = 0;
c = 1;
d = 1;
if (_x < mh) {
_x = (_x + _root.step4);
}
}
}
if (b == 1) {
if (ran == 1) {
a = 0;
c = 1;
d = 1;
if (mh < _x) {
_x = (_x - _root.step4);
}
}
}
if (c == 1) {
if (ran == 2) {
a = 1;
b = 1;
d = 0;
if (_y < mv) {
_y = (_y + _root.step4);
}
}
}
if (d == 1) {
if (ran == 3) {
a = 1;
b = 1;
c = 0;
if (mv < _y) {
_y = (_y - _root.step4);
}
}
}
}
Instance of Symbol 27 MovieClip "a2" in Frame 1
onClipEvent (load) {
a = 1;
b = 1;
c = 1;
d = 1;
}
onClipEvent (enterFrame) {
if (hitTest(_root.essen)) {
_root.essen.play();
}
mh = _root.essen._x;
mv = _root.essen._y;
ran = random(4);
if (a == 1) {
if (ran == 0) {
b = 0;
c = 1;
d = 1;
if (_x < mh) {
_x = (_x + _root.step2);
}
}
}
if (b == 1) {
if (ran == 1) {
a = 0;
c = 1;
d = 1;
if (mh < _x) {
_x = (_x - _root.step2);
}
}
}
if (c == 1) {
if (ran == 2) {
a = 1;
b = 1;
d = 0;
if (_y < mv) {
_y = (_y + _root.step2);
}
}
}
if (d == 1) {
if (ran == 3) {
a = 1;
b = 1;
c = 0;
if (mv < _y) {
_y = (_y - _root.step2);
}
}
}
}
Instance of Symbol 27 MovieClip "a3" in Frame 1
onClipEvent (load) {
a = 1;
b = 1;
c = 1;
d = 1;
}
onClipEvent (enterFrame) {
if (hitTest(_root.essen)) {
_root.essen.play();
}
mh = _root.essen._x;
mv = _root.essen._y;
ran = random(4);
if (a == 1) {
if (ran == 0) {
b = 0;
c = 1;
d = 1;
if (_x < mh) {
_x = (_x + _root.step3);
}
}
}
if (b == 1) {
if (ran == 1) {
a = 0;
c = 1;
d = 1;
if (mh < _x) {
_x = (_x - _root.step3);
}
}
}
if (c == 1) {
if (ran == 2) {
a = 1;
b = 1;
d = 0;
if (_y < mv) {
_y = (_y + _root.step3);
}
}
}
if (d == 1) {
if (ran == 3) {
a = 1;
b = 1;
c = 0;
if (mv < _y) {
_y = (_y - _root.step3);
}
}
}
}
Instance of Symbol 41 MovieClip "essen" in Frame 1
onClipEvent (load) {
level = 1;
speed1 = 0;
speed2 = 0;
}
onClipEvent (keyDown) {
if (hitTest(_root.f1) || (hitTest(_root.f2.slower))) {
_root.speed = _root.speed1;
} else {
_root.speed = _root.speed2;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.chess)) {
_root.chess.play();
_root.count++;
}
if (_root.score <= 0) {
_root.gotoAndStop(10);
}
if (_root.count >= 5) {
_root.level = 2;
_root.gotoAndStop(11);
}
if (_root.awaybutton == 2) {
_root.b._x = -500;
} else {
_root.b._x = 300;
}
if (_root.keyy == 2) {
if (Key.isDown(37) && (!Key.isDown(39))) {
_x = (_x - _root.speed);
_rotation = 270;
}
if (Key.isDown(39) && (!Key.isDown(37))) {
_x = (_x + _root.speed);
_rotation = 90;
}
if (Key.isDown(38) && (!Key.isDown(40))) {
_y = (_y - _root.speed);
_rotation = 0;
}
if (Key.isDown(40) && (!Key.isDown(38))) {
_y = (_y + _root.speed);
_rotation = 180;
}
}
if (((Key.isDown(37) or Key.isDown(38)) or Key.isDown(39)) or Key.isDown(40)) {
_root.essen.blaket.play();
} else {
_root.essen.blaket.stop();
}
if (((Key.isDown(37) && (Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
_rotation = 315;
}
if (((Key.isDown(39) && (Key.isDown(38))) && (!Key.isDown(37))) && (!Key.isDown(40))) {
_rotation = 45;
}
if (((Key.isDown(37) && (Key.isDown(40))) && (!Key.isDown(39))) && (!Key.isDown(38))) {
_rotation = 225;
}
if (((Key.isDown(39) && (Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(38))) {
_rotation = 135;
}
if (_y < 30) {
_y = 430;
}
if (_y > 430) {
_y = 30;
}
if (_x < 0) {
_x = 600;
}
if (_x > 600) {
_x = 0;
}
}
Frame 2
stop();
speed = 3;
step1 = 2.2;
step2 = 0.5;
step3 = 2.5;
step4 = 1.2;
step5 = 2.2;
step6 = 1.2;
step7 = 1.2;
step8 = 1.5;
step9 = 1.2;
step10 = 1.2;
_root.essen._y = 300;
_root.essen._x = 300;
_root.keyy = 2;
_root.a1._x = 70;
_root.a1._y = 33;
_root.a2._x = 540;
_root.a2._y = 80;
_root.a3._x = 530;
_root.a3._y = 420;
_root.a4._x = 70;
_root.a4._y = 420;
_root.a5._x = 50;
_root.a5._y = 30;
_root.a6._x = 55;
_root.a6._y = 90;
_root.a7._x = 520;
_root.a7._y = 120;
_root.a8._x = 250;
_root.a8._y = 400;
_root.a9._x = 330;
_root.a9._y = 400;
_root.a10._x = 300;
_root.a10._y = 30;
Instance of Symbol 27 MovieClip "a1" in Frame 2
onClipEvent (load) {
a = 1;
b = 1;
c = 1;
d = 1;
}
onClipEvent (enterFrame) {
if (hitTest(_root.essen)) {
_root.essen.play();
}
mh = _root.essen._x;
mv = _root.essen._y;
ran = random(4);
if (a == 1) {
if (ran == 0) {
b = 0;
c = 1;
d = 1;
if (_x < mh) {
_x = (_x + _root.step1);
}
}
}
if (b == 1) {
if (ran == 1) {
a = 0;
c = 1;
d = 1;
if (mh < _x) {
_x = (_x - _root.step1);
}
}
}
if (c == 1) {
if (ran == 2) {
a = 1;
b = 1;
d = 0;
if (_y < mv) {
_y = (_y + _root.step1);
}
}
}
if (d == 1) {
if (ran == 3) {
a = 1;
b = 1;
c = 0;
if (mv < _y) {
_y = (_y - _root.step1);
}
}
}
}
Instance of Symbol 27 MovieClip "a4" in Frame 2
onClipEvent (load) {
a = 1;
b = 1;
c = 1;
d = 1;
}
onClipEvent (enterFrame) {
if (hitTest(_root.essen)) {
_root.essen.play();
}
mh = _root.essen._x;
mv = _root.essen._y;
ran = random(5);
if (a == 1) {
if (ran == 0) {
b = 0;
c = 1;
d = 1;
if (_x < mh) {
_x = (_x + _root.step4);
}
}
}
if (b == 1) {
if (ran == 1) {
a = 0;
c = 1;
d = 1;
if (mh < _x) {
_x = (_x - _root.step4);
}
}
}
if (c == 1) {
if (ran == 2) {
a = 1;
b = 1;
d = 0;
if (_y < mv) {
_y = (_y + _root.step4);
}
}
}
if (d == 1) {
if (ran == 3) {
a = 1;
b = 1;
c = 0;
if (mv < _y) {
_y = (_y - _root.step4);
}
}
}
}
Instance of Symbol 27 MovieClip "a7" in Frame 2
onClipEvent (load) {
a = 1;
b = 1;
c = 1;
d = 1;
}
onClipEvent (enterFrame) {
if (hitTest(_root.essen)) {
_root.essen.play();
}
mh = _root.essen._x;
mv = _root.essen._y;
ran = random(5);
if (a == 1) {
if (ran == 0) {
b = 0;
c = 1;
d = 1;
if (_x < mh) {
_x = (_x + _root.step7);
}
}
}
if (b == 1) {
if (ran == 1) {
a = 0;
c = 1;
d = 1;
if (mh < _x) {
_x = (_x - _root.step7);
}
}
}
if (c == 1) {
if (ran == 2) {
a = 1;
b = 1;
d = 0;
if (_y < mv) {
_y = (_y + _root.step7);
}
}
}
if (d == 1) {
if (ran == 3) {
a = 1;
b = 1;
c = 0;
if (mv < _y) {
_y = (_y - _root.step7);
}
}
}
}
Instance of Symbol 27 MovieClip "a9" in Frame 2
onClipEvent (load) {
a = 1;
b = 1;
c = 1;
d = 1;
}
onClipEvent (enterFrame) {
if (hitTest(_root.essen)) {
_root.essen.play();
}
mh = _root.essen._x;
mv = _root.essen._y;
ran = random(8);
if (a == 1) {
if (ran == 0) {
b = 0;
c = 1;
d = 1;
if (_x < mh) {
_x = (_x + _root.step9);
}
}
}
if (b == 1) {
if (ran == 1) {
a = 0;
c = 1;
d = 1;
if (mh < _x) {
_x = (_x - _root.step9);
}
}
}
if (c == 1) {
if (ran == 2) {
a = 1;
b = 1;
d = 0;
if (_y < mv) {
_y = (_y + _root.step9);
}
}
}
if (d == 1) {
if (ran == 3) {
a = 1;
b = 1;
c = 0;
if (mv < _y) {
_y = (_y - _root.step9);
}
}
}
}
Instance of Symbol 41 MovieClip "essen" in Frame 2
onClipEvent (keyDown) {
if (hitTest(_root.f1) || (hitTest(_root.f2.slower))) {
_root.speed = 1;
} else {
_root.speed = 3;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.chess)) {
_root.chess.play();
_root.count++;
}
if (_root.score <= 0) {
_root.gotoAndStop(10);
}
if (_root.count >= 10) {
_root.level = 3;
_root.gotoAndStop(11);
}
if (_root.keyy == 2) {
if (Key.isDown(37) && (!Key.isDown(39))) {
_x = (_x - _root.speed);
_rotation = 270;
}
if (Key.isDown(39) && (!Key.isDown(37))) {
_x = (_x + _root.speed);
_rotation = 90;
}
if (Key.isDown(38) && (!Key.isDown(40))) {
_y = (_y - _root.speed);
_rotation = 0;
}
if (Key.isDown(40) && (!Key.isDown(38))) {
_y = (_y + _root.speed);
_rotation = 180;
}
}
if (((Key.isDown(37) or Key.isDown(38)) or Key.isDown(39)) or Key.isDown(40)) {
_root.essen.blaket.play();
} else {
_root.essen.blaket.stop();
}
if (((Key.isDown(37) && (Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
_rotation = 315;
}
if (((Key.isDown(39) && (Key.isDown(38))) && (!Key.isDown(37))) && (!Key.isDown(40))) {
_rotation = 45;
}
if (((Key.isDown(37) && (Key.isDown(40))) && (!Key.isDown(39))) && (!Key.isDown(38))) {
_rotation = 225;
}
if (((Key.isDown(39) && (Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(38))) {
_rotation = 135;
}
if (_y < 30) {
_y = 430;
}
if (_y > 430) {
_y = 30;
}
if (_x < 0) {
_x = 600;
}
if (_x > 600) {
_x = 0;
}
}
Frame 3
stop();
speed = 3;
step1 = 2.2;
step2 = 0.9;
step3 = 2;
step4 = 2.2;
step5 = 2.6;
step6 = 1.9;
step7 = 1.7;
step8 = 1.8;
step9 = 1.8;
step10 = 1.3;
_root.essen._y = 300;
_root.essen._x = 300;
_root.keyy = 2;
_root.a1._x = 70;
_root.a1._y = 33;
_root.a2._x = 540;
_root.a2._y = 80;
_root.a3._x = 530;
_root.a3._y = 420;
_root.a4._x = 70;
_root.a4._y = 420;
_root.a5._x = 50;
_root.a5._y = 30;
_root.a6._x = 55;
_root.a6._y = 90;
_root.a7._x = 520;
_root.a7._y = 120;
_root.a8._x = 250;
_root.a8._y = 400;
_root.a9._x = 330;
_root.a9._y = 400;
_root.a10._x = 300;
_root.a10._y = 30;
Instance of Symbol 27 MovieClip "a2" in Frame 3
onClipEvent (load) {
a = 1;
b = 1;
c = 1;
d = 1;
}
onClipEvent (enterFrame) {
if (hitTest(_root.essen)) {
_root.essen.play();
}
mh = _root.essen._x;
mv = _root.essen._y;
ran = random(4);
if (a == 1) {
if (ran == 0) {
b = 0;
c = 1;
d = 1;
if (_x < mh) {
_x = (_x + _root.step2);
}
}
}
if (b == 1) {
if (ran == 1) {
a = 0;
c = 1;
d = 1;
if (mh < _x) {
_x = (_x - _root.step2);
}
}
}
if (c == 1) {
if (ran == 2) {
a = 1;
b = 1;
d = 0;
if (_y < mv) {
_y = (_y + _root.step2);
}
}
}
if (d == 1) {
if (ran == 3) {
a = 1;
b = 1;
c = 0;
if (mv < _y) {
_y = (_y - _root.step2);
}
}
}
}
Instance of Symbol 27 MovieClip "a10" in Frame 3
onClipEvent (load) {
a = 1;
b = 1;
c = 1;
d = 1;
}
onClipEvent (enterFrame) {
if (hitTest(_root.essen)) {
_root.essen.play();
}
mh = _root.essen._x;
mv = _root.essen._y;
ran = random(7);
if (a == 1) {
if (ran == 0) {
b = 0;
c = 1;
d = 1;
if (_x < mh) {
_x = (_x + _root.step10);
}
}
}
if (b == 1) {
if (ran == 1) {
a = 0;
c = 1;
d = 1;
if (mh < _x) {
_x = (_x - _root.step10);
}
}
}
if (c == 1) {
if (ran == 2) {
a = 1;
b = 1;
d = 0;
if (_y < mv) {
_y = (_y + _root.step10);
}
}
}
if (d == 1) {
if (ran == 3) {
a = 1;
b = 1;
c = 0;
if (mv < _y) {
_y = (_y - _root.step10);
}
}
}
}
Instance of Symbol 41 MovieClip "essen" in Frame 3
onClipEvent (keyDown) {
if (hitTest(_root.f1) || (hitTest(_root.f2.slower))) {
_root.speed = 1;
} else {
_root.speed = 3;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.chess)) {
_root.chess.play();
_root.count++;
}
if (_root.score <= 0) {
_root.gotoAndStop(10);
}
if (_root.count >= 15) {
_root.level = 4;
_root.gotoAndStop(11);
}
if (_root.keyy == 2) {
if (Key.isDown(37) && (!Key.isDown(39))) {
_x = (_x - _root.speed);
_rotation = 270;
}
if (Key.isDown(39) && (!Key.isDown(37))) {
_x = (_x + _root.speed);
_rotation = 90;
}
if (Key.isDown(38) && (!Key.isDown(40))) {
_y = (_y - _root.speed);
_rotation = 0;
}
if (Key.isDown(40) && (!Key.isDown(38))) {
_y = (_y + _root.speed);
_rotation = 180;
}
}
if (((Key.isDown(37) or Key.isDown(38)) or Key.isDown(39)) or Key.isDown(40)) {
_root.essen.blaket.play();
} else {
_root.essen.blaket.stop();
}
if (((Key.isDown(37) && (Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
_rotation = 315;
}
if (((Key.isDown(39) && (Key.isDown(38))) && (!Key.isDown(37))) && (!Key.isDown(40))) {
_rotation = 45;
}
if (((Key.isDown(37) && (Key.isDown(40))) && (!Key.isDown(39))) && (!Key.isDown(38))) {
_rotation = 225;
}
if (((Key.isDown(39) && (Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(38))) {
_rotation = 135;
}
if (_y < 30) {
_y = 430;
}
if (_y > 430) {
_y = 30;
}
if (_x < 0) {
_x = 600;
}
if (_x > 600) {
_x = 0;
}
}
Frame 4
stop();
speed = 3;
step1 = 2.2;
step2 = 1.9;
step3 = 2.6;
step4 = 2.9;
step5 = 3.1;
step6 = 2.4;
step7 = 2.2;
step8 = 2.6;
step9 = 3;
step10 = 2.8;
_root.essen._y = 300;
_root.essen._x = 300;
_root.keyy = 2;
_root.a1._x = 70;
_root.a1._y = 33;
_root.a2._x = 540;
_root.a2._y = 80;
_root.a3._x = 530;
_root.a3._y = 420;
_root.a4._x = 70;
_root.a4._y = 420;
_root.a5._x = 50;
_root.a5._y = 30;
_root.a6._x = 55;
_root.a6._y = 90;
_root.a7._x = 520;
_root.a7._y = 120;
_root.a8._x = 250;
_root.a8._y = 400;
_root.a9._x = 330;
_root.a9._y = 400;
_root.a10._x = 300;
_root.a10._y = 30;
Instance of Symbol 27 MovieClip "a6" in Frame 4
onClipEvent (load) {
a = 1;
b = 1;
c = 1;
d = 1;
}
onClipEvent (enterFrame) {
if (hitTest(_root.essen)) {
_root.essen.play();
}
mh = _root.essen._x;
mv = _root.essen._y;
ran = random(6);
if (a == 1) {
if (ran == 0) {
b = 0;
c = 1;
d = 1;
if (_x < mh) {
_x = (_x + _root.step6);
}
}
}
if (b == 1) {
if (ran == 1) {
a = 0;
c = 1;
d = 1;
if (mh < _x) {
_x = (_x - _root.step6);
}
}
}
if (c == 1) {
if (ran == 2) {
a = 1;
b = 1;
d = 0;
if (_y < mv) {
_y = (_y + _root.step6);
}
}
}
if (d == 1) {
if (ran == 3) {
a = 1;
b = 1;
c = 0;
if (mv < _y) {
_y = (_y - _root.step6);
}
}
}
}
Instance of Symbol 41 MovieClip "essen" in Frame 4
onClipEvent (keyDown) {
if (hitTest(_root.f1) || (hitTest(_root.f2.slower))) {
_root.speed = 1;
} else {
_root.speed = 3;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.chess)) {
_root.chess.play();
_root.count++;
}
if (_root.score <= 0) {
_root.gotoAndStop(12);
}
if (_root.count >= 20) {
_root.level = 5;
_root.gotoAndStop(11);
}
if (_root.keyy == 2) {
if (Key.isDown(37) && (!Key.isDown(39))) {
_x = (_x - _root.speed);
_rotation = 270;
}
if (Key.isDown(39) && (!Key.isDown(37))) {
_x = (_x + _root.speed);
_rotation = 90;
}
if (Key.isDown(38) && (!Key.isDown(40))) {
_y = (_y - _root.speed);
_rotation = 0;
}
if (Key.isDown(40) && (!Key.isDown(38))) {
_y = (_y + _root.speed);
_rotation = 180;
}
}
if (((Key.isDown(37) or Key.isDown(38)) or Key.isDown(39)) or Key.isDown(40)) {
_root.essen.blaket.play();
} else {
_root.essen.blaket.stop();
}
if (((Key.isDown(37) && (Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
_rotation = 315;
}
if (((Key.isDown(39) && (Key.isDown(38))) && (!Key.isDown(37))) && (!Key.isDown(40))) {
_rotation = 45;
}
if (((Key.isDown(37) && (Key.isDown(40))) && (!Key.isDown(39))) && (!Key.isDown(38))) {
_rotation = 225;
}
if (((Key.isDown(39) && (Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(38))) {
_rotation = 135;
}
if (_y < 30) {
_y = 430;
}
if (_y > 430) {
_y = 30;
}
if (_x < 0) {
_x = 600;
}
if (_x > 600) {
_x = 0;
}
}
Frame 5
stop();
speed = 3;
step1 = 2.9;
step2 = 2.4;
step3 = 2.9;
step4 = 3.3;
step5 = 3.8;
step6 = 2.9;
step7 = 3.1;
step8 = 3.4;
step9 = 3.5;
step10 = 2.8;
_root.essen._y = 300;
_root.essen._x = 300;
_root.keyy = 2;
_root.a1._x = 70;
_root.a1._y = 33;
_root.a2._x = 540;
_root.a2._y = 80;
_root.a3._x = 530;
_root.a3._y = 420;
_root.a4._x = 70;
_root.a4._y = 420;
_root.a5._x = 50;
_root.a5._y = 30;
_root.a6._x = 55;
_root.a6._y = 90;
_root.a7._x = 520;
_root.a7._y = 120;
_root.a8._x = 250;
_root.a8._y = 400;
_root.a9._x = 330;
_root.a9._y = 400;
_root.a10._x = 300;
_root.a10._y = 30;
Instance of Symbol 27 MovieClip "a5" in Frame 5
onClipEvent (load) {
a = 1;
b = 1;
c = 1;
d = 1;
}
onClipEvent (enterFrame) {
if (hitTest(_root.essen)) {
_root.essen.play();
}
mh = _root.essen._x;
mv = _root.essen._y;
ran = random(8);
if (a == 1) {
if (ran == 0) {
b = 0;
c = 1;
d = 1;
if (_x < mh) {
_x = (_x + _root.step5);
}
}
}
if (b == 1) {
if (ran == 1) {
a = 0;
c = 1;
d = 1;
if (mh < _x) {
_x = (_x - _root.step5);
}
}
}
if (c == 1) {
if (ran == 2) {
a = 1;
b = 1;
d = 0;
if (_y < mv) {
_y = (_y + _root.step5);
}
}
}
if (d == 1) {
if (ran == 3) {
a = 1;
b = 1;
c = 0;
if (mv < _y) {
_y = (_y - _root.step5);
}
}
}
}
Instance of Symbol 41 MovieClip "essen" in Frame 5
onClipEvent (keyDown) {
if (hitTest(_root.f1) || (hitTest(_root.f2.slower))) {
_root.speed = 1;
} else {
_root.speed = 3;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.chess)) {
_root.chess.play();
_root.count++;
}
if (_root.score <= 0) {
_root.gotoAndStop(10);
}
if (_root.count >= 25) {
_root.level = 6;
_root.gotoAndStop(11);
}
if (_root.keyy == 2) {
if (Key.isDown(37) && (!Key.isDown(39))) {
_x = (_x - _root.speed);
_rotation = 270;
}
if (Key.isDown(39) && (!Key.isDown(37))) {
_x = (_x + _root.speed);
_rotation = 90;
}
if (Key.isDown(38) && (!Key.isDown(40))) {
_y = (_y - _root.speed);
_rotation = 0;
}
if (Key.isDown(40) && (!Key.isDown(38))) {
_y = (_y + _root.speed);
_rotation = 180;
}
}
if (((Key.isDown(37) or Key.isDown(38)) or Key.isDown(39)) or Key.isDown(40)) {
_root.essen.blaket.play();
} else {
_root.essen.blaket.stop();
}
if (((Key.isDown(37) && (Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
_rotation = 315;
}
if (((Key.isDown(39) && (Key.isDown(38))) && (!Key.isDown(37))) && (!Key.isDown(40))) {
_rotation = 45;
}
if (((Key.isDown(37) && (Key.isDown(40))) && (!Key.isDown(39))) && (!Key.isDown(38))) {
_rotation = 225;
}
if (((Key.isDown(39) && (Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(38))) {
_rotation = 135;
}
if (_y < 30) {
_y = 430;
}
if (_y > 430) {
_y = 30;
}
if (_x < 0) {
_x = 600;
}
if (_x > 600) {
_x = 0;
}
}
Frame 6
stop();
speed = 3;
step1 = 3.3;
step2 = 2.9;
step3 = 3.7;
step4 = 3.9;
step5 = 4.2;
step6 = 3.7;
step7 = 4.1;
step8 = 3.8;
step9 = 4.1;
step10 = 3.5;
_root.essen._y = 300;
_root.essen._x = 300;
_root.keyy = 2;
_root.a1._x = 70;
_root.a1._y = 33;
_root.a2._x = 540;
_root.a2._y = 80;
_root.a3._x = 530;
_root.a3._y = 420;
_root.a4._x = 70;
_root.a4._y = 420;
_root.a5._x = 50;
_root.a5._y = 30;
_root.a6._x = 55;
_root.a6._y = 90;
_root.a7._x = 520;
_root.a7._y = 120;
_root.a8._x = 250;
_root.a8._y = 400;
_root.a9._x = 330;
_root.a9._y = 400;
_root.a10._x = 300;
_root.a10._y = 30;
Instance of Symbol 27 MovieClip "a8" in Frame 6
onClipEvent (load) {
a = 1;
b = 1;
c = 1;
d = 1;
}
onClipEvent (enterFrame) {
if (hitTest(_root.essen)) {
_root.essen.play();
}
mh = _root.essen._x;
mv = _root.essen._y;
ran = random(4);
if (a == 1) {
if (ran == 0) {
b = 0;
c = 1;
d = 1;
if (_x < mh) {
_x = (_x + _root.step8);
}
}
}
if (b == 1) {
if (ran == 1) {
a = 0;
c = 1;
d = 1;
if (mh < _x) {
_x = (_x - _root.step8);
}
}
}
if (c == 1) {
if (ran == 2) {
a = 1;
b = 1;
d = 0;
if (_y < mv) {
_y = (_y + _root.step8);
}
}
}
if (d == 1) {
if (ran == 3) {
a = 1;
b = 1;
c = 0;
if (mv < _y) {
_y = (_y - _root.step8);
}
}
}
}
Instance of Symbol 41 MovieClip "essen" in Frame 6
onClipEvent (keyDown) {
if (hitTest(_root.f1) || (hitTest(_root.f2.slower))) {
_root.speed = 1;
} else {
_root.speed = 3;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.chess)) {
_root.chess.play();
_root.count++;
}
if (_root.score <= 0) {
_root.gotoAndStop(10);
}
if (_root.count >= 30) {
_root.level = 7;
_root.gotoAndStop(11);
}
if (_root.keyy == 2) {
if (Key.isDown(37) && (!Key.isDown(39))) {
_x = (_x - _root.speed);
_rotation = 270;
}
if (Key.isDown(39) && (!Key.isDown(37))) {
_x = (_x + _root.speed);
_rotation = 90;
}
if (Key.isDown(38) && (!Key.isDown(40))) {
_y = (_y - _root.speed);
_rotation = 0;
}
if (Key.isDown(40) && (!Key.isDown(38))) {
_y = (_y + _root.speed);
_rotation = 180;
}
}
if (((Key.isDown(37) or Key.isDown(38)) or Key.isDown(39)) or Key.isDown(40)) {
_root.essen.blaket.play();
} else {
_root.essen.blaket.stop();
}
if (((Key.isDown(37) && (Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
_rotation = 315;
}
if (((Key.isDown(39) && (Key.isDown(38))) && (!Key.isDown(37))) && (!Key.isDown(40))) {
_rotation = 45;
}
if (((Key.isDown(37) && (Key.isDown(40))) && (!Key.isDown(39))) && (!Key.isDown(38))) {
_rotation = 225;
}
if (((Key.isDown(39) && (Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(38))) {
_rotation = 135;
}
if (_y < 30) {
_y = 430;
}
if (_y > 430) {
_y = 30;
}
if (_x < 0) {
_x = 600;
}
if (_x > 600) {
_x = 0;
}
}
Frame 7
stop();
speed = 3;
step1 = 4;
step2 = 3.6;
step3 = 4.3;
step4 = 4.7;
step5 = 4.5;
step6 = 4.9;
step7 = 4.1;
step8 = 3.8;
step9 = 4.7;
step10 = 3.9;
_root.essen._y = 300;
_root.essen._x = 300;
_root.keyy = 2;
_root.a1._x = 70;
_root.a1._y = 33;
_root.a2._x = 540;
_root.a2._y = 80;
_root.a3._x = 530;
_root.a3._y = 420;
_root.a4._x = 70;
_root.a4._y = 420;
_root.a5._x = 50;
_root.a5._y = 30;
_root.a6._x = 55;
_root.a6._y = 90;
_root.a7._x = 520;
_root.a7._y = 120;
_root.a8._x = 250;
_root.a8._y = 400;
_root.a9._x = 330;
_root.a9._y = 400;
_root.a10._x = 300;
_root.a10._y = 30;
Instance of Symbol 41 MovieClip "essen" in Frame 7
onClipEvent (keyDown) {
if (hitTest(_root.f1) || (hitTest(_root.f2.slower))) {
_root.speed = 1;
} else {
_root.speed = 3;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.chess)) {
_root.chess.play();
_root.count++;
}
if (_root.score <= 0) {
_root.gotoAndStop(10);
}
if (_root.count >= 35) {
_root.level = 8;
_root.gotoAndStop(11);
}
if (_root.keyy == 2) {
if (Key.isDown(37) && (!Key.isDown(39))) {
_x = (_x - _root.speed);
_rotation = 270;
}
if (Key.isDown(39) && (!Key.isDown(37))) {
_x = (_x + _root.speed);
_rotation = 90;
}
if (Key.isDown(38) && (!Key.isDown(40))) {
_y = (_y - _root.speed);
_rotation = 0;
}
if (Key.isDown(40) && (!Key.isDown(38))) {
_y = (_y + _root.speed);
_rotation = 180;
}
}
if (((Key.isDown(37) or Key.isDown(38)) or Key.isDown(39)) or Key.isDown(40)) {
_root.essen.blaket.play();
} else {
_root.essen.blaket.stop();
}
if (((Key.isDown(37) && (Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
_rotation = 315;
}
if (((Key.isDown(39) && (Key.isDown(38))) && (!Key.isDown(37))) && (!Key.isDown(40))) {
_rotation = 45;
}
if (((Key.isDown(37) && (Key.isDown(40))) && (!Key.isDown(39))) && (!Key.isDown(38))) {
_rotation = 225;
}
if (((Key.isDown(39) && (Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(38))) {
_rotation = 135;
}
if (_y < 30) {
_y = 430;
}
if (_y > 430) {
_y = 30;
}
if (_x < 0) {
_x = 600;
}
if (_x > 600) {
_x = 0;
}
}
Frame 8
stop();
speed = 3;
step1 = 4.7;
step2 = 4.3;
step3 = 4.9;
step4 = 5.1;
step5 = 5;
step6 = 5.4;
step7 = 4.8;
step8 = 4.3;
step9 = 5.5;
step10 = 4.9;
_root.essen._y = 300;
_root.essen._x = 300;
_root.keyy = 2;
_root.a1._x = 70;
_root.a1._y = 33;
_root.a2._x = 540;
_root.a2._y = 80;
_root.a3._x = 530;
_root.a3._y = 420;
_root.a4._x = 70;
_root.a4._y = 420;
_root.a5._x = 50;
_root.a5._y = 30;
_root.a6._x = 55;
_root.a6._y = 90;
_root.a7._x = 520;
_root.a7._y = 120;
_root.a8._x = 250;
_root.a8._y = 400;
_root.a9._x = 330;
_root.a9._y = 400;
_root.a10._x = 300;
_root.a10._y = 30;
Instance of Symbol 41 MovieClip "essen" in Frame 8
onClipEvent (keyDown) {
if (hitTest(_root.f1) || (hitTest(_root.f2.slower))) {
_root.speed = 1;
} else {
_root.speed = 3;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.chess)) {
_root.chess.play();
_root.count++;
}
if (_root.score <= 0) {
_root.gotoAndStop(10);
}
if (_root.count >= 40) {
_root.level = 9;
_root.gotoAndStop(11);
}
if (_root.keyy == 2) {
if (Key.isDown(37) && (!Key.isDown(39))) {
_x = (_x - _root.speed);
_rotation = 270;
}
if (Key.isDown(39) && (!Key.isDown(37))) {
_x = (_x + _root.speed);
_rotation = 90;
}
if (Key.isDown(38) && (!Key.isDown(40))) {
_y = (_y - _root.speed);
_rotation = 0;
}
if (Key.isDown(40) && (!Key.isDown(38))) {
_y = (_y + _root.speed);
_rotation = 180;
}
}
if (((Key.isDown(37) or Key.isDown(38)) or Key.isDown(39)) or Key.isDown(40)) {
_root.essen.blaket.play();
} else {
_root.essen.blaket.stop();
}
if (((Key.isDown(37) && (Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
_rotation = 315;
}
if (((Key.isDown(39) && (Key.isDown(38))) && (!Key.isDown(37))) && (!Key.isDown(40))) {
_rotation = 45;
}
if (((Key.isDown(37) && (Key.isDown(40))) && (!Key.isDown(39))) && (!Key.isDown(38))) {
_rotation = 225;
}
if (((Key.isDown(39) && (Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(38))) {
_rotation = 135;
}
if (_y < 30) {
_y = 430;
}
if (_y > 430) {
_y = 30;
}
if (_x < 0) {
_x = 600;
}
if (_x > 600) {
_x = 0;
}
}
Frame 9
stop();
speed = 3;
step1 = 5.7;
step2 = 5.8;
step3 = 6.4;
step4 = 6.3;
step5 = 6.1;
step6 = 6.8;
step7 = 6.2;
step8 = 5.2;
step9 = 6.6;
step10 = 5.4;
_root.essen._y = 300;
_root.essen._x = 300;
_root.keyy = 2;
_root.a1._x = 70;
_root.a1._y = 33;
_root.a2._x = 540;
_root.a2._y = 80;
_root.a3._x = 530;
_root.a3._y = 420;
_root.a4._x = 70;
_root.a4._y = 420;
_root.a5._x = 50;
_root.a5._y = 30;
_root.a6._x = 55;
_root.a6._y = 90;
_root.a7._x = 520;
_root.a7._y = 120;
_root.a8._x = 250;
_root.a8._y = 400;
_root.a9._x = 330;
_root.a9._y = 400;
_root.a10._x = 300;
_root.a10._y = 30;
Instance of Symbol 41 MovieClip "essen" in Frame 9
onClipEvent (keyDown) {
if (hitTest(_root.f1) || (hitTest(_root.f2.slower))) {
_root.speed = 1;
} else {
_root.speed = 3;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.chess)) {
_root.chess.play();
_root.count++;
}
if (_root.score <= 0) {
_root.gotoAndStop(10);
}
if (_root.count >= 45) {
_root.level = 10;
_root.gotoAndStop(12);
}
if (_root.keyy == 2) {
if (Key.isDown(37) && (!Key.isDown(39))) {
_x = (_x - _root.speed);
_rotation = 270;
}
if (Key.isDown(39) && (!Key.isDown(37))) {
_x = (_x + _root.speed);
_rotation = 90;
}
if (Key.isDown(38) && (!Key.isDown(40))) {
_y = (_y - _root.speed);
_rotation = 0;
}
if (Key.isDown(40) && (!Key.isDown(38))) {
_y = (_y + _root.speed);
_rotation = 180;
}
}
if (((Key.isDown(37) or Key.isDown(38)) or Key.isDown(39)) or Key.isDown(40)) {
_root.essen.blaket.play();
} else {
_root.essen.blaket.stop();
}
if (((Key.isDown(37) && (Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
_rotation = 315;
}
if (((Key.isDown(39) && (Key.isDown(38))) && (!Key.isDown(37))) && (!Key.isDown(40))) {
_rotation = 45;
}
if (((Key.isDown(37) && (Key.isDown(40))) && (!Key.isDown(39))) && (!Key.isDown(38))) {
_rotation = 225;
}
if (((Key.isDown(39) && (Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(38))) {
_rotation = 135;
}
if (_y < 30) {
_y = 430;
}
if (_y > 430) {
_y = 30;
}
if (_x < 0) {
_x = 600;
}
if (_x > 600) {
_x = 0;
}
}
Frame 10
stop();
pnConnector.storeScore(_root.count);
stop();
speed = 3;
step1 = 5.7;
step2 = 5.8;
step3 = 6.4;
step4 = 6.3;
step5 = 6.1;
step6 = 6.8;
step7 = 6.2;
step8 = 5.2;
step9 = 6.6;
step10 = 5.4;
_root.essen._y = 300;
_root.essen._x = 300;
_root.keyy = 2;
_root.a1._x = 70;
_root.a1._y = 33;
_root.a2._x = 540;
_root.a2._y = 80;
_root.a3._x = 530;
_root.a3._y = 420;
_root.a4._x = 70;
_root.a4._y = 420;
_root.a5._x = 50;
_root.a5._y = 30;
_root.a6._x = 55;
_root.a6._y = 90;
_root.a7._x = 520;
_root.a7._y = 120;
_root.a8._x = 250;
_root.a8._y = 400;
_root.a9._x = 330;
_root.a9._y = 400;
_root.a10._x = 300;
_root.a10._y = 30;
Frame 11
_root.level2 = _root.level;
stop();
_root.b._x = -500;
Instance of Symbol 96 MovieClip in Frame 11
/* no clip actions */
Frame 12
pnConnector.storeScore(_root.count);
stop();
Instance of Symbol 27 MovieClip "a6" in Frame 12
onClipEvent (load) {
a = 1;
b = 1;
c = 1;
d = 1;
}
onClipEvent (enterFrame) {
if (hitTest(_root.essen)) {
_root.essen.play();
}
mh = _root.essen._x;
mv = _root.essen._y;
ran = random(6);
if (a == 1) {
if (ran == 0) {
b = 0;
c = 1;
d = 1;
if (_x < mh) {
_x = (_x + _root.step6);
}
}
}
if (b == 1) {
if (ran == 1) {
a = 0;
c = 1;
d = 1;
if (mh < _x) {
_x = (_x - _root.step6);
}
}
}
if (c == 1) {
if (ran == 2) {
a = 1;
b = 1;
d = 0;
if (_y < mv) {
_y = (_y + _root.step6);
}
}
}
if (d == 1) {
if (ran == 3) {
a = 1;
b = 1;
c = 0;
if (mv < _y) {
_y = (_y - _root.step6);
}
}
}
}
Symbol 1 MovieClip [pnFlashGames] Frame 1
#initclip 1
pnFlashGames = function () {
this.gid = _root.pn_gid;
};
pnFlashGames.prototype.getUserInfo = function () {
};
pnFlashGames.prototype.getUserInfo_Result = function () {
};
pnFlashGames.prototype.storeScore = function (score) {
varsObj = new LoadVars();
varsObj.score = score;
varsObj.func = "storeScore";
varsObj.gid = this.gid;
varsObj.type = "user";
varsObj.module = "pnFlashGames";
varsObj.parent = this;
varsObj.onLoad = this.storeScore_Result;
varsObj.sendAndLoad("index.php", varsObj, "POST");
};
pnFlashGames.prototype.storeScore_Result = function (success) {
if (this.opSuccess == "true") {
}
};
Object.registerClass("pnFlashGames", pnFlashGames);
#endinitclip
Symbol 41 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 2
_root.score--;
_root.keyy = 1;
Symbol 41 MovieClip Frame 84
Symbol 41 MovieClip Frame 85
_root.essen._y = 300;
_root.essen._x = 300;
_root.keyy = 2;
_root.a1._x = 70;
_root.a1._y = 33;
_root.a2._x = 540;
_root.a2._y = 80;
_root.a3._x = 530;
_root.a3._y = 420;
_root.a4._x = 70;
_root.a4._y = 420;
_root.a5._x = 50;
_root.a5._y = 30;
_root.a6._x = 55;
_root.a6._y = 90;
_root.a7._x = 520;
_root.a7._y = 120;
_root.a8._x = 250;
_root.a8._y = 400;
_root.a9._x = 330;
_root.a9._y = 400;
_root.a10._x = 300;
_root.a10._y = 30;
Symbol 49 Button
on (release) {
_root.music.gotoAndStop(2);
_root.b._x = -500;
_root.awaybutton = 2;
_root.speed1 = 1;
_root.speed2 = 3;
step1 = 2.2;
step2 = 0.5;
step3 = 2.5;
step4 = 1.2;
step5 = 2.2;
step6 = 1.2;
step7 = 1.2;
step8 = 1.5;
step9 = 1.2;
step10 = 1.2;
}
Symbol 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 2
play();
Symbol 64 MovieClip Frame 80
_x = ((Math.random() * 580) + 10);
_y = ((Math.random() * 380) + 40);
gotoAndStop (1);
Symbol 70 Button
on (release) {
getURL ("http://www.nospirit.com", "_blank");
}
Symbol 74 Button
on (release) {
gotoAndStop (2);
}
Symbol 76 Button
on (release) {
gotoAndStop (1);
}
Symbol 78 MovieClip Frame 1
stop();
stopAllSounds();
Symbol 78 MovieClip Frame 2
stop();
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 26
_root.a1._x = 70;
_root.a1._y = 33;
_root.a2._x = 540;
_root.a2._y = 80;
_root.a3._x = 530;
_root.a3._y = 420;
_root.a4._x = 70;
_root.a4._y = 420;
_root.a5._x = 50;
_root.a5._y = 30;
_root.a6._x = 55;
_root.a6._y = 90;
_root.a7._x = 520;
_root.a7._y = 120;
_root.a8._x = 250;
_root.a8._y = 400;
_root.a9._x = 330;
_root.a9._y = 400;
_root.a10._x = 300;
_root.a10._y = 30;
Symbol 89 Button
on (release) {
gotoAndStop (1);
_root.count = 0;
_root.level = 1;
speed = 0;
step1 = 0;
step2 = 0;
step3 = 0;
step4 = 0;
step5 = 0;
step6 = 0;
step7 = 0;
step8 = 0;
step9 = 0;
step10 = 0;
}
Symbol 96 MovieClip Frame 182
stop();
Instance of Symbol 95 MovieClip in Symbol 96 MovieClip Frame 182
onClipEvent (enterFrame) {
if (_root.level == 1) {
_root.gotoAndStop(1);
}
if (_root.level == 2) {
_root.gotoAndStop(2);
}
if (_root.level == 3) {
_root.gotoAndStop(3);
}
if (_root.level == 4) {
_root.gotoAndStop(4);
}
if (_root.level == 5) {
_root.gotoAndStop(5);
}
if (_root.level == 6) {
_root.gotoAndStop(6);
}
if (_root.level == 7) {
_root.gotoAndStop(7);
}
if (_root.level == 8) {
_root.gotoAndStop(8);
}
if (_root.level == 9) {
_root.gotoAndStop(9);
}
if (_root.level == 10) {
_root.gotoAndStop(12);
}
}