Frame 1
fscommand ("allowscale", "false");
Frame 6
stop();
Instance of Symbol 9 MovieClip in Frame 6
onClipEvent (enterFrame) {
percloaded = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (percloaded > Number(_currentframe + 2)) {
nextFrame();
}
if (percloaded > Number(_currentframe + 1)) {
nextFrame();
}
if (percloaded > _currentframe) {
nextFrame();
}
}
Frame 51
stop();
Frame 54
level = 1;
_root.clicksleft = 10;
sainttarg = 1;
saintstogo = 1;
totaltime = "0";
losses = 0;
Instance of Symbol 80 MovieClip in Frame 54
onClipEvent (load) {
n = "1";
}
onClipEvent (enterFrame) {
n = Number(n) + 1;
if (n >= "300") {
_root.gotoAndStop("game");
}
}
Frame 55
level = 2;
_root.clicksleft = 8;
sainttarg = 2;
saintstogo = 2;
Instance of Symbol 80 MovieClip in Frame 55
onClipEvent (load) {
n = "1";
}
onClipEvent (enterFrame) {
n = Number(n) + 1;
if (n >= "300") {
_root.gotoAndStop("game");
}
}
Frame 56
level = 3;
_root.clicksleft = 8;
sainttarg = 5;
saintstogo = 5;
Instance of Symbol 80 MovieClip in Frame 56
onClipEvent (load) {
n = "1";
}
onClipEvent (enterFrame) {
n = Number(n) + 1;
if (n >= "300") {
_root.gotoAndStop("game");
}
}
Frame 57
level = 4;
_root.clicksleft = 5;
sainttarg = 6;
saintstogo = 6;
Instance of Symbol 80 MovieClip in Frame 57
onClipEvent (load) {
n = "1";
}
onClipEvent (enterFrame) {
n = Number(n) + 1;
if (n >= "300") {
_root.gotoAndStop("game");
}
}
Frame 58
level = 5;
_root.clicksleft = 4;
sainttarg = 7;
saintstogo = 7;
Frame 59
totaltime = (600 - ((Number(totaltime) + Number(timetil12)) + (Number(minutevalue) * 60))) * 10;
finalscore = Number(totaltime) - (10 * Number(losses));
Instance of Symbol 152 MovieClip in Frame 68
onClipEvent (enterFrame) {
_root.countdown();
}
Frame 100
function countdown() {
myDate = new Date();
if (Number(myDate.getSeconds()) >= Number(thing)) {
timetil12 = (59 - Number(myDate.getSeconds())) + Number(thing);
} else {
timetil12 = ((-Number(myDate.getSeconds())) + Number(thing)) - 1;
}
if (Number(timetil12) < 10) {
theclock = (Number(minutevalue) + ":0") + Number(timetil12);
} else {
theclock = (Number(minutevalue) + ":") + Number(timetil12);
minutechecker = "1";
}
if (Number(minutechecker) == "1") {
if (Number(timetil12) <= 0) {
minutevalue = Number(minutevalue) - 1;
minutechecker = "2";
}
}
if (Number(minutevalue) < "0") {
gotoAndStop (103);
}
}
myDate = new Date();
thing = Number(myDate.getSeconds());
minutevalue = "1";
minutechecker = "1";
stop();
saintsleft = "7";
Instance of Symbol 172 MovieClip "map" in Frame 100
onClipEvent (load) {
gotoAndStop(_root.level);
}
Instance of Symbol 178 MovieClip "goal" in Frame 100
onClipEvent (load) {
gotoAndStop(_root.level);
}
Instance of Symbol 172 MovieClip "map" in Frame 100
onClipEvent (load) {
gotoAndStop(_root.level);
}
Instance of Symbol 184 MovieClip "evil" in Frame 100
onClipEvent (load) {
gotoAndStop(_root.level);
}
Instance of Symbol 213 MovieClip "saints" in Frame 100
onClipEvent (enterFrame) {
_root.needed = Number(_root.sainttarg) - Number(_root.saintstogo);
}
Frame 101
totaltime = (Number(totaltime) + Number(timetil12)) + (Number(minutevalue) * 60);
gotoAndStop(54 + Number(level));
Frame 102
stop();
Frame 103
stop();
Symbol 9 MovieClip Frame 1
stop();
Symbol 9 MovieClip Frame 100
_root.play();
Symbol 41 MovieClip Frame 150
gotoAndPlay (50);
Symbol 49 Button
on (release) {
gotoAndStop (54);
}
Symbol 51 Button
on (release) {
nextFrame();
}
Symbol 57 Button
on (release) {
nextFrame();
}
Symbol 66 Button
on (release) {
prevFrame();
}
Symbol 85 Button
on (release) {
_root.gotoAndStop("game");
}
Symbol 127 Button
on (release) {
gotoAndStop (54);
}
Symbol 172 MovieClip Frame 3
setProperty("_root.saints.chap2", _y , "220");
setProperty("_root.saints.chap4", _y , "220");
setProperty("_root.saints.chap5", _y , "180");
setProperty("_root.saints.chap6", _y , "180");
setProperty("_root.saints.chap7", _y , "180");
Symbol 172 MovieClip Frame 4
setProperty("_root.saints.chap2", _y , "160");
setProperty("_root.saints.chap4", _y , "160");
setProperty("_root.saints.chap5", _y , "220");
setProperty("_root.saints.chap6", _y , "40");
setProperty("_root.saints.chap6", _x , "130");
setProperty("_root.saints.chap7", _y , "180");
setProperty("_root.saints.chap7", _x , "200");
Symbol 172 MovieClip Frame 5
setProperty("_root.saints.chap2", _y , "100");
setProperty("_root.saints.chap5", _y , "100");
Symbol 188 Button
on (release) {
nextFrame();
}
Symbol 200 MovieClip Frame 1
stop();
stop();
Symbol 200 MovieClip Frame 6
hspeed = "0";
vspeed = "0";
play();
Symbol 200 MovieClip Frame 24
_root.losses = Number(_root.losses) + 1;
if (_root.saintsleft < (Number(_root.sainttarg) - Number(_root.needed))) {
_root.gotoAndPlay("toomanydead");
}
stop();
Symbol 205 MovieClip Frame 1
stop();
Symbol 206 Button
on (release) {
if (_root.clicksleft > "0") {
nextFrame();
}
}
Symbol 212 MovieClip Frame 1
stop();
point = new object();
point.x = 0;
point.y = 0;
localToGlobal(point);
if (_root.map.hitTest(point.x, point.y, true)) {
gotoAndStop (8);
}
Symbol 212 MovieClip Frame 2
_root.clicksleft = Number(_root.clicksleft) - 1;
Symbol 212 MovieClip Frame 7
_root.clicksleft = Number(_root.clicksleft) + 1;
gotoAndStop (1);
Instance of Symbol 195 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(999999);
gotoAndStop(_root.level);
}
Instance of Symbol 200 MovieClip "chap" in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
hspeed = "1";
vspeed = "0";
n = "-2";
this.swapDepths(1000000);
gotoAndStop (3);
}
onClipEvent (enterFrame) {
this.swapDepths(1000000 + getProperty(this, _y));
n = Number(n) + 2;
if (n == "12") {
targsquareq = eval ((("_parent.paintv" + Math.round((getProperty(this, _y) / 180) * 9)) + "dave") + (Math.round((getProperty(this, _x) / 180) * 9) + 1))._currentframe;
if (targsquareq == "2") {
if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
} else if (targsquareq == "3") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
} else if (targsquareq == "4") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
}
} else if (targsquareq == "5") {
if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
}
} else if ((targsquareq == "6") or (targsquareq == "8")) {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
}
}
if (n == "20") {
n = "0";
point = new object();
point.x = 0;
point.y = 0;
localToGlobal(point);
if (_root.goal.hitTest(point.x, point.y, true)) {
_root.saintstogo = Number(_root.saintstogo) - 1;
if (_root.saintstogo <= "0") {
_root.gotoAndStop("complete");
}
n = "50";
gotoAndStop (5);
}
if (_root.evil.hitTest(point.x, point.y, true)) {
_root.saintsleft = Number(_root.saintsleft) - 1;
n = "50";
gotoAndStop (6);
}
targsquare = eval ((("_parent.paintv" + Math.ceil((getProperty(this, _y) / 180) * 9)) + "dave") + (Math.ceil((getProperty(this, _x) / 180) * 9) + 1))._currentframe;
if (targsquare == "2") {
if (hspeed == "1") {
hspeed = "0";
vspeed = "-1";
gotoAndStop (2);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
vspeed = "0";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
} else if (targsquare == "3") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "0";
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "1") {
hspeed = "1";
gotoAndStop (3);
vspeed = "0";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
} else if (targsquare == "4") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "0";
vspeed = "1";
gotoAndStop (1);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "0";
hspeed = "1";
gotoAndStop (3);
}
} else if (targsquare == "5") {
if (hspeed == "1") {
hspeed = "0";
vspeed = "1";
gotoAndStop (1);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "0";
hspeed = "-1";
gotoAndStop (4);
}
} else if ((targsquare == "6") or (targsquare == "8")) {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
}
}
setProperty(this, _x , Math.round(getProperty(this, _x) + (Number(hspeed) * 2)));
setProperty(this, _y , Math.round(getProperty(this, _y) + (Number(vspeed) * 2)));
}
Instance of Symbol 200 MovieClip "chap2" in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
hspeed = "1";
vspeed = "0";
n = "8";
this.swapDepths(1000002);
gotoAndStop (3);
}
onClipEvent (enterFrame) {
this.swapDepths(1000002 + getProperty(this, _y));
n = Number(n) + 2;
if (n == "12") {
targsquareq = eval ((("_parent.paintv" + Math.round((getProperty(this, _y) / 180) * 9)) + "dave") + (Math.round((getProperty(this, _x) / 180) * 9) + 1))._currentframe;
if (targsquareq == "2") {
if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
} else if (targsquareq == "3") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
} else if (targsquareq == "4") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
}
} else if (targsquareq == "5") {
if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
}
} else if ((targsquareq == "6") or (targsquareq == "8")) {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
}
}
if (n == "20") {
n = "0";
point = new object();
point.x = 0;
point.y = 0;
localToGlobal(point);
if (_root.goal.hitTest(point.x, point.y, true)) {
_root.saintstogo = Number(_root.saintstogo) - 1;
if (_root.saintstogo <= "0") {
_root.gotoAndStop("complete");
}
n = "50";
gotoAndStop (5);
}
if (_root.evil.hitTest(point.x, point.y, true)) {
_root.saintsleft = Number(_root.saintsleft) - 1;
n = "50";
gotoAndStop (6);
}
targsquare = eval ((("_parent.paintv" + Math.ceil((getProperty(this, _y) / 180) * 9)) + "dave") + (Math.ceil((getProperty(this, _x) / 180) * 9) + 1))._currentframe;
if (targsquare == "2") {
if (hspeed == "1") {
hspeed = "0";
vspeed = "-1";
gotoAndStop (2);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
vspeed = "0";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
} else if (targsquare == "3") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "0";
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "1") {
hspeed = "1";
gotoAndStop (3);
vspeed = "0";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
} else if (targsquare == "4") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "0";
vspeed = "1";
gotoAndStop (1);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "0";
hspeed = "1";
gotoAndStop (3);
}
} else if (targsquare == "5") {
if (hspeed == "1") {
hspeed = "0";
vspeed = "1";
gotoAndStop (1);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "0";
hspeed = "-1";
gotoAndStop (4);
}
} else if ((targsquare == "6") or (targsquare == "8")) {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
}
}
setProperty(this, _x , Math.round(getProperty(this, _x) + (Number(hspeed) * 2)));
setProperty(this, _y , Math.round(getProperty(this, _y) + (Number(vspeed) * 2)));
}
Instance of Symbol 200 MovieClip "chap3" in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
hspeed = "1";
vspeed = "0";
n = "-2";
this.swapDepths(1000003);
gotoAndStop (3);
}
onClipEvent (enterFrame) {
this.swapDepths(1000003 + getProperty(this, _y));
n = Number(n) + 2;
if (n == "12") {
targsquareq = eval ((("_parent.paintv" + Math.round((getProperty(this, _y) / 180) * 9)) + "dave") + (Math.round((getProperty(this, _x) / 180) * 9) + 1))._currentframe;
if (targsquareq == "2") {
if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
} else if (targsquareq == "3") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
} else if (targsquareq == "4") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
}
} else if (targsquareq == "5") {
if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
}
} else if ((targsquareq == "6") or (targsquareq == "8")) {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
}
}
if (n == "20") {
n = "0";
point = new object();
point.x = 0;
point.y = 0;
localToGlobal(point);
if (_root.goal.hitTest(point.x, point.y, true)) {
_root.saintstogo = Number(_root.saintstogo) - 1;
if (_root.saintstogo <= "0") {
_root.gotoAndStop("complete");
}
n = "50";
gotoAndStop (5);
}
if (_root.evil.hitTest(point.x, point.y, true)) {
_root.saintsleft = Number(_root.saintsleft) - 1;
n = "50";
gotoAndStop (6);
}
targsquare = eval ((("_parent.paintv" + Math.ceil((getProperty(this, _y) / 180) * 9)) + "dave") + (Math.ceil((getProperty(this, _x) / 180) * 9) + 1))._currentframe;
if (targsquare == "2") {
if (hspeed == "1") {
hspeed = "0";
vspeed = "-1";
gotoAndStop (2);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
vspeed = "0";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
} else if (targsquare == "3") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "0";
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "1") {
hspeed = "1";
gotoAndStop (3);
vspeed = "0";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
} else if (targsquare == "4") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "0";
vspeed = "1";
gotoAndStop (1);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "0";
hspeed = "1";
gotoAndStop (3);
}
} else if (targsquare == "5") {
if (hspeed == "1") {
hspeed = "0";
vspeed = "1";
gotoAndStop (1);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "0";
hspeed = "-1";
gotoAndStop (4);
}
} else if ((targsquare == "6") or (targsquare == "8")) {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
}
}
setProperty(this, _x , Math.round(getProperty(this, _x) + (Number(hspeed) * 2)));
setProperty(this, _y , Math.round(getProperty(this, _y) + (Number(vspeed) * 2)));
}
Instance of Symbol 200 MovieClip "chap4" in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
hspeed = "1";
vspeed = "0";
n = "8";
this.swapDepths(1000004);
gotoAndStop (3);
}
onClipEvent (enterFrame) {
this.swapDepths(1000004 + getProperty(this, _y));
n = Number(n) + 2;
if (n == "12") {
targsquareq = eval ((("_parent.paintv" + Math.round((getProperty(this, _y) / 180) * 9)) + "dave") + (Math.round((getProperty(this, _x) / 180) * 9) + 1))._currentframe;
if (targsquareq == "2") {
if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
} else if (targsquareq == "3") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
} else if (targsquareq == "4") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
}
} else if (targsquareq == "5") {
if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
}
} else if ((targsquareq == "6") or (targsquareq == "8")) {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
}
}
if (n == "20") {
n = "0";
point = new object();
point.x = 0;
point.y = 0;
localToGlobal(point);
if (_root.goal.hitTest(point.x, point.y, true)) {
_root.saintstogo = Number(_root.saintstogo) - 1;
if (_root.saintstogo <= "0") {
_root.gotoAndStop("complete");
}
n = "50";
gotoAndStop (5);
}
if (_root.evil.hitTest(point.x, point.y, true)) {
_root.saintsleft = Number(_root.saintsleft) - 1;
n = "50";
gotoAndStop (6);
}
targsquare = eval ((("_parent.paintv" + Math.ceil((getProperty(this, _y) / 180) * 9)) + "dave") + (Math.ceil((getProperty(this, _x) / 180) * 9) + 1))._currentframe;
if (targsquare == "2") {
if (hspeed == "1") {
hspeed = "0";
vspeed = "-1";
gotoAndStop (2);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
vspeed = "0";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
} else if (targsquare == "3") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "0";
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "1") {
hspeed = "1";
gotoAndStop (3);
vspeed = "0";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
} else if (targsquare == "4") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "0";
vspeed = "1";
gotoAndStop (1);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "0";
hspeed = "1";
gotoAndStop (3);
}
} else if (targsquare == "5") {
if (hspeed == "1") {
hspeed = "0";
vspeed = "1";
gotoAndStop (1);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "0";
hspeed = "-1";
gotoAndStop (4);
}
} else if ((targsquare == "6") or (targsquare == "8")) {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
}
}
setProperty(this, _x , Math.round(getProperty(this, _x) + (Number(hspeed) * 2)));
setProperty(this, _y , Math.round(getProperty(this, _y) + (Number(vspeed) * 2)));
}
Instance of Symbol 200 MovieClip "chap5" in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
hspeed = "1";
vspeed = "0";
n = "-2";
this.swapDepths(1000005);
gotoAndStop (3);
}
onClipEvent (enterFrame) {
this.swapDepths(1000005 + getProperty(this, _y));
n = Number(n) + 2;
if (n == "12") {
targsquareq = eval ((("_parent.paintv" + Math.round((getProperty(this, _y) / 180) * 9)) + "dave") + (Math.round((getProperty(this, _x) / 180) * 9) + 1))._currentframe;
if (targsquareq == "2") {
if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
} else if (targsquareq == "3") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
} else if (targsquareq == "4") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
}
} else if (targsquareq == "5") {
if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
}
} else if ((targsquareq == "6") or (targsquareq == "8")) {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
}
}
if (n == "20") {
n = "0";
point = new object();
point.x = 0;
point.y = 0;
localToGlobal(point);
if (_root.goal.hitTest(point.x, point.y, true)) {
_root.saintstogo = Number(_root.saintstogo) - 1;
if (_root.saintstogo <= "0") {
_root.gotoAndStop("complete");
}
n = "50";
gotoAndStop (5);
}
if (_root.evil.hitTest(point.x, point.y, true)) {
_root.saintsleft = Number(_root.saintsleft) - 1;
n = "50";
gotoAndStop (6);
}
targsquare = eval ((("_parent.paintv" + Math.ceil((getProperty(this, _y) / 180) * 9)) + "dave") + (Math.ceil((getProperty(this, _x) / 180) * 9) + 1))._currentframe;
if (targsquare == "2") {
if (hspeed == "1") {
hspeed = "0";
vspeed = "-1";
gotoAndStop (2);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
vspeed = "0";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
} else if (targsquare == "3") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "0";
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "1") {
hspeed = "1";
gotoAndStop (3);
vspeed = "0";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
} else if (targsquare == "4") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "0";
vspeed = "1";
gotoAndStop (1);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "0";
hspeed = "1";
gotoAndStop (3);
}
} else if (targsquare == "5") {
if (hspeed == "1") {
hspeed = "0";
vspeed = "1";
gotoAndStop (1);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "0";
hspeed = "-1";
gotoAndStop (4);
}
} else if ((targsquare == "6") or (targsquare == "8")) {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
}
}
setProperty(this, _x , Math.round(getProperty(this, _x) + (Number(hspeed) * 2)));
setProperty(this, _y , Math.round(getProperty(this, _y) + (Number(vspeed) * 2)));
}
Instance of Symbol 200 MovieClip "chap6" in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
hspeed = "1";
vspeed = "0";
n = "8";
this.swapDepths(1000006);
gotoAndStop (3);
}
onClipEvent (enterFrame) {
this.swapDepths(1000006 + getProperty(this, _y));
n = Number(n) + 2;
if (n == "12") {
targsquareq = eval ((("_parent.paintv" + Math.round((getProperty(this, _y) / 180) * 9)) + "dave") + (Math.round((getProperty(this, _x) / 180) * 9) + 1))._currentframe;
if (targsquareq == "2") {
if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
} else if (targsquareq == "3") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
} else if (targsquareq == "4") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
}
} else if (targsquareq == "5") {
if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
}
} else if ((targsquareq == "6") or (targsquareq == "8")) {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
}
}
if (n == "20") {
n = "0";
point = new object();
point.x = 0;
point.y = 0;
localToGlobal(point);
if (_root.goal.hitTest(point.x, point.y, true)) {
_root.saintstogo = Number(_root.saintstogo) - 1;
if (_root.saintstogo <= "0") {
_root.gotoAndStop("complete");
}
n = "50";
gotoAndStop (5);
}
if (_root.evil.hitTest(point.x, point.y, true)) {
_root.saintsleft = Number(_root.saintsleft) - 1;
n = "50";
gotoAndStop (6);
}
targsquare = eval ((("_parent.paintv" + Math.ceil((getProperty(this, _y) / 180) * 9)) + "dave") + (Math.ceil((getProperty(this, _x) / 180) * 9) + 1))._currentframe;
if (targsquare == "2") {
if (hspeed == "1") {
hspeed = "0";
vspeed = "-1";
gotoAndStop (2);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
vspeed = "0";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
} else if (targsquare == "3") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "0";
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "1") {
hspeed = "1";
gotoAndStop (3);
vspeed = "0";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
} else if (targsquare == "4") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "0";
vspeed = "1";
gotoAndStop (1);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "0";
hspeed = "1";
gotoAndStop (3);
}
} else if (targsquare == "5") {
if (hspeed == "1") {
hspeed = "0";
vspeed = "1";
gotoAndStop (1);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "0";
hspeed = "-1";
gotoAndStop (4);
}
} else if ((targsquare == "6") or (targsquare == "8")) {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
}
}
setProperty(this, _x , Math.round(getProperty(this, _x) + (Number(hspeed) * 2)));
setProperty(this, _y , Math.round(getProperty(this, _y) + (Number(vspeed) * 2)));
}
Instance of Symbol 200 MovieClip "chap7" in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
hspeed = "1";
vspeed = "0";
n = "-2";
this.swapDepths(1000007);
gotoAndStop (3);
}
onClipEvent (enterFrame) {
this.swapDepths(1000007 + getProperty(this, _y));
n = Number(n) + 2;
if (n == "12") {
targsquareq = eval ((("_parent.paintv" + Math.round((getProperty(this, _y) / 180) * 9)) + "dave") + (Math.round((getProperty(this, _x) / 180) * 9) + 1))._currentframe;
if (targsquareq == "2") {
if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
} else if (targsquareq == "3") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
} else if (targsquareq == "4") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
}
} else if (targsquareq == "5") {
if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
}
} else if ((targsquareq == "6") or (targsquareq == "8")) {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
n = "8";
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
n = "8";
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
n = "8";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
n = "8";
}
}
}
if (n == "20") {
n = "0";
point = new object();
point.x = 0;
point.y = 0;
localToGlobal(point);
if (_root.goal.hitTest(point.x, point.y, true)) {
_root.saintstogo = Number(_root.saintstogo) - 1;
if (_root.saintstogo <= "0") {
_root.gotoAndStop("complete");
}
n = "50";
gotoAndStop (5);
}
if (_root.evil.hitTest(point.x, point.y, true)) {
_root.saintsleft = Number(_root.saintsleft) - 1;
n = "50";
gotoAndStop (6);
}
targsquare = eval ((("_parent.paintv" + Math.ceil((getProperty(this, _y) / 180) * 9)) + "dave") + (Math.ceil((getProperty(this, _x) / 180) * 9) + 1))._currentframe;
if (targsquare == "2") {
if (hspeed == "1") {
hspeed = "0";
vspeed = "-1";
gotoAndStop (2);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
vspeed = "0";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
} else if (targsquare == "3") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "0";
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "1") {
hspeed = "1";
gotoAndStop (3);
vspeed = "0";
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
} else if (targsquare == "4") {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "0";
vspeed = "1";
gotoAndStop (1);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "0";
hspeed = "1";
gotoAndStop (3);
}
} else if (targsquare == "5") {
if (hspeed == "1") {
hspeed = "0";
vspeed = "1";
gotoAndStop (1);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "0";
hspeed = "-1";
gotoAndStop (4);
}
} else if ((targsquare == "6") or (targsquare == "8")) {
if (hspeed == "1") {
hspeed = "-1";
gotoAndStop (4);
} else if (hspeed == "-1") {
hspeed = "1";
gotoAndStop (3);
} else if (vspeed == "1") {
vspeed = "-1";
gotoAndStop (2);
} else if (vspeed == "-1") {
vspeed = "1";
gotoAndStop (1);
}
}
}
setProperty(this, _x , Math.round(getProperty(this, _x) + (Number(hspeed) * 2)));
setProperty(this, _y , Math.round(getProperty(this, _y) + (Number(vspeed) * 2)));
}
Symbol 213 MovieClip Frame 2
n = 0;
do {
n = Number(n) + 1;
duplicateMovieClip ("paint1", "paintv0dave" + n, n);
setProperty("paintv0dave" + n, _x , getProperty(paint1, _x) + (20 * Number(n - 1)));
p = 0;
do {
p = Number(p) + 1;
duplicateMovieClip ("paint1", (("paintv" + p) + "dave") + n, ((1001 * Number(n)) + Number(p)) + 100);
setProperty((("paintv" + p) + "dave") + n, _y , getProperty(paint1, _y) + (20 * Number(p)));
setProperty((("paintv" + p) + "dave") + n, _x , getProperty(paint1, _x) + (20 * (Number(n) - 1)));
} while (Number(p) < 12);
} while (Number(n) < 13);
stop();
Instance of Symbol 205 MovieClip "colourbox" in Symbol 213 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop (5);
}
Symbol 216 Button
on (release) {
gotoAndStop (51);
}
Symbol 217 Button
on (release) {
gotoAndStop (51);
}