Frame 1
_global.hairalpha = 100;
_global.powerz = 0;
_global.colorValue = "0xFFCCFF";
_global.nailColorValue = "0xFF3366";
_global.import_mobile_device_bg = 1;
_global.custom_shirt = 0;
_global.nude_custom_shirt = 0;
_global.boobcomeup = 0;
_global.autoboobcomeup = 1;
_global.blink_chance = 20;
_global.mood = 1;
_global.Money = 50;
_global.HairpinEnergy = 100;
_global.MaikoPencil = 1;
_global.mood = 0;
_global.fitness = 50;
_global.melee = 1;
_global.TasksLeft = 8;
_global.Days = 0;
_global.bloom = 1;
_global.can_use_tablet = 1;
_global.dialogue_scene = 0;
_global.dialogue_clicked = 0;
_global.dialogue_text = "";
_global.cum = 0;
_global.pattie_in_party = 0;
_global.kyle_in_party = 0;
_global.travel_to_area = 0;
_global.travel_to_text = "";
_global.cafe_popularity = 0;
_global.cafe_popularity_to_next_level = 10;
_global.cafe_pleasure_clients = 0;
_global.cafe_level = 1;
Mouse.removeListener(mouseListener);
Frame 2
stop();
_global.in_area = 0;
_global.boobcomeup = 0;
_global.HoldBody = 0;
_global.HairpinEnergy = 100;
_global.powerz = 0;
_global.can_use_tablet = 1;
_global.boobs_visible = 1;
_global.tablet_in_use = 0;
_global.in_cafe = 0;
_global.in_gym = 0;
_global.in_hentai = 0;
_global.in_debug_test = 0;
_global.secrets_found = 0;
Key.removeListener(keyListener4);
Key.removeListener(keyListenerQ);
function createExplosion(targetX, targetY) {
var _local6 = 0;
while (_local6 < particleTotal) {
var _local5 = flash.display.BitmapData.loadBitmap("sparkle_purple");
var _local3 = _root.createEmptyMovieClip("main_holder", _root.getNextHighestDepth());
var _local4 = _local3.createEmptyMovieClip("internal_holder", _local3.getNextHighestDepth());
_local4._x = (-_local5.width) / 2;
_local4._y = (-_local5.height) / 2;
_local4.attachBitmap(_local5, _local4.getNextHighestDepth(), "never", true);
_local3._x = targetX;
_local3._y = targetY;
_local3._rotation = random(360);
_local3._alpha = random(50) + 50;
_local3.boundyLeft = targetX - particleRange;
_local3.boundyTop = targetY - particleRange;
_local3.boundyRight = targetX + particleRange;
_local3.boundyBottom = targetY + particleRange;
_local3.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed);
_local3.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed);
_local3.speedX = _local3.speedX * particleMaxSpeed;
_local3.speedY = _local3.speedY * particleMaxSpeed;
_local3.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed;
numberOfParticles++;
_local3.onEnterFrame = function () {
this._alpha = this._alpha - this.fadeSpeed;
this._x = this._x + this.speedX;
this._y = this._y + this.speedY;
if (((((this._alpha <= 0) || (this._x < this.boundyLeft)) || (this._x > this.boundyRight)) || (this._y < this.boundyTop)) || (this._y > this.boundyBottom)) {
this.removeMovieClip();
numberOfParticles--;
}
};
_local6++;
}
}
var particleMaxSpeed = 3;
var particleFadeSpeed = 10;
var particleTotal = 1;
var particleRange = 25;
mouseListener = new Object();
mouseListener.onMouseDown = function () {
_root.hand_device.hand_device.pointer_arm.play();
};
mouseListener.onMouseMove = function () {
createExplosion(_xmouse, _ymouse);
};
Mouse.addListener(mouseListener);
if (_global.travel_to_area == 1) {
_global.travel_to_area = 0;
loadMovie (_global.travel_to_text, "area_mc");
_global.travel_to_text = "";
_root.gotoAndStop(3);
} else {
delete onEnterFrame;
_root.onEnterFrame = function () {
_root.stress = _global.mood;
if (_global.in_area == 0) {
_root.area1._visible = true;
_root.area2._visible = true;
_root.exit._visible = true;
} else {
_root.area1._visible = false;
_root.area2._visible = false;
_root.exit._visible = false;
}
if (_root._currentframe == 3) {
if (_global.in_area == 0) {
_root.gotoAndStop(2);
}
if (_global.dialogue_scene == 1) {
_root.paper_dialogue_box.gotoAndStop(2);
_root.paper_dialogue_box.dialogue_txt_var = _global.dialogue_text;
} else {
if ((((_root.paper_dialogue_box._currentframe == 2) && (_global.in_cafe != 1)) && (_global.in_gym != 1)) && (_global.in_debug_test != 1)) {
_root.DC._visible = true;
}
_root.paper_dialogue_box.gotoAndStop(1);
}
if (_global.mood >= 20) {
_global.mood = 20;
}
if (_global.mood <= 0) {
_global.mood = 0;
}
if (_root.hand_device._currentframe > 1) {
_root.hand_device.hand_device.pointer_arm._x = _root._xmouse + 100;
_root.hand_device.hand_device.pointer_arm._y = _root._ymouse + 50;
if (_root.hand_device.hand_device.pointer_arm._y < 250) {
_root.hand_device.hand_device.pointer_arm._y = 250;
}
if (_root.hand_device.hand_device.pointer_arm._x < 510) {
_root.hand_device.hand_device.pointer_arm._x = 510;
}
}
_root.boob_body._y = (720 + (720 - _root._ymouse)) + _global.boobcomeup;
_root.boobs._y = _root.boob_body._y - 30;
_root.boobs._x = 640;
if (_root.mouse_position._y > 620) {
_root.boobs.gotoAndStop((_root.mouse_position._y - 620) + 1);
} else {
_root.boobs.gotoAndStop(1);
}
_root.mouse_position._x = _root._xmouse;
_root.mouse_position._y = _root._ymouse;
if (_global.powerz == 1) {
_root.Hair2.glow.gotoAndStop(2);
} else {
_root.Hair2.glow.gotoAndStop(1);
}
if (_global.can_use_tablet == 0) {
_root.hand_device.gotoAndStop(1);
}
if (_global.boobs_visible == 0) {
_root.boobs._visible = false;
} else {
_root.boobs._visible = true;
}
if ((_xmouse - 100) < 350) {
_root.HairBox._x = (2 * (350 - (_xmouse - 100))) + (_xmouse - 100);
_root.HairBox._y = _ymouse + 150;
} else if ((_xmouse - 100) > 350) {
_root.HairBox._x = (_xmouse - 100) - (2 * ((_xmouse - 100) - 350));
_root.HairBox._y = _ymouse + 150;
} else {
_root.HairBox._x = _xmouse - 100;
_root.HairBox._y = _ymouse + 150;
}
_global.lookx2 = _global.lookx1;
_global.looky2 = _global.looky1;
_global.lookx1 = _xmouse - 100;
_global.looky1 = _ymouse + 150;
if (_global.HairpinEnergy <= 0) {
_global.HairpinEnergy = 0;
_global.powerz = 0;
}
}
};
}
Frame 3
_global.in_area = 1;
_global.lookx1 = _root.HairBox._x;
_global.looky1 = _root.HairBox._y;
_global.lookx2 = _root.HairBox._x;
_global.looky2 = _root.HairBox._y;
_global.changeColor = function (MovieClip, theColor) {
var _local1 = new Color(MovieClip);
_local1.setRGB(theColor);
};
_global.select_device_color = function () {
srcMC = _root.stores_mall.mc_colorPicker.colors;
var _local3 = new flash.display.BitmapData(srcMC._width, srcMC._height, true, 0);
_local3.draw(srcMC);
_global.colorValue = "0x" + _local3.getPixel(srcMC._xmouse, srcMC._ymouse).toString(16);
_global.changeColor(_root.stores_mall.mc_color.device, _global.colorValue);
};
keyListenerQ = new Object();
keyListenerQ.onKeyDown = function () {
if (Key.getCode() == 81) {
if (_root.hand_device._currentframe == 21) {
_root.hand_device.play();
} else if (_root.hand_device._currentframe != 1) {
_root.boobs.gotoAndStop(1);
_root.hand_device.gotoAndPlay(2);
} else {
_root.boobs.gotoAndStop(1);
_root.hand_device.gotoAndPlay(2);
}
}
};
Key.addListener(keyListenerQ);
keyListener4 = new Object();
keyListener4.onKeyUp = function () {
if (Key.getCode() == 83) {
if (_global.powerz == 0) {
_global.powerz = 1;
} else if (_global.powerz == 1) {
_global.powerz = 0;
}
}
};
Key.addListener(keyListener4);
Instance of Symbol 35 MovieClip "mouse_position" in Frame 3
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 37 MovieClip "boob_position" in Frame 3
onClipEvent (load) {
restx = _root.boob_body._x;
resty = _root.boob_body._y - 300;
k = 3;
mass = 9;
damping = 0.75;
pressing = 0;
vx = 0;
vy = 0;
this._alpha = 0;
}
onClipEvent (enterFrame) {
restx = _root.boob_body._x;
resty = _root.boob_body._y - 300;
var dx = (restx - this._x);
var dy = (resty - this._y);
if (pressing == 0) {
var ax = ((k / mass) * dx);
var ay = ((k / mass) * dy);
vx = vx + ax;
vy = vy + ay;
vx = vx * damping;
vy = vy * damping;
this._x = this._x + vx;
this._y = this._y + vy;
var mousex = (_xmouse - restx);
var mousey = (_ymouse - resty);
}
if (pressing == 1) {
}
if ((((this._x > (restx + 30)) || (this._x < (restx - 30))) || (this._y < (resty - 30))) || (this._y > (resty + 30))) {
pressing = 0;
}
}
Instance of Symbol 42 MovieClip "boob_body" in Frame 3
onClipEvent (load) {
if (_root._currentframe == 7) {
this._visible = false;
} else {
this._visible = true;
}
if (_global.WearSchool == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 7) && (_root.img._currentframe == 3)) {
this._visible = true;
} else if ((_root._currentframe == 7) && (_root.img._currentframe != 3)) {
this._visible = false;
}
if (_global.WearSchool == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 16 MovieClip [rootLetter] "boobs" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 148 MovieClip "hand_device" in Frame 3
onClipEvent (load) {
if (!((this._currentframe == 1) || (this._currentframe == 21))) {
this.gotoAndStop(1);
}
}
Instance of Symbol 151 MovieClip "cum" in Frame 3
onClipEvent (enterFrame) {
if (_global.cum == 1) {
this.gotoAndStop(2);
} else if (_global.cum == 2) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 169 MovieClip "DC" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Symbol 14 MovieClip Frame 1
stop();
Instance of Symbol 9 MovieClip "c_shirt" in Symbol 14 MovieClip Frame 3
onClipEvent (load) {
if (_global.nude_custom_shirt == 1) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 10 MovieClip "c_ink" in Symbol 14 MovieClip Frame 3
onClipEvent (load) {
if (_global.nude_custom_shirt == 1) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_global.nude_custom_shirt == 1) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 14 MovieClip "boobs" in Symbol 15 MovieClip Frame 1
onClipEvent (load) {
if (((_global.custom_shirt == 1) && (_global.in_cafe != 1)) && (_global.in_gym != 1)) {
this.gotoAndStop(3);
_global.changeColor(this.c_ink.c_ink, _global.colorValue);
this.c_graphic.loadMovie("custom_shirt_graphic.png");
}
if (_global.in_cafe == 1) {
this.gotoAndStop(2);
}
if (_global.in_hentai == 1) {
this.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_global.in_cafe == 1) {
this.gotoAndStop(2);
}
if (_global.in_hentai == 1) {
this.gotoAndStop(4);
}
}
Symbol 16 MovieClip [rootLetter] Frame 1
stop();
Symbol 26 MovieClip Frame 1
function myWidth(moveObj, newWidth) {
moveObj.w = moveObj._width;
moveObj.dwidth = newWidth - moveObj.w;
moveObj.t = 0;
NFRAMES = 6;
moveObj.onEnterFrame = function () {
if ((moveObj.t++) < NFRAMES) {
moveObj._width = easeOutQuad(moveObj.t, moveObj.w, moveObj.dwidth, NFRAMES);
} else {
delete this.onEnterFrame;
}
};
}
function myMove(moveObj, newX) {
moveObj.x = moveObj._x;
moveObj.dx = newX - moveObj.x;
moveObj.t = 0;
NFRAMES = 6;
moveObj.onEnterFrame = function () {
if ((moveObj.t++) < NFRAMES) {
moveObj._x = easeOutQuad(moveObj.t, moveObj.x, moveObj.dx, NFRAMES);
} else {
delete this.onEnterFrame;
}
};
}
percentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
this.myWidth(this.loadBar, percentLoaded * 1.94);
this.myMove(this.mc_loadNum, (percentLoaded * 1.9) - 8);
mc_loadNum.loadNum.text = percentLoaded;
easeOutQuad = function (time, beginX, changeX, durationX) {
time = time / (durationX / 2);
if (time < 1) {
return((((changeX / 2) * time) * time) + beginX);
}
time--;
return((((-changeX) / 2) * ((time * (time - 2)) - 1)) + beginX);
};
Symbol 26 MovieClip Frame 2
if (percentLoaded < 100) {
gotoAndPlay ("loading");
}
Symbol 26 MovieClip Frame 25
_root.gotoAndStop(2);
Symbol 28 Button
on (release) {
if (_root._currentframe == 2) {
_root.gotoAndStop(1);
}
}
Symbol 31 MovieClip Frame 5
stop();
Symbol 32 Button
on (release) {
if (_root._currentframe == 2) {
loadMovie ("umch/areas/UMCH_home.swf", "area_mc");
_root.gotoAndStop(3);
}
}
Symbol 36 Button
on (press) {
pressing = 1;
}
on (release) {
pressing = 0;
}
Symbol 42 MovieClip Frame 1
stop();
Symbol 47 Button
on (release) {
_global.dialogue_clicked = 1;
}
Symbol 49 MovieClip Frame 1
stop();
Symbol 71 Button
on (release) {
if (_currentframe != 1) {
gotoAndStop (1);
} else {
_root.hand_device.play();
}
}
Symbol 75 Button
on (release) {
gotoAndStop (4);
}
Symbol 79 Button
on (release) {
gotoAndStop (2);
}
Symbol 94 MovieClip Frame 1
stop();
Instance of Symbol 91 MovieClip "ink_mc" in Symbol 94 MovieClip Frame 5
onClipEvent (load) {
_global.changeColor(this, _global.colorValue);
}
Symbol 94 MovieClip Frame 7
_global.MaikoPencil = 1;
gotoAndStop (1);
Symbol 111 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 1
stop();
Instance of Symbol 111 MovieClip "mood" in Symbol 113 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_global.mood);
}
Symbol 113 MovieClip Frame 6
gotoAndStop (1);
Symbol 134 Button
on (release) {
if (_global.bloom == 0) {
_global.bloom = 1;
} else {
_global.bloom = 0;
}
}
Symbol 135 Button
on (release) {
if (_global.custom_shirt == 0) {
_global.custom_shirt = 1;
} else {
_global.custom_shirt = 0;
}
}
Symbol 136 Button
on (release) {
if (_global.nude_custom_shirt == 0) {
_global.nude_custom_shirt = 1;
} else {
_global.nude_custom_shirt = 0;
}
}
Symbol 147 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 147 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_global.MaikoPencil);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.MaikoPencil);
}
Symbol 147 MovieClip Frame 2
stop();
Instance of Symbol 127 MovieClip in Symbol 147 MovieClip Frame 2
onClipEvent (load) {
_parent.Money = _global.Money;
_parent.Days = _global.Days;
_parent.stress = _global.mood;
_parent.TasksLeft = _global.TasksLeft;
_parent.Fitness = _global.fitness;
_parent.Melee = _global.melee;
}
onClipEvent (enterFrame) {
}
Symbol 147 MovieClip Frame 3
pattierelation = Math.round(_global.PattieRelation * 10) / 10;
lumarelation = Math.round(_global.LumaRelation * 10) / 10;
rileyrelation = Math.round(_global.RileyRelation * 10) / 10;
chrisrelation = Math.round(_global.ChrisRelation * 10) / 10;
zytrarelation = Math.round(_global.ZytraRelation * 10) / 10;
joeyrelation = Math.round(_global.JoeyRelation * 10) / 10;
amberrelation = Math.round(_global.AmberRelation * 10) / 10;
greelrelation = Math.round(_global.GreelRelation * 10) / 10;
kylerelation = Math.round(_global.KyleRelation * 10) / 10;
roiserelation = Math.round(_global.RoiseRelation * 10) / 10;
savorirelation = Math.round(_global.SavoriRelation * 10) / 10;
jenirelation = Math.round(_global.JeniRelation * 10) / 10;
leyahrelation = Math.round(_global.LeyahRelation * 10) / 10;
joiryrelation = Math.round(_global.JoiryRelation * 10) / 10;
davidrelation = Math.round(_global.DavidRelation * 10) / 10;
tsugorelation = Math.round(_global.TsugoRelation * 10) / 10;
jinrurelation = Math.round(_global.JinruRelation * 10) / 10;
lynnrelation = Math.round(_global.LynnRelation * 10) / 10;
dizzyrelation = Math.round(_global.DizzyRelation * 10) / 10;
popularity = Math.round(_global.OverallPopularity * 10) / 10;
Symbol 147 MovieClip Frame 11
this.save_state = "";
this.save_password_text = "";
Symbol 147 MovieClip Frame 33
this.input_password_save = "";
Symbol 148 MovieClip Frame 1
stop();
_global.finger_button = 1;
_global.tablet_in_use = 0;
Symbol 148 MovieClip Frame 2
_global.tablet_in_use = 1;
if (_global.can_use_tablet == 0) {
this.gotoAndStop(1);
}
if (_global.import_mobile_device_bg == 1) {
_root.hand_device.hand_device.import_mobile_device_bg.loadMovie("UMCC_import_mobile_device_bg.png");
}
_global.changeColor(hand_device.device_border.device, _global.colorValue);
_global.changeColor(hand_device.nail, _global.nailColorValue);
_global.changeColor(hand_device.pointer_arm.hand.nails, _global.nailColorValue);
Symbol 148 MovieClip Frame 21
stop();
_root.nMC.stopMotion();
_global.tablet_in_use = 1;
Symbol 148 MovieClip Frame 22
_root.nMC.startMotion();
_global.tablet_in_use = 1;
Symbol 148 MovieClip Frame 42
_root.nMC.startMotion();
_global.tablet_in_use = 0;
gotoAndStop (1);
Symbol 151 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 1
stop();
Symbol 167 Button
on (release) {
_global.dialogue_scene = 0;
_global.in_area = 0;
_root.area_mc.unloadMovie();
}