Frame 1 (309 B)
if (_root.warning == undefined) {
_root.warning = false;
}
_root.lded = (Math.floor(_root.getBytesLoaded() / 1024) + " of ") + Math.floor(_root.getBytesTotal() / 1024);
if ((_root.getBytesLoaded() < _root.getBytesTotal()) || (!_root.warning)) {
gotoAndPlay (1);
} else {
_root.gotoAndStop(2);
}
Frame 2 (526 B)
_root.doReplay = function () {
var gsp = Math.ceil((Math.floor(Math.random() * 100) * 550) / 100);
_root.girl._x = gsp;
_root.maxSpeed = 30;
_root.girl._y = 100;
_root.man.gotoAndStop(1);
_root.girl.way = 1;
_root.girl.dx = 0;
_root.fail = false;
_root.fucking = false;
_root.man.speed = 0;
_root.man.maxSpeed = 50;
_root.man.way = 1;
_root.fucks = 0;
_root.playMode = true;
_root.replay._visible = false;
_root.ready._visible = false;
};
if (!_root.warning) {
gotoAndPlay (1);
}
stop();
Instance of Symbol 41 MovieClip "man" in Frame 2 (2.88 KiB) ●
onClipEvent (load) {
var gsp = Math.ceil((Math.floor(Math.random() * 100) * 550) / 100);
_root.girl._x = gsp;
_root.maxSpeed = 30;
_root.girl.way = 1;
_root.girl.dx = 0;
_root.fail = false;
_root.fucking = false;
_root.man.speed = 0;
_root.man.maxSpeed = 50;
_root.man.way = 1;
_root.fucks = 0;
_root.playMode = false;
_root.replay._visible = false;
}
onClipEvent (enterFrame) {
if (!_root.playMode) {
if (Key.isDown(32)) {
if (!_root.replay._visible) {
_root.ready._visible = false;
_root.playMode = true;
} else {
_root.doReplay();
}
}
return(undefined);
}
if ((Key.isDown(39) && (!_root.fucking)) && (_root.man._x < 540)) {
if (_root.man.speed == 0) {
_root.man.speed = 20;
} else if (_root.man.speed < _root.man.maxSpeed) {
_root.man.speed = _root.man.speed * 2;
}
if (_root.man.speed > _root.man.maxSpeed) {
_root.man.speed = _root.man.maxSpeed;
}
_root.man.way = 1;
} else if ((Key.isDown(37) && (!_root.fucking)) && (_root.man._x > 20)) {
if (_root.man.speed == 0) {
_root.man.speed = 20;
} else if (_root.man.speed < _root.man.maxSpeed) {
_root.man.speed = _root.man.speed * 2;
}
if (_root.man.speed > _root.man.maxSpeed) {
_root.man.speed = _root.man.maxSpeed;
}
_root.man.way = -1;
} else {
if (_root.man.speed > 0) {
_root.man.speed = Math.floor(_root.man.speed / 3);
}
if (_root.man.speed < 0) {
_root.man.speed = 0;
}
}
if (!_root.fucking) {
_root.man._x = _root.man._x + (_root.man.speed * _root.man.way);
if (_root.man._x > 540) {
_root.man._x = 540;
_root.man.speed = 2;
}
if (_root.man._x < 20) {
_root.man._x = 20;
_root.man.speed = 2;
}
}
if (_root.girl._y < 110) {
_root.girl.gotoAndPlay(12);
_root.girl.way = 1;
}
_root.girl_shadow._x = _root.girl._x;
if (_root.girl._y < _root.man._y) {
var sp = (((((_root.girl._y - 60) * 100) / _root.man._y) * _root.maxSpeed) / 100);
_root.girl._y = _root.girl._y + (_root.girl.way * sp);
_root.girl._x = _root.girl._x + _root.girl.dx;
if ((_root.girl._x - 80) < 0) {
_root.girl.dx = 1;
}
if ((_root.girl._x + 80) > 550) {
_root.girl.dx = -1;
}
_root.fucking = false;
} else if ((Math.abs(_root.man._x - _root.girl._x) < 50) && (!_root.fail)) {
_root.man.speed = 0;
_root.girl._y = _root.man._y;
if (this._currentframe == 1) {
_root.girl.way = -1;
_root.girl.dx = _root.girl._x - _root.man._x;
_root.girl._x = _root.man._x;
_root.girl.gotoAndPlay(1);
this.play();
_root.fucking = true;
_root.fucks++;
if (_root.maxSpeed < 70) {
_root.maxSpeed = _root.maxSpeed + _root.fucks;
}
}
} else if (_root.girl._currentframe < 16) {
_root.girl._y = _root.man._y + 50;
_root.girl.gotoAndPlay(16);
_root.man.gotoAndPlay(10);
_root.fail = true;
_root.replay._visible = true;
_root.playMode = false;
}
}
Frame 3 (8 B)
stop();
Symbol 3 Button (39 B)
on (release) {
_root.warning = true;
}
Symbol 4 Button (34 B)
on (release) {
gotoAndStop (3);
}
Symbol 23 MovieClip Frame 1 (16 B)
this.speed = 0;
Symbol 23 MovieClip Frame 3 (13 B)
this.stop();
Symbol 23 MovieClip Frame 8 (8 B)
stop();
Symbol 23 MovieClip Frame 13 (30 B)
this.speed = this.speed + 10;
Symbol 23 MovieClip Frame 15 (18 B)
gotoAndPlay (12);
Symbol 23 MovieClip Frame 22 (22 B)
this.gotoAndPlay(16);
Symbol 41 MovieClip Frame 1 (8 B)
stop();
Symbol 41 MovieClip Frame 3 (27 B)
_root.girl.gotoAndStop(7);
Symbol 41 MovieClip Frame 7 (35 B)
_root.girl._y = _root.man._y - 50;
Symbol 41 MovieClip Frame 9 (17 B)
gotoAndStop (1);
Symbol 41 MovieClip Frame 22 (22 B)
this.gotoAndPlay(12);