Combined Code
frame 1 {
_root.moz = 400;
_root.flag = 0;
_root.an = 2;
_root.select = 1;
voice = 0;
ov = 0;
sc = 1;
var sound = new Sound();
play();
}
frame 2 {
if (_root.select == 1) {
_root.select = 0;
c = 55;
n = 7;
while (voice == ov) {
voice = Math.floor(Math.random() * 6) + (n - Math.floor(_root.moz / c));
}
ov = voice;
if (voice == 0) {
sound.attachSound('ã‚ã£09');
} else {
if (voice == 1) {
sound.attachSound('ã‚ã£10');
} else {
if (voice == 2) {
sound.attachSound('ã¯ï½ž06');
} else {
if (voice == 3) {
sound.attachSound('ã‚ã£05');
} else {
if (voice == 4) {
sound.attachSound('ã¯ï½ž05');
} else {
if (voice == 5) {
sound.attachSound('ã‚ã£04');
} else {
if (voice == 6) {
sound.attachSound('ã¯ï½ž04');
} else {
if (voice == 7) {
sound.attachSound('ã¯ï½ž03');
} else {
if (voice == 8) {
sound.attachSound('ã‚ã£12');
} else {
if (voice == 9) {
sound.attachSound('ã‚ã£13');
} else {
if (voice == 10) {
sound.attachSound('ã‚ã£14');
} else {
if (voice == 11) {
sound.attachSound('ã¯ï½ž02');
} else {
if (voice == 12) {
sound.attachSound('ã¯ï½ž09');
}
}
}
}
}
}
}
}
}
}
}
}
}
}
_root.sound.onSoundComplete = function () {
sc = 1;
};
if (_root.an <= 0 && sc == 1) {
_root.an = _root.moz / 300 + Math.floor(Math.random() * 15);
_root.sound.start(0, 1);
_root.select = 1;
sc = 0;
}
if (_root.moz <= 399) {
_root.moz += 0.05;
}
if (_root.moz <= 50) {
_root.moz += 0.05;
}
}
movieClip 16 {
}
movieClip 19 {
}
instance of movieClip 19 {
onClipEvent (enterFrame) {
this._alpha = _root.moz * 2;
}
}
movieClip 22 {
}
instance of movieClip 22 {
onClipEvent (enterFrame) {
this._alpha = _root.moz - 100;
}
}
movieClip 25 {
}
instance of movieClip 25 {
onClipEvent (enterFrame) {
this._alpha = _root.moz - 200;
}
}
movieClip 28 {
}
instance of movieClip 28 {
onClipEvent (enterFrame) {
this._alpha = _root.moz - 300;
}
}
movieClip 32 {
frame 1 {
play();
}
frame 11 {
gotoAndPlay(1);
}
}
instance of movieClip 32 {
onClipEvent (enterFrame) {
this._alpha = (_root.moz - 380) * 5;
}
}
movieClip 34 {
}
instance of movieClip 34 {
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true) == true) {
if (_root.flag != 1) {
_root.flag = 1;
_root.an -= 1;
if (_root.moz >= 1) {
_root.moz -= 1;
}
}
}
}
}
movieClip 35 {
}
instance of movieClip 35 {
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true) == true) {
if (_root.flag != 2) {
_root.flag = 2;
_root.an -= 1;
if (_root.moz >= 1) {
_root.moz -= 1;
}
}
}
}
}
instance of movieClip 34 {
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true) == true) {
if (_root.flag != 3) {
_root.flag = 3;
_root.an -= 1;
if (_root.moz >= 1) {
_root.moz -= 1;
}
}
}
}
}
instance of movieClip 35 {
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true) == true) {
if (_root.flag != 4) {
_root.flag = 4;
_root.an -= 1;
if (_root.moz >= 1) {
_root.moz -= 1;
}
}
}
}
}
frame 3 {
gotoAndPlay(2);
}