Instance of Symbol 5 MovieClip "shadow" in Frame 1
onClipEvent (enterFrame) {
_x = this._parent.player._x;
_alpha = (100 - ((_y - this._parent.player._y) / 2));
if (_y < this._parent.player._y) {
_alpha = 0;
}
}
Instance of Symbol 12 MovieClip "player" in Frame 1
onClipEvent (load) {
speed = 3;
xscale = _xscale;
inity = _y;
_root.platform._yscale = 100;
}
onClipEvent (enterFrame) {
this._parent.platform._x = _x;
this._parent.platform._y = _y + 20;
if (this._parent.platform.hitTest(this._parent.walls)) {
if ((_currentframe == 3) && (y_speed > 0)) {
this._parent.step.gotoAndPlay(3);
_y = inity;
_root.platform._yscale = 100;
}
if (Key.isDown(40)) {
gotoAndStop (4);
x_speed = 0;
}
if (Key.isDown(37)) {
if (Key.isDown(39)) {
x_speed = 0;
gotoAndStop (1);
} else {
if ((_currentframe != 2) && (Key.isDown(40) == false)) {
gotoAndStop (2);
}
if (Key.isDown(40) == false) {
x_speed = -speed;
_xscale = (-xscale);
}
}
} else if (Key.isDown(39)) {
if ((_currentframe != 2) && (Key.isDown(40) == false)) {
gotoAndStop (2);
}
if (Key.isDown(40) == false) {
x_speed = speed;
_xscale = xscale;
}
} else {
if (Key.isDown(40) == false) {
gotoAndStop (1);
}
x_speed = 0;
}
} else if (_currentframe != 3) {
gotoAndStop (1);
_rotation = (_rotation + x_speed);
}
this._parent.platform._x = _x;
this._parent.platform._y = _y + 20;
if (this._parent.platform.hitTest(this._parent.walls)) {
y_speed = 0;
} else {
y_speed = y_speed + 1;
}
this._parent.platform._x = _x;
this._parent.platform._y = 247.6;
if (this._parent.platform.hitTest(this._parent.walls) == false) {
if (fall_off_edge != true) {
if (_currentframe != 3) {
y_speed = -3;
_y = (_y - 4);
fall_off_edge = true;
}
}
}
this._parent.platform._x = _x;
this._parent.platform._y = 247.6;
if (this._parent.platform.hitTest(this._parent.walls)) {
if ((_currentframe < 3) && (Key.isDown(38))) {
gotoAndStop (3);
y_speed = -13;
_root.platform._yscale = 200;
}
}
_y = (_y + y_speed);
_x = (_x + x_speed);
if ((_y > 250) && (this._parent.sfx._currentframe == 1)) {
this._parent.sfx.gotoAndPlay(2);
}
}
Instance of Symbol 14 MovieClip "platform" in Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 23 MovieClip "sfx" in Frame 1
onClipEvent (enterFrame) {
this.mess_age.gotoAndStop(1);
}
Symbol 11 MovieClip Frame 5
stop();
Symbol 12 MovieClip Frame 1
stop();
Symbol 23 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip in Symbol 23 MovieClip Frame 22
onClipEvent (load) {
vibex = 20;
vibey = 20;
}
onClipEvent (enterFrame) {
_root._x = 0;
_root._y = 0;
_root._x = _root._x + (random(vibex * 2) - vibex);
_root._y = _root._y + (random(vibey * 2) - vibey);
vibex = vibex * 0.8;
vibey = vibey * 0.8;
}
Symbol 23 MovieClip Frame 40
this._parent.music.stop();
getURL ("http://www.nutcasenightmare.com/news.htm", "_self");
stop();
Symbol 25 MovieClip Frame 1
stop();