Frame 3
stop();
Frame 5
num_fos = "5";
level_label = off;
headgravity = "20";
bottomedge = "475";
baskettop = getProperty("/hit", _y) - ("0.5" * getProperty("/hit", _height));
halfhead = getProperty("/head1", _width) / "2";
ypos = getProperty("/head1", _y);
xbounce = "1";
bounce = ".5";
score = "0";
level = "1";
Set("/:headscaught", "0");
Set("/:headsleft", "5");
x1 = getProperty("head1", _x);
x2 = getProperty("head2", _x);
x3 = getProperty("head3", _x);
x4 = getProperty("head4", _x);
x5 = getProperty("head5", _x);
Frame 6
startDrag ("/drg1", true, "50", "430", "590", "430");
stop();
Frame 8
stop();
Frame 18
stop();
Symbol 5 MovieClip Frame 33
gotoAndPlay (1);
Symbol 11 MovieClip Frame 1
stop();
Symbol 11 MovieClip Frame 10
stop();
Set("../../:color", "orange");
Symbol 11 MovieClip Frame 20
stop();
Set("../../:color", "grey");
Symbol 21 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 2
bladename = _name;
bladenum = substring(bladename, "6", "6");
Symbol 21 MovieClip Frame 12
tellTarget ("/head" add bladenum) {
gotoAndPlay ("falling");
}
Symbol 21 MovieClip Frame 33
gotoAndStop (1);
Symbol 22 MovieClip Frame 9
stop();
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 2
stop();
Symbol 30 MovieClip Frame 3
stop();
Symbol 30 MovieClip Frame 4
stop();
Symbol 30 MovieClip Frame 5
stop();
Symbol 33 Button
on (keyPress "<Space>") {
Set("/:level", /:level + "1");
}
Symbol 34 MovieClip Frame 1
play();
Symbol 34 MovieClip Frame 15
q0 = "1";
q1 = "0";
q2 = "0";
q3 = "0";
q4 = "0";
q5 = "0";
q6 = "0";
count = "1";
while ("6" >= count) {
r = "0";
while (eval ("q" add r) == "1") {
r = random("6") + "1";
}
Set("q" add r, "1");
Set("head" add count, /controller:r);
count = count + "1";
}
Symbol 34 MovieClip Frame 20
tellTarget ("/blade" add head1) {
gotoAndPlay ("start");
};
gotoAndPlay(_currentframe + (/:level * "2"));
Symbol 34 MovieClip Frame 45
tellTarget ("/blade" add head2) {
gotoAndPlay ("start");
};
gotoAndPlay(_currentframe + (/:level * "2"));
Symbol 34 MovieClip Frame 70
tellTarget ("/blade" add head3) {
gotoAndPlay ("start");
};
gotoAndPlay(_currentframe + (/:level * "2"));
Symbol 34 MovieClip Frame 95
tellTarget ("/blade" add head4) {
gotoAndPlay ("start");
};
gotoAndPlay(_currentframe + (/:level * "2"));
Symbol 34 MovieClip Frame 120
tellTarget ("/blade" add head5) {
gotoAndPlay ("start");
};
gotoAndPlay(_currentframe + (/:level * "2"));
Symbol 34 MovieClip Frame 145
tellTarget ("/blade" add head6) {
gotoAndPlay ("start");
};
play();
Symbol 34 MovieClip Frame 180
gotoAndPlay (15);
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 12
gotoAndPlay (1);
Symbol 38 MovieClip Frame 1
if (("1" < /lag:xStp) or (/lag:xStp < (-"1"))) {
tellTarget ("feetmc") {
play();
};
} else {
tellTarget ("feetmc") {
stop();
};
}
Symbol 38 MovieClip Frame 2
if (("1" < /lag:xStp) or (/lag:xStp < (-"1"))) {
tellTarget ("feetmc") {
play();
};
} else {
tellTarget ("feetmc") {
stop();
};
}
Symbol 41 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 20
Set("/:splat", /:splat + "1");
duplicateMovieClip ("/splatter", "splatter" add /:splat, /:splat);
setProperty("/splatter" add /:splat, _x , getProperty("../", _x));
play();
Symbol 41 MovieClip Frame 25
tellTarget ("../") {
gotoAndStop ("still");
};
gotoAndStop (1);
Symbol 45 MovieClip Frame 1
num = random("2") + "1";
tellTarget ("basehead") {
gotoAndStop("face" add ..:num);
};
play();
Symbol 45 MovieClip Frame 15
Set("/:falling" add ../:headnum, "0");
Symbol 45 MovieClip Frame 38
e = random("6") + "1";
eyemove = "eye" add e;
gotoAndPlay(eyemove);
Symbol 45 MovieClip Frame 138
gotoAndPlay (38);
Symbol 48 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 1
levelname = _level0:levelname;
Symbol 51 MovieClip Frame 2
gotoAndPlay (1);
Symbol 52 MovieClip Frame 29
stop();
Symbol 55 MovieClip Frame 200
gotoAndPlay (1);
Symbol 65 Button
on (release) {
gotoAndPlay (4);
}
Symbol 73 MovieClip Frame 1
if (/:headscaught == "15") {
tellTarget ("/level_label") {
gotoAndStop (2);
};
Set("/:level", "2");
Set("/:headgravity", "20");
}
if (/:headscaught == "30") {
tellTarget ("/level_label") {
gotoAndStop (3);
};
Set("/:level", "3");
Set("/:headgravity", "25");
}
if (/:headscaught == "50") {
tellTarget ("/level_label") {
gotoAndStop (4);
};
Set("/:level", "4");
Set("/:headgravity", "30");
}
if (/:headscaught == "70") {
tellTarget ("/level_label") {
gotoAndStop (5);
};
Set("/:level", "5");
Set("/:headgravity", "35");
}
if (/:headscaught == "95") {
tellTarget ("/level_label") {
gotoAndStop (6);
};
Set("/:level", "6");
Set("/:headgravity", "40");
}
if (/:headscaught == "110") {
tellTarget ("/level_label") {
gotoAndStop (7);
};
Set("/:level", "7");
Set("/:headgravity", "45");
}
if (/:headscaught == "135") {
tellTarget ("/level_label") {
gotoAndStop (8);
};
Set("/:level", "8");
Set("/:headgravity", "50");
}
if (/:headscaught == "150") {
tellTarget ("/level_label") {
gotoAndStop (9);
};
Set("/:level", "9");
Set("/:headgravity", "50");
}
if (/:headscaught == "175") {
tellTarget ("/level_label") {
gotoAndStop (10);
};
Set("/:level", "10");
Set("/:headgravity", "50");
}
if (/:headsleft == "0") {
tellTarget ("/") {
gotoAndStop ("gameover");
};
}
if (/:headsleft == "1") {
tellTarget ("/deathmeter") {
gotoAndStop (5);
};
}
if (/:headsleft == "2") {
tellTarget ("/deathmeter") {
gotoAndStop (4);
};
}
if (/:headsleft == "3") {
tellTarget ("/deathmeter") {
gotoAndStop (3);
};
}
if (/:headsleft == "4") {
tellTarget ("/deathmeter") {
gotoAndStop (2);
};
}
Symbol 73 MovieClip Frame 2
if (/:headscaught == "15") {
tellTarget ("/level_label") {
gotoAndStop (2);
};
Set("/:level", "2");
Set("/:headgravity", "20");
}
if (/:headscaught == "30") {
tellTarget ("/level_label") {
gotoAndStop (3);
};
Set("/:level", "3");
Set("/:headgravity", "25");
}
if (/:headscaught == "50") {
tellTarget ("/level_label") {
gotoAndStop (4);
};
Set("/:level", "4");
Set("/:headgravity", "30");
}
if (/:headscaught == "70") {
tellTarget ("/level_label") {
gotoAndStop (5);
};
Set("/:level", "5");
Set("/:headgravity", "35");
}
if (/:headscaught == "95") {
tellTarget ("/level_label") {
gotoAndStop (6);
};
Set("/:level", "6");
Set("/:headgravity", "40");
}
if (/:headscaught == "110") {
tellTarget ("/level_label") {
gotoAndStop (7);
};
Set("/:level", "7");
Set("/:headgravity", "45");
}
if (/:headscaught == "135") {
tellTarget ("/level_label") {
gotoAndStop (8);
};
Set("/:level", "8");
Set("/:headgravity", "50");
}
if (/:headscaught == "150") {
tellTarget ("/level_label") {
gotoAndStop (9);
};
Set("/:level", "9");
Set("/:headgravity", "50");
}
if (/:headscaught == "175") {
tellTarget ("/level_label") {
gotoAndStop (10);
};
Set("/:level", "10");
Set("/:headgravity", "50");
}
if (/:headsleft == "0") {
tellTarget ("/") {
gotoAndStop ("gameover");
};
}
if (/:headsleft == "1") {
tellTarget ("/deathmeter") {
gotoAndStop (5);
};
}
if (/:headsleft == "2") {
tellTarget ("/deathmeter") {
gotoAndStop (4);
};
}
if (/:headsleft == "3") {
tellTarget ("/deathmeter") {
gotoAndStop (3);
};
}
if (/:headsleft == "4") {
tellTarget ("/deathmeter") {
gotoAndStop (2);
};
}
Symbol 74 MovieClip Frame 1
thisX = getProperty("/drg1", _x);
spX = getProperty("/dude", _x);
difX = thisX - spX;
stepX = "1";
xStp = difX / "4";
xStpbody = difX / "6";
xStpfeet = difX / "8";
setProperty("/dude", _x , spX + xStp);
setProperty("/body", _x , spX + xStpbody);
setProperty("/hit", _x , spX + xStpbody);
setProperty("/feet", _x , spX + xStpfeet);
Symbol 74 MovieClip Frame 2
thisX = getProperty("/drg1", _x);
spX = getProperty("/dude", _x);
difX = thisX - spX;
stepX = "1";
xStp = difX / "4";
xStpbody = difX / "6";
xStpfeet = difX / "8";
setProperty("/dude", _x , spX + xStp);
setProperty("/body", _x , spX + xStpbody);
setProperty("/hit", _x , spX + xStpbody);
setProperty("/feet", _x , spX + xStpfeet);
Symbol 76 MovieClip Frame 1
headname = _name;
headnum = substring(headname, "5", "5");
_x = eval ("/:x" add headnum);
_y = /:ypos;
BallRadius = _height / "2";
halfhit = getProperty("/hit", _width) / "2";
hit = "";
hitmiddle = "";
elastic = "";
vy = "";
g = "";
tellTarget ("headlook") {
gotoAndPlay ("start");
};
stop();
Symbol 76 MovieClip Frame 4
if (color eq "orange") {
tellTarget ("headanims/basehead") {
gotoAndStop ("face1");
};
} else if (color eq "grey") {
tellTarget ("headanims/basehead") {
gotoAndStop ("face2");
};
}
g = /:headgravity;
elastic = /:bounce;
oldy = y;
x = _x;
y = _y;
vy = vy + (g / "5");
y = y + (vy / "5");
hitleft1 = ((getProperty("/hit", _x) - halfhit) - /:halfhead) + "10";
hitleft2 = ((getProperty("/hit", _x) - halfhit) + /:halfhead) + "0";
hitright1 = ((getProperty("/hit", _x) + halfhit) - /:halfhead) - "0";
hitright2 = ((getProperty("/hit", _x) + halfhit) + /:halfhead) - "10";
if ((/:baskettop - BallRadius) < y) {
if ((hitleft1 < x) and (x < hitleft2)) {
y = /:baskettop - BallRadius;
vy = -(vy * elastic);
hit = "1";
} else if ((hitright1 < x) and (x < hitright2)) {
y = /:baskettop - BallRadius;
vy = -(vy * elastic);
hit = "2";
}
if ((hitleft2 < x) and (x < hitright1)) {
hitmiddle = "1";
}
if ((/:bottomedge - BallRadius) < y) {
hit = "bottom";
}
}
_y = y;
if ((hit == "1") and (("1.7" < vy) or (vy < (-"1.7")))) {
_x = (x - /:xbounce);
} else if ((hit == "2") and (("1.7" < vy) or (vy < (-"1.7")))) {
_x = (x + /:xbounce);
}
if (hitmiddle == "1") {
Set("/:headscaught", /:headscaught + "1");
Set("/:score", /:score + "25");
gotoAndStop (1);
} else if (hit eq "bottom") {
Set("/:headsleft", /:headsleft - "1");
Set("/:score", /:score - "5");
gotoAndStop (15);
} else {
play();
}
Symbol 76 MovieClip Frame 5
if (color eq "orange") {
tellTarget ("headanims/basehead") {
gotoAndStop ("face1");
};
} else if (color eq "grey") {
tellTarget ("headanims/basehead") {
gotoAndStop ("face2");
};
}
g = /:headgravity;
elastic = /:bounce;
oldy = y;
x = _x;
y = _y;
vy = vy + (g / "5");
y = y + (vy / "5");
hitleft1 = ((getProperty("/hit", _x) - halfhit) - /:halfhead) + "10";
hitleft2 = ((getProperty("/hit", _x) - halfhit) + /:halfhead) + "0";
hitright1 = ((getProperty("/hit", _x) + halfhit) - /:halfhead) - "0";
hitright2 = ((getProperty("/hit", _x) + halfhit) + /:halfhead) - "10";
if ((/:baskettop - BallRadius) < y) {
if ((hitleft1 < x) and (x < hitleft2)) {
y = /:baskettop - BallRadius;
vy = -(vy * elastic);
hit = "1";
} else if ((hitright1 < x) and (x < hitright2)) {
y = /:baskettop - BallRadius;
vy = -(vy * elastic);
hit = "2";
}
if ((hitleft2 < x) and (x < hitright1)) {
hitmiddle = "1";
}
if ((/:bottomedge - BallRadius) < y) {
hit = "bottom";
}
}
_y = y;
if ((hit == "1") and (("1.7" < vy) or (vy < (-"1.7")))) {
_x = (x - /:xbounce);
} else if ((hit == "2") and (("1.7" < vy) or (vy < (-"1.7")))) {
_x = (x + /:xbounce);
}
if (hitmiddle == "1") {
Set("/:headscaught", /:headscaught + "1");
Set("/:score", /:score + "25");
gotoAndStop (1);
} else if (hit eq "bottom") {
Set("/:headsleft", /:headsleft - "1");
Set("/:score", /:score - "5");
gotoAndStop (15);
} else {
gotoAndPlay (4);
}
Symbol 76 MovieClip Frame 15
tellTarget ("headanims") {
gotoAndPlay ("splat");
};
stop();
Symbol 86 MovieClip Frame 1
Set("../:levelname", "LEVEL I");
tellTarget ("levelmovie") {
gotoAndPlay (1);
};
stop();
Symbol 86 MovieClip Frame 2
Set("../:levelname", "LEVEL II");
tellTarget ("levelmovie") {
gotoAndPlay (1);
};
stop();
Symbol 86 MovieClip Frame 3
Set("../:levelname", "LEVEL III");
tellTarget ("levelmovie") {
gotoAndPlay (1);
};
stop();
Symbol 86 MovieClip Frame 4
Set("../:levelname", "LEVEL IV");
tellTarget ("levelmovie") {
gotoAndPlay (1);
};
stop();
Symbol 86 MovieClip Frame 5
Set("../:levelname", "LEVEL V");
tellTarget ("levelmovie") {
gotoAndPlay (1);
};
stop();
Symbol 86 MovieClip Frame 6
Set("../:levelname", "LEVEL VI");
tellTarget ("levelmovie") {
gotoAndPlay (1);
};
stop();
Symbol 86 MovieClip Frame 7
Set("../:levelname", "LEVEL VII");
tellTarget ("levelmovie") {
gotoAndPlay (1);
};
stop();
Symbol 86 MovieClip Frame 8
Set("../:levelname", "LEVEL VIII");
tellTarget ("levelmovie") {
gotoAndPlay (1);
};
stop();
Symbol 86 MovieClip Frame 9
Set("../:levelname", "LEVEL IX");
tellTarget ("levelmovie") {
gotoAndPlay (1);
};
stop();
Symbol 86 MovieClip Frame 10
Set("../:levelname", "LEVEL X");
tellTarget ("levelmovie") {
gotoAndPlay (1);
};
stop();
Symbol 92 Button
on (release) {
getURL ("http://www.fefifo.com/subindex.htm", "_self");
}
Symbol 98 Button
on (release) {
gotoAndStop (18);
}