Combined Code
frame 1 {
stop();
fscommand('allowscale', false);
fscommand('trapallkeys', true);
Mouse.hide();
mousePoint.onEnterFrame = function () {
this._x = _xmouse;
this._y = _ymouse;
};
gameStart.onRollOver = function () {
this.gotoAndStop(2);
};
gameStart.onRollOut = function () {
this.gotoAndStop(1);
};
gameStart.onPress = function () {
_root.gotoAndStop(2);
};
gameExit.onRollOver = function () {
this.gotoAndStop(2);
};
gameExit.onRollOut = function () {
this.gotoAndStop(1);
};
gameExit.onPress = function () {
if (Stage.displayState == 'normal') {
Stage.displayState = 'fullScreen';
} else {
Stage.displayState = 'normal';
}
};
}
movieClip 8 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 13 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
// unknown tag 88 length 72
movieClip 19 {
}
frame 2 {
function normalize(x, y) {
var v1 = Math.sqrt(x * x + y * y);
if (v1 != 0) {
x /= v1;
y /= v1;
}
return new flash.geom.Point(x, y);
}
stop();
mouseHand.onEnterFrame = function () {
this._x = _xmouse;
this._y = _ymouse;
};
var pupilLeftX = allBody.pupilLeft._x;
var pupilLeftY = allBody.pupilLeft._y;
allBody.pupilLeft.onEnterFrame = function () {
if (_xmouse > 300) {
this._x = pupilLeftX + (_xmouse - pupilLeftX - allBody._x) / 22;
this._y = pupilLeftY + (_ymouse - pupilLeftY - allBody._y) / 27;
}
};
var pupilRightX = allBody.pupilRight._x;
var pupilRightY = allBody.pupilRight._y;
allBody.pupilRight.onEnterFrame = function () {
if (_xmouse > 300) {
this._x = pupilRightX + (_xmouse - pupilRightX - allBody._x) / 37;
this._y = pupilRightY + (_ymouse - pupilRightY - allBody._y) / 27;
}
};
var eggX = allBody.egg._x;
var eggY = allBody.egg._y;
allBody.egg.onEnterFrame = function () {
if (Math.abs(_xmouse - eggX - allBody._x) < 150 && Math.abs(_ymouse - eggY - allBody._y) < 150) {
var v3 = _xmouse - allBody.egg._x;
var v2 = _ymouse - allBody.egg._y;
var v1 = normalize(v3, v2);
allBody.egg._x = eggX + ((_xmouse - eggX - allBody._x) / 20) * v1.x;
allBody.egg._y = eggY + ((_ymouse - eggY - allBody._y) / 12) * v1.y;
}
};
var mousePositionX;
var mousePositionY;
var mouseSpeed;
var sukiPoint = 0;
var sexPoint = 0;
var onSex10 = 0;
allBody.baby.onRollOver = function () {
onSex10 = 1;
mousePositionX = _xmouse;
mousePositionY = _ymouse;
_root.onEnterFrame = function () {
onSex10 = 1;
if (1) {
mouseSpeed = Math.abs(mousePositionX - _xmouse) + Math.abs(mousePositionY - _ymouse);
} else {
mouseSpeed = 0;
}
if (_xmouse != mousePositionX && _ymouse != mousePositiony) {
if (sukiTime <= 200) {
sukiPoint += mouseSpeed;
} else {
if (sukiTime > 200 && sukiTime <= 230) {
sukiPoint += mouseSpeed / 2;
} else {
if (sukiTime > 230 && sukiTime <= 260) {
sukiPoint += mouseSpeed / 3;
} else {
if (sukiTime > 260) {
sukiPoint += mouseSpeed / 4;
}
}
}
}
}
mousePositionX = _xmouse;
mousePositionY = _ymouse;
};
};
allBody.baby.onRollOut = function () {
_root.onEnterFrame = function () {
onSex10 = 0;
mouseSpeed = 0;
};
};
allBody.egg.onRollOver = function () {
onSex10 = 1;
mousePositionX = _xmouse;
mousePositionY = _ymouse;
_root.onEnterFrame = function () {
onSex10 = 1;
if (1) {
mouseSpeed = Math.abs(mousePositionX - _xmouse) + Math.abs(mousePositionY - _ymouse);
} else {
mouseSpeed = 0;
}
if (_xmouse != mousePositionX && _ymouse != mousePositiony) {
sukiPoint += mouseSpeed;
}
mousePositionX = _xmouse;
mousePositionY = _ymouse;
};
};
allBody.egg.onRollOut = function () {
_root.onEnterFrame = function () {
onSex10 = 0;
mouseSpeed = 0;
};
};
UI.sukiBar._y = 370;
UI.iteiBar._y = 370;
UI.kiraiBar._y = 370;
var sukiPoint;
var sukiTime;
var iteiTime;
UI.sukiBar.onEnterFrame = function () {
sukiTime = 370 - this._y;
if (this._y < 370) {
sukiPoint -= sukiTime / 19 + 1;
} else {
this._y = 370;
}
if (this._y >= 30) {
this._y = -sukiPoint / 7 + 370;
} else {
if (UI.kiraiBar.kiraiPosition._y > 3) {
_root.gotoAndStop(3);
} else {
_root.gotoAndStop(4);
}
}
};
UI.iteiBar.onEnterFrame = function () {
iteiTime = 370 - UI.sukiBar._y;
if (iteiTime > 190) {
iteiTime += 25;
allBody.eyes.gotoAndStop(45);
}
if (iteiTime > 210) {
iteiTime += 50;
}
if (iteiTime > 230) {
iteiTime += 75;
}
if (this._y < 370) {
this._y += iteiTime / 90 + 2;
} else {
this._y = 370;
}
if (this._y >= 30) {
this._y -= mouseSpeed / (iteiTime / 50 + 1);
} else {
this._y = 30;
UI.kiraiBar.play();
}
if (this._y >= 50) {
UI.kiraiBar.stop();
}
};
var noiseRandom;
var noisePosition;
noisePosition = random(4) * 40 + 1;
noiseRandom = random(5) + 1;
noiseSound1.gotoAndPlay(noisePosition);
noiseSound1.noiseKind1.gotoAndStop(noiseRandom);
noisePosition = random(4) * 40 + 1;
noiseRandom = random(5) + 1;
noiseSound2.gotoAndPlay(noisePosition);
noiseSound2.noiseKind2.gotoAndStop(noiseRandom);
}
movieClip 22 {
}
movieClip 25 {
}
movieClip 28 {
}
movieClip 31 {
}
movieClip 34 {
}
movieClip 37 {
}
movieClip 40 {
}
movieClip 43 {
}
movieClip 44 {
frame 1 {
_root.allBody.pupilRight._alpha = 100;
_root.allBody.pupilLeft._alpha = 100;
}
frame 45 {
_root.allBody.pupilRight._alpha = 0;
_root.allBody.pupilLeft._alpha = 0;
}
frame 49 {
_root.allBody.pupilRight._alpha = 100;
_root.allBody.pupilLeft._alpha = 100;
}
frame 120 {
_root.allBody.pupilRight._alpha = 0;
_root.allBody.pupilLeft._alpha = 0;
}
frame 124 {
this.gotoAndPlay(1);
_root.allBody.pupilRight._alpha = 0;
_root.allBody.pupilLeft._alpha = 0;
}
}
movieClip 46 {
}
movieClip 49 {
}
movieClip 51 {
}
movieClip 54 {
}
movieClip 57 {
}
movieClip 60 {
}
movieClip 63 {
}
movieClip 66 {
}
movieClip 69 {
}
movieClip 72 {
}
movieClip 74 {
}
movieClip 75 {
}
movieClip 78 {
}
movieClip 79 {
}
movieClip 83 {
}
movieClip 84 {
frame 1 {
stop();
}
frame 30 {
stop();
_root.gotoAndStop(5);
}
}
movieClip 87 {
}
movieClip 90 {
}
movieClip 93 {
}
movieClip 94 {
}
movieClip 97 {
}
movieClip 100 {
}
movieClip 103 {
}
movieClip 106 {
}
movieClip 109 {
}
movieClip 112 {
}
movieClip 113 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
movieClip 114 {
instance noiseKind2 of movieClip 113 {
}
frame 40 {
noisePosition = random(4) * 40 + 1;
noiseRandom = random(5) + 1;
_root.noiseSound2.gotoAndPlay(noisePosition);
_root.noiseSound2.noiseKind2.gotoAndStop(noiseRandom);
}
frame 80 {
noisePosition = random(4) * 40 + 1;
noiseRandom = random(5) + 1;
_root.noiseSound2.gotoAndPlay(noisePosition);
_root.noiseSound2.noiseKind2.gotoAndStop(noiseRandom);
}
frame 120 {
noisePosition = random(4) * 40 + 1;
noiseRandom = random(5) + 1;
_root.noiseSound2.gotoAndPlay(noisePosition);
_root.noiseSound2.noiseKind2.gotoAndStop(noiseRandom);
}
frame 160 {
noisePosition = random(4) * 40 + 1;
noiseRandom = random(5) + 1;
_root.noiseSound2.gotoAndPlay(noisePosition);
_root.noiseSound2.noiseKind2.gotoAndStop(noiseRandom);
}
}
movieClip 117 {
}
movieClip 118 {
}
frame 3 {
stop();
UI.sukiBar._y = 0;
UI.kiraiBar.stop();
UI.onEnterFrame = function () {
this._alpha -= 2;
};
UI.sukiBar.onEnterFrame = function () {
UI.sukiBar._y = 30;
this.stop();
};
UI.iteiBar.onEnterFrame = function () {
this.stop();
};
}
movieClip 165 {
frame 23 {
stop();
}
}
movieClip 204 {
frame 19 {
stop();
}
}
movieClip 235 {
frame 15 {
stop();
}
}
movieClip 284 {
frame 24 {
stop();
}
}
movieClip 329 {
frame 22 {
stop();
}
}
movieClip 364 {
frame 17 {
stop();
}
}
movieClip 387 {
frame 11 {
stop();
}
}
movieClip 389 {
}
movieClip 390 {
frame 600 {
stop();
}
}
movieClip 391 {
frame 340 {
gotoAndPlay(274);
}
}
frame 4 {
stop();
mousePoint.onEnterFrame = function () {
this._x = _xmouse;
this._y = _ymouse;
};
returnBtn.onPress = function () {
_root.gotoAndStop(1);
};
}
movieClip 392 {
frame 118 {
_root.mouseOpen = 1;
}
frame 184 {
gotoAndPlay(118);
}
}
movieClip 396 {
}
movieClip 397 {
}
movieClip 398 {
frame 87 {
stop();
}
}
frame 5 {
stop();
mousePoint.onEnterFrame = function () {
this._x = _xmouse;
this._y = _ymouse;
};
returnBtn.onPress = function () {
_root.gotoAndStop(1);
};
}
movieClip 405 {
}
movieClip 406 {
frame 60 {
stop();
}
}