Frame 1
_quality = "medium";
Stage.showMenu = false;
Frame 2
_root.armour = 1;
_root.weapon = 1;
_root.shieldgraphic = 1;
_root.emotion = 1;
Instance of Symbol 30 MovieClip "music" in Frame 2
onClipEvent (load) {
gotoAndStop ("title");
}
Instance of Symbol 38 MovieClip in Frame 2
onClipEvent (load) {
label = "SKIP";
active = false;
}
on (release) {
_root.gotoAndStop("menu");
}
on (rollOver, dragOver) {
gotoAndStop ("over");
}
on (rollOut, dragOut) {
gotoAndStop ("off");
}
on (press) {
gotoAndStop ("hit");
}
on (release) {
gotoAndStop ("over");
}
on (releaseOutside) {
gotoAndStop ("off");
}
Frame 510
_root.armour = 2;
_root.weapon = 3;
_root.shieldgraphic = 3;
_root.emotion = 1;
stop();
Instance of Symbol 103 MovieClip "instructions" in Frame 510
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 38 MovieClip in Frame 510
onClipEvent (load) {
_root.gameactive = false;
label = "START!";
active = false;
_root.pass = "";
}
on (release) {
if (((_root.pass == "cave") or (_root.pass == "Cave")) or (_root.pass == "CAVE")) {
_root.level = "level2";
_root.gotoAndStop("level2");
} else if (((_root.pass == "foothills") or (_root.pass == "Foothills")) or (_root.pass == "FOOTHILLS")) {
_root.level = "level3";
_root.gotoAndStop("level3");
} else if (((_root.pass == "peaks") or (_root.pass == "PEAKS")) or (_root.pass == "Peaks")) {
_root.level = "level4";
_root.gotoAndStop("level4");
} else if ((((_root.pass == "endmovie") or (_root.pass == "Endmovie")) or (_root.pass == "ENDMOVIE")) or (_root.pass == "EndMovie")) {
_root.gotoAndStop("level5");
} else if (_root.gameactive == true) {
_root.level = "level1";
_root.gotoAndStop("intro");
} else {
_root.pass = "incorrect";
}
}
on (rollOver, dragOver) {
gotoAndStop ("over");
}
on (rollOut, dragOut) {
gotoAndStop ("off");
}
on (press) {
gotoAndStop ("hit");
}
on (release) {
gotoAndStop ("over");
}
on (releaseOutside) {
gotoAndStop ("off");
}
Instance of Symbol 38 MovieClip "button instructions" in Frame 510
onClipEvent (load) {
label = "Instructions";
active = false;
}
on (release) {
_root.instructions._visible = true;
}
on (rollOver, dragOver) {
gotoAndStop ("over");
}
on (rollOut, dragOut) {
gotoAndStop ("off");
}
on (press) {
gotoAndStop ("hit");
}
on (release) {
gotoAndStop ("over");
}
on (releaseOutside) {
gotoAndStop ("off");
}
Instance of Symbol 38 MovieClip in Frame 510
onClipEvent (load) {
label = "Here";
active = false;
}
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
on (rollOver, dragOver) {
gotoAndStop ("over");
}
on (rollOut, dragOut) {
gotoAndStop ("off");
}
on (press) {
gotoAndStop ("hit");
}
on (release) {
gotoAndStop ("over");
}
on (releaseOutside) {
gotoAndStop ("off");
}
Frame 1143
_root.weapon = 3;
_root.shieldgraphic = 3;
_root.armour = 2;
_root.emotion = 3;
stop();
Frame 1989
stop();
Instance of Symbol 121 MovieClip "blind" in Frame 1989
onClipEvent (load) {
_root.maxhealth = 4;
_root.health = 4;
_root.shieldgraphic = 1;
_root.armour = 1;
_root.shield = 40;
_root.weapon = 1;
_root.kills = 0;
_root.money = 0;
_root.emotion = 1;
switcher = false;
this.gotoAndPlay("middle");
active = true;
}
onClipEvent (enterFrame) {
if (active == true) {
this.play();
}
if (switcher == true) {
_root.gotoAndStop("blank");
_root.gotoAndStop(_root.level);
active = true;
switcher = false;
}
}
Instance of Symbol 351 MovieClip in Frame 1989
onClipEvent (load) {
_root.music.gotoAndStop("foothill");
}
Instance of Symbol 147 MovieClip in Frame 1990
onClipEvent (load) {
this._visible = false;
}
on (release) {
}
Instance of Symbol 360 MovieClip in Frame 1990
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
this.swapDepths(0);
_root.ii++;
_root.spark.duplicateMovieClip("spark" + _root.ii, _root.ii, _root.ii);
_root["spark" + _root.ii].active = true;
_root.money++;
this.removeMovieClip();
}
}
Instance of Symbol 437 MovieClip in Frame 1990
onClipEvent (load) {
_root.ii = 10000;
Mouse.hide();
_root.pause = false;
active = true;
}
onClipEvent (enterFrame) {
if (Key.isDown(32) and (_root.lucy.dead == false)) {
if (active == true) {
active = false;
if (_root.pause == true) {
this.gotoAndPlay("unpause");
_root.lucy.gotoAndStop("run");
_root.lucy.gotoAndStop("stand");
} else {
_root.pause = true;
this.gotoAndPlay("pause");
}
}
}
}
Instance of Symbol 451 MovieClip "pow" in Frame 1990
onClipEvent (load) {
timer = 15;
pos = random(50) - 25;
this._x = this._x + pos;
this._y = this._y + pos;
this._rotation = this._rotation + pos;
pow = _root.lucy.varattacktype + 1;
this.gotoAndStop(pow);
if (_root.lucy.flare == true) {
this.gotoAndStop("special");
} else if (_root.lucy.varjump == true) {
this.gotoAndStop("stab");
} else if (_root.lucy.roll == true) {
this.gotoAndStop("roll");
} else if (_root.lucy.sprung == true) {
this.gotoAndStop("boing");
}
if (active == true) {
this._visible = true;
} else if (active == "spring") {
this._alpha = 80;
this.gotoAndStop("boing");
} else {
_root.ii = 0;
this.stop();
this._visible = false;
}
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
this.removeMovieClip();
}
}
Instance of Symbol 459 MovieClip "smoke" in Frame 1990
/* no clip actions */
Instance of Symbol 147 MovieClip in Frame 1990
onClipEvent (load) {
this._visible = false;
}
on (release) {
}
Instance of Symbol 475 MovieClip "output" in Frame 1990
onClipEvent (load) {
speed = 10;
distance = 120;
timerstore = 150;
timer = timerstore;
active = false;
pos = this._y;
}
onClipEvent (enterFrame) {
if (active == true) {
if (this._y > (pos - distance)) {
this._y = this._y - speed;
}
if (timer < 0) {
active = false;
timer = timerstore;
} else {
timer--;
}
} else if (this._y < pos) {
this._y = this._y + speed;
}
}
Instance of Symbol 525 MovieClip "ground" in Frame 1990
onClipEvent (load) {
_root.music.gotoAndStop("castle");
_root.platformgraphic = 1;
_root.output.active = true;
_root.output.line1 = "Chapter 1";
_root.output.line2 = "Castle Escape";
}
Instance of Symbol 547 MovieClip "lucy" in Frame 1990
onClipEvent (load) {
walkoff = false;
combo = 0;
combotimerstore = 50;
combotimer = combotimerstore;
_root.health = _root.maxhealth;
shield = _root.shield;
flare = false;
attacktimerstore = 20;
attacktimer = attacktimerstore;
varattacktype = 2;
stuntime = 1.3;
STOREvarspringheight = 5;
bgspeed = 15;
_root.varmaxspeed = 10;
varaccel = 1;
vargravity = 30;
varbounce = 6;
dead = false;
varstunned = false;
hit = false;
hitswitch = false;
roll = false;
varspringheight = STOREvarspringheight;
varspeed = 0;
vardrop = 0;
STOREvarmaxjump = vargravity;
varmaxjump = STOREvarmaxjump;
varjumpspeed = STOREvarmaxjump;
STOREvarjumpspeed = varjumpspeed;
varjump = false;
varjumpswitch = false;
varjumptimer = 0;
varscale = this._xscale;
varattack = false;
varattackswitch = false;
varattacktype = 1;
}
onClipEvent (enterFrame) {
if (combotimer > 0) {
combotimer--;
} else {
if (combo > 0) {
combotimer = combotimerstore;
}
combo = 0;
}
if (attacktimer < 0) {
varattacktype = 3;
attacktimer = attacktimerstore;
} else {
attacktimer--;
}
if (dead == true) {
this.swapDepths(100);
this._alpha = 100;
_root.emotion = 2;
this.gotoAndStop("dead");
} else if (_root.pause == false) {
if (walkoff == true) {
this.gotoAndStop("walkoff");
} else {
if (_root.health <= 0) {
dead = true;
}
if ((varstunned == false) and ((Key.isDown(65) and (varjump == false)) or (sprung == true))) {
if (varjumpswitch == false) {
varjump = true;
varjumpswitch = true;
}
}
_root.ground._x = _root.ground._x + varspeed;
if (Key.isDown(39) and (varstunned == false)) {
if (varjump == false) {
if (varattack == false) {
_root.emotion = 1;
this.gotoAndStop("run");
this._xscale = varscale;
}
}
if (varspeed > (-_root.varmaxspeed)) {
varspeed = varspeed - varaccel;
}
} else if (Key.isDown(37) and (varstunned == false)) {
if (varjump == false) {
if (varattack == false) {
_root.emotion = 1;
this.gotoAndStop("run");
this._xscale = -varscale;
}
}
if (varspeed < _root.varmaxspeed) {
varspeed = varspeed + varaccel;
}
} else {
if ((varjump == false) and (varstunned == false)) {
if (varattack == false) {
_root.emotion = 1;
this.gotoAndStop("stand");
}
}
if (varspeed > 0) {
varspeed = varspeed - varaccel;
} else if (varspeed < 0) {
varspeed = varspeed + varaccel;
}
}
if (Key.isDown(83) and (varattackswitch == false)) {
attacktimer = attacktimerstore;
varattack = true;
varattackswitch = true;
if (varjump == true) {
if (Key.isDown(38)) {
varattacktype = 5;
} else if (Key.isDown(40)) {
varattacktype = 6;
} else {
varattacktype = 7;
}
} else if ((varspeed > (_root.varmaxspeed - varaccel)) or (varspeed < ((-_root.varmaxspeed) + varaccel))) {
varattacktype = 4;
} else if (varattacktype < 3) {
varattacktype++;
} else {
varattacktype = 0;
}
} else if ((Key.isDown(83) == false) and (varattack == false)) {
varattackswitch = false;
}
if (varattack == true) {
_root.emotion = 3;
if (varattacktype == 0) {
this.gotoAndStop("attack1");
} else if (varattacktype == 1) {
this.gotoAndStop("attack2");
} else if (varattacktype == 2) {
this.gotoAndStop("attack3");
} else if (varattacktype == 3) {
this.gotoAndStop("attack4");
} else if (varattacktype == 4) {
this.gotoAndStop("attackroll");
} else if (varattacktype == 5) {
this.gotoAndStop("attackjumpup");
} else if (varattacktype == 6) {
this.gotoAndStop("attackjump");
} else if (varattacktype == 7) {
this.gotoAndStop("attackjumpstraight");
}
}
if ((varjump == true) and (varjumpswitch == true)) {
if (varjumptimer < varmaxjump) {
_root.ground._y = _root.ground._y + varjumpspeed;
varjumpspeed--;
varjumptimer++;
if (varjumpspeed > (vargravity / 2)) {
if (varattack == false) {
_root.emotion = 1;
this.gotoAndStop("jump");
}
} else if (varattack == false) {
_root.emotion = 1;
this.gotoAndStop("fall");
}
} else {
varjumpswitch = false;
}
}
if (_root.ground.hitTest(_x + 30, _y - 50, true)) {
varspeed = _root.varmaxspeed - varbounce;
} else if (_root.ground.hitTest(_x - 30, _y - 50, true)) {
varspeed = -(_root.varmaxspeed - varbounce);
}
if (_root.ground.hitTest(_x, _y, true)) {
sprung = false;
vardrop = 0;
varjump = false;
varjumpswitch = true;
while (_root.ground.hitTest(_x, _y, true)) {
_root.ground._y = _root.ground._y + 0.5;
}
if (Key.isDown(65) == false) {
varmaxjump = STOREvarmaxjump;
varjumpspeed = STOREvarmaxjump;
varjumpswitch = false;
varjumptimer = 0;
}
} else if (_root.ground.hitTest(_x, _y - 100, true)) {
varmaxjump = 0;
} else if (varjump == false) {
if (varattack == false) {
this.gotoAndStop("fall");
}
varjump = true;
}
if (vardrop < vargravity) {
vardrop++;
}
_root.ground._y = _root.ground._y - vardrop;
if (sprung == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = "spring";
_root["smoke" + _root.ii]._x = _root.lucy._x;
_root["smoke" + _root.ii]._y = _root.lucy._y;
pow = false;
}
varjumpspeed = varjumpspeed + varspringheight;
if (varspringheight > 0) {
varspringheight = varspringheight - 1;
} else {
varspringheight = 0;
}
} else {
pow = true;
varspringheight = STOREvarspringheight;
}
}
if ((hit == true) and (shield > 0)) {
if (shield > (_root.shield / stuntime)) {
varstunned = true;
_root.emotion = 2;
this.gotoAndStop("hit");
} else {
varstunned = false;
}
if (hitswitch == false) {
this._alpha = 0;
hitswitch = true;
} else {
this._alpha = 100;
hitswitch = false;
}
shield--;
} else {
hit = false;
shield = _root.shield;
_alpha = 100;
}
}
}
Instance of Symbol 360 MovieClip "scaler" in Frame 1990
onClipEvent (load) {
_root.lucy._xscale = -_root.lucy.varscale;
}
Instance of Symbol 451 MovieClip "pow" in Frame 1991
onClipEvent (load) {
timer = 15;
pos = random(50) - 25;
this._x = this._x + pos;
this._y = this._y + pos;
this._rotation = this._rotation + pos;
pow = _root.lucy.varattacktype + 1;
this.gotoAndStop(pow);
if (_root.lucy.flare == true) {
this.gotoAndStop("special");
} else if (_root.lucy.varjump == true) {
this.gotoAndStop("stab");
} else if (_root.lucy.roll == true) {
this.gotoAndStop("roll");
} else if (_root.lucy.sprung == true) {
this.gotoAndStop("boing");
}
if (active == true) {
this._visible = true;
} else if (active == "spring") {
this._alpha = 80;
this.gotoAndStop("boing");
} else {
_root.ii = 0;
this.stop();
this._visible = false;
}
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
this.removeMovieClip();
}
}
Instance of Symbol 459 MovieClip "smoke" in Frame 1991
/* no clip actions */
Instance of Symbol 565 MovieClip "ground" in Frame 1991
onClipEvent (load) {
_root.music.gotoAndStop("cave");
_root.platformgraphic = 2;
_root.output.active = true;
_root.output.line1 = "Chapter 2";
_root.output.line2 = "Secret Cave";
_root.output.line3 = "Password: Cave";
}
Instance of Symbol 574 MovieClip "ground" in Frame 1992
onClipEvent (load) {
_root.music.gotoAndStop("foothill");
_root.platformgraphic = 3;
_root.output.active = true;
_root.output.line1 = "Chapter 3";
_root.outpur.line2 = "The Misty Foothills";
_root.output.line3 = "Password: Foothills";
}
Instance of Symbol 589 MovieClip "ground" in Frame 1993
onClipEvent (load) {
_root.music.gotoAndStop("peaks");
_root.platformgraphic = 4;
_root.output.active = true;
_root.output.line1 = "Chapter 4";
_root.output.line2 = "Sunset Peaks";
_root.output.line3 = "Password: Peaks";
}
Symbol 5 Button
on (release) {
getURL ("http://www.newgrounds.com", "blank");
}
Symbol 14 Button
on (release) {
_root.play();
}
Symbol 15 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 15 MovieClip Frame 2
gotoAndPlay (1);
Symbol 30 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 430
stop();
Symbol 50 MovieClip Frame 1
stop();
Instance of Symbol 45 MovieClip in Symbol 50 MovieClip Frame 1
onClipEvent (load) {
_parent.gotoAndStop(_root.weapon);
}
Instance of Symbol 45 MovieClip in Symbol 55 MovieClip Frame 1
onClipEvent (load) {
_parent.gotoAndStop(_root.armour);
}
Instance of Symbol 45 MovieClip in Symbol 60 MovieClip Frame 1
onClipEvent (load) {
_parent.gotoAndStop(_root.emotion);
}
Instance of Symbol 45 MovieClip in Symbol 71 MovieClip Frame 1
onClipEvent (load) {
_parent.gotoAndStop(_root.armour);
}
Instance of Symbol 45 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (load) {
_parent.gotoAndStop(_root.armour);
}
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 263
this._visible = false;
_root.music.gotoAndStop(1);
_root.music.gotoAndStop("title");
Symbol 103 MovieClip Frame 1
stop();
Instance of Symbol 95 MovieClip "ciymovie" in Symbol 103 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 38 MovieClip in Symbol 103 MovieClip Frame 1
onClipEvent (load) {
label = "Next";
active = false;
}
on (release) {
_parent.nextFrame();
}
on (rollOver, dragOver) {
gotoAndStop ("over");
}
on (rollOut, dragOut) {
gotoAndStop ("off");
}
on (press) {
gotoAndStop ("hit");
}
on (release) {
gotoAndStop ("over");
}
on (releaseOutside) {
gotoAndStop ("off");
}
Instance of Symbol 38 MovieClip in Symbol 103 MovieClip Frame 1
onClipEvent (load) {
label = "Link";
active = false;
}
on (release) {
getURL ("http://www.edgen.com ", "_blank");
}
on (rollOver, dragOver) {
gotoAndStop ("over");
}
on (rollOut, dragOut) {
gotoAndStop ("off");
}
on (press) {
gotoAndStop ("hit");
}
on (release) {
gotoAndStop ("over");
}
on (releaseOutside) {
gotoAndStop ("off");
}
Instance of Symbol 38 MovieClip in Symbol 103 MovieClip Frame 1
onClipEvent (load) {
label = "Link";
active = false;
}
on (release) {
getURL ("http://www.newgrounds.com/portal/search.php?kind=a&terms=ciyfox", "_blank");
}
on (rollOver, dragOver) {
gotoAndStop ("over");
}
on (rollOut, dragOut) {
gotoAndStop ("off");
}
on (press) {
gotoAndStop ("hit");
}
on (release) {
gotoAndStop ("over");
}
on (releaseOutside) {
gotoAndStop ("off");
}
Instance of Symbol 38 MovieClip in Symbol 103 MovieClip Frame 1
onClipEvent (load) {
label = "View";
active = false;
}
on (release, releaseOutside) {
stopAllSounds();
_parent.ciymovie._visible = true;
_parent.ciymovie.play();
}
on (rollOver, dragOver) {
gotoAndStop ("over");
}
on (rollOut, dragOut) {
gotoAndStop ("off");
}
on (press) {
gotoAndStop ("hit");
}
on (release) {
gotoAndStop ("over");
}
on (releaseOutside) {
gotoAndStop ("off");
}
Instance of Symbol 38 MovieClip in Symbol 103 MovieClip Frame 2
onClipEvent (load) {
label = "Next";
active = false;
}
on (release) {
_parent.nextFrame();
}
on (rollOver, dragOver) {
gotoAndStop ("over");
}
on (rollOut, dragOut) {
gotoAndStop ("off");
}
on (press) {
gotoAndStop ("hit");
}
on (release) {
gotoAndStop ("over");
}
on (releaseOutside) {
gotoAndStop ("off");
}
Instance of Symbol 38 MovieClip in Symbol 103 MovieClip Frame 4
onClipEvent (load) {
label = "Link";
active = false;
}
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
on (rollOver, dragOver) {
gotoAndStop ("over");
}
on (rollOut, dragOut) {
gotoAndStop ("off");
}
on (press) {
gotoAndStop ("hit");
}
on (release) {
gotoAndStop ("over");
}
on (releaseOutside) {
gotoAndStop ("off");
}
Instance of Symbol 38 MovieClip in Symbol 103 MovieClip Frame 5
onClipEvent (load) {
label = "Done!";
active = false;
}
on (release) {
_parent._visible = false;
_root.gameactive = true;
_root.pass = "Click Start";
_parent.gotoAndStop(1);
}
on (rollOver, dragOver) {
gotoAndStop ("over");
}
on (rollOut, dragOut) {
gotoAndStop ("off");
}
on (press) {
gotoAndStop ("hit");
}
on (release) {
gotoAndStop ("over");
}
on (releaseOutside) {
gotoAndStop ("off");
}
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 15
active = false;
switcher = true;
stop();
Symbol 121 MovieClip Frame 30
active = false;
this.gotoAndStop(1);
Symbol 143 MovieClip Frame 1
stop();
Instance of Symbol 45 MovieClip in Symbol 143 MovieClip Frame 1
onClipEvent (load) {
_parent.gotoAndStop(_root.shieldgraphic);
}
Symbol 147 MovieClip Frame 1
stop();
Instance of Symbol 45 MovieClip in Symbol 147 MovieClip Frame 1
onClipEvent (load) {
_parent.gotoAndStop(_root.platformgraphic);
}
Symbol 346 MovieClip Frame 1
_root.emotion = 4;
_root.armour = 1;
_root.weapon = 1;
_root.shieldgraphic = 1;
Symbol 346 MovieClip Frame 252
_root.emotion = 1;
Symbol 346 MovieClip Frame 468
stop();
_parent.stop();
_parent._parent.stop();
Instance of Symbol 38 MovieClip in Symbol 346 MovieClip Frame 468
onClipEvent (load) {
label = "Continue";
active = false;
}
on (release) {
play();
_parent._parent.play();
_parent.play();
}
on (rollOver, dragOver) {
gotoAndStop ("over");
}
on (rollOut, dragOut) {
gotoAndStop ("off");
}
on (press) {
gotoAndStop ("hit");
}
on (release) {
gotoAndStop ("over");
}
on (releaseOutside) {
gotoAndStop ("off");
}
Symbol 346 MovieClip Frame 473
_root.emotion = 3;
Symbol 346 MovieClip Frame 661
stopAllSounds();
_root.blind.active = true;
stop();
Symbol 351 MovieClip Frame 700
stop();
Symbol 357 MovieClip Frame 1
stop();
Instance of Symbol 355 MovieClip in Symbol 357 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 357 MovieClip in Symbol 358 MovieClip Frame 1
onClipEvent (load) {
limit = 8;
maxlimit = 8;
}
onClipEvent (enterFrame) {
if (_root.maxhealth < maxlimit) {
this.gotoAndStop("gone");
} else if (_root.health < (limit - 1)) {
this.gotoAndStop("dead");
} else if (_root.health < limit) {
this.gotoAndStop("half");
} else {
this.gotoAndStop("full");
}
}
Instance of Symbol 357 MovieClip in Symbol 358 MovieClip Frame 1
onClipEvent (load) {
limit = 10;
maxlimit = 10;
}
onClipEvent (enterFrame) {
if (_root.maxhealth < maxlimit) {
this.gotoAndStop("gone");
} else if (_root.health < (limit - 1)) {
this.gotoAndStop("dead");
} else if (_root.health < limit) {
this.gotoAndStop("half");
} else {
this.gotoAndStop("full");
}
}
Instance of Symbol 357 MovieClip in Symbol 358 MovieClip Frame 1
onClipEvent (load) {
limit = 6;
maxlimit = 6;
}
onClipEvent (enterFrame) {
if (_root.maxhealth < maxlimit) {
this.gotoAndStop("gone");
} else if (_root.health < (limit - 1)) {
this.gotoAndStop("dead");
} else if (_root.health < limit) {
this.gotoAndStop("half");
} else {
this.gotoAndStop("full");
}
}
Instance of Symbol 357 MovieClip in Symbol 358 MovieClip Frame 1
onClipEvent (load) {
limit = 4;
maxlimit = 0;
}
onClipEvent (enterFrame) {
if (_root.maxhealth < maxlimit) {
this.gotoAndStop("gone");
} else if (_root.health < (limit - 1)) {
this.gotoAndStop("dead");
} else if (_root.health < limit) {
this.gotoAndStop("half");
} else {
this.gotoAndStop("full");
}
}
Symbol 358 MovieClip Frame 5
stop();
Instance of Symbol 357 MovieClip in Symbol 358 MovieClip Frame 5
onClipEvent (load) {
limit = 8;
maxlimit = 8;
}
onClipEvent (enterFrame) {
if (_root.maxhealth < maxlimit) {
this.gotoAndStop("gone");
} else if (_root.health < (limit - 1)) {
this.gotoAndStop("dead");
} else if (_root.health < limit) {
this.gotoAndStop("half");
} else {
this.gotoAndStop("full");
}
}
Instance of Symbol 357 MovieClip in Symbol 358 MovieClip Frame 5
onClipEvent (load) {
limit = 10;
maxlimit = 10;
}
onClipEvent (enterFrame) {
if (_root.maxhealth < maxlimit) {
this.gotoAndStop("gone");
} else if (_root.health < (limit - 1)) {
this.gotoAndStop("dead");
} else if (_root.health < limit) {
this.gotoAndStop("half");
} else {
this.gotoAndStop("full");
}
}
Instance of Symbol 357 MovieClip in Symbol 358 MovieClip Frame 5
onClipEvent (load) {
limit = 6;
maxlimit = 6;
}
onClipEvent (enterFrame) {
if (_root.maxhealth < maxlimit) {
this.gotoAndStop("gone");
} else if (_root.health < (limit - 1)) {
this.gotoAndStop("dead");
} else if (_root.health < limit) {
this.gotoAndStop("half");
} else {
this.gotoAndStop("full");
}
}
Instance of Symbol 357 MovieClip in Symbol 358 MovieClip Frame 5
onClipEvent (load) {
limit = 2;
maxlimit = 0;
}
onClipEvent (enterFrame) {
if (_root.maxhealth < maxlimit) {
this.gotoAndStop("gone");
} else if (_root.health < (limit - 1)) {
this.gotoAndStop("dead");
} else if (_root.health < limit) {
this.gotoAndStop("half");
} else {
this.gotoAndStop("full");
}
}
Symbol 360 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 1
stop();
Instance of Symbol 381 MovieClip in Symbol 388 MovieClip Frame 1
on (release) {
if ((_parent._alpha == 100) and (_root.money >= _parent.cost)) {
_parent.active = true;
_root.money = _root.money - _parent.cost;
}
}
on (rollOver, dragOver) {
gotoAndStop ("over");
}
on (rollOut, dragOut) {
gotoAndStop ("off");
}
on (press) {
if (_parent._alpha == 100) {
gotoAndStop ("hit");
}
}
on (release) {
gotoAndStop ("over");
}
on (releaseOutside) {
gotoAndStop ("off");
}
Instance of Symbol 383 MovieClip in Symbol 388 MovieClip Frame 1
on (release) {
}
Instance of Symbol 383 MovieClip in Symbol 388 MovieClip Frame 1
on (release) {
}
Symbol 437 MovieClip Frame 1
stop();
Instance of Symbol 388 MovieClip in Symbol 437 MovieClip Frame 21
onClipEvent (load) {
item = "Health";
description = "Recover a heart.";
cost = 10;
active = false;
}
onClipEvent (enterFrame) {
if (_root.health >= _root.maxhealth) {
this._alpha = 50;
} else if ((active == true) and (_root.health >= (_root.maxhealth - 1))) {
_root.health = _root.health + 1;
active = false;
} else if (active == true) {
_root.health = _root.health + 2;
active = false;
}
}
Instance of Symbol 388 MovieClip in Symbol 437 MovieClip Frame 26
onClipEvent (load) {
item = "Sword";
lvl2cost = 20;
lvl3cost = 35;
lvl4cost = 50;
active = false;
}
onClipEvent (enterFrame) {
upgrade = _root.weapon;
level = upgrade;
if (active == true) {
_root.weapon++;
active = false;
}
if (level == 1) {
cost = lvl2cost;
} else if (level == 2) {
cost = lvl3cost;
} else if (level == 3) {
cost = lvl4cost;
} else {
_alpha = 50;
cost = "---";
}
}
Instance of Symbol 388 MovieClip in Symbol 437 MovieClip Frame 31
onClipEvent (load) {
item = "Armor";
lvl2cost = 20;
lvl3cost = 35;
lvl4cost = 50;
lvl5cost = 50;
active = false;
}
onClipEvent (enterFrame) {
upgrade = _root.maxhealth;
level = upgrade;
if (active == true) {
_root.maxhealth = _root.maxhealth + 2;
_root.health = _root.health + 2;
_root.armour++;
active = false;
}
if (level == 4) {
cost = lvl2cost;
} else if (level == 6) {
cost = lvl3cost;
} else if (level == 8) {
cost = lvl4cost;
} else if (level == 10) {
cost = lvl5cost;
} else {
_alpha = 50;
cost = "---";
}
}
Instance of Symbol 388 MovieClip in Symbol 437 MovieClip Frame 31
onClipEvent (load) {
item = "Sword";
description = "More power and range.";
lvl2cost = 10;
lvl3cost = 20;
lvl4cost = 30;
active = false;
}
onClipEvent (enterFrame) {
upgrade = _root.weapon;
level = upgrade;
if (active == true) {
_root.weapon++;
active = false;
}
if (level == 1) {
cost = lvl2cost;
} else if (level == 2) {
cost = lvl3cost;
} else if (level == 3) {
cost = lvl4cost;
} else {
_alpha = 50;
cost = "---";
}
}
Instance of Symbol 388 MovieClip in Symbol 437 MovieClip Frame 36
onClipEvent (load) {
item = "Shield";
lvl2cost = 20;
lvl3cost = 35;
lvl4cost = 50;
active = false;
}
onClipEvent (enterFrame) {
upgrade = _root.shieldgraphic;
level = upgrade;
if (active == true) {
_root.shieldgraphic++;
_root.shield = _root.shield + 25;
active = false;
}
if (level == 1) {
cost = lvl2cost;
} else if (level == 2) {
cost = lvl3cost;
} else if (level == 3) {
cost = lvl4cost;
} else {
_alpha = 50;
cost = "---";
}
}
Instance of Symbol 388 MovieClip in Symbol 437 MovieClip Frame 36
onClipEvent (load) {
item = "Armor";
description = "Higher health capacity.";
lvl2cost = 15;
lvl3cost = 30;
lvl4cost = 45;
active = false;
}
onClipEvent (enterFrame) {
upgrade = _root.maxhealth;
level = upgrade;
if (active == true) {
_root.maxhealth = _root.maxhealth + 2;
_root.health = _root.health + 2;
_root.armour++;
active = false;
}
if (level == 4) {
cost = lvl2cost;
} else if (level == 6) {
cost = lvl3cost;
} else if (level == 8) {
cost = lvl4cost;
} else {
_alpha = 50;
cost = "---";
}
}
Symbol 437 MovieClip Frame 40
pencilpos = true;
active = true;
stop();
Instance of Symbol 365 MovieClip in Symbol 437 MovieClip Frame 40
onClipEvent (load) {
currentx = this._x;
currenty = this._y;
}
onClipEvent (enterFrame) {
if (_parent.pencilpos == true) {
mx = _root._xmouse - 20;
if (mx < _x) {
dx = _x - mx;
} else {
dx = mx - _x;
}
moveSpeedx = dx / 3;
if (mx < _x) {
_x = (_x - moveSpeedx);
} else {
_x = (_x + moveSpeedx);
}
my = _root._ymouse - 117;
if (my < _y) {
dy = _y - my;
} else {
dy = my - _y;
}
moveSpeedy = dy / 3;
if (my < _y) {
_y = (_y - moveSpeedy);
} else {
_y = (_y + moveSpeedy);
}
} else {
mx = currentx;
if (mx < _x) {
dx = _x - mx;
} else {
dx = mx - _x;
}
moveSpeedx = dx / 5;
if (mx < _x) {
_x = (_x - moveSpeedx);
} else {
_x = (_x + moveSpeedx);
}
my = currenty;
if (my < _y) {
dy = _y - my;
} else {
dy = my - _y;
}
moveSpeedy = dy / 5;
if (my < _y) {
_y = (_y - moveSpeedy);
} else {
_y = (_y + moveSpeedy);
}
}
}
Instance of Symbol 38 MovieClip in Symbol 437 MovieClip Frame 40
onClipEvent (load) {
label = "Restart";
active = false;
}
on (release) {
_root.pause = false;
_root.health = 0;
}
on (rollOver, dragOver) {
gotoAndStop ("over");
}
on (rollOut, dragOut) {
gotoAndStop ("off");
}
on (press) {
gotoAndStop ("hit");
}
on (release) {
}
on (releaseOutside) {
gotoAndStop ("off");
}
Instance of Symbol 388 MovieClip in Symbol 437 MovieClip Frame 40
onClipEvent (load) {
item = "Shield";
description = "Greater recovery time.";
lvl2cost = 5;
lvl3cost = 10;
lvl4cost = 15;
active = false;
}
onClipEvent (enterFrame) {
upgrade = _root.shieldgraphic;
level = upgrade;
if (active == true) {
_root.shieldgraphic++;
_root.shield = _root.shield + 25;
active = false;
}
if (level == 1) {
cost = lvl2cost;
} else if (level == 2) {
cost = lvl3cost;
} else if (level == 3) {
cost = lvl4cost;
} else {
_alpha = 50;
cost = "---";
}
}
Symbol 437 MovieClip Frame 41
pencilpos = false;
Instance of Symbol 388 MovieClip in Symbol 437 MovieClip Frame 41
onClipEvent (load) {
item = "Shield";
lvl2cost = 20;
lvl3cost = 35;
lvl4cost = 50;
active = false;
}
onClipEvent (enterFrame) {
upgrade = _root.shieldgraphic;
level = upgrade;
if (active == true) {
_root.shieldgraphic++;
_root.shield = _root.shield + 25;
active = false;
}
if (level == 1) {
cost = lvl2cost;
} else if (level == 2) {
cost = lvl3cost;
} else if (level == 3) {
cost = lvl4cost;
} else {
_alpha = 50;
cost = "---";
}
}
Instance of Symbol 388 MovieClip in Symbol 437 MovieClip Frame 46
onClipEvent (load) {
item = "Armor";
lvl2cost = 20;
lvl3cost = 35;
lvl4cost = 50;
lvl5cost = 50;
active = false;
}
onClipEvent (enterFrame) {
upgrade = _root.maxhealth;
level = upgrade;
if (active == true) {
_root.maxhealth = _root.maxhealth + 2;
_root.health = _root.health + 2;
_root.armour++;
active = false;
}
if (level == 4) {
cost = lvl2cost;
} else if (level == 6) {
cost = lvl3cost;
} else if (level == 8) {
cost = lvl4cost;
} else if (level == 10) {
cost = lvl5cost;
} else {
_alpha = 50;
cost = "---";
}
}
Instance of Symbol 388 MovieClip in Symbol 437 MovieClip Frame 52
onClipEvent (load) {
item = "Sword";
lvl2cost = 20;
lvl3cost = 35;
lvl4cost = 50;
active = false;
}
onClipEvent (enterFrame) {
upgrade = _root.weapon;
level = upgrade;
if (active == true) {
_root.weapon++;
active = false;
}
if (level == 1) {
cost = lvl2cost;
} else if (level == 2) {
cost = lvl3cost;
} else if (level == 3) {
cost = lvl4cost;
} else {
_alpha = 50;
cost = "---";
}
}
Symbol 437 MovieClip Frame 93
_root.pause = false;
active = true;
gotoAndStop ("pause");
Symbol 459 MovieClip Frame 8
this.removeMovieClip();
stop();
Symbol 470 MovieClip Frame 1
stop();
Instance of Symbol 45 MovieClip in Symbol 470 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.play();
}
Symbol 470 MovieClip Frame 11
gotoAndStop (1);
Symbol 486 MovieClip Frame 1
stop();
Instance of Symbol 147 MovieClip "hit" in Symbol 498 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_root.lucy.hitTest(hit)) {
active = true;
}
if (active == true) {
spring = true;
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Symbol 498 MovieClip Frame 13
if (hit.hitTest(_root.lucy)) {
spring = true;
}
active = false;
gotoAndPlay (1);
Symbol 501 MovieClip Frame 1
stop();
Instance of Symbol 45 MovieClip "left" in Symbol 501 MovieClip Frame 1
onClipEvent (load) {
if (_parent.locked == true) {
this._x = this._x - 200;
}
}
Instance of Symbol 486 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 300;
speed = 3;
health = 5;
slidestore = 5;
slidespeed = 30;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 486 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 300;
speed = 3;
health = 5;
slidestore = 5;
slidespeed = 30;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 486 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 755;
speed = 3;
health = 5;
slidestore = 5;
slidespeed = 30;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 486 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 890;
speed = 3;
health = 5;
slidestore = 5;
slidespeed = 30;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 488 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 491 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
leftpause = 50;
rightpause = 50;
time = 90;
timer = 0;
swit = false;
speed = 4;
active = true;
}
onClipEvent (enterFrame) {
if ((swit == true) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x + speed;
}
platform._x = platform._x + speed;
}
if ((swit == false) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x + 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
platform._x = platform._x - speed;
}
if ((timer > time) and (active == true)) {
active = false;
timer = 0;
if (swit == false) {
swit = true;
} else {
swit = false;
}
}
if (active == false) {
if (swit == true) {
if (timer < leftpause) {
timer++;
} else {
timer = 0;
active = true;
}
} else if (timer < rightpause) {
timer++;
} else {
timer = 0;
active = true;
}
}
}
Instance of Symbol 491 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
leftpause = 50;
rightpause = 50;
time = 90;
timer = 0;
swit = false;
speed = 4;
active = true;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((swit == true) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x + speed;
}
platform._x = platform._x + speed;
}
if ((swit == false) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x + 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
platform._x = platform._x - speed;
}
if ((timer > time) and (active == true)) {
active = false;
timer = 0;
if (swit == false) {
swit = true;
} else {
swit = false;
}
}
if (active == false) {
if (swit == true) {
if (timer < leftpause) {
timer++;
} else {
timer = 0;
active = true;
}
} else if (timer < rightpause) {
timer++;
} else {
timer = 0;
active = true;
}
}
}
}
Instance of Symbol 498 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 486 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 280;
speed = 3;
health = 5;
slidestore = 5;
slidespeed = 30;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 488 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 501 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
locked = false;
condition = true;
kills = 5;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
_root.output.active = true;
_root.output.line1 = "This door requires";
_root.output.line2 = kills;
_root.output.line3 = "rats killed to open.";
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_parent._parent.nextFrame();
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 488 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Symbol 508 MovieClip Frame 1
stop();
Symbol 512 MovieClip Frame 1
stop();
Symbol 512 MovieClip Frame 97
active = true;
this.gotoAndStop(1);
Symbol 516 MovieClip Frame 34
if (hit.hitTest(_root.lucy)) {
spring = true;
}
active = false;
gotoAndPlay (1);
Symbol 519 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 1
stop();
Instance of Symbol 508 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 500;
speed = 10;
health = 7;
slidestore = 20;
slidespeed = 15;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 45 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.level = "level2";
_root.lucy.walkoff = true;
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 512 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 512 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 498 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 516 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 519 MovieClip "convey" in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
speed = 15;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_parent.conveyswitch.active == true) {
this.gotoAndStop("left");
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x + speed;
}
} else {
this.gotoAndStop("right");
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
}
Instance of Symbol 521 MovieClip "conveyswitch" in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
time = 10;
timerstore = time;
timer = "";
time = 30;
active = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((active == true) and (timer > 0)) {
this.gotoAndStop("timer");
if (time == 0) {
time = 30;
timer--;
} else {
time--;
}
} else if (active == true) {
if (active == true) {
_root.output.active = true;
_root.output.line1 = "SWITCH";
_root.output.line2 = "Conveyabelt Movement:";
_root.output.line3 = "RIGHT";
}
active = false;
this.gotoAndStop("unactive");
timer = "";
}
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
this.gotoAndStop("active");
active = true;
timer = timerstore;
time = 30;
_root.output.active = true;
_root.output.line1 = "SWITCH";
_root.output.line2 = "Conveyorbelt Movement:";
_root.output.line3 = "LEFT";
}
}
}
Instance of Symbol 519 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
speed = 9;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 498 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 488 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 519 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
speed = -5;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 519 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
speed = 5;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 501 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
locked = true;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
lock._visible = true;
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_root.ground.nextFrame();
_root.ground._x = 275;
_root.ground._y = 200;
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 501 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
locked = false;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
_root.output.active = true;
_root.output.line1 = "This door requires";
_root.output.line2 = kills;
_root.output.line3 = "enemies killed to open.";
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_parent._parent.nextFrame();
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 508 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 500;
speed = 10;
health = 7;
slidestore = 20;
slidespeed = 15;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 508 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 500;
speed = 10;
health = 7;
slidestore = 20;
slidespeed = 15;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 508 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 500;
speed = 10;
health = 7;
slidestore = 20;
slidespeed = 15;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 498 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 519 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 488 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 521 MovieClip "switchdoor" in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
time = 5;
timerstore = time;
timer = "";
time = 30;
active = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((active == true) and (timer > 0)) {
this.gotoAndStop("timer");
if (time == 0) {
time = 30;
timer--;
} else {
time--;
}
} else if (active == true) {
if (active == true) {
_root.output.active = true;
_root.output.line1 = "SWITCH";
_root.output.line2 = "DOOR";
_root.output.line3 = "LOCKED";
}
active = false;
this.gotoAndStop("unactive");
timer = "";
}
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
this.gotoAndStop("active");
active = true;
timer = timerstore;
time = 30;
_root.output.active = true;
_root.output.line1 = "SWITCH";
_root.output.line2 = "DOOR";
_root.output.line3 = "OPEN";
}
}
}
Instance of Symbol 488 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 519 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
speed = -20;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 519 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
speed = -8;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 519 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
speed = -30;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 491 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
leftpause = 5;
rightpause = 50;
time = 50;
timer = 0;
swit = false;
speed = 10;
active = true;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((swit == true) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x + speed;
}
platform._x = platform._x + speed;
}
if ((swit == false) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x + 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
platform._x = platform._x - speed;
}
if ((timer > time) and (active == true)) {
active = false;
timer = 0;
if (swit == false) {
swit = true;
} else {
swit = false;
}
}
if (active == false) {
if (swit == true) {
if (timer < leftpause) {
timer++;
} else {
timer = 0;
active = true;
}
} else if (timer < rightpause) {
timer++;
} else {
timer = 0;
active = true;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 501 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
locked = false;
condition = true;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_parent.switchdoor.active == true) {
active = true;
} else {
active = false;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
_root.output.active = true;
_root.output.line1 = "DOOR LOCKED";
_root.output.line2 = "Find switch";
if (active == true) {
open = true;
} else {
lock._visible = true;
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_root.ground.nextFrame();
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 501 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
locked = true;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
lock._visible = true;
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_root.ground.nextFrame();
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 45 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.level = "level2";
_root.lucy.walkoff = true;
}
}
Instance of Symbol 501 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
locked = false;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
lock._visible = true;
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_root.ground.nextFrame();
_root.ground._x = 275;
_root.ground._y = 200;
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 498 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 488 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 519 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
speed = -20;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 488 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 519 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
speed = -20;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 488 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 519 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
speed = -20;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 519 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
speed = -20;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 501 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
locked = true;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
lock._visible = true;
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_root.ground.nextFrame();
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 519 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
speed = -20;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Symbol 525 MovieClip Frame 1
stop();
Instance of Symbol 488 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
_root.health = 0;
}
}
}
Symbol 528 MovieClip Frame 8
stop();
Symbol 531 MovieClip Frame 13
_parent.varattack = false;
stop();
Symbol 532 MovieClip Frame 13
_parent.varattack = false;
stop();
Symbol 534 MovieClip Frame 13
_parent.varattack = false;
stop();
Symbol 536 MovieClip Frame 17
_parent.flare = true;
Symbol 536 MovieClip Frame 32
_parent.flare = false;
_parent.varattack = false;
stop();
Symbol 537 MovieClip Frame 1
_parent.roll = true;
Symbol 537 MovieClip Frame 18
_parent.roll = false;
_parent.varattack = false;
stop();
Symbol 538 MovieClip Frame 16
_parent.varattack = false;
this.gotoAndPlay(15);
Symbol 540 MovieClip Frame 10
this.gotoAndPlay(4);
Symbol 541 MovieClip Frame 16
this.gotoAndPlay(15);
Symbol 543 MovieClip Frame 13
stop();
Symbol 545 MovieClip Frame 72
_root.maxhealth = 4;
_root.health = 4;
_root.shieldgraphic = 1;
_root.armour = 1;
_root.shield = 40;
_root.weapon = 1;
_root.kills = 0;
_root.money = 0;
_root.emotion = 1;
_root.blind.active = true;
_parent.removeMovieClip();
stop();
Symbol 546 MovieClip Frame 2
stopAllSounds();
Symbol 546 MovieClip Frame 33
_root.blind.active = true;
stop();
Symbol 547 MovieClip Frame 1
stop();
Instance of Symbol 540 MovieClip "lucy" in Symbol 547 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_parent.varjump == false) {
_parent.varattack = false;
}
}
Instance of Symbol 541 MovieClip "lucy" in Symbol 547 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_parent.varjump == false) {
_parent.varattack = false;
}
}
Symbol 561 MovieClip Frame 1
stop();
Instance of Symbol 486 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 350;
speed = 3;
health = 10;
slidestore = 5;
slidespeed = 30;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 561 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 561 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 561 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 561 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 561 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 561 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 561 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 561 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 561 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 561 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 21;
climbspeed = 20;
xrange = 50;
yrange = 5000;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
this.gotoAndStop("look");
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
this.gotoAndStop("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
} else if ((fall == false) and (active == true)) {
active = false;
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 501 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
locked = false;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
_root.output.active = true;
_root.output.line1 = "This door requires";
_root.output.line2 = kills;
_root.output.line3 = "enemies killed to open.";
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_parent._parent.nextFrame();
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 45 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.level = "level3";
_root.lucy.walkoff = true;
}
}
Instance of Symbol 498 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 488 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 519 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
speed = -20;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 519 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
speed = -20;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 488 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 519 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
speed = -10;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 488 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 498 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 488 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 498 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 501 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
locked = true;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
_root.output.active = true;
_root.output.line1 = "This door requires";
_root.output.line2 = kills;
_root.output.line3 = "enemies killed to open.";
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_root.ground.nextFrame();
_root.ground._x = 275;
_root.ground._y = 200;
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 488 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 508 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 400;
speed = 10;
health = 7;
slidestore = 20;
slidespeed = 15;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 486 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 350;
speed = 3;
health = 10;
slidestore = 5;
slidespeed = 30;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 486 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 350;
speed = 3;
health = 10;
slidestore = 5;
slidespeed = 30;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 486 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 350;
speed = 3;
health = 10;
slidestore = 5;
slidespeed = 30;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 508 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 400;
speed = 10;
health = 7;
slidestore = 20;
slidespeed = 15;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 561 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 521 MovieClip "switchdoor" in Symbol 563 MovieClip Frame 1
onClipEvent (load) {
time = 15;
timerstore = time;
timer = "";
time = 30;
active = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((active == true) and (timer > 0)) {
this.gotoAndStop("timer");
if (time == 0) {
time = 30;
timer--;
} else {
time--;
}
} else if (active == true) {
if (active == true) {
_root.output.active = true;
_root.output.line1 = "SWITCH";
_root.output.line2 = "DOOR";
_root.output.line3 = "LOCKED";
}
active = false;
this.gotoAndStop("unactive");
timer = "";
}
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
this.gotoAndStop("active");
active = true;
timer = timerstore;
time = 30;
_root.output.active = true;
_root.output.line1 = "SWITCH";
_root.output.line2 = "DOOR";
_root.output.line3 = "OPEN";
}
}
}
Instance of Symbol 501 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (load) {
locked = false;
condition = true;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_parent.switchdoor.active == true) {
active = true;
} else {
active = false;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
_root.output.active = true;
_root.output.line1 = "DOOR LOCKED";
_root.output.line2 = "Find switch";
if (active == true) {
open = true;
} else {
lock._visible = true;
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_root.ground.nextFrame();
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 501 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (load) {
locked = true;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
_root.output.active = true;
_root.output.line1 = "This door requires";
_root.output.line2 = kills;
_root.output.line3 = "enemies killed to open.";
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_parent._parent.nextFrame();
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 45 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.level = "level3";
_root.lucy.walkoff = true;
}
}
Instance of Symbol 508 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 400;
speed = 10;
health = 7;
slidestore = 20;
slidespeed = 15;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 508 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 400;
speed = 10;
health = 7;
slidestore = 20;
slidespeed = 15;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 508 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 400;
speed = 10;
health = 7;
slidestore = 20;
slidespeed = 15;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 498 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 360 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 45 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.level = "level3";
_root.lucy.walkoff = true;
}
}
Instance of Symbol 498 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 491 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
leftpause = 50;
rightpause = 50;
time = 50;
timer = 0;
swit = true;
speed = 5;
active = true;
}
onClipEvent (enterFrame) {
if ((swit == true) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x + speed;
}
platform._x = platform._x + speed;
}
if ((swit == false) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x + 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
platform._x = platform._x - speed;
}
if ((timer > time) and (active == true)) {
active = false;
timer = 0;
if (swit == false) {
swit = true;
} else {
swit = false;
}
}
if (active == false) {
if (swit == true) {
if (timer < leftpause) {
timer++;
} else {
timer = 0;
active = true;
}
} else if (timer < rightpause) {
timer++;
} else {
timer = 0;
active = true;
}
}
}
Instance of Symbol 491 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
leftpause = 50;
rightpause = 50;
time = 50;
timer = 0;
swit = false;
speed = 5;
active = true;
}
onClipEvent (enterFrame) {
if ((swit == true) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x + speed;
}
platform._x = platform._x + speed;
}
if ((swit == false) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x + 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
platform._x = platform._x - speed;
}
if ((timer > time) and (active == true)) {
active = false;
timer = 0;
if (swit == false) {
swit = true;
} else {
swit = false;
}
}
if (active == false) {
if (swit == true) {
if (timer < leftpause) {
timer++;
} else {
timer = 0;
active = true;
}
} else if (timer < rightpause) {
timer++;
} else {
timer = 0;
active = true;
}
}
}
Instance of Symbol 491 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
leftpause = 50;
rightpause = 50;
time = 50;
timer = 0;
swit = true;
speed = 5;
active = true;
}
onClipEvent (enterFrame) {
if ((swit == true) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x + speed;
}
platform._x = platform._x + speed;
}
if ((swit == false) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x + 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
platform._x = platform._x - speed;
}
if ((timer > time) and (active == true)) {
active = false;
timer = 0;
if (swit == false) {
swit = true;
} else {
swit = false;
}
}
if (active == false) {
if (swit == true) {
if (timer < leftpause) {
timer++;
} else {
timer = 0;
active = true;
}
} else if (timer < rightpause) {
timer++;
} else {
timer = 0;
active = true;
}
}
}
Instance of Symbol 491 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
leftpause = 50;
rightpause = 50;
time = 50;
timer = 0;
swit = false;
speed = 5;
active = true;
}
onClipEvent (enterFrame) {
if ((swit == true) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x + speed;
}
platform._x = platform._x + speed;
}
if ((swit == false) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x + 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
platform._x = platform._x - speed;
}
if ((timer > time) and (active == true)) {
active = false;
timer = 0;
if (swit == false) {
swit = true;
} else {
swit = false;
}
}
if (active == false) {
if (swit == true) {
if (timer < leftpause) {
timer++;
} else {
timer = 0;
active = true;
}
} else if (timer < rightpause) {
timer++;
} else {
timer = 0;
active = true;
}
}
}
Instance of Symbol 561 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 501 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
locked = false;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
lock._visible = true;
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_root.ground.nextFrame();
_root.ground._x = 275;
_root.ground._y = 200;
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 501 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
locked = false;
condition = true;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_parent.switchdoor.active == true) {
active = true;
} else {
active = false;
}
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
lock._visible = true;
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 0;
leftactive = true;
} else if (transport == 2) {
_root.ground.nextFrame();
_root.ground._x = 275;
_root.ground._y = 200;
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 501 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
locked = true;
condition = true;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_parent.switchdoor.active == true) {
active = true;
} else {
active = false;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
_root.output.active = true;
_root.output.line1 = "DOOR LOCKED";
_root.output.line2 = "Find switch";
if (active == true) {
open = true;
} else {
lock._visible = true;
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_root.ground.nextFrame();
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 521 MovieClip "switchdoor" in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
time = 20;
timerstore = time;
timer = "";
time = 30;
active = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((active == true) and (timer > 0)) {
this.gotoAndStop("timer");
if (time == 0) {
time = 30;
timer--;
} else {
time--;
}
} else if (active == true) {
if (active == true) {
_root.output.active = true;
_root.output.line1 = "SWITCH";
_root.output.line2 = "DOOR";
_root.output.line3 = "LOCKED";
}
active = false;
this.gotoAndStop("unactive");
timer = "";
}
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
this.gotoAndStop("active");
active = true;
timer = timerstore;
time = 30;
_root.output.active = true;
_root.output.line1 = "SWITCH";
_root.output.line2 = "DOOR";
_root.output.line3 = "OPEN";
}
}
}
Symbol 565 MovieClip Frame 1
stop();
Instance of Symbol 488 MovieClip in Symbol 565 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
_root.health = 0;
}
}
}
Instance of Symbol 508 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 400;
speed = 10;
health = 7;
slidestore = 20;
slidespeed = 15;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 360 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 516 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 516 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 516 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 501 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
locked = false;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
_root.output.active = true;
_root.output.line1 = "This door requires";
_root.output.line2 = kills;
_root.output.line3 = "enemies killed to open.";
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_parent._parent.nextFrame();
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 516 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 512 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 501 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
locked = true;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
_root.output.active = true;
_root.output.line1 = "This door requires";
_root.output.line2 = kills;
_root.output.line3 = "enemies killed to open.";
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_root.ground.nextFrame();
_root.ground._x = 275;
_root.ground._y = 200;
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 501 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
locked = false;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
_root.output.active = true;
_root.output.line1 = "This door requires";
_root.output.line2 = kills;
_root.output.line3 = "enemies killed to open.";
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_parent._parent.nextFrame();
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 491 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
leftpause = 50;
rightpause = 50;
time = 50;
timer = 0;
swit = false;
speed = 4;
active = true;
}
onClipEvent (enterFrame) {
if ((swit == true) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x + speed;
}
platform._x = platform._x + speed;
}
if ((swit == false) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x + 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
platform._x = platform._x - speed;
}
if ((timer > time) and (active == true)) {
active = false;
timer = 0;
if (swit == false) {
swit = true;
} else {
swit = false;
}
}
if (active == false) {
if (swit == true) {
if (timer < leftpause) {
timer++;
} else {
timer = 0;
active = true;
}
} else if (timer < rightpause) {
timer++;
} else {
timer = 0;
active = true;
}
}
}
Instance of Symbol 491 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
leftpause = 50;
rightpause = 50;
time = 50;
timer = 0;
swit = true;
speed = 4;
active = true;
}
onClipEvent (enterFrame) {
if ((swit == true) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x + speed;
}
platform._x = platform._x + speed;
}
if ((swit == false) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x + 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
platform._x = platform._x - speed;
}
if ((timer > time) and (active == true)) {
active = false;
timer = 0;
if (swit == false) {
swit = true;
} else {
swit = false;
}
}
if (active == false) {
if (swit == true) {
if (timer < leftpause) {
timer++;
} else {
timer = 0;
active = true;
}
} else if (timer < rightpause) {
timer++;
} else {
timer = 0;
active = true;
}
}
}
Instance of Symbol 491 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
leftpause = 50;
rightpause = 50;
time = 50;
timer = 0;
swit = false;
speed = 4;
active = true;
}
onClipEvent (enterFrame) {
if ((swit == true) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x + speed;
}
platform._x = platform._x + speed;
}
if ((swit == false) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x + 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
platform._x = platform._x - speed;
}
if ((timer > time) and (active == true)) {
active = false;
timer = 0;
if (swit == false) {
swit = true;
} else {
swit = false;
}
}
if (active == false) {
if (swit == true) {
if (timer < leftpause) {
timer++;
} else {
timer = 0;
active = true;
}
} else if (timer < rightpause) {
timer++;
} else {
timer = 0;
active = true;
}
}
}
Instance of Symbol 519 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
speed = 8;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 519 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
speed = -8;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 519 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
speed = 8;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 519 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
speed = -8;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 519 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
speed = 8;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 519 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
speed = 8;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 519 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
speed = 8;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 519 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
speed = 8;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 501 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
locked = true;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
_root.output.active = true;
_root.output.line1 = "This door requires";
_root.output.line2 = kills;
_root.output.line3 = "enemies killed to open.";
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_parent._parent.nextFrame();
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 561 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 561 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 360 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 45 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.level = "level4";
_root.lucy.walkoff = true;
}
}
Instance of Symbol 561 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 498 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 498 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 498 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 498 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 501 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
locked = true;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
_root.output.active = true;
_root.output.line1 = "This door requires";
_root.output.line2 = kills;
_root.output.line3 = "enemies killed to open.";
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_parent._parent.nextFrame();
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 498 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 488 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y - 100, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y - 100, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y - 100, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y - 100, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y - 100, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y - 100, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y - 100, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 501 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
locked = false;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
lock._visible = true;
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_root.ground.nextFrame();
_root.ground._x = 275;
_root.ground._y = 200;
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Symbol 574 MovieClip Frame 1
stop();
Instance of Symbol 488 MovieClip in Symbol 574 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
_root.health = 0;
}
}
}
Instance of Symbol 486 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 800;
speed = 3;
health = 10;
slidestore = 5;
slidespeed = 30;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 508 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 400;
speed = 10;
health = 7;
slidestore = 20;
slidespeed = 15;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 561 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 561 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 498 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 521 MovieClip "switchtrapdoor" in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
time = 10;
timerstore = time;
timer = "";
time = 30;
active = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((active == true) and (timer > 0)) {
this.gotoAndStop("timer");
if (time == 0) {
time = 30;
timer--;
} else {
time--;
}
} else if (active == true) {
active = false;
this.gotoAndStop("unactive");
timer = "";
}
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
this.gotoAndStop("active");
active = true;
timer = timerstore;
time = 30;
}
}
}
Instance of Symbol 498 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 501 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
locked = false;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
_root.output.active = true;
_root.output.line1 = "This door requires";
_root.output.line2 = kills;
_root.output.line3 = "enemies killed to open.";
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_root.ground.nextFrame();
_root.ground._x = 275;
_root.ground._y = 200;
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 501 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
locked = false;
condition = true;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_parent.switchtrapdoor.active == true) {
active = true;
} else {
active = false;
}
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
_root.output.active = true;
_root.output.line1 = "This door is locked";
_root.output.line2 = "";
_root.output.line3 = "Find the switch.";
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 1;
} else if (transport == 2) {
_root.ground.nextFrame();
_root.ground._x = 275;
_root.ground._y = 200;
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 501 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
locked = true;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
_root.output.active = true;
_root.output.line1 = "This door requires";
_root.output.line2 = kills;
_root.output.line3 = "enemies killed to open.";
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_root.ground.nextFrame();
_root.ground._x = 275;
_root.ground._y = 200;
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 561 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 561 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 561 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 561 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 521 MovieClip "doorswitch" in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
time = 20;
timerstore = time;
timer = "";
time = 30;
active = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((active == true) and (timer > 0)) {
this.gotoAndStop("timer");
if (time == 0) {
time = 30;
timer--;
} else {
time--;
}
} else if (active == true) {
active = false;
this.gotoAndStop("unactive");
timer = "";
}
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
this.gotoAndStop("active");
active = true;
timer = timerstore;
time = 30;
}
}
}
Instance of Symbol 498 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 488 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y - 100, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y - 100, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 491 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
leftpause = 5;
rightpause = 50;
time = 50;
timer = 0;
swit = false;
speed = 4;
active = true;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((swit == true) and (active == true)) {
timer = timer + 3;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._y = _root.ground._y + (speed * 3);
}
platform._x = platform._x + (speed * 3);
}
if ((swit == false) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x + 50, _root.lucy._y - 50, true) == false)) {
_root.ground._y = _root.ground._y - speed;
}
platform._x = platform._x - speed;
}
if ((timer > time) and (active == true)) {
active = false;
timer = 0;
if (swit == false) {
swit = true;
} else {
swit = false;
}
}
if (active == false) {
if (swit == true) {
if (timer < leftpause) {
timer++;
} else {
timer = 0;
active = true;
}
} else if (timer < rightpause) {
timer++;
} else {
timer = 0;
active = true;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y - 100, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y - 100, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y - 100, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y - 100, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 491 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
leftpause = 5;
rightpause = 50;
time = 50;
timer = 0;
swit = false;
speed = 4;
active = true;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((swit == true) and (active == true)) {
timer = timer + 3;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._y = _root.ground._y + (speed * 3);
}
platform._x = platform._x + (speed * 3);
}
if ((swit == false) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x + 50, _root.lucy._y - 50, true) == false)) {
_root.ground._y = _root.ground._y - speed;
}
platform._x = platform._x - speed;
}
if ((timer > time) and (active == true)) {
active = false;
timer = 0;
if (swit == false) {
swit = true;
} else {
swit = false;
}
}
if (active == false) {
if (swit == true) {
if (timer < leftpause) {
timer++;
} else {
timer = 0;
active = true;
}
} else if (timer < rightpause) {
timer++;
} else {
timer = 0;
active = true;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y - 100, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y - 100, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y - 100, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y - 100, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y - 100, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 491 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
leftpause = 5;
rightpause = 50;
time = 50;
timer = 0;
swit = false;
speed = 4;
active = true;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((swit == true) and (active == true)) {
timer = timer + 3;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._y = _root.ground._y + (speed * 3);
}
platform._x = platform._x + (speed * 3);
}
if ((swit == false) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x + 50, _root.lucy._y - 50, true) == false)) {
_root.ground._y = _root.ground._y - speed;
}
platform._x = platform._x - speed;
}
if ((timer > time) and (active == true)) {
active = false;
timer = 0;
if (swit == false) {
swit = true;
} else {
swit = false;
}
}
if (active == false) {
if (swit == true) {
if (timer < leftpause) {
timer++;
} else {
timer = 0;
active = true;
}
} else if (timer < rightpause) {
timer++;
} else {
timer = 0;
active = true;
}
}
}
}
Instance of Symbol 501 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
locked = true;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
_root.output.active = true;
_root.output.line1 = "This door requires";
_root.output.line2 = kills;
_root.output.line3 = "enemies killed to open.";
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_root.ground.nextFrame();
_root.ground._x = 275;
_root.ground._y = 200;
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 501 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
locked = false;
condition = true;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_parent.doorswitch.active == true) {
active = true;
} else {
active = false;
}
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
_root.output.active = true;
_root.output.line1 = "Door is Locked";
_root.output.line2 = "";
_root.output.line3 = "Find the switch.";
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_root.ground.nextFrame();
_root.ground._x = 275;
_root.ground._y = 200;
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Symbol 587 MovieClip Frame 1
stop();
Instance of Symbol 498 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 587 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (load) {
platformwidth = 850;
speed = 3;
health = 10;
slidestore = 30;
slidespeed = 3;
platformpos = platformwidth / 2;
randompos = random(platformwidth);
moveto = randompos - platformpos;
this._x = this._x + moveto;
platformpos = platformpos + moveto;
dir = this._xscale;
face = random(2);
if (face == false) {
this._xscale = dir;
} else {
this._xscale = -dir;
}
slidetime = 0;
slidedir = false;
hit = false;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if (face == false) {
this._xscale = dir;
if (platformpos < platformwidth) {
this._x = this._x + speed;
platformpos = platformpos + speed;
} else {
face = true;
}
} else {
this._xscale = -dir;
if (platformpos > 0) {
this._x = this._x - speed;
platformpos = platformpos - speed;
} else {
face = false;
}
}
if (((_root.lucy.flare == true) and this.hitTest(_root.lucy)) or (this.hitTest(_root.lucy.lucy.weapon) and ((_root.lucy.varattack == true) or (_root.lucy.roll == true)))) {
if (hit == false) {
_root.lucy.combo++;
}
if (point.x > _root.lucy._x) {
slidedir = true;
face = true;
} else {
slidedir = false;
face = false;
}
hit = true;
slidetime = slidestore;
} else if (this.hitTest(_root.lucy.lucy.body)) {
if (point.x > _root.lucy._x) {
_root.lucy.varspeed = _root.varmaxspeed;
} else {
_root.lucy.varspeed = -_root.varmaxspeed;
}
if (((_root.lucy.hit == false) and (hit == false)) and (_root.lucy.roll == false)) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
if (hit == true) {
if (pow == true) {
_root.pow.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
pow = false;
}
this.gotoAndStop("hit");
if (slidetime > 0) {
slidetime--;
if (slidedir == false) {
if (platformpos > 0) {
this._x = this._x - slidespeed;
platformpos = platformpos - slidespeed;
} else {
slidetime = 0;
}
} else if (platformpos < platformwidth) {
this._x = this._x + slidespeed;
platformpos = platformpos + slidespeed;
} else {
slidetime = 0;
}
} else if (health > 0) {
health = health - _root.weapon;
hit = false;
} else {
dead = true;
}
} else {
this.gotoAndStop("run");
pow = true;
}
if (dead == true) {
_root.ii++;
_root.smoke.duplicateMovieClip("smoke" + _root.ii, _root.ii, _root.ii);
_root["smoke" + _root.ii].active = true;
_root["smoke" + _root.ii]._x = point.x;
_root["smoke" + _root.ii]._y = point.y - 50;
_root.kills++;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
Instance of Symbol 561 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 561 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (load) {
pos = this._y;
fallspeed = 10;
climbspeed = 5;
xrange = 50;
yrange = 270;
active = false;
fall = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
point = {x:_x, y:_y};
_parent.localToGlobal(point);
if ((((((fall == false) and (active == false)) and (_root.lucy._y > (point.y - yrange))) and (_root.lucy._y < (point.y + yrange))) and (_root.lucy._x > (point.x - xrange))) and (_root.lucy._x < (point.x + xrange))) {
active = true;
fall = true;
}
if (((fall == true) and (active == true)) and (this._y < (pos + yrange))) {
this._y = this._y + fallspeed;
gotoAndStop ("angry");
} else if ((fall == true) and (active == true)) {
fall = false;
gotoAndStop ("normal");
} else if (((fall == false) and (active == true)) and (this._y > pos)) {
this._y = this._y - climbspeed;
gotoAndStop ("normal");
} else if ((fall == false) and (active == true)) {
active = false;
gotoAndStop ("normal");
}
if (this.hitTest(_root.lucy.lucy.body)) {
fall = false;
_root.lucy.hit = true;
_root.health = _root.health - 1;
if (_root.lucy._x > point.x) {
_root.lucy.varspeed = -_root.varmaxspeed;
} else {
_root.lucy.varspeed = _root.varmaxspeed;
}
}
}
}
Instance of Symbol 45 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.level = "level5";
_root.lucy.walkoff = true;
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.lucy)) {
_root.money++;
_root.spark.gotoAndPlay(2);
this.swapDepths(_root.ii);
_root.ii++;
this.removeMovieClip();
}
}
Instance of Symbol 488 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 488 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
if (_root.lucy.hit == false) {
_root.lucy.hit = true;
_root.health = _root.health - 1;
}
}
}
}
Instance of Symbol 512 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 491 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (load) {
leftpause = 5;
rightpause = 50;
time = 50;
timer = 0;
swit = false;
speed = 8;
active = true;
}
onClipEvent (enterFrame) {
if ((swit == true) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x + speed;
}
platform._x = platform._x + speed;
}
if ((swit == false) and (active == true)) {
timer++;
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x + 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
platform._x = platform._x - speed;
}
if ((timer > time) and (active == true)) {
active = false;
timer = 0;
if (swit == false) {
swit = true;
} else {
swit = false;
}
}
if (active == false) {
if (swit == true) {
if (timer < leftpause) {
timer++;
} else {
timer = 0;
active = true;
}
} else if (timer < rightpause) {
timer++;
} else {
timer = 0;
active = true;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 516 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 498 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (load) {
spring = false;
active = false;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hit.hitTest(_root.lucy._x, _root.lucy._y, true)) {
active = true;
}
if (active == true) {
this.nextFrame();
} else {
this.stop();
this.prevFrame();
}
} else {
this.stop();
}
if (spring == true) {
_root.lucy.sprung = true;
spring = false;
}
}
Instance of Symbol 519 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (load) {
speed = -5;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true) and (_root.ground.hitTest(_root.lucy._x - 50, _root.lucy._y - 50, true) == false)) {
_root.ground._x = _root.ground._x - speed;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 512 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (load) {
timerstore = 10;
timer = timerstore;
active = true;
stoodon = false;
}
onClipEvent (enterFrame) {
if ((active == true) and this.hitTest(_root.lucy._x, _root.lucy._y, true)) {
stoodon = true;
}
if (stoodon == true) {
timer--;
if (timer < 0) {
stoodon = false;
this.gotoAndPlay(2);
active = false;
timer = timerstore;
}
}
}
Instance of Symbol 501 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (load) {
locked = true;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
_root.output.active = true;
_root.output.line1 = "This door requires";
_root.output.line2 = kills;
_root.output.line3 = "enemies killed to open.";
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_root.ground.nextFrame();
_root.ground._x = 275;
_root.ground._y = 200;
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Instance of Symbol 501 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (load) {
locked = false;
condition = false;
kills = 2;
doorheight = 120;
speed = 10;
transport = 0;
leftactive = false;
pos = door._y;
lpos = left._x;
active = true;
open = false;
active = false;
}
onClipEvent (enterFrame) {
if (locked == true) {
right._x = pos;
}
if (condition == true) {
if (_root.kills >= kills) {
active = true;
}
} else {
active = true;
}
if (left.hitTest(_root.lucy) and (leftactive == false)) {
left._x = lpos - 150;
leftactive = true;
if (active == true) {
open = true;
} else {
lock._visible = true;
}
} else if (left.hitTest(_root.lucy) and (leftactive == true)) {
left._x = lpos;
leftactive = false;
open = false;
} else if (right.hitTest(_root.lucy) and (door._y < pos)) {
transport = 1;
open = false;
right._x = lpos;
} else if ((transport == 1) and (door._y >= pos)) {
transport = 2;
} else if (transport == 2) {
_root.ground.nextFrame();
_root.ground._x = 275;
_root.ground._y = 200;
}
if ((open == true) and (door._y > (pos - doorheight))) {
door._y = door._y - speed;
} else if ((open == false) and (door._y < pos)) {
door._y = door._y + speed;
}
}
on (press) {
if (open == true) {
open = false;
} else {
open = true;
}
}
Symbol 589 MovieClip Frame 1
stop();
Instance of Symbol 488 MovieClip in Symbol 589 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (hitTest(_root.lucy._x, _root.lucy._y, true)) {
_root.health = 0;
}
}
}
Symbol 751 MovieClip Frame 1
_root.emotion = 1;
Instance of Symbol 55 MovieClip "fringe" in Symbol 751 MovieClip Frame 40
onClipEvent (load) {
stop();
}
Instance of Symbol 71 MovieClip "footl" in Symbol 751 MovieClip Frame 40
onClipEvent (load) {
stop();
}
Instance of Symbol 76 MovieClip "body" in Symbol 751 MovieClip Frame 40
onClipEvent (load) {
stop();
}
Instance of Symbol 71 MovieClip "footr" in Symbol 751 MovieClip Frame 40
onClipEvent (load) {
stop();
}
Symbol 751 MovieClip Frame 155
_root.emotion = 3;
Symbol 751 MovieClip Frame 762
_root.emotion = 2;
Symbol 751 MovieClip Frame 767
_root.emotion = 4;
Instance of Symbol 55 MovieClip "fringe" in Symbol 751 MovieClip Frame 785
onClipEvent (load) {
stop();
}
Instance of Symbol 55 MovieClip "fringe" in Symbol 751 MovieClip Frame 1666
onClipEvent (load) {
stop();
}
Instance of Symbol 71 MovieClip "footl" in Symbol 751 MovieClip Frame 1666
onClipEvent (load) {
stop();
}
Instance of Symbol 76 MovieClip "body" in Symbol 751 MovieClip Frame 1666
onClipEvent (load) {
stop();
}
Instance of Symbol 71 MovieClip "footr" in Symbol 751 MovieClip Frame 1666
onClipEvent (load) {
stop();
}
Instance of Symbol 55 MovieClip "fringe" in Symbol 751 MovieClip Frame 1829
onClipEvent (load) {
stop();
}
Instance of Symbol 71 MovieClip "footl" in Symbol 751 MovieClip Frame 1829
onClipEvent (load) {
stop();
}
Instance of Symbol 76 MovieClip "body" in Symbol 751 MovieClip Frame 1829
onClipEvent (load) {
stop();
}
Instance of Symbol 71 MovieClip "footr" in Symbol 751 MovieClip Frame 1829
onClipEvent (load) {
stop();
}
Instance of Symbol 71 MovieClip "footr" in Symbol 751 MovieClip Frame 1849
onClipEvent (load) {
stop();
}
Symbol 751 MovieClip Frame 2190
_root.emotion = 2;
Symbol 751 MovieClip Frame 2219
_root.emotion = 4;
Symbol 751 MovieClip Frame 2664
_parent.stop();
stop();
Instance of Symbol 38 MovieClip in Symbol 751 MovieClip Frame 2664
onClipEvent (load) {
label = "Back";
active = false;
}
on (release) {
_root.gotoAndStop("menu");
}
on (rollOver, dragOver) {
gotoAndStop ("over");
}
on (rollOut, dragOut) {
gotoAndStop ("off");
}
on (press) {
gotoAndStop ("hit");
}
on (release) {
gotoAndStop ("over");
}
on (releaseOutside) {
gotoAndStop ("off");
}