Frame 1
ifFrameLoaded (6) {
gotoAndPlay (6);
setProperty("/loo", _visible , "0");
}
Frame 4
gotoAndPlay (1);
Frame 6
ifFrameLoaded (1000) {
gotoAndStop (27);
}
Frame 8
gotoAndPlay (6);
Frame 27
tellTarget ("/f") {
gotoAndStop (1);
}
Frame 30
setProperty("/map", _xscale , "100");
setProperty("/map", _yscale , "100");
stop();
Set("/:killed", "0");
Set("/:exp", "0");
Frame 41
stop();
Frame 59
stop();
Set("/:total", (/:life + /:time) + /:exp);
Set("/:xname", /:name);
Symbol 14 Button
on (press) {
getURL ("http://flashgamestudio.com", "_blank");
}
Symbol 38 Button
on (press) {
gotoAndStop (27);
}
Symbol 41 Button
on (press) {
gotoAndStop (23);
}
Symbol 49 Button
on (press) {
gotoAndStop (19);
}
Symbol 73 MovieClip Frame 5
stop();
Symbol 77 MovieClip Frame 7
stop();
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 2
stop();
Symbol 80 MovieClip Frame 3
stop();
Symbol 87 Button
on (press) {
gotoAndStop (19);
}
Symbol 90 Button
on (press, keyPress "<Space>") {
play();
tellTarget ("/f") {
gotoAndStop (2);
}
}
on (rollOver) {
tellTarget ("/f") {
gotoAndStop (3);
}
}
on (rollOut, release) {
tellTarget ("/f") {
gotoAndStop (1);
}
}
Symbol 92 MovieClip Frame 1
man_h = getProperty("/map/p", _height) / "2";
man_w = getProperty("/map/p", _width);
wall_h = _height / "2";
wall_w = _width / "2";
man_x1 = getProperty("/map/p", _x) - man_w;
man_x2 = getProperty("/map/p", _x) + man_w;
man_y1 = getProperty("/map/p", _y) - man_h;
man_y2 = getProperty("/map/p", _y) + man_h;
wall_x1 = (_x - wall_w) - "30";
wall_x2 = (_x + wall_w) + "30";
wall_y1 = _y - wall_h;
wall_y2 = _y + wall_h;
if ((((wall_x1 < man_x2) and (man_x1 < wall_x2)) and (wall_y1 < man_y2)) and (man_y1 < wall_y2)) {
if (man_x1 < wall_x1) {
setProperty("/map/p", _x , wall_x1 - "15");
} else if (wall_x2 < man_x2) {
setProperty("/map/p", _x , wall_x2 + "15");
} else if (man_y1 < wall_y1) {
setProperty("/map/p", _y , wall_y1 - "12");
if (wall_y1 < (man_y2 - "14")) {
Set("/:jump", "0");
}
} else if (wall_y2 < man_y2) {
setProperty("/map/p", _y , wall_y2 + "12");
tellTarget ("/map/man") {
gotoAndStop ("dstill");
tellTarget ("/grav") {
play();
};
}
}
}
Symbol 92 MovieClip Frame 2
gotoAndPlay (1);
Symbol 94 MovieClip Frame 1
man_h = getProperty("/map/man", _height) / "10";
man_w = getProperty("/map/man", _width);
wall_h = _height / "2.5";
wall_w = _width / "2";
man_x1 = getProperty("/map/man", _x) - man_w;
man_x2 = getProperty("/map/man", _x) + man_w;
man_y1 = getProperty("/map/man", _y) - man_h;
man_y2 = getProperty("/map/man", _y) + man_h;
wall_x1 = (_x - wall_w) - "30";
wall_x2 = (_x + wall_w) + "30";
wall_y1 = _y - wall_h;
wall_y2 = _y + wall_h;
if ((((wall_x1 < man_x2) and (man_x1 < wall_x2)) and (wall_y1 < man_y2)) and (man_y1 < wall_y2)) {
tellTarget ("/") {
gotoAndStop ("death");
};
}
Symbol 94 MovieClip Frame 2
gotoAndPlay (1);
Symbol 95 MovieClip Frame 1
radius1 = _width / "2";
radius2 = getProperty("/map/b", _width);
obj1_x = _x;
obj2_x = getProperty("/map/b", _x);
delta_x = obj1_x - obj2_x;
obj1_y = _y;
obj2_y = getProperty("/map/b", _y);
delta_y = obj1_y - obj2_y;
if (((radius1 + radius2) * (radius1 + radius2)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
Set("/:exp", /:exp + "10");
gotoAndPlay (7);
}
Symbol 95 MovieClip Frame 2
gotoAndPlay (1);
Symbol 95 MovieClip Frame 7
setProperty("/map/black", _visible , "1");
Symbol 95 MovieClip Frame 8
setProperty("/map/black", _visible , "0");
Symbol 95 MovieClip Frame 13
_y = (-"3000");
_x = (-"3000");
Symbol 105 MovieClip Frame 16
stop();
Symbol 119 MovieClip Frame 1
g = random("6");
if (/:adelay == "1") {
if (distance < "2500") {
if (g == "6") {
gotoAndPlay (8);
}
}
}
xdif = int(getProperty("/map/p", _x) - _x);
ydif = int(getProperty("/map/p", _y) - _y);
if (xdif < "0") {
xdif = xdif * (-"1");
}
if (ydif < "0") {
ydif = ydif * (-"1");
}
x2 = xdif * xdif;
y2 = ydif * ydif;
c2 = x2 + y2;
Symbol 119 MovieClip Frame 2
n = "1";
counter = "0";
while (counter < iterations) {
n = n - (((n * n) - c2) / ("2" * n));
counter = counter + "1";
}
distance = int(n) + "1";
Symbol 119 MovieClip Frame 7
gotoAndPlay (1);
Symbol 119 MovieClip Frame 8
xdif = int(getProperty("/map/p", _x) - _x);
ydif = int(getProperty("/map/p", _y) - _y);
if (xdif < "0") {
xdif = xdif * (-"1");
}
if (ydif < "0") {
ydif = ydif * (-"1");
}
x2 = xdif * xdif;
y2 = ydif * ydif;
c2 = x2 + y2;
Symbol 119 MovieClip Frame 9
man_h = getProperty("/map/p", _height) / "2";
man_w = getProperty("/map/man", _width) / "2";
wall_h = _height / "2";
wall_w = _width / "2";
man_x1 = getProperty("/map/man", _x) - man_w;
man_x2 = getProperty("/map/man", _x) + man_w;
man_y1 = getProperty("/map/man", _y) - man_h;
man_y2 = getProperty("/map/man", _y) + man_h;
wall_x1 = _x - wall_w;
wall_x2 = _x + wall_w;
wall_y1 = _y - wall_h;
wall_y2 = _y + wall_h;
act = random("5") + "1";
if ("3000" < distance) {
gotoAndPlay("a" add act);
}
if (distance < "3000") {
if ((wall_x1 + "80") < man_x1) {
gotoAndPlay (47);
} else if (man_x2 < (wall_x2 - "80")) {
gotoAndPlay (59);
} else {
gotoAndPlay (64);
}
}
n = "1";
counter = "0";
while (counter < iterations) {
n = n - (((n * n) - c2) / ("2" * n));
counter = counter + "1";
}
distance = int(n) + "1";
Symbol 119 MovieClip Frame 11
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 119 MovieClip Frame 12
thisX = getProperty("/map/man", _y);
spX = _y;
difX = thisX - spX;
xStp = difX / "20";
_y = (spX + xStp);
Symbol 119 MovieClip Frame 13
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 119 MovieClip Frame 14
thisX = getProperty("/map/man", _y);
spX = _y;
difX = thisX - spX;
xStp = difX / "20";
_y = (spX + xStp);
Symbol 119 MovieClip Frame 16
gotoAndPlay (8);
Symbol 119 MovieClip Frame 18
g = random("3");
if (g == "1") {
_x = ((_x + random("30")) + "10");
}
if (g == "2") {
_x = (_x - (random("10") + "10"));
}
Symbol 119 MovieClip Frame 20
g = random("3");
if (g == "1") {
_x = ((_x + random("30")) + "10");
}
if (g == "2") {
_x = (_x - (random("10") + "10"));
}
Symbol 119 MovieClip Frame 21
gotoAndPlay (8);
Symbol 119 MovieClip Frame 23
gotoAndPlay (8);
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 119 MovieClip Frame 24
thisX = getProperty("/map/man", _y);
spX = _y;
difX = thisX - spX;
xStp = difX / "20";
_y = (spX + xStp);
Symbol 119 MovieClip Frame 25
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 119 MovieClip Frame 26
thisX = getProperty("/map/man", _y);
spX = _y;
difX = thisX - spX;
xStp = difX / "20";
_y = (spX + xStp);
Symbol 119 MovieClip Frame 27
gotoAndPlay (8);
Symbol 119 MovieClip Frame 29
gotoAndPlay (8);
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 119 MovieClip Frame 30
thisX = getProperty("/map/man", _y);
spX = _y;
difX = thisX - spX;
xStp = difX / "20";
_y = (spX + xStp);
Symbol 119 MovieClip Frame 31
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 119 MovieClip Frame 32
thisX = getProperty("/map/man", _y);
spX = _y;
difX = thisX - spX;
xStp = difX / "20";
_y = (spX + xStp);
Symbol 119 MovieClip Frame 33
gotoAndPlay (8);
Symbol 119 MovieClip Frame 35
gotoAndPlay (8);
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 119 MovieClip Frame 36
thisX = getProperty("/map/man", _y);
spX = _y;
difX = thisX - spX;
xStp = difX / "20";
_y = (spX + xStp);
Symbol 119 MovieClip Frame 37
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 119 MovieClip Frame 38
thisX = getProperty("/map/man", _y);
spX = _y;
difX = thisX - spX;
xStp = difX / "20";
_y = (spX + xStp);
Symbol 119 MovieClip Frame 39
gotoAndPlay (8);
Symbol 119 MovieClip Frame 41
g = random("3");
if (g == "1") {
_x = ((_x + random("30")) + "10");
}
if (g == "2") {
_x = (_x - (random("10") + "10"));
}
tellTarget ("s1") {
gotoAndPlay (2);
}
Symbol 119 MovieClip Frame 43
g = random("3");
if (g == "1") {
_x = ((_x + random("30")) + "10");
}
if (g == "2") {
_x = (_x - (random("10") + "10"));
}
Symbol 119 MovieClip Frame 46
gotoAndPlay (8);
Symbol 119 MovieClip Frame 47
setProperty("/map/mb", _x , _x + "40");
setProperty("/map/mb", _y , _y + "10");
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
tellTarget ("s1") {
gotoAndPlay (2);
}
Symbol 119 MovieClip Frame 48
thisX = getProperty("/map/man", _y);
spX = _y;
difX = thisX - spX;
xStp = difX / "20";
_y = (spX + xStp);
Symbol 119 MovieClip Frame 49
setProperty("/map/mb", _x , -"2000");
setProperty("/map/mb", _y , -"2000");
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 119 MovieClip Frame 50
thisX = getProperty("/map/man", _y);
spX = _y;
difX = thisX - spX;
xStp = difX / "20";
_y = (spX + xStp);
Symbol 119 MovieClip Frame 52
gotoAndPlay (8);
Symbol 119 MovieClip Frame 53
g = random("3");
if (g == "1") {
_x = ((_x + random("30")) + "10");
}
if (g == "2") {
_x = (_x - (random("10") + "10"));
}
tellTarget ("s1") {
gotoAndPlay (2);
}
Symbol 119 MovieClip Frame 55
g = random("3");
if (g == "1") {
_x = ((_x + random("30")) + "10");
}
if (g == "2") {
_x = (_x - (random("10") + "10"));
}
Symbol 119 MovieClip Frame 58
gotoAndPlay (8);
Symbol 119 MovieClip Frame 59
setProperty("/map/mb", _x , _x - "40");
setProperty("/map/mb", _y , _y + "10");
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
tellTarget ("s1") {
gotoAndPlay (2);
}
Symbol 119 MovieClip Frame 60
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 119 MovieClip Frame 61
setProperty("/map/mb", _x , -"2000");
setProperty("/map/mb", _y , -"2000");
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 119 MovieClip Frame 63
gotoAndPlay (8);
Symbol 119 MovieClip Frame 64
g = random("3");
if (g == "1") {
_x = ((_x + random("30")) + "10");
}
if (g == "2") {
_x = (_x - (random("10") + "10"));
}
Symbol 119 MovieClip Frame 66
g = random("3");
if (g == "1") {
_x = ((_x + random("30")) + "10");
}
if (g == "2") {
_x = (_x - (random("10") + "10"));
}
Symbol 119 MovieClip Frame 71
gotoAndPlay (8);
Symbol 119 MovieClip Frame 74
gotoAndPlay (8);
Symbol 119 MovieClip Frame 75
setProperty("/map/mb", _x , -"2000");
setProperty("/map/mb", _y , -"2000");
setProperty("/map/b", _x , -"2000");
setProperty("/map/b", _y , -"2000");
if (hit < "1") {
gotoAndPlay (79);
dead = "1";
}
setProperty("/map/red", _visible , "1");
Symbol 119 MovieClip Frame 76
setProperty("/map/red", _visible , "0");
Symbol 119 MovieClip Frame 78
gotoAndPlay (8);
Symbol 119 MovieClip Frame 79
setProperty("/map/mb", _x , -"2000");
setProperty("/map/mb", _y , -"2000");
setProperty("/map/red", _visible , "1");
Symbol 119 MovieClip Frame 80
setProperty("/map/red", _visible , "0");
Symbol 119 MovieClip Frame 96
stop();
Set("/:killed", /:killed + "1");
if (/:killed == "20") {
tellTarget ("/") {
gotoAndStop ("win");
};
loadVariablesNum ("http://www.sess.net/gamezone/digininja.txt", "0");
}
if ("17" < /:killed) {
loadVariablesNum ("http://www.sess.net/gamezone/digininja.txt", "0");
}
Symbol 124 MovieClip Frame 16
stop();
Symbol 129 MovieClip Frame 1
g = random("6");
if (/:adelay == "1") {
if (distance < "2000") {
if (g == "6") {
gotoAndPlay (8);
}
}
}
xdif = int(getProperty("/map/p", _x) - _x);
ydif = int(getProperty("/map/p", _y) - _y);
if (xdif < "0") {
xdif = xdif * (-"1");
}
if (ydif < "0") {
ydif = ydif * (-"1");
}
x2 = xdif * xdif;
y2 = ydif * ydif;
c2 = x2 + y2;
Symbol 129 MovieClip Frame 2
n = "1";
counter = "0";
while (counter < iterations) {
n = n - (((n * n) - c2) / ("2" * n));
counter = counter + "1";
}
distance = int(n) + "1";
Symbol 129 MovieClip Frame 7
gotoAndPlay (1);
Symbol 129 MovieClip Frame 8
xdif = int(getProperty("/map/p", _x) - _x);
ydif = int(getProperty("/map/p", _y) - _y);
if (xdif < "0") {
xdif = xdif * (-"1");
}
if (ydif < "0") {
ydif = ydif * (-"1");
}
x2 = xdif * xdif;
y2 = ydif * ydif;
c2 = x2 + y2;
Symbol 129 MovieClip Frame 9
man_h = getProperty("/map/p", _height) / "2";
man_w = getProperty("/map/man", _width) / "2";
wall_h = _height / "2";
wall_w = _width / "2";
man_x1 = getProperty("/map/man", _x) - man_w;
man_x2 = getProperty("/map/man", _x) + man_w;
man_y1 = getProperty("/map/man", _y) - man_h;
man_y2 = getProperty("/map/man", _y) + man_h;
wall_x1 = _x - wall_w;
wall_x2 = _x + wall_w;
wall_y1 = _y - wall_h;
wall_y2 = _y + wall_h;
if ("3000" < distance) {
gotoAndPlay("a" add act);
}
act = random("5") + "1";
if (distance < "3000") {
if ((((wall_x2 - "30") < man_x1) and (wall_y1 < (man_y1 - "20"))) and (man_y2 < (man_y2 + "20"))) {
gotoAndPlay (49);
} else if (((man_x2 < wall_x1) and (wall_y1 < (man_y1 - "10"))) and (man_y2 < (man_y2 + "10"))) {
gotoAndPlay (65);
} else if (((wall_y2 < (man_y1 + "10")) and (wall_x1 < (man_x1 - "5"))) and (man_x2 < (man_x2 + "5"))) {
gotoAndPlay (57);
} else if (((man_y2 < (wall_y1 + "10")) and (wall_x1 < (man_x1 - "10"))) and (man_x2 < (man_x2 + "10"))) {
gotoAndPlay (41);
} else {
gotoAndPlay (72);
}
}
n = "1";
counter = "0";
while (counter < iterations) {
n = n - (((n * n) - c2) / ("2" * n));
counter = counter + "1";
}
distance = int(n) + "1";
Symbol 129 MovieClip Frame 11
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 129 MovieClip Frame 12
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 129 MovieClip Frame 13
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 129 MovieClip Frame 14
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 129 MovieClip Frame 16
gotoAndPlay (8);
Symbol 129 MovieClip Frame 18
g = random("3");
if (g == "1") {
_x = (_x + random("20"));
}
if (g == "2") {
_x = (_x - random("20"));
}
Symbol 129 MovieClip Frame 20
g = random("3");
if (g == "1") {
_x = (_x + random("20"));
}
if (g == "2") {
_x = (_x - random("20"));
}
Symbol 129 MovieClip Frame 21
gotoAndPlay (8);
Symbol 129 MovieClip Frame 23
gotoAndPlay (8);
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 129 MovieClip Frame 24
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 129 MovieClip Frame 25
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 129 MovieClip Frame 26
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 129 MovieClip Frame 27
gotoAndPlay (8);
Symbol 129 MovieClip Frame 29
gotoAndPlay (8);
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 129 MovieClip Frame 30
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 129 MovieClip Frame 31
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 129 MovieClip Frame 32
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 129 MovieClip Frame 33
gotoAndPlay (8);
Symbol 129 MovieClip Frame 35
gotoAndPlay (8);
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 129 MovieClip Frame 36
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 129 MovieClip Frame 37
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 129 MovieClip Frame 38
thisX = getProperty("/map/man", _x);
spX = _x;
difX = thisX - spX;
xStp = difX / "20";
_x = (spX + xStp);
Symbol 129 MovieClip Frame 39
gotoAndPlay (8);
Symbol 129 MovieClip Frame 41
setProperty("/map/mb", _x , -"2000");
setProperty("/map/mb", _y , -"2000");
g = random("3");
if (g == "1") {
_x = (_x + random("20"));
}
if (g == "2") {
_x = (_x - random("20"));
}
tellTarget ("s1") {
gotoAndPlay (2);
}
Symbol 129 MovieClip Frame 43
g = random("3");
if (g == "1") {
_x = (_x + random("20"));
}
if (g == "2") {
_x = (_x - random("20"));
}
Symbol 129 MovieClip Frame 44
setProperty("/map/mb", _y , _y + "40");
setProperty("/map/mb", _x , _x);
Symbol 129 MovieClip Frame 45
setProperty("/map/mb", _y , _y + "40");
setProperty("/map/mb", _x , _x + "10");
Symbol 129 MovieClip Frame 46
setProperty("/map/mb", _y , _y + "40");
setProperty("/map/mb", _x , _x - "10");
Symbol 129 MovieClip Frame 47
setProperty("/map/mb", _x , -"2000");
setProperty("/map/mb", _y , -"2000");
Symbol 129 MovieClip Frame 48
gotoAndPlay (8);
Symbol 129 MovieClip Frame 49
setProperty("/map/mb", _x , -"2000");
setProperty("/map/mb", _y , -"2000");
g = random("3");
if (g == "1") {
_x = (_x + random("20"));
}
if (g == "2") {
_x = (_x - random("20"));
}
tellTarget ("s1") {
gotoAndPlay (2);
}
Symbol 129 MovieClip Frame 51
g = random("3");
if (g == "1") {
_x = (_x + random("20"));
}
if (g == "2") {
_x = (_x - random("20"));
}
Symbol 129 MovieClip Frame 52
setProperty("/map/mb", _y , _y + "40");
setProperty("/map/mb", _x , _x);
Symbol 129 MovieClip Frame 53
setProperty("/map/mb", _y , _y + "40");
setProperty("/map/mb", _x , _x + "10");
Symbol 129 MovieClip Frame 54
setProperty("/map/mb", _y , _y + "40");
setProperty("/map/mb", _x , _x - "10");
Symbol 129 MovieClip Frame 55
setProperty("/map/mb", _x , -"2000");
setProperty("/map/mb", _y , -"2000");
Symbol 129 MovieClip Frame 56
gotoAndPlay (8);
Symbol 129 MovieClip Frame 57
setProperty("/map/mb", _x , -"2000");
setProperty("/map/mb", _y , -"2000");
g = random("3");
if (g == "1") {
_x = (_x + random("20"));
}
if (g == "2") {
_x = (_x - random("20"));
}
tellTarget ("s1") {
gotoAndPlay (2);
}
Symbol 129 MovieClip Frame 59
g = random("3");
if (g == "1") {
_x = (_x + random("20"));
}
if (g == "2") {
_x = (_x - random("20"));
}
Symbol 129 MovieClip Frame 60
setProperty("/map/mb", _y , _y + "40");
setProperty("/map/mb", _x , _x);
Symbol 129 MovieClip Frame 61
setProperty("/map/mb", _y , _y + "40");
setProperty("/map/mb", _x , _x + "10");
Symbol 129 MovieClip Frame 62
setProperty("/map/mb", _y , _y + "40");
setProperty("/map/mb", _x , _x - "10");
Symbol 129 MovieClip Frame 63
setProperty("/map/mb", _x , -"2000");
setProperty("/map/mb", _y , -"2000");
Symbol 129 MovieClip Frame 64
gotoAndPlay (8);
Symbol 129 MovieClip Frame 65
setProperty("/map/mb", _x , -"2000");
setProperty("/map/mb", _y , -"2000");
g = random("3");
if (g == "1") {
_x = (_x + random("20"));
}
if (g == "2") {
_x = (_x - random("20"));
}
tellTarget ("s1") {
gotoAndPlay (2);
}
Symbol 129 MovieClip Frame 67
g = random("3");
if (g == "1") {
_x = (_x + random("20"));
}
if (g == "2") {
_x = (_x - random("20"));
}
Symbol 129 MovieClip Frame 68
setProperty("/map/mb", _y , _y + "40");
setProperty("/map/mb", _x , _x);
Symbol 129 MovieClip Frame 69
setProperty("/map/mb", _y , _y + "40");
setProperty("/map/mb", _x , _x + "10");
Symbol 129 MovieClip Frame 70
setProperty("/map/mb", _y , _y + "40");
setProperty("/map/mb", _x , _x - "10");
Symbol 129 MovieClip Frame 71
setProperty("/map/mb", _x , -"2000");
setProperty("/map/mb", _y , -"2000");
gotoAndPlay (8);
Symbol 129 MovieClip Frame 72
g = random("3");
if (g == "1") {
_x = (_x + random("20"));
}
if (g == "2") {
_x = (_x - random("20"));
}
Symbol 129 MovieClip Frame 74
setProperty("/map/mb", _x , -"2000");
setProperty("/map/mb", _y , -"2000");
g = random("3");
if (g == "1") {
_x = (_x + random("20"));
}
if (g == "2") {
_x = (_x - random("20"));
}
Symbol 129 MovieClip Frame 75
setProperty("/map/mb", _y , _y + "40");
setProperty("/map/mb", _x , _x);
Symbol 129 MovieClip Frame 76
setProperty("/map/mb", _y , _y + "40");
setProperty("/map/mb", _x , _x + "10");
Symbol 129 MovieClip Frame 77
setProperty("/map/mb", _y , _y + "40");
setProperty("/map/mb", _x , _x - "10");
Symbol 129 MovieClip Frame 78
setProperty("/map/mb", _x , -"2000");
setProperty("/map/mb", _y , -"2000");
Symbol 129 MovieClip Frame 79
gotoAndPlay (8);
Symbol 129 MovieClip Frame 82
gotoAndPlay (8);
Symbol 129 MovieClip Frame 83
setProperty("/map/mb", _x , -"2000");
setProperty("/map/mb", _y , -"2000");
if (hit < "1") {
gotoAndPlay (87);
dead = "1";
}
setProperty("/map/red", _visible , "1");
Symbol 129 MovieClip Frame 84
setProperty("/map/red", _visible , "0");
Symbol 129 MovieClip Frame 86
gotoAndPlay (8);
Symbol 129 MovieClip Frame 87
setProperty("/map/mb", _x , -"2000");
setProperty("/map/mb", _y , -"2000");
setProperty("/map/red", _visible , "1");
Symbol 129 MovieClip Frame 88
setProperty("/map/red", _visible , "0");
Symbol 129 MovieClip Frame 89
setProperty("/map/red", _visible , "1");
Symbol 129 MovieClip Frame 90
setProperty("/map/red", _visible , "0");
Symbol 129 MovieClip Frame 91
setProperty("/map/red", _visible , "1");
Symbol 129 MovieClip Frame 92
setProperty("/map/red", _visible , "0");
Symbol 129 MovieClip Frame 93
setProperty("/map/red", _visible , "1");
Symbol 129 MovieClip Frame 94
setProperty("/map/red", _visible , "0");
Symbol 129 MovieClip Frame 95
setProperty("/map/red", _visible , "1");
Symbol 129 MovieClip Frame 96
setProperty("/map/red", _visible , "0");
Symbol 129 MovieClip Frame 97
setProperty("/map/red", _visible , "1");
Symbol 129 MovieClip Frame 98
setProperty("/map/red", _visible , "0");
Symbol 129 MovieClip Frame 99
setProperty("/map/red", _visible , "1");
Symbol 129 MovieClip Frame 100
setProperty("/map/red", _visible , "0");
Symbol 129 MovieClip Frame 101
stop();
Set("/:killed", /:killed + "1");
if (/:killed == "20") {
tellTarget ("/") {
gotoAndStop ("win");
};
}
if ("18" < /:killed) {
loadVariablesNum ("http://www.sess.net/gamezone/digininja.txt", "0");
}
Symbol 133 MovieClip Frame 1
radius1 = _width / "4";
radius2 = getProperty("/map/man", _width) / "3";
obj1_x = _x;
obj2_x = getProperty("/map/man", _x);
delta_x = obj1_x - obj2_x;
obj1_y = _y;
obj2_y = getProperty("/map/man", _y);
delta_y = obj1_y - obj2_y;
if (((radius1 + radius2) * (radius1 + radius2)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
if (obj1_x < obj2_x) {
setProperty("/map/p", _x , obj2_x + "50");
tellTarget ("/map/man") {
gotoAndPlay ("hit");
};
Set("/:life", /:life - (random("5") + "2"));
}
if (obj2_x < obj1_x) {
setProperty("/map/p", _x , obj2_x - "50");
tellTarget ("/map/man") {
gotoAndPlay ("hit");
};
Set("/:life", /:life - (random("5") + "2"));
}
}
Symbol 133 MovieClip Frame 4
gotoAndPlay (1);
Symbol 136 Button
on (keyPress "<Right>") {
setProperty("/map/b", _x , -"2000");
setProperty("/map/b", _y , -"2000");
Set("/:adelay", "0");
tellTarget ("/map/man") {
gotoAndPlay ("rwalk");
};
Set("/:face", "2");
}
on (keyPress "<Down>") {
setProperty("/map/b", _x , -"2000");
setProperty("/map/b", _y , -"2000");
Set("/:adelay", "0");
if (/:face == "2") {
tellTarget ("/map/man") {
gotoAndStop ("rwalk");
};
}
if (/:face == "4") {
tellTarget ("/map/man") {
gotoAndStop ("lwalk");
};
}
}
on (keyPress "<Left>") {
setProperty("/map/b", _x , -"2000");
setProperty("/map/b", _y , -"2000");
Set("/:adelay", "0");
tellTarget ("/map/man") {
gotoAndPlay ("lwalk");
};
Set("/:face", "4");
}
on (keyPress "<Up>") {
if (/:face == "2") {
if (/:jump == "0") {
tellTarget ("/map/man") {
gotoAndPlay ("jumpr");
};
}
}
if (/:face == "4") {
if (/:jump == "0") {
tellTarget ("/map/man") {
gotoAndPlay ("jumpl");
};
}
}
if (/:face == "3") {
if (/:jump == "0") {
tellTarget ("/map/man") {
gotoAndPlay ("jumpu");
};
}
}
setProperty("/map/b", _x , -"2000");
setProperty("/map/b", _y , -"2000");
Set("/:adelay", "0");
}
on (press, keyPress "<Space>") {
if (/:adelay == "0") {
if (/:face == "4") {
tellTarget ("/map/man") {
gotoAndPlay ("killl");
};
}
if (/:face == "3") {
tellTarget ("/map/man") {
gotoAndPlay ("killd");
};
}
if (/:face == "2") {
tellTarget ("/map/man") {
gotoAndPlay ("killr");
};
}
if (/:face == "1") {
tellTarget ("/map/man") {
gotoAndPlay ("killu");
};
}
}
}
Symbol 137 MovieClip Frame 1
startDrag ("", true);
Symbol 138 MovieClip Frame 8
Set("/:jump", "0");
Symbol 146 MovieClip Frame 9
stop();
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 2
setProperty("/map/p", _x , getProperty("/map/p", _x) + "5");
Symbol 149 MovieClip Frame 3
setProperty("/map/p", _x , getProperty("/map/p", _x) + "5");
Symbol 149 MovieClip Frame 4
setProperty("/map/p", _x , getProperty("/map/p", _x) + "5");
Symbol 149 MovieClip Frame 5
setProperty("/map/p", _x , getProperty("/map/p", _x) + "5");
Symbol 149 MovieClip Frame 6
setProperty("/map/p", _x , getProperty("/map/p", _x) + "5");
Symbol 149 MovieClip Frame 7
gotoAndStop (1);
Symbol 149 MovieClip Frame 9
setProperty("/map/p", _x , getProperty("/map/p", _x) - "4");
Symbol 149 MovieClip Frame 10
setProperty("/map/p", _x , getProperty("/map/p", _x) - "4");
Symbol 149 MovieClip Frame 11
setProperty("/map/p", _x , getProperty("/map/p", _x) - "4");
Symbol 149 MovieClip Frame 12
setProperty("/map/p", _x , getProperty("/map/p", _x) - "4");
Symbol 149 MovieClip Frame 13
setProperty("/map/p", _x , getProperty("/map/p", _x) - "4");
Symbol 149 MovieClip Frame 15
gotoAndStop (8);
Symbol 149 MovieClip Frame 16
setProperty("/map/p", _y , getProperty("/map/p", _y) + "5");
Set("/:jump", "1");
Symbol 149 MovieClip Frame 17
setProperty("/map/p", _y , getProperty("/map/p", _y) - "20");
Symbol 149 MovieClip Frame 18
setProperty("/map/p", _y , getProperty("/map/p", _y) - "30");
Symbol 149 MovieClip Frame 19
setProperty("/map/p", _x , getProperty("/map/p", _x) - "20");
setProperty("/map/p", _y , getProperty("/map/p", _y) - "30");
Symbol 149 MovieClip Frame 20
setProperty("/map/p", _x , getProperty("/map/p", _x) - "12");
setProperty("/map/p", _y , getProperty("/map/p", _y) - "30");
Symbol 149 MovieClip Frame 21
setProperty("/map/p", _x , getProperty("/map/p", _x) - "12");
setProperty("/map/p", _y , getProperty("/map/p", _y) - "30");
Symbol 149 MovieClip Frame 22
setProperty("/map/p", _x , getProperty("/map/p", _x) - "12");
setProperty("/map/p", _y , getProperty("/map/p", _y) - "25");
Symbol 149 MovieClip Frame 23
setProperty("/map/p", _x , getProperty("/map/p", _x) - "12");
setProperty("/map/p", _y , getProperty("/map/p", _y) - "20");
Symbol 149 MovieClip Frame 24
setProperty("/map/p", _x , getProperty("/map/p", _x) - "12");
setProperty("/map/p", _y , getProperty("/map/p", _y) - "20");
Symbol 149 MovieClip Frame 25
setProperty("/map/p", _x , getProperty("/map/p", _x) - "12");
setProperty("/map/p", _y , getProperty("/map/p", _y) - "10");
Symbol 149 MovieClip Frame 26
setProperty("/map/p", _x , getProperty("/map/p", _x) - "12");
Symbol 149 MovieClip Frame 27
setProperty("/map/p", _x , getProperty("/map/p", _x) - "12");
Symbol 149 MovieClip Frame 28
setProperty("/map/p", _x , getProperty("/map/p", _x) - "12");
Symbol 149 MovieClip Frame 29
setProperty("/map/p", _x , getProperty("/map/p", _x) - "12");
setProperty("/map/p", _y , getProperty("/map/p", _y) + "5");
Symbol 149 MovieClip Frame 30
setProperty("/map/p", _y , getProperty("/map/p", _y) + "5");
Symbol 149 MovieClip Frame 31
setProperty("/map/p", _y , getProperty("/map/p", _y) + "5");
Symbol 149 MovieClip Frame 34
Set("/:jump", "0");
gotoAndStop (8);
Symbol 149 MovieClip Frame 35
Set("/:jump", "1");
Symbol 149 MovieClip Frame 36
setProperty("/map/p", _y , getProperty("/map/p", _y) - "20");
Symbol 149 MovieClip Frame 37
setProperty("/map/p", _y , getProperty("/map/p", _y) - "30");
Symbol 149 MovieClip Frame 38
setProperty("/map/p", _x , getProperty("/map/p", _x) + "20");
setProperty("/map/p", _y , getProperty("/map/p", _y) - "30");
Symbol 149 MovieClip Frame 39
setProperty("/map/p", _x , getProperty("/map/p", _x) + "12");
setProperty("/map/p", _y , getProperty("/map/p", _y) - "30");
Symbol 149 MovieClip Frame 40
setProperty("/map/p", _x , getProperty("/map/p", _x) + "12");
setProperty("/map/p", _y , getProperty("/map/p", _y) - "30");
Symbol 149 MovieClip Frame 41
setProperty("/map/p", _x , getProperty("/map/p", _x) + "12");
setProperty("/map/p", _y , getProperty("/map/p", _y) - "25");
Symbol 149 MovieClip Frame 42
setProperty("/map/p", _x , getProperty("/map/p", _x) + "12");
setProperty("/map/p", _y , getProperty("/map/p", _y) - "20");
Symbol 149 MovieClip Frame 43
setProperty("/map/p", _x , getProperty("/map/p", _x) + "12");
setProperty("/map/p", _y , getProperty("/map/p", _y) - "20");
Symbol 149 MovieClip Frame 44
setProperty("/map/p", _x , getProperty("/map/p", _x) + "12");
setProperty("/map/p", _y , getProperty("/map/p", _y) - "10");
Symbol 149 MovieClip Frame 45
setProperty("/map/p", _x , getProperty("/map/p", _x) + "12");
Symbol 149 MovieClip Frame 46
setProperty("/map/p", _x , getProperty("/map/p", _x) + "12");
Symbol 149 MovieClip Frame 47
setProperty("/map/p", _x , getProperty("/map/p", _x) + "12");
Symbol 149 MovieClip Frame 48
setProperty("/map/p", _x , getProperty("/map/p", _x) + "12");
setProperty("/map/p", _y , getProperty("/map/p", _y) + "5");
Symbol 149 MovieClip Frame 49
setProperty("/map/p", _y , getProperty("/map/p", _y) + "5");
Symbol 149 MovieClip Frame 50
setProperty("/map/p", _y , getProperty("/map/p", _y) + "5");
Symbol 149 MovieClip Frame 53
Set("/:jump", "0");
gotoAndStop (1);
Symbol 149 MovieClip Frame 56
setProperty("/map/b", _x , -"2000");
setProperty("/map/b", _y , -"2000");
Set("/:adelay", "1");
Symbol 149 MovieClip Frame 57
setProperty("/map/b", _x , getProperty("/map/man", _x) - "40");
setProperty("/map/b", _y , getProperty("/map/man", _y) - "20");
Symbol 149 MovieClip Frame 58
setProperty("/map/b", _x , -"2000");
setProperty("/map/b", _y , -"2000");
Symbol 149 MovieClip Frame 61
Set("/:jump", "0");
Set("/:adelay", "0");
gotoAndStop (8);
Symbol 149 MovieClip Frame 63
setProperty("/map/b", _x , -"2000");
setProperty("/map/b", _y , -"2000");
Set("/:adelay", "1");
Symbol 149 MovieClip Frame 64
setProperty("/map/b", _x , getProperty("/map/man", _x) + "40");
setProperty("/map/b", _y , getProperty("/map/man", _y) - "20");
Symbol 149 MovieClip Frame 65
setProperty("/map/b", _x , -"2000");
setProperty("/map/b", _y , -"2000");
Symbol 149 MovieClip Frame 68
Set("/:jump", "0");
Set("/:adelay", "0");
gotoAndStop (1);
Symbol 149 MovieClip Frame 70
Set("/:life", /:life - (random("7") + "3"));
Symbol 149 MovieClip Frame 73
Set("/:jump", "0");
Set("/:adelay", "0");
if (/:face == "1") {
gotoAndStop (1);
}
if (/:face == "2") {
gotoAndStop (1);
}
if (/:face == "3") {
gotoAndStop (1);
}
if (/:face == "4") {
gotoAndStop (8);
}
Symbol 151 MovieClip Frame 1
radius1 = _width / "2";
radius2 = getProperty("/map/man", _width) / "2";
obj1_x = _x;
obj2_x = getProperty("/map/man", _x);
delta_x = obj1_x - obj2_x;
obj1_y = _y;
obj2_y = getProperty("/map/man", _y);
delta_y = obj1_y - obj2_y;
if (((radius1 + radius2) * (radius1 + radius2)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
if ("89" < /:life) {
Set("/:life", "100");
} else {
Set("/:life", /:life + "10");
}
gotoAndPlay (8);
}
Symbol 151 MovieClip Frame 4
gotoAndPlay (1);
Symbol 151 MovieClip Frame 8
_y = (random("2000") - "600");
_x = random("1600");
Symbol 152 MovieClip Frame 1
setProperty("black", _visible , "0");
setProperty("red", _visible , "0");
Symbol 153 MovieClip Frame 1
thisX = getProperty("/map/p", _x);
thisY = getProperty("/map/p", _y);
spX = getProperty("/map/man", _x);
spY = getProperty("/map/man", _y);
difX = thisX - spX;
difY = thisY - spY;
xStp = difX / "2";
yStp = difY / "1";
setProperty("/map/man", _x , spX + xStp);
setProperty("/map/man", _y , spY + yStp);
Symbol 153 MovieClip Frame 2
gotoAndPlay (1);
Symbol 154 MovieClip Frame 1
setProperty("/map", _x , xcal);
setProperty("/map", _y , ycal);
bx = getProperty("/map/man", _x);
by = getProperty("/map/man", _y);
xcal = (bx - (bx * "2")) + "180";
ycal = (by - (by * "2")) + "170";
Symbol 154 MovieClip Frame 2
gotoAndPlay (1);
Symbol 155 MovieClip Frame 1
n = "0";
while (n < "23") {
n = n + "1";
radius1 = getProperty("/map/b", _width) / "2";
radius2 = getProperty("/map/monk" add n, _width) / "10";
obj1_x = getProperty("/map/b", _x);
obj2_x = getProperty("/map/monk" add n, _x);
delta_x = obj1_x - obj2_x;
obj1_y = getProperty("/map/b", _y);
obj2_y = getProperty("/map/monk" add n, _y);
delta_y = obj1_y - obj2_y;
if (((radius1 + radius2) * (radius1 + radius2)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
if ("0" < eval (("/map/monk" add n) add "/:hit")) {
if (eval (("/map/monk" add n) add "/:dead") == "0") {
Set("/:exp", /:exp + "1");
tellTarget ("/map/monk" add n) {
gotoAndPlay ("hit");
};
Set(("/map/monk" add n) add "/:hit", eval (("/map/monk" add n) add "/:hit") - (random("30") + "15"));
} else {
tellTarget ("/map/monk" add n) {
gotoAndPlay ("death");
};
Set("/:exp", /:exp + "5");
Set(("/map/monk" add n) add "/:hit", "0");
Set(("/map/monk" add n) add "/:dead", "1");
}
}
}
}
Symbol 155 MovieClip Frame 2
gotoAndPlay (1);
Symbol 156 MovieClip Frame 1
n = n + "1";
radius1 = getProperty("/map/man", _width) / "2";
radius2 = getProperty("/map/mb", _width) / "3";
obj1_x = getProperty("/map/man", _x);
obj2_x = getProperty("/map/mb", _x);
delta_x = obj1_x - obj2_x;
obj1_y = getProperty("/map/man", _y) - "20";
obj2_y = getProperty("/map/mb", _y);
delta_y = obj1_y - obj2_y;
if (((radius1 + radius2) * (radius1 + radius2)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
tellTarget ("/map/man") {
gotoAndPlay ("hit");
Set("/:adelay", "1");
};
}
Symbol 156 MovieClip Frame 2
gotoAndPlay (1);
Symbol 157 MovieClip Frame 105
Set("/:time", /:time - "1");
if (/:time < "1") {
tellTarget ("/") {
gotoAndStop ("death");
};
}
Set("/:mtime", /:mtime - "1");
Symbol 170 Button
on (release) {
gotoAndPlay (1);
}
Symbol 182 MovieClip Frame 1
setProperty("/map/p", _y , getProperty("/map/p", _y) + "14");
Symbol 182 MovieClip Frame 2
gotoAndPlay (1);
Symbol 185 MovieClip Frame 1
n = "25";
while (("24" < n) and (n < "29")) {
n = n + "1";
radius1 = getProperty("/map/b", _width) / "2";
radius2 = getProperty("/map/monk" add n, _width) / "5";
obj1_x = getProperty("/map/b", _x);
obj2_x = getProperty("/map/monk" add n, _x);
delta_x = obj1_x - obj2_x;
obj1_y = getProperty("/map/b", _y);
obj2_y = getProperty("/map/monk" add n, _y) - "140";
delta_y = obj1_y - obj2_y;
if (((radius1 + radius2) * (radius1 + radius2)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
if ("0" < eval (("/map/monk" add n) add "/:hit")) {
if (eval (("/map/monk" add n) add "/:dead") == "0") {
Set("/:exp", /:exp + "1");
tellTarget ("/map/monk" add n) {
gotoAndPlay ("hit");
};
Set(("/map/monk" add n) add "/:hit", eval (("/map/monk" add n) add "/:hit") - (random("5") + "1"));
} else {
tellTarget ("/map/monk" add n) {
gotoAndPlay ("death");
};
Set("/:exp", /:exp + "5");
Set(("/map/monk" add n) add "/:hit", "0");
Set(("/map/monk" add n) add "/:dead", "1");
}
}
}
}
Symbol 185 MovieClip Frame 2
gotoAndPlay (1);
Symbol 187 MovieClip Frame 2
if (/:life < "1") {
Set("/:life", "0");
if (/:time < "99") {
tellTarget ("/") {
gotoAndStop ("death");
};
}
}
Symbol 189 MovieClip Frame 9
stop();
Symbol 200 Button
on (release, keyPress "<Space>") {
gotoAndPlay (30);
Set("/:life", "100");
Set("/:time", "100");
}
Symbol 205 Button
on (release, keyPress "<Space>") {
gotoAndPlay (30);
Set("/:life", "100");
Set("/:time", "100");
}
Symbol 250 Button
on (release) {
if (((/:score_done == "1") and (/:hiscore20 < /:total)) and (/:old_score <> /:total)) {
Set("/:old_score", /:total);
Set("/:hiscore", /:total);
if (/:xname eq "Name Here") {
Set("/:xname", "flashgamestudio");
}
loadVariablesNum ((((("/scores.php?action=sendscore&game=" add /:game) add "&hiscore=") add /:hiscore) add "&xname=") add /:xname, "0", "POST");
_visible = "0";
}
}
Symbol 253 MovieClip Frame 1
if ((/:hiscore20 < /:total) and (/:local == "1")) {
_visible = "1";
} else {
_visible = "0";
stop();
}
Symbol 254 MovieClip Frame 1
if (/:local == "1") {
_visible = "1";
} else {
_visible = "0";
stop();
}
Symbol 254 MovieClip Frame 2
Set("/:game", "digininjalvl1");
loadVariablesNum ("/scores.php?action=getscores&game=" add /:game, "0", "POST");
Symbol 254 MovieClip Frame 10
stop();