Frame 1
function setScreen(x) {
if (x == undefined) {
x = 1;
Qstr = "ebf71430,70db946e,279c5ab6,a9fec71d,84326fa7,90f2b365,baf675ce,c912a8d4,6d79c5e2";
Qvar = Qstr.split(",");
Qfrm = Qvar.length;
fscommand ("mnf", Qfrm);
}
Qmod = Qmod + int(x);
if (Qmod <= 0) {
Qmod = 1;
} else if (Qmod > Qfrm) {
Qmod = 1;
}
fscommand ("bar", Qmod);
if (game.screen != undefined) {
removeMovieClip(game.screen);
}
game.attachMovie(Qvar[Qmod - 1], "screen", 0);
if (game.trans != undefined) {
game.trans.play();
}
}
function gotoScreen(x) {
if (game.trans != undefined) {
removeMovieClip(game.trans);
}
game.attachMovie("trans_screen", "trans", 1).next_screen = x;
}
stop();
var Qmod = 0;
setScreen(Qscr);
Symbol 160 MovieClip Frame 1
function gotoRandomHold() {
gotoAndPlay("hold" + (random(2) + 1));
}
Symbol 160 MovieClip Frame 30
gotoRandomHold();
Symbol 160 MovieClip Frame 59
gotoRandomHold();
Symbol 165 MovieClip Frame 1
function gotoRandomHold() {
gotoAndPlay("hold" + (random(2) + 1));
}
Symbol 165 MovieClip Frame 60
gotoRandomHold();
Symbol 165 MovieClip Frame 120
gotoRandomHold();
Symbol 167 MovieClip Frame 1
function gotoRandomHold() {
gotoAndPlay("hold" + (random(2) + 1));
}
Symbol 167 MovieClip Frame 100
gotoRandomHold();
Symbol 167 MovieClip Frame 200
gotoRandomHold();
Symbol 169 MovieClip Frame 1
function gotoRandomHold() {
gotoAndPlay("hold" + (random(2) + 1));
}
Symbol 169 MovieClip Frame 60
gotoRandomHold();
Symbol 169 MovieClip Frame 120
gotoRandomHold();
Symbol 170 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 1
function changeValue(d_value) {
if (value >= 1) {
return(undefined);
}
i_val++;
value_buf = value_buf + d_value;
if (i_val == buf_vals) {
value_buf = 0;
i_val = 0;
}
value = value + d_value;
if (value >= 1) {
value = 1;
if (i_val != 0) {
sendIncreament(value_buf + 0.001);
}
_parent.onBarFilled();
} else if (value < 0) {
value = 0;
}
stripe._x = (-(1 - value)) * stripe._width;
}
var value = 0;
var value_buf = 0;
var buf_vals = 24;
var i_val = 0;
changeValue(0);
Symbol 203 MovieClip [84326fa7] Frame 1
function onBarFilled() {
next_btn._visible = true;
peach.boobs1._visible = true;
peach.boobs2._visible = true;
peach.boobs3._visible = false;
peach.boobs4._visible = false;
}
var gravi = new Gravitation(1);
act.gotoAndStop(30);
gravi.move_draw = 0.5;
gravi.swing_draw[0] = 0.5;
gravi.control_mode = 1;
gravi.auto_speed = 0.05;
onEnterFrame = function () {
gravi.Update();
peach.gotoAndStop(int(((1 - gravi.move_draw) * 10) + 25));
peach.boobs3.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.boobs4.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.shadow1.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.shadow2.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.shadow3.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.hair1.gotoAndStop(int((gravi.swing_draw[0] * 60) + 1));
peach.hair2.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.hair3.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.hair4.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.head.h1.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.head.h2.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.h3.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
};
peach.eyes.gotoAndStop(1);
peach.head.mouth.gotoAndStop(1);
peach.boobs1._visible = false;
peach.boobs2._visible = false;
peach.boobs3._visible = true;
peach.boobs4._visible = true;
next_btn._visible = false;
hint_group.gotoAndStop(hint_group._totalframes);
horizontal_btn.onPress = function () {
hint_group.gotoAndPlay(1);
hint_group.hint.gotoAndStop(1);
gravi.control_mode = 0;
onEnterFrame = function () {
gravi.move_goto = 1 - ((_xmouse - 260) / 250);
if (gravi.move_goto < 0) {
gravi.move_goto = 0;
} else if (gravi.move_goto > 1) {
gravi.move_goto = 1;
}
gravi.Update();
peach.gotoAndStop(int(((1 - gravi.move_draw) * 60) + 1));
peach.boobs1.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.boobs2.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.boobs3.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.boobs4.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.shadow1.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.shadow2.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.shadow3.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.hair1.gotoAndStop(int((gravi.swing_draw[0] * 60) + 1));
peach.hair2.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.hair3.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.hair4.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.head.h1.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.head.h2.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.h3.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.head.mouth.gotoAndStop(1);
bar.changeValue(gravi.move_speed_overal / 150);
};
};
vertical_btn.onPress = function () {
hint_group.gotoAndPlay(1);
hint_group.hint.gotoAndStop(2);
gravi.control_mode = 0;
onEnterFrame = function () {
gravi.move_goto = 1 - ((_ymouse - 150) / 220);
if (gravi.move_goto < 0) {
gravi.move_goto = 0;
} else if (gravi.move_goto > 1) {
gravi.move_goto = 1;
}
gravi.Update();
peach.gotoAndStop(int((gravi.move_draw * 60) + 62));
peach.boobs1.gotoAndStop(int((gravi.swing_draw[0] * 60) + 1));
peach.boobs2.gotoAndStop(int((gravi.swing_draw[0] * 60) + 1));
peach.boobs3.gotoAndStop(int((gravi.swing_draw[0] * 60) + 1));
peach.boobs4.gotoAndStop(int((gravi.swing_draw[0] * 60) + 1));
peach.shadow1.gotoAndStop(int((gravi.swing_draw[0] * 60) + 62));
peach.shadow2.gotoAndStop(int((gravi.swing_draw[0] * 60) + 62));
peach.shadow3.gotoAndStop(int((gravi.swing_draw[0] * 60) + 62));
peach.hair1.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.hair2.gotoAndStop(int((gravi.swing_draw[0] * 60) + 1));
peach.hair3.gotoAndStop(int((gravi.swing_draw[0] * 60) + 1));
peach.hair4.gotoAndStop(int((gravi.swing_draw[0] * 60) + 1));
peach.head.h1.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.head.h2.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.h3.gotoAndStop(int(((1 - gravi.swing_draw[0]) * 60) + 1));
peach.head.mouth.gotoAndStop(2);
bar.changeValue(gravi.move_speed_overal / 150);
};
};
next_btn.onPress = function () {
next_btn.onPress = null;
_root.gotoScreen("1");
};
Symbol 203 MovieClip [84326fa7] Frame 10
stop();
next_btn1.onPress = function () {
play();
};
Symbol 203 MovieClip [84326fa7] Frame 15
stop();
Symbol 205 MovieClip [__Packages.Gravitation] Frame 0
class Gravitation
{
var move_speeds, swing_draw, swing_speed, swing_fadeout, move_draw, move_delay, move_speed_overal, auto_anim_angle, control_mode, auto_fade_out_speed, face_frame, auto_speed, anchor, auto_move_fade_k, quarter_prev, quarter, move_goto_prev, move_goto, actual_delay, move_speed, swing_goto;
function Gravitation (swings_num) {
move_speeds = new Array();
swing_draw = new Array();
swing_speed = new Array();
swing_fadeout = new Array();
var _local2;
move_draw = 0.5;
_local2 = 0;
while (_local2 < 24) {
move_speeds.push(0);
_local2++;
}
_local2 = 0;
while (_local2 < swings_num) {
swing_draw.push(0.5);
swing_speed.push(0);
swing_fadeout.push(0.1);
_local2++;
}
move_delay = 3;
move_speed_overal = 0;
auto_anim_angle = 0;
control_mode = 0;
auto_fade_out_speed = 0.005;
face_frame = 1;
auto_speed = 0.2;
anchor = undefined;
}
function Update() {
var _local3;
var _local2;
if (control_mode > 0) {
if (control_mode == 1) {
auto_move_fade_k = 1;
} else if (control_mode == 2) {
auto_move_fade_k = auto_move_fade_k - auto_fade_out_speed;
if (auto_move_fade_k < 0) {
auto_move_fade_k = 0;
}
}
quarter_prev = quarter;
auto_anim_angle = auto_anim_angle + ((auto_move_fade_k * 3.141593) * auto_speed);
if (auto_anim_angle >= 6.283185) {
auto_anim_angle = auto_anim_angle - 6.283185;
}
quarter = int(auto_anim_angle / 1.570796);
move_goto_prev = move_goto;
move_goto = ((auto_move_fade_k * Math.sin(auto_anim_angle)) + 1) / 2;
if ((quarter == 0) && (quarter_prev == 3)) {
anchor = 1;
} else if ((quarter == 2) && (quarter_prev == 1)) {
anchor = -1;
} else if (((quarter == 1) && (quarter_prev == 0)) || ((quarter == 3) && (quarter_prev == 2))) {
anchor = 0;
} else {
anchor = undefined;
}
}
actual_delay = move_delay - (move_speed_overal * 10);
if (actual_delay < 1.5) {
actual_delay = 1.5;
}
move_speed = (move_goto - move_draw) / actual_delay;
_local3 = 1 / actual_delay;
move_draw = move_draw + move_speed;
if (move_draw > 1) {
move_draw = 1;
} else if (move_draw < 0) {
move_draw = 0;
}
move_speeds.push(Math.abs(move_speed));
move_speeds.splice(0, 1);
move_speed_overal = 0;
_local2 = 0;
while (_local2 < move_speeds.length) {
move_speed_overal = move_speed_overal + move_speeds[_local2];
_local2++;
}
move_speed_overal = move_speed_overal / move_speeds.length;
swing_goto = (move_speed + _local3) / (2 * _local3);
_local2 = 0;
while (_local2 < swing_draw.length) {
if ((Math.abs(swing_goto - swing_draw[_local2]) > 0.001667) || (Math.abs(swing_speed[_local2]) > 0.001667)) {
swing_speed[_local2] = swing_speed[_local2] + (((swing_goto - swing_draw[_local2]) / 10) + ((1.5 * move_speed_overal) * (swing_goto - swing_draw[_local2])));
swing_draw[_local2] = swing_draw[_local2] + swing_speed[_local2];
swing_draw[_local2] = swing_draw[_local2] + ((swing_goto - swing_draw[_local2]) * swing_fadeout[_local2]);
if (swing_draw[_local2] < 0) {
swing_draw[_local2] = 0;
} else if (swing_draw[_local2] > 1) {
swing_draw[_local2] = 1;
}
} else {
swing_draw[_local2] = 0.5;
}
_local2++;
}
if ((move_speed_overal > 0.14) && (face_frame < 3)) {
face_frame = 3;
}
if ((move_speed_overal > 0.07) && (face_frame < 2)) {
face_frame = 2;
}
if ((move_speed_overal < 0.05) && (face_frame > 1)) {
face_frame = 1;
}
if ((move_speed_overal < 0.1) && (face_frame > 2)) {
face_frame = 2;
}
}
}