Combined Code
frame 1 {
stop();
rose_part_1.onEnterFrame = function () {
rose_part_1.play();
};
rose_part_1.belly.onPress = function () {
_root.gotoAndPlay(2);
};
}
movieClip 5 {
}
movieClip 7 {
}
movieClip 9 {
}
movieClip 11 {
}
movieClip 13 {
}
movieClip 15 {
}
movieClip 18 {
}
movieClip 20 {
}
movieClip 21 {
}
frame 2 {
stop();
rose_part_2.onEnterFrame = function () {
rose_part_2.play();
};
}
movieClip 24 {
}
movieClip 27 {
}
movieClip 29 {
}
movieClip 31 {
}
movieClip 32 {
frame 21 {
_root.gotoAndPlay(3);
}
}
frame 3 {
stop();
rose_part_3.onEnterFrame = function () {
rose_part_3.play();
rose_part_3.l_leg_upper.stop();
rose_part_3.l_leg_lower.stop();
rose_part_3.r_leg_upper.stop();
rose_part_3.r_leg_lower.stop();
};
push_button.onPress = function () {
rose_part_3.l_leg_upper.play();
rose_part_3.l_leg_lower.play();
rose_part_3.r_leg_upper.play();
rose_part_3.l_leg_lower.play();
};
}
movieClip 36 {
}
movieClip 38 {
}
movieClip 40 {
frame 121 {
_root.gotoAndPlay(4);
}
}
frame 4 {
stop();
var eggTalkDone = false;
rose_part_4.onEnterFrame = function () {
rose_part_4.play();
};
speech_b.speech_b_inside.onPress = function () {
speech_b.gotoAndPlay(16);
};
onEnterFrame = function () {
if (eggTalkDone == false) {
speech_b.gotoAndPlay(2);
speech_b.speech_b_inside._txt.text = 'Huh... eggs... that\'s new...';
eggTalkDone = true;
} else {
if (eggTalkDone == true) {
null;
}
}
};
var high = 10;
var low = 1;
randoSpeak = function () {
randoLines = Math.floor(Math.random() * (1 + high - low)) + low;
if (randoLines == 1) {
speech_b.gotoAndPlay(2);
speech_b.speech_b_inside._txt.text = '...whew... that was difficult...';
}
if (randoLines == 2) {
speech_b.gotoAndPlay(2);
speech_b.speech_b_inside._txt.text = 'Eggs? I... I guess science plus childbirth equals eggs...';
}
if (randoLines == 3) {
speech_b.gotoAndPlay(2);
speech_b.speech_b_inside._txt.text = 'I\'m sure these are humans within these eggs... maybe...';
}
if (randoLines == 4) {
speech_b.gotoAndPlay(2);
speech_b.speech_b_inside._txt.text = '*huff*...I feel... so tired... but also... kind of... happy!';
}
if (randoLines == 5) {
speech_b.gotoAndPlay(2);
speech_b.speech_b_inside._txt.text = 'I... I hope he returns soon...';
}
if (randoLines == 6) {
speech_b.gotoAndPlay(2);
speech_b.speech_b_inside._txt.text = 'I carried these for 9 months? ...When will they hatch?';
}
if (randoLines == 7) {
speech_b.gotoAndPlay(2);
speech_b.speech_b_inside._txt.text = 'I- I don\'t understand how eggs kick, but... that\'s science for you!';
}
if (randoLines == 8) {
speech_b.gotoAndPlay(2);
speech_b.speech_b_inside._txt.text = 'While I\'m happy the eggs have vacated my body, I\'m going to miss my swollen middle.';
}
if (randoLines == 9) {
speech_b.gotoAndPlay(2);
speech_b.speech_b_inside._txt.text = 'Hah... I... I feel so weak...';
}
if (randoLines == 10) {
speech_b.gotoAndPlay(2);
speech_b.speech_b_inside._txt.text = 'Well... this is a mess!';
}
};
rose_part_4.head.onPress = function () {
randoSpeak();
};
}
movieClip 44 {
}
movieClip 45 {
}
movieClip 49 {
}
movieClip 50 {
frame 1 {
stop();
}
frame 113 {
stop();
}
}