Frame 1
stopAllSounds();
Frame 2
with (_root.rainsound) {
play();
}
Frame 3
lightning = random(14);
ifFrameLoaded (904) {
stopAllSounds();
gotoAndPlay (37);
}
Frame 16
if (Number(lightning) == 6) {
gotoAndPlay (17);
} else if (Number(lightning) == 7) {
gotoAndPlay (21);
} else if (Number(lightning) == 8) {
gotoAndPlay (27);
} else if (Number(lightning) == 9) {
gotoAndPlay (33);
} else {
gotoAndPlay (3);
}
Frame 20
gotoAndPlay (3);
Frame 26
gotoAndPlay (3);
Frame 32
gotoAndPlay (3);
Frame 36
gotoAndPlay (3);
Frame 819
with (_root.rainsound) {
play();
}
play();
Frame 836
lightning = random(14);
Frame 849
if (Number(lightning) == 6) {
gotoAndPlay (850);
} else if (Number(lightning) == 7) {
gotoAndPlay (855);
} else if (Number(lightning) == 8) {
gotoAndPlay (863);
} else {
gotoAndPlay (836);
}
Frame 854
gotoAndPlay (836);
Frame 862
gotoAndPlay (836);
Frame 870
gotoAndPlay (836);
Frame 872
page = 1;
start_pos = 0;
end_pos = 0;
page_size = 10;
playername = "";
monstername = "";
score = 0;
body = 1;
head = 1;
i = 0;
leader_browse_str = "http://www.guerillahq.com/graverobber/board.asp?page=" add page;
Frame 873
if (Number(i) < Number(page_size)) {
i = Number(i) + 1;
Set(eval ("playername" add i), "");
Set(eval ("monstername" add i), "");
Set(eval ("score" add i), "");
Set(eval ("lastplayed" add i), "");
Set(eval ("gamesplayed" add i), "");
Set(eval ("head" add i), 1);
Set(eval ("body" add i), 1);
Set(eval ("larm" add i), 1);
Set(eval ("rarm" add i), 1);
Set(eval ("lleg" add i), 1);
Set(eval ("rleg" add i), 1);
Set(eval ("leye" add i), 1);
Set(eval ("reye" add i), 1);
} else {
gotoAndPlay (876);
}
Frame 874
gotoAndPlay (873);
Frame 876
loadVariablesNum (leader_browse_str, 0, "POST");
info = "processing page ...";
wait = getTimer();
Frame 877
wait_timer = getTimer();
if (7000 < (wait_timer - wait)) {
info = "No data connection available now, sorry. Try again later";
gotoAndPlay (892);
} else {
if (flag == 2) {
flag = 0;
info = "Someone switched off a server script";
gotoAndPlay (892);
}
if (flag == 1) {
info = "";
flag = 0;
last_page = int(rstCount / page_size) + 1;
gotoAndPlay (885);
}
}
Frame 880
gotoAndPlay (877);
Frame 885
y = 0;
range = end_pos - start_pos;
Frame 886
if (Number(range) >= Number(y)) {
y = y + 1;
with (eval ("r" add y)) {
pos = "";
playername = "";
monstername = "";
score = "";
}
} else {
gotoAndStop (892);
}
Frame 887
playername = eval ("playername" add y);
monstername = eval ("monstername" add y);
score = eval ("score" add y);
head = eval ("head" add y);
body = eval ("body" add y);
larm = eval ("larm" add y);
rarm = eval ("rarm" add y);
lleg = eval ("lleg" add y);
rleg = eval ("rleg" add y);
leye = eval ("leye" add y);
reye = eval ("reye" add y);
rank = (Number(start_pos) + y) - 1;
tellTarget ("r" add y) {
pos = _level0/:rank;
playername = _level0/:playername;
monstername = _level0/:monstername;
score = _level0/:score;
body = _level0/:body;
head = _level0/:head;
larm = _level0/:larm;
rarm = _level0/:rarm;
lleg = _level0/:lleg;
rleg = _level0/:rleg;
leye = _level0/:leye;
reye = _level0/:reye;
};
gotoAndPlay (886);
Frame 892
stop();
Frame 898
j = 0;
Frame 899
if (range >= j) {
j = j + 1;
with (eval ("r" add j)) {
pos = "";
playername = "";
monstername = "";
score = "";
}
} else {
gotoAndPlay (876);
}
Frame 900
gotoAndPlay (899);
Frame 901
scale_step = 1.5;
mid = 0;
mids = 0;
mids1 = 0;
l = 15;
angel_depth = 1;
crypt_depth = 1;
ruber_depth = 1;
sq = -1;
smq = 194;
smq1 = 194;
path_count = random(l) + 1;
path_count1 = random(l) + 1;
pi = 0;
pi1 = 0;
dig = 0;
hiddensm = 1;
hiddensm1 = 1;
coffinbusy = 0;
lives = 3;
arms = 0;
heads = 0;
bodys = 0;
legs = 0;
eyes = 0;
score = 5;
dead = 1;
starttime = getTimer();
continues = 1;
Frame 902
function digging(squ) {
dig = 0;
if (eval ("g" add squ).dug == 4) {
eval ("g" add squ).dug = eval ("g" add squ).dug + 1;
with (eval ("g" add squ)) {
gotoAndStop(eval ("g" add squ).dug);
}
prize = random(60);
if (prize < 5) {
with (eval ("p" add squ)) {
gotoAndPlay("chainsaw");
}
gotoAndPlay (913);
with (chainsawsound) {
play();
}
ctimer = getTimer();
} else if ((prize == 5) || (prize == 6)) {
with (eval ("p" add squ)) {
gotoAndPlay("life");
}
lives = lives + 1;
with (life) {
play();
}
} else if ((6 < prize) && (prize < 13)) {
with (eval ("p" add squ)) {
gotoAndPlay("leg");
}
legs = legs + 1;
score = score + 5000;
} else if ((13 < prize) && (prize < 20)) {
with (eval ("p" add squ)) {
gotoAndPlay("arm");
}
arms = arms + 1;
score = score + 5000;
} else if ((19 < prize) && (prize < 26)) {
with (eval ("p" add squ)) {
gotoAndPlay("head");
}
heads = heads + 1;
score = score + 5000;
} else if ((25 < prize) && (prize < 32)) {
with (eval ("p" add squ)) {
gotoAndPlay("body");
}
bodys = bodys + 1;
score = score + 5000;
} else if ((31 < prize) && (prize < 38)) {
with (eval ("p" add squ)) {
gotoAndPlay("watch");
}
with (ding) {
play();
}
score = score + 10000;
} else if ((37 < prize) && (prize < 44)) {
with (eval ("p" add squ)) {
gotoAndPlay("eye");
}
eyes = eyes + 1;
score = score + 5000;
} else if ((43 < prize) && (prize < 51)) {
with (eval ("p" add squ)) {
gotoAndPlay("time");
}
with (life) {
play();
}
starttime = starttime + 10000;
score = score + 5000;
} else {
with (eval ("p" add squ)) {
gotoAndPlay("ring");
}
score = score + 10000;
with (ding) {
play();
}
}
}
if (eval ("g" add squ).dug < 4) {
eval ("g" add squ).dug = eval ("g" add squ).dug + 1;
with (eval ("g" add squ)) {
gotoAndStop(eval ("g" add squ).dug);
}
}
}
Frame 903
tt = getTimer();
itime = getTimer();
stt = getTimer();
stt1 = getTimer();
qd_man._x = s0._x;
gosm = 3;
gosm1 = 3;
with (monstermash) {
play();
}
Frame 904
rr = getTimer();
if ((dead == 1) && (0 < lives)) {
dead = 23;
sq = -1;
qd_man._x = s0._x;
qd_man._y = s0._y;
qd_man._xscale = 100;
qd_man._yscale = 100;
with (_root.qd_man) {
gotoAndPlay("appear");
}
itime = getTimer();
gotoAndPlay (922);
}
if ((50 < (rr - tt)) && (sq >= 0)) {
if (mid == 1) {
if (hold_down == 1) {
sq = sq + 1;
qd_man._x = eval ("s" add sq)._x;
qd_man._y = eval ("s" add sq)._y;
}
if ((hold_down == 2) && (0 < sq)) {
sq = sq - 1;
qd_man._x = eval ("s" add sq)._x;
qd_man._y = eval ("s" add sq)._y;
}
if ((hold_down == 3) && (l < sq)) {
sq = sq - l;
qd_man._x = eval ("s" add sq)._x;
qd_man._y = eval ("s" add sq)._y;
}
if (hold_down == 4) {
sq = sq + l;
qd_man._x = eval ("s" add sq)._x;
qd_man._y = eval ("s" add sq)._y;
}
if (hold_down == 5) {
}
mid = 0;
} else {
hold_any_key = false;
if (Key.isDown(40) && (mid == 0)) {
hold_any_key = true;
if (hold_down != 1) {
hold_down = 1;
with (qd_man) {
gotoAndPlay("walkdown");
}
}
w = (sq + 1) / l;
wi = int(w);
if ((w - wi) == 0) {
} else {
x = eval ("s" add sq)._x;
y = eval ("s" add sq)._y;
d = Number(sq + 1);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
qd_man._x = mid_point_x;
qd_man._y = mid_point_y;
mid = 1;
qd_man._xscale = qd_man._xscale + scale_step;
qd_man._yscale = qd_man._yscale + scale_step;
}
}
}
if (Key.isDown(38) && (mid == 0)) {
hold_any_key = true;
if (hold_down != 2) {
hold_down = 2;
with (qd_man) {
gotoAndPlay("walkup");
}
}
if ((sq == 150) || (sq == 135)) {
sq = -1;
with (tunnel) {
gotoAndPlay("tunnel2");
}
}
w = sq / l;
wi = int(w);
if ((w - wi) == 0) {
} else {
x = eval ("s" add sq)._x;
y = eval ("s" add sq)._y;
d = Number(sq - 1);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
qd_man._x = mid_point_x;
qd_man._y = mid_point_y;
mid = 1;
qd_man._xscale = qd_man._xscale - scale_step;
qd_man._yscale = qd_man._yscale - scale_step;
}
}
}
if (Key.isDown(39) && (mid == 0)) {
hold_any_key = true;
if (hold_down != 3) {
hold_down = 3;
with (qd_man) {
gotoAndPlay("walkright");
}
}
if ((sq - l) < 0) {
if ((sq == 12) || (sq == 11)) {
sq = -1;
with (tunnel) {
gotoAndPlay("tunnel1");
}
}
} else {
x = eval ("s" add sq)._x;
y = eval ("s" add sq)._y;
d = Number(sq - l);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
qd_man._x = mid_point_x;
qd_man._y = mid_point_y;
mid = 1;
qd_man._xscale = qd_man._xscale - scale_step;
qd_man._yscale = qd_man._yscale - scale_step;
}
}
}
if (Key.isDown(37) && (mid == 0)) {
hold_any_key = true;
if (hold_down != 4) {
hold_down = 4;
with (qd_man) {
gotoAndPlay("walkleft");
}
}
if (((l * 13) - 1) < (sq + l)) {
} else {
x = eval ("s" add sq)._x;
y = eval ("s" add sq)._y;
d = Number(sq + l);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
qd_man._x = mid_point_x;
qd_man._y = mid_point_y;
mid = 1;
qd_man._xscale = qd_man._xscale + scale_step;
qd_man._yscale = qd_man._yscale + scale_step;
}
}
}
}
if (Key.isDown(32) && (mid == 0)) {
hold_any_key = true;
if (hold_down != 5) {
hold_down = 5;
with (qd_man) {
gotoAndPlay("dig");
}
}
}
if (hold_any_key == false) {
hold_down = 0;
with (qd_man) {
gotoAndStop("stop");
}
}
tt = getTimer();
}
if (dig == 1) {
digging(sq);
d2 = sq - l;
digging(d2);
}
if ((angel_depth == 0) && (angel_swap_depth.hitTest(qd_man._x, qd_man._y, true) == true)) {
qd_man.swapDepths(angel);
angel_depth = 1;
}
if ((angel_depth == 1) && (angel_swap_depth.hitTest(qd_man._x, qd_man._y, true) == false)) {
qd_man.swapDepths(angel);
angel_depth = 0;
}
if (((stapler_depth == 1) && (stapler_swap_depth.hitTest(qd_man._x, qd_man._y, true) == false)) && ((stapler_depth == 1) && (ruber_swap_depth.hitTest(qd_man._x, qd_man._y, true) == false))) {
qd_man.swapDepths(stapler);
stapler_depth = 0;
}
if ((crypt_depth == 0) && (crypt_swap_depth.hitTest(qd_man._x, qd_man._y, true) == true)) {
crypt_depth = 1;
qd_man.swapDepths(crypt);
}
if ((crypt_depth == 1) && (crypt_swap_depth.hitTest(qd_man._x, qd_man._y, true) == false)) {
qd_man.swapDepths(crypt);
crypt_depth = 0;
}
Frame 905
st = getTimer();
if ((10000 < (getTimer() - deadzombietimer)) && (hiddensm == 3)) {
hiddensm = 1;
}
if ((hiddensm == 1) && (coffinbusy == 0)) {
hiddensm = 2;
coffinbusy = 1;
_root.crypt.num = 0;
with (crypt) {
gotoAndPlay("play");
}
}
if (hiddensm == 0) {
if ((sm_man.hitTest(qd_man._x, qd_man._y - 20, true) == true) && (sq >= 0)) {
with (scream) {
play();
}
sq = -1;
with (qd_man) {
gotoAndPlay("dead");
}
}
if (path_count == 0) {
new_gosm = Number(random(4) + 1);
if (new_gosm != Number(gosm)) {
path_count = Number(random(l) + 1);
gosm = new_gosm;
pi = 0;
}
}
if (50 < (st - stt)) {
if (pi < path_count) {
if (mids == 1) {
if (gosm == 1) {
smq = smq + 1;
sm_man._x = eval ("s" add smq)._x;
sm_man._y = eval ("s" add smq)._y;
}
if (gosm == 2) {
smq = smq - 1;
sm_man._x = eval ("s" add smq)._x;
sm_man._y = eval ("s" add smq)._y;
}
if (gosm == 3) {
smq = smq - l;
sm_man._x = eval ("s" add smq)._x;
sm_man._y = eval ("s" add smq)._y;
}
if (gosm == 4) {
smq = smq + l;
sm_man._x = eval ("s" add smq)._x;
sm_man._y = eval ("s" add smq)._y;
}
mids = 0;
pi = pi + 1;
} else {
if ((gosm == 1) && (mids == 0)) {
if (busy != 1) {
busy = 1;
with (sm_man) {
gotoAndPlay("walkdown");
}
}
w = (smq + 1) / l;
wi = int(w);
if ((w - wi) == 0) {
path_count = 0;
} else {
x = eval ("s" add smq)._x;
y = eval ("s" add smq)._y;
d = Number(smq + 1);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
sm_man._x = mid_point_x;
sm_man._y = mid_point_y;
mids = 1;
sm_man._xscale = sm_man._xscale + scale_step;
sm_man._yscale = sm_man._yscale + scale_step;
} else {
path_count = 0;
}
}
}
if ((gosm == 2) && (mids == 0)) {
if (busy != 2) {
busy = 2;
with (sm_man) {
gotoAndPlay("walkup");
}
}
w = smq / l;
wi = int(w);
if ((w - wi) == 0) {
path_count = 0;
} else {
x = eval ("s" add smq)._x;
y = eval ("s" add smq)._y;
d = Number(smq - 1);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
sm_man._x = mid_point_x;
sm_man._y = mid_point_y;
mids = 1;
sm_man._xscale = sm_man._xscale - scale_step;
sm_man._yscale = sm_man._yscale - scale_step;
} else {
path_count = 0;
}
}
}
if ((gosm == 3) && (mids == 0)) {
if (busy != 3) {
busy = 3;
with (sm_man) {
gotoAndPlay("walkright");
}
}
if ((smq - l) < 0) {
path_count = 0;
} else {
x = eval ("s" add smq)._x;
y = eval ("s" add smq)._y;
d = Number(smq - l);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
sm_man._x = mid_point_x;
sm_man._y = mid_point_y;
mids = 1;
sm_man._xscale = sm_man._xscale - scale_step;
sm_man._yscale = sm_man._yscale - scale_step;
} else {
path_count = 0;
}
}
}
if ((gosm == 4) && (mids == 0)) {
if (busy != 4) {
busy = 4;
with (sm_man) {
gotoAndPlay("walkleft");
}
}
if (((l * 13) - 1) < (smq + l)) {
path_count = 0;
} else {
x = eval ("s" add smq)._x;
y = eval ("s" add smq)._y;
d = Number(smq + l);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
sm_man._x = mid_point_x;
sm_man._y = mid_point_y;
mids = 1;
sm_man._xscale = sm_man._xscale + scale_step;
sm_man._yscale = sm_man._yscale + scale_step;
} else {
path_count = 0;
}
}
}
}
} else {
path_count = 0;
}
stt = getTimer();
}
}
if (5000 < st) {
if ((10000 < (getTimer() - deadzombietimer1)) && (hiddensm1 == 3)) {
hiddensm1 = 1;
}
if ((hiddensm1 == 1) && (coffinbusy == 0)) {
hiddensm1 = 2;
coffinbusy = 1;
_root.crypt.num = 1;
with (crypt) {
gotoAndPlay("play");
}
}
if (hiddensm1 == 0) {
if ((sm_man1.hitTest(qd_man._x, qd_man._y - 20, true) == true) && (sq >= 0)) {
sq = -1;
with (qd_man) {
gotoAndPlay("dead");
}
with (scream) {
play();
}
}
if (path_count1 == 0) {
new_gosm = Number(random(4) + 1);
if (new_gosm != Number(gosm1)) {
path_count1 = Number(random(l) + 1);
gosm1 = new_gosm;
pi1 = 0;
}
}
if (50 < (st - stt1)) {
if (pi1 < path_count1) {
if (mids1 == 1) {
if (gosm1 == 1) {
smq1 = smq1 + 1;
sm_man1._x = eval ("s" add smq1)._x;
sm_man1._y = eval ("s" add smq1)._y;
}
if (gosm1 == 2) {
smq1 = smq1 - 1;
sm_man1._x = eval ("s" add smq1)._x;
sm_man1._y = eval ("s" add smq1)._y;
}
if (gosm1 == 3) {
smq1 = smq1 - l;
sm_man1._x = eval ("s" add smq1)._x;
sm_man1._y = eval ("s" add smq1)._y;
}
if (gosm1 == 4) {
smq1 = smq1 + l;
sm_man1._x = eval ("s" add smq1)._x;
sm_man1._y = eval ("s" add smq1)._y;
}
mids1 = 0;
pi1 = pi1 + 1;
} else {
if ((gosm1 == 1) && (mids1 == 0)) {
if (busy1 != 1) {
busy1 = 1;
with (sm_man1) {
gotoAndPlay("walkdown");
}
}
w = (smq1 + 1) / l;
wi = int(w);
if ((w - wi) == 0) {
path_count1 = 0;
} else {
x = eval ("s" add smq1)._x;
y = eval ("s" add smq1)._y;
d = Number(smq1 + 1);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
sm_man1._x = mid_point_x;
sm_man1._y = mid_point_y;
mids1 = 1;
sm_man1._xscale = sm_man1._xscale + scale_step;
sm_man1._yscale = sm_man1._yscale + scale_step;
} else {
path_count1 = 0;
}
}
}
if ((gosm1 == 2) && (mids1 == 0)) {
if (busy1 != 2) {
busy1 = 2;
with (sm_man1) {
gotoAndPlay("walkup");
}
}
w = smq1 / l;
wi = int(w);
if ((w - wi) == 0) {
path_count1 = 0;
} else {
x = eval ("s" add smq1)._x;
y = eval ("s" add smq1)._y;
d = Number(smq1 - 1);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
sm_man1._x = mid_point_x;
sm_man1._y = mid_point_y;
mids1 = 1;
sm_man1._xscale = sm_man1._xscale - scale_step;
sm_man1._yscale = sm_man1._yscale - scale_step;
} else {
path_count1 = 0;
}
}
}
if ((gosm1 == 3) && (mids1 == 0)) {
if (busy1 != 3) {
busy1 = 3;
with (sm_man1) {
gotoAndPlay("walkright");
}
}
if ((smq1 - l) < 0) {
path_count1 = 0;
} else {
x = eval ("s" add smq1)._x;
y = eval ("s" add smq1)._y;
d = Number(smq1 - l);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
sm_man1._x = mid_point_x;
sm_man1._y = mid_point_y;
mids1 = 1;
sm_man1._xscale = sm_man1._xscale - scale_step;
sm_man1._yscale = sm_man1._yscale - scale_step;
} else {
path_count1 = 0;
}
}
}
if ((gosm1 == 4) && (mids1 == 0)) {
if (busy1 != 4) {
busy1 = 4;
with (sm_man1) {
gotoAndPlay("walkleft");
}
}
if (((l * 13) - 1) < (smq1 + l)) {
path_count1 = 0;
} else {
x = eval ("s" add smq1)._x;
y = eval ("s" add smq1)._y;
d = Number(smq1 + l);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
sm_man1._x = mid_point_x;
sm_man1._y = mid_point_y;
mids1 = 1;
sm_man1._xscale = sm_man1._xscale + scale_step;
sm_man1._yscale = sm_man1._yscale + scale_step;
} else {
path_count1 = 0;
}
}
}
}
} else {
path_count1 = 0;
}
stt1 = getTimer();
}
}
}
eggtime = getTimer() - starttime;
with (eggtimer) {
gotoAndStop(int(eggtime / 1000));
}
if ((120000 < (getTimer() - starttime)) || (0 >= lives)) {
gotoAndPlay (930);
} else {
gotoAndPlay (904);
}
scale = qd_man._xscale;
Frame 913
rr = getTimer();
if ((50 < (rr - tt)) && (sq >= 0)) {
if (mid == 1) {
if (hold_down == 1) {
sq = sq + 1;
qd_man._x = eval ("s" add sq)._x;
qd_man._y = eval ("s" add sq)._y;
}
if (hold_down == 2) {
sq = sq - 1;
qd_man._x = eval ("s" add sq)._x;
qd_man._y = eval ("s" add sq)._y;
}
if (hold_down == 3) {
sq = sq - l;
qd_man._x = eval ("s" add sq)._x;
qd_man._y = eval ("s" add sq)._y;
}
if (hold_down == 4) {
sq = sq + l;
qd_man._x = eval ("s" add sq)._x;
qd_man._y = eval ("s" add sq)._y;
}
if (hold_down == 5) {
}
mid = 0;
} else {
hold_any_key = false;
if (Key.isDown(40) && (mid == 0)) {
hold_any_key = true;
if (hold_down != 1) {
hold_down = 1;
with (qd_man) {
gotoAndPlay("cwalkdown");
}
}
w = (sq + 1) / l;
wi = int(w);
if ((w - wi) == 0) {
} else {
x = eval ("s" add sq)._x;
y = eval ("s" add sq)._y;
d = Number(sq + 1);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
qd_man._x = mid_point_x;
qd_man._y = mid_point_y;
mid = 1;
qd_man._xscale = qd_man._xscale + scale_step;
qd_man._yscale = qd_man._yscale + scale_step;
}
}
}
if (Key.isDown(38) && (mid == 0)) {
hold_any_key = true;
if (hold_down != 2) {
hold_down = 2;
with (qd_man) {
gotoAndPlay("cwalkup");
}
}
if ((sq == 150) || (sq == 135)) {
sq = -1;
with (tunnel) {
gotoAndPlay("tunnel2");
}
}
w = sq / l;
wi = int(w);
if ((w - wi) == 0) {
} else {
x = eval ("s" add sq)._x;
y = eval ("s" add sq)._y;
d = Number(sq - 1);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
qd_man._x = mid_point_x;
qd_man._y = mid_point_y;
mid = 1;
qd_man._xscale = qd_man._xscale - scale_step;
qd_man._yscale = qd_man._yscale - scale_step;
}
}
}
if (Key.isDown(39) && (mid == 0)) {
hold_any_key = true;
if (hold_down != 3) {
hold_down = 3;
with (qd_man) {
gotoAndPlay("cwalkright");
}
}
if ((sq - l) < 0) {
if ((sq == 12) || (sq == 11)) {
sq = -1;
with (tunnel) {
gotoAndPlay("tunnel1");
}
}
} else {
x = eval ("s" add sq)._x;
y = eval ("s" add sq)._y;
d = Number(sq - l);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
qd_man._x = mid_point_x;
qd_man._y = mid_point_y;
mid = 1;
qd_man._xscale = qd_man._xscale - scale_step;
qd_man._yscale = qd_man._yscale - scale_step;
}
}
}
if (Key.isDown(37) && (mid == 0)) {
hold_any_key = true;
if (hold_down != 4) {
hold_down = 4;
with (qd_man) {
gotoAndPlay("cwalkleft");
}
}
if (((l * 13) - 1) < (sq + l)) {
} else {
x = eval ("s" add sq)._x;
y = eval ("s" add sq)._y;
d = Number(sq + l);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
qd_man._x = mid_point_x;
qd_man._y = mid_point_y;
mid = 1;
qd_man._xscale = qd_man._xscale + scale_step;
qd_man._yscale = qd_man._yscale + scale_step;
}
}
}
}
if (Key.isDown(32) && (mid == 0)) {
hold_any_key = true;
if (hold_down != 5) {
hold_down = 5;
with (qd_man) {
gotoAndPlay("dig");
}
}
}
if (hold_any_key == false) {
hold_down = 0;
with (qd_man) {
gotoAndStop("cstop");
}
}
tt = getTimer();
}
if (dig == 1) {
digging(sq);
d2 = sq - l;
digging(d2);
}
if ((angel_depth == 0) && (angel_swap_depth.hitTest(qd_man._x, qd_man._y, true) == true)) {
qd_man.swapDepths(angel);
angel_depth = 1;
}
if ((angel_depth == 1) && (angel_swap_depth.hitTest(qd_man._x, qd_man._y, true) == false)) {
qd_man.swapDepths(angel);
angel_depth = 0;
}
if (((stapler_depth == 1) && (stapler_swap_depth.hitTest(qd_man._x, qd_man._y, true) == false)) && ((stapler_depth == 1) && (ruber_swap_depth.hitTest(qd_man._x, qd_man._y, true) == false))) {
qd_man.swapDepths(stapler);
stapler_depth = 0;
}
if ((crypt_depth == 0) && (crypt_swap_depth.hitTest(qd_man._x, qd_man._y, true) == true)) {
crypt_depth = 1;
qd_man.swapDepths(crypt);
}
if ((crypt_depth == 1) && (crypt_swap_depth.hitTest(qd_man._x, qd_man._y, true) == false)) {
qd_man.swapDepths(crypt);
crypt_depth = 0;
}
Frame 914
st = getTimer();
if ((hiddensm == 1) && (coffinbusy == 0)) {
hiddensm = 2;
coffinbusy = 1;
_root.crypt.num = 0;
with (crypt) {
gotoAndPlay("play");
}
}
if ((10000 < (getTimer() - deadzombietimer)) && (hiddensm == 3)) {
hiddensm = 1;
}
if ((hiddensm == 0) && (smq >= 0)) {
if (sm_man.hitTest(qd_man._x, qd_man._y - 20, true) == true) {
with (sm_man) {
gotoAndPlay("dead");
}
with (chainsawsound) {
gotoAndPlay(2);
}
smq = -1;
hiddensm = 3;
deadzombietimer = getTimer();
score = score + 10000;
}
if (path_count == 0) {
new_gosm = Number(random(4) + 1);
if (new_gosm != Number(gosm)) {
path_count = Number(random(l) + 1);
gosm = new_gosm;
pi = 0;
}
}
if ((50 < (st - stt)) && (smq >= 0)) {
if (pi < path_count) {
if (mids == 1) {
if (gosm == 1) {
smq = smq + 1;
sm_man._x = eval ("s" add smq)._x;
sm_man._y = eval ("s" add smq)._y;
}
if (gosm == 2) {
smq = smq - 1;
sm_man._x = eval ("s" add smq)._x;
sm_man._y = eval ("s" add smq)._y;
}
if (gosm == 3) {
smq = smq - l;
sm_man._x = eval ("s" add smq)._x;
sm_man._y = eval ("s" add smq)._y;
}
if (gosm == 4) {
smq = smq + l;
sm_man._x = eval ("s" add smq)._x;
sm_man._y = eval ("s" add smq)._y;
}
mids = 0;
pi = pi + 1;
} else {
if ((gosm == 1) && (mids == 0)) {
if (busy != 1) {
busy = 1;
with (sm_man) {
gotoAndPlay("walkdown");
}
}
w = (smq + 1) / l;
wi = int(w);
if ((w - wi) == 0) {
path_count = 0;
} else {
x = eval ("s" add smq)._x;
y = eval ("s" add smq)._y;
d = Number(smq + 1);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
sm_man._x = mid_point_x;
sm_man._y = mid_point_y;
mids = 1;
sm_man._xscale = sm_man._xscale + scale_step;
sm_man._yscale = sm_man._yscale + scale_step;
} else {
path_count = 0;
}
}
}
if ((gosm == 2) && (mids == 0)) {
if (busy != 2) {
busy = 2;
with (sm_man) {
gotoAndPlay("walkup");
}
}
w = smq / l;
wi = int(w);
if ((w - wi) == 0) {
path_count = 0;
} else {
x = eval ("s" add smq)._x;
y = eval ("s" add smq)._y;
d = Number(smq - 1);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
sm_man._x = mid_point_x;
sm_man._y = mid_point_y;
mids = 1;
sm_man._xscale = sm_man._xscale - scale_step;
sm_man._yscale = sm_man._yscale - scale_step;
} else {
path_count = 0;
}
}
}
if ((gosm == 3) && (mids == 0)) {
if (busy != 3) {
busy = 3;
with (sm_man) {
gotoAndPlay("walkright");
}
}
if ((smq - l) < 0) {
path_count = 0;
} else {
x = eval ("s" add smq)._x;
y = eval ("s" add smq)._y;
d = Number(smq - l);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
sm_man._x = mid_point_x;
sm_man._y = mid_point_y;
mids = 1;
sm_man._xscale = sm_man._xscale - scale_step;
sm_man._yscale = sm_man._yscale - scale_step;
} else {
path_count = 0;
}
}
}
if ((gosm == 4) && (mids == 0)) {
if (busy != 4) {
busy = 4;
with (sm_man) {
gotoAndPlay("walkleft");
}
}
if (((l * 13) - 1) < (smq + l)) {
path_count = 0;
} else {
x = eval ("s" add smq)._x;
y = eval ("s" add smq)._y;
d = Number(smq + l);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
sm_man._x = mid_point_x;
sm_man._y = mid_point_y;
mids = 1;
sm_man._xscale = sm_man._xscale + scale_step;
sm_man._yscale = sm_man._yscale + scale_step;
} else {
path_count = 0;
}
}
}
}
} else {
path_count = 0;
}
stt = getTimer();
}
}
if ((5000 < st) && (smq1 >= 0)) {
if ((hiddensm1 == 1) && (coffinbusy == 0)) {
hiddensm1 = 2;
coffinbusy = 1;
_root.crypt.num = 1;
with (crypt) {
gotoAndPlay("play");
}
}
if ((hiddensm1 == 3) && (10000 < (getTimer() - deadzombietimer1))) {
hiddensm1 = 1;
}
if ((hiddensm1 == 0) && (smq1 >= 0)) {
if (sm_man1.hitTest(qd_man._x, qd_man._y - 20, true) == true) {
with (sm_man1) {
gotoAndPlay("dead");
}
with (chainsawsound) {
gotoAndPlay(2);
}
smq1 = -1;
hiddensm1 = 3;
deadzombietimer1 = getTimer();
score = score + 10000;
}
if (path_count1 == 0) {
new_gosm = Number(random(4) + 1);
if (new_gosm != Number(gosm1)) {
path_count1 = Number(random(l) + 1);
gosm1 = new_gosm;
pi1 = 0;
}
}
if ((50 < (st - stt1)) && (smq1 >= 0)) {
if (pi1 < path_count1) {
if (mids1 == 1) {
if (gosm1 == 1) {
smq1 = smq1 + 1;
sm_man1._x = eval ("s" add smq1)._x;
sm_man1._y = eval ("s" add smq1)._y;
}
if (gosm1 == 2) {
smq1 = smq1 - 1;
sm_man1._x = eval ("s" add smq1)._x;
sm_man1._y = eval ("s" add smq1)._y;
}
if (gosm1 == 3) {
smq1 = smq1 - l;
sm_man1._x = eval ("s" add smq1)._x;
sm_man1._y = eval ("s" add smq1)._y;
}
if (gosm1 == 4) {
smq1 = smq1 + l;
sm_man1._x = eval ("s" add smq1)._x;
sm_man1._y = eval ("s" add smq1)._y;
}
mids1 = 0;
pi1 = pi1 + 1;
} else {
if ((gosm1 == 1) && (mids1 == 0)) {
if (busy1 != 1) {
busy1 = 1;
with (sm_man1) {
gotoAndPlay("walkdown");
}
}
w = (smq1 + 1) / l;
wi = int(w);
if ((w - wi) == 0) {
path_count1 = 0;
} else {
x = eval ("s" add smq1)._x;
y = eval ("s" add smq1)._y;
d = Number(smq1 + 1);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
sm_man1._x = mid_point_x;
sm_man1._y = mid_point_y;
mids1 = 1;
sm_man1._xscale = sm_man1._xscale + scale_step;
sm_man1._yscale = sm_man1._yscale + scale_step;
} else {
path_count1 = 0;
}
}
}
if ((gosm1 == 2) && (mids1 == 0)) {
if (busy1 != 2) {
busy1 = 2;
with (sm_man1) {
gotoAndPlay("walkup");
}
}
w = smq1 / l;
wi = int(w);
if ((w - wi) == 0) {
path_count1 = 0;
} else {
x = eval ("s" add smq1)._x;
y = eval ("s" add smq1)._y;
d = Number(smq1 - 1);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
sm_man1._x = mid_point_x;
sm_man1._y = mid_point_y;
mids1 = 1;
sm_man1._xscale = sm_man1._xscale - scale_step;
sm_man1._yscale = sm_man1._yscale - scale_step;
} else {
path_count1 = 0;
}
}
}
if ((gosm1 == 3) && (mids1 == 0)) {
if (busy1 != 3) {
busy1 = 3;
with (sm_man1) {
gotoAndPlay("walkright");
}
}
if ((smq1 - l) < 0) {
path_count1 = 0;
} else {
x = eval ("s" add smq1)._x;
y = eval ("s" add smq1)._y;
d = Number(smq1 - l);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
sm_man1._x = mid_point_x;
sm_man1._y = mid_point_y;
mids1 = 1;
sm_man1._xscale = sm_man1._xscale - scale_step;
sm_man1._yscale = sm_man1._yscale - scale_step;
} else {
path_count1 = 0;
}
}
}
if ((gosm1 == 4) && (mids1 == 0)) {
if (busy1 != 4) {
busy1 = 4;
with (sm_man1) {
gotoAndPlay("walkleft");
}
}
if (((l * 13) - 1) < (smq1 + l)) {
path_count1 = 0;
} else {
x = eval ("s" add smq1)._x;
y = eval ("s" add smq1)._y;
d = Number(smq1 + l);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
sm_man1._x = mid_point_x;
sm_man1._y = mid_point_y;
mids1 = 1;
sm_man1._xscale = sm_man1._xscale + scale_step;
sm_man1._yscale = sm_man1._yscale + scale_step;
} else {
path_count1 = 0;
}
}
}
}
} else {
path_count1 = 0;
}
stt1 = getTimer();
}
}
}
scale = qd_man._xscale;
if (10000 < (getTimer() - ctimer)) {
gotoAndPlay (904);
} else {
gotoAndPlay (913);
}
eggtime = getTimer() - starttime;
with (eggtimer) {
gotoAndStop(int(eggtime / 1000));
}
Frame 922
rr = getTimer();
if ((dead == 1) && (0 < lives)) {
dead = 23;
qd_man._x = s0._x;
qd_man._y = s0._y;
qd_man._xscale = 100;
qd_man._yscale = 100;
with (_root.qd_man) {
gotoAndPlay("appear");
}
}
if ((50 < (rr - tt)) && (sq >= 0)) {
if (mid == 1) {
if (hold_down == 1) {
sq = sq + 1;
qd_man._x = eval ("s" add sq)._x;
qd_man._y = eval ("s" add sq)._y;
}
if ((hold_down == 2) && (0 < sq)) {
sq = sq - 1;
qd_man._x = eval ("s" add sq)._x;
qd_man._y = eval ("s" add sq)._y;
}
if ((hold_down == 3) && (l < sq)) {
sq = sq - l;
qd_man._x = eval ("s" add sq)._x;
qd_man._y = eval ("s" add sq)._y;
}
if (hold_down == 4) {
sq = sq + l;
qd_man._x = eval ("s" add sq)._x;
qd_man._y = eval ("s" add sq)._y;
}
if (hold_down == 5) {
}
mid = 0;
} else {
hold_any_key = false;
if (Key.isDown(40) && (mid == 0)) {
hold_any_key = true;
if (hold_down != 1) {
hold_down = 1;
with (qd_man) {
gotoAndPlay("walkdown");
}
}
w = (sq + 1) / l;
wi = int(w);
if ((w - wi) == 0) {
} else {
x = eval ("s" add sq)._x;
y = eval ("s" add sq)._y;
d = Number(sq + 1);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
qd_man._x = mid_point_x;
qd_man._y = mid_point_y;
mid = 1;
qd_man._xscale = qd_man._xscale + scale_step;
qd_man._yscale = qd_man._yscale + scale_step;
}
}
}
if (Key.isDown(38) && (mid == 0)) {
hold_any_key = true;
if (hold_down != 2) {
hold_down = 2;
with (qd_man) {
gotoAndPlay("walkup");
}
}
if ((sq == 150) || (sq == 135)) {
sq = -1;
with (tunnel) {
gotoAndPlay("tunnel2");
}
}
w = sq / l;
wi = int(w);
if ((w - wi) == 0) {
} else {
x = eval ("s" add sq)._x;
y = eval ("s" add sq)._y;
d = Number(sq - 1);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
qd_man._x = mid_point_x;
qd_man._y = mid_point_y;
mid = 1;
qd_man._xscale = qd_man._xscale - scale_step;
qd_man._yscale = qd_man._yscale - scale_step;
}
}
}
if (Key.isDown(39) && (mid == 0)) {
hold_any_key = true;
if (hold_down != 3) {
hold_down = 3;
with (qd_man) {
gotoAndPlay("walkright");
}
}
if ((sq - l) < 0) {
if ((sq == 12) || (sq == 11)) {
sq = -1;
with (tunnel) {
gotoAndPlay("tunnel1");
}
}
} else {
x = eval ("s" add sq)._x;
y = eval ("s" add sq)._y;
d = Number(sq - l);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
qd_man._x = mid_point_x;
qd_man._y = mid_point_y;
mid = 1;
qd_man._xscale = qd_man._xscale - scale_step;
qd_man._yscale = qd_man._yscale - scale_step;
}
}
}
if (Key.isDown(37) && (mid == 0)) {
hold_any_key = true;
if (hold_down != 4) {
hold_down = 4;
with (qd_man) {
gotoAndPlay("walkleft");
}
}
if (((l * 13) - 1) < (sq + l)) {
} else {
x = eval ("s" add sq)._x;
y = eval ("s" add sq)._y;
d = Number(sq + l);
x1 = eval ("s" add d)._x;
if (0 < x1) {
y1 = eval ("s" add d)._y;
mid_point_x = int((x1 + x) / 2);
mid_point_y = int((y1 + y) / 2);
qd_man._x = mid_point_x;
qd_man._y = mid_point_y;
mid = 1;
qd_man._xscale = qd_man._xscale + scale_step;
qd_man._yscale = qd_man._yscale + scale_step;
}
}
}
}
if (Key.isDown(32) && (mid == 0)) {
hold_any_key = true;
if (hold_down != 5) {
hold_down = 5;
with (qd_man) {
gotoAndPlay("dig");
}
}
}
if (hold_any_key == false) {
hold_down = 0;
with (qd_man) {
gotoAndStop("stop");
}
}
tt = getTimer();
}
if (dig == 1) {
digging(sq);
d2 = sq - l;
digging(d2);
}
if ((angel_depth == 0) && (angel_swap_depth.hitTest(qd_man._x, qd_man._y, true) == true)) {
qd_man.swapDepths(angel);
angel_depth = 1;
}
if ((angel_depth == 1) && (angel_swap_depth.hitTest(qd_man._x, qd_man._y, true) == false)) {
qd_man.swapDepths(angel);
angel_depth = 0;
}
if (((stapler_depth == 1) && (stapler_swap_depth.hitTest(qd_man._x, qd_man._y, true) == false)) && ((stapler_depth == 1) && (ruber_swap_depth.hitTest(qd_man._x, qd_man._y, true) == false))) {
qd_man.swapDepths(stapler);
stapler_depth = 0;
}
if ((crypt_depth == 0) && (crypt_swap_depth.hitTest(qd_man._x, qd_man._y, true) == true)) {
crypt_depth = 1;
qd_man.swapDepths(crypt);
}
if ((crypt_depth == 1) && (crypt_swap_depth.hitTest(qd_man._x, qd_man._y, true) == false)) {
qd_man.swapDepths(crypt);
crypt_depth = 0;
}
setProperty("qd_man", _alpha , 70);
Frame 923
eggtime = getTimer() - starttime;
with (eggtimer) {
gotoAndStop(int(eggtime / 1000));
}
if (3000 < (getTimer() - itime)) {
setProperty("qd_man", _alpha , 100);
gotoAndPlay (904);
} else {
gotoAndPlay (922);
}
Frame 1039
if (((((heads >= 1) && (eyes >= 2)) && (bodys >= 1)) && (arms >= 2)) && (legs >= 2)) {
gotoAndPlay (1042);
stopAllSounds();
} else {
stopAllSounds();
if (continues == 1) {
gotoAndStop (1041);
continues = 0;
} else {
gotoAndStop (1040);
}
}
Frame 1040
stop();
Frame 1041
stop();
Frame 1042
leyeN = 1;
reyeN = 1;
bodyN = 1;
headN = 1;
larmN = 1;
rarmN = 1;
llegN = 1;
rlegN = 1;
leye = 0;
reye = 0;
lleg = 0;
rleg = 0;
larm = 0;
rarm = 0;
headt = 0;
bodyt = 0;
if (8 < eyes) {
eyes = 8;
}
if (8 < heads) {
heads = 8;
}
if (8 < bodys) {
bodys = 8;
}
if (8 < arms) {
arms = 8;
}
if (8 < legs) {
legs = 8;
}
var eyesA = new Array();
var headA = new Array();
var bodyA = new Array();
var armsA = new Array();
var legsA = new Array();
x = 0;
while (x < 8) {
eyesA[x] = 0;
headA[x] = 0;
bodyA[x] = 0;
armsA[x] = 0;
legsA[x] = 0;
x++;
}
x = 0;
while (x < eyes) {
number = random(8);
while (eyesA[number] != 0) {
number = random(8);
}
eyesA[number] = 1;
x++;
}
x = 0;
while (x < heads) {
number = random(8);
while (headA[number] != 0) {
number = random(8);
}
headA[number] = 1;
x++;
}
x = 0;
while (x < bodys) {
number = random(8);
while (bodyA[number] != 0) {
number = random(8);
}
bodyA[number] = 1;
x++;
}
x = 0;
while (x < arms) {
number = random(8);
while (armsA[number] != 0) {
number = random(8);
}
armsA[number] = 1;
x++;
}
x = 0;
while (x < legs) {
number = random(8);
while (legsA[number] != 0) {
number = random(8);
}
legsA[number] = 1;
x++;
}
Frame 1043
stop();
Frame 1162
gotoAndPlay (1163);
Frame 1163
with (_root.lboardbody) {
gotoAndStop(bodyN);
}
with (_root.lboardhead) {
gotoAndStop(headN);
}
with (_root.lboardlarm) {
gotoAndStop(larmN);
}
with (_root.lboardrarm) {
gotoAndStop(rarmN);
}
with (_root.lboardlleg) {
gotoAndStop(llegN);
}
with (_root.lboardrleg) {
gotoAndStop(rlegN);
}
with (_root.lboardhead.lboardleye) {
gotoAndStop(leyeN);
}
with (_root.lboardhead.lboardreye) {
gotoAndStop(reyeN);
}
score = score;
stop();
submit_info = "Enter details below to set your postition on the leaderboard.";
Frame 1164
email = "";
username = "";
bridename = "";
email = "";
Frame 1165
stop();
Frame 1167
t = int(getTimer() / 1000);
gotoAndPlay (1168);
Frame 1168
if (Number(confirm) == 1) {
gotoAndPlay (1179);
} else if (Number(confirm) == 2) {
confirm = "";
gotoAndPlay (1176);
}
Frame 1171
c = int(getTimer() / 1000);
if (9 < Number(c - t)) {
gotoAndPlay (1178);
} else {
gotoAndPlay (1168);
}
Frame 1176
submit_info = "Submit failure. Try again.";
gotoAndStop (1165);
Frame 1178
submit_info = "Connection time out. Try again";
gotoAndStop (1165);
Frame 1179
submit_info = "Submit OK";
Frame 1187
gotoAndPlay (872);
Symbol 13 MovieClip Frame 1
stop();
Symbol 25 Button
on (release) {
gotoAndPlay (819);
}
Symbol 28 Button
on (rollOver) {
gotoAndPlay (1);
}
Symbol 29 Button
on (rollOver) {
gotoAndStop (1);
}
Symbol 30 Button
on (rollOver) {
gotoAndStop (1);
}
Symbol 31 Button
on (rollOver) {
gotoAndStop (1);
}
Symbol 32 Button
on (rollOver) {
gotoAndPlay (1);
}
Symbol 33 Button
on (rollOver) {
gotoAndStop (1);
}
Symbol 34 MovieClip Frame 1
stop();
Symbol 77 Button
on (release) {
getURL ("http://www.guerillahq.com");
}
Symbol 78 Button
on (release) {
ifFrameLoaded (922) {
stopAllSounds();
gotoAndPlay (901);
}
}
Symbol 79 Button
on (release) {
stopAllSounds();
gotoAndPlay (37);
}
Symbol 81 Button
on (release) {
gotoAndStop (871);
}
Symbol 82 Button
on (release) {
gotoAndPlay (872);
}
Symbol 101 MovieClip Frame 1
stop();
dug = 1;
Symbol 101 MovieClip Frame 2
stop();
_root.score = _root.score + 100;
Symbol 101 MovieClip Frame 3
stop();
_root.score = _root.score + 100;
Symbol 101 MovieClip Frame 4
stop();
_root.score = _root.score + 100;
Symbol 101 MovieClip Frame 5
play();
_root.score = _root.score + 100;
Symbol 143 Button
on (release) {
gotoAndPlay (836);
}
Symbol 157 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 2
stop();
Symbol 157 MovieClip Frame 3
stop();
Symbol 157 MovieClip Frame 4
stop();
Symbol 157 MovieClip Frame 5
stop();
Symbol 157 MovieClip Frame 6
stop();
Symbol 157 MovieClip Frame 7
stop();
Symbol 157 MovieClip Frame 8
stop();
Symbol 157 MovieClip Frame 9
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 2
stop();
Symbol 166 MovieClip Frame 3
stop();
Symbol 166 MovieClip Frame 4
stop();
Symbol 166 MovieClip Frame 5
stop();
Symbol 166 MovieClip Frame 6
stop();
Symbol 166 MovieClip Frame 7
stop();
Symbol 166 MovieClip Frame 8
stop();
Symbol 166 MovieClip Frame 9
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 2
stop();
Symbol 175 MovieClip Frame 3
stop();
Symbol 175 MovieClip Frame 4
stop();
Symbol 175 MovieClip Frame 5
stop();
Symbol 175 MovieClip Frame 6
stop();
Symbol 175 MovieClip Frame 7
stop();
Symbol 175 MovieClip Frame 8
stop();
Symbol 175 MovieClip Frame 9
stop();
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 2
stop();
Symbol 185 MovieClip Frame 3
stop();
Symbol 185 MovieClip Frame 4
stop();
Symbol 185 MovieClip Frame 5
stop();
Symbol 185 MovieClip Frame 6
stop();
Symbol 185 MovieClip Frame 7
stop();
Symbol 185 MovieClip Frame 8
stop();
Symbol 185 MovieClip Frame 9
stop();
Symbol 200 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 2
stop();
Symbol 200 MovieClip Frame 3
stop();
Symbol 200 MovieClip Frame 4
stop();
Symbol 200 MovieClip Frame 5
stop();
Symbol 200 MovieClip Frame 6
stop();
Symbol 200 MovieClip Frame 7
stop();
Symbol 200 MovieClip Frame 8
stop();
Symbol 200 MovieClip Frame 9
stop();
Symbol 209 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 2
stop();
Symbol 209 MovieClip Frame 3
stop();
Symbol 209 MovieClip Frame 4
stop();
Symbol 209 MovieClip Frame 5
stop();
Symbol 209 MovieClip Frame 6
stop();
Symbol 209 MovieClip Frame 7
stop();
Symbol 209 MovieClip Frame 8
stop();
Symbol 209 MovieClip Frame 9
stop();
Symbol 218 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 2
stop();
Symbol 218 MovieClip Frame 3
stop();
Symbol 218 MovieClip Frame 4
stop();
Symbol 218 MovieClip Frame 5
stop();
Symbol 218 MovieClip Frame 6
stop();
Symbol 218 MovieClip Frame 7
stop();
Symbol 218 MovieClip Frame 8
stop();
Symbol 218 MovieClip Frame 9
stop();
Symbol 227 Button
on (release) {
stopAllSounds();
gotoAndPlay (819);
}
Symbol 241 Button
on (release) {
with (_root.lboardbody) {
gotoAndStop(body);
}
with (_root.lboardhead) {
gotoAndStop(head);
}
with (_root.lboardlarm) {
gotoAndStop(larm);
}
with (_root.lboardrarm) {
gotoAndStop(rarm);
}
with (_root.lboardlleg) {
gotoAndStop(lleg);
}
with (_root.lboardrleg) {
gotoAndStop(rleg);
}
with (_root.lboardhead.lboardleye) {
gotoAndStop(leye);
}
with (_root.lboardhead.lboardreye) {
gotoAndStop(reye);
}
}
Symbol 256 Button
on (release) {
if (strPrev != -1) {
page = Number(page) - 1;
leader_browse_str = "http://www.guerillahq.com/graverobber/board.asp?page=" add page;
gotoAndPlay (898);
}
}
Symbol 257 Button
on (release) {
if (strNext != -1) {
page = Number(page) + 1;
leader_browse_str = "http://www.guerillahq.com/graverobber/board.asp?page=" add page;
gotoAndPlay (898);
}
}
Symbol 258 Button
on (release) {
page = Number(last_page);
leader_browse_str = "http://www.guerillahq.com/graverobber/board.asp?page=" add page;
gotoAndPlay (898);
}
Symbol 259 Button
on (release) {
leader_browse_str = "http://www.guerillahq.com/graverobber/board.asp?page=1";
gotoAndPlay (898);
}
Symbol 262 MovieClip Frame 1
stop();
dug = 1;
Symbol 262 MovieClip Frame 2
stop();
_root.score = _root.score + 100;
Symbol 262 MovieClip Frame 3
stop();
_root.score = _root.score + 100;
Symbol 262 MovieClip Frame 4
stop();
_root.score = _root.score + 100;
Symbol 262 MovieClip Frame 5
play();
_root.score = _root.score + 100;
Symbol 274 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 4
_root.qd_man._x = -100;
_root.qd_man._y = -100;
with (_root.qd_man) {
gotoAndStop("stop");
}
Symbol 274 MovieClip Frame 45
gotoAndStop (1);
_root.sq = 150;
_root.qd_man._x = _root.s150._x;
_root.qd_man._y = _root.s150._y;
_root.qd_man._xscale = 100 + (_root.scale_step * 10);
_root.qd_man._yscale = 100 + (_root.scale_step * 10);
Symbol 274 MovieClip Frame 46
_root.qd_man._x = -100;
_root.qd_man._y = -100;
with (_root.qd_man) {
gotoAndStop("stop");
}
Symbol 274 MovieClip Frame 81
gotoAndStop (1);
_root.sq = 12;
_root.qd_man._x = _root.s12._x;
_root.qd_man._y = _root.s12._y;
_root.qd_man._xscale = 100 + (_root.scale_step * 12);
_root.qd_man._yscale = 100 + (_root.scale_step * 12);
Symbol 285 MovieClip Frame 12
gotoAndPlay (1);
Symbol 285 MovieClip Frame 24
gotoAndPlay (1);
Symbol 285 MovieClip Frame 36
gotoAndPlay (25);
Symbol 285 MovieClip Frame 48
gotoAndPlay (37);
Symbol 285 MovieClip Frame 62
stop();
Symbol 306 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 7
_root.sq = 0;
Symbol 306 MovieClip Frame 8
smudged = false;
busy = false;
stop();
Symbol 306 MovieClip Frame 9
busy = true;
Symbol 306 MovieClip Frame 20
gotoAndPlay (9);
Symbol 306 MovieClip Frame 21
busy = true;
Symbol 306 MovieClip Frame 32
gotoAndPlay (21);
Symbol 306 MovieClip Frame 33
busy = true;
Symbol 306 MovieClip Frame 44
gotoAndPlay (33);
Symbol 306 MovieClip Frame 45
busy = true;
Symbol 306 MovieClip Frame 56
gotoAndPlay (45);
Symbol 306 MovieClip Frame 63
_root.dig = 1;
Symbol 306 MovieClip Frame 70
gotoAndPlay (57);
Symbol 306 MovieClip Frame 71
busy = true;
Symbol 306 MovieClip Frame 82
gotoAndPlay (71);
Symbol 306 MovieClip Frame 83
busy = true;
Symbol 306 MovieClip Frame 94
gotoAndPlay (83);
Symbol 306 MovieClip Frame 95
busy = true;
Symbol 306 MovieClip Frame 106
gotoAndPlay (95);
Symbol 306 MovieClip Frame 107
busy = true;
Symbol 306 MovieClip Frame 118
gotoAndPlay (107);
Symbol 306 MovieClip Frame 119
smudged = false;
busy = false;
Symbol 306 MovieClip Frame 135
_root.qd_man._y = -100;
_root.qd_man._x = -100;
_root.lives = _root.lives - 1;
_root.dead = 1;
Symbol 310 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 33
if (num == 0) {
_root.hiddensm = 0;
_root.smq = 81;
_root.sm_man._x = _root.s81._x;
_root.sm_man._y = _root.s81._y;
_root.sm_man._xscale = 100 + (_root.scale_step * 11);
_root.sm_man._yscale = 100 + (_root.scale_step * 11);
with (_root.sm_man) {
gotoAndPlay(1);
}
}
if (num == 1) {
_root.hiddensm1 = 0;
_root.smq1 = 81;
_root.sm_man1._x = _root.s81._x;
_root.sm_man1._y = _root.s81._y;
_root.sm_man1._xscale = 100 + (_root.scale_step * 11);
_root.sm_man1._yscale = 100 + (_root.scale_step * 11);
with (_root.sm_man1) {
gotoAndPlay(1);
}
}
_root.coffinbusy = 0;
Symbol 359 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 22
gotoAndStop (1);
Symbol 359 MovieClip Frame 44
gotoAndStop (1);
Symbol 359 MovieClip Frame 66
gotoAndStop (1);
Symbol 359 MovieClip Frame 88
gotoAndStop (1);
Symbol 359 MovieClip Frame 110
gotoAndStop (1);
Symbol 359 MovieClip Frame 132
gotoAndStop (1);
Symbol 359 MovieClip Frame 153
gotoAndStop (1);
Symbol 359 MovieClip Frame 174
gotoAndStop (1);
Symbol 359 MovieClip Frame 197
gotoAndStop (1);
Symbol 359 MovieClip Frame 220
gotoAndStop (1);
Symbol 380 MovieClip Frame 1
stop();
Symbol 385 Button
on (release) {
gotoAndPlay (819);
}
Symbol 388 Button
on (release) {
scale_step = 1.5;
mid = 0;
mids = 0;
mids1 = 0;
l = 15;
angel_depth = 1;
crypt_depth = 1;
ruber_depth = 1;
sq = -1;
smq = 194;
smq1 = 194;
path_count = random(l) + 1;
path_count1 = random(l) + 1;
pi = 0;
pi1 = 0;
dig = 0;
hiddensm = 1;
hiddensm1 = 1;
coffinbusy = 0;
lives = 3;
score = 0;
dead = 1;
starttime = getTimer();
gotoAndPlay (903);
}
Symbol 395 Button
on (release) {
if ((((((((0 < reye) && (0 < leye)) && (0 < rarm)) && (0 < larm)) && (0 < headt)) && (0 < bodyt)) && (0 < rleg)) && (0 < lleg)) {
gotoAndPlay (1046);
}
}
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 2
stop();
Symbol 407 MovieClip Frame 3
stop();
Symbol 407 MovieClip Frame 4
stop();
Symbol 407 MovieClip Frame 5
stop();
Symbol 407 MovieClip Frame 6
stop();
Symbol 407 MovieClip Frame 7
stop();
Symbol 407 MovieClip Frame 8
stop();
Symbol 407 MovieClip Frame 9
stop();
Symbol 417 MovieClip Frame 1
stop();
Symbol 417 MovieClip Frame 2
stop();
Symbol 417 MovieClip Frame 3
stop();
Symbol 417 MovieClip Frame 4
stop();
Symbol 417 MovieClip Frame 5
stop();
Symbol 417 MovieClip Frame 6
stop();
Symbol 417 MovieClip Frame 7
stop();
Symbol 417 MovieClip Frame 8
stop();
Symbol 417 MovieClip Frame 9
stop();
Symbol 422 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 2
stop();
Symbol 422 MovieClip Frame 3
stop();
Symbol 422 MovieClip Frame 4
stop();
Symbol 422 MovieClip Frame 5
stop();
Symbol 422 MovieClip Frame 6
stop();
Symbol 422 MovieClip Frame 7
stop();
Symbol 422 MovieClip Frame 8
stop();
Symbol 422 MovieClip Frame 9
stop();
Symbol 433 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 2
stop();
Symbol 433 MovieClip Frame 3
stop();
Symbol 433 MovieClip Frame 4
stop();
Symbol 433 MovieClip Frame 5
stop();
Symbol 433 MovieClip Frame 6
stop();
Symbol 433 MovieClip Frame 7
stop();
Symbol 433 MovieClip Frame 8
stop();
Symbol 433 MovieClip Frame 9
stop();
Symbol 442 MovieClip Frame 1
stop();
Symbol 442 MovieClip Frame 2
stop();
Symbol 442 MovieClip Frame 3
stop();
Symbol 442 MovieClip Frame 4
stop();
Symbol 442 MovieClip Frame 5
stop();
Symbol 442 MovieClip Frame 6
stop();
Symbol 442 MovieClip Frame 7
stop();
Symbol 442 MovieClip Frame 8
stop();
Symbol 442 MovieClip Frame 9
stop();
Symbol 452 MovieClip Frame 1
stop();
Symbol 452 MovieClip Frame 2
stop();
Symbol 452 MovieClip Frame 3
stop();
Symbol 452 MovieClip Frame 4
stop();
Symbol 452 MovieClip Frame 5
stop();
Symbol 452 MovieClip Frame 6
stop();
Symbol 452 MovieClip Frame 7
stop();
Symbol 452 MovieClip Frame 8
stop();
Symbol 452 MovieClip Frame 9
stop();
Symbol 462 MovieClip Frame 1
stop();
Symbol 462 MovieClip Frame 2
stop();
Symbol 462 MovieClip Frame 3
stop();
Symbol 462 MovieClip Frame 4
stop();
Symbol 462 MovieClip Frame 5
stop();
Symbol 462 MovieClip Frame 6
stop();
Symbol 462 MovieClip Frame 7
stop();
Symbol 462 MovieClip Frame 8
stop();
Symbol 462 MovieClip Frame 9
stop();
Symbol 471 MovieClip Frame 1
stop();
Symbol 471 MovieClip Frame 2
stop();
Symbol 471 MovieClip Frame 3
stop();
Symbol 471 MovieClip Frame 4
stop();
Symbol 471 MovieClip Frame 5
stop();
Symbol 471 MovieClip Frame 6
stop();
Symbol 471 MovieClip Frame 7
stop();
Symbol 471 MovieClip Frame 8
stop();
Symbol 471 MovieClip Frame 9
stop();
Symbol 476 Button
on (release) {
x = reyeN - 3;
while ((x >= 0) && (eyesA[x] != 1)) {
x = x - 1;
}
if (x >= 0) {
eyesA[reyeN - 2] = 1;
eyesA[x] = 2;
reyeN = x + 2;
reye = reye - 1;
with (righteye) {
gotoAndStop(reyeN);
}
}
}
Symbol 480 Button
on (release) {
x = reyeN - 1;
while ((9 >= x) && (eyesA[x] != 1)) {
x = x + 1;
}
if (x < 9) {
eyesA[reyeN - 2] = 1;
eyesA[x] = 2;
reyeN = x + 2;
reye = reye + 1;
with (righteye) {
gotoAndStop(reyeN);
}
}
}
Symbol 484 Button
on (release) {
x = leyeN - 3;
while ((x >= 0) && (eyesA[x] != 1)) {
x = x - 1;
}
if (x >= 0) {
eyesA[leyeN - 2] = 1;
eyesA[x] = 2;
leyeN = x + 2;
leye = leye - 1;
with (lefteye) {
gotoAndStop(leyeN);
}
}
}
Symbol 485 Button
on (release) {
x = leyeN - 1;
while ((9 >= x) && (eyesA[x] != 1)) {
x = x + 1;
}
if (x < 9) {
eyesA[leyeN - 2] = 1;
eyesA[x] = 2;
leyeN = x + 2;
leye = leye + 1;
with (lefteye) {
gotoAndStop(leyeN);
}
}
}
Symbol 488 Button
on (release) {
x = bodyN - 3;
while ((x >= 0) && (bodyA[x] != 1)) {
x = x - 1;
}
if (x >= 0) {
bodyA[bodyN - 2] = 1;
bodyA[x] = 2;
bodyN = x + 2;
bodyt = bodyt - 1;
with (body) {
gotoAndStop(bodyN);
}
}
}
Symbol 489 Button
on (release) {
x = bodyN - 1;
while ((9 >= x) && (bodyA[x] != 1)) {
x = x + 1;
}
if (x < 9) {
bodyA[bodyN - 2] = 1;
bodyA[x] = 2;
bodyN = x + 2;
bodyt = bodyt + 1;
with (body) {
gotoAndStop(bodyN);
}
}
}
Symbol 492 Button
on (release) {
x = rarmN - 3;
while ((x >= 0) && (armsA[x] != 1)) {
x = x - 1;
}
if (x >= 0) {
armsA[rarmN - 2] = 1;
armsA[x] = 2;
rarmN = x + 2;
rarm = rarm - 1;
with (rightarm) {
gotoAndStop(rarmN);
}
}
}
Symbol 493 Button
on (release) {
x = rarmN - 1;
while ((9 >= x) && (armsA[x] != 1)) {
x = x + 1;
}
if (x < 9) {
armsA[rarmN - 2] = 1;
armsA[x] = 2;
rarmN = x + 2;
rarm = rarm + 1;
with (rightarm) {
gotoAndStop(rarmN);
}
}
}
Symbol 496 Button
on (release) {
x = larmN - 3;
while ((x >= 0) && (armsA[x] != 1)) {
x = x - 1;
}
if (x >= 0) {
armsA[larmN - 2] = 1;
armsA[x] = 2;
larmN = x + 2;
larm = larm - 1;
with (leftarm) {
gotoAndStop(larmN);
}
}
}
Symbol 497 Button
on (release) {
x = larmN - 1;
while ((9 >= x) && (armsA[x] != 1)) {
x = x + 1;
}
if (x < 9) {
armsA[larmN - 2] = 1;
armsA[x] = 2;
larmN = x + 2;
larm = larm + 1;
with (leftarm) {
gotoAndStop(larmN);
}
}
}
Symbol 500 Button
on (release) {
x = rlegN - 3;
while ((x >= 0) && (legsA[x] != 1)) {
x = x - 1;
}
if (x >= 0) {
legsA[rlegN - 2] = 1;
legsA[x] = 2;
rlegN = x + 2;
rleg = rleg - 1;
with (rightleg) {
gotoAndStop(rlegN);
}
}
}
Symbol 501 Button
on (release) {
x = rlegN - 1;
while ((9 >= x) && (legsA[x] != 1)) {
x = x + 1;
}
if (x < 9) {
legsA[rlegN - 2] = 1;
legsA[x] = 2;
rlegN = x + 2;
rleg = rleg + 1;
with (rightleg) {
gotoAndStop(rlegN);
}
}
}
Symbol 504 Button
on (release) {
x = llegN - 3;
while ((x >= 0) && (legsA[x] != 1)) {
x = x - 1;
}
if (x >= 0) {
legsA[llegN - 2] = 1;
legsA[x] = 2;
llegN = x + 2;
lleg = lleg - 1;
with (leftleg) {
gotoAndStop(llegN);
}
}
}
Symbol 505 Button
on (release) {
x = llegN - 1;
while ((9 >= x) && (legsA[x] != 1)) {
x = x + 1;
}
if (x < 9) {
legsA[llegN - 2] = 1;
legsA[x] = 2;
llegN = x + 2;
lleg = lleg + 1;
with (leftleg) {
gotoAndStop(llegN);
}
}
}
Symbol 508 Button
on (release) {
x = headN - 3;
while ((x >= 0) && (headA[x] != 1)) {
x = x - 1;
}
if (x >= 0) {
headA[headN - 2] = 1;
headA[x] = 2;
headN = x + 2;
headt = headt - 1;
with (head) {
gotoAndStop(headN);
}
}
}
Symbol 509 Button
on (release) {
x = headN - 1;
while ((9 >= x) && (headA[x] != 1)) {
x = x + 1;
}
if (x < 9) {
headA[headN - 2] = 1;
headA[x] = 2;
headN = x + 2;
headt = headt + 1;
with (head) {
gotoAndStop(headN);
}
}
}
Symbol 558 Button
on (release) {
if (Number(length(username)) == 0) {
submit_info = "Enter your name";
} else if (Number(length(bridename)) == 0) {
submit_info = "Enter your monster bride name";
} else if ((email.indexOf("@") == -1) || (length(email) == 0)) {
submit_info = "Enter your valid email address";
} else {
submit_info = "Processing...";
loadVariables ("http://www.guerillahq.com/graverobber/addPlayer.asp", "", "POST");
gotoAndPlay (1167);
}
}