Frame 1
_root.tabEnabled = false;
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
this.menu = my_cm;
Frame 3
stop();
var Bounce = new Sound();
var Holiday = new Sound();
var XS = new Sound();
var Low = new Sound();
var Winterstorm = new Sound();
Bounce.attachSound("Bounce");
Holiday.attachSound("Holiday");
XS.attachSound("XS");
Low.attachSound("Low");
Winterstorm.attachSound("Winterstorm");
_root.Winterstorm.stop();
_root.XS.stop();
_root.Bounce.stop();
_root.Holiday.stop();
_root.Low.start(0, 1);
Frame 5
stop();
Instance of Symbol 164 MovieClip "RoomBG" in Frame 5
onClipEvent (load) {
if (_global.Events == 1) {
this.gotoAndStop(2);
} else if (_global.Events == 0) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
if ((_global.Die == 1) && (_global.Day < 5)) {
_root.RileyTalk.RileyTalk2.gotoAndStop(22);
_root.RileyTalk.gotoAndStop(10);
_global.Die = 0;
_global.Events = 0;
_global.Heat = 20;
} else if ((_global.Die == 1) && (_global.Day == 5)) {
_root.RileyTalk.RileyTalk2.gotoAndStop(22);
_root.RileyTalk.gotoAndStop(10);
_global.Die = 0;
_global.Events = 1;
_global.Heat = 20;
}
_root.Low.stop();
_root.Winterstorm.stop();
_root.Holiday.stop();
_root.XS.stop();
_root.Bounce.start();
}
Instance of Symbol 165 MovieClip "TimedActions" in Frame 5
onClipEvent (load) {
_global.Day = 1;
_global.MenuPic = 0;
_root.UmiMCSlide.gotoAndStop(1);
_global.lookx1 = _root.HairBox._x;
_global.looky1 = _root.HairBox._y;
_global.lookx2 = _root.HairBox._x;
_global.looky2 = _root.HairBox._y;
_global.Heat = 190;
_global.WearSchool = 1;
_global.WearWinter = 0;
_global.WearCasual = 0;
_global.WearHominid = 0;
_global.Hominid = 0;
_global.RileyIntro = 0;
_global.LumaIntro = 0;
_global.PattieIntro = 0;
_global.Text = 0;
_global.LastFight = 0;
_global.Snowball = 0;
_global.SnowballBtn = 0;
_global.ThrowSnowball = 0;
_global.LumaThrow = 150;
_global.LumaRandom = 0;
_global.LumaLife = 3;
_global.LumaAttack = 0;
_global.LumaMove = 0;
_global.LumaMove2 = 0;
_global.LumaThrowing = 0;
_global.Mall = 0;
_global.School = 0;
_global.ColdRes = 0;
_global.SnowSkill = 0;
_global.Won = 0;
_global.Lost = 0;
_global.Money = 0;
_global.Events = 3;
_global.Boots = 0;
_global.MoneyFound = 0;
_global.bought = 0;
_global.Die = 0;
}
onClipEvent (enterFrame) {
if (_global.Heat <= 0) {
_root.gotoAndStop(21);
}
_global.lookx1 = _xmouse - 100;
_global.looky1 = _ymouse + 150;
if ((_xmouse - 100) < 350) {
_root.HairBox._x = (2 * (350 - (_xmouse - 100))) + (_xmouse - 100);
_root.HairBox._y = _ymouse + 150;
_root.SnowballBox._x = _xmouse - 100;
_root.SnowballBox._y = _ymouse + 150;
} else if ((_xmouse - 100) > 350) {
_root.HairBox._x = (_xmouse - 100) - (2 * ((_xmouse - 100) - 350));
_root.HairBox._y = _ymouse + 150;
_root.SnowballBox._x = _xmouse - 100;
_root.SnowballBox._y = _ymouse + 150;
} else {
_root.HairBox._x = _xmouse - 100;
_root.HairBox._y = _ymouse + 150;
_root.SnowballBox._x = _xmouse - 100;
_root.SnowballBox._y = _ymouse + 150;
}
_root.Day.DayNumber = _global.Day;
if ((_root.Menu._currentframe == 1) && (_global.MenuPic == 1)) {
_root.UmiMCSlide.gotoAndPlay(10);
_global.MenuPic = 0;
_root.Hair.MHairRight1.gotoAndStop(1);
_root.Hair.MHairRight2.gotoAndStop(1);
_root.Hair.MHairLeft1.gotoAndStop(1);
_root.Hair.MHairMiddle1.gotoAndStop(1);
_root.Hair.MHairMiddle2.gotoAndStop(1);
} else if (_root.UmiMCSlide._currentframe == 10) {
_root.UmiMCSlide.stop();
_root.Hair.MHairRight1.gotoAndStop(2);
_root.Hair.MHairRight2.gotoAndStop(2);
_root.Hair.MHairLeft1.gotoAndStop(2);
_root.Hair.MHairMiddle1.gotoAndStop(2);
_root.Hair.MHairMiddle2.gotoAndStop(2);
} else if (_root.UmiMCSlide._currentframe == 20) {
_root.UmiMCSlide.gotoAndStop(1);
_root.Hair.MHairRight1.gotoAndStop(1);
_root.Hair.MHairRight2.gotoAndStop(1);
_root.Hair.MHairLeft1.gotoAndStop(1);
_root.Hair.MHairMiddle1.gotoAndStop(1);
_root.Hair.MHairMiddle2.gotoAndStop(1);
}
if (_global.WearCasual == 1) {
_root.UmiMCSlide.UmiMC.gotoAndStop(1);
_root.UmiBodySlideMC.UmiBodySlide.UmiBody.gotoAndStop(1);
_root.UmiBoobs.gotoAndStop(1);
if (_global.Snowball == 0) {
_root.Hand.Hand2.gotoAndStop(1);
}
} else if (_global.WearSchool == 1) {
_root.UmiMCSlide.UmiMC.gotoAndStop(2);
_root.UmiBodySlideMC.UmiBodySlide.UmiBody.gotoAndStop(2);
_root.UmiBoobs.gotoAndStop(2);
if (_global.Snowball == 0) {
_root.Hand.Hand2.gotoAndStop(1);
}
} else if (_global.WearWinter == 1) {
_root.UmiMCSlide.UmiMC.gotoAndStop(3);
_root.UmiBodySlideMC.UmiBodySlide.UmiBody.gotoAndStop(3);
_root.UmiBoobs.gotoAndStop(3);
if (_global.Snowball == 0) {
_root.Hand.Hand2.gotoAndStop(3);
}
} else if (_global.WearHominid == 1) {
_root.UmiMCSlide.UmiMC.gotoAndStop(4);
_root.UmiBodySlideMC.UmiBodySlide.UmiBody.gotoAndStop(4);
_root.UmiBoobs.gotoAndStop(4);
if (_global.Snowball == 0) {
_root.Hand.Hand2.gotoAndStop(5);
}
}
_global.lookx2 = _global.lookx1;
_global.looky2 = _global.looky1;
_root.UmiBodySlideMC._y = 450 + (2 * (500 - _root.HairBox._y));
_root.Status.ColdRes2 = _global.ColdRes;
_root.Status.SnowSkill2 = _global.SnowSkill;
_root.Status.Won2 = _global.Won;
_root.Status.Lost2 = _global.Lost;
_root.Status.Money2 = _global.Money;
_root.ShopMenu.Money3 = _global.Money;
}
Instance of Symbol 149 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._xscale = _global.Heat;
if (_global.Heat < 0) {
_global.Heat = 0;
}
}
Frame 8
var myclip = _root.img;
var myeasing = 0.75;
var myX = 0;
var myY = 0;
var myviewW = 700;
var myviewH = 500;
var mystartX = ((myclip._width - myviewW) / 2);
var mystartY = ((myclip._height - myviewH) / 2);
var nMC = (new com.McSliderB(myclip, myeasing, myX, myY, myviewW, myviewH, mystartX, mystartY));
Instance of Symbol 313 MovieClip "img" in Frame 8
onClipEvent (load) {
if (_global.Events == 1) {
this.gotoAndStop(2);
} else if (_global.Events == 0) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
if ((_global.Day == 5) && (_global.Events <= 1)) {
_global.LumaRandom = 1;
_global.LastFight = 1;
_root.gotoAndStop(20);
}
}
Instance of Symbol 329 MovieClip "UmiBoobs" in Frame 8
onClipEvent (load) {
restx = _root.UmiBodySlideMC._x + 333;
resty = _root.UmiBodySlideMC._y + 600;
k = 3;
mass = 10;
damping = 0.6;
pressing = 0;
vx = 0;
vy = 0;
}
onClipEvent (enterFrame) {
restx = _root.UmiBodySlideMC._x + 10;
resty = _root.UmiBodySlideMC._y + 85;
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;
}
}
Frame 9
keyListener1 = new Object();
keyListener1.onKeyUp = function () {
if ((((Key.getCode() == 65) && (_global.Snowball == 1)) && (_root.Hand._currentframe == 1)) && (_global.ThrowSnowball == 0)) {
_root.Hand.gotoAndPlay(21);
}
};
Key.addListener(keyListener1);
keyListener2 = new Object();
keyListener2.onKeyUp = function () {
if (((Key.getCode() == 83) && (_global.Snowball == 0)) && (_root.Hand._currentframe == 1)) {
_root.Hand.play();
_global.SnowballBtn = 0;
}
};
Key.addListener(keyListener2);
mouseListener1 = new Object();
mouseListener1.onMouseUp = function () {
if (((_global.Snowball == 1) && (_root.Hand._currentframe == 1)) && (_global.ThrowSnowball == 0)) {
_root.Hand.gotoAndPlay(21);
}
};
Mouse.addListener(mouseListener1);
var myclip = _root.BG_Snowfight;
var myeasing = 0.75;
var myX = 0;
var myY = 0;
var myviewW = 700;
var myviewH = 500;
var mystartX = ((myclip._width - myviewW) / 2);
var mystartY = ((myclip._height - myviewH) / 2);
var nMC = (new com.McSliderB(myclip, myeasing, myX, myY, myviewW, myviewH, mystartX, mystartY));
Instance of Symbol 378 MovieClip "BG_Snowfight" in Frame 9
onClipEvent (load) {
if (_global.Events == 1) {
this.BGSnowfight.gotoAndStop(2);
this.BGSnowbank.gotoAndStop(2);
} else if (_global.Events == 0) {
this.BGSnowfight.gotoAndStop(3);
this.BGSnowbank.gotoAndStop(3);
} else {
this.BGSnowfight.gotoAndStop(1);
this.BGSnowbank.gotoAndStop(1);
}
if (_global.LumaIntro == 0) {
_global.LumaThrow = random(105);
_root.LumaHeatBar.gotoAndStop(2);
_root.LumaLifeBar.gotoAndStop(2);
}
if ((_global.LumaIntro == 1) && (_global.LumaRandom == 0)) {
_root.BG_Snowfight.LumaMove.LumaFight.gotoAndStop(32);
_root.LumaHeatBar.gotoAndStop(1);
_root.LumaLifeBar.gotoAndStop(1);
} else if ((_global.LumaIntro == 1) && (_global.LumaRandom == 1)) {
_global.LumaThrow = random(105);
_root.LumaHeatBar.gotoAndStop(2);
_root.LumaLifeBar.gotoAndStop(2);
}
if (_global.Day == 5) {
_global.LumaLife = 170;
}
if ((_global.Day <= 4) && (_global.Day != 1)) {
_global.LumaLife = 100;
}
}
onClipEvent (enterFrame) {
if ((_global.LumaIntro == 0) && (_global.Day == 1)) {
if ((_global.LumaThrow <= 0) && (_global.Won == 0)) {
_root.BG_Snowfight.LumaMove.LumaFight.gotoAndPlay(2);
_global.LumaThrowing = 1;
_global.LumaThrow = random(105);
} else if ((_global.LumaThrow > 0) && (_global.Won == 0)) {
_global.LumaThrow--;
}
} else if ((_global.LumaIntro == 1) && (_global.LumaRandom == 1)) {
if ((_global.LumaThrow <= 0) && (_global.LumaLife > 0)) {
_root.BG_Snowfight.LumaMove.LumaFight.gotoAndPlay(2);
_global.LumaThrowing = 1;
_global.LumaThrow = random(105);
} else if ((_global.LumaThrow > 0) && (_global.LumaLife > 0)) {
_global.LumaThrow--;
}
}
}
Instance of Symbol 396 MovieClip "LumaLifeBar" in Frame 9
onClipEvent (enterFrame) {
this._xscale = _global.LumaLife;
if (_global.LumaLife < 0) {
_global.LumaLife = 0;
}
}
Frame 10
var myclip = _root.img3;
var myeasing = 0.75;
var myX = 0;
var myY = 0;
var myviewW = 700;
var myviewH = 500;
var mystartX = ((myclip._width - myviewW) / 2);
var mystartY = ((myclip._height - myviewH) / 2);
var nMC = (new com.McSliderB(myclip, myeasing, myX, myY, myviewW, myviewH, mystartX, mystartY));
Instance of Symbol 405 MovieClip "img3" in Frame 10
onClipEvent (load) {
if (_global.Events == 1) {
this.gotoAndStop(2);
} else if (_global.Events == 0) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Frame 11
var myclip = _root.img4;
var myeasing = 0.75;
var myX = 0;
var myY = 0;
var myviewW = 700;
var myviewH = 500;
var mystartX = ((myclip._width - myviewW) / 2);
var mystartY = ((myclip._height - myviewH) / 2);
var nMC = (new com.McSliderB(myclip, myeasing, myX, myY, myviewW, myviewH, mystartX, mystartY));
Instance of Symbol 417 MovieClip "img4" in Frame 11
onClipEvent (load) {
if (_global.Events == 1) {
this.imgwalk.gotoAndStop(2);
} else if (_global.Events == 0) {
this.imgwalk.gotoAndStop(3);
} else {
this.imgwalk.gotoAndStop(1);
}
}
Frame 12
var myclip = _root.img5;
var myeasing = 0.75;
var myX = 0;
var myY = 0;
var myviewW = 700;
var myviewH = 500;
var mystartX = ((myclip._width - myviewW) / 2);
var mystartY = ((myclip._height - myviewH) / 2);
var nMC = (new com.McSliderB(myclip, myeasing, myX, myY, myviewW, myviewH, mystartX, mystartY));
Instance of Symbol 431 MovieClip "img5" in Frame 12
onClipEvent (load) {
_global.Mall = 0;
_global.School = 0;
if (_global.LumaIntro == 0) {
_global.Events--;
_root.LumaTalkSchool.gotoAndStop(2);
_root.RileyTalk.gotoAndStop(10);
_root.RileyTalk.RileyTalk2.gotoAndStop(19);
_root.img5.LumaTalkSchool.gotoAndStop(2);
_root.Low.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Holiday.start();
_root.PersonTextArrow.gotoAndStop(2);
_global.LumaIntro = 1;
}
if (_global.Events == 1) {
this.gotoAndStop(2);
} else if (_global.Events == 0) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
if ((_global.MoneyFound == 0) && (_global.Events == 0)) {
_root.img5.Coins.gotoAndStop(1);
} else {
_root.img5.Coins.gotoAndStop(2);
}
}
Frame 13
var myclip = _root.img6;
var myeasing = 0.75;
var myX = 0;
var myY = 0;
var myviewW = 700;
var myviewH = 500;
var mystartX = ((myclip._width - myviewW) / 2);
var mystartY = ((myclip._height - myviewH) / 2);
var nMC = (new com.McSliderB(myclip, myeasing, myX, myY, myviewW, myviewH, mystartX, mystartY));
Instance of Symbol 443 MovieClip "img6" in Frame 13
onClipEvent (load) {
if (_global.Mall == 1) {
_global.Mall = 0;
_global.School = 0;
} else if (((_global.Mall == 0) && (_global.School == 0)) && (_global.Events > 1)) {
_root.Low.stop();
_root.Winterstorm.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Holiday.start();
} else if (((_global.Mall == 0) && (_global.School == 0)) && (_global.Events < 2)) {
_root.Holiday.stop();
_root.Winterstorm.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Low.start();
}
if (_global.Events == 1) {
this.gotoAndStop(2);
} else if (_global.Events == 0) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
if ((_global.Day == 5) && (_global.Events <= 1)) {
_global.LumaRandom = 1;
_global.LastFight = 1;
_root.gotoAndStop(20);
}
}
Instance of Symbol 461 MovieClip "Shop" in Frame 14
onClipEvent (load) {
if (_global.PattieIntro == 0) {
_root.PersonTextArrow.gotoAndStop(2);
_root.Shop.Pattie.gotoAndStop(4);
_root.RileyTalk.RileyTalk2.gotoAndStop(11);
_root.RileyTalk.gotoAndStop(10);
_global.Text++;
}
if (_global.Day == 1) {
_root.ShopMenu.gotoAndStop(21);
} else {
_root.ShopMenu.gotoAndStop(1);
}
_root.Low.stop();
_root.Winterstorm.stop();
_root.Holiday.stop();
_root.XS.stop();
_root.Bounce.start();
}
Instance of Symbol 499 MovieClip in Frame 20
onClipEvent (load) {
if (_global.WearHominid == 1) {
_root.gotoAndStop(22);
}
_root.Low.stop();
_root.Winterstorm.stop();
_root.Holiday.stop();
_root.Bounce.stop();
_root.XS.start();
}
Instance of Symbol 503 MovieClip in Frame 21
onClipEvent (enterFrame) {
_root.Bounce.stop();
_root.XS.stop();
_root.Holiday.start();
}
Instance of Symbol 508 MovieClip in Frame 22
onClipEvent (load) {
_root.Low.stop();
_root.Winterstorm.stop();
_root.Holiday.stop();
_root.Bounce.stop();
_root.XS.start();
}
Instance of Symbol 514 MovieClip in Frame 23
onClipEvent (load) {
_root.Low.stop();
_root.Winterstorm.stop();
_root.Holiday.stop();
_root.Bounce.stop();
_root.XS.stop();
}
Instance of Symbol 538 MovieClip in Frame 24
onClipEvent (load) {
_root.Low.stop();
_root.Holiday.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Winterstorm.start();
}
Frame 30
_quality = "medium";
Frame 1366
_root.gotoAndStop(3);
Symbol 70 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 72 MovieClip Frame 40
stop();
Symbol 83 Button
on (release) {
_root.play();
}
Symbol 84 Button
on (release) {
_root.gotoAndPlay(30);
}
Symbol 85 MovieClip Frame 1
function onEnterFrame() {
if (!loaded) {
var _local3 = _root.getBytesLoaded() / _root.getBytesTotal();
if (_local3 >= 1) {
play();
bar._x = initX;
loaded = true;
} else {
bar._x = initX + ((_local3 - 1) * bar._width);
}
}
var _local4 = getTimer() - time;
timeAccum = timeAccum + _local4;
while (timeAccum >= FRAME_TIME) {
var _local2 = 0;
while (_local2 < timeClips.length) {
if (timeClips[_local2]._currentframe < timeClips[_local2]._totalframes) {
timeClips[_local2].nextFrame();
} else {
timeClips[_local2].gotoAndStop(1);
}
_local2++;
}
if (loaded && (_currentframe < _totalframes)) {
nextFrame();
}
timeAccum = timeAccum - FRAME_TIME;
}
time = time + _local4;
}
stop();
_root.stop();
var initX = bar._x;
var time = getTimer();
var FRAME_TIME = 33.3333333333333;
var timeAccum = 0;
var loaded = false;
timeClips = [bargfx, tank.mc0, tank.mc1, tank.mc2, tank.mc3, tank.mc4, tank.mc4.mc0, tank.mc4.mc1, tank.mc4.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc0.mc2, tank.mc4.mc0.mc0.mc0.mc3, tank.mc4.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc2, tank.mc5.mc0];
var i = 0;
while (i < timeClips.length) {
timeClips[i].stop();
i++;
}
Symbol 85 MovieClip Frame 51
Symbol 544 MovieClip [__Packages.com.McSliderB] Frame 0
class com.McSliderB
{
var __mc, __ease, __mcp, __imgW, __imgH, __control, __rect, __yDiff, __yScale, __yPos, __xDiff, __xScale, __xPos;
function McSliderB (_mc, _ease, _clipX, _clipY, _apertureW, _apertureH, _xoff, _yoff) {
__mc = _mc;
__ease = _ease;
__mcp = __mc._parent;
__imgW = __mc._width;
__imgH = __mc._height;
__mc._x = _clipX;
__mc._y = _clipY;
__mc.cacheAsBitmap = true;
__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, calcXY);
}
function calcXY() {
__yDiff = __mcp._ymouse - __mc._y;
__yScale = __yDiff / __rect.height;
__yPos = __yScale * (__imgH - __rect.height);
__xDiff = __mcp._xmouse - __mc._x;
__xScale = __xDiff / __rect.width;
__xPos = __xScale * (__imgW - __rect.width);
__rect.x = __xPos - ((__xPos - __rect.x) * __ease);
__rect.y = __yPos - ((__yPos - __rect.y) * __ease);
__mc.scrollRect = __rect;
if (!__mc.hitTest(_root._xmouse, _root._ymouse, true)) {
killMovement();
__mc.onRollOver = mx.utils.Delegate.create(this, initiateMovement);
}
}
}
Symbol 545 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));
}
}
Symbol 104 Button
on (release) {
_root.gotoAndStop(5);
Low.stop();
}
Symbol 105 Button
on (release) {
_root.gotoAndStop(4);
}
Symbol 106 Button
on (release) {
getURL ("http://vortex00.newgrounds.com/news/post/241368", _blank);
}
Symbol 151 Button
on (release) {
_root.gotoAndStop(3);
}
on (releaseOutside) {
_root.gotoAndStop(3);
}
Symbol 156 Button
on (release) {
_root.gotoAndStop(3);
}
on (releaseOutside) {
_root.gotoAndStop(3);
}
Symbol 159 Button
on (release) {
gotoAndStop ("Start");
if ((_global.WearWinter == 1) && (_global.Events > 1)) {
_root.Low.stop();
_root.Winterstorm.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Holiday.start();
gotoAndStop ("Start");
_root.gotoAndStop(8);
} else if ((_global.WearHominid == 1) && (_global.Events > 1)) {
_root.Low.stop();
_root.Winterstorm.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Holiday.start();
gotoAndStop ("Start");
_root.gotoAndStop(8);
} else if ((_global.WearWinter == 1) && (_global.Events < 2)) {
_root.Holiday.stop();
_root.Winterstorm.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Low.start();
gotoAndStop ("Start");
_root.gotoAndStop(8);
} else if ((_global.WearHominid == 1) && (_global.Events < 2)) {
_root.Holiday.stop();
_root.Winterstorm.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Low.start();
gotoAndStop ("Start");
_root.gotoAndStop(8);
} else {
_root.TextMC.BubbleText.gotoAndStop(6);
_root.TextMC.play();
gotoAndStop ("Start");
}
}
on (releaseOutside) {
gotoAndStop ("Start");
if ((_global.WearWinter == 1) && (_global.Events > 1)) {
_root.Low.stop();
_root.Winterstorm.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Holiday.start();
gotoAndStop ("Start");
_root.gotoAndStop(8);
} else if ((_global.WearHominid == 1) && (_global.Events > 1)) {
_root.Low.stop();
_root.Winterstorm.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Holiday.start();
gotoAndStop ("Start");
_root.gotoAndStop(8);
} else if ((_global.WearWinter == 1) && (_global.Events < 2)) {
_root.Holiday.stop();
_root.Winterstorm.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Low.start();
gotoAndStop ("Start");
_root.gotoAndStop(8);
} else if ((_global.WearHominid == 1) && (_global.Events < 2)) {
_root.Holiday.stop();
_root.Winterstorm.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Low.start();
gotoAndStop ("Start");
_root.gotoAndStop(8);
} else {
_root.TextMC.BubbleText.gotoAndStop(6);
_root.TextMC.play();
gotoAndStop ("Start");
}
}
Symbol 164 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 1
if (((_root._currentframe > 5) && (_root._currentframe < 14)) && (_global.Heat > 0)) {
if (_global.WearHominid != 1) {
_global.Heat--;
if (_global.Events == 0) {
_global.Heat = _global.Heat - 8;
}
}
} else if ((_root._currentframe == 5) && (_global.Heat < 190)) {
_global.Heat++;
} else if ((_root._currentframe == 14) && (_global.Heat < 190)) {
_global.Heat++;
}
Symbol 165 MovieClip Frame 5
if ((_root.RileyTalk._currentframe == 1) && (_global.RileyIntro == 0)) {
_root.RileyTalk.gotoAndPlay(2);
_global.RileyIntro = 1;
}
Symbol 168 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 4
gotoAndStop (1);
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 4
gotoAndStop (1);
Symbol 172 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 4
gotoAndStop (1);
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 4
gotoAndStop (1);
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 2
stop();
Symbol 176 MovieClip Frame 3
stop();
Symbol 176 MovieClip Frame 4
stop();
Symbol 186 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 2
stop();
Symbol 186 MovieClip Frame 3
stop();
Symbol 186 MovieClip Frame 4
stop();
Symbol 186 MovieClip Frame 5
stop();
Symbol 186 MovieClip Frame 6
stop();
Symbol 186 MovieClip Frame 7
stop();
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 2
stop();
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 2
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 2
stop();
Symbol 198 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 2
stop();
Symbol 201 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 2
stop();
Symbol 202 MovieClip Frame 1
stop();
Symbol 203 Button
on (rollOver) {
if (_root.Fade._currentframe == 1) {
_root.TextMC.gotoAndStop(1);
_root.UmiMCSlide.gotoAndPlay(1);
_root.Hair.HairRight.gotoAndStop(2);
_root.Hair.HairMiddle.gotoAndStop(2);
_root.Hair.HairLeft.gotoAndStop(2);
gotoAndStop ("Open");
_root.RileyTalk.gotoAndStop(2);
_root.Riley.gotoAndStop(1);
_root.Status.gotoAndStop(1);
_root.Calendar.gotoAndStop(1);
}
}
Symbol 205 Button
on (rollOut) {
gotoAndStop ("Start");
_global.MenuPic = 1;
}
Symbol 206 Button
on (rollOver) {
gotoAndStop ("Open");
}
on (rollOut) {
gotoAndStop ("Start");
}
on (release) {
gotoAndStop ("Start");
_root.Status.gotoAndStop(2);
}
Symbol 207 Button
on (rollOver) {
gotoAndStop ("Open");
}
on (rollOut) {
gotoAndStop ("Start");
}
on (release) {
gotoAndStop ("Start");
_global.Heat = 190;
}
Symbol 208 Button
on (rollOver) {
gotoAndStop ("Open");
}
on (rollOut) {
gotoAndStop ("Start");
}
on (release) {
if ((_global.Events > 1) && (_global.Day != 5)) {
_global.ThrowSnowball = 0;
_global.Snowball = 0;
_global.LumaThrowing = 0;
_global.LumaRandom = 0;
gotoAndStop ("Start");
_root.Riley.gotoAndStop(7);
_root.RileyTalk.RileyTalk2.gotoAndStop(4);
_root.RileyTalk.play();
} else if (_global.Day == 5) {
_global.ThrowSnowball = 0;
_global.Snowball = 0;
_global.LumaThrowing = 0;
_global.LumaRandom = 0;
gotoAndStop ("Start");
_root.Riley.gotoAndStop(7);
_root.RileyTalk.RileyTalk2.gotoAndStop(8);
_root.RileyTalk.play();
} else {
_global.ThrowSnowball = 0;
_global.Snowball = 0;
_global.LumaThrowing = 0;
_global.LumaRandom = 0;
gotoAndStop ("Start");
_root.RileyTalk.RileyTalk2.gotoAndStop(7);
_root.RileyTalk.play();
_global.Events = 3;
_root.Fade.play();
}
}
Symbol 209 Button
on (rollOver) {
if (_global.Hominid == 0) {
gotoAndStop ("Change");
} else if (_global.Hominid == 1) {
gotoAndStop ("Change2");
}
}
on (rollOut) {
gotoAndStop ("Start");
}
Symbol 210 Button
on (rollOver) {
gotoAndStop ("Open");
}
on (rollOut) {
gotoAndStop ("Start");
}
on (release) {
if (_global.Day == 1) {
gotoAndStop ("Start");
_root.RileyTalk.RileyTalk2.gotoAndStop(2);
_root.RileyTalk.play();
} else {
gotoAndStop ("Start");
_root.Calendar.gotoAndStop(2);
}
}
Symbol 211 Button
on (rollOver) {
gotoAndStop ("Open");
}
on (rollOut) {
gotoAndStop ("Start");
}
on (release) {
gotoAndStop ("Start");
if ((_global.WearWinter == 1) && (_global.Events > 1)) {
_global.ThrowSnowball = 0;
_global.Snowball = 0;
_global.LumaThrowing = 0;
_global.LumaRandom = 0;
_root.Low.stop();
_root.Winterstorm.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Holiday.start();
gotoAndStop ("Start");
_root.gotoAndStop(8);
} else if ((_global.WearHominid == 1) && (_global.Events > 1)) {
_global.ThrowSnowball = 0;
_global.Snowball = 0;
_global.LumaThrowing = 0;
_global.LumaRandom = 0;
_root.Low.stop();
_root.Winterstorm.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Holiday.start();
gotoAndStop ("Start");
_root.gotoAndStop(8);
} else if ((_global.WearWinter == 1) && (_global.Events < 2)) {
_global.ThrowSnowball = 0;
_global.Snowball = 0;
_global.LumaThrowing = 0;
_global.LumaRandom = 0;
_root.Holiday.stop();
_root.Winterstorm.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Low.start();
gotoAndStop ("Start");
_root.gotoAndStop(8);
} else if ((_global.WearHominid == 1) && (_global.Events < 2)) {
_global.ThrowSnowball = 0;
_global.Snowball = 0;
_global.LumaThrowing = 0;
_global.LumaRandom = 0;
_root.Holiday.stop();
_root.Winterstorm.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Low.start();
gotoAndStop ("Start");
_root.gotoAndStop(8);
} else {
_global.ThrowSnowball = 0;
_global.Snowball = 0;
_global.LumaThrowing = 0;
_global.LumaRandom = 0;
_root.TextMC.BubbleText.gotoAndStop(6);
_root.TextMC.play();
gotoAndStop ("Start");
}
}
Symbol 218 Button
on (rollOut) {
gotoAndStop ("Start");
}
Symbol 219 Button
on (rollOver) {
gotoAndStop ("Open");
}
on (rollOut) {
gotoAndStop ("Start");
}
Symbol 220 Button
on (rollOver) {
if (_global.Hominid == 0) {
gotoAndStop ("Change");
} else if (_global.Hominid == 1) {
gotoAndStop ("Change2");
}
}
on (rollOut) {
gotoAndStop ("Start");
}
Symbol 221 Button
on (rollOver) {
gotoAndStop ("Open");
}
on (rollOut) {
gotoAndStop ("Start");
}
Symbol 222 Button
on (rollOver) {
gotoAndStop ("Change");
}
on (rollOut) {
gotoAndStop ("Start");
}
on (release) {
_global.WearSchool = 0;
_global.WearWinter = 0;
_global.WearCasual = 1;
}
Symbol 223 Button
on (rollOver) {
gotoAndStop ("Change");
}
on (rollOut) {
gotoAndStop ("Start");
}
on (release) {
_global.WearSchool = 1;
_global.WearWinter = 0;
_global.WearCasual = 0;
}
Symbol 224 Button
on (rollOver) {
gotoAndStop ("Change");
}
on (rollOut) {
gotoAndStop ("Start");
}
on (release) {
_global.WearSchool = 0;
_global.WearWinter = 1;
_global.WearCasual = 0;
}
Symbol 228 Button
on (rollOver) {
if (_global.Hominid == 0) {
gotoAndStop ("Change");
} else if (_global.Hominid == 1) {
gotoAndStop ("Change2");
}
}
on (rollOut) {
gotoAndStop ("Start");
}
on (release) {
_global.WearSchool = 0;
_global.WearWinter = 0;
_global.WearCasual = 1;
_global.WearHominid = 0;
}
Symbol 229 Button
on (rollOver) {
if (_global.Hominid == 0) {
gotoAndStop ("Change");
} else if (_global.Hominid == 1) {
gotoAndStop ("Change2");
}
}
on (rollOut) {
gotoAndStop ("Start");
}
on (release) {
_global.WearSchool = 1;
_global.WearWinter = 0;
_global.WearCasual = 0;
_global.WearHominid = 0;
}
Symbol 230 Button
on (rollOver) {
if (_global.Hominid == 0) {
gotoAndStop ("Change");
} else if (_global.Hominid == 1) {
gotoAndStop ("Change2");
}
}
on (rollOut) {
gotoAndStop ("Start");
}
on (release) {
_global.WearSchool = 0;
_global.WearWinter = 1;
_global.WearCasual = 0;
_global.WearHominid = 0;
}
Symbol 231 Button
on (rollOver) {
if (_global.Hominid == 0) {
gotoAndStop ("Change");
} else if (_global.Hominid == 1) {
gotoAndStop ("Change2");
}
}
on (rollOut) {
gotoAndStop ("Start");
}
on (release) {
_global.WearSchool = 0;
_global.WearWinter = 0;
_global.WearCasual = 0;
_global.WearHominid = 1;
}
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 11
stop();
Symbol 233 MovieClip Frame 21
stop();
Symbol 233 MovieClip Frame 31
stop();
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 2
stop();
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 2
stop();
Symbol 274 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 2
stop();
Symbol 274 MovieClip Frame 3
stop();
Symbol 274 MovieClip Frame 4
stop();
Symbol 274 MovieClip Frame 5
stop();
Symbol 274 MovieClip Frame 6
stop();
Symbol 274 MovieClip Frame 7
stop();
Symbol 274 MovieClip Frame 8
stop();
Symbol 274 MovieClip Frame 9
stop();
Symbol 274 MovieClip Frame 10
stop();
Symbol 274 MovieClip Frame 11
stop();
Symbol 274 MovieClip Frame 12
stop();
Symbol 274 MovieClip Frame 13
stop();
Symbol 274 MovieClip Frame 14
stop();
Symbol 275 MovieClip Frame 1
stop();
Symbol 275 MovieClip Frame 10
stop();
Symbol 275 MovieClip Frame 20
gotoAndStop (1);
Symbol 304 MovieClip Frame 1
this.stop();
Symbol 304 MovieClip Frame 2
this.stop();
Symbol 304 MovieClip Frame 3
this.stop();
Symbol 304 MovieClip Frame 4
this.stop();
Symbol 304 MovieClip Frame 5
this.stop();
Symbol 304 MovieClip Frame 6
this.stop();
Symbol 304 MovieClip Frame 7
this.stop();
Symbol 304 MovieClip Frame 8
this.stop();
Symbol 304 MovieClip Frame 9
this.stop();
Symbol 304 MovieClip Frame 10
this.stop();
Symbol 304 MovieClip Frame 11
this.stop();
Symbol 304 MovieClip Frame 12
this.stop();
Symbol 304 MovieClip Frame 13
this.stop();
Symbol 304 MovieClip Frame 14
this.stop();
Symbol 304 MovieClip Frame 15
this.stop();
Symbol 304 MovieClip Frame 16
this.stop();
Symbol 304 MovieClip Frame 17
this.stop();
Symbol 304 MovieClip Frame 18
this.stop();
Symbol 304 MovieClip Frame 19
this.stop();
Symbol 304 MovieClip Frame 20
this.stop();
Symbol 304 MovieClip Frame 21
this.stop();
Symbol 304 MovieClip Frame 22
this.stop();
Symbol 305 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 10
stop();
Symbol 305 MovieClip Frame 20
gotoAndStop (2);
Symbol 306 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 60
_root.RoomBG.gotoAndStop(1);
_root.RileyTalk.gotoAndStop(1);
_global.Heat = 190;
_global.Day++;
gotoAndStop (1);
Symbol 307 Button
on (release) {
_root.gotoAndStop(5);
}
Symbol 308 Button
on (release) {
if (_global.LumaIntro == 1) {
_root.gotoAndStop(9);
}
}
Symbol 309 Button
on (release) {
if (_global.PattieIntro == 1) {
_global.Mall = 0;
_global.School = 1;
_root.gotoAndStop(10);
}
}
Symbol 310 Button
on (release) {
_global.Mall = 1;
_global.School = 0;
_root.gotoAndStop(10);
}
Symbol 313 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 2
stop();
Symbol 318 MovieClip Frame 3
stop();
Symbol 318 MovieClip Frame 4
stop();
Symbol 321 Button
on (press) {
pressing = 1;
}
on (release) {
pressing = 0;
}
Symbol 322 Button
on (press) {
pressing = 1;
}
on (release) {
pressing = 0;
}
Symbol 325 Button
on (press) {
pressing = 1;
}
on (release) {
pressing = 0;
}
Symbol 328 Button
on (press) {
pressing = 1;
}
on (release) {
pressing = 0;
}
Symbol 329 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 2
stop();
Symbol 329 MovieClip Frame 3
stop();
Symbol 329 MovieClip Frame 4
stop();
Symbol 331 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 2
stop();
Symbol 333 Button
on (press) {
pressing = 1;
}
on (release) {
pressing = 0;
}
Symbol 335 Button
on (press) {
pressing = 1;
}
on (release) {
pressing = 0;
}
Instance of Symbol 334 MovieClip "but2" in Symbol 339 MovieClip Frame 1
onClipEvent (load) {
restx = _root.HairBox._x - 620;
resty = _root.HairBox._y - 140;
k = 3;
mass = 10;
damping = 0.7;
pressing = 0;
vx = 0;
vy = 0;
}
onClipEvent (enterFrame) {
restx = _root.HairBox._x - 620;
resty = _root.HairBox._y - 140;
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 336 MovieClip "but1" in Symbol 339 MovieClip Frame 1
onClipEvent (load) {
restx = _root.HairBox._x - 50;
resty = _root.HairBox._y - 220;
k = 3;
mass = 10;
damping = 0.7;
pressing = 0;
vx = 0;
vy = 0;
}
onClipEvent (enterFrame) {
restx = _root.HairBox._x - 50;
resty = _root.HairBox._y - 220;
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 338 MovieClip in Symbol 339 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
pointX = _root.Hair2.but2._x;
pointY = _root.Hair2.but2._y;
pointX2 = _root.Hair2.but1._x;
pointY2 = _root.Hair2.but1._y;
rotaterX = 100;
rotaterY = 100;
rotaterX2 = -100;
rotaterY2 = 100;
dX = pointX - rotaterX;
dY = pointY - rotaterY;
dX2 = pointX2 - rotaterX2;
dY2 = pointY2 - rotaterY2;
radians = Math.atan2(dY, dX);
radians2 = Math.atan2(dY2, dX2);
angle = (radians * 180) / Math.PI;
angle2 = (radians2 * 180) / Math.PI;
if ((angle < 154) && (angle > 35)) {
angle = 154;
}
if ((angle > -147) && (angle < -125)) {
angle = -147;
}
if (angle == Number.NaN) {
angle = 154;
}
if ((angle2 < 100) && (angle2 > 8)) {
angle2 = 8;
}
if (angle2 < -25) {
angle2 = -25;
}
if (angle2 == Number.NaN) {
angle2 = 8;
}
_root.Hair2.MHairMiddle2._rotation = angle;
_root.Hair2.MHairMiddle1._rotation = angle2;
updateAfterEvent();
}
Symbol 347 MovieClip Frame 1
stop();
Symbol 358 MovieClip Frame 1
stop();
Symbol 358 MovieClip Frame 5
gotoAndStop (1);
Symbol 358 MovieClip Frame 6
_root.RileyTalk.RileyTalk2.gotoAndStop(18);
_root.RileyTalk.gotoAndPlay(2);
_global.SnowSkill = _global.SnowSkill + 8;
_global.ThrowSnowball = 0;
_global.Snowball = 0;
_global.LumaThrowing = 0;
_root.Low.stop();
_root.Winterstorm.stop();
_root.XS.stop();
_root.Bounce.stop();
_root.Holiday.start();
Symbol 358 MovieClip Frame 7
if (_global.LumaRandom == 1) {
_global.Won++;
}
Symbol 358 MovieClip Frame 29
if (_global.LumaRandom == 1) {
stop();
_root.RileyTalk.gotoAndStop(1);
if (_global.Day == 5) {
_root.gotoAndStop(23);
}
}
Symbol 358 MovieClip Frame 30
_root.RileyTalk.RileyTalk2.gotoAndStop(19);
_global.Text = 0;
_root.RileyTalk.gotoAndStop(1);
_global.LumaRandom = 0;
_global.Snowball = 0;
_root.gotoAndStop(12);
Symbol 358 MovieClip Frame 32
stop();
Symbol 358 MovieClip Frame 40
gotoAndStop (32);
Symbol 359 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 10
stop();
Symbol 359 MovieClip Frame 20
stop();
Symbol 359 MovieClip Frame 30
gotoAndStop (1);
Symbol 359 MovieClip Frame 40
gotoAndStop (1);
Symbol 366 MovieClip Frame 1
stop();
Symbol 367 Button
on (release) {
if ((_global.Snowball == 0) && (_root.Hand._currentframe == 1)) {
_root.Hand.play();
_global.SnowballBtn = 0;
}
}
on (releaseOutside) {
if ((_global.Snowball == 0) && (_root.Hand._currentframe == 1)) {
_root.Hand.play();
_global.SnowballBtn = 0;
}
}
Symbol 373 MovieClip Frame 20
Symbol 373 MovieClip Frame 31
this.gotoAndStop(1);
_global.ThrowSnowball = 0;
Symbol 373 MovieClip Frame 39
this.gotoAndStop(1);
_global.ThrowSnowball = 0;
Symbol 376 MovieClip Frame 31
_global.LumaThrowing = 0;
this.gotoAndStop(1);
Symbol 376 MovieClip Frame 37
_global.LumaThrowing = 0;
this.gotoAndStop(1);
Symbol 377 Button
on (release) {
if (((_global.LumaIntro == 1) && (_global.LumaRandom == 0)) && (_global.LastFight == 0)) {
_global.Events--;
if (_global.Events <= 0) {
_global.Events = 0;
}
_global.ThrowSnowball = 0;
_global.LumaRandom = 0;
_global.Snowball = 0;
_global.LumaLife = 3;
_global.LumaThrowing = 0;
_root.Low.stop();
_root.Winterstorm.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Holiday.start();
_root.gotoAndStop(8);
} else if (((_global.LumaIntro == 1) && (_global.LumaRandom == 1)) && (_global.LastFight == 0)) {
_global.Events--;
if (_global.Events <= 0) {
_global.Events = 0;
}
if (_global.LumaLife > 0) {
_global.Lost++;
}
_global.ThrowSnowball = 0;
_global.LumaRandom = 0;
_global.Snowball = 0;
_global.LumaLife = 3;
_global.LumaThrowing = 0;
_root.Low.stop();
_root.Winterstorm.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Holiday.start();
_root.gotoAndStop(8);
}
}
on (releaseOutside) {
if (((_global.LumaIntro == 1) && (_global.LumaRandom == 0)) && (_global.LastFight == 0)) {
_global.Events--;
if (_global.Events <= 0) {
_global.Events = 0;
}
_global.ThrowSnowball = 0;
_global.LumaRandom = 0;
_global.Snowball = 0;
_global.LumaLife = 3;
_global.LumaThrowing = 0;
_root.Low.stop();
_root.Winterstorm.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Holiday.start();
_root.gotoAndStop(8);
} else if (((_global.LumaIntro == 1) && (_global.LumaRandom == 1)) && (_global.LastFight == 0)) {
_global.Events--;
if (_global.Events <= 0) {
_global.Events = 0;
}
if (_global.LumaLife > 0) {
_global.Lost++;
}
_global.ThrowSnowball = 0;
_global.LumaRandom = 0;
_global.Snowball = 0;
_global.LumaLife = 3;
_global.LumaThrowing = 0;
_root.Low.stop();
_root.Winterstorm.stop();
_root.Bounce.stop();
_root.XS.stop();
_root.Holiday.start();
_root.gotoAndStop(8);
}
}
Instance of Symbol 373 MovieClip "Snowball" in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
_root.BG_Snowfight.Snowball.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_global.ThrowSnowball == 0) {
this._x = _root.SnowballBox._x * 1.7;
this._y = _root.SnowballBox._y * 1.6;
}
if (_root.BG_Snowfight.Snowball._currentframe == 15) {
_global.LumaMove = random(4);
_global.LumaMove2 = random(2);
if (((_global.LumaMove <= 1) && (_root.BG_Snowfight.LumaMove._currentframe == 1)) && (_global.LumaMove2 == 0)) {
_root.BG_Snowfight.LumaMove.play();
} else if ((_global.LumaMove <= 1) && (_root.BG_Snowfight.LumaMove._currentframe == 10)) {
_root.BG_Snowfight.LumaMove.gotoAndPlay(31);
} else if (((_global.LumaMove <= 1) && (_root.BG_Snowfight.LumaMove._currentframe == 1)) && (_global.LumaMove2 == 1)) {
_root.BG_Snowfight.LumaMove.gotoAndPlay(11);
} else if ((_global.LumaMove <= 1) && (_root.BG_Snowfight.LumaMove._currentframe == 20)) {
_root.BG_Snowfight.LumaMove.gotoAndPlay(21);
}
}
if ((_root.BG_Snowfight.Snowball._currentframe > 19) && (_root.BG_Snowfight.Snowball._currentframe < 26)) {
status = this.hitTest(_root.BG_Snowfight.LumaMove.LumaFight);
if (((status == true) && (_global.LumaRandom == 0)) && (_global.LumaIntro == 0)) {
_root.BG_Snowfight.Snowball.gotoAndPlay(32);
_root.BG_Snowfight.LumaMove.LumaFight.gotoAndPlay(6);
_global.Won = 1;
} else if (((status == true) && (_global.LumaRandom == 1)) && (_global.LumaIntro == 1)) {
_root.BG_Snowfight.Snowball.gotoAndPlay(32);
_global.LumaLife--;
_global.LumaLife = _global.LumaLife - _global.SnowSkill;
_global.SnowSkill = _global.SnowSkill + 2;
if (_global.LumaLife <= 0) {
_root.BG_Snowfight.LumaMove.LumaFight.gotoAndPlay(6);
}
} else if ((status == true) && (_root.BG_Snowfight.LumaMove.LumaFight._currentframe == 32)) {
_root.BG_Snowfight.Snowball.gotoAndPlay(32);
_root.BG_Snowfight.LumaMove.LumaFight.gotoAndPlay(33);
_global.SnowSkill = _global.SnowSkill + 4;
}
}
}
Instance of Symbol 376 MovieClip "SnowballLuma" in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
_root.BG_Snowfight.SnowballLuma.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_global.LumaThrowing == 0) {
this._x = _root.BG_Snowfight.LumaMove.LumaFight._x + 650;
this._y = _root.BG_Snowfight.LumaMove.LumaFight._y + 400;
} else {
this._x = this._x;
this._y = this._y;
}
if (_root.BG_Snowfight.LumaMove.LumaFight._currentframe == 3) {
_global.LumaThrowing = 1;
_root.BG_Snowfight.SnowballLuma.play();
}
if (_root.BG_Snowfight.SnowballLuma._currentframe == 29) {
status = this.hitTest(_root.SnowballBox);
if (status == true) {
_root.BG_Snowfight.SnowballLuma.gotoAndPlay(32);
if (_global.Day != 5) {
if (_global.ColdRes <= 25) {
_global.Heat = _global.Heat - (25 - _global.ColdRes);
}
} else if (_global.ColdRes <= 45) {
_global.Heat = _global.Heat - (45 - _global.ColdRes);
}
}
}
}
Symbol 391 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 2
stop();
Symbol 391 MovieClip Frame 3
stop();
Symbol 391 MovieClip Frame 4
stop();
Symbol 391 MovieClip Frame 5
stop();
Symbol 391 MovieClip Frame 6
stop();
Symbol 392 MovieClip Frame 1
stop();
Symbol 392 MovieClip Frame 10
_global.Snowball = 1;
if (_global.WearWinter == 1) {
_root.Hand.Hand2.gotoAndStop(4);
} else if (_global.WearHominid == 1) {
_root.Hand.Hand2.gotoAndStop(6);
}
Symbol 392 MovieClip Frame 11
_global.Snowball = 1;
Symbol 392 MovieClip Frame 20
gotoAndStop (1);
Symbol 392 MovieClip Frame 21
_global.ThrowSnowball = 1;
Symbol 392 MovieClip Frame 33
_global.Snowball = 0;
_root.BG_Snowfight.Snowball.play();
if (_global.WearWinter == 1) {
_root.Hand.Hand2.gotoAndStop(3);
} else if (_global.WearHominid == 1) {
_root.Hand.Hand2.gotoAndStop(5);
}
Symbol 392 MovieClip Frame 34
_global.Snowball = 0;
Symbol 392 MovieClip Frame 35
gotoAndStop (1);
Symbol 394 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 2
stop();
Symbol 396 MovieClip Frame 1
stop();
Symbol 396 MovieClip Frame 2
stop();
Symbol 399 Button
on (release) {
_root.gotoAndStop(8);
}
Symbol 400 Button
on (release) {
_root.gotoAndStop(11);
}
Symbol 405 MovieClip Frame 1
stop();
Symbol 412 MovieClip Frame 1
stop();
Symbol 417 MovieClip Frame 20
if (_global.Boots > 2) {
if (_global.Mall == 1) {
_root.gotoAndStop(13);
} else if ((_global.School == 1) && (_global.LumaIntro == 1)) {
_root.gotoAndStop(12);
} else if ((_global.School == 1) && (_global.LumaIntro == 0)) {
_root.gotoAndStop(20);
} else {
_root.gotoAndStop(8);
}
}
Symbol 417 MovieClip Frame 40
if (_global.Boots == 2) {
if (_global.Mall == 1) {
_root.gotoAndStop(13);
} else if ((_global.School == 1) && (_global.LumaIntro == 1)) {
_root.gotoAndStop(12);
} else if ((_global.School == 1) && (_global.LumaIntro == 0)) {
_root.gotoAndStop(20);
} else {
_root.gotoAndStop(8);
}
}
Symbol 417 MovieClip Frame 80
if (_global.Boots == 1) {
if (_global.Mall == 1) {
_root.gotoAndStop(13);
} else if ((_global.School == 1) && (_global.LumaIntro == 1)) {
_root.gotoAndStop(12);
} else if ((_global.School == 1) && (_global.LumaIntro == 0)) {
_root.gotoAndStop(20);
} else {
_root.gotoAndStop(8);
}
}
Symbol 417 MovieClip Frame 160
if (_global.Mall == 1) {
if (((_global.Day > 1) && (_global.Events > 0)) && (_global.Day != 5)) {
_global.LumaAttack = random(4);
if (_global.LumaAttack == 3) {
_global.LumaRandom = 1;
_root.gotoAndStop(20);
}
}
_root.gotoAndStop(13);
} else if ((_global.School == 1) && (_global.LumaIntro == 1)) {
if (((_global.Day > 1) && (_global.Events > 0)) && (_global.Day != 5)) {
_global.LumaAttack = random(4);
if (_global.LumaAttack == 3) {
_global.LumaRandom = 1;
_root.gotoAndStop(20);
}
}
_root.gotoAndStop(12);
} else if ((_global.School == 1) && (_global.LumaIntro == 0)) {
_root.gotoAndStop(20);
} else {
if (((_global.Day > 1) && (_global.Events > 0)) && (_global.Day != 5)) {
_global.LumaAttack = random(4);
if (_global.LumaAttack == 3) {
_global.LumaRandom = 1;
_root.gotoAndStop(20);
}
}
_root.gotoAndStop(8);
}
Symbol 418 Button
on (release) {
if (_global.Text >= 4) {
_root.gotoAndStop(11);
}
}
Symbol 422 Button
on (release) {
_global.Money = _global.Money + 10000;
_global.MoneyFound = 1;
_root.img5.Coins.gotoAndStop(2);
}
on (releaseOutside) {
_global.Money = _global.Money + 10000;
_global.MoneyFound = 1;
_root.img5.Coins.gotoAndStop(2);
}
Symbol 423 MovieClip Frame 1
stop();
Symbol 426 MovieClip Frame 1
stop();
Symbol 426 MovieClip Frame 2
stop();
Symbol 431 MovieClip Frame 1
stop();
Symbol 432 Button
on (release) {
if ((_global.Text == 2) && (_global.PattieIntro == 0)) {
_root.Shop.Pattie.gotoAndStop(1);
_root.RileyTalk.play();
_root.RileyTalk.RileyTalk2.gotoAndStop(12);
this.gotoAndStop(1);
_root.TextMC.BubbleText.gotoAndStop(8);
_root.TextMC.gotoAndStop(1);
_root.PersonTextArrow.gotoAndStop(2);
_global.Text++;
} else if ((_global.Text == 5) && (_global.PattieIntro == 0)) {
_root.Shop.Pattie.gotoAndStop(1);
_root.RileyTalk.RileyTalk2.gotoAndStop(5);
_root.RileyTalk.play();
this.gotoAndStop(1);
_root.TextMC.gotoAndStop(1);
_root.TextMC.BubbleText.gotoAndStop(9);
_root.PersonTextArrow.gotoAndStop(2);
_root.Shop.RileySlide.play();
_global.Text++;
} else if ((_global.Text == 7) && (_global.PattieIntro == 0)) {
_root.Shop.Pattie.gotoAndStop(5);
_root.RileyTalk.RileyTalk2.gotoAndStop(6);
_root.RileyTalk.play();
this.gotoAndStop(1);
_root.TextMC.gotoAndStop(1);
_root.TextMC.BubbleText.gotoAndStop(10);
_root.PersonTextArrow.gotoAndStop(2);
_root.Store.RileySlide.play();
_global.Text++;
} else if ((_global.Text == 9) && (_global.PattieIntro == 0)) {
_root.Shop.Pattie.gotoAndStop(1);
_root.RileyTalk.RileyTalk2.gotoAndStop(6);
_root.RileyTalk.gotoAndStop(1);
this.gotoAndStop(1);
_root.TextMC.gotoAndStop(1);
_root.TextMC.BubbleText.gotoAndStop(10);
_root.PersonTextArrow.gotoAndStop(1);
_root.Store.RileySlide.gotoAndStop(1);
_global.PattieIntro = 1;
_global.Text++;
} else if ((_global.Text == 1) && (_global.PattieIntro == 1)) {
_root.RileyTalk.RileyTalk2.gotoAndStop(20);
_root.RileyTalk.play();
this.gotoAndStop(1);
_root.TextMC.gotoAndStop(1);
_root.TextMC.BubbleText.gotoAndStop(12);
_root.PersonTextArrow.gotoAndStop(2);
_global.Text++;
} else if ((_global.Text == 3) && (_global.PattieIntro == 1)) {
_root.RileyTalk.RileyTalk2.gotoAndStop(21);
_root.RileyTalk.play();
this.gotoAndStop(1);
_root.TextMC.gotoAndStop(1);
_root.TextMC.BubbleText.gotoAndStop(12);
_root.PersonTextArrow.gotoAndStop(2);
_global.Text++;
}
}
Symbol 433 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 2
stop();
Symbol 434 Button
on (release) {
if ((_global.Text == 1) && (_global.PattieIntro == 0)) {
_root.Shop.Pattie.gotoAndStop(1);
_root.RileyTalk.gotoAndStop(1);
_root.RileyTalk.RileyTalk2.gotoAndStop(12);
this.gotoAndStop(1);
_root.TextMC.BubbleText.gotoAndStop(7);
_root.TextMC.play();
_root.MaikoTextArrow.gotoAndStop(2);
_global.Text++;
} else if ((_global.Text == 3) && (_global.PattieIntro == 0)) {
_root.Shop.Pattie.gotoAndStop(1);
_root.RileyTalk.RileyTalk2.gotoAndStop(13);
_global.Text++;
} else if ((_global.Text == 4) && (_global.PattieIntro == 0)) {
_root.Shop.Pattie.gotoAndStop(1);
_root.RileyTalk.gotoAndStop(1);
_root.RileyTalk.RileyTalk2.gotoAndStop(12);
this.gotoAndStop(1);
_root.TextMC.BubbleText.gotoAndStop(8);
_root.TextMC.play();
_root.MaikoTextArrow.gotoAndStop(2);
_global.Text++;
} else if ((_global.Text == 6) && (_global.PattieIntro == 0)) {
_root.Shop.Pattie.gotoAndStop(3);
_root.RileyTalk.gotoAndStop(1);
_root.RileyTalk.RileyTalk2.gotoAndStop(13);
this.gotoAndStop(1);
_root.TextMC.BubbleText.gotoAndStop(9);
_root.TextMC.play();
_root.MaikoTextArrow.gotoAndStop(2);
_global.Text++;
} else if ((_global.Text == 8) && (_global.PattieIntro == 0)) {
_root.Shop.Pattie.gotoAndStop(3);
_root.RileyTalk.gotoAndStop(1);
_root.RileyTalk.RileyTalk2.gotoAndStop(6);
this.gotoAndStop(1);
_root.TextMC.BubbleText.gotoAndStop(10);
_root.TextMC.play();
_root.MaikoTextArrow.gotoAndStop(2);
_global.Text++;
} else if ((_global.Text == 0) && (_global.PattieIntro == 1)) {
_root.RileyTalk.gotoAndStop(1);
_root.RileyTalk.RileyTalk2.gotoAndStop(20);
this.gotoAndStop(1);
_root.TextMC.BubbleText.gotoAndStop(11);
_root.TextMC.play();
_root.MaikoTextArrow.gotoAndStop(2);
_global.Text++;
} else if ((_global.Text == 2) && (_global.PattieIntro == 1)) {
_root.RileyTalk.gotoAndStop(1);
_root.RileyTalk.RileyTalk2.gotoAndStop(21);
this.gotoAndStop(1);
_root.TextMC.BubbleText.gotoAndStop(12);
_root.TextMC.play();
_root.MaikoTextArrow.gotoAndStop(2);
_global.Text++;
} else if ((_global.Text == 4) && (_global.PattieIntro == 1)) {
_root.RileyTalk.gotoAndStop(1);
_root.RileyTalk.RileyTalk2.gotoAndStop(21);
this.gotoAndStop(1);
_root.TextMC.BubbleText.gotoAndStop(12);
_global.Text++;
}
}
Symbol 435 MovieClip Frame 1
stop();
Symbol 435 MovieClip Frame 2
stop();
Symbol 438 Button
on (release) {
if (((_global.PattieIntro == 0) && (_global.LumaIntro == 0)) && (_global.Events > 1)) {
_root.gotoAndStop(14);
} else if (((_global.PattieIntro == 1) && (_global.LumaIntro == 1)) && (_global.Events > 1)) {
_root.gotoAndStop(14);
}
}
on (releaseOutside) {
if (((_global.PattieIntro == 0) && (_global.LumaIntro == 0)) && (_global.Events > 1)) {
_root.gotoAndStop(14);
} else if (((_global.PattieIntro == 1) && (_global.LumaIntro == 1)) && (_global.Events > 1)) {
_root.gotoAndStop(14);
}
}
Symbol 443 MovieClip Frame 1
stop();
Symbol 454 MovieClip Frame 1
stop();
Symbol 454 MovieClip Frame 2
stop();
Symbol 454 MovieClip Frame 3
stop();
Symbol 454 MovieClip Frame 4
stop();
Symbol 454 MovieClip Frame 5
stop();
Symbol 459 MovieClip Frame 1
stop();
Symbol 459 MovieClip Frame 15
stop();
Symbol 460 Button
on (release) {
if ((_global.PattieIntro == 1) && (_global.bought == 0)) {
_global.Events--;
if (_global.Events <= 0) {
_global.Events = 0;
}
_root.gotoAndStop(13);
} else if ((_global.PattieIntro == 1) && (_global.bought == 1)) {
_global.bought = 0;
_root.gotoAndStop(13);
}
}
on (releaseOutside) {
if ((_global.PattieIntro == 1) && (_global.bought == 0)) {
_global.Events--;
if (_global.Events <= 0) {
_global.Events = 0;
}
_root.gotoAndStop(13);
} else if ((_global.PattieIntro == 1) && (_global.bought == 1)) {
_global.bought = 0;
_root.gotoAndStop(13);
}
}
Symbol 462 Button
on (rollOver) {
gotoAndStop ("open");
_root.RileyTalk.gotoAndStop(1);
}
Symbol 463 Button
on (release) {
_global.Heat = 190;
}
on (releaseOutside) {
_global.Heat = 190;
}
Symbol 468 Button
on (rollOver) {
gotoAndStop ("open");
}
on (rollOut) {
gotoAndStop ("start");
}
Symbol 469 Button
on (rollOver) {
gotoAndStop ("work");
}
on (rollOut) {
gotoAndStop ("start");
}
Symbol 470 Button
on (rollOver) {
_root.ShopMenu.PattieTalk.gotoAndStop(1);
gotoAndStop ("buy");
}
on (rollOut) {
gotoAndStop ("start");
}
Symbol 473 Button
on (rollOver) {
gotoAndStop ("work");
}
on (rollOut) {
gotoAndStop ("start");
}
on (release) {
if ((_global.Events >= 1) && (_global.Day != 5)) {
gotoAndStop ("start");
_global.bought = 1;
_global.Events--;
_global.Money = _global.Money + 500;
_root.RileyTalk.RileyTalk2.gotoAndStop(17);
_root.RileyTalk.gotoAndPlay(2);
} else if ((_global.Events >= 1) && (_global.Day == 5)) {
gotoAndStop ("start");
_global.bought = 1;
_root.RileyTalk.RileyTalk2.gotoAndStop(9);
_root.RileyTalk.gotoAndPlay(2);
} else {
gotoAndStop ("start");
_root.RileyTalk.RileyTalk2.gotoAndStop(10);
_root.RileyTalk.gotoAndPlay(2);
}
}
Symbol 474 Button
on (rollOver) {
gotoAndStop ("work");
}
on (rollOut) {
gotoAndStop ("start");
}
on (release) {
if ((_global.Events >= 2) && (_global.Day != 5)) {
gotoAndStop ("start");
_global.bought = 1;
_global.Events = _global.Events - 2;
_global.Money = _global.Money + 1000;
_root.RileyTalk.RileyTalk2.gotoAndStop(17);
_root.RileyTalk.gotoAndPlay(2);
} else if ((_global.Events >= 2) && (_global.Day == 5)) {
gotoAndStop ("start");
_global.bought = 1;
_root.RileyTalk.RileyTalk2.gotoAndStop(9);
_root.RileyTalk.gotoAndPlay(2);
} else {
gotoAndStop ("start");
_root.RileyTalk.RileyTalk2.gotoAndStop(10);
_root.RileyTalk.gotoAndPlay(2);
}
}
Symbol 475 Button
on (rollOver) {
gotoAndStop ("work");
}
on (rollOut) {
gotoAndStop ("start");
}
on (release) {
if ((_global.Events == 3) && (_global.Day != 5)) {
gotoAndStop ("start");
_global.bought = 1;
_global.Events = _global.Events - 3;
_global.Money = _global.Money + 1500;
_root.RileyTalk.RileyTalk2.gotoAndStop(17);
_root.RileyTalk.gotoAndPlay(2);
} else if ((_global.Events == 3) && (_global.Day == 5)) {
gotoAndStop ("start");
_global.bought = 1;
_root.RileyTalk.RileyTalk2.gotoAndStop(9);
_root.RileyTalk.gotoAndPlay(2);
} else {
gotoAndStop ("start");
_root.RileyTalk.RileyTalk2.gotoAndStop(10);
_root.RileyTalk.gotoAndPlay(2);
}
}
Symbol 480 Button
on (rollOver) {
gotoAndStop ("buy");
_root.ShopMenu.PattieTalk.gotoAndStop(2);
}
on (rollOut) {
gotoAndStop ("start");
}
on (release) {
if (_global.Money >= 500) {
gotoAndStop ("start");
_global.Money = _global.Money - 500;
_global.ColdRes = _global.ColdRes + 5;
_root.RileyTalk.RileyTalk2.gotoAndStop(17);
_root.RileyTalk.gotoAndPlay(2);
} else {
gotoAndStop ("start");
_root.RileyTalk.RileyTalk2.gotoAndStop(16);
_root.RileyTalk.gotoAndPlay(2);
}
}
Symbol 481 Button
on (rollOver) {
gotoAndStop ("buy");
_root.ShopMenu.PattieTalk.gotoAndStop(3);
}
on (rollOut) {
gotoAndStop ("start");
}
on (release) {
if (_global.Money >= 3000) {
gotoAndStop ("start");
_global.Money = _global.Money - 3000;
_global.Boots = _global.Boots + 1;
_root.RileyTalk.RileyTalk2.gotoAndStop(17);
_root.RileyTalk.gotoAndPlay(2);
} else {
gotoAndStop ("start");
_root.RileyTalk.RileyTalk2.gotoAndStop(16);
_root.RileyTalk.gotoAndPlay(2);
}
}
Symbol 482 Button
on (rollOver) {
gotoAndStop ("buy");
_root.ShopMenu.PattieTalk.gotoAndStop(4);
}
on (rollOut) {
gotoAndStop ("start");
}
on (release) {
if (_global.Money >= 8000) {
gotoAndStop ("start");
_global.Money = _global.Money - 8000;
_global.Hominid = 1;
_root.RileyTalk.RileyTalk2.gotoAndStop(17);
_root.RileyTalk.gotoAndPlay(2);
} else {
gotoAndStop ("start");
_root.RileyTalk.RileyTalk2.gotoAndStop(16);
_root.RileyTalk.gotoAndPlay(2);
}
}
Symbol 493 MovieClip Frame 1
stop();
Symbol 499 MovieClip Frame 190
_global.Heat = _global.Heat - 20;
_root.gotoAndStop(9);
Symbol 503 MovieClip Frame 90
_global.Die = 1;
_global.ThrowSnowball = 0;
_global.Snowball = 0;
_global.LumaThrowing = 0;
_global.LumaRandom = 0;
_global.Text = 0;
_global.LumaIntro = 1;
_global.PattieIntro = 1;
_global.Heat = 100;
_root.gotoAndStop(5);
Symbol 508 MovieClip Frame 190
_global.Heat = _global.Heat - 20;
_root.gotoAndStop(9);
Symbol 513 Button
on (release) {
_root.gotoAndStop(24);
}
on (releaseOutside) {
_root.gotoAndStop(24);
}
Symbol 514 MovieClip Frame 61
stop();
Symbol 537 Button
on (release) {
_root.gotoAndStop(3);
}
on (releaseOutside) {
_root.gotoAndStop(3);
}
Symbol 543 Button
on (release) {
_root.gotoAndStop(3);
}