Combined Code
frame 1 {
function watchMouse(stopWatching) {
if (!stopWatching) {
this.onMouseMove = function () {
MouseMove();
};
} else {
delete this.onMouseMove;
}
}
function WhichPhase() {
return Math.floor(_global.breast / 10);
}
function YMove(number) {
Debug.text = '';
if (WhichPhase() % 2 == 1) {
Debug.text = 'R ';
number = 10 - number;
}
_global.breast += number;
if (_global.moveDirection == 0) {
if (number > 5) {
_global.moveDirection = 1;
} else {
_global.moveDirection = -1;
}
if (WhichPhase() % 2 == 1) {
_global.moveDirection *= -1;
}
} else {
if (WhichPhase() % 2 == 1) {
if (_global.moveDirection == -1) {
_global.breast = 80 - _global.breast;
}
} else {
if (_global.moveDirection == 1) {
_global.breast = 80 - _global.breast;
}
}
}
_global.oy = number;
_global.ox = number;
if (_global.oy == 0 || _global.oy == 1 || _global.oy == 9) {
_global.moveDirection = 0;
}
Debug.text += _global.breast;
}
function XMove(number) {
_global.breast = number * 10;
}
function MouseMove() {
var v3 = Math.floor(_xmouse / 100);
var v2 = Math.floor(_ymouse / 55);
XMove(v3);
YMove(v2);
if (_global.breast < 0) {
_global.breast = 0;
}
if (_global.breast >= 80) {
_global.breast = 80;
}
Breast.gotoAndStop(_global.breast);
_global.ox = _xmouse;
_global.oy = _ymouse;
}
watchMouse();
_global.ox = _xmouse;
_global.oy = _ymouse;
_global.breast = 0;
_global.moveDirection = 0;
}
movieClip 22 {
frame 104 {
if (Math.random() < 0.7) {
gotoAndPlay(Math.floor(Math.random() * 70));
}
}
frame 279 {
gotoAndPlay(Math.floor(Math.random() * 70));
}
}
movieClip 57 {
frame 200 {
gotoAndPlay(Math.floor(Math.random() * 5) * 200 + 1);
}
frame 400 {
gotoAndPlay(Math.floor(Math.random() * 5) * 200 + 1);
}
frame 600 {
gotoAndPlay(Math.floor(Math.random() * 5) * 200 + 1);
}
frame 777 {
gotoAndPlay(Math.floor(Math.random() * 5) * 200 + 1);
}
frame 991 {
gotoAndPlay(Math.floor(Math.random() * 5) * 200 + 1);
}
}
movieClip 59 {
}
movieClip 60 {
}
movieClip 61 {
frame 6 {
Head.Eyes.gotoAndPlay(150);
}
frame 198 {
gotoAndPlay(Math.floor(Math.random() * 3) * 200 + 1);
}
frame 403 {
gotoAndPlay(Math.floor(Math.random() * 3) * 200 + 1);
}
frame 603 {
gotoAndPlay(Math.floor(Math.random() * 3) * 200 + 1);
}
}
movieClip 63 {
}
movieClip 65 {
}
movieClip 118 {
frame 1 {
stop();
}
}