Frame 1
stop();
Instance of Symbol 11 MovieClip in Frame 1
onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent = percent - ((percent - ((loading / total) * 100)) * 0.25);
per = int(percent);
percentage = per + "%";
loadBar._width = per;
if (percent > 99) {
_parent.gotoAndStop(2);
}
}
Instance of Symbol 20 MovieClip in Frame 1
/* no clip actions */
Frame 2
stop();
Instance of Symbol 20 MovieClip in Frame 2
/* no clip actions */
Instance of Symbol 81 MovieClip in Frame 2
on (press) {
_root.play();
}
Frame 3
_root.score = 0;
_root.coffin.gotoAndStop(2);
_root.helena._visible = false;
play();
Instance of Symbol 107 MovieClip "counter" in Frame 3
/* no clip actions */
Frame 97
_root.churchdoor.play();
Frame 160
function shotunload(sname) {
removeMovieClip(sname);
}
function deadbody(bname) {
var _local1 = _root;
var _local2 = bname;
bodyNum = _local2.bodyNum;
_local1.boop1.play();
_local1.dieblood._x = _local2._x + 302;
_local1.dieblood._y = _local2._y + 236;
_local1.dieblood.play();
removeMovieClip(_local2);
j = bodyNum + 1;
while (j <= _local1.bodiesLeft) {
targetObject = _local1.body["body" + j];
targetObject._name = "body" + (j - 1);
targetObject.bodyNum--;
j++;
}
_local1.bodiesLeft--;
}
function helenamoving() {
_root.helena.helenaB.helenad.move.play();
}
stop();
var hangle = Number(0);
leftboundary = 10;
rightboundary = 640;
topboundary = 86;
bottomboundary = 490;
_root.p1.gotoAndStop(6);
_root.p2.gotoAndStop(6);
_root.p3.gotoAndStop(6);
_root.p4.gotoAndStop(6);
_root.coffin.gotoAndStop(1);
_root.pallcount = 0;
_root.boop1.gotoAndStop(2);
Instance of Symbol 129 MovieClip in Frame 160
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 130 MovieClip in Frame 160
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 131 MovieClip in Frame 160
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 132 MovieClip in Frame 160
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 135 MovieClip "coffin" in Frame 160
onClipEvent (load) {
gotoAndStop (160);
}
Instance of Symbol 142 MovieClip "body" in Frame 160
onClipEvent (load) {
trace("hello");
i = 1;
while (i <= 8) {
trace("hello" + i);
newbody = bodya.duplicateMovieClip("body" + i, i);
newx = random(600) - 300;
newy = random(400) - 200;
if ((((newx >= -80) && (newx <= 110)) && (newy >= -116)) && (newy <= 190)) {
newx = random(600) - 300;
newy = random(400) - 200;
if ((((newx >= -80) && (newx <= 110)) && (newy >= -116)) && (newy <= 190)) {
newx = random(600) - 300;
newy = random(400) - 200;
if ((((newx >= -80) && (newx <= 110)) && (newy >= -116)) && (newy <= 190)) {
newx = random(600) - 300;
newy = random(400) - 200;
}
}
}
newbody._x = newx;
newbody._y = newy;
newbody.dir = random(8);
newbody.bodyNum = i;
_root.bodiesLeft = 30;
i++;
}
this.bodya.gotoAndStop(5);
}
Instance of Symbol 199 MovieClip "helena" in Frame 160
onClipEvent (enterFrame) {
moveit();
if ((_root.pallcount == 4) && (this.hitTest(_root.coffin))) {
_root.gotoAndStop("nextscreen");
trace("on to screen 2");
}
}
Frame 161
stopAllSounds();
gotoAndStop (164);
Frame 163
stop();
Frame 164
_root.pallcount = 0;
_root.coffin.gotoAndStop(2);
_root.helena._visible = false;
_root.p1.gotoAndStop(5);
_root.p2.gotoAndStop(5);
_root.p3.gotoAndStop(5);
_root.p4.gotoAndStop(5);
play();
Instance of Symbol 88 MovieClip "coffin" in Frame 164
onClipEvent (load) {
gotoAndStop (165);
}
Instance of Symbol 199 MovieClip "helena" in Frame 164
onClipEvent (enterFrame) {
moveit();
if ((_root.pallcount == 4) && (this.hitTest(_root.coffin))) {
_root.gotoAndStop("nextscreen2");
trace("on to scene 3");
}
}
Instance of Symbol 107 MovieClip in Frame 164
onClipEvent (enterFrame) {
if (_root.pallcount == 4) {
if (_root.helena.hitTest(_root.coffin)) {
_root.nextScene();
}
}
}
Frame 255
_root.coffin.gotoAndStop(1);
_root.helena._visible = true;
_root.p1.gotoAndStop(6);
_root.p2.gotoAndStop(6);
_root.p3.gotoAndStop(6);
_root.p4.gotoAndStop(6);
Instance of Symbol 129 MovieClip in Frame 255
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 130 MovieClip in Frame 255
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 131 MovieClip in Frame 255
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 132 MovieClip in Frame 255
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Frame 268
function shotunload(sname) {
removeMovieClip(sname);
}
function deadbody(bname) {
var _local1 = _root;
var _local2 = bname;
bodyNum = _local2.bodyNum;
_local1.boop1.play();
_local1.dieblood._x = _local2._x + 302;
_local1.dieblood._y = _local2._y + 236;
_local1.dieblood.play();
removeMovieClip(_local2);
j = bodyNum + 1;
while (j <= _local1.bodiesLeft) {
targetObject = _local1.body["body" + j];
targetObject._name = "body" + (j - 1);
targetObject.bodyNum--;
j++;
}
_local1.bodiesLeft--;
}
function helenamoving() {
_root.helena.helenaB.helenad.move.play();
}
stop();
_root.coffin.gotoAndStop(1);
_root.pallcount = 0;
var hangle = Number(0);
leftboundary = 10;
rightboundary = 640;
topboundary = 86;
bottomboundary = 490;
Instance of Symbol 135 MovieClip "coffin" in Frame 268
onClipEvent (load) {
gotoAndStop (164);
}
Instance of Symbol 142 MovieClip "body" in Frame 268
onClipEvent (load) {
trace("hello");
i = 1;
while (i <= 12) {
trace("hello" + i);
newbody = bodya.duplicateMovieClip("body" + i, i);
newx = random(600) - 300;
newy = random(400) - 200;
if ((((newx >= -80) && (newx <= 110)) && (newy >= -116)) && (newy <= 190)) {
newx = random(600) - 300;
newy = random(400) - 200;
if ((((newx >= -80) && (newx <= 110)) && (newy >= -116)) && (newy <= 190)) {
newx = random(600) - 300;
newy = random(400) - 200;
if ((((newx >= -80) && (newx <= 110)) && (newy >= -116)) && (newy <= 190)) {
newx = random(600) - 300;
newy = random(400) - 200;
}
}
}
newbody._x = newx;
newbody._y = newy;
newbody.dir = random(8);
newbody.bodyNum = i;
_root.bodiesLeft = 30;
i++;
}
this.bodya.gotoAndStop(5);
}
Frame 269
_root.pallcount = 0;
stopAllSounds();
gotoAndPlay ("start3");
Frame 270
stop();
_root.coffin.gotoAndStop(2);
_root.pallcount = 0;
Frame 271
_root.coffin.gotoAndStop(2);
_root.pallcount = 0;
_root.helena._visible = false;
_root.p1.gotoAndStop(5);
_root.p2.gotoAndStop(5);
_root.p3.gotoAndStop(5);
_root.p4.gotoAndStop(5);
stopAllSounds();
play();
Instance of Symbol 199 MovieClip "helena" in Frame 271
onClipEvent (enterFrame) {
moveit();
if ((_root.pallcount == 4) && (this.hitTest(_root.coffin))) {
_root.gotoAndPlay("offtodrive");
trace("transition");
}
}
Frame 362
_root.coffin.gotoAndStop(1);
_root.helena._visible = true;
_root.p1.gotoAndStop(6);
_root.p2.gotoAndStop(6);
_root.p3.gotoAndStop(6);
_root.p4.gotoAndStop(6);
Instance of Symbol 129 MovieClip in Frame 362
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 130 MovieClip in Frame 362
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 131 MovieClip in Frame 362
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 132 MovieClip in Frame 362
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Frame 374
stop();
stopAllSounds();
play();
Frame 375
function shotunload(sname) {
removeMovieClip(sname);
}
function deadbody(bname) {
var _local1 = _root;
var _local2 = bname;
bodyNum = _local2.bodyNum;
_local1.boop1.play();
_local1.dieblood._x = _local2._x + 302;
_local1.dieblood._y = _local2._y + 236;
_local1.dieblood.play();
removeMovieClip(_local2);
j = bodyNum + 1;
while (j <= _local1.bodiesLeft) {
targetObject = _local1.body["body" + j];
targetObject._name = "body" + (j - 1);
targetObject.bodyNum--;
j++;
}
_local1.bodiesLeft--;
}
function helenamoving() {
_root.helena.helenaB.helenad.move.play();
}
stop();
_root.pallcount = 0;
var hangle = Number(0);
leftboundary = 10;
rightboundary = 640;
topboundary = 86;
bottomboundary = 490;
Instance of Symbol 142 MovieClip "body" in Frame 375
onClipEvent (load) {
trace("hello");
i = 1;
while (i <= 20) {
trace("hello" + i);
newbody = bodya.duplicateMovieClip("body" + i, i);
newx = random(600) - 300;
newy = random(400) - 200;
if ((((newx >= -80) && (newx <= 110)) && (newy >= -116)) && (newy <= 190)) {
newx = random(600) - 300;
newy = random(400) - 200;
if ((((newx >= -80) && (newx <= 110)) && (newy >= -116)) && (newy <= 190)) {
newx = random(600) - 300;
newy = random(400) - 200;
if ((((newx >= -80) && (newx <= 110)) && (newy >= -116)) && (newy <= 190)) {
newx = random(600) - 300;
newy = random(400) - 200;
}
}
}
newbody._x = newx;
newbody._y = newy;
newbody.dir = random(8);
newbody.bodyNum = i;
_root.bodiesLeft = 30;
i++;
}
this.bodya.gotoAndStop(5);
}
Frame 376
Frame 377
stop();
_root.pallcount = 0;
stopAllSounds();
Frame 378
play();
stopAllSounds();
_root.coffin.gotoAndStop(2);
_root.helena._visible = false;
_root.p1.gotoAndStop(5);
_root.p2.gotoAndStop(5);
_root.p3.gotoAndStop(5);
_root.p4.gotoAndStop(5);
Frame 382
churchdoor.play();
Frame 502
stopAllSounds();
Frame 503
stopAllSounds();
_root.carlife = 5;
_root.roadcounter == 0;
play();
Instance of Symbol 122 MovieClip in Frame 520
onClipEvent (enterFrame) {
if (this._x > _root.pall2x) {
this._x = this._x - 2;
}
if (this._y < _root.pall2y) {
this._y = this._y + 2;
}
}
Instance of Symbol 122 MovieClip in Frame 520
onClipEvent (enterFrame) {
if (this._x > _root.pall2x) {
this._x = this._x - 2;
}
if (this._y < _root.pall2y) {
this._y = this._y + 2;
}
}
Instance of Symbol 118 MovieClip in Frame 520
onClipEvent (enterFrame) {
if (this._x < _root.pall3x) {
this._x = this._x + 2;
}
if (this._y > _root.pall3y) {
this._y = this._y - 2;
}
}
Instance of Symbol 118 MovieClip in Frame 520
onClipEvent (enterFrame) {
if (this._x < _root.pall3x) {
this._x = this._x + 2;
}
if (this._y > _root.pall3y) {
this._y = this._y - 2;
}
}
Instance of Symbol 287 MovieClip "lifebar4" in Frame 544
onClipEvent (load) {
this.lifebar4._x = -14;
this.lifebar4._y = 12;
}
Instance of Symbol 122 MovieClip in Frame 545
/* no clip actions */
Frame 548
stopAllSounds();
Frame 549
_root.turtlehit = "no";
_root.ratthit = "no";
Instance of Symbol 294 MovieClip "ratt" in Frame 549
onClipEvent (enterFrame) {
if (this.hitTest(_root.herocar)) {
_root.ratt.gotoAndStop(8);
_root.ratthit = "yes";
}
_root.ratt._y = _root.ratt._y + 13;
if (_root.ratthit == "no") {
_root.ratt._x = _root.ratt._x + 6;
}
if (_root.ratt._y > 1600) {
_root.ratt._x = random(400);
_root.ratt._y = -20;
_root.ratthit = "no";
_root.ratt.gotoAndPlay(1);
}
}
Instance of Symbol 298 MovieClip "turtle" in Frame 549
onClipEvent (enterFrame) {
if (this.hitTest(_root.herocar)) {
_root.turtle.gotoAndStop(7);
_root.turtlehit = "yes";
}
_root.turtle._y = _root.turtle._y + 13;
if (_root.turtlehit == "no") {
_root.turtle._x = _root.turtle._x - 4;
}
if (_root.turtle._y > 1000) {
_root.turtle._x = random(300) + 200;
_root.turtle._y = -20;
_root.turtlehit = "no";
_root.turtle.gotoAndPlay(1);
}
}
Frame 550
stop();
Instance of Symbol 294 MovieClip "ratt" in Frame 550
onClipEvent (enterFrame) {
if (this.hitTest(_root.herocar) && (!(_root.ratthit === "yes"))) {
_root.ratt.gotoAndStop(8);
_root.ratthit = "yes";
_root.herocar.gotoAndPlay(25);
}
_root.ratt._y = _root.ratt._y + 13;
if (_root.ratthit == "no") {
_root.ratt._x = _root.ratt._x + 6;
}
if (_root.ratt._y > 1600) {
_root.ratt._x = random(400);
_root.ratt._y = -20;
_root.ratthit = "no";
_root.ratt.gotoAndPlay(1);
}
}
Instance of Symbol 298 MovieClip "turtle" in Frame 550
onClipEvent (enterFrame) {
if (this.hitTest(_root.herocar) && (!(_root.turtlehit === "yes"))) {
_root.turtle.gotoAndStop(7);
_root.turtlehit = "yes";
_root.herocar.gotoAndPlay(25);
}
_root.turtle._y = _root.turtle._y + 13;
if (_root.turtlehit == "no") {
_root.turtle._x = _root.turtle._x - 4;
}
if (_root.turtle._y > 1000) {
_root.turtle._x = random(300) + 200;
_root.turtle._y = -20;
_root.turtlehit = "no";
_root.turtle.gotoAndPlay(1);
}
}
Instance of Symbol 341 MovieClip "herocar" in Frame 550
onClipEvent (enterFrame) {
moveit();
edgecheck();
var bc = random(100);
var bn = random(100);
if (bc > 98) {
newDepth = random(25) + 5;
_root.newCar.firsttime = false;
_root.newCar = _root.badcarTemplate.duplicateMovieClip("badcar" + newDepth, newDepth);
_root.newCar._x = random(300) + 100;
_root.badcars[newDepth] = newCar;
}
if (bc < 2) {
newDepth = random(25) + 30;
_root.newCar.firsttime = false;
_root.newCar = _root.badcarTemplate2.duplicateMovieClip("badcar" + newDepth, newDepth);
_root.newCar._x = random(300) + 100;
_root.badcars[newDepth] = newCar;
}
}
Instance of Symbol 343 MovieClip "bulletTemplate" in Frame 550
onClipEvent (load) {
if (this._name == "bulletTemplate") {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ratt)) {
_root.score = _root.score + 10;
_root.ratt.gotoAndStop(8);
_root.ratthit = "yes";
this.removeMovieClip();
}
if (this.hitTest(_root.turtle)) {
_root.score = _root.score + 10;
_root.turtle.gotoAndStop(7);
_root.turtlehit = "yes";
this.removeMovieClip();
}
if (this._name == "bulletTemplate") {
if (Key.isDown(32)) {
_root.herocar.car.gunshot.gotoAndPlay(2);
nextDepth = random(25) + 55;
if (nextDepth > _root.totalBullets) {
_root.totalBullets = nextDepth;
}
newBullet = this.duplicateMovieClip("bullet" + nextDepth, nextDepth);
if ((oldBullet.leftright == undefined) || (oldBullet.leftright == 0)) {
newBullet.leftright = 1;
} else {
newBullet.leftright = 0;
}
newBullet.speed = 10 + _parent.herocar.ydelta;
newBullet._y = _parent.herocar._y - 8;
newBullet._x = (_parent.herocar._x + 28) + (16 * newBullet.leftright);
newBullet._visible = true;
oldBullet = newBullet;
}
} else {
this._y = this._y - (15 + speed);
if (this._y <= -8) {
this.removeMovieClip();
}
for (var piece in _parent) {
if ((piece.slice(0, 6) == "badcar") && (this.hitTest(_parent[piece]))) {
_root.score = _root.score + 10;
_parent[piece].car.play();
this.removeMovieClip();
}
}
}
}
Instance of Symbol 343 MovieClip "evilbullet" in Frame 550
onClipEvent (load) {
if (this._name == "evilbullet") {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.herocar)) {
_root.herocar.gotoAndPlay(25);
this.removeMovieClip();
}
if (!(this._name === "evilbullet")) {
this._x = this._x + (15 + speed);
if (this._x >= 500) {
this.removeMovieClip();
}
}
}
Instance of Symbol 343 MovieClip "evilbullet2" in Frame 550
onClipEvent (load) {
if (this._name == "evilbullet") {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.herocar)) {
_root.herocar.gotoAndPlay(25);
this.removeMovieClip();
}
if (!(this._name === "evilbullet")) {
this._x = this._x - (15 + speed);
if (this._x <= 0) {
this.removeMovieClip();
}
}
}
Instance of Symbol 348 MovieClip "badcarTemplate" in Frame 550
onClipEvent (load) {
ydelta = 15 + (5 * (Math.random() - 0.5));
xdelta = 0;
slowdownrange = 20;
attackrange = 0;
firsttime = true;
}
onClipEvent (enterFrame) {
var bc = random(100);
var bn = random(100);
if (this._name != "badcarTemplate") {
this._y = this._y + ydelta;
this._x = this._x + xdelta;
if (((this._y + this._height) + slowdownrange) > _parent.herocar._y) {
ydelta = ydelta - 0.2;
if (this._x > ((_parent.herocar._x + _parent.herocar._width) + attackrange)) {
xdelta = xdelta - 2;
} else if (((this._x + this._width) + attackrange) < _parent.herocar._x) {
xdelta = xdelta + 2;
}
} else {
ydelta = ydelta + 0.1;
}
if ((this._y > 500) || ((this._y + this._height) < -30)) {
this.removeMovieClip();
} else if (((this._x + this._width) >= 650) || (this._x <= 0)) {
this.play();
}
if ((this.car._currentframe == 1) && (this.hitTest(_parent.herocar))) {
if (((this._y + this._height) - 10) <= _parent.herocar._y) {
_parent.herocar.car.play();
} else if (((_parent.herocar._y + _parent.herocar._height) - 10) <= this._y) {
this._y = (_parent.herocar._y + _parent.herocar._height) + 2;
} else {
if (Key.isDown(37)) {
xadjust = -_parent.herocar.xspeed;
} else if (Key.isDown(39)) {
xadjust = _parent.herocar.xspeed;
} else {
xadjust = 0;
}
if (this._x < _parent.herocar._x) {
this._x = (_parent.herocar._x - this._width) - 4;
} else {
this._x = (_parent.herocar._x + _parent.herocar._width) + 4;
}
oldxdelta = xdelta;
xdelta = (_parent.herocar.xdelta + xadjust) / 1.5;
_parent.herocar.xdelta = oldxdelta / 1.5;
}
}
}
}
Instance of Symbol 349 MovieClip "counterclip" in Frame 550
onClipEvent (enterFrame) {
if (_root.roadcounter == 20) {
_parent.gotoAndPlay("endofroad");
}
}
Instance of Symbol 348 MovieClip "badcarTemplate2" in Frame 550
onClipEvent (load) {
ydelta = 15 + (5 * (Math.random() - 0.5));
xdelta = 0;
slowdownrange = 20;
attackrange = 0;
firsttime = true;
}
onClipEvent (enterFrame) {
var bc = random(100);
if (this._name != "badcarTemplate2") {
if ((bc > 95) && (this._currentframe == 1)) {
this.gunshot.gotoAndPlay(2);
this.gunshot2.gotoAndPlay(2);
nextDepth = random(15) + 80;
if (nextDepth > _root.totalevilBullets) {
_root.totalevilBullets = nextDepth;
}
_root.newBullet = _root.evilbullet.duplicateMovieClip("evilbullet" + nextDepth, nextDepth);
_root.newBullet2 = _root.evilbullet2.duplicateMovieClip(("evilbullet2" + nextDepth) + 1, nextDepth + 1);
_root.newBullet.speed = 10 + _parent.herocar.ydelta;
_root.newBullet2.speed = 10 + _parent.herocar.ydelta;
_root.newBullet._y = this._y;
_root.newBullet2._y = this._y;
_root.newBullet._x = this._x;
_root.newBullet2._x = this._x;
_root.newBullet._visible = true;
_root.newBullet2._visible = true;
}
this._y = this._y - ydelta;
this._x = this._x + xdelta;
if (((this._y + this._height) + slowdownrange) > _parent.herocar._y) {
ydelta = ydelta - 0.2;
if (this._x > ((_parent.herocar._x + _parent.herocar._width) + attackrange)) {
xdelta = xdelta - 2;
} else if (((this._x + this._width) + attackrange) < _parent.herocar._x) {
xdelta = xdelta + 2;
}
} else {
ydelta = ydelta + 0.1;
}
if (this._y < 0) {
this.removeMovieClip();
} else if (((this._x + this._width) >= 650) || (this._x <= 0)) {
this.play();
}
if ((this.car._currentframe == 1) && (this.hitTest(_parent.herocar))) {
if (((this._y + this._height) - 10) <= _parent.herocar._y) {
_parent.herocar.car.play();
} else if (((_parent.herocar._y + _parent.herocar._height) - 10) <= this._y) {
this._y = (_parent.herocar._y + _parent.herocar._height) + 2;
} else {
if (Key.isDown(37)) {
xadjust = -_parent.herocar.xspeed;
} else if (Key.isDown(39)) {
xadjust = _parent.herocar.xspeed;
} else {
xadjust = 0;
}
if (this._x < _parent.herocar._x) {
this._x = (_parent.herocar._x - this._width) - 4;
} else {
this._x = (_parent.herocar._x + _parent.herocar._width) + 4;
}
oldxdelta = xdelta;
xdelta = (_parent.herocar.xdelta + xadjust) / 1.5;
_parent.herocar.xdelta = oldxdelta / 1.5;
}
}
}
}
Frame 551
stop();
Frame 595
_root.endoftheroad.play();
Instance of Symbol 326 MovieClip "car" in Frame 647
/* no clip actions */
Frame 662
stopAllSounds();
Frame 778
stop();
gotoAndStop (804);
Frame 802
play();
Frame 803
stop();
stopAllSounds();
gotoAndStop (2);
Frame 804
stopAllSounds();
play();
Frame 805
play();
Frame 917
stopAllSounds();
gotoAndStop (918);
Frame 918
stop();
Instance of Symbol 422 MovieClip "maze" in Frame 918
onClipEvent (load) {
function movedown() {
ychange = -20;
moving = true;
}
function moveup() {
ychange = 20;
moving = true;
}
function moveright() {
xchange = -10;
moving = true;
}
function moveleft() {
xchange = 10;
moving = true;
}
moving = false;
totalmovement = 0;
}
onClipEvent (enterFrame) {
if (moving) {
this._y = this._y + ychange;
this._x = this._x + xchange;
totalmovement++;
if (totalmovement == 15) {
moving = false;
totalmovement = 0;
ychange = 0;
xchange = 0;
}
}
}
Instance of Symbol 432 MovieClip "timeclip" in Frame 918
onClipEvent (enterFrame) {
if (time == 0) {
_parent.lifebar5.gotoAndPlay(17);
}
}
Frame 919
play();
Frame 920
stop();
gotoAndStop (918);
Frame 921
stop();
stop();
Frame 925
play();
Frame 926
gotoAndPlay (2);
Frame 931
play();
Frame 932
gotoAndPlay (933);
Frame 933
stop();
Instance of Symbol 437 MovieClip in Frame 933
/* no clip actions */
Instance of Symbol 443 MovieClip in Frame 933
onClipEvent (enterFrame) {
if (_root.score < 300) {
this.rank = "MINDLESS ZOMBIE (LOWEST RANK!!)";
}
if ((_root.score > 290) && (_root.score <= 900)) {
this.rank = "MIDDLE UNDEAD MANAGEMENT (MIDDLE RANK!!)";
}
if (_root.score > 900) {
this.rank = "TOTAL OTHERWORLDLY BAD ASS (HIGHEST RANK!!)";
}
}
Symbol 11 MovieClip Frame 1
stop();
Symbol 33 Button
on (press) {
mess = "Love old school Video Games about the undead seeking revenge? Play the new HELENA GAME on the MCR site - http://www.mychemicalromance.com/helenagame/";
getURL (((("mailto:" + toemail1) + "?subject=HELENA VIDEO GAME on MyChemicalRomance.com&body=") + mess) + " ", "", "GET");
_parent._parent._parent.play();
}
Symbol 39 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 1
function reset(n, v) {
if (this[n] == "") {
this[n] = v;
}
}
function gotFocus(oldFocus) {
var _local1 = this;
if (oldFocus) {
reset(tempvn, tempvar);
}
tempvar = _local1.text;
tempvn = _local1.variable;
_local1.text = "";
}
function gotKilled() {
reset(this.variable, tempvar);
tempvar = "";
tempvn = "";
}
var tempvar;
var tempvn;
emailbox.onSetFocus = gotFocus;
emailbox.onKillFocus = gotKilled;
toemail1box.onSetFocus = gotFocus;
toemail1box.onKillFocus = gotKilled;
Instance of Symbol 39 MovieClip "emailcallback" in Symbol 40 MovieClip Frame 1
onClipEvent (load) {
function callback(arg) {
this.message = arg;
this.gotoAndPlay(2);
}
player.regCallbackClip(this);
}
Symbol 42 Button
on (press) {
message = "Love old school Video Games about the undead seeking revenge? Play the new HELENA GAME on the MCR site - http://www.mychemicalromance.com/helenagame/";
screenname = tosn;
getURL ("aim:goim", "", "GET");
_parent._parent._parent.play();
}
Symbol 43 MovieClip Frame 1
function reset(n, v) {
if (this[n] == "") {
this[n] = v;
}
}
function gotFocus(oldFocus) {
var _local1 = this;
if (oldFocus) {
reset(tempvn, tempvar);
}
tempvar = _local1.text;
tempvn = _local1.variable;
_local1.text = "";
}
function gotKilled() {
reset(this.variable, tempvar);
tempvar = "";
tempvn = "";
}
close.onRelease = function () {
_root.imemail.gotoAndStop(1);
};
var tempvar;
var tempvn;
tosnbox.onSetFocus = gotFocus;
tosnbox.onKillFocus = gotKilled;
Symbol 47 Button
on (press) {
play();
}
Symbol 48 MovieClip Frame 4
stop();
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 5
stop();
Symbol 49 MovieClip Frame 9
play();
Symbol 53 Button
on (release) {
getURL (("http://www.warnerreprise.com/lyris/join_list.php?email=" + addmeaddress) + "&list=mychemicalromance&good=default&error=default", "_blank");
}
Symbol 55 MovieClip Frame 1
function reset(n, v) {
if (this[n] == "") {
this[n] = v;
}
}
function gotFocus(oldFocus) {
var _local1 = this;
if (oldFocus) {
reset(tempvn, tempvar);
}
tempvar = _local1.text;
tempvn = _local1.variable;
_local1.text = "";
}
function gotKilled() {
reset(this.variable, tempvar);
tempvar = "";
tempvn = "";
}
var tempvar;
var tempvn;
ama.onSetFocus = gotFocus;
ama.onKillFocus = gotKilled;
Symbol 61 Button
on (press) {
getURL ("http://www.warnerreprise.com/qt-ref/mychemicalromance-3490_helena-7839-tdfc-video_ref.mov", "_blank");
_parent.play();
}
Symbol 65 Button
on (press) {
getURL ("http://www.warnerreprise.com/asx/mychemicalromance-3490_helena-7839-tdfc-video_56-v.asx", "_blank");
_parent.play();
}
Symbol 68 Button
on (press) {
getURL ("http://www.warnerreprise.com/asx/mychemicalromance-3490_helena-7839-tdfc-video_100-v.asx", "_blank");
_parent.play();
}
Symbol 71 Button
on (press) {
getURL ("http://www.warnerreprise.com/asx/mychemicalromance-3490_helena-7839-tdfc-video_450-v.asx", "_blank");
_parent.play();
}
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 5
stop();
Symbol 74 MovieClip Frame 9
play();
Symbol 88 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 2
stop();
Symbol 102 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 10
stop();
Symbol 105 MovieClip Frame 1
stop();
stop();
Symbol 105 MovieClip Frame 2
Symbol 128 MovieClip Frame 4
gotoAndPlay (1);
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 2
stop();
Symbol 141 MovieClip Frame 1
if (this.dead == 1) {
gotoAndPlay (5);
}
function moveit() {
var _local1 = this;
var _local2 = _root;
if (_local1.dir == 0) {
moveup = true;
moveleft = false;
moveright = false;
movedown = false;
} else if (_local1.dir == 1) {
moveup = true;
moveleft = false;
moveright = true;
movedown = false;
} else if (_local1.dir == 2) {
moveup = false;
moveleft = false;
moveright = true;
movedown = false;
} else if (_local1.dir == 3) {
moveup = false;
moveleft = false;
moveright = true;
movedown = true;
} else if (_local1.dir == 4) {
moveup = false;
moveleft = false;
moveright = false;
movedown = true;
} else if (_local1.dir == 5) {
moveup = false;
moveleft = true;
moveright = false;
movedown = true;
} else if (_local1.dir == 6) {
moveup = false;
moveleft = true;
moveright = false;
movedown = false;
} else {
moveup = true;
moveleft = true;
moveright = false;
movedown = false;
}
newx = _local1._x;
newy = _local1._y;
if (moveleft) {
newx = newx - xinc;
}
if (moveright) {
newx = newx + xinc;
}
if (moveup) {
newy = newy - yinc;
}
if (movedown) {
newy = newy + yinc;
}
if (newx <= (_local2.leftboundary - 292)) {
_local1.dir = random(3) + 1;
}
if (newx >= (_local2.rightboundary - 330)) {
_local1.dir = random(3) + 5;
}
if (newy <= (_local2.topboundary - 250)) {
_local1.dir = random(3) + 3;
}
if (newy >= (_local2.bottomboundary - 290)) {
_local1.dir = random(3);
if (_local1.dir == 2) {
_local1.dir = 7;
}
}
_local1._x = newx;
_local1._y = newy;
}
Symbol 141 MovieClip Frame 4
gotoAndPlay (1);
Symbol 141 MovieClip Frame 5
Symbol 141 MovieClip Frame 8
stop();
Instance of Symbol 141 MovieClip "bodya" in Symbol 142 MovieClip Frame 1
onClipEvent (load) {
xinc = 4;
yinc = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
moveit();
}
Symbol 162 MovieClip Frame 26
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 4
stop();
Symbol 163 MovieClip Frame 7
stop();
Symbol 163 MovieClip Frame 10
stop();
Symbol 163 MovieClip Frame 13
stop();
Symbol 163 MovieClip Frame 16
stop();
Symbol 163 MovieClip Frame 19
stop();
stopAllSounds();
_parent.gotoAndStop("playagain");
Symbol 167 MovieClip Frame 1
if (this._name == "ammo") {
stop();
}
Symbol 167 MovieClip Frame 2
this._x = _root.helena._x + 10;
this._y = _root.helena._y + 30;
speed = 10;
angle = ((_root.hangle + 90) * Math.PI) / 180;
xspeed = Math.cos(angle) * speed;
yspeed = Math.sin(angle) * speed;
if (Math.abs(xspeed) < 0.001) {
xspeed = 0;
}
if (Math.abs(yspeed) < 0.001) {
yspeed = 0;
}
play();
Symbol 167 MovieClip Frame 3
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if ((((this._x > _root.rightboundary) || (this._x < _root.leftboundary)) || (this._y < _root.topboundary)) || (this._y > _root.bottomboundary)) {
_root.shotunload(this);
gotoAndStop (1);
}
Instance of Symbol 166 MovieClip "bulletgraphic" in Symbol 167 MovieClip Frame 3
onClipEvent (enterFrame) {
i = 1;
while (i <= _root.bodiesLeft) {
bodtarg = _root.body["body" + i];
if (this.hitTest(bodtarg)) {
_root.score = _root.score + 10;
this.dead = 1;
_root.deadbody(bodtarg);
_root.shotunload(_parent);
}
i++;
}
}
Symbol 167 MovieClip Frame 4
gotoAndPlay (3);
Symbol 169 MovieClip Frame 1
stop();
Instance of Symbol 96 MovieClip in Symbol 169 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
this._parent.gotoAndStop(2);
trace("PALL");
}
}
Symbol 169 MovieClip Frame 2
stop();
_root.pall1x = 214;
_root.pall1y = 100;
Instance of Symbol 118 MovieClip in Symbol 169 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this._x < _root.pall1x) {
this._x = this._x + 2;
}
if (this._y < _root.pall1y) {
this._y = this._y + 2;
}
if (this._x >= _root.pall1x) {
_parent.gotoAndStop(7);
}
}
Symbol 169 MovieClip Frame 3
stop();
Symbol 169 MovieClip Frame 4
stop();
Symbol 169 MovieClip Frame 5
stop();
Symbol 169 MovieClip Frame 6
stop();
_root.pall1x = 0;
_root.pall1y = 0;
Instance of Symbol 118 MovieClip in Symbol 169 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this._x > _root.pall1x) {
this._x = this._x + -3;
}
if (this._y > _root.pall1y) {
this._y = this._y + -3;
}
if (this._x <= _root.pall1x) {
_parent.gotoAndStop(1);
}
}
Symbol 169 MovieClip Frame 7
stop();
_root.pallcount = _root.pallcount + 1;
trace(_root.pallcount);
Symbol 171 MovieClip Frame 1
stop();
Instance of Symbol 96 MovieClip in Symbol 171 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
this._parent.gotoAndStop(2);
trace("PALL");
}
}
Symbol 171 MovieClip Frame 2
stop();
_root.pall2x = -243;
_root.pall2y = 98;
Instance of Symbol 122 MovieClip in Symbol 171 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this._x > _root.pall2x) {
this._x = this._x - 2;
}
if (this._y < _root.pall2y) {
this._y = this._y + 2;
}
if (this._x <= _root.pall2x) {
_parent.gotoAndStop(7);
}
}
Symbol 171 MovieClip Frame 3
stop();
Symbol 171 MovieClip Frame 4
stop();
Symbol 171 MovieClip Frame 5
stop();
Symbol 171 MovieClip Frame 6
stop();
_root.pall2x = -10;
_root.pall2y = 0;
Instance of Symbol 122 MovieClip in Symbol 171 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this._x < _root.pall2x) {
this._x = this._x + 3;
}
if (this._y > _root.pall2y) {
this._y = this._y - 3;
}
if (this._x >= _root.pall2x) {
_parent.gotoAndStop(1);
}
}
Symbol 171 MovieClip Frame 7
stop();
_root.pallcount = _root.pallcount + 1;
trace(_root.pallcount);
Symbol 173 MovieClip Frame 1
stop();
Instance of Symbol 96 MovieClip in Symbol 173 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
this._parent.gotoAndStop(2);
trace("PALL");
}
}
Symbol 173 MovieClip Frame 2
stop();
_root.pall3x = 210;
_root.pall3y = -160;
Instance of Symbol 118 MovieClip in Symbol 173 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this._x < _root.pall3x) {
this._x = this._x + 2;
}
if (this._y > _root.pall3y) {
this._y = this._y - 2;
}
if (this._x >= _root.pall3x) {
_parent.gotoAndStop(7);
}
}
Symbol 173 MovieClip Frame 3
stop();
Symbol 173 MovieClip Frame 4
stop();
Symbol 173 MovieClip Frame 5
stop();
Symbol 173 MovieClip Frame 6
stop();
_root.pall3x = 0;
_root.pall3y = -9;
Instance of Symbol 118 MovieClip in Symbol 173 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this._x > _root.pall3x) {
this._x = this._x - 3;
}
if (this._y < _root.pall3y) {
this._y = this._y + 3;
}
if (this._x <= _root.pall3x) {
_parent.gotoAndStop(1);
}
}
Symbol 173 MovieClip Frame 7
stop();
_root.pallcount = _root.pallcount + 1;
trace(_root.pallcount);
Symbol 175 MovieClip Frame 1
stop();
Instance of Symbol 96 MovieClip in Symbol 175 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
this._parent.gotoAndStop(2);
trace("PALL");
}
}
Symbol 175 MovieClip Frame 2
stop();
_root.pall4x = -230;
_root.pall4y = -160;
Instance of Symbol 122 MovieClip in Symbol 175 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this._x > _root.pall4x) {
this._x = this._x - 2;
}
if (this._y > _root.pall4y) {
this._y = this._y - 2;
}
if (this._x <= _root.pall4x) {
_parent.gotoAndStop(7);
}
}
Symbol 175 MovieClip Frame 3
stop();
Symbol 175 MovieClip Frame 4
stop();
Symbol 175 MovieClip Frame 5
stop();
Symbol 175 MovieClip Frame 6
stop();
_root.pall4x = -10;
_root.pall4y = -9;
Instance of Symbol 122 MovieClip in Symbol 175 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this._x < _root.pall4x) {
this._x = this._x + 2;
}
if (this._y < _root.pall4y) {
this._y = this._y + 2;
}
if (this._x >= _root.pall4x) {
_parent.gotoAndStop(1);
}
}
Symbol 175 MovieClip Frame 7
stop();
_root.pallcount = _root.pallcount + 1;
trace(_root.pallcount);
Symbol 179 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 2
stop();
Symbol 179 MovieClip Frame 3
stop();
Symbol 179 MovieClip Frame 4
stop();
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 3
Symbol 182 MovieClip Frame 4
gotoAndPlay (2);
Symbol 186 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 2
stop();
Symbol 186 MovieClip Frame 3
stop();
Symbol 186 MovieClip Frame 4
stop();
Symbol 191 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 2
stop();
Symbol 191 MovieClip Frame 3
stop();
Symbol 191 MovieClip Frame 4
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 2
stop();
Symbol 195 MovieClip Frame 3
stop();
Symbol 195 MovieClip Frame 4
stop();
Symbol 196 MovieClip Frame 1
stop();
_root.hdir = 0;
Symbol 196 MovieClip Frame 2
stop();
_root.hdir = 270;
Symbol 196 MovieClip Frame 3
stop();
_root.hdir = 90;
Symbol 196 MovieClip Frame 4
stop();
_root.hdir = 180;
Symbol 198 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 2
stop();
Symbol 199 MovieClip Frame 1
function moveit() {
var _local1 = _root;
var _local2 = this;
newx = _local2._x;
newy = _local2._y;
if (Key.isDown(37)) {
newx = newx - xinc;
_local2.helenaB.helenad.gotoAndStop(3);
_local1.helenamoving();
}
if (Key.isDown(39)) {
newx = newx + xinc;
_local2.helenaB.helenad.gotoAndStop(2);
_local1.helenamoving();
}
if (Key.isDown(38)) {
newy = newy - yinc;
_local2.helenaB.helenad.gotoAndStop(4);
_local1.helenamoving();
}
if (Key.isDown(40)) {
newy = newy + yinc;
_local2.helenaB.helenad.gotoAndStop(1);
_local1.helenamoving();
}
if (newx == _local2._x) {
if (newy == _local2._y) {
_local1.hangle = _local1.hdir;
} else if (newy > _local2._y) {
_local1.hangle = 0;
} else {
_local1.hangle = 180;
}
} else if (newx < _local2._x) {
if (newy > _local2._y) {
_local1.hangle = 45;
} else if (newy == _local2._y) {
_local1.hangle = 90;
} else {
_local1.hangle = 135;
}
} else if (newy > _local2._y) {
_local1.hangle = -45;
} else if (newy == _local2._y) {
_local1.hangle = -90;
} else {
_local1.hangle = 225;
}
if (newx < _local1.leftboundary) {
newx = _local1.leftboundary;
} else if (newx > (_local1.rightboundary - _local2._width)) {
newx = _local1.rightboundary - _local2._width;
}
if (newy < _local1.topboundary) {
newy = _local1.topboundary;
} else if (newy > (_local1.bottomboundary - _local2._height)) {
newy = _local1.bottomboundary - _local2._height;
}
if (_local2.hitTest(_local1.coffin)) {
trace((("Helena " + _local2._x) + " Coffin ") + _local1.coffin._x);
if (_local2._x < (_local1.coffin._x - 20)) {
newx = newx - xinc;
}
if (_local2._x > (_local1.coffin._x + 20)) {
newx = newx + xinc;
}
if (_local2._y < _local1.coffin._y) {
newx = newx - yinc;
}
if (_local2._y > _local1.coffin._y) {
newx = newx + yinc;
}
}
if (newx < _local2._x) {
_local2.gotoAndStop(1);
} else if (newx > _local2._x) {
_local2.gotoAndStop(2);
}
_local2._x = newx;
_local2._y = newy;
if (Key.isDown(32)) {
newDepth = random(30) + 5;
trace((("hangle" + _local1.hangle) + "hdir") + _local1.hdir);
_local1.shot = _local1.ammo.duplicateMovieClip("ammo" + newDepth, newDepth);
_local1.shot.gotoAndPlay(2);
}
}
xinc = 4;
yinc = 4;
Symbol 206 Button
on (press) {
stopAllSounds();
_root.score = 0;
gotoAndStop ("start");
lifebar.gotoAndStop(1);
}
Symbol 209 Button
on (press) {
stopAllSounds();
gotoAndStop (2);
}
Instance of Symbol 129 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 130 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 131 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 132 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 129 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 130 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 131 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 132 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 129 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 130 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 131 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Instance of Symbol 132 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.helena)) {
_root.lifebar.play();
}
}
Symbol 236 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 4
stop();
Symbol 236 MovieClip Frame 7
stop();
Symbol 236 MovieClip Frame 10
stop();
Symbol 236 MovieClip Frame 13
stop();
Symbol 236 MovieClip Frame 16
stop();
_root.helena.helena.gotoAndPlay(2);
Symbol 236 MovieClip Frame 19
stop();
stopAllSounds();
_parent.gotoAndStop("playagain2");
Symbol 240 Button
on (press) {
stopAllSounds();
_root.score = 0;
gotoAndStop ("start2");
lifebar.gotoAndStop(1);
}
Symbol 241 Button
on (press) {
stopAllSounds();
gotoAndStop (2);
}
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 4
stop();
Symbol 254 MovieClip Frame 7
stop();
Symbol 254 MovieClip Frame 10
stop();
Symbol 254 MovieClip Frame 13
stop();
Symbol 254 MovieClip Frame 16
stop();
_root.helena.helena.gotoAndPlay(2);
Symbol 254 MovieClip Frame 19
stop();
_parent.gotoAndStop("playagain3");
Symbol 258 Button
on (press) {
stopAllSounds();
_root.score = 0;
gotoAndStop ("start4");
lifebar.gotoAndStop(1);
}
Symbol 285 Button
on (press) {
stopAllSounds();
_root.score = 0;
_root.roadcounter = 0;
_root.gotoAndStop("carstart");
}
Symbol 286 Button
on (press) {
stopAllSounds();
_root.gotoAndPlay(300);
}
Symbol 287 MovieClip Frame 1
stop();
stop();
stop();
Symbol 287 MovieClip Frame 4
stop();
Symbol 287 MovieClip Frame 7
stop();
Symbol 287 MovieClip Frame 10
stop();
Symbol 287 MovieClip Frame 13
stop();
Symbol 287 MovieClip Frame 16
stop();
Symbol 287 MovieClip Frame 19
stop();
Symbol 287 MovieClip Frame 22
stop();
Symbol 287 MovieClip Frame 25
stop();
Symbol 287 MovieClip Frame 28
stop();
Symbol 287 MovieClip Frame 31
stop();
stopAllSounds();
_parent.gotoAndStop("playagaincar");
Symbol 294 MovieClip Frame 7
gotoAndPlay (1);
Symbol 294 MovieClip Frame 8
stop();
Symbol 298 MovieClip Frame 6
gotoAndPlay (1);
Symbol 298 MovieClip Frame 7
stop();
Symbol 302 MovieClip Frame 1
play();
Symbol 302 MovieClip Frame 329
gotoAndPlay (1);
Symbol 314 MovieClip Frame 11
stop();
Symbol 319 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 2
_root.lifebar4.play();
Instance of Symbol 326 MovieClip "car" in Symbol 341 MovieClip Frame 1
/* no clip actions */
Symbol 341 MovieClip Frame 25
function moveit() {
xmove = 0;
if (Key.isDown(37)) {
xmove = -xspeed;
}
if (Key.isDown(39)) {
xmove = xspeed;
}
if (Key.isDown(38)) {
ydelta = ydelta + 1;
if (ydelta > 10) {
ydelta = 10;
}
} else if (Key.isDown(40)) {
ydelta = ydelta - 3;
if (ydelta < -15) {
ydelta = -15;
}
} else {
ydelta = ydelta - 0.5;
if (ydelta < -7) {
ydelta = ydelta + 0.7;
}
}
this._y = this._y - ydelta;
this._x = this._x + (xmove + xdelta);
if (xdelta < (-xfix)) {
xdelta = xdelta + xfix;
} else if (xdelta > xfix) {
xdelta = xdelta - xfix;
} else {
xdelta = 0;
}
}
function edgecheck() {
var _local1 = this;
if (_local1._x < 0) {
_local1._x = 0;
xdelta = 0;
play();
} else if (_local1._x > (650 - _local1._width)) {
_local1._x = 650 - _local1._width;
xdelta = 0;
play();
}
if (_local1._y < (250 - (_local1._height / 2))) {
_local1._y = 250 - (_local1._height / 2);
ydelta = 0;
} else if (_local1._y > (500 - _local1._height)) {
_local1._y = 500 - _local1._height;
ydelta = 0;
}
}
ydelta = 0;
xfix = 1.5;
xspeed = this._width / 4.5;
xdelta = 0;
stop();
Symbol 341 MovieClip Frame 26
_root.lifebar4.play();
Symbol 341 MovieClip Frame 32
_root.lifebar4.play();
stop();
if (!(_root.carlife === 0)) {
this.gotoAndStop(24);
} else {
play();
}
Symbol 341 MovieClip Frame 56
stop();
Symbol 347 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 10
stop();
_parent.removeMovieClip();
Symbol 348 MovieClip Frame 1
stop();
Symbol 348 MovieClip Frame 12
stop();
this.removeMovieClip();
Symbol 349 MovieClip Frame 40
_root.roadcounter = _root.roadcounter + 1;
trace(_root.roadcounter);
Symbol 354 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 50
stop();
Symbol 357 MovieClip Frame 9
stop();
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 5
_root.maze.helena.torch.gotoAndPlay(2);
Symbol 387 MovieClip Frame 23
_root.lights = _root.lights - 1;
Symbol 387 MovieClip Frame 44
_root.maze.helena.torch.gotoAndStop(1);
Instance of Symbol 389 MovieClip in Symbol 390 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.helena)) {
_parent._parent.helena.down = true;
_parent._parent.helena.right = false;
_parent._parent.helena.left = false;
_parent._parent.helena.up = false;
_parent._parent.helena.rota = _parent._rotation;
}
}
Instance of Symbol 392 MovieClip in Symbol 393 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.helena)) {
_parent._parent.helena.down = true;
_parent._parent.helena.right = true;
_parent._parent.helena.left = false;
_parent._parent.helena.up = false;
_parent._parent.helena.rota = _parent._rotation;
}
}
Instance of Symbol 395 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.helena)) {
_parent._parent.helena.down = true;
_parent._parent.helena.right = true;
_parent._parent.helena.left = true;
_parent._parent.helena.up = true;
_parent._parent.helena.rota = _parent._rotation;
}
}
Instance of Symbol 398 MovieClip in Symbol 399 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.helena)) {
_parent._parent.helena.down = true;
_parent._parent.helena.right = true;
_parent._parent.helena.left = true;
_parent._parent.helena.up = false;
_parent._parent.helena.rota = _parent._rotation;
}
}
Instance of Symbol 401 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.helena)) {
_parent._parent.helena.down = true;
_parent._parent.helena.right = false;
_parent._parent.helena.left = false;
_parent._parent.helena.up = true;
_parent._parent.helena.rota = _parent._rotation;
}
}
Instance of Symbol 404 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.helena)) {
_parent._parent.helena.down = true;
_parent._parent.helena.right = false;
_parent._parent.helena.left = true;
_parent._parent.helena.up = false;
_parent._parent.helena.rota = _parent._rotation;
}
}
Symbol 421 MovieClip Frame 1
stop();
Symbol 421 MovieClip Frame 7
stop();
_root.mazefirst = false;
Symbol 422 MovieClip Frame 1
_root.mazefirst = true;
Instance of Symbol 387 MovieClip "tunnelmask" in Symbol 422 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _parent.helena._x - 80;
this._y = _parent.helena._y - 75;
if (Key.isDown(32)) {
if (_root.lights > 0) {
gotoAndPlay (5);
}
}
}
Instance of Symbol 406 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.maze.helena)) {
_root.lifebar5.play();
}
}
Instance of Symbol 407 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.maze.helena)) {
_root.lifebar5.play();
}
}
Instance of Symbol 408 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.maze.helena)) {
_root.lifebar5.play();
}
}
Instance of Symbol 196 MovieClip "helena" in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
function movedown() {
ychange = 10;
moving = true;
}
function moveright() {
xchange = 10;
this.gotoAndStop(2);
moving = true;
}
function moveleft() {
xchange = -10;
this.gotoAndStop(3);
moving = true;
}
function moveup() {
ychange = -10;
this.gotoAndStop(4);
moving = true;
}
moving = false;
totalmovement = 0;
loaded = false;
}
onClipEvent (enterFrame) {
if (!loaded) {
if (rota == 0) {
godown = down;
goright = right;
goleft = left;
goup = up;
} else if (rota == 90) {
godown = right;
goright = up;
goleft = down;
goup = left;
} else if (rota == 180) {
godown = up;
goright = left;
goleft = right;
goup = down;
} else {
godown = left;
goright = down;
goleft = up;
goup = right;
}
}
if (!moving) {
if (Key.isDown(40)) {
this.gotoAndStop(1);
if (godown) {
movedown();
}
} else if (Key.isDown(39)) {
this.gotoAndStop(2);
if (goright) {
moveright();
}
} else if (Key.isDown(37)) {
this.gotoAndStop(3);
if (goleft) {
moveleft();
}
} else if (Key.isDown(38)) {
this.gotoAndStop(4);
if (goup) {
moveup();
}
}
} else {
this._y = this._y + ychange;
this._x = this._x + xchange;
if (((_parent._y + this._y) + (this._height / 2)) < 0) {
_parent.moveup();
} else if (((_parent._y + this._y) + (this._height / 2)) > 480) {
_parent.movedown();
}
if (((_parent._x + this._x) + (this._width / 2)) < 0) {
_parent.moveleft();
} else if (((_parent._x + this._x) + (this._width / 2)) > 620) {
_parent.moveright();
}
totalmovement++;
if (totalmovement == 13) {
moving = false;
totalmovement = 0;
ychange = 0;
xchange = 0;
if (rota == 0) {
godown = down;
goright = right;
goleft = left;
goup = up;
} else if (rota == 90) {
godown = right;
goright = up;
goleft = down;
goup = left;
} else if ((rota == 180) || (rota == -180)) {
godown = up;
goright = left;
goleft = right;
goup = down;
} else {
godown = left;
goright = down;
goleft = up;
goup = right;
}
}
}
}
Instance of Symbol 421 MovieClip "winbox" in Symbol 422 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.maze.helena)) {
_root.score = _root.score + (_root.timeclip.time * 10);
stopAllSounds();
_root.gotoAndPlay("winit");
}
}
Symbol 424 Button
on (press) {
stopAllSounds();
_root.score = 0;
_root.lights = 5;
_root.play();
gotoAndStop (1);
}
Symbol 425 Button
on (press) {
stopAllSounds();
_root.gotoAndPlay(8);
}
Symbol 427 Button
on (press) {
stopAllSounds();
_root.score = 0;
_root.play();
gotoAndStop (1);
_root.lights = 5;
}
Symbol 428 MovieClip Frame 1
stop();
Symbol 428 MovieClip Frame 4
stop();
Symbol 428 MovieClip Frame 7
stop();
Symbol 428 MovieClip Frame 10
stop();
Symbol 428 MovieClip Frame 13
stop();
Symbol 428 MovieClip Frame 16
stop();
Symbol 428 MovieClip Frame 19
stop();
stopAllSounds();
_root.play();
Symbol 428 MovieClip Frame 25
stop();
Symbol 432 MovieClip Frame 24
time = time - 1;
Symbol 436 MovieClip Frame 10
stop();
Symbol 447 Button
on (press) {
stopAllSounds();
_root.gotoAndPlay(3);
}