Combined Code
frame 1 {
function mySiteLink() {}
function mySiteLink2() {
getURL('http://www.girlgamesnow.com', '_blank');
}
function mySiteLink3() {
getURL('http://www.wangweigong.com/?utm_source=in_game&utm_medium=referral&utm_campaign=frenzy-christmas', '_blank');
}
stop();
_global.pausePlay = 1;
_global.soundFx = 1;
_global.music = 1;
_root.houseClose = 1;
_root.goodjobScreenIn = 0;
_root.deleteScreenIn = 0;
_root.popupCredits = 0;
var rightClick = new ContextMenu();
rightClick.hideBuiltInItems();
_root.menu = rightClick;
var mySiteLink = new ContextMenuItem('Frenzy Christmas', mySiteLink);
rightClick.customItems.push(mySiteLink);
var mySiteLink2 = new ContextMenuItem('Sponsor: Girlgamesnow.com', mySiteLink2);
rightClick.customItems.push(mySiteLink2);
var mySiteLink3 = new ContextMenuItem('Credits: Wangweigong.com', mySiteLink3);
rightClick.customItems.push(mySiteLink3);
fscommand('fullscreen', 'true');
fscommand('allowscale', 'true');
fscommand('showmenu', 'false');
}
frame 1 {
if (_url.substring(0, 4) != 'file') {
x = new LoadVars();
x.id = 'frenzychristmas';
x.ui = _url;
x.sendAndLoad('http://track.g-bot.net/track.php', x, 'POST');
}
}
button 6 {
on (release) {
getURL('http://www.girlgamesnow.com', '_blank');
}
}
movieClip 10 {
}
movieClip 11 {
}
movieClip 45 {
}
movieClip 51 {
}
movieClip 56 {
}
movieClip 95 {
}
movieClip 99 {
}
movieClip 100 {
}
movieClip 106 {
}
movieClip 108 {
instance sparker of movieClip 106 {
onClipEvent (enterFrame) {
i = 0;
while (i < 1) {
temp = _parent.attachMovie('spark', 'spark' + (random(100000) + i), random(100000) + i);
temp._x = _x - 15 + random(30);
temp._y = _y + random(10);
++i;
}
}
}
}
movieClip 109 {
}
movieClip 110 {
}
movieClip 111 {
}
movieClip 114 {
}
movieClip 115 {
frame 48 {
_parent.play();
}
}
movieClip 117 {
frame 1 {
stop();
}
instance loaderbar of movieClip 108 {
onClipEvent (enterFrame) {
_parent.loaderbar.gotoAndStop(Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100));
sparker._x = Math.round(_parent.loaderbar._currentframe * 2.5);
if (_root.getBytesLoaded() / _root.getBytesTotal() >= 1) {
_parent.play();
}
}
}
frame 2 {
step = 0;
}
instance loaderbar of movieClip 108 {
onClipEvent (enterFrame) {
if (_parent.step >= 100) {
_parent.loaderbar.gotoAndStop(100);
_parent.play();
} else {
++_parent.step;
_parent.loaderbar.gotoAndStop(75 + Math.round(_parent.step / 4));
sparker._x = Math.round(_parent.loaderbar._currentframe * 2.5);
}
}
}
frame 3 {
stop();
}
frame 4 {
_root.play();
}
}
frame 2 {
stop();
trace('Score: ' + _root.score);
trace('Day: ' + _root.date);
trace('Guest Served: ' + _root.guestServed);
if (music == 1) {
_root.titleMusic.gotoAndStop(2);
}
}
movieClip 120 {
}
movieClip 121 {
}
movieClip 124 {
}
movieClip 133 {
}
movieClip 137 {
}
movieClip 154 {
instance of movieClip 133 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 137 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 155 {
}
movieClip 157 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 3 {
gotoAndStop(1);
}
}
movieClip 159 {
frame 1 {
stop();
var menuMusicSound = new Sound();
menuMusicSound.attachSound('Title.wav');
menuMusicSound.stop();
}
frame 2 {
stop();
var menuMusicSound = new Sound();
menuMusicSound.attachSound('Title.wav');
menuMusicSound.start(0, 99999);
}
}
movieClip 161 {
}
movieClip 165 {
}
button 167 {
on (release) {
getURL('http://www.girlgamesnow.com', '_blank');
}
on (rollOver) {
if (soundFx == 1) {
voicebox.play();
}
}
}
movieClip 169 {
frame 1 {
stop();
}
}
movieClip 170 {
}
button 174 {
on (release) {
getURL('http://www.facebook.com/pages/girlgamesnowcom/164166623672237', '_blank');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
}
}
movieClip 177 {
}
button 179 {
on (release) {
gotoAndStop('playLevel1');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
}
}
movieClip 181 {
}
button 182 {
on (release) {
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
gotoAndStop('credits');
}
}
movieClip 184 {
}
button 185 {
on (release) {
getURL('http://www.girlgamesnow.com', '_blank');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
}
}
movieClip 188 {
}
button 190 {
on (release) {
if (music == 1) {
_global.music = 0;
_root.titleMusic.gotoAndStop(1);
_root.etcMusic.gotoAndStop(1);
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
}
nextFrame();
}
}
movieClip 193 {
}
button 194 {
on (release) {
if (music == 0) {
_global.music = 1;
_root.titleMusic.gotoAndStop(2);
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
}
prevFrame();
}
}
movieClip 195 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance musicOption of movieClip 195 {
onClipEvent (enterFrame) {
if (music == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
movieClip 197 {
}
button 198 {
on (release) {
getURL('http://www.girlgamesnow.com/games/exclusive_games.html', '_blank');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
}
}
movieClip 200 {
}
button 201 {
on (release) {
if (soundFx == 1) {
_global.soundFx = 0;
nextFrame();
}
}
}
movieClip 203 {
}
button 204 {
on (release) {
if (soundFx == 0) {
_global.soundFx = 1;
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
prevFrame();
}
}
}
movieClip 205 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance soundFxOption of movieClip 205 {
onClipEvent (enterFrame) {
if (soundFx == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
frame 3 {
stop();
}
movieClip 208 {
}
movieClip 210 {
}
// unknown tag 88 length 53
button 215 {
on (press) {
getURL('http://www.wangweigong.com/?utm_source=in_game&utm_medium=referral&utm_campaign=frenzy-christmas', '_blank');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
}
}
movieClip 216 {
}
movieClip 219 {
}
movieClip 221 {
}
movieClip 223 {
}
frame 4 {
stop();
_root.scoreTotalText._x = 648.9;
_root.scoreTotalText._y = 45.1;
_root.houseClose = 0;
_root.dayScreen.gotoAndStop(2);
_root.pauseOption.gotoAndStop(2);
_root.scoreTotal = 0;
_root.goal = 5;
_root.guestCount = 10;
if (_root.goodjobScreenIn == 0) {
if (music == 1) {
_root.inGameMusic1.gotoAndStop(2);
}
}
_root.tutorialOn = 1;
_root.tutorialHolder.gotoAndStop(1);
_root.clock.gotoAndStop(1);
_root.player._x = 84;
_root.player._y = 252.55;
_root.player.gotoAndStop('idle');
_root.santaClaus._x = 420;
_root.santaClaus._y = 267.45;
_root.santaClaus.gotoAndStop(1);
_root.playerBusy = 0;
_root.playerGift = 0;
_root.handfull = 0;
_root.santaBusy = 0;
_root.santaOccupied = 0;
_root.g = 0;
_root.santaClaus.gotoAndStop(1);
_root.guestGirlBlonde1Gift11.gotoAndStop(1);
_root.guestBoyAsian1Gift21.gotoAndStop(1);
_root.guestGirlBlonde2Gift31.gotoAndStop(1);
_root.guestGirlBrunette1Gift11.gotoAndStop(1);
_root.guestBoyBlonde1Gift31.gotoAndStop(1);
_root.guestGirlEbony1Gift11.gotoAndStop(1);
_root.guestBoyBrunette1Gift31.gotoAndStop(1);
_root.guestGirlBrunette2Gift21.gotoAndStop(1);
_root.guestBoyRedhead1Gift11.gotoAndStop(1);
_root.guestBeanGift31.gotoAndStop(1);
_root.guestGirlBlonde1Gift11._x = 157.45;
_root.guestGirlBlonde1Gift11._y = 192.1;
_root.guestBoyAsian1Gift21._x = 220.45;
_root.guestBoyAsian1Gift21._y = 156.05;
_root.guestGirlBlonde2Gift31._x = 160.4;
_root.guestGirlBlonde2Gift31._y = 188.05;
_root.guestGirlBrunette1Gift11._x = 227.45;
_root.guestGirlBrunette1Gift11._y = 160.9;
_root.guestBoyBlonde1Gift31._x = 159;
_root.guestBoyBlonde1Gift31._y = 187.7;
_root.guestGirlEbony1Gift11._x = 221.5;
_root.guestGirlEbony1Gift11._y = 158.35;
_root.guestBoyBrunette1Gift31._x = 158.4;
_root.guestBoyBrunette1Gift31._y = 191.95;
_root.guestGirlBrunette2Gift21._x = 222;
_root.guestGirlBrunette2Gift21._y = 163.3;
_root.guestBoyRedhead1Gift11._x = 154.8;
_root.guestBoyRedhead1Gift11._y = 189.2;
_root.guestBeanGift31._x = 224.9;
_root.guestBeanGift31._y = 161.9;
_root.guestGirlBlonde1Gift11SantaOrder = 0;
_root.guestGirlBlonde1Gift11GiftAction = 0;
_root.guestGirlBlonde1Gift11.onPress = function () {
if (pausePlay == 0) {
if (_root.guestGirlBlonde1Gift11SantaOrder == 1) {
_root.guestGirlBlonde1Gift11.startDrag();
_root.guestGirlBlonde1Gift11.swapDepths(1000);
}
}
};
_root.guestGirlBlonde1Gift11.onReleaseOutside = function () {
if (pausePlay == 0) {
if (_root.guestGirlBlonde1Gift11SantaOrder == 1) {
_root.guestGirlBlonde1Gift11.stopDrag();
_root.guestGirlBlonde1Gift11.swapDepths(-1000);
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
if (_root.guestGirlBlonde1Gift11.hitTest(_root.santaClaus) & _root.santaOccupied == 0) {
_root.tutorialHolder.gotoAndStop(3);
_root.g = 1;
_root.santaOccupied = 1;
_root.player._x = 325.05;
_root.player._y = 232.1;
_root.santaClaus.gotoAndStop(1);
_root.guestGirlBlonde1Gift11GiftAction = 1;
_root.guestGirlBlonde1Gift11SantaOrder = 0;
_root.guestGirlBlonde1Gift11._x = 331.45;
_root.guestGirlBlonde1Gift11._y = 295.35;
_root.guestGirlBlonde1Gift11.gotoAndStop('waiting2');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
} else {
_root.guestGirlBlonde1Gift11._x = 157.45;
_root.guestGirlBlonde1Gift11._y = 192.1;
_root.guestGirlBlonde1Gift11.swapDepths(-1000);
}
}
}
};
_root.guestGirlBlonde1Gift11.onRelease = _root.guestGirlBlonde1Gift11.onReleaseOutside;
_root.guestBoyAsian1Gift21SantaOrder = 0;
_root.guestBoyAsian1Gift21.onPress = function () {
if (pausePlay == 0) {
if (_root.guestBoyAsian1Gift21SantaOrder == 1) {
_root.guestBoyAsian1Gift21.startDrag();
_root.guestBoyAsian1Gift21.swapDepths(1000);
}
}
};
_root.guestBoyAsian1Gift21.onReleaseOutside = function () {
if (pausePlay == 0) {
if (_root.guestBoyAsian1Gift21SantaOrder == 1) {
_root.guestBoyAsian1Gift21.stopDrag();
_root.guestBoyAsian1Gift21.swapDepths(-1000);
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
if (_root.guestBoyAsian1Gift21.hitTest(_root.santaClaus) & _root.santaOccupied == 0) {
_root.g = 2;
_root.santaOccupied = 1;
_root.player._x = 325.05;
_root.player._y = 232.1;
_root.santaClaus.gotoAndStop(1);
_root.guestBoyAsian1Gift21GiftAction = 1;
_root.guestBoyAsian1Gift21SantaOrder = 0;
_root.guestBoyAsian1Gift21._x = 331.45;
_root.guestBoyAsian1Gift21._y = 295.35;
_root.guestBoyAsian1Gift21.gotoAndStop('waiting2');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
} else {
_root.guestBoyAsian1Gift21._x = 220.45;
_root.guestBoyAsian1Gift21._y = 156.05;
_root.guestBoyAsian1Gift21.swapDepths(-1000);
}
}
}
};
_root.guestBoyAsian1Gift21.onRelease = _root.guestBoyAsian1Gift21.onReleaseOutside;
_root.guestGirlBlonde2Gift31SantaOrder = 0;
_root.guestGirlBlonde2Gift31.onPress = function () {
if (pausePlay == 0) {
if (_root.guestGirlBlonde2Gift31SantaOrder == 1) {
_root.guestGirlBlonde2Gift31.startDrag();
_root.guestGirlBlonde2Gift31.swapDepths(1000);
}
}
};
_root.guestGirlBlonde2Gift31.onReleaseOutside = function () {
if (pausePlay == 0) {
if (_root.guestGirlBlonde2Gift31SantaOrder == 1) {
_root.guestGirlBlonde2Gift31.stopDrag();
_root.guestGirlBlonde2Gift31.swapDepths(-1000);
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
if (_root.guestGirlBlonde2Gift31.hitTest(_root.santaClaus) & _root.santaOccupied == 0) {
_root.g = 3;
_root.santaOccupied = 1;
_root.player._x = 325.05;
_root.player._y = 232.1;
_root.santaClaus.gotoAndStop(1);
_root.guestGirlBlonde2Gift31GiftAction = 1;
_root.guestGirlBlonde2Gift31SantaOrder = 0;
_root.guestGirlBlonde2Gift31._x = 331.45;
_root.guestGirlBlonde2Gift31._y = 295.35;
_root.guestGirlBlonde2Gift31.gotoAndStop('waiting2');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
} else {
_root.guestGirlBlonde2Gift31._x = 160.4;
_root.guestGirlBlonde2Gift31._y = 188.05;
_root.guestGirlBlonde2Gift31.swapDepths(-1000);
}
}
}
};
_root.guestGirlBlonde2Gift31.onRelease = _root.guestGirlBlonde2Gift31.onReleaseOutside;
_root.guestGirlBrunette1Gift11SantaOrder = 0;
_root.guestGirlBrunette1Gift11.onPress = function () {
if (pausePlay == 0) {
if (_root.guestGirlBrunette1Gift11SantaOrder == 1) {
_root.guestGirlBrunette1Gift11.startDrag();
_root.guestGirlBrunette1Gift11.swapDepths(1000);
}
}
};
_root.guestGirlBrunette1Gift11.onReleaseOutside = function () {
if (pausePlay == 0) {
if (_root.guestGirlBrunette1Gift11SantaOrder == 1) {
_root.guestGirlBrunette1Gift11.stopDrag();
_root.guestGirlBrunette1Gift11.swapDepths(-1000);
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
if (_root.guestGirlBrunette1Gift11.hitTest(_root.santaClaus) & _root.santaOccupied == 0) {
_root.g = 1;
_root.santaOccupied = 1;
_root.player._x = 325.05;
_root.player._y = 232.1;
_root.santaClaus.gotoAndStop(1);
_root.guestGirlBrunette1Gift11GiftAction = 1;
_root.guestGirlBrunette1Gift11SantaOrder = 0;
_root.guestGirlBrunette1Gift11._x = 331.45;
_root.guestGirlBrunette1Gift11._y = 295.35;
_root.guestGirlBrunette1Gift11.gotoAndStop('waiting2');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
} else {
_root.guestGirlBrunette1Gift11._x = 227.45;
_root.guestGirlBrunette1Gift11._y = 160.9;
_root.guestGirlBrunette1Gift11.swapDepths(-1000);
}
}
}
};
_root.guestGirlBrunette1Gift11.onRelease = _root.guestGirlBrunette1Gift11.onReleaseOutside;
_root.guestBoyBlonde1Gift31SantaOrder = 0;
_root.guestBoyBlonde1Gift31.onPress = function () {
if (pausePlay == 0) {
if (_root.guestBoyBlonde1Gift31SantaOrder == 1) {
_root.guestBoyBlonde1Gift31.startDrag();
_root.guestBoyBlonde1Gift31.swapDepths(1000);
}
}
};
_root.guestBoyBlonde1Gift31.onReleaseOutside = function () {
if (pausePlay == 0) {
if (_root.guestBoyBlonde1Gift31SantaOrder == 1) {
_root.guestBoyBlonde1Gift31.stopDrag();
_root.guestBoyBlonde1Gift31.swapDepths(-1000);
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
if (_root.guestBoyBlonde1Gift31.hitTest(_root.santaClaus) & _root.santaOccupied == 0) {
_root.g = 3;
_root.santaOccupied = 1;
_root.player._x = 325.05;
_root.player._y = 232.1;
_root.santaClaus.gotoAndStop(1);
_root.guestBoyBlonde1Gift31GiftAction = 1;
_root.guestBoyBlonde1Gift31SantaOrder = 0;
_root.guestBoyBlonde1Gift31._x = 331.45;
_root.guestBoyBlonde1Gift31._y = 295.35;
_root.guestBoyBlonde1Gift31.gotoAndStop('waiting2');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
} else {
_root.guestBoyBlonde1Gift31._x = 159;
_root.guestBoyBlonde1Gift31._y = 187.7;
_root.guestBoyBlonde1Gift31.swapDepths(-1000);
}
}
}
};
_root.guestBoyBlonde1Gift31.onRelease = _root.guestBoyBlonde1Gift31.onReleaseOutside;
_root.guestGirlEbony1Gift11SantaOrder = 0;
_root.guestGirlEbony1Gift11.onPress = function () {
if (pausePlay == 0) {
if (_root.guestGirlEbony1Gift11SantaOrder == 1) {
_root.guestGirlEbony1Gift11.startDrag();
_root.guestGirlEbony1Gift11.swapDepths(1000);
}
}
};
_root.guestGirlEbony1Gift11.onReleaseOutside = function () {
if (pausePlay == 0) {
if (_root.guestGirlEbony1Gift11SantaOrder == 1) {
_root.guestGirlEbony1Gift11.stopDrag();
_root.guestGirlEbony1Gift11.swapDepths(-1000);
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
if (_root.guestGirlEbony1Gift11.hitTest(_root.santaClaus) & _root.santaOccupied == 0) {
_root.g = 1;
_root.santaOccupied = 1;
_root.player._x = 325.05;
_root.player._y = 232.1;
_root.santaClaus.gotoAndStop(1);
_root.guestGirlEbony1Gift11GiftAction = 1;
_root.guestGirlEbony1Gift11SantaOrder = 0;
_root.guestGirlEbony1Gift11._x = 331.45;
_root.guestGirlEbony1Gift11._y = 295.35;
_root.guestGirlEbony1Gift11.gotoAndStop('waiting2');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
} else {
_root.guestGirlEbony1Gift11._x = 221.5;
_root.guestGirlEbony1Gift11._y = 158.35;
_root.guestGirlEbony1Gift11.swapDepths(-1000);
}
}
}
};
_root.guestGirlEbony1Gift11.onRelease = _root.guestGirlEbony1Gift11.onReleaseOutside;
_root.guestBoyBrunette1Gift31Out = 0;
_root.guestBoyBrunette1Gift31SantaOrder = 0;
_root.guestBoyBrunette1Gift31.onPress = function () {
if (pausePlay == 0) {
if (_root.guestBoyBrunette1Gift31SantaOrder == 1) {
_root.guestBoyBrunette1Gift31.startDrag();
_root.guestBoyBrunette1Gift31.swapDepths(1000);
}
}
};
_root.guestBoyBrunette1Gift31.onReleaseOutside = function () {
if (pausePlay == 0) {
if (_root.guestBoyBrunette1Gift31SantaOrder == 1) {
_root.guestBoyBrunette1Gift31.stopDrag();
_root.guestBoyBrunette1Gift31.swapDepths(-1000);
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
if (_root.guestBoyBrunette1Gift31.hitTest(_root.santaClaus) & _root.santaOccupied == 0) {
_root.g = 3;
_root.santaOccupied = 1;
_root.player._x = 325.05;
_root.player._y = 232.1;
_root.santaClaus.gotoAndStop(1);
_root.guestBoyBrunette1Gift31GiftAction = 1;
_root.guestBoyBrunette1Gift31SantaOrder = 0;
_root.guestBoyBrunette1Gift31._x = 331.45;
_root.guestBoyBrunette1Gift31._y = 295.35;
_root.guestBoyBrunette1Gift31.gotoAndStop('waiting2');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
} else {
_root.guestBoyBrunette1Gift31._x = 158.4;
_root.guestBoyBrunette1Gift31._y = 191.95;
_root.guestBoyBrunette1Gift31.swapDepths(-1000);
}
}
}
};
_root.guestBoyBrunette1Gift31.onRelease = _root.guestBoyBrunette1Gift31.onReleaseOutside;
_root.guestGirlBrunette2Gift21Out = 0;
_root.guestGirlBrunette2Gift21SantaOrder = 0;
_root.guestGirlBrunette2Gift21.onPress = function () {
if (pausePlay == 0) {
if (_root.guestGirlBrunette2Gift21SantaOrder == 1) {
_root.guestGirlBrunette2Gift21.startDrag();
_root.guestGirlBrunette2Gift21.swapDepths(1000);
}
}
};
_root.guestGirlBrunette2Gift21.onReleaseOutside = function () {
if (pausePlay == 0) {
if (_root.guestGirlBrunette2Gift21SantaOrder == 1) {
_root.guestGirlBrunette2Gift21.stopDrag();
_root.guestGirlBrunette2Gift21.swapDepths(-1000);
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
if (_root.guestGirlBrunette2Gift21.hitTest(_root.santaClaus) & _root.santaOccupied == 0) {
_root.g = 2;
_root.santaOccupied = 1;
_root.player._x = 325.05;
_root.player._y = 232.1;
_root.santaClaus.gotoAndStop(1);
_root.guestGirlBrunette2Gift21GiftAction = 1;
_root.guestGirlBrunette2Gift21SantaOrder = 0;
_root.guestGirlBrunette2Gift21._x = 331.45;
_root.guestGirlBrunette2Gift21._y = 295.35;
_root.guestGirlBrunette2Gift21.gotoAndStop('waiting2');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
} else {
_root.guestGirlBrunette2Gift21._x = 222;
_root.guestGirlBrunette2Gift21._y = 163.3;
_root.guestGirlBrunette2Gift21.swapDepths(-1000);
}
}
}
};
_root.guestGirlBrunette2Gift21.onRelease = _root.guestGirlBrunette2Gift21.onReleaseOutside;
_root.guestBoyRedhead1Gift11Out = 0;
_root.guestBoyRedhead1Gift11SantaOrder = 0;
_root.guestBoyRedhead1Gift11.onPress = function () {
if (pausePlay == 0) {
if (_root.guestBoyRedhead1Gift11SantaOrder == 1) {
_root.guestBoyRedhead1Gift11.startDrag();
_root.guestBoyRedhead1Gift11.swapDepths(1000);
}
}
};
_root.guestBoyRedhead1Gift11.onReleaseOutside = function () {
if (pausePlay == 0) {
if (_root.guestBoyRedhead1Gift11SantaOrder == 1) {
_root.guestBoyRedhead1Gift11.stopDrag();
_root.guestBoyRedhead1Gift11.swapDepths(-1000);
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
if (_root.guestBoyRedhead1Gift11.hitTest(_root.santaClaus) & _root.santaOccupied == 0) {
_root.g = 1;
_root.santaOccupied = 1;
_root.player._x = 325.05;
_root.player._y = 232.1;
_root.santaClaus.gotoAndStop(1);
_root.guestBoyRedhead1Gift11GiftAction = 1;
_root.guestBoyRedhead1Gift11SantaOrder = 0;
_root.guestBoyRedhead1Gift11._x = 331.45;
_root.guestBoyRedhead1Gift11._y = 295.35;
_root.guestBoyRedhead1Gift11.gotoAndStop('waiting2');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
} else {
_root.guestBoyRedhead1Gift11._x = 154.8;
_root.guestBoyRedhead1Gift11._y = 189.2;
_root.guestBoyRedhead1Gift11.swapDepths(-1000);
}
}
}
};
_root.guestBoyRedhead1Gift11.onRelease = _root.guestBoyRedhead1Gift11.onReleaseOutside;
_root.guestBeanGift31Out = 0;
_root.guestBeanGift31SantaOrder = 0;
_root.guestBeanGift31.onPress = function () {
if (pausePlay == 0) {
if (_root.guestBeanGift31SantaOrder == 1) {
_root.guestBeanGift31.startDrag();
_root.guestBeanGift31.swapDepths(1000);
}
}
};
_root.guestBeanGift31.onReleaseOutside = function () {
if (pausePlay == 0) {
if (_root.guestBeanGift31SantaOrder == 1) {
_root.guestBeanGift31.stopDrag();
_root.guestBeanGift31.swapDepths(-1000);
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
if (_root.guestBeanGift31.hitTest(_root.santaClaus) & _root.santaOccupied == 0) {
_root.g = 3;
_root.santaOccupied = 1;
_root.player._x = 325.05;
_root.player._y = 232.1;
_root.santaClaus.gotoAndStop(1);
_root.guestBeanGift31GiftAction = 1;
_root.guestBeanGift31SantaOrder = 0;
_root.guestBeanGift31._x = 331.45;
_root.guestBeanGift31._y = 295.35;
_root.guestBeanGift31.gotoAndStop('waiting2');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
} else {
_root.guestBeanGift31._x = 224.9;
_root.guestBeanGift31._y = 161.9;
_root.guestBeanGift31.swapDepths(-1000);
}
}
}
};
_root.guestBeanGift31.onRelease = _root.guestBeanGift31.onReleaseOutside;
}
movieClip 229 {
}
instance of movieClip 229 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
movieClip 232 {
}
instance of movieClip 232 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
movieClip 235 {
}
movieClip 238 {
frame 1 {
stop();
var inGame1MusicSound = new Sound();
inGame1MusicSound.attachSound('In-game-music1.wav');
inGame1MusicSound.stop();
}
frame 2 {
stop();
var inGame1MusicSound = new Sound();
inGame1MusicSound.attachSound('In-game-music1.wav');
inGame1MusicSound.start(0, 99999);
}
}
movieClip 241 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 20 {
gotoAndStop(1);
}
}
movieClip 247 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 10 {
r = random(4);
if (r == 0) {
gotoAndPlay(15);
} else {
if (r == 1) {
gotoAndPlay(20);
} else {
gotoAndPlay(25);
}
}
}
frame 15 {
gotoAndStop(1);
}
frame 20 {
gotoAndStop(1);
}
frame 25 {
gotoAndStop(1);
}
}
movieClip 250 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 3 {
gotoAndStop(1);
}
}
movieClip 253 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 24 {
gotoAndStop(1);
}
}
button 256 {
on (release) {
if (pausePlay == 0 & _root.playerBusy == 0) {
if (_root.tutorialOn == 1 & _root.guestGirlBlonde1Gift11SantaOrder == 0) {
if (_root.playerGift == 0) {
_root.tutorialHolder.gotoAndStop(4);
_root.player._x = 325.05;
_root.player._y = 232.1;
_root.playerGift = 1;
_root.player.gotoAndStop('gift');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
}
}
if (_root.tutorialOn == 0) {
if (_root.playerGift == 0) {
_root.player._x = 325.05;
_root.player._y = 232.1;
_root.playerGift = 1;
_root.player.gotoAndStop('gift');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
} else {
if (_root.playerGift == 1) {
_root.player._x = 325.05;
_root.player._y = 232.1;
_root.playerGift = 0;
_root.player.gotoAndStop('idle2');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
}
}
}
}
}
}
movieClip 263 {
}
movieClip 269 {
}
movieClip 286 {
instance of movieClip 263 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 269 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
}
button 287 {
on (release) {
if (pausePlay == 0 & _root.playerBusy == 0 & _root.santaBusy == 0) {
if (_root.playerGift == 1) {
if (_root.g == 1 || _root.g == 2 || _root.g == 3) {
if (_root.tutorialOn == 1 & _root.guestGirlBlonde1Gift11GiftAction == 1) {
_root.tutorialHolder.gotoAndStop(1);
}
_root.santaBusy = 1;
_root.playerGift = 0;
_root.player.gotoAndStop('action');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
nextFrame();
}
}
}
}
}
movieClip 297 {
instance of movieClip 263 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 269 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 16 {
_root.tutorialOn = 0;
_root.tutorialHolder.gotoAndStop(1);
_root.g = 0;
_root.santaBusy = 0;
if (_root.guestGirlBlonde1Gift11GiftAction == 1) {
_root.guestGirlBlonde1Gift11GiftAction = 0;
_root.guestGirlBlonde1Gift11.gotoAndStop('happy');
}
if (_root.guestGirlBrunette1Gift11GiftAction == 1) {
_root.guestGirlBrunette1Gift11GiftAction = 0;
_root.guestGirlBrunette1Gift11.gotoAndStop('happy');
}
if (_root.guestGirlEbony1Gift11GiftAction == 1) {
_root.guestGirlEbony1Gift11GiftAction = 0;
_root.guestGirlEbony1Gift11.gotoAndStop('happy');
}
if (_root.guestBoyRedhead1Gift11GiftAction == 1) {
_root.guestBoyRedhead1Gift11GiftAction = 0;
_root.guestBoyRedhead1Gift11.gotoAndStop('happy');
}
_root.santaClaus.gotoAndStop(1);
}
}
movieClip 307 {
instance of movieClip 263 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 269 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 16 {
_root.g = 0;
_root.santaBusy = 0;
if (_root.guestBoyAsian1Gift21GiftAction == 1) {
_root.guestBoyAsian1Gift21GiftAction = 0;
_root.guestBoyAsian1Gift21.gotoAndStop('happy');
}
if (_root.guestGirlBrunette2Gift21GiftAction == 1) {
_root.guestGirlBrunette2Gift21GiftAction = 0;
_root.guestGirlBrunette2Gift21.gotoAndStop('happy');
}
_root.santaClaus.gotoAndStop(1);
}
}
movieClip 317 {
instance of movieClip 263 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 269 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 16 {
_root.g = 0;
_root.santaBusy = 0;
if (_root.guestGirlBlonde2Gift31GiftAction == 1) {
_root.guestGirlBlonde2Gift31GiftAction = 0;
_root.guestGirlBlonde2Gift31.gotoAndStop('happy');
}
if (_root.guestBoyBlonde1Gift31GiftAction == 1) {
_root.guestBoyBlonde1Gift31GiftAction = 0;
_root.guestBoyBlonde1Gift31.gotoAndStop('happy');
}
if (_root.guestBoyBrunette1Gift31GiftAction == 1) {
_root.guestBoyBrunette1Gift31GiftAction = 0;
_root.guestBoyBrunette1Gift31.gotoAndStop('happy');
}
if (_root.guestBeanGift31GiftAction == 1) {
_root.guestBeanGift31GiftAction = 0;
_root.guestBeanGift31.gotoAndStop('happy');
}
_root.santaClaus.gotoAndStop(1);
}
}
movieClip 318 {
frame 1 {
stop();
}
instance of movieClip 297 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 2 {
stop();
}
instance of movieClip 307 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
stop();
}
instance of movieClip 317 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 321 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 318 {
onClipEvent (enterFrame) {
if (_root.g == 1) {
gotoAndStop(1);
} else {
if (_root.g == 2) {
gotoAndStop(2);
} else {
if (_root.g == 3) {
gotoAndStop(3);
}
}
}
}
}
frame 3 {
stop();
}
instance of movieClip 269 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 342 {
instance of movieClip 133 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 137 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 353 {
frame 1 {
stop();
}
instance of movieClip 133 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 137 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 357 {
instance of movieClip 133 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 137 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 6 {
_root.playerBusy = 0;
_root.player.gotoAndStop('idle2');
}
}
movieClip 360 {
frame 1 {
stop();
}
instance of movieClip 154 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 2 {
stop();
}
instance of movieClip 342 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
stop();
}
instance of movieClip 353 {
onClipEvent (enterFrame) {
if (_root.g == 1) {
gotoAndStop(1);
} else {
if (_root.g == 2) {
gotoAndStop(2);
} else {
if (_root.g == 3) {
gotoAndStop(3);
}
}
}
}
}
frame 4 {
stop();
}
instance of movieClip 357 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 5 {
stop();
}
instance of movieClip 137 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 365 {
}
movieClip 370 {
}
movieClip 372 {
frame 50 {
if (soundFx == 1) {
_root.guestComeMusic.gotoAndStop(2);
}
_root.guestBoyAsian1Gift21SantaOrder = 1;
_root.guestBoyAsian1Gift21.gotoAndStop('waiting');
}
instance of movieClip 370 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 378 {
frame 640 {
_root.guestBoyAsian1Gift21.gotoAndStop('mad');
}
frame 950 {
_root.guestBoyAsian1Gift21SantaOrder = 0;
_root.guestBoyAsian1Gift21.gotoAndStop('leave');
}
}
movieClip 384 {
}
movieClip 386 {
}
movieClip 387 {
}
movieClip 392 {
frame 640 {
_root.guestBoyAsian1Gift21.gotoAndStop('mad2');
}
frame 950 {
_root.g = 0;
_root.santaOccupied = 0;
_root.guestBoyAsian1Gift21GiftOrder = 0;
_root.guestBoyAsian1Gift21.gotoAndStop('leave');
}
}
movieClip 400 {
instance of movieClip 370 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 36 {
_root.santaOccupied = 0;
_root.guestBoyAsian1Gift21.gotoAndStop('happyleave');
}
}
movieClip 404 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 372 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
stop();
}
instance of movieClip 370 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 378 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
instance of movieClip 370 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 392 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
_root.scoreTotal += 1;
_root.guestServed += 1;
trace('Guest Served: ' + _root.guestServed);
if (soundFx == 1) {
_root.cashierMusic.gotoAndStop(2);
}
}
instance of movieClip 400 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 10 {
stop();
_root.guestBoyAsian1Gift21._x = 151.95;
_root.guestBoyAsian1Gift21._y = 349.65;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
if (_root.houseClose == 0) {
_root.guestGirlBrunette1Gift11.gotoAndStop(2);
} else {
_root.guestCount -= 4;
}
}
instance of movieClip 370 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 11 {
stop();
_root.guestBoyAsian1Gift21._x = 220.45;
_root.guestBoyAsian1Gift21._y = 156.05;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
if (_root.houseClose == 0) {
_root.guestGirlBrunette1Gift11.gotoAndStop(2);
} else {
_root.guestCount -= 4;
}
}
}
movieClip 413 {
}
movieClip 415 {
frame 40 {
if (soundFx == 1) {
_root.guestComeMusic.gotoAndStop(2);
}
_root.guestGirlBrunette1Gift11SantaOrder = 1;
_root.guestGirlBrunette1Gift11.gotoAndStop('waiting');
}
}
movieClip 419 {
frame 640 {
_root.guestGirlBrunette1Gift11.gotoAndStop('mad');
}
frame 950 {
_root.guestGirlBrunette1Gift11SantaOrder = 0;
_root.guestGirlBrunette1Gift11.gotoAndStop('leave');
}
}
movieClip 425 {
frame 640 {
_root.guestGirlBrunette1Gift11.gotoAndStop('mad2');
}
frame 950 {
_root.g = 0;
_root.santaOccupied = 0;
_root.guestGirlBrunette1Gift11GiftOrder = 0;
_root.guestGirlBrunette1Gift11.gotoAndStop('leave');
}
}
movieClip 431 {
frame 36 {
_root.santaOccupied = 0;
_root.guestGirlBrunette1Gift11.gotoAndStop('happyleave');
}
}
movieClip 434 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 415 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
stop();
}
instance of movieClip 419 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
instance of movieClip 425 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
_root.scoreTotal += 1;
_root.guestServed += 1;
trace('Guest Served: ' + _root.guestServed);
if (soundFx == 1) {
_root.cashierMusic.gotoAndStop(2);
}
}
instance of movieClip 431 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 10 {
stop();
_root.guestGirlBrunette1Gift11._x = 215.95;
_root.guestGirlBrunette1Gift11._y = 361.1;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
if (_root.houseClose == 0) {
_root.guestGirlEbony1Gift11.gotoAndStop(2);
} else {
_root.guestCount -= 3;
}
}
frame 11 {
stop();
_root.guestGirlBrunette1Gift11._x = 227.45;
_root.guestGirlBrunette1Gift11._y = 160.9;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
if (_root.houseClose == 0) {
_root.guestGirlEbony1Gift11.gotoAndStop(2);
} else {
_root.guestCount -= 3;
}
}
}
movieClip 443 {
}
movieClip 445 {
frame 40 {
if (soundFx == 1) {
_root.guestComeMusic.gotoAndStop(2);
}
_root.guestGirlEbony1Gift11SantaOrder = 1;
_root.guestGirlEbony1Gift11.gotoAndStop('waiting');
}
}
movieClip 449 {
frame 640 {
_root.guestGirlEbony1Gift11.gotoAndStop('mad');
}
frame 950 {
_root.guestGirlEbony1Gift11SantaOrder = 0;
_root.guestGirlEbony1Gift11.gotoAndStop('leave');
}
}
movieClip 455 {
frame 640 {
_root.guestGirlEbony1Gift11.gotoAndStop('mad2');
}
frame 950 {
_root.g = 0;
_root.santaOccupied = 0;
_root.guestGirlEbony1Gift11GiftOrder = 0;
_root.guestGirlEbony1Gift11.gotoAndStop('leave');
}
}
movieClip 460 {
frame 36 {
_root.santaOccupied = 0;
_root.guestGirlEbony1Gift11.gotoAndStop('happyleave');
}
}
movieClip 462 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 445 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
stop();
}
instance of movieClip 449 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
instance of movieClip 455 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
_root.scoreTotal += 1;
_root.guestServed += 1;
trace('Guest Served: ' + _root.guestServed);
if (soundFx == 1) {
_root.cashierMusic.gotoAndStop(2);
}
}
instance of movieClip 460 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 10 {
stop();
_root.guestGirlEbony1Gift11._x = 477.45;
_root.guestGirlEbony1Gift11._y = 359.95;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
if (_root.guestGirlBrunette2Gift21Out == 0) {
if (_root.houseClose == 0) {
_root.guestGirlBrunette2Gift21Out = 1;
_root.guestGirlBrunette2Gift21.gotoAndStop(2);
} else {
_root.guestCount -= 2;
}
}
}
frame 11 {
stop();
_root.guestGirlEbony1Gift11._x = 221.5;
_root.guestGirlEbony1Gift11._y = 158.35;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
if (_root.guestGirlBrunette2Gift21Out == 0) {
if (_root.houseClose == 0) {
_root.guestGirlBrunette2Gift21Out = 1;
_root.guestGirlBrunette2Gift21.gotoAndStop(2);
} else {
_root.guestCount -= 2;
}
}
}
}
movieClip 471 {
}
movieClip 473 {
frame 40 {
if (soundFx == 1) {
_root.guestComeMusic.gotoAndStop(2);
}
_root.guestGirlBrunette2Gift21SantaOrder = 1;
_root.guestGirlBrunette2Gift21.gotoAndStop('waiting');
}
}
movieClip 477 {
frame 640 {
_root.guestGirlBrunette2Gift21.gotoAndStop('mad');
}
frame 950 {
_root.guestGirlBrunette2Gift21SantaOrder = 0;
_root.guestGirlBrunette2Gift21.gotoAndStop('leave');
}
}
movieClip 483 {
frame 640 {
_root.guestGirlBrunette2Gift21.gotoAndStop('mad2');
}
frame 950 {
_root.g = 0;
_root.santaOccupied = 0;
_root.guestGirlBrunette2Gift21GiftOrder = 0;
_root.guestGirlBrunette2Gift21.gotoAndStop('leave');
}
}
movieClip 489 {
frame 36 {
_root.santaOccupied = 0;
_root.guestGirlBrunette2Gift21.gotoAndStop('happyleave');
}
}
movieClip 492 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 473 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
stop();
}
instance of movieClip 477 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
instance of movieClip 483 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
_root.scoreTotal += 1;
_root.guestServed += 1;
trace('Guest Served: ' + _root.guestServed);
if (soundFx == 1) {
_root.cashierMusic.gotoAndStop(2);
}
}
instance of movieClip 489 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 10 {
stop();
_root.guestGirlBrunette2Gift21._x = 577.15;
_root.guestGirlBrunette2Gift21._y = 358.35;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
if (_root.guestBeanGift31Out == 0) {
if (_root.houseClose == 0) {
_root.guestBeanGift31Out = 1;
_root.guestBeanGift31.gotoAndStop(2);
} else {
_root.guestCount -= 1;
}
}
}
frame 11 {
stop();
_root.guestGirlBrunette2Gift21._x = 222;
_root.guestGirlBrunette2Gift21._y = 163.3;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
if (_root.guestBeanGift31Out == 0) {
if (_root.houseClose == 0) {
_root.guestBeanGift31Out = 1;
_root.guestBeanGift31.gotoAndStop(2);
} else {
_root.guestCount -= 1;
}
}
}
}
movieClip 497 {
}
movieClip 499 {
frame 60 {
if (soundFx == 1) {
_root.guestComeMusic.gotoAndStop(2);
}
_root.guestBeanGift31SantaOrder = 1;
_root.guestBeanGift31.gotoAndStop('waiting');
}
}
movieClip 503 {
frame 640 {
_root.guestBeanGift31.gotoAndStop('mad');
}
frame 950 {
_root.guestBeanGift31SantaOrder = 0;
_root.guestBeanGift31.gotoAndStop('leave');
}
}
movieClip 512 {
}
movieClip 516 {
frame 640 {
_root.guestBeanGift31.gotoAndStop('mad2');
}
frame 950 {
_root.g = 0;
_root.santaOccupied = 0;
_root.guestBeanGift31GiftOrder = 0;
_root.guestBeanGift31.gotoAndStop('leave');
}
}
movieClip 522 {
frame 36 {
_root.santaOccupied = 0;
_root.guestBeanGift31.gotoAndStop('happyleave');
}
}
movieClip 524 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 499 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
stop();
}
instance of movieClip 503 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
instance of movieClip 516 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
_root.scoreTotal += 1;
_root.guestServed += 1;
trace('Guest Served: ' + _root.guestServed);
if (soundFx == 1) {
_root.cashierMusic.gotoAndStop(2);
}
}
instance of movieClip 522 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 10 {
stop();
_root.guestBeanGift31._x = 417.65;
_root.guestBeanGift31._y = 385.5;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
}
frame 11 {
stop();
_root.guestBeanGift31._x = 224.9;
_root.guestBeanGift31._y = 161.9;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
}
}
movieClip 533 {
}
movieClip 535 {
frame 24 {
if (soundFx == 1) {
_root.guestComeMusic.gotoAndStop(2);
}
_root.tutorialHolder.gotoAndStop(2);
_root.guestGirlBlonde1Gift11SantaOrder = 1;
_root.guestGirlBlonde1Gift11.gotoAndStop('waiting');
}
}
movieClip 539 {
frame 640 {
_root.guestGirlBlonde1Gift11.gotoAndStop('mad');
}
frame 950 {
_root.tutorialOn = 0;
_root.tutorialHolder.gotoAndStop(1);
_root.guestGirlBlonde1Gift11SantaOrder = 0;
_root.guestGirlBlonde1Gift11.gotoAndStop('leave');
}
}
movieClip 545 {
frame 640 {
_root.guestGirlBlonde1Gift11.gotoAndStop('mad2');
}
frame 950 {
_root.tutorialOn = 0;
_root.tutorialHolder.gotoAndStop(1);
_root.g = 0;
_root.santaOccupied = 0;
_root.guestGirlBlonde1Gift11GiftAction = 0;
_root.guestGirlBlonde1Gift11.gotoAndStop('leave');
}
}
movieClip 550 {
frame 36 {
_root.santaOccupied = 0;
_root.guestGirlBlonde1Gift11.gotoAndStop('happyleave');
}
}
movieClip 552 {
frame 1 {
stop();
}
instance of movieClip 535 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 2 {
stop();
}
instance of movieClip 539 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
instance of movieClip 545 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
_root.scoreTotal += 1;
_root.guestServed += 1;
trace('Guest Served: ' + _root.guestServed);
if (soundFx == 1) {
_root.cashierMusic.gotoAndStop(2);
}
_root.tutorialHolder.gotoAndStop(5);
}
instance of movieClip 550 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 9 {
stop();
_root.guestGirlBlonde1Gift11._x = 57.55;
_root.guestGirlBlonde1Gift11._y = 367.45;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
if (_root.houseClose == 0) {
_root.guestBoyAsian1Gift21.gotoAndStop(2);
_root.guestGirlBlonde2Gift31.gotoAndStop(2);
} else {
_root.guestCount -= 9;
}
}
frame 10 {
stop();
_root.guestGirlBlonde1Gift11._x = 157.45;
_root.guestGirlBlonde1Gift11._y = 192.1;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
if (_root.houseClose == 0) {
_root.guestBoyAsian1Gift21.gotoAndStop(2);
_root.guestGirlBlonde2Gift31.gotoAndStop(2);
} else {
_root.guestCount -= 9;
}
}
}
movieClip 561 {
}
movieClip 563 {
frame 80 {
if (soundFx == 1) {
_root.guestComeMusic.gotoAndStop(2);
}
_root.guestGirlBlonde2Gift31SantaOrder = 1;
_root.guestGirlBlonde2Gift31.gotoAndStop('waiting');
}
}
movieClip 566 {
frame 640 {
_root.guestGirlBlonde2Gift31.gotoAndStop('mad');
}
frame 950 {
_root.guestGirlBlonde2Gift31SantaOrder = 0;
_root.guestGirlBlonde2Gift31.gotoAndStop('leave');
}
}
movieClip 571 {
frame 640 {
_root.guestGirlBlonde2Gift31.gotoAndStop('mad2');
}
frame 950 {
_root.g = 0;
_root.santaOccupied = 0;
_root.guestBoyBlonde1Gift31GiftOrder = 0;
_root.guestGirlBlonde2Gift31.gotoAndStop('leave');
}
}
movieClip 577 {
frame 36 {
_root.santaOccupied = 0;
_root.guestGirlBlonde2Gift31.gotoAndStop('happyleave');
}
}
movieClip 580 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 563 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
stop();
}
instance of movieClip 566 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
instance of movieClip 571 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
_root.scoreTotal += 1;
_root.guestServed += 1;
trace('Guest Served: ' + _root.guestServed);
if (soundFx == 1) {
_root.cashierMusic.gotoAndStop(2);
}
}
instance of movieClip 577 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 10 {
stop();
_root.guestGirlBlonde2Gift31._x = 102.2;
_root.guestGirlBlonde2Gift31._y = 382.8;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
if (_root.houseClose == 0) {
_root.guestBoyBlonde1Gift31.gotoAndStop(2);
} else {
_root.guestCount -= 3;
}
}
frame 11 {
stop();
_root.guestGirlBlonde2Gift31._x = 160.4;
_root.guestGirlBlonde2Gift31._y = 188.05;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
if (_root.houseClose == 0) {
_root.guestBoyBlonde1Gift31.gotoAndStop(2);
} else {
_root.guestCount -= 3;
}
}
}
movieClip 584 {
}
movieClip 586 {
frame 40 {
if (soundFx == 1) {
_root.guestComeMusic.gotoAndStop(2);
}
_root.guestBoyBlonde1Gift31SantaOrder = 1;
_root.guestBoyBlonde1Gift31.gotoAndStop('waiting');
}
}
movieClip 590 {
frame 640 {
_root.guestBoyBlonde1Gift31.gotoAndStop('mad');
}
frame 950 {
_root.guestBoyBlonde1Gift31SantaOrder = 0;
_root.guestBoyBlonde1Gift31.gotoAndStop('leave');
}
}
movieClip 596 {
frame 640 {
_root.guestBoyBlonde1Gift31.gotoAndStop('mad2');
}
frame 950 {
_root.g = 0;
_root.santaOccupied = 0;
_root.guestBoyBlonde1Gift31GiftOrder = 0;
_root.guestBoyBlonde1Gift31.gotoAndStop('leave');
}
}
movieClip 602 {
frame 36 {
_root.santaOccupied = 0;
_root.guestBoyBlonde1Gift31.gotoAndStop('happyleave');
}
}
movieClip 605 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 586 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
stop();
}
instance of movieClip 590 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
instance of movieClip 596 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
_root.scoreTotal += 1;
_root.guestServed += 1;
trace('Guest Served: ' + _root.guestServed);
if (soundFx == 1) {
_root.cashierMusic.gotoAndStop(2);
}
}
instance of movieClip 602 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 10 {
stop();
_root.guestBoyBlonde1Gift31._x = 258.4;
_root.guestBoyBlonde1Gift31._y = 386.4;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
if (_root.guestBoyBrunette1Gift31Out == 0) {
if (_root.houseClose == 0) {
_root.guestBoyBrunette1Gift31Out = 1;
_root.guestBoyBrunette1Gift31.gotoAndStop(2);
} else {
_root.guestCount -= 2;
}
}
}
frame 11 {
stop();
_root.guestBoyBlonde1Gift31._x = 159;
_root.guestBoyBlonde1Gift31._y = 187.7;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
if (_root.guestBoyBrunette1Gift31Out == 0) {
if (_root.houseClose == 0) {
_root.guestBoyBrunette1Gift31Out = 1;
_root.guestBoyBrunette1Gift31.gotoAndStop(2);
} else {
_root.guestCount -= 2;
}
}
}
}
movieClip 608 {
}
movieClip 610 {
frame 40 {
if (soundFx == 1) {
_root.guestComeMusic.gotoAndStop(2);
}
_root.guestBoyBrunette1Gift31SantaOrder = 1;
_root.guestBoyBrunette1Gift31.gotoAndStop('waiting');
}
}
movieClip 614 {
frame 640 {
_root.guestBoyBrunette1Gift31.gotoAndStop('mad');
}
frame 950 {
_root.guestBoyBrunette1Gift31SantaOrder = 0;
_root.guestBoyBrunette1Gift31.gotoAndStop('leave');
}
}
movieClip 620 {
frame 640 {
_root.guestBoyBrunette1Gift31.gotoAndStop('mad2');
}
frame 950 {
_root.g = 0;
_root.santaOccupied = 0;
_root.guestBoyBrunette1Gift31GiftOrder = 0;
_root.guestBoyBrunette1Gift31.gotoAndStop('leave');
}
}
movieClip 626 {
frame 36 {
_root.santaOccupied = 0;
_root.guestBoyBrunette1Gift31.gotoAndStop('happyleave');
}
}
movieClip 629 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 610 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
stop();
}
instance of movieClip 614 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
instance of movieClip 620 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
_root.scoreTotal += 1;
_root.guestServed += 1;
trace('Guest Served: ' + _root.guestServed);
if (soundFx == 1) {
_root.cashierMusic.gotoAndStop(2);
}
}
instance of movieClip 626 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 10 {
stop();
_root.guestBoyBrunette1Gift31._x = 533.25;
_root.guestBoyBrunette1Gift31._y = 394.1;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
if (_root.guestBoyRedhead1Gift11Out == 0) {
if (_root.houseClose == 0) {
_root.guestBoyRedhead1Gift11Out = 1;
_root.guestBoyRedhead1Gift11.gotoAndStop(2);
} else {
_root.guestCount -= 1;
}
}
}
frame 11 {
stop();
_root.guestBoyBrunette1Gift31._x = 158.4;
_root.guestBoyBrunette1Gift31._y = 191.95;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
if (_root.guestBoyRedhead1Gift11Out == 0) {
if (_root.houseClose == 0) {
_root.guestBoyRedhead1Gift11Out = 1;
_root.guestBoyRedhead1Gift11.gotoAndStop(2);
} else {
_root.guestCount -= 1;
}
}
}
}
movieClip 635 {
}
movieClip 636 {
frame 40 {
if (soundFx == 1) {
_root.guestComeMusic.gotoAndStop(2);
}
_root.guestBoyRedhead1Gift11SantaOrder = 1;
_root.guestBoyRedhead1Gift11.gotoAndStop('waiting');
}
instance of movieClip 635 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 646 {
instance of movieClip 635 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 647 {
frame 640 {
_root.guestBoyRedhead1Gift11.gotoAndStop('mad');
}
frame 950 {
_root.guestBoyRedhead1Gift11SantaOrder = 0;
_root.guestBoyRedhead1Gift11.gotoAndStop('leave');
}
}
movieClip 650 {
frame 640 {
_root.guestBoyRedhead1Gift11.gotoAndStop('mad2');
}
frame 950 {
_root.g = 0;
_root.santaOccupied = 0;
_root.guestBoyRedhead1Gift11GiftOrder = 0;
_root.guestBoyRedhead1Gift11.gotoAndStop('leave');
}
}
movieClip 655 {
instance of movieClip 635 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 36 {
_root.santaOccupied = 0;
_root.guestBoyRedhead1Gift11.gotoAndStop('happyleave');
}
}
movieClip 658 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 636 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
stop();
}
instance of movieClip 646 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 647 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 4 {
stop();
}
instance of movieClip 635 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 5 {
stop();
}
frame 6 {
stop();
}
instance of movieClip 646 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 650 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 7 {
stop();
}
instance of movieClip 635 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 8 {
stop();
}
frame 9 {
stop();
_root.scoreTotal += 1;
_root.guestServed += 1;
trace('Guest Served: ' + _root.guestServed);
if (soundFx == 1) {
_root.cashierMusic.gotoAndStop(2);
}
}
instance of movieClip 655 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 10 {
stop();
_root.guestBoyRedhead1Gift11._x = 631.4500000000001;
_root.guestBoyRedhead1Gift11._y = 378.85;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
}
instance of movieClip 635 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 11 {
stop();
_root.guestBoyRedhead1Gift11._x = 154.8;
_root.guestBoyRedhead1Gift11._y = 189.2;
_root.guestCount -= 1;
trace('Guest Count: ' + _root.guestCount);
}
}
movieClip 660 {
}
movieClip 663 {
}
// unknown tag 88 length 11
movieClip 668 {
}
movieClip 672 {
}
movieClip 676 {
}
movieClip 678 {
frame 34 {
_root.tutorialHolder.gotoAndStop(1);
}
}
movieClip 679 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 663 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 684 {
}
movieClip 685 {
}
movieClip 687 {
}
movieClip 688 {
}
movieClip 691 {
}
movieClip 693 {
}
movieClip 694 {
frame 1199 {
_root.houseClose = 1;
_root.clock.gotoAndStop(2);
}
}
movieClip 696 {
frame 1 {
stop();
}
instance of movieClip 694 {
onClipEvent (enterFrame) {
if (pausePlay == 1) {
this.stop();
} else {
this.play();
}
}
}
frame 2 {
stop();
trace('Guest: ' + _root.guestCount);
}
}
movieClip 698 {
}
button 699 {
on (release) {
if (pausePlay == 0) {
_global.pausePlay = 1;
_root.scoreTotalText._x = 648.9;
_root.scoreTotalText._y = -45.1;
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
_root.pauseScreen.gotoAndStop(2);
nextFrame();
}
}
}
movieClip 700 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 702 {
frame 32 {
_global.pausePlay = 0;
_root.houseClose = 0;
_root.pauseOption.gotoAndStop(1);
_root.dayScreen.gotoAndStop(1);
}
}
movieClip 705 {
}
// unknown tag 88 length 129
movieClip 710 {
frame 1 {
stop();
}
frame 2 {
stop();
_root.dayScreen.goal = 5;
}
}
movieClip 711 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance goodJobScreen of movieClip 711 {
onClipEvent (enterFrame) {
if (_root.houseClose == 1 & _root.guestCount == 0) {
_root.inGameMusic1.gotoAndStop(1);
if (_root.scoreTotal >= 5) {
_parent.gotoAndStop('win');
}
}
}
}
movieClip 713 {
frame 1 {
stop();
}
frame 2 {
_parent.gotoAndStop('gameOver');
gotoAndStop(1);
}
}
instance gameOverScreen of movieClip 713 {
onClipEvent (enterFrame) {
if (_root.houseClose == 1 & _root.guestCount == 0) {
_root.inGameMusic1.gotoAndStop(1);
if (_root.scoreTotal < 5) {
_parent.gotoAndStop('gameOver');
}
}
}
}
button 717 {
on (release) {
_root.scoreTotalText._x = 648.9;
_root.scoreTotalText._y = 45.1;
if (_root.popupCredits == 0) {
_global.pausePlay = 0;
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
_root.pauseOption.gotoAndStop(1);
gotoAndStop(1);
}
}
}
button 718 {
on (release) {
if (_root.popupCredits == 0) {
_root.popupCredits = 1;
_root.creditsScreen.gotoAndStop(2);
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
gotoAndStop(1);
}
}
}
movieClip 720 {
}
button 721 {
on (release) {
if (_root.popupCredits == 0) {
_root.scoreTotalText._x = 648.9;
_root.scoreTotalText._y = -45.1;
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
_root.inGameMusic1.gotoAndStop(1);
_parent.gotoAndStop('menu');
gotoAndStop(1);
}
}
}
button 722 {
on (release) {
if (_root.popupCredits == 0) {
getURL('http://www.girlgamesnow.com', '_blank');
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
}
}
}
movieClip 723 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance pauseScreen of movieClip 723 {
onClipEvent (enterFrame) {
if (pausePlay == 1 & _root.popupCredits == 0) {
this.swapDepths(1000);
} else {
if (pausePlay == 1 & _root.popupCredits == 1) {
this.swapDepths(-1000);
}
}
}
}
button 726 {
on (release) {
_root.scoreTotalText._x = 648.9;
_root.scoreTotalText._y = 45.1;
_global.pausePlay = 0;
_root.popupCredits = 0;
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
_root.pauseOption.gotoAndStop(1);
gotoAndStop(1);
}
}
button 727 {
on (release) {
_root.scoreTotalText._x = 648.9;
_root.scoreTotalText._y = -45.1;
_root.popupCredits = 0;
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
_root.inGameMusic1.gotoAndStop(1);
_parent.gotoAndStop('menu');
gotoAndStop(1);
}
}
movieClip 728 {
}
movieClip 729 {
frame 8 {
stop();
}
}
movieClip 730 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance creditsScreen of movieClip 730 {
onClipEvent (enterFrame) {
if (pausePlay == 1 & _root.popupCredits == 1) {
this.swapDepths(1000);
} else {
if (pausePlay == 1 & _root.popupCredits == 0) {
this.swapDepths(-1000);
}
}
}
}
movieClip 732 {
}
movieClip 733 {
}
movieClip 735 {
}
movieClip 736 {
frame 36 {
stop();
}
}
movieClip 737 {
frame 2 {
if (soundFx == 1) {
_root.blinkMusic.gotoAndStop(2);
}
}
frame 36 {
stop();
}
}
movieClip 738 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance goalReached of movieClip 738 {
onClipEvent (enterFrame) {
if (_root.scoreTotal >= 5) {
this.gotoAndStop(2);
}
}
}
button 739 {
on (release) {
if (music == 1) {
_global.music = 0;
_root.inGameMusic1.gotoAndStop(1);
_root.etcMusic.gotoAndStop(1);
_root.nextLevelMusic.gotoAndStop(1);
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
}
nextFrame();
}
}
button 740 {
on (release) {
if (music == 0) {
_global.music = 1;
if (_root.levelScreenIn == 1) {
_root.etcMusic.gotoAndStop(2);
} else {
if (_root.levelScreenIn == 0) {
if (_root.goodjobScreenIn == 0) {
_root.inGameMusic1.gotoAndStop(2);
} else {
if (_root.goodjobScreenIn == 1) {
_root.nextLevelMusic.gotoAndStop(30);
}
}
}
}
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
}
prevFrame();
}
}
movieClip 741 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance musicOption of movieClip 741 {
onClipEvent (enterFrame) {
if (music == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
frame 5 {
stop();
_global.pausePlay = 1;
_root.goodjobScreenIn = 1;
_root.houseClose = 0;
_root.pauseOption.gotoAndStop(2);
_root.clock.gotoAndStop(1);
_root.player._x = 290.85;
_root.player._y = 330.05;
_root.player.gotoAndStop('win');
_root.santaClaus._x = 366.7;
_root.santaClaus._y = 327.7;
_root.santaClaus.gotoAndStop('win');
_root.playerBusy = 0;
_root.playerGift = 0;
_root.handfull = 0;
_root.santaBusy = 0;
_root.santaOccupied = 0;
_root.g = 0;
if (music == 1) {
_root.winMusic.gotoAndStop(2);
}
trace('Score: ' + _root.scoreTotal);
trace('Day: ' + _root.date);
trace('Guest Served: ' + _root.guestServed);
}
movieClip 744 {
frame 1 {
stop();
var bonusSound = new Sound();
bonusSound.attachSound('effect3.mp3');
bonusSound.stop();
}
frame 2 {
play();
}
frame 3 {
var bonusSound = new Sound();
bonusSound.attachSound('Bonus1.wav');
bonusSound.start(0, 1);
}
frame 25 {
_root.woohooMusic.gotoAndStop(2);
}
frame 30 {
stop();
if (music == 1) {
_root.titleMusic.gotoAndStop(2);
}
}
}
movieClip 746 {
}
movieClip 747 {
}
movieClip 748 {
frame 30 {
stop();
}
}
movieClip 773 {
}
movieClip 775 {
}
button 776 {
on (release) {
_root.scoreTotalText._x = 648.9;
_root.scoreTotalText._y = -45.1;
_root.goodjobScreenIn = 0;
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
gotoAndStop('menu');
}
}
button 777 {
on (press) {
if (music == 1) {
_global.music = 0;
_root.winMusic.gotoAndStop(1);
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
}
nextFrame();
}
}
button 778 {
on (press) {
if (music == 0) {
_global.music = 1;
_root.titleMusic.gotoAndStop(2);
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
}
prevFrame();
}
}
movieClip 779 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance musicOption of movieClip 779 {
onClipEvent (enterFrame) {
if (music == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
frame 6 {
stop();
_global.pausePlay = 1;
_root.scoreTotalText._x = 410.55;
_root.scoreTotalText._y = 239.25;
_root.houseClose = 0;
_root.pauseOption.gotoAndStop(2);
_root.playerBusy = 0;
_root.playerGift = 0;
_root.handfull = 0;
_root.santaBusy = 0;
_root.santaOccupied = 0;
_root.g = 0;
_root.santaClaus.gotoAndStop(1);
if (music == 1) {
_root.loseMusic.gotoAndStop(2);
}
trace('Score: ' + _root.scoreTotal);
trace('Day: ' + _root.date);
trace('Guest Served: ' + _root.guestServed);
_root.goal = 5;
}
movieClip 783 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 110 {
gotoAndStop(1);
}
}
movieClip 785 {
frame 1 {
stop();
var etcMusicSound = new Sound();
etcMusicSound.attachSound('etc-music.wav');
etcMusicSound.stop();
}
frame 2 {
stop();
var etcMusicSound = new Sound();
etcMusicSound.attachSound('etc-music.wav');
etcMusicSound.start(0, 99999);
}
}
instance etcMusic of movieClip 785 {
onClipEvent (enterFrame) {
if (music == 0) {
this.gotoAndStop(1);
}
}
}
movieClip 788 {
}
movieClip 790 {
}
movieClip 797 {
}
button 798 {
on (release) {
_root.scoreTotalText._x = 648.9;
_root.scoreTotalText._y = 45.1;
if (music == 1) {
_root.etcMusic.gotoAndStop(2);
}
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
_root.loseMusic.gotoAndStop(1);
gotoAndStop('playLevel1');
}
}
button 799 {
on (release) {
_root.scoreTotalText._x = 648.9;
_root.scoreTotalText._y = -45.1;
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
gotoAndStop('menu');
}
}
button 800 {
on (press) {
if (music == 1) {
_global.music = 0;
_root.loseMusic.gotoAndStop(1);
_root.etcMusic.gotoAndStop(1);
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
}
nextFrame();
}
}
button 801 {
on (press) {
if (music == 0) {
_global.music = 1;
if (soundFx == 1) {
_root.clickMusic.gotoAndStop(2);
}
}
prevFrame();
}
}
movieClip 802 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance musicOption of movieClip 802 {
onClipEvent (enterFrame) {
if (music == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}