Frame 1
stop();
_lockroot = true;
_global.in_area = 1;
_global.can_use_tablet = 1;
_global.temphairalpha = _global.hairalpha;
_global.hairalpha = 0;
_global.musicstop();
_root.new_dialogue = function (num) {
_global.dialogue_scene = 1;
_root.dialogue_count = num;
_root.dialogue_tracking = 1;
_root.dialogue_array = new Array();
};
_root.check_dialogue = function () {
if (_global.dialogue_clicked == 1) {
_root.dialogue_tracking++;
if (_root.dialogue_tracking > _root.dialogue_count) {
_global.dialogue_text = "";
_global.dialogue_scene = 0;
} else {
_global.dialogue_text = _root.dialogue_array[_root.dialogue_tracking];
}
_global.dialogue_clicked = 0;
_root.img.nextFrame();
}
};
_root.onEnterFrame = function () {
_root.check_dialogue();
};
var clip = _root.img;
var easing = 0.75;
var sliderXpos = 0;
var sliderYpos = 0;
var aperatureWidth = 1280;
var aperatureHeight = 720;
var imgXpos = ((clip._width - aperatureWidth) / 2);
var imgYpos = ((clip._height - aperatureHeight) / 2);
var nMC = (new com.McPan(clip, easing, sliderXpos, sliderYpos, aperatureWidth, aperatureHeight, imgXpos, imgYpos, true));
_global.nMC = nMC;
Instance of Symbol 96 MovieClip "glow" in Frame 1
onClipEvent (load) {
if (_global.bloom == 1) {
if (_global.TasksLeft < 2) {
this.gotoAndStop(3);
} else if (_global.TasksLeft == 2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
} else {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_global.bloom == 1) {
if (_global.TasksLeft < 2) {
this.gotoAndStop(3);
} else if (_global.TasksLeft == 2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
} else {
this.gotoAndStop(3);
}
}
Symbol 76 MovieClip Frame 31
_global.squelchsfx();
Symbol 76 MovieClip Frame 32
gotoAndPlay (1);
Symbol 76 MovieClip Frame 33
_global.cumsfx();
Symbol 76 MovieClip Frame 63
_global.cumsfx();
Symbol 76 MovieClip Frame 93
_global.cumsfx();
Symbol 76 MovieClip Frame 122
stop();
Symbol 83 MovieClip Frame 5
stop();
Symbol 84 Button
on (release) {
_root.img.cafesex.gotoAndPlay(33);
}
Symbol 85 Button
on (release) {
_global.playbgm();
_global.travel_to_text = "umch/minis/UMCH_cafe.swf";
_global.clothing = 3;
_global.travel_to_area = 1;
_global.dialogue_text = "";
_global.dialogue_scene = 0;
_global.in_area = 0;
_global.can_use_tablet = 1;
_global.hud = 1;
_global.temphairalpha = _global.hairalpha;
this.unloadMovie();
}
Symbol 90 MovieClip Frame 1
if (_global.melee > 0) {
} else {
stop();
}
Symbol 90 MovieClip Frame 2
stop();
_global.can_use_tablet = 0;
_global.hud = 0;
_global.medal = 0;
_global.randomshit = 0;
_global.randomspeed = 0;
_global.nMC.startMotion();
_global.HoldBody = 0;
Symbol 96 MovieClip Frame 1
stop();
Symbol 101 Button
on (release) {
_global.in_area = 0;
this.unloadMovie();
}
Symbol 102 MovieClip [__Packages.com.McPan] Frame 0
class com.McPan
{
var __mc, __ease, __mcp, __imgW, __imgH, __control, __rect, __ptX, __ptY, __xDiff, __xRatio, __xPos, __yDiff, __yRatio, __yPos;
function McPan (_mc, _ease, _clipX, _clipY, _apertureW, _apertureH, _xoff, _yoff, _cache) {
__mc = _mc;
__ease = _ease;
__mcp = __mc._parent;
__imgW = __mc._width;
__imgH = __mc._height;
__mc._x = _clipX;
__mc._y = _clipY;
((_cache != undefined) ? ((__mc.cacheAsBitmap = _cache)) : ((__mc.cacheAsBitmap = false)));
__control = __mc.createEmptyMovieClip("controller", __mc.getNextHighestDepth());
__rect = new flash.geom.Rectangle(_xoff, _yoff, _apertureW, _apertureH);
__mc.scrollRect = __rect;
__mc.onRollOver = mx.utils.Delegate.create(this, initiateMovement);
__mc.useHandCursor = false;
}
function killMovement() {
delete __control.onEnterFrame;
}
function initiateMovement() {
delete __mc.onRollOver;
__control.onEnterFrame = mx.utils.Delegate.create(this, moveToMouse);
}
function moveToMouse() {
__mc.scrollRect = calcXY(__mcp._xmouse, __mcp._ymouse)[0];
if (!__mc.hitTest(__mcp._xmouse, __mcp._ymouse, true)) {
killMovement();
if (__motionActive) {
__mc.onRollOver = mx.utils.Delegate.create(this, initiateMovement);
}
}
}
function moveToPoint() {
var _local2 = calcXY(__ptX, __ptY);
__mc.scrollRect = _local2[0];
if (Math.abs(_local2[1] - _local2[0].x) < 1) {
if (Math.abs(_local2[2] - _local2[0].y) < 1) {
delete __control.onEnterFrame;
}
}
}
function calcXY(XP, YP) {
__xDiff = XP - __mc._x;
__xRatio = __xDiff / __rect.width;
__xPos = __xRatio * (__imgW - __rect.width);
__yDiff = YP - __mc._y;
__yRatio = __yDiff / __rect.height;
__yPos = __yRatio * (__imgH - __rect.height);
__rect.x = __xPos - ((__xPos - __rect.x) * __ease);
__rect.y = __yPos - ((__yPos - __rect.y) * __ease);
return([__rect, __xPos, __yPos]);
}
function slideToPoint(x, y) {
__ptX = x;
__ptY = y;
killMovement();
__control.onEnterFrame = mx.utils.Delegate.create(this, moveToPoint);
}
function stopMotion() {
killMovement();
__motionActive = false;
delete __mc.onRollOver;
}
function startMotion() {
killMovement();
__motionActive = true;
__mc.onRollOver = mx.utils.Delegate.create(this, initiateMovement);
}
var __motionActive = true;
}
Symbol 103 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object
{
var func;
function Delegate (f) {
super();
func = f;
}
static function create(obj, func) {
var _local2 = function () {
var _local2 = arguments.callee.target;
var _local3 = arguments.callee.func;
return(_local3.apply(_local2, arguments));
};
_local2.target = obj;
_local2.func = func;
return(_local2);
}
function createDelegate(obj) {
return(create(obj, func));
}
}