Frame 1
ifFrameLoaded (8) {
gotoAndStop (5);
}
Frame 2
gotoAndPlay (1);
Frame 5
stopp = 0;
punkte = 0;
alleweg = 0;
stop();
Instance of Symbol 12 MovieClip in Frame 5
onClipEvent (load) {
getURL ("");
}
Frame 6
if (stopp == 0) {
i = 1;
while (i < 14) {
duplicateMovieClip ("hexe", "hexe" + i, i);
i++;
}
}
stop();
Instance of Symbol 23 MovieClip "them" in Frame 6
onClipEvent (enterFrame) {
if (key.isDown(Key.LEFT)) {
_x = (_x - 5);
_root.laser._x = _x;
}
if (key.isDown(Key.RIGHT)) {
_x = (_x + 5);
_root.laser._x = _x;
}
if (key.isDown(Key.SPACE) and (_root.startlaser == 4)) {
_root.startlaser = 1;
}
if (20 >= _x) {
_x = 20;
}
if (_x >= 710) {
_x = 710;
}
if (_root.stopp != 0) {
k = 1;
while (k < 14) {
removeMovieClip("_root.hexe" + k);
k++;
}
if (k == 14) {
_root.gotoAndStop(7);
}
}
if (_root.alleweg == 14) {
_root.gotoAndStop(8);
}
}
Instance of Symbol 26 MovieClip "laser" in Frame 6
onClipEvent (load) {
fallen = 0;
_root.grenze = _root.grenzline._y;
_root.laserpos = _y;
_root.startlaser = 4;
}
onClipEvent (enterFrame) {
_root.dis = -(_root.grenze - _y);
if (_root.startlaser == 1) {
_y = _root.them._y;
_x = _root.them._x;
_root.startlaser = 2;
}
if (_root.startlaser == 2) {
_y = (_y - (_root.dis * 0.088));
}
if (7 >= _root.dis) {
_root.startlaser = 3;
}
if (_root.startlaser == 3) {
_y = (_y + (_root.dis * 0.14));
_x = _root.them._x;
}
if ((_root.laserpos < _y) and (_root.startlaser == 3)) {
_root.startlaser = 4;
_y = _root.laserpos;
}
}
Instance of Symbol 33 MovieClip "hexe" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.theline)) {
_root.stopp++;
}
if (this.hitTest(_root.laser)) {
_root.alleweg = _root.alleweg + 1;
if (vscale < 25) {
hp = 30;
}
if ((vscale < 60) and (vscale >= 25)) {
hp = 20;
}
if (vscale >= 60) {
hp = 10;
}
_root.punkte = _root.punkte + hp;
_x = -55;
treffer = 1;
_root.laser._y = _root.laserpos;
_root.startlaser = 4;
}
if (22 >= _x) {
richtung = "rechts";
}
if ((_x >= 700) and (_x < 800)) {
richtung = "links";
}
if ((richtung == "rechts") and (treffer != 1)) {
gotoAndStop (2);
_x = (_x + speedhexe);
_y = (_y + Math.random(22));
} else {
gotoAndStop (1);
_x = (_x - speedhexe);
_y = (_y + Math.random(44));
}
}
onClipEvent (load) {
_x = (10 + random(700));
_y = 10;
vscale = random(88) + 9;
speedhexe = random(8) + 2;
_yscale = vscale;
_xscale = vscale;
}
Frame 7
auswertung = ("Not bad. But one witch touched the ground. You have " add punkte) add " points.";
stop();
Frame 8
auswertung = ("Uhhhh. Great game. You killed all witches and won " add punkte) add " points.";
stop();
Symbol 5 MovieClip Frame 41
Set("../:showed", Number(../:showed) + 1);
stop();
Symbol 5 MovieClip Frame 48
Set("../:removed", Number(../:removed) + 1);
stop();
Symbol 6 MovieClip Frame 1
Text = "please be patient. the game is loading.";
i = 1;
showed = 0;
maximal = length(Text);
weite = "12";
hoehe = "14";
setProperty("sai", _visible , "0");
Symbol 6 MovieClip Frame 3
duplicateMovieClip ("sai", "sai" add i, i);
Set(("sai" add i) add "/letter:char", substring(Text, i, 1));
setProperty("sai" add i, _x , 1 + Number(i * weite));
setProperty("sai" add i, _xscale , 10 * hoehe);
setProperty("sai" add i, _yscale , 10 * hoehe);
i = Number(i) + 1;
Symbol 6 MovieClip Frame 4
if (Number(maximal) >= Number(i)) {
gotoAndPlay(_currentframe - 1);
}
Symbol 6 MovieClip Frame 5
if (Number(showed) == Number(maximal)) {
gotoAndPlay(Number(_currentframe) + 2);
}
Symbol 6 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 6 MovieClip Frame 7
i = "1";
removed = "0";
Symbol 6 MovieClip Frame 8
tellTarget ("sai" add i) {
play();
};
i = Number(i) + 1;
Symbol 6 MovieClip Frame 9
if (Number(maximal) >= Number(i)) {
gotoAndPlay(_currentframe - 1);
}
Symbol 20 Button
on (release) {
gotoAndStop (6);
}
Symbol 33 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 2
stop();
Symbol 35 Button
on (release) {
stopp = 0;
punkte = 0;
alleweg = 0;
_root.gotoAndStop(6);
}