Combined Code
frame 1 {
function rightclick() {}
function deadClick() {}
function gotoMySite() {
getURL('http://www.johnnyvanda.deviantart.com', '_top');
}
function gotoMySite2() {
getURL('http://www.ravenpuff.deviantart.com', '_top');
}
_root.restartGame = function () {
clicked = false;
score = 0;
talkedToTwilight = false;
talkedToPinkie = false;
talkedToRarity = false;
talkedToPuffy = false;
twilightDoorUnlocked = false;
rarityGameWon = false;
pinkieGameWon = false;
talkedToApplejack = false;
playedMayorIntro = false;
playerGender = 2;
rarityDidYourMane = false;
applejackChallenged = false;
boulderMoved = false;
shopCleared = false;
gotRarityMedal = 0;
gotPinkieMedal = 0;
gotBook = false;
loadBook = false;
menuAlive = true;
itemNum = 100;
i = 0;
while (i < itemNum) {
_root['item' + i + 'Bought'] = false;
++i;
}
item6Bought = true;
item9Bought = true;
wentToShop = false;
friendshipPoints = 0;
medalNumber = 2;
memory = 1;
medalColor = 0;
sound = 1;
_root.masterSound = new Sound();
_root.masterSound.setVolume(100);
_root.gotPinkieCrystalMedal = false;
_root.gotPinkieGoldMedal = false;
_root.gotPinkieSilverMedal = false;
_root.gotPinkieBronzeMedal = false;
_root.gotRarityCrystalMedal = false;
_root.gotRarityGoldMedal = false;
_root.gotRaritySilverMedal = false;
_root.gotRarityBronzeMedal = false;
quitGame = false;
currentGame = 0;
gameAlive = true;
totalComplete = 0;
};
restartGame();
var allsound = new Sound(this);
_focusrect = false;
Stage.scaleMode = 'noScale';
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem('Made By Johnny Vanda', rightclick);
MENU.customItems.push(Functioned);
_root.menu = MENU;
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var copyrightNotice = new ContextMenuItem('© 2013 Johnny Vanda', deadClick);
copyrightNotice.separatorBefore = true;
var copyrightNotice2 = new ContextMenuItem('And Ravenpuff', deadClick);
var mySiteLink = new ContextMenuItem('Johnny Vanda\'s Gallery', gotoMySite);
var mySiteLink2 = new ContextMenuItem('Ravenpuff\'s Gallery', gotoMySite2);
myMenu.customItems.push(mySiteLink, mySiteLink2, copyrightNotice, copyrightNotice2);
_root.menu = myMenu;
onEnterFrame = function () {
bytesLoaded = _root.getBytesLoaded();
bytesTotal = _root.getBytesTotal();
totalLoaded = Math.floor((bytesLoaded / bytesTotal) * 100);
loadingBar.gotoAndStop(totalLoaded + 1);
totalText.text = 'Loading... ' + totalLoaded + '%';
if (bytesLoaded == bytesTotal) {
_root.gotoAndStop('2');
totalLoaded = 0;
}
};
stop();
}
movieClip 13 {
}
movieClip 16 {
}
movieClip 18 {
}
movieClip 28 {
}
// unknown tag 88 length 192
frame 2 {
stop();
}
movieClip 34 {
}
// unknown tag 88 length 64
button 42 {
on (release) {
if (_root.gameAlive == true) {
_root.game.intro.gotoAndPlay('2');
_root.gameAlive = false;
}
}
}
movieClip 47 {
}
movieClip 50 {
}
movieClip 53 {
}
movieClip 56 {
}
movieClip 57 {
frame 1 {
this.gotoAndStop(_parent.medalNumber);
stop();
}
}
movieClip 94 {
instance of movieClip 57 {
onClipEvent (load) {
if (_root.rarityGameWon == true) {
this.gotoAndStop('1');
} else {
if (_root.pinkieGameWon == true) {
this.gotoAndStop('2');
} else {
if (_root.twilightGameWon == true) {
this.gotoAndStop('3');
} else {
if (_root.celestiaGameWon == true) {
this.gotoAndStop('4');
}
}
}
}
}
}
}
movieClip 97 {
}
movieClip 100 {
frame 1 {
stop();
}
instance rarityMedal of movieClip 94 {
onClipEvent (load) {
this.stop();
this.medalNumber = 1;
}
}
instance rarityMedal of movieClip 94 {
onClipEvent (load) {
this.medalNumber = 3;
this.stop();
}
}
instance rarityMedal of movieClip 94 {
onClipEvent (load) {
this.medalNumber = 2;
this.stop();
}
}
instance rarityMedal of movieClip 94 {
onClipEvent (load) {
this.stop();
this.medalNumber = 4;
}
}
instance rarityMedal of movieClip 94 {
onClipEvent (load) {
this.medalNumber = 4;
}
}
instance rarityMedal of movieClip 94 {
onClipEvent (load) {
this.medalNumber = 3;
}
}
instance rarityMedal of movieClip 94 {
onClipEvent (load) {
this.medalNumber = 2;
}
}
instance rarityMedal of movieClip 94 {
onClipEvent (load) {
this.medalNumber = 1;
}
}
frame 52 {
_root.gameAlive = true;
_root.game.startedIntro = false;
_root.game.gotoAndStop('2');
stop();
}
}
movieClip 102 {
frame 564 {
this.gotoAndPlay('149');
}
}
movieClip 104 {
}
movieClip 105 {
frame 1 {
stop();
}
frame 2 {
_root.gameAlive = false;
}
frame 5 {
_root.game.gotoAndStop(_root.room);
_root.gameAlive = false;
}
frame 6 {
_root.gameAlive = false;
}
frame 9 {
_root.gameAlive = true;
}
}
movieClip 126 {
}
button 130 {
on (release) {
if (_root.gameAlive == true) {
_root.game.blurMe.gotoAndPlay('2');
_root.room = 1;
}
}
}
button 131 {
on (release) {
if (_root.gameAlive == true) {
_root.game.blurMe.gotoAndPlay('2');
_root.room = 7;
}
}
}
movieClip 132 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 11 {
stop();
}
}
movieClip 139 {
frame 1 {
stop();
}
instance of movieClip 132 {
onClipEvent (release) {
_root.game.intro.gotoAndStop('48');
}
}
frame 47 {
stop();
}
frame 48 {
stop();
}
instance introScroll of movieClip 132 {
onClipEvent (load) {
this.gotoAndPlay('2');
}
}
}
movieClip 143 {
}
movieClip 144 {
frame 1 {
stop();
}
}
movieClip 147 {
}
movieClip 148 {
frame 1 {
stop();
}
}
button 152 {
on (release) {
if (_root.gameAlive == true) {
_root.game.blurMe.gotoAndPlay('2');
_root.room = 8;
}
}
}
movieClip 154 {
}
movieClip 159 {
}
movieClip 162 {
}
movieClip 165 {
frame 8 {
this.gotoAndPlay('1');
}
frame 9 {
stop();
}
}
button 166 {
on (release) {
if (_root.gameAlive == true) {
if (_root.soundTestPlay == false) {
_root.stopMusic = true;
}
_root.game.blurMe.gotoAndPlay('2');
_root.room = 9;
}
}
}
movieClip 171 {
frame 1 {
stop();
}
}
movieClip 179 {
frame 38 {
stop();
}
}
movieClip 191 {
frame 1 {
stop();
}
}
movieClip 216 {
frame 1 {
stop();
}
}
movieClip 221 {
frame 1 {
thisFrame = 2;
stop();
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
frame 11 {
_root.playedMayorIntro = true;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 12 {
thisFrame = 13;
_root.game.mayor._alpha = 0;
stop();
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 13 {
stop();
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 22 {
thisFrame = 23;
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 23 {
_root.game.mayor._alpha = 0;
}
instance of movieClip 216 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 27 {
_root.game.mayor._alpha = 0;
thisFrame = 28;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 100 {
_root.gameAlive = true;
_root.game.mayor._alpha = 100;
}
frame 101 {
stop();
}
}
movieClip 228 {
frame 8 {
this.gotoAndPlay('1');
}
frame 9 {
stop();
}
}
movieClip 258 {
frame 1 {
stop();
}
instance rarityMedal of movieClip 94 {
onClipEvent (load) {
if (_root.medalsStop == true) {
this.gotoAndStop('1');
}
this.medalNumber = 1;
if (_root.gotRarityMedal == 0) {
this.medalColor = 0;
this._alpha = 25;
this.gotoAndStop('1');
} else {
if (_root.gotRarityMedal == 1) {
this.medalColor = 1;
} else {
if (_root.gotRarityMedal == 2) {
this.medalColor = 2;
} else {
if (_root.gotRarityMedal == 3) {
this.medalColor = 3;
} else {
if (_root.gotRarityMedal == 4) {
this.medalColor = 4;
} else {
if (_root.gotRarityMedal == 5) {
this.medalColor = 5;
}
}
}
}
}
}
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform = {'rb': -255, 'gb': -255, 'bb': -255};
if (this.medalColor == 1) {
myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0};
} else {
if (this.medalColor == 2) {
myColorTransform = {'rb': 0, 'gb': -70, 'bb': -255};
} else {
if (this.medalColor == 3) {
myColorTransform = {'rb': -50, 'gb': -50, 'bb': -50};
} else {
if (this.medalColor == 4) {
myColorTransform = {'rb': 0, 'gb': 0, 'bb': -255};
} else {
if (this.medalColor == 5) {
myColorTransform = {'rb': 25, 'gb': 25, 'bb': 25, 'aa': 50};
}
}
}
}
}
myColor.setTransform(myColorTransform);
}
}
instance pinkieMedal of movieClip 94 {
onClipEvent (load) {
if (_root.medalsStop == true) {
this.gotoAndStop('1');
}
this.medalNumber = 2;
if (_root.gotPinkieMedal == 0) {
this.medalColor = 0;
this._alpha = 25;
this.gotoAndStop('1');
} else {
if (_root.gotPinkieMedal == 1) {
this.medalColor = 1;
} else {
if (_root.gotPinkieMedal == 2) {
this.medalColor = 2;
} else {
if (_root.gotPinkieMedal == 3) {
this.medalColor = 3;
} else {
if (_root.gotPinkieMedal == 4) {
this.medalColor = 4;
} else {
if (_root.gotPinkieMedal == 5) {
this.medalColor = 5;
}
}
}
}
}
}
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform = {'rb': -255, 'gb': -255, 'bb': -255};
if (this.medalColor == 1) {
myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0};
} else {
if (this.medalColor == 2) {
myColorTransform = {'rb': 0, 'gb': -70, 'bb': -255};
} else {
if (this.medalColor == 3) {
myColorTransform = {'rb': -50, 'gb': -50, 'bb': -50};
} else {
if (this.medalColor == 4) {
myColorTransform = {'rb': 0, 'gb': 0, 'bb': -255};
} else {
if (this.medalColor == 5) {
myColorTransform = {'rb': 25, 'gb': 25, 'bb': 25, 'aa': 50};
}
}
}
}
}
myColor.setTransform(myColorTransform);
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.menuAlive == true && _root.menuAlive2 == true) {
_root.menuAlive = false;
_root.game.menu1.gotoAndPlay('7');
}
}
}
frame 2 {
rarityText.text = 'Rarity - ' + _root.gotRarityMedal + '/5';
pinkieText.text = 'Pinkie - ' + _root.gotPinkieMedal + '/5';
totalText.text = 'Current - ' + _root.friendshipPoints;
stop();
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.menuAlive2 == true) {
_root.game.menu1.menu2.page4 = 4;
_root.game.menu1.menu2.page3 = 3;
_root.game.menu1.menu2.gotoAndPlay('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.menuAlive2 == true) {
_root.game.menu1.menu2.page4 = 2;
_root.game.menu1.menu2.page3 = 1;
_root.game.menu1.menu2.gotoAndPlay('9');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.menuAlive2 == true) {
_root.game.menu1.menu2.page4 = 6;
_root.game.menu1.menu2.page3 = 5;
_root.game.menu1.menu2.gotoAndPlay('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.menuAlive2 == true) {
_root.game.menu1.menu2.page4 = 4;
_root.game.menu1.menu2.page3 = 3;
_root.game.menu1.menu2.gotoAndPlay('9');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.menuAlive2 == true) {
_root.game.menu1.menu2.page4 = 8;
_root.game.menu1.menu2.page3 = 7;
_root.game.menu1.menu2.gotoAndPlay('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.menuAlive2 == true) {
_root.game.menu1.menu2.page4 = 6;
_root.game.menu1.menu2.page3 = 5;
_root.game.menu1.menu2.gotoAndPlay('9');
}
}
}
}
movieClip 267 {
frame 1 {
if (_root.loadBook == true) {
page1 = 1;
page2 = 2;
_root.loadBook = false;
}
_root.menuAlive2 = true;
_root.medalsStop = false;
stop();
}
instance of movieClip 258 {
onClipEvent (load) {
this.gotoAndStop(_parent.page1);
}
}
instance of movieClip 258 {
onClipEvent (load) {
this.gotoAndStop(_parent.page2);
}
}
frame 2 {
_root.menuAlive2 = false;
}
instance of movieClip 258 {
onClipEvent (load) {
this.gotoAndStop(_parent.page4);
}
}
instance of movieClip 258 {
onClipEvent (load) {
this.gotoAndStop(_parent.page3);
}
}
frame 8 {
_root.menuAlive2 = true;
page1 = page3;
page2 = page4;
this.gotoAndStop('1');
}
frame 9 {
_root.medalsStop = true;
_root.menuAlive2 = false;
}
instance of movieClip 258 {
onClipEvent (load) {
this.gotoAndStop(_parent.page2);
}
}
instance of movieClip 258 {
onClipEvent (load) {
this.gotoAndStop(_parent.page3);
}
}
instance of movieClip 258 {
onClipEvent (load) {
this.gotoAndStop(_parent.page1);
}
}
instance of movieClip 258 {
onClipEvent (load) {
this.gotoAndStop(_parent.page4);
}
}
frame 15 {
page1 = page3;
page2 = page4;
_root.menuAlive2 = true;
this.gotoAndStop('1');
}
}
movieClip 271 {
frame 1 {
stop();
}
frame 2 {
_root.gameAlive = false;
}
frame 6 {
_root.menuAlive = true;
stop();
}
frame 10 {
_root.gameAlive = true;
_root.menuAlive = true;
_root.game.menuButton._alpha = 100;
}
}
movieClip 274 {
}
movieClip 280 {
frame 1 {
stop();
}
}
button 282 {
on (release) {
if (_root.gameAlive == true) {
if (_root.soundTestPlay == false) {
_root.stopMusic = true;
}
_root.game.blurMe.gotoAndPlay('2');
_root.room = 8;
}
}
}
button 283 {
on (release) {
if (_root.gameAlive == true) {
if (_root.soundTestPlay == false) {
_root.stopMusic = true;
}
_root.game.blurMe.gotoAndPlay('2');
_root.room = 10;
}
}
}
button 284 {
on (release) {
if (_root.gameAlive == true) {
if (_root.soundTestPlay == false) {
_root.stopMusic = true;
}
_root.game.blurMe.gotoAndPlay('2');
_root.room = 13;
}
}
}
movieClip 293 {
frame 1 {
stop();
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 2 {
thisFrame = 3;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 100 {
_root.gameAlive = true;
_root.game.mayor._alpha = 100;
}
frame 101 {
stop();
}
}
movieClip 295 {
}
button 297 {
on (release) {
if (_root.gameAlive == true) {
if (_root.soundTestPlay == false) {
_root.stopMusic = true;
}
_root.game.blurMe.gotoAndPlay('2');
_root.room = 11;
}
}
}
button 298 {
on (release) {
if (_root.gameAlive == true) {
if (_root.soundTestPlay == false) {
_root.stopMusic = true;
}
_root.game.blurMe.gotoAndPlay('2');
_root.room = 12;
}
}
}
button 299 {
on (release) {
if (_root.gameAlive == true) {
if (_root.soundTestPlay == false) {
_root.stopMusic = true;
}
_root.game.blurMe.gotoAndPlay('2');
_root.room = 16;
}
}
}
movieClip 305 {
frame 1 {
thisFrame = 2;
stop();
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 100 {
_root.gameAlive = true;
_root.game.mayor._alpha = 100;
}
frame 101 {
stop();
}
}
button 307 {
on (release) {
if (_root.gameAlive == true) {
if (_root.soundTestPlay == false) {
_root.stopMusic = true;
}
if (_root.twilightDoorUnlocked == true) {
_root.game.blurMe.gotoAndPlay('2');
_root.room = 17;
} else {
if (_root.twilightDoorUnlocked == false) {
_root.game.libraryOutsideDialogue.gotoAndStop('9');
_root.gameAlive = false;
}
}
}
}
}
movieClip 311 {
frame 1 {
stop();
}
}
movieClip 333 {
frame 1 {
thisFrame = 2;
stop();
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 311 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 3 {
thisFrame = 4;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
frame 8 {
_root.twilightDoorUnlocked = true;
}
instance of movieClip 34 {
onClipEvent (release) {
_root.game.blurMe.gotoAndPlay('2');
_root.room = 17;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 10 {
thisFrame = 11;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 100 {
_root.gameAlive = true;
_root.game.mayor._alpha = 100;
}
frame 101 {
stop();
}
}
button 335 {
on (release) {
if (_root.gameAlive == true) {
if (_root.soundTestPlay == false) {
_root.stopMusic = true;
}
_root.game.blurMe.gotoAndPlay('2');
_root.room = 18;
}
}
}
button 336 {
on (release) {
if (_root.gameAlive == true) {
if (_root.soundTestPlay == false) {
_root.stopMusic = true;
}
_root.game.blurMe.gotoAndPlay('2');
_root.room = 15;
}
}
}
movieClip 363 {
frame 1 {
thisFrame = 2;
stop();
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 311 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 6 {
thisFrame = 7;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 14 {
thisFrame = 15;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 311 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 19 {
thisFrame = 20;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 100 {
_root.gameAlive = true;
_root.game.mayor._alpha = 100;
}
frame 101 {
stop();
}
}
button 365 {
on (release) {
if (_root.gameAlive == true) {
if (_root.soundTestPlay == false) {
_root.stopMusic = true;
}
_root.game.blurMe.gotoAndPlay('2');
_root.room = 19;
}
}
}
button 366 {
on (release) {
if (_root.gameAlive == true) {
if (_root.soundTestPlay == false) {
_root.stopMusic = true;
}
_root.game.blurMe.gotoAndPlay('2');
_root.room = 14;
}
}
}
movieClip 373 {
frame 1 {
thisFrame = 2;
stop();
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 100 {
_root.gameAlive = true;
_root.game.mayor._alpha = 100;
}
frame 101 {
stop();
}
}
movieClip 387 {
}
movieClip 388 {
instance of movieClip 387 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_root.game.puffyDialogue.gotoAndStop('24');
_root.gameAlive = false;
}
}
}
instance of movieClip 387 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_root.game.puffyDialogue.gotoAndStop('24');
_root.gameAlive = false;
}
}
}
instance of movieClip 387 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_root.game.puffyDialogue.gotoAndStop('24');
_root.gameAlive = false;
}
}
}
}
movieClip 392 {
}
button 407 {
on (release) {
_root.game.blurMe.gotoAndPlay('2');
_root.room = 100;
}
}
button 410 {
on (release) {
thisFrame = 8;
_root.game.puffyDialogue.dialogueMask.gotoAndPlay('1');
this.gotoAndStop(thisFrame);
thisFrame += 1;
}
}
movieClip 423 {
frame 11 {
stop();
}
}
movieClip 425 {
frame 15 {
stop();
}
}
movieClip 427 {
frame 22 {
stop();
}
}
movieClip 443 {
frame 1 {
stop();
}
}
movieClip 444 {
frame 1 {
thisFrame = 2;
if (_root.puffyClicked == true) {
_root.game.puffy._alpha = 0;
_root.puffyClicked = false;
}
stop();
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
_root.game.puffyDialogue.dialogueMask.gotoAndStop('38');
_root.talkedToPuffy = true;
stop();
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 9 {
_root.game.puffy._alpha = 0;
thisFrame = 7;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 12 {
thisFrame = 13;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 216 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 311 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 18 {
thisFrame = 19;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
frame 22 {
_root.game.puffy._alpha = 0;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
instance of movieClip 311 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 443 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
frame 100 {
_root.gameAlive = true;
_root.game.puffy._alpha = 100;
}
frame 101 {
stop();
}
}
movieClip 450 {
}
button 459 {
on (release) {
thisFrame = 6;
_root.applejackChallenged = true;
_root.game.boulderDialogue.dialogueMask.gotoAndPlay('1');
this.gotoAndStop(thisFrame);
thisFrame += 1;
}
}
button 460 {
on (release) {
thisFrame = 9;
_root.game.boulderDialogue.dialogueMask.gotoAndPlay('1');
this.gotoAndStop(thisFrame);
thisFrame += 1;
}
}
movieClip 469 {
frame 1 {
thisFrame = 2;
stop();
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
_root.game.boulderDialogue.dialogueMask.gotoAndStop('38');
stop();
}
frame 6 {
stop();
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 7 {
_root.talkedToApplejack = true;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 8 {
thisFrame = 10;
}
frame 9 {
thisFrame = 10;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 10 {
_root.talkedToApplejack = true;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
frame 100 {
_root.gameAlive = true;
}
frame 101 {
stop();
}
}
movieClip 474 {
}
movieClip 477 {
}
movieClip 499 {
}
movieClip 500 {
}
movieClip 501 {
frame 16 {
_root.game.twilightDialogue.dialogueMask.gotoAndPlay('1');
_root.game.twilightDialogue.gotoAndStop('14');
stop();
}
frame 28 {
stop();
}
}
movieClip 506 {
}
movieClip 515 {
frame 1 {
stop();
}
}
movieClip 523 {
frame 1 {
stop();
}
}
movieClip 531 {
}
movieClip 532 {
}
movieClip 534 {
frame 13 {
stop();
}
}
button 603 {
on (release) {
thisFrame = 91;
_root.game.twilightDialogue.dialogueMask.gotoAndPlay('1');
this.gotoAndStop(thisFrame);
thisFrame += 1;
}
}
button 604 {
on (release) {
thisFrame = 90;
_root.game.twilightDialogue.dialogueMask.gotoAndPlay('1');
this.gotoAndStop(thisFrame);
thisFrame += 1;
}
}
movieClip 611 {
}
movieClip 626 {
frame 1 {
thisFrame = 2;
if (_root.clickedTwilight == true) {
_root.game.twilight._alpha = 0;
_root.clickTwilight = false;
}
stop();
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 2 {
stop();
}
frame 3 {
thisFrame = 11;
stop();
}
frame 4 {
_root.game.twilight._alpha = 0;
thisFrame = 5;
stop();
}
frame 5 {
stop();
}
frame 6 {
if (_root.gotPinkieMedal > 0 && _root.gotRarityMedal > 0) {
thisFrame = 9;
} else {
if (_root.gotPinkieMedal > 0 && _root.gotRarityMedal == 0) {
thisFrame = 7;
} else {
if (_root.gotPinkieMedal == 0 && _root.gotRarityMedal > 0) {
thisFrame = 8;
}
}
}
stop();
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
frame 7 {
thisFrame = 10;
}
frame 8 {
thisFrame = 10;
}
frame 9 {
thisFrame = 10;
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
frame 14 {
thisFrame = 15;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 216 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 515 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
frame 19 {
if (_root.playerGender == 1) {
thisFrame = 66;
} else {
if (_root.playerGender == 2) {
}
}
}
instance of movieClip 501 {
onClipEvent (load) {
this.gotoAndPlay('17');
}
}
frame 21 {
thisFrame = 22;
}
instance of movieClip 443 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 523 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
frame 27 {
_root.gotBook = true;
}
frame 28 {
_root.game.menuButton._alpha = 100;
_root.game.menuButton.enabled = true;
}
frame 30 {
thisFrame = 67;
}
instance of movieClip 523 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
frame 31 {
thisFrame = 32;
}
frame 33 {
thisFrame = 36;
}
frame 34 {
thisFrame = 35;
}
frame 36 {
_root.talkedToTwilight = true;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(250);
}
}
frame 38 {
_root.game.twilight._alpha = 0;
}
frame 39 {
_root.game.twilight._alpha = 0;
thisFrame = 40;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 42 {
thisFrame = 44;
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
frame 43 {
_root.game.twilight._alpha = 0;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(250);
}
}
frame 44 {
thisFrame = 45;
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(250);
}
}
frame 47 {
_root.game.twilight._alpha = 0;
thisFrame = 48;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 523 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(250);
}
}
frame 55 {
_root.game.twilight._alpha = 0;
thisFrame = 56;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 443 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(250);
}
}
frame 58 {
_root.game.twilight._alpha = 0;
thisFrame = 59;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 523 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(250);
}
}
frame 62 {
_root.game.twilight._alpha = 0;
thisFrame = 63;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(250);
}
}
frame 65 {
_root.game.twilight._alpha = 0;
}
frame 66 {
thisFrame = 21;
}
instance of movieClip 515 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 67 {
if (_root.gotRarityMedal == 0 && _root.gotPinkieMedal == 0) {
thisFrame = 31;
} else {
thisFrame = 34;
}
}
frame 68 {
thisFrame = 69;
}
frame 69 {
_root.game.twilight._alpha = 0;
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 216 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(250);
}
}
frame 74 {
thisFrame = 75;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(250);
}
}
instance of movieClip 523 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
frame 80 {
thisFrame = 81;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 81 {
if (_root.playerGender == 1) {
thisFrame = 100;
} else {
thisFrame = 82;
}
}
instance of movieClip 443 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(250);
}
}
frame 85 {
thisFrame = 86;
}
instance of movieClip 443 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 87 {
_root.game.twilight._alpha = 0;
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(250);
}
}
frame 88 {
thisFrame = 89;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 89 {
_root.game.twilightDialogue.dialogueMask.gotoAndStop('38');
}
instance of movieClip 443 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(250);
}
}
frame 91 {
thisFrame = 92;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 523 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
frame 95 {
_root.game.twilight._alpha = 0;
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 523 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
instance of movieClip 443 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(250);
}
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 443 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
frame 250 {
_root.gameAlive = true;
_root.game.twilight._alpha = 100;
}
frame 251 {
stop();
}
}
movieClip 628 {
}
movieClip 631 {
}
button 646 {
on (release) {
_root.game.blurMe.gotoAndPlay('2');
_root.room = 102;
}
}
button 647 {
on (release) {
if (_root.talkedToTwilight == true) {
thisFrame = 25;
} else {
if (_root.talkedToTwilight == false) {
thisFrame = 20;
}
}
_root.game.pinkieDialogue.dialogueMask.gotoAndPlay('1');
this.gotoAndStop(thisFrame);
thisFrame += 1;
}
}
button 678 {
on (release) {
_root.talkedToPinkie = true;
_root.game.blurMe.gotoAndPlay('2');
_root.room = 102;
}
}
button 679 {
on (release) {
if (_root.talkedToTwilight == true) {
thisFrame = 30;
} else {
if (_root.talkedToTwilight == false) {
thisFrame = 20;
}
}
_root.game.pinkieDialogue.dialogueMask.gotoAndPlay('1');
this.gotoAndStop(thisFrame);
thisFrame += 1;
}
}
movieClip 710 {
}
movieClip 712 {
}
movieClip 714 {
}
movieClip 716 {
}
movieClip 718 {
}
movieClip 719 {
}
movieClip 720 {
instance medal of movieClip 94 {
onClipEvent (load) {
this.stop();
medalColor = _parent.medalColor;
myColor = new Color(this);
myColorTransform = new Object();
if (medalColor == 2) {
myColorTransform = {'rb': 0, 'gb': -70, 'bb': -255};
} else {
if (medalColor == 3) {
myColorTransform = {'rb': -50, 'gb': -50, 'bb': -50};
} else {
if (medalColor == 4) {
myColorTransform = {'rb': 0, 'gb': 0, 'bb': -255};
} else {
if (medalColor == 5) {
myColorTransform = {'rb': 25, 'gb': 25, 'bb': 25, 'aa': 50};
}
}
}
}
myColor.setTransform(myColorTransform);
}
}
instance medal of movieClip 94 {
onClipEvent (load) {
this.stop();
medalNumber = _parent.medalNumber;
}
}
instance medal of movieClip 94 {
onClipEvent (load) {
this.stop();
}
}
frame 187 {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
stop();
}
instance medal of movieClip 94 {
onClipEvent (load) {
this.play();
medalNumber = _parent.medalNumber;
medalColor = _parent.medalColor;
myColor = new Color(this);
myColorTransform = new Object();
if (medalColor == 2) {
myColorTransform = {'rb': 0, 'gb': -70, 'bb': -255};
} else {
if (medalColor == 3) {
myColorTransform = {'rb': -50, 'gb': -50, 'bb': -50};
} else {
if (medalColor == 4) {
myColorTransform = {'rb': 0, 'gb': 0, 'bb': -255};
} else {
if (medalColor == 5) {
myColorTransform = {'rb': 25, 'gb': 25, 'bb': 25, 'aa': 50};
}
}
}
}
myColor.setTransform(myColorTransform);
}
}
}
movieClip 723 {
frame 1 {
this.gotoAndPlay('4');
}
frame 66 {
stop();
}
}
movieClip 742 {
frame 1 {
thisFrame = 2;
stop();
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
frame 9 {
_root.game.pinkieDialogue.dialogueMask.gotoAndStop('38');
_root.talkedToPinkie = true;
}
frame 10 {
thisFrame = 11;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 523 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
frame 19 {
thisFrame = 9;
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
frame 20 {
thisFrame = 21;
}
instance of movieClip 523 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 25 {
thisFrame = 26;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 28 {
thisFrame = 29;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 29 {
_root.game.pinkieDialogue.dialogueMask.gotoAndStop('38');
stop();
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 523 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
instance of movieClip 34 {
onClipEvent (release) {
_root.gameAlive = false;
if (_root.score == 1) {
_parent.thisFrame = 34;
} else {
if (_root.score == 2) {
_parent.thisFrame = 36;
} else {
if (_root.score == 3) {
_parent.thisFrame = 40;
} else {
if (_root.score == 4) {
_parent.thisFrame = 42;
} else {
if (_root.score == 5) {
_parent.thisFrame = 44;
} else {
if (_root.score == 0) {
_parent.thisFrame = 46;
}
}
}
}
}
}
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 34 {
thisFrame = 35;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gotPinkieCrystalMedal == false) {
_root.gotPinkieCrystalMedal = true;
_root.gotPinkieGoldMedal = true;
_root.gotPinkieSilverMedal = true;
_root.gotPinkieBronzeMedal = true;
_parent.gotoAndStop('49');
_parent.thisFrame += 1;
} else {
_root.menuAlive = true;
_parent.gotoAndPlay(100);
}
}
}
frame 36 {
thisFrame = 37;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gotPinkieGoldMedal == false) {
_root.gotPinkieGoldMedal = true;
_root.gotPinkieSilverMedal = true;
_root.gotPinkieBronzeMedal = true;
_parent.gotoAndStop('49');
_parent.thisFrame += 1;
} else {
_root.menuAlive = true;
_parent.gotoAndPlay(100);
}
}
}
frame 40 {
thisFrame = 41;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gotPinkieSilverMedal == false) {
_root.gotPinkieSilverMedal = true;
_root.gotPinkieBronzeMedal = true;
_parent.gotoAndStop('49');
_parent.thisFrame += 1;
} else {
_root.menuAlive = true;
_parent.gotoAndPlay(100);
}
}
}
frame 42 {
if (_root.playerGender == 1) {
thisFrame = 43;
} else {
if (_root.playerGender == 2) {
thisFrame = 54;
}
}
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 2) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gotPinkieBronzeMedal == false) {
_root.gotPinkieBronzeMedal = true;
_parent.gotoAndStop('49');
_parent.thisFrame += 1;
} else {
_root.menuAlive = true;
_parent.gotoAndPlay(100);
}
}
}
frame 44 {
thisFrame = 45;
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_root.menuAlive = true;
_parent.gotoAndPlay(100);
}
}
frame 46 {
thisFrame = 47;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 216 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_root.menuAlive = true;
_parent.gotoAndPlay(100);
}
}
frame 49 {
_root.game.pinkieMusic.gotoAndStop('1');
_parent.pinkie._alpha = 100;
}
instance of movieClip 443 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
instance gotMedal of movieClip 720 {
onClipEvent (load) {
this.gotoAndPlay('2');
medalNumber = 2;
if (_root.gotPinkieMedal == 2) {
medalColor = 2;
_parent.thisFrame = 50;
} else {
if (_root.gotPinkieMedal == 3) {
medalColor = 3;
_parent.thisFrame = 51;
} else {
if (_root.gotPinkieMedal == 4) {
medalColor = 4;
_parent.thisFrame = 52;
} else {
if (_root.gotPinkieMedal == 5) {
medalColor = 5;
_parent.thisFrame = 53;
}
}
}
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_root.game.pinkieMusic.gotoAndPlay('2');
_root.menuAlive = true;
_parent.gotoAndPlay(100);
}
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 2) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gotPinkieBronzeMedal == false) {
_root.gotPinkieBronzeMedal = true;
_parent.gotoAndStop('49');
_parent.thisFrame += 1;
} else {
_root.menuAlive = true;
_parent.gotoAndPlay(100);
}
}
}
frame 55 {
thisFrame = 56;
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 63 {
thisFrame = 64;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
frame 100 {
_root.gameAlive = true;
_parent.pinkie._alpha = 100;
}
frame 101 {
stop();
}
}
movieClip 744 {
frame 757 {
this.gotoAndPlay('2');
}
}
movieClip 746 {
}
movieClip 753 {
}
movieClip 755 {
}
movieClip 830 {
frame 98 {
this.gotoAndPlay('43');
}
}
movieClip 838 {
}
movieClip 839 {
}
button 854 {
on (release) {
thisFrame = 13;
_root.game.rarityDialogue.dialogueMask.gotoAndPlay('1');
_root.rarityDidYourMane = true;
this.gotoAndStop(thisFrame);
thisFrame += 1;
}
}
button 855 {
on (release) {
thisFrame = 21;
_root.game.rarityDialogue.dialogueMask.gotoAndPlay('2');
this.gotoAndStop(thisFrame);
thisFrame += 1;
}
}
button 875 {
on (release) {
_root.game.blurMe.gotoAndPlay('2');
_root.room = 101;
}
}
button 876 {
on (release) {
if (_root.talkedToTwilight == true) {
thisFrame = 28;
} else {
if (_root.talkedToTwilight == false) {
thisFrame = 26;
}
}
_root.game.rarityDialogue.dialogueMask.gotoAndPlay('1');
this.gotoAndStop(thisFrame);
thisFrame += 1;
}
}
button 883 {
on (release) {
if (_root.talkedToTwilight == true) {
thisFrame = 32;
} else {
if (_root.talkedToTwilight == false) {
thisFrame = 26;
}
}
_root.game.rarityDialogue.dialogueMask.gotoAndPlay('1');
this.gotoAndStop(thisFrame);
thisFrame += 1;
}
}
movieClip 925 {
frame 1 {
thisFrame = 3;
stop();
}
instance of movieClip 171 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 2 {
thisFrame = 3;
stop();
}
frame 3 {
stop();
}
instance of movieClip 443 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
if (_root.playerGender == 1) {
thisFrame = 8;
} else {
if (_root.playerGender == 2) {
thisFrame = 9;
}
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
frame 8 {
thisFrame = 10;
}
frame 9 {
thisFrame = 10;
}
frame 10 {
thisFrame = 11;
}
instance of movieClip 443 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
frame 12 {
_root.game.rarityDialogue.dialogueMask.gotoAndStop('38');
stop();
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 523 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 523 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
frame 20 {
thisFrame = 23;
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
frame 25 {
_root.talkedToRarity = true;
_root.game.rarityDialogue.dialogueMask.gotoAndStop('38');
stop();
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 28 {
thisFrame = 29;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 30 {
thisFrame = 31;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 31 {
_root.game.rarityDialogue.dialogueMask.gotoAndStop('38');
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
instance of movieClip 34 {
onClipEvent (release) {
_root.gameAlive = false;
if (_root.score == 1) {
_parent.thisFrame = 35;
} else {
if (_root.score == 2) {
_parent.thisFrame = 37;
} else {
if (_root.score == 3) {
_parent.thisFrame = 39;
} else {
if (_root.score == 4) {
_parent.thisFrame = 41;
} else {
if (_root.score == 5) {
_parent.thisFrame = 43;
} else {
if (_root.score == 0) {
_parent.thisFrame = 45;
}
}
}
}
}
}
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 35 {
thisFrame = 36;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gotRarityCrystalMedal == false) {
_root.gotRarityCrystalMedal = true;
_root.gotRarityGoldMedal = true;
_root.gotRaritySilverMedal = true;
_root.gotRarityBronzeMedal = true;
_parent.gotoAndStop('50');
_parent.thisFrame += 1;
} else {
_root.menuAlive = true;
_parent.gotoAndPlay(100);
}
}
}
frame 37 {
thisFrame = 38;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gotRarityGoldMedal == false) {
_root.gotRarityGoldMedal = true;
_root.gotRaritySilverMedal = true;
_root.gotRarityBronzeMedal = true;
_parent.gotoAndStop('50');
_parent.thisFrame += 1;
} else {
_root.menuAlive = true;
_parent.gotoAndPlay(100);
}
}
}
frame 39 {
thisFrame = 40;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gotRaritySilverMedal == false) {
_root.gotRaritySilverMedal = true;
_root.gotRarityBronzeMedal = true;
_parent.gotoAndStop('50');
_parent.thisFrame += 1;
} else {
_root.menuAlive = true;
_parent.gotoAndPlay(100);
}
}
}
frame 41 {
thisFrame = 42;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gotRarityBronzeMedal == false) {
_root.gotRarityBronzeMedal = true;
_parent.gotoAndStop('50');
_parent.thisFrame += 1;
} else {
_root.menuAlive = true;
_parent.gotoAndPlay(100);
}
}
}
frame 43 {
thisFrame = 44;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_root.menuAlive = true;
_parent.gotoAndPlay(100);
}
}
frame 45 {
thisFrame = 46;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 191 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 216 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndStop('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_root.menuAlive = true;
_parent.gotoAndPlay(100);
}
}
frame 50 {
_root.game.rarityMusic.gotoAndStop('1');
_parent.rarity._alpha = 100;
}
instance of movieClip 443 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
instance gotMedal of movieClip 720 {
onClipEvent (load) {
this.gotoAndPlay('2');
medalNumber = 1;
if (_root.gotRarityMedal == 2) {
medalColor = 2;
_parent.thisFrame = 51;
} else {
if (_root.gotRarityMedal == 3) {
medalColor = 3;
_parent.thisFrame = 52;
} else {
if (_root.gotRarityMedal == 4) {
medalColor = 4;
_parent.thisFrame = 53;
} else {
if (_root.gotRarityMedal == 5) {
medalColor = 5;
_parent.thisFrame = 54;
}
}
}
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_root.game.rarityMusic.gotoAndPlay('2');
_root.menuAlive = true;
_parent.gotoAndPlay(100);
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 57 {
thisFrame = 58;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
frame 58 {
_parent.rarity._alpha = 0;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 60 {
thisFrame = 61;
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.dialogueMask.gotoAndPlay('1');
_parent.gotoAndStop(_parent.thisFrame);
_parent.thisFrame += 1;
}
}
instance of movieClip 523 {
onClipEvent (load) {
if (_root.playerGender == 1) {
this.gotoAndPlay('2');
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
_parent.gotoAndPlay(100);
}
}
frame 100 {
_root.gameAlive = true;
_parent.rarity._alpha = 100;
}
frame 101 {
stop();
}
}
movieClip 927 {
frame 1398 {
this.gotoAndPlay('2');
}
}
movieClip 928 {
frame 1450 {
this.gotoAndPlay('136');
}
}
button 931 {
on (release) {
_root.game.blurMe.gotoAndPlay('2');
_root.room = 14;
}
}
button 937 {
on (release) {
if (_root.buying == true) {
_root.game.shopStuff.inventory.gotoAndStop('2');
}
}
}
movieClip 945 {
frame 1 {
stop();
}
frame 12 {
_root.game.shopStuff.gotoAndStop(_parent.destination);
}
}
movieClip 946 {
frame 1 {
stop();
}
frame 2 {
this.inner1.gotoAndPlay('2');
}
frame 11 {
stop();
}
}
button 952 {
on (release) {
if (_root.buying == true) {
_root.game.shopStuff.inventory.gotoAndStop('3');
}
}
}
button 953 {
on (release) {
if (_root.buying == true) {
_root.game.shopStuff.inventory.gotoAndStop('1');
}
}
}
button 956 {
on (release) {
if (_root.buying == true) {
_root.game.shopStuff.inventory.gotoAndStop('2');
}
}
}
movieClip 961 {
frame 1 {
this.gotoAndStop(_root.memory);
_root.memory = 1;
stop();
}
instance of movieClip 946 {
onClipEvent (load) {
cost = 1;
destination = 2;
if (_root.item1Bought == false) {
this.inner1.amountText.text = cost;
} else {
this.inner1.amountText.text = 'S';
}
}
onClipEvent (release) {
if (_root.friendshipPoints >= cost && _root.item1Bought == false && _root.buying == true) {
_root.item1Bought = true;
_root.boughtFromShop = true;
_root.friendshipPoints -= cost;
this.gotoAndPlay('2');
_root.memory = 1;
_root.buying = false;
} else {
if (_root.item1Bought == true && _root.buying == true) {
this.gotoAndPlay('2');
_root.memory = 1;
_root.buying = false;
}
}
}
}
instance of movieClip 946 {
onClipEvent (load) {
cost = 1;
destination = 3;
if (_root.item2Bought == false) {
this.inner1.amountText.text = cost;
} else {
this.inner1.amountText.text = 'S';
}
}
onClipEvent (release) {
if (_root.friendshipPoints >= cost && _root.item2Bought == false && _root.buying == true) {
_root.item2Bought = true;
_root.boughtFromShop = true;
_root.friendshipPoints -= cost;
this.gotoAndPlay('2');
_root.memory = 1;
_root.buying = false;
} else {
if (_root.item2Bought == true && _root.buying == true) {
this.gotoAndPlay('2');
_root.memory = 1;
_root.buying = false;
}
}
}
}
instance of movieClip 946 {
onClipEvent (load) {
cost = 1;
destination = 4;
if (_root.item3Bought == false) {
this.inner1.amountText.text = cost;
} else {
this.inner1.amountText.text = 'S';
}
}
onClipEvent (release) {
if (_root.friendshipPoints >= cost && _root.item3Bought == false && _root.buying == true) {
_root.item3Bought = true;
_root.boughtFromShop = true;
_root.friendshipPoints -= cost;
this.gotoAndPlay('2');
_root.memory = 1;
_root.buying = false;
} else {
if (_root.item3Bought == true && _root.buying == true) {
this.gotoAndPlay('2');
_root.memory = 1;
_root.buying = false;
}
}
}
}
instance of movieClip 946 {
onClipEvent (load) {
cost = 1;
destination = 5;
if (_root.item4Bought == false) {
this.inner1.amountText.text = cost;
} else {
this.inner1.amountText.text = 'S';
}
}
onClipEvent (release) {
if (_root.friendshipPoints >= cost && _root.item4Bought == false && _root.buying == true) {
_root.item4Bought = true;
_root.boughtFromShop = true;
_root.friendshipPoints -= cost;
this.gotoAndPlay('2');
_root.memory = 1;
_root.buying = false;
} else {
if (_root.item4Bought == true && _root.buying == true) {
this.gotoAndPlay('2');
_root.memory = 1;
_root.buying = false;
}
}
}
}
instance of movieClip 946 {
onClipEvent (load) {
cost = 1;
destination = 6;
if (_root.item5Bought == false) {
this.inner1.amountText.text = cost;
} else {
this.inner1.amountText.text = 'S';
}
}
onClipEvent (release) {
if (_root.friendshipPoints >= cost && _root.item5Bought == false && _root.buying == true) {
_root.item5Bought = true;
_root.boughtFromShop = true;
_root.friendshipPoints -= cost;
_root.memory = 2;
this.gotoAndPlay('2');
_root.buying = false;
} else {
if (_root.item5Bought == true && _root.buying == true) {
this.gotoAndPlay('2');
_root.memory = 2;
_root.buying = false;
}
}
}
}
instance of movieClip 946 {
onClipEvent (load) {
cost = 1;
destination = 13;
if (_root.item11Bought == false) {
this.inner1.amountText.text = cost;
} else {
this.inner1.amountText.text = 'S';
}
}
onClipEvent (release) {
if (_root.friendshipPoints >= cost && _root.item11Bought == false && _root.buying == true) {
_root.item11Bought = true;
_root.boughtFromShop = true;
_root.friendshipPoints -= cost;
this.gotoAndPlay('2');
_root.memory = 2;
_root.buying = false;
} else {
if (_root.item11Bought == true && _root.buying == true) {
_root.memory = 2;
this.gotoAndPlay('2');
_root.buying = false;
}
}
}
}
instance of movieClip 946 {
onClipEvent (load) {
cost = 1;
destination = 14;
if (_root.item10Bought == false) {
this.inner1.amountText.text = cost;
} else {
this.inner1.amountText.text = 'S';
}
}
onClipEvent (release) {
if (_root.friendshipPoints >= cost && _root.item10Bought == false && _root.buying == true) {
_root.item10Bought = true;
_root.boughtFromShop = true;
_root.friendshipPoints -= cost;
_root.memory = 2;
this.gotoAndPlay('2');
_root.buying = false;
} else {
if (_root.item10Bought == true && _root.buying == true) {
this.gotoAndPlay('2');
_root.memory = 2;
_root.buying = false;
}
}
}
}
instance of movieClip 946 {
onClipEvent (load) {
cost = 1;
destination = 15;
if (_root.item12Bought == false) {
this.inner1.amountText.text = cost;
} else {
this.inner1.amountText.text = 'S';
}
}
onClipEvent (release) {
if (_root.friendshipPoints >= cost && _root.item12Bought == false && _root.buying == true) {
_root.item12Bought = true;
_root.boughtFromShop = true;
_root.friendshipPoints -= cost;
this.gotoAndPlay('2');
_root.memory = 2;
_root.buying = false;
} else {
if (_root.item12Bought == true && _root.buying == true) {
_root.memory = 2;
this.gotoAndPlay('2');
_root.buying = false;
}
}
}
}
instance of movieClip 946 {
onClipEvent (load) {
cost = 1;
destination = 8;
if (_root.item9Bought == false) {
this.inner1.amountText.text = cost;
} else {
this.inner1.amountText.text = 'S';
}
}
onClipEvent (release) {
if (_root.friendshipPoints >= cost && _root.item9Bought == false && _root.buying == true) {
_root.item9Bought = true;
_root.boughtFromShop = true;
_root.friendshipPoints -= cost;
_root.memory = 3;
this.gotoAndPlay('2');
_root.buying = false;
} else {
if (_root.item9Bought == true && _root.buying == true) {
this.gotoAndPlay('2');
_root.memory = 3;
_root.buying = false;
}
}
}
}
instance of movieClip 946 {
onClipEvent (load) {
cost = 1;
destination = 12;
if (_root.item7Bought == false) {
this.inner1.amountText.text = cost;
} else {
this.inner1.amountText.text = 'S';
}
}
onClipEvent (release) {
if (_root.friendshipPoints >= cost && _root.item7Bought == false && _root.buying == true) {
_root.item7Bought = true;
_root.boughtFromShop = true;
_root.friendshipPoints -= cost;
this.gotoAndPlay('2');
_root.memory = 3;
_root.buying = false;
} else {
if (_root.item7Bought == true && _root.buying == true) {
this.gotoAndPlay('2');
_root.memory = 3;
_root.buying = false;
}
}
}
}
instance of movieClip 946 {
onClipEvent (load) {
cost = 1;
destination = 9;
if (_root.item8Bought == false) {
this.inner1.amountText.text = cost;
} else {
this.inner1.amountText.text = 'S';
}
}
onClipEvent (release) {
if (_root.friendshipPoints >= cost && _root.item8Bought == false && _root.buying == true) {
_root.item8Bought = true;
_root.boughtFromShop = true;
_root.friendshipPoints -= 1;
this.gotoAndPlay('2');
_root.memory = 3;
_root.buying = false;
} else {
if (_root.item8Bought == true && _root.buying == true) {
this.gotoAndPlay('cost');
_root.memory = 3;
_root.buying = false;
}
}
}
}
instance of movieClip 946 {
onClipEvent (load) {
cost = 1;
destination = 7;
if (_root.item6Bought == false) {
this.inner1.amountText.text = cost;
} else {
this.inner1.amountText.text = 'S';
}
}
onClipEvent (release) {
if (_root.friendshipPoints >= cost && _root.item6Bought == false && _root.buying == true) {
_root.item6Bought = true;
_root.boughtFromShop = true;
_root.friendshipPoints -= cost;
this.gotoAndPlay('2');
_root.memory = 3;
_root.buying = false;
} else {
if (_root.item6Bought == true && _root.buying == true) {
_root.memory = 3;
this.gotoAndPlay('2');
_root.buying = false;
}
}
}
}
}
button 963 {
on (release) {
_root.game.shopStuff.gotoAndStop('1');
}
}
movieClip 991 {
frame 2 {
_root.clicked = false;
}
frame 13 {
if (_root.clicked == true) {
this.gotoAndPlay('2');
}
}
frame 15 {
stop();
}
frame 71 {
if (_root.wentToShop == true) {
_root.game.shopStuff.gotoAndStop('10');
} else {
_root.game.rarityGame.gotoAndStop('3');
}
stop();
}
}
movieClip 995 {
frame 1 {
stop();
}
instance of movieClip 991 {
onClipEvent (load) {
this.gotoAndPlay('56');
_parent.gotoAndStop('82');
}
}
frame 82 {
_root.gameAlive = false;
stop();
}
}
movieClip 999 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1001 {
frame 1 {
_root.frames = 0;
_root.seconds1 = 0;
_root.minutes1 = 0;
onEnterFrame = function () {
if (_root.gameAlive == true) {
_root.frames += 1;
if (_root.frames >= 24) {
_root.seconds1 += 1;
if (_root.seconds1 >= 60) {
_root.minutes1 += 1;
if (_root.wentToShop == true) {
if (_root.minutes1 >= 10) {
_root.game.shopStuff.gotoAndStop('11');
}
} else {
if (_root.minutes1 >= 3) {
_root.game.rarityGame.gotoAndStop('6');
}
}
_root.seconds1 = 0;
}
_root.frames = 0;
}
if (_root.seconds1 < 10) {
timeText.text = _root.minutes1 + ':0' + _root.seconds1;
} else {
if (_root.seconds1 >= 10) {
timeText.text = _root.minutes1 + ':' + _root.seconds1;
}
}
}
};
stop();
}
}
movieClip 1014 {
frame 1 {
_root.buying = true;
moneyText.text = 'Current Friendship Points: ' + _root.friendshipPoints;
stop();
}
frame 9 {
timesClicked = 200;
stop();
}
instance of movieClip 999 {
onClipEvent (load) {
chosenClick = 3;
}
onClipEvent (release) {
if (_root.gameAlive == true) {
this.gotoAndStop('2');
chosenClicked = Math.floor(_parent.timesClicked / 100);
this.inner1.gotoAndStop(chosenClicked);
if (_root.clicked == false) {
this.inner1.flapping.gotoAndPlay('1');
}
_parent.timesClicked += 5;
_root.clicked = true;
}
}
}
frame 10 {
trace(_root.minutes1);
trace(_root.seconds1);
if (_root.seconds1 <= 9) {
timeText.text = 'And it only took you ' + _root.minutes1 + ':0' + _root.seconds1 + ' to do it!';
} else {
if (_root.seconds1 >= 10) {
timeText.text = 'And it only took you ' + _root.minutes1 + ':' + _root.seconds1 + ' to do it!';
}
}
}
}
button 1017 {
on (release) {
_root.game.blurMe.gotoAndPlay('2');
_root.room = 19;
}
}
button 1018 {
on (release) {
if (_root.gameAlive == true) {
_root.game.rarityGame.gotoAndStop('2');
}
}
}
button 1022 {
on (release) {
if (_root.gameAlive == true) {
_root.game.rarityGame.gotoAndStop('7');
}
}
}
movieClip 1024 {
frame 1 {
this.gotoAndPlay('1372');
}
frame 1471 {
this.gotoAndPlay('81');
}
}
movieClip 1035 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 6 {
stop();
}
}
movieClip 1038 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1051 {
frame 1 {
stop();
}
frame 2 {
_root.game.rarityGame.clothGame.clothImage1._alpha = 0;
}
frame 25 {
_parent.gotoAndStop('2');
stop();
}
}
movieClip 1053 {
}
movieClip 1056 {
}
movieClip 1061 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 6 {
stop();
}
}
movieClip 1072 {
frame 1 {
stop();
}
frame 2 {
_root.game.rarityGame.clothGame.clothImage2._alpha = 0;
}
frame 25 {
_parent.gotoAndStop('4');
stop();
}
}
movieClip 1075 {
}
movieClip 1079 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
}
movieClip 1088 {
frame 1 {
stop();
}
frame 29 {
_root.game.rarityGame.gotoAndStop('4');
stop();
}
}
movieClip 1106 {
frame 1 {
stop();
}
frame 2 {
eye.gotoAndStop('2');
_root.game.rarityGame.clothGame.clothImage3._alpha = 0;
}
frame 30 {
eye.gotoAndPlay('3');
stop();
}
}
movieClip 1107 {
frame 1 {
function nextZip() {
this.arrow1.gotoAndStop('100');
this.clickHint.gotoAndStop('100');
this['zip' + i].gotoAndPlay('2');
this['zip' + i].alive = false;
i += 1;
this['zip' + i].alive = true;
}
function lastZip() {
g = 25;
i = 0;
while (i < g) {
this['zip' + i].gotoAndPlay('4');
++i;
}
this.pattern.gotoAndPlay('2');
}
i = 1;
this.zip1.alive = true;
_root.gameAlive = true;
stop();
}
instance zip1 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance arrow1 of movieClip 228 {
onClipEvent (load) {
this._x = 180;
this._y = 73;
}
}
instance zip2 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip3 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance clickHint of movieClip 1038 {
onClipEvent (load) {
this._x = 172;
this._y = 45;
}
}
instance zip4 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip5 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip6 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip7 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip8 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip9 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip10 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip11 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip14 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip13 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip12 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip15 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.lastZip();
_root.gameAlive = false;
this.alive = false;
}
}
}
frame 2 {
this.gotoAndStop('3');
}
frame 3 {
i = 1;
_root.gameAlive = true;
this.zip1.alive = true;
stop();
}
instance zip1 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance arrow1 of movieClip 228 {
onClipEvent (load) {
this._x = 93;
this._y = 22;
}
}
instance zip2 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip3 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
_parent.arrow1.gotoAndPlay('1');
_parent.arrow1._x = 80;
_parent.arrow1._rotation = 90;
_parent.clickHint._x = 23;
_parent.clickHint._y = 169;
_parent.clickHint.gotoAndPlay('2');
}
}
}
instance zip4 of movieClip 1061 {
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
_parent.clickHint.gotoAndPlay('3');
_parent.nextZip();
}
}
}
instance zip5 of movieClip 1061 {
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip6 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip7 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip8 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip9 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip10 of movieClip 1061 {
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip11 of movieClip 1061 {
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip12 of movieClip 1061 {
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip13 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance clickHint of movieClip 1038 {
onClipEvent (load) {
this.gotoAndStop('3');
}
}
instance zip14 of movieClip 1061 {
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip16 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip15 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip17 of movieClip 1061 {
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip18 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip19 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip21 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.lastZip();
_root.gameAlive = false;
this.alive = false;
}
}
}
instance zip20 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
frame 4 {
this.gotoAndStop('5');
}
frame 5 {
i = 1;
_root.gameAlive = true;
this.zip1.alive = true;
stop();
}
instance arrow1 of movieClip 228 {
onClipEvent (load) {
this._x = 350;
this._y = 414;
}
}
instance clickHint of movieClip 1038 {
onClipEvent (load) {
this.gotoAndStop('3');
}
}
instance zip20 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip21 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip22 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip6 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip7 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip24 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.lastZip();
_root.gameAlive = false;
this.alive = false;
}
}
}
instance zip10 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip11 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip16 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip17 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip18 of movieClip 1061 {
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip2 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip1 of movieClip 1035 {
onClipEvent (rollOver) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip5 of movieClip 1061 {
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
_parent.clickHint.gotoAndPlay('3');
_parent.nextZip();
}
}
}
instance zip9 of movieClip 1061 {
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip19 of movieClip 1061 {
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
instance zip12 of movieClip 1079 {
onClipEvent (load) {
health = 2;
}
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
if (health == 1) {
_parent.nextZip();
} else {
if (health == 2) {
this.gotoAndStop('7');
health -= 1;
}
}
}
}
}
instance zip13 of movieClip 1079 {
onClipEvent (load) {
health = 2;
}
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
if (health == 1) {
_parent.nextZip();
} else {
if (health == 2) {
this.gotoAndStop('7');
health -= 1;
}
}
}
}
}
instance zip14 of movieClip 1079 {
onClipEvent (load) {
health = 2;
}
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
if (health == 1) {
_parent.nextZip();
} else {
if (health == 2) {
this.gotoAndStop('7');
health -= 1;
}
}
}
}
}
instance zip15 of movieClip 1079 {
onClipEvent (load) {
health = 2;
}
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
if (health == 1) {
_parent.nextZip();
} else {
if (health == 2) {
this.gotoAndStop('7');
health -= 1;
}
}
}
}
}
instance zip23 of movieClip 1079 {
onClipEvent (load) {
health = 2;
}
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
if (health == 1) {
_parent.nextZip();
} else {
if (health == 2) {
this.gotoAndStop('7');
health -= 1;
}
}
}
}
}
instance zip4 of movieClip 1079 {
onClipEvent (load) {
health = 2;
}
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
if (health == 1) {
_parent.nextZip();
_root.clickHint.gotoAndStop('3');
} else {
if (health == 2) {
this.gotoAndStop('7');
health -= 1;
}
}
}
}
}
instance zip3 of movieClip 1061 {
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
_parent.arrow1.gotoAndPlay('1');
_parent.arrow1._x = 340;
_parent.arrow1._y = 255;
_parent.arrow1._rotation = 45;
_parent.clickHint._x = 354;
_parent.clickHint._y = 250;
_parent.clickHint.gotoAndPlay('2');
}
}
}
instance zip8 of movieClip 1061 {
onClipEvent (release) {
if (_root.gameAlive == true && this.alive == true) {
_parent.nextZip();
}
}
}
}
movieClip 1110 {
}
movieClip 1112 {
}
movieClip 1114 {
}
movieClip 1116 {
}
movieClip 1118 {
}
movieClip 1120 {
}
movieClip 1122 {
frame 1 {
stop();
}
frame 2 {
_root.gameAlive = false;
}
frame 22 {
_root.game.rarityGame.gotoAndStop('5');
stop();
}
}
button 1129 {
on (release) {
i = 0;
while (i < 7) {
if (_root.game.rarityGame['piece' + i].alive == true) {
_root.game.rarityGame['piece' + i]._rotation = _root.game.rarityGame['piece' + i].startRot;
_root.game.rarityGame['piece' + i]._x = _root.game.rarityGame['piece' + i].startX;
_root.game.rarityGame['piece' + i]._y = _root.game.rarityGame['piece' + i].startY;
_root.game.rarityGame['piece' + i].chosen = false;
_root.game.rarityGame['piece' + i]._alpha = 50;
} else {}
++i;
}
}
}
button 1134 {
on (release) {
if (_root.tutorialOn1 == true) {
_root.tutorialOn1 = false;
_root.game.rarityGame.arrow1._x = -431;
_root.game.rarityGame.arrow1._y = -56;
_root.game.rarityGame.arrow1._alpha = 0;
_root.game.rarityGame.tutorialText._x = -333;
_root.game.rarityGame.tutorialText._y = -17;
_root.game.rarityGame.tutorialText.text = '';
}
i = 0;
while (i < 7) {
if (_root.game.rarityGame['piece' + i].chosen == true) {
if (_root.game.rarityGame['piece' + i]._rotation < 265) {
_root.game.rarityGame['piece' + i]._rotation += 90;
} else {
_root.game.rarityGame['piece' + i]._rotation = 0;
}
}
++i;
}
}
}
button 1139 {
on (release) {
_root.rarityGameWon = true;
_root.game.blurMe.gotoAndPlay('2');
_root.room = 19;
}
}
button 1145 {
on (release) {
if (_root.gameAlive == true) {
_root.game.rarityGame.gotoAndStop('1');
}
}
}
movieClip 1146 {
frame 1 {
stop();
}
frame 2 {
timesClicked = 2;
_root.tutorialOn = true;
stop();
}
instance of movieClip 999 {
onClipEvent (release) {
if (_root.tutorialOn == true) {
_root.game.rarityGame.arrow1._alpha = 0;
_root.game.rarityGame.tutorialText.text = '';
_root.tutorialOn = false;
}
if (_parent.timesClicked < 83) {
this.gotoAndStop('2');
this.inner1.gotoAndStop(_parent.timesClicked);
if (_root.clicked == false) {
this.inner1.flapping.gotoAndPlay('1');
}
_parent.timesClicked += 2;
_root.clicked = true;
}
}
}
frame 3 {
stop();
}
frame 4 {
_root.gameAlive = true;
_root.clothTotal = 0;
_root.tutorialOn = true;
_root.tutorialOn1 = false;
tutorialText._x = 60;
tutorialText._y = 74;
tutorialText.text = 'Click and Drag!';
stop();
}
instance piece6 of movieClip 1110 {
onClipEvent (load) {
this.alive = true;
this.chosen = false;
startX = 74;
startY = 235;
startRot = 180;
this._rotation = startRot;
this._x = startX;
this._y = startY;
this._alpha = 50;
}
onClipEvent (press) {
if (this.alive == true) {
if (this.chosen == false) {
i = 0;
while (i < 7) {
if (_root.game.rarityGame['piece' + i].alive == true) {
_root.game.rarityGame['piece' + i].chosen = false;
_root.game.rarityGame['piece' + i]._alpha = 50;
}
++i;
}
if (_root.tutorialOn == true) {
_root.tutorialOn = false;
_root.tutorialOn1 = true;
_root.game.rarityGame.arrow1._x = 428;
_root.game.rarityGame.arrow1._y = 56;
_root.game.rarityGame.arrow1._rotation = -90;
_root.game.rarityGame.tutorialText._x = 335;
_root.game.rarityGame.tutorialText._y = 17;
_root.game.rarityGame.tutorialText.text = 'Click to Rotate!';
}
this.chosen = true;
this._alpha = 100;
}
this.moving = true;
}
}
onClipEvent (release) {
if (this.chosen == true && this.alive == true) {
this.moving = false;
if (_root.game.rarityGame.sensor6.hitTest(this.sensor) && this._rotation == 0) {
_root.clothTotal += 1;
if (_root.clothTotal >= 6) {
_root.game.rarityGame.victory.gotoAndPlay('2');
}
this.alive = false;
this.chosen = false;
this._alpha = 100;
this._x = 394.85;
this._y = 267.45;
}
}
}
onClipEvent (enterFrame) {
if (this.alive == true && _root.gameAlive == true) {
if (this.chosen == true && this.moving == true) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
}
}
instance piece1 of movieClip 1112 {
onClipEvent (load) {
startRot = 180;
this.alive = true;
startX = 464;
startY = 120;
this._rotation = startRot;
this._x = startX;
this._y = startY;
this.chosen = false;
this._alpha = 50;
}
onClipEvent (press) {
if (this.alive == true) {
if (this.chosen == false) {
i = 0;
while (i < 7) {
if (_root.game.rarityGame['piece' + i].alive == true) {
_root.game.rarityGame['piece' + i].chosen = false;
_root.game.rarityGame['piece' + i]._alpha = 50;
}
++i;
}
if (_root.tutorialOn == true) {
_root.tutorialOn = false;
_root.game.rarityGame.arrow1._x = -431;
_root.game.rarityGame.arrow1._y = -56;
_root.game.rarityGame.arrow1._alpha = 0;
_root.game.rarityGame.tutorialText._x = -333;
_root.game.rarityGame.tutorialText._y = -17;
_root.game.rarityGame.tutorialText.text = '';
}
this.chosen = true;
this._alpha = 100;
}
this.moving = true;
}
}
onClipEvent (release) {
if (this.chosen == true && this.alive == true) {
this.moving = false;
if (_root.game.rarityGame.sensor1.hitTest(this.sensor) && this._rotation == 0) {
this.alive = false;
_root.clothTotal += 1;
if (_root.clothTotal >= 6) {
_root.game.rarityGame.victory.gotoAndPlay('2');
}
this.chosen = false;
this._alpha = 100;
this._x = 219.85;
this._y = 173.85;
}
}
}
onClipEvent (enterFrame) {
if (this.alive == true && _root.gameAlive == true) {
if (this.chosen == true && this.moving == true) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
}
}
instance piece2 of movieClip 1114 {
onClipEvent (load) {
startRot = 90;
this.alive = true;
this.chosen = false;
startX = 480;
startY = 244;
this._rotation = startRot;
this._x = startX;
this._y = startY;
this._alpha = 50;
}
onClipEvent (press) {
if (this.alive == true) {
if (this.chosen == false) {
i = 0;
while (i < 7) {
if (_root.game.rarityGame['piece' + i].alive == true) {
_root.game.rarityGame['piece' + i].chosen = false;
_root.game.rarityGame['piece' + i]._alpha = 50;
}
++i;
}
if (_root.tutorialOn == true) {
_root.tutorialOn = false;
_root.game.rarityGame.arrow1._x = -431;
_root.game.rarityGame.arrow1._y = -56;
_root.game.rarityGame.arrow1._alpha = 0;
_root.game.rarityGame.tutorialText._x = -333;
_root.game.rarityGame.tutorialText._y = -17;
_root.game.rarityGame.tutorialText.text = '';
}
this.chosen = true;
this._alpha = 100;
}
this.moving = true;
}
}
onClipEvent (release) {
if (this.chosen == true && this.alive == true) {
this.moving = false;
if (_root.game.rarityGame.sensor2.hitTest(this.sensor) && this._rotation == 0) {
this.alive = false;
_root.clothTotal += 1;
if (_root.clothTotal >= 6) {
_root.game.rarityGame.victory.gotoAndPlay('2');
}
this.chosen = false;
this._alpha = 100;
this._x = 247.5;
this._y = 223;
}
}
}
onClipEvent (enterFrame) {
if (this.alive == true && _root.gameAlive == true) {
if (this.chosen == true && this.moving == true) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
}
}
instance piece3 of movieClip 1116 {
onClipEvent (load) {
startRot = 180;
this.alive = true;
this.chosen = false;
startX = 288;
startY = 350;
this._rotation = startRot;
this._x = startX;
this._y = startY;
this._alpha = 50;
}
onClipEvent (press) {
if (this.alive == true) {
if (this.chosen == false) {
i = 0;
while (i < 7) {
if (_root.game.rarityGame['piece' + i].alive == true) {
_root.game.rarityGame['piece' + i].chosen = false;
_root.game.rarityGame['piece' + i]._alpha = 50;
}
++i;
}
if (_root.tutorialOn == true) {
_root.tutorialOn = false;
_root.game.rarityGame.arrow1._x = -431;
_root.game.rarityGame.arrow1._y = -56;
_root.game.rarityGame.arrow1._alpha = 0;
_root.game.rarityGame.tutorialText._x = -333;
_root.game.rarityGame.tutorialText._y = -17;
_root.game.rarityGame.tutorialText.text = '';
}
this.chosen = true;
this._alpha = 100;
}
this.moving = true;
}
}
onClipEvent (release) {
if (this.chosen == true && this.alive == true) {
this.moving = false;
if (_root.game.rarityGame.sensor3.hitTest(this.sensor) && this._rotation == 0) {
_root.clothTotal += 1;
if (_root.clothTotal >= 6) {
_root.game.rarityGame.victory.gotoAndPlay('2');
}
this.alive = false;
this.chosen = false;
this._alpha = 100;
this._x = 209.25;
this._y = 280.3;
}
}
}
onClipEvent (enterFrame) {
if (this.alive == true && _root.gameAlive == true) {
if (this.chosen == true && this.moving == true) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
}
}
instance piece4 of movieClip 1118 {
onClipEvent (load) {
startRot = -90;
this.alive = true;
this.chosen = false;
startX = 324;
startY = 85;
this._rotation = startRot;
this._x = startX;
this._y = startY;
this._alpha = 50;
}
onClipEvent (press) {
if (this.alive == true) {
if (this.chosen == false) {
i = 0;
while (i < 7) {
if (_root.game.rarityGame['piece' + i].alive == true) {
_root.game.rarityGame['piece' + i].chosen = false;
_root.game.rarityGame['piece' + i]._alpha = 50;
}
++i;
}
if (_root.tutorialOn == true) {
_root.tutorialOn = false;
_root.game.rarityGame.arrow1._x = -431;
_root.game.rarityGame.arrow1._y = -56;
_root.game.rarityGame.arrow1._alpha = 0;
_root.game.rarityGame.tutorialText._x = -333;
_root.game.rarityGame.tutorialText._y = -17;
_root.game.rarityGame.tutorialText.text = '';
}
this.chosen = true;
this._alpha = 100;
}
this.moving = true;
}
}
onClipEvent (release) {
if (this.chosen == true && this.alive == true) {
this.moving = false;
if (_root.game.rarityGame.sensor4.hitTest(this.sensor) && this._rotation == 0) {
_root.clothTotal += 1;
if (_root.clothTotal >= 6) {
_root.game.rarityGame.victory.gotoAndPlay('2');
}
this.alive = false;
this.chosen = false;
this._alpha = 100;
this._x = 361.8;
this._y = 221.9;
}
}
}
onClipEvent (enterFrame) {
if (this.alive == true && _root.gameAlive == true) {
if (this.chosen == true && this.moving == true) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
}
}
instance piece5 of movieClip 1120 {
onClipEvent (load) {
startRot = 0;
this.alive = true;
this.chosen = false;
startX = 120;
startY = 334;
this._rotation = startRot;
this._x = startX;
this._y = startY;
this._alpha = 50;
}
onClipEvent (press) {
if (this.alive == true) {
if (this.chosen == false) {
i = 0;
while (i < 7) {
if (_root.game.rarityGame['piece' + i].alive == true) {
_root.game.rarityGame['piece' + i].chosen = false;
_root.game.rarityGame['piece' + i]._alpha = 50;
}
++i;
}
if (_root.tutorialOn == true) {
_root.tutorialOn = false;
_root.game.rarityGame.arrow1._x = -431;
_root.game.rarityGame.arrow1._y = -56;
_root.game.rarityGame.arrow1._alpha = 0;
_root.game.rarityGame.tutorialText._x = -333;
_root.game.rarityGame.tutorialText._y = -17;
_root.game.rarityGame.tutorialText.text = '';
}
this.chosen = true;
this._alpha = 100;
}
this.moving = true;
}
}
onClipEvent (release) {
if (this.chosen == true && this.alive == true) {
this.moving = false;
if (_root.game.rarityGame.sensor5.hitTest(this.sensor) && this._rotation == 0) {
_root.clothTotal += 1;
if (_root.clothTotal >= 6) {
_root.game.rarityGame.victory.gotoAndPlay('2');
}
this.alive = false;
this.chosen = false;
this._alpha = 100;
this._x = 388.65;
this._y = 171.1;
}
}
}
onClipEvent (enterFrame) {
if (this.alive == true && _root.gameAlive == true) {
if (this.chosen == true && this.moving == true) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
}
}
instance arrow1 of movieClip 228 {
onClipEvent (load) {
this._x = 63;
this._y = 117;
}
}
frame 5 {
if (_root.seconds1 < 10) {
timeText.text = _root.minutes1 + ':0' + _root.seconds1;
} else {
if (_root.seconds1 >= 10) {
timeText.text = _root.minutes1 + ':' + _root.seconds1;
}
}
if (_root.minutes1 < 1 && _root.seconds1 < 40) {
medalText.text = 'You earned a Crystal medal!';
_root.score = 1;
if (_root.gotRarityMedal == 4) {
_root.friendshipPoints += 1;
} else {
if (_root.gotRarityMedal == 3) {
_root.friendshipPoints += 2;
} else {
if (_root.gotRarityMedal == 2) {
_root.friendshipPoints += 3;
} else {
if (_root.gotRarityMedal == 1) {
_root.friendshipPoints += 4;
} else {
if (_root.gotRarityMedal == 0) {
_root.friendshipPoints += 5;
}
}
}
}
}
_root.gotRarityMedal = 5;
} else {
if (_root.minutes1 < 1 && _root.seconds1 >= 40 && _root.seconds1 < 50) {
medalText.text = 'You earned a Gold medal!';
_root.score = 2;
if (_root.gotRarityMedal == 3) {
_root.friendshipPoints += 1;
} else {
if (_root.gotRarityMedal == 2) {
_root.friendshipPoints += 2;
} else {
if (_root.gotRarityMedal == 1) {
_root.friendshipPoints += 3;
} else {
if (_root.gotRarityMedal == 0) {
_root.friendshipPoints += 4;
}
}
}
}
_root.gotRarityMedal = 4;
} else {
if (_root.minutes1 < 1 && _root.seconds1 >= 50) {
medalText.text = 'You earned a Silver medal!';
_root.score = 3;
if (_root.gotRarityMedal == 2) {
_root.friendshipPoints += 1;
} else {
if (_root.gotRarityMedal == 1) {
_root.friendshipPoints += 2;
} else {
if (_root.gotRarityMedal == 0) {
_root.friendshipPoints += 3;
}
}
}
_root.gotRarityMedal = 3;
} else {
if (_root.minutes1 == 1 && _root.seconds1 < 30) {
medalText.text = 'You earned a Bronze medal!';
_root.score = 4;
if (_root.gotRarityMedal == 1) {
_root.friendshipPoints += 1;
} else {
if (_root.gotRarityMedal == 0) {
_root.friendshipPoints += 2;
}
}
_root.gotRarityMedal = 2;
} else {
if (_root.minutes1 == 1 && _root.seconds1 >= 30) {
medalText.text = 'You passed! Try harder for a medal!';
_root.score = 5;
if (_root.gotRarityMedal == 0) {
_root.friendshipPoints += 1;
}
_root.gotRarityMedal = 1;
}
}
}
}
}
_root.gameAlive = true;
stop();
}
frame 6 {
_root.score = 0;
stop();
}
}
button 1148 {
on (release) {
_root.game.blurMe.gotoAndPlay('2');
_root.room = 18;
}
}
button 1149 {
on (release) {
if (_root.gameAlive == true) {
_root.game.pinkieGame.gotoAndStop('3');
}
}
}
button 1150 {
on (release) {
if (_root.gameAlive == true) {
_root.game.pinkieGame.gotoAndStop('2');
}
}
}
button 1153 {
on (release) {
if (_root.gameAlive == true) {
_root.game.pinkieGame.gotoAndStop('1');
}
}
}
// unknown tag 88 length 73
movieClip 1157 {
}
movieClip 1161 {
}
movieClip 1166 {
}
movieClip 1171 {
}
movieClip 1174 {
frame 1 {
stop();
}
frame 2 {
_root.cupcakeRuined = true;
}
frame 13 {
_root.cupcakeRuined = false;
}
frame 17 {
_root.cupcakeRuined = true;
_root.frosterUp();
stop();
}
frame 18 {
stop();
}
frame 19 {
_root.cupcakeRuined = true;
}
frame 24 {
_root.cupcakeRuined = false;
}
frame 28 {
_root.cupcakeRuined = true;
_root.frosterUp();
stop();
}
frame 29 {
stop();
}
frame 30 {
_root.cupcakeRuined = true;
}
frame 47 {
_root.cupcakeRuined = false;
}
frame 51 {
_root.cupcakeRuined = true;
_root.frosterUp();
stop();
}
}
movieClip 1179 {
}
movieClip 1181 {
instance cupcake of movieClip 1174 {
onClipEvent (load) {
if (_root.cupcakeNumber == 1) {
this.gotoAndStop('1');
} else {
if (_root.cupcakeNumber == 2) {
this.gotoAndStop('18');
} else {
if (_root.cupcakeNumber == 3) {
this.gotoAndStop('29');
}
}
}
}
}
instance cupcake of movieClip 1174 {
onClipEvent (load) {
if (_root.cupcakeNumber == 1) {
this.gotoAndStop('1');
} else {
if (_root.cupcakeNumber == 2) {
this.gotoAndStop('18');
} else {
if (_root.cupcakeNumber == 3) {
this.gotoAndStop('29');
} else {
if (_root.cupcakeNumber == 0) {
_parent.gotoAndStop('1');
}
}
}
}
}
}
frame 13 {
_parent.canFrost = true;
}
instance of movieClip 34 {
onClipEvent (load) {
if (_root.cupcakeNumber == 1) {
total = 32;
} else {
if (_root.cupcakeNumber == 2) {
total = 26;
} else {
if (_root.cupcakeNumber == 3) {
total = 38;
}
}
}
counter = 0;
}
onClipEvent (enterFrame) {
counter += 1;
if (counter > total && _root.cupcakesDone == false) {
_root.selectCupcake();
_root.cupcakeRuined = true;
_root.game.pinkieGame.assembly.gotoAndPlay('1');
}
}
}
instance cupcake of movieClip 1174 {
onClipEvent (load) {
if (_root.cupcakeNumber == 1) {
this.gotoAndStop('1');
} else {
if (_root.cupcakeNumber == 2) {
this.gotoAndStop('18');
} else {
if (_root.cupcakeNumber == 3) {
this.gotoAndStop('29');
}
}
}
}
}
frame 18 {
if (_parent.canFrost == true) {
_root.mistakes += 1;
trace(_root.mistakes);
}
_parent.canFrost = false;
}
frame 22 {
if (_root.cupcakeRuined == true) {
} else {
if (_root.cupcakeRuined == false) {
this.gotoAndPlay('30');
}
}
}
frame 29 {
this.gotoAndPlay('37');
}
frame 37 {
if (_root.gameStuck == true) {
_root.gameStuck = false;
_root.game.pinkieGame.gotoAndStop('4');
}
stop();
}
}
movieClip 1183 {
frame 1 {
playedCupcakes = false;
_root.cupcakesDone = false;
}
frame 32 {
if (playedCupcakes == false) {
_parent.assembly.gotoAndPlay('2');
}
}
frame 594 {
if (playedCupcakes == false) {
this.gotoAndPlay('2');
playedCupcakes = true;
}
}
frame 595 {
_root.cupcakesDone = true;
}
frame 617 {
_root.game.pinkieGame.gotoAndStop('4');
stop();
}
}
movieClip 1188 {
frame 1 {
stop();
}
frame 3 {
if (_parent.canFrost == true) {
stop();
}
}
}
movieClip 1196 {
frame 1 {
stop();
}
}
button 1198 {
on (release) {
_root.pinkieGameWon = true;
if (_root.mistakes == 1 || _root.mistakes == 2) {
_root.score = 2;
if (_root.gotPinkieMedal == 3) {
_root.friendshipPoints += 1;
} else {
if (_root.gotPinkieMedal == 2) {
_root.friendshipPoints += 2;
} else {
if (_root.gotPinkieMedal == 1) {
_root.friendshipPoints += 3;
} else {
if (_root.gotPinkieMedal == 0) {
_root.friendshipPoints += 4;
}
}
}
}
_root.gotPinkieMedal = 4;
} else {
if (_root.mistakes == 3 || _root.mistakes == 4) {
_root.score = 3;
if (_root.gotPinkieMedal == 2) {
_root.friendshipPoints += 1;
} else {
if (_root.gotPinkieMedal == 1) {
_root.friendshipPoints += 2;
} else {
if (_root.gotPinkieMedal == 0) {
_root.friendshipPoints += 3;
}
}
}
_root.gotPinkieMedal = 3;
}
}
_root.game.blurMe.gotoAndPlay('2');
_root.room = 18;
}
}
button 1200 {
on (release) {
_root.pinkieGameWon = true;
if (_root.mistakes == 5 || _root.mistakes == 6) {
_root.score = 4;
if (_root.gotPinkieMedal == 1) {
_root.friendshipPoints += 1;
} else {
if (_root.gotPinkieMedal == 0) {
_root.friendshipPoints += 2;
}
}
_root.gotPinkieMedal = 2;
} else {
if (_root.mistakes >= 7) {
_root.score = 5;
if (_root.gotPinkieMedal == 0) {
_root.friendshipPoints += 1;
}
_root.gotPinkieMedal = 1;
}
}
_root.game.blurMe.gotoAndPlay('2');
_root.room = 18;
}
}
button 1202 {
on (release) {
_root.pinkieGameWon = true;
_root.score = 0;
_root.game.blurMe.gotoAndPlay('2');
_root.room = 18;
}
}
button 1204 {
on (release) {
_root.pinkieGameWon = true;
if (_root.mistakes == 0) {
_root.score = 1;
if (_root.gotPinkieMedal == 4) {
_root.friendshipPoints += 1;
} else {
if (_root.gotPinkieMedal == 3) {
_root.friendshipPoints += 2;
} else {
if (_root.gotPinkieMedal == 2) {
_root.friendshipPoints += 3;
} else {
if (_root.gotPinkieMedal == 1) {
_root.friendshipPoints += 4;
} else {
if (_root.gotPinkieMedal == 0) {
_root.friendshipPoints += 5;
}
}
}
}
}
_root.gotPinkieMedal = 5;
}
_root.game.blurMe.gotoAndPlay('2');
_root.room = 18;
}
}
movieClip 1205 {
instance of movieClip 1196 {
onClipEvent (load) {
if (_root.mistakes == 0) {
this.gotoAndStop('4');
} else {
if (_root.mistakes <= 4 && _root.mistakes > 0) {
this.gotoAndStop('1');
} else {
if (_root.mistakes > 4 && _root.mistakes < 9) {
this.gotoAndStop('2');
} else {
if (_root.mistakes >= 9) {
this.gotoAndStop('3');
}
}
}
}
}
}
frame 100 {
if (_root.mistakes == 0) {
this.gotoAndPlay('178');
} else {
if (_root.mistakes <= 4 && _root.mistakes > 0) {
this.gotoAndPlay('101');
} else {
if (_root.mistakes > 4 && _root.mistakes < 9) {
this.gotoAndPlay('141');
} else {
if (_root.mistakes >= 9) {
this.gotoAndPlay('163');
}
}
}
}
}
frame 140 {
stop();
}
frame 162 {
stop();
}
frame 177 {
stop();
}
frame 217 {
stop();
}
}
movieClip 1206 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
_root.cupcakeRuined = true;
_root.cupcakeNumber = 1;
_root.mistakes = 0;
_root.goForPerfect = true;
finished = 0;
thisFrame = 0;
_root.tutorialOn = false;
canFrost = false;
i = 0;
_root.gameStuck = false;
_root.canProgress = false;
cupcakeOrder = [1, 1, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 3, 2, 2, 3, 1, 2, 3, 2, 1, 3, 1, 1, 2, 0];
_root.selectCupcake = function () {
_root.cupcakeNumber = cupcakeOrder[i];
i += 1;
if (i > 27) {
_root.game.pinkieGame.assembly.gotoAndStop('1');
}
};
selectCupcake();
onMouseDown = function () {
if (canFrost == true) {
froster.gotoAndPlay('2');
this.assembly.stop();
if (_root.cupcakeNumber == 1) {
this.assembly.cupcake.gotoAndPlay('2');
} else {
if (_root.cupcakeNumber == 2) {
this.assembly.cupcake.gotoAndPlay('19');
} else {
if (_root.cupcakeNumber == 3) {
this.assembly.cupcake.gotoAndPlay('30');
}
}
}
}
};
_root.frosterUp = function () {
if (_root.game.pinkieGame.canFrost == true) {
_root.game.pinkieGame.canFrost = false;
_root.game.pinkieGame.assembly.cupcake.stop();
_root.game.pinkieGame.assembly.gotoAndPlay('14');
_root.game.pinkieGame.froster.gotoAndPlay('7');
if (_root.cupcakeRuined == true) {
if (_root.goForPerfect == true) {
_root.goForPerfect = false;
}
_root.mistakes += 1;
}
}
};
onMouseUp = function () {
_root.frosterUp();
};
stop();
}
instance assembly of movieClip 1181 {
onClipEvent (load) {
stop();
}
}
frame 4 {
trace(_root.mistakes);
stop();
}
}
movieClip 1207 {
frame 1 {
stop();
}
instance of movieClip 34 {
onClipEvent (enterFrame) {
if (Key.isDown(13) && _root.gameAlive == true) {
_root.passwords();
}
}
}
frame 2 {
stop();
}
instance intro of movieClip 139 {
onClipEvent (enterFrame) {
if (_root.game.startedIntro == false && _root.gameAlive == true) {
this.gotoAndPlay('2');
_root.game.startedIntro = true;
}
}
}
frame 7 {
stop();
}
instance of movieClip 34 {
onClipEvent (enterFrame) {
if (Key.isDown(13) && _root.gameAlive == true) {
_root.passwords();
}
}
}
instance mare of movieClip 144 {
onClipEvent (load) {
this._alpha = 100;
this.gotoAndStop('2');
}
onClipEvent (release) {
_root.game.mare._alpha = 100;
_root.game.mare.gotoAndStop('2');
_root.game.stallion._alpha = 50;
_root.game.stallion.gotoAndStop('1');
_root.playerGender = 2;
}
}
instance stallion of movieClip 148 {
onClipEvent (load) {
this._alpha = 50;
this.gotoAndStop('1');
}
onClipEvent (release) {
_root.game.mare._alpha = 50;
_root.game.mare.gotoAndStop('1');
_root.game.stallion._alpha = 100;
_root.game.stallion.gotoAndStop('2');
_root.playerGender = 1;
}
}
frame 8 {
stop();
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.mayorDialogue.gotoAndStop('16');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.mayorDialogue.gotoAndStop('21');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.mayorDialogue.gotoAndStop('20');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.mayorDialogue.gotoAndStop('19');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.mayorDialogue.gotoAndStop('18');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.mayorDialogue.gotoAndStop('18');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.mayorDialogue.gotoAndStop('17');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.mayorDialogue.gotoAndStop('22');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
if (_root.talkedToTwilight == false) {
_parent.mayorDialogue.gotoAndStop('12');
} else {
if (_root.talkedToTwilight == true) {
_parent.mayorDialogue.gotoAndStop('27');
}
}
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.mayorDialogue.gotoAndStop('15');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.mayorDialogue.gotoAndStop('14');
_root.gameAlive = false;
}
}
}
instance mayorDialogue of movieClip 221 {
onClipEvent (load) {
if (_root.playedMayorIntro == true) {
this.gotoAndStop('101');
_root.game.mayor._alpha = 100;
} else {
if (_root.playedMayorIntro == false) {
_root.game.mayor._alpha = 0;
}
}
}
}
instance menuButton of movieClip 274 {
onClipEvent (load) {
if (_root.gotBook == false) {
this._alpha = 0;
}
}
onClipEvent (release) {
if (_root.gameAlive == true && _root.gotBook == true && _root.menuAlive == true) {
_root.loadBook = true;
_root.game.menu1.gotoAndPlay('2');
_root.game.menuButton._alpha = 0;
}
}
}
instance of movieClip 280 {
onClipEvent (release) {
if (_root.gameAlive == true) {
if (_root.sound == 1) {
_root.sound = 2;
_root.masterSound.setVolume(66);
this.gotoAndStop('2');
} else {
if (_root.sound == 2) {
_root.sound = 3;
_root.masterSound.setVolume(33);
this.gotoAndStop('3');
} else {
if (_root.sound == 3) {
_root.sound = 4;
_root.masterSound.setVolume(0);
this.gotoAndStop('4');
} else {
if (_root.sound == 4) {
_root.sound = 1;
_root.masterSound.setVolume(100);
this.gotoAndStop('1');
}
}
}
}
}
}
}
frame 9 {
stop();
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.cityHallDialogue.gotoAndStop('8');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.cityHallDialogue.gotoAndStop('7');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.cityHallDialogue.gotoAndStop('1');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.cityHallDialogue.gotoAndStop('5');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.cityHallDialogue.gotoAndStop('6');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.cityHallDialogue.gotoAndStop('2');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.cityHallDialogue.gotoAndStop('4');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.cityHallDialogue.gotoAndStop('4');
_root.gameAlive = false;
}
}
}
instance cityHallDialogue of movieClip 293 {
onClipEvent (load) {
this.gotoAndStop('101');
}
}
frame 10 {
stop();
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.junctionADialogue.gotoAndStop('1');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.junctionADialogue.gotoAndStop('3');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.junctionADialogue.gotoAndStop('5');
_root.gameAlive = false;
}
}
}
instance junctionADialogue of movieClip 305 {
onClipEvent (load) {
this.gotoAndStop('101');
}
}
frame 11 {
stop();
}
instance of movieClip 34 {
onClipEvent (load) {
if (_root.twilightDoorUnlocked == true) {
this._x += 300;
}
}
onClipEvent (release) {
if (_root.gameAlive == true) {
if (_root.twilightDoorUnlocked == false) {
_root.game.libraryOutsideDialogue.gotoAndStop('3');
_root.gameAlive = false;
}
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.libraryOutsideDialogue.gotoAndStop('1');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.libraryOutsideDialogue.gotoAndStop('10');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.libraryOutsideDialogue.gotoAndStop('18');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.libraryOutsideDialogue.gotoAndStop('14');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.libraryOutsideDialogue.gotoAndStop('15');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.libraryOutsideDialogue.gotoAndStop('16');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.libraryOutsideDialogue.gotoAndStop('17');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.libraryOutsideDialogue.gotoAndStop('19');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.libraryOutsideDialogue.gotoAndStop('13');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.libraryOutsideDialogue.gotoAndStop('12');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.libraryOutsideDialogue.gotoAndStop('20');
_root.gameAlive = false;
}
}
}
instance libraryOutsideDialogue of movieClip 333 {
onClipEvent (load) {
this.gotoAndStop('101');
}
}
frame 12 {
stop();
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.sugarcubeDialogue.gotoAndStop('14');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.sugarcubeDialogue.gotoAndStop('22');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.sugarcubeDialogue.gotoAndStop('11');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.sugarcubeDialogue.gotoAndStop('1');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.sugarcubeDialogue.gotoAndStop('6');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.sugarcubeDialogue.gotoAndStop('8');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.sugarcubeDialogue.gotoAndStop('10');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.sugarcubeDialogue.gotoAndStop('10');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.sugarcubeDialogue.gotoAndStop('12');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.sugarcubeDialogue.gotoAndStop('9');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.sugarcubeDialogue.gotoAndStop('13');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.sugarcubeDialogue.gotoAndStop('19');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.sugarcubeDialogue.gotoAndStop('17');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.sugarcubeDialogue.gotoAndStop('18');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.sugarcubeDialogue.gotoAndStop('21');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.sugarcubeDialogue.gotoAndStop('21');
_root.gameAlive = false;
}
}
}
instance sugarcubeDialogue of movieClip 363 {
onClipEvent (load) {
this.gotoAndStop('101');
}
}
frame 13 {
stop();
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.boutiqueDialogue.gotoAndStop('6');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.boutiqueDialogue.gotoAndStop('1');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.boutiqueDialogue.gotoAndStop('5');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.boutiqueDialogue.gotoAndStop('2');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.boutiqueDialogue.gotoAndStop('4');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.boutiqueDialogue.gotoAndStop('4');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.boutiqueDialogue.gotoAndStop('3');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.boutiqueDialogue.gotoAndStop('3');
_root.gameAlive = false;
}
}
}
instance boutiqueDialogue of movieClip 373 {
onClipEvent (load) {
this.gotoAndStop('101');
}
}
frame 14 {
_root.puffyClicked = false;
stop();
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.puffyDialogue.gotoAndStop('32');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
if (_root.talkedToPuffy == false) {
_parent.puffyDialogue.gotoAndStop('1');
_root.puffyClicked = true;
} else {
_parent.puffyDialogue.gotoAndStop('9');
}
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.puffyDialogue.gotoAndStop('12');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
if (_root.playerGender == 1) {
_parent.puffyDialogue.gotoAndStop('16');
} else {
if (_root.playerGender == 2) {
_parent.puffyDialogue.gotoAndStop('17');
}
}
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.puffyDialogue.gotoAndStop('25');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.puffyDialogue.gotoAndStop('26');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.puffyDialogue.gotoAndStop('27');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.puffyDialogue.gotoAndStop('30');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.puffyDialogue.gotoAndStop('29');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.puffyDialogue.gotoAndStop('28');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.puffyDialogue.gotoAndStop('18');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.puffyDialogue.gotoAndStop('31');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.puffyDialogue.gotoAndStop('33');
_root.gameAlive = false;
}
}
}
instance puffyDialogue of movieClip 444 {
onClipEvent (load) {
if (_root.wentToShop == true) {
if (_root.boughtFromShop == true) {
this.gotoAndStop('10');
_root.boughtFromShop = false;
} else {
this.gotoAndStop('11');
}
_root.wentToShop = false;
} else {
this.gotoAndStop('101');
}
}
}
frame 15 {
stop();
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.boulderDialogue.gotoAndStop('12');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.boulderDialogue.gotoAndStop('13');
_root.gameAlive = false;
}
}
}
instance boulderDialogue of movieClip 469 {
onClipEvent (load) {
this.gotoAndStop('101');
}
}
frame 16 {
emptyTile = 13;
canMoveTiles = true;
moveTheTiles = false;
moveThemLeft = false;
moveThemRight = false;
_root.finishedPuzzle5 = false;
tilePuzzleBeat = false;
youWon = false;
if (_root.skippedPuzzle == true && _root.puzzle5Beat == false) {
skipButton._alpha = 50;
skipButton.enabled = false;
}
if (_root.hardMode == false) {
movesText.text = '';
} else {
if (_root.hardMode == true) {
moves = 100;
movesText.text = 'Moves Left: ' + moves;
}
}
dontCheat = false;
quickCheck = function () {
if (move1.move2.tile14.pos == 1 && move1.move2.tile5.pos == 2 && move1.move2.tile10.pos == 3 && move1.move2.tile3.pos == 4 && move1.move2.tile2.pos == 5 && move1.move2.tile16.pos == 6 && move1.move2.tile6.pos == 7 && move1.move2.tile8.pos == 8 && move1.move2.tile7.pos == 9 && move1.move2.tile1.pos == 10 && move1.move2.tile15.pos == 11 && move1.move2.tile9.pos == 12 && move1.move2.tile11.pos == 14 && move1.move2.tile12.pos == 15 && move1.move2.tile4.pos == 16) {
_root.game.youWon = true;
}
};
checkTilePuzzle = function () {
if (move1.move2.tile14.pos == 1 && move1.move2.tile5.pos == 2 && move1.move2.tile10.pos == 3 && move1.move2.tile3.pos == 4 && move1.move2.tile2.pos == 5 && move1.move2.tile16.pos == 6 && move1.move2.tile6.pos == 7 && move1.move2.tile8.pos == 8 && move1.move2.tile7.pos == 9 && move1.move2.tile1.pos == 10 && move1.move2.tile15.pos == 11 && move1.move2.tile9.pos == 12 && move1.move2.tile11.pos == 14 && move1.move2.tile12.pos == 15 && move1.move2.tile4.pos == 16) {
_root.gameAlive = false;
move1.move2.tile13.gotoAndStop('13');
if (_root.puzzle5Beat == false) {
_root.finishedPuzzle5 = true;
_root.tilePuzzleBeat = true;
_root.skippedPuzzle = false;
}
_root.ding.start();
_root.ding.onSoundComplete = function () {
_root.game.blurMe.gotoAndPlay('2');
_root.room = 13;
};
}
};
onEnterFrame = function () {
if (_root.hardMode == true) {
if (moves >= 10) {
movesText.text = 'Moves Left: ' + moves;
} else {
if (moves < 10) {
movesText.text = 'Moves Left: 0' + moves;
}
}
}
if (_root.gameAlive == true && _root.finishedPuzzle5 == false) {
checkTilePuzzle();
}
};
stop();
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.junctionBDialogue.gotoAndStop('4');
_root.gameAlive = false;
}
}
}
instance junctionBDialogue of movieClip 305 {
onClipEvent (load) {
this.gotoAndStop('101');
}
}
frame 17 {
_root.clickedTwilight = false;
stop();
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.twilightDialogue.gotoAndStop('84');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.twilightDialogue.gotoAndStop('85');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.twilightDialogue.gotoAndStop('83');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
if (_root.talkedToTwilight == false) {
if (_root.gotPinkieMedal == 0 && _root.gotRarityMedal == 0) {
_parent.twilightDialogue.gotoAndStop('1');
_root.clickedTwilight = true;
} else {
if (_root.gotRarityMedal > 0 || _root.gotPinkieMedal > 0) {
_parent.twilightDialogue.gotoAndStop('4');
}
}
} else {
i = 3;
dialogueArray = [1, 2, 6];
if (_root.rarityDidYourMane == true) {
dialogueArray[i] = 3;
i += 1;
}
if (_root.shopCleared == false) {
dialogueArray[i] = 4;
i += 1;
}
if (_root.talkedToApplejack == true && _root.boulderMoved == false) {
dialogueArray[i] = 5;
i += 1;
}
if (_root.talkedToPinkie == false) {
dialogueArray[i] = 7;
i += 1;
}
if (_root.talkedToRarity == false) {
dialogueArray[i] = 8;
i += 1;
}
dialogueArray.sort(function () {
return Math.round(Math.random());
});
trace(dialogueArray);
chosen = dialogueArray[0];
if (chosen == 1) {
_parent.twilightDialogue.gotoAndStop('39');
} else {
if (chosen == 2) {
_parent.twilightDialogue.gotoAndStop('47');
} else {
if (chosen == 3) {
_parent.twilightDialogue.gotoAndStop('55');
} else {
if (chosen == 4) {
_parent.twilightDialogue.gotoAndStop('58');
} else {
if (chosen == 5) {
_parent.twilightDialogue.gotoAndStop('62');
} else {
if (chosen == 6) {
_parent.twilightDialogue.gotoAndStop('38');
} else {
if (chosen == 7) {
_parent.twilightDialogue.gotoAndStop('43');
} else {
if (chosen == 8) {
_parent.twilightDialogue.gotoAndStop('65');
} else {
_parent.twilightDialogue.gotoAndStop('38');
trace('Twilight\'s Message Failed!');
}
}
}
}
}
}
}
}
}
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.twilightDialogue.gotoAndStop('68');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.twilightDialogue.gotoAndStop('73');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.twilightDialogue.gotoAndStop('74');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.twilightDialogue.gotoAndStop('76');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.twilightDialogue.gotoAndStop('80');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.twilightDialogue.gotoAndStop('77');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.twilightDialogue.gotoAndStop('78');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.twilightDialogue.gotoAndStop('79');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.twilightDialogue.gotoAndStop('88');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.twilightDialogue.gotoAndStop('101');
_root.gameAlive = false;
}
}
}
instance twilightDialogue of movieClip 626 {
onClipEvent (load) {
this.gotoAndStop('251');
_root.game.twilight._alpha = 100;
}
}
frame 18 {
stop();
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
if (_root.talkedToPinkie == false) {
if (_root.talkedToTwilight == false) {
_parent.pinkieDialogue.gotoAndStop('1');
} else {
if (_root.talkedToTwilight == true) {
_parent.pinkieDialogue.gotoAndStop('10');
}
}
} else {
_parent.pinkieDialogue.gotoAndStop('28');
}
_parent.pinkie._alpha = 0;
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.pinkieDialogue.gotoAndStop('61');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.pinkieDialogue.gotoAndStop('60');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.pinkieDialogue.gotoAndStop('63');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.pinkieDialogue.gotoAndStop('59');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.pinkieDialogue.gotoAndStop('62');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.pinkieDialogue.gotoAndStop('57');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.pinkieDialogue.gotoAndStop('55');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.pinkieDialogue.gotoAndStop('65');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.pinkieDialogue.gotoAndStop('58');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.pinkieDialogue.gotoAndStop('66');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.pinkieDialogue.gotoAndStop('67');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.pinkieDialogue.gotoAndStop('68');
_root.gameAlive = false;
}
}
}
instance pinkieDialogue of movieClip 742 {
onClipEvent (load) {
if (_root.pinkieGameWon == true) {
this.gotoAndStop('33');
_root.menuAlive = false;
_root.pinkieGameWon = false;
_parent.pinkie._alpha = 0;
} else {
this.gotoAndStop('101');
}
}
}
frame 19 {
stop();
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.rarityDialogue.gotoAndStop('67');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.rarityDialogue.gotoAndStop('55');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.rarityDialogue.gotoAndStop('59');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.rarityDialogue.gotoAndStop('56');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.rarityDialogue.gotoAndStop('60');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.rarityDialogue.gotoAndStop('66');
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
if (_root.talkedToRarity == false) {
if (_root.talkedToTwilight == false) {
_parent.rarityDialogue.gotoAndStop('2');
} else {
if (_root.talkedToTwilight == true) {
_parent.rarityDialogue.gotoAndStop('1');
}
}
} else {
_parent.rarityDialogue.gotoAndStop('30');
}
_parent.rarity._alpha = 0;
_root.gameAlive = false;
}
}
}
instance of movieClip 34 {
onClipEvent (release) {
if (_root.gameAlive == true) {
_parent.rarityDialogue.gotoAndStop('57');
_root.gameAlive = false;
}
}
}
instance rarityDialogue of movieClip 925 {
onClipEvent (load) {
if (_root.rarityGameWon == true) {
this.gotoAndStop('34');
_root.menuAlive = false;
_root.rarityGameWon = false;
_parent.rarity._alpha = 0;
} else {
this.gotoAndStop('101');
}
}
}
frame 20 {
if (_root.finishedPuzzle6 == true) {
bckButton._alpha = 0;
bckButton.enabled = false;
}
if (_root.soundTestPlay == false) {
if (_root.canStartDining == false) {
_root.diningTheme.start();
_root.diningTheme.onSoundComplete = function () {
if (_root.canStartDining == true) {
_root.diningTheme.start();
}
};
_root.canStartDining = true;
}
}
dontCheat = true;
onEnterFrame = function () {
if (_root.gameAlive == true) {
if (_root.finishedPuzzle6 == true) {
_root.gameAlive = false;
libraryPresent.gotoAndPlay('2');
_root.finishedPuzzle6 = false;
}
}
if (_root.libraryPresentDone == true) {
_root.openDoor7 = true;
_root.game.blurMe.gotoAndPlay('2');
_root.room = 11;
_root.libraryPresentDone = false;
}
};
stop();
}
frame 21 {
if (_root.skippedPuzzle == true && _root.puzzle6Beat == false) {
skipButton._alpha = 50;
skipButton.enabled = false;
}
firstChoice = true;
secondChoice = false;
canWin = true;
dontCheat = false;
_root.libraryPuzzleBeat = false;
if (_root.hardMode == false) {
randomizeBooks = function () {
function shuffle(a, b) {
return random(2);
}
g = 13;
j = 0;
a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
a.sort(shuffle);
i = 1;
while (i < g) {
_root.game['book' + i].num = a[j];
_root.game['book' + i].chosen = false;
_root.game['book' + i].startNum = i;
if (_root.game['book' + i].num > 0 && _root.game['book' + i].num <= 3) {
_root.game['book' + i].colour = 3;
} else {
if (_root.game['book' + i].num > 3 && _root.game['book' + i].num <= 6) {
_root.game['book' + i].colour = 2;
}
}
if (_root.game['book' + i].num > 6 && _root.game['book' + i].num <= 12) {
_root.game['book' + i].colour = 1;
}
j += 1;
++i;
}
};
} else {
if (_root.hardMode == true) {
randomizeBooks = function () {
function shuffle(a, b) {
return random(2);
}
g = 13;
j = 0;
a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
a.sort(shuffle);
i = 1;
while (i < g) {
_root.game['book' + i].num = a[j];
_root.game['book' + i].chosen = false;
_root.game['book' + i].startNum = i;
j += 1;
++i;
}
};
}
}
randomizeBooks();
onEnterFrame = function () {
if (_root.gameAlive == true && canWin == true) {
if (_root.hardMode == false) {
if (_root.game.book1.num == 1 && _root.game.book2.num == 2 && _root.game.book3.num == 3 && _root.game.book4.num == 4 && _root.game.book5.num == 5 && _root.game.book6.num == 6 && _root.game.book7.num == 7 && _root.game.book8.num == 8 && _root.game.book9.num == 9 && _root.game.book10.num == 10 && _root.game.book11.num == 11 && _root.game.book12.num == 12 || _root.game.book1.num == 1 && _root.game.book2.num == 2 && _root.game.book3.num == 3 && _root.game.book4.num == 4 && _root.game.book5.num == 5 && _root.game.book6.num == 6 && _root.game.book7.num == 7 && _root.game.book8.num == 8 && _root.game.book9.num == 10 && _root.game.book10.num == 9 && _root.game.book11.num == 11 && _root.game.book12.num == 12) {
_root.gameAlive = false;
canWin = false;
if (_root.puzzle6Beat == false) {
_root.skippedPuzzle = false;
_root.finishedPuzzle6 = true;
}
_root.ding.start();
_root.ding.onSoundComplete = function () {
_root.game.blurMe.gotoAndPlay('2');
_root.room = 15;
};
}
} else {
if (_root.hardMode == true) {
if (_root.game.book1.num == 1 && _root.game.book2.num == 2 && _root.game.book6.num == 6 && _root.game.book9.num == 9) {
if (_root.game.book3.num == 3 || _root.game.book3.num == 8) {
if (_root.game.book4.num == 4 || _root.game.book4.num == 5) {
if (_root.game.book5.num == 4 || _root.game.book5.num == 5) {
if (_root.game.book7.num == 7 || _root.game.book7.num == 10) {
if (_root.game.book8.num == 8 || _root.game.book8.num == 3) {
if (_root.game.book10.num == 10 || _root.game.book10.num == 7) {
if (_root.game.book11.num == 11 || _root.game.book11.num == 12) {
if (_root.game.book12.num == 12 || _root.game.book12.num == 11) {
_root.gameAlive = false;
canWin = false;
if (_root.puzzle6Beat == false) {
_root.skippedPuzzle = false;
_root.finishedPuzzle6 = true;
}
_root.ding.start();
_root.ding.onSoundComplete = function () {
_root.game.blurMe.gotoAndPlay('2');
_root.room = 15;
};
}
}
}
}
}
}
}
}
}
}
}
}
};
stop();
}
frame 22 {
goGirlyGo = true;
menuButton._alpha = 0;
menuButton.enabled = false;
dontCheat = false;
_root.seenGirlyIntro = true;
stop();
onEnterFrame = function () {
if (_root.gameAlive == true & goGirlyGo == true) {
_root.gameAlive = false;
thatsMyGirly.gotoAndPlay('2');
goGirlyGo = false;
}
};
}
frame 23 {
goGirlyGo = true;
menuButton._alpha = 0;
menuButton.enabled = false;
dontCheat = false;
onEnterFrame = function () {
if (_root.gameAlive == true & goGirlyGo == true) {
_root.gameAlive = false;
thatsMyGirly2.gotoAndPlay('2');
goGirlyGo = false;
}
};
stop();
}
frame 24 {
onEnterFrame = function () {
if (_root.gameAlive == true) {
_root.game.girlyPresent1.gotoAndPlay('2');
_root.gameAlive = false;
}
};
_root.game.menuButton._alpha = 0;
_root.game.menuButton.enabled = false;
dontCheat = false;
stop();
}
frame 25 {
_root.game.menuButton._alpha = 100;
_root.game.menuButton.enabled = true;
bannerStarted = false;
onEnterFrame = function () {
if (_root.gameAlive == true) {
if (bannerStarted == false) {
_root.game.banner.gotoAndPlay('2');
_root.game.gotThePresents.gotoAndPlay('2');
bannerStarted = true;
}
}
};
dontCheat = false;
stop();
}
frame 26 {
_root.game.menuButton._alpha = 100;
_root.game.menuButton.enabled = true;
if (_root.soundTestPlay == false) {
if (_root.soundTestPlay == false) {
if (_root.canStartThrone == false) {
_root.throneTheme.start();
_root.throneTheme.onSoundComplete = function () {
if (_root.canStartThrone == true) {
_root.throneTheme.start();
}
};
_root.canStartThrone = true;
}
}
} else {
if (_root.soundTestPlay == true) {
if (_root.canRestartSound == true) {
_root.restartSoundTest();
_root.canRestartSound = false;
}
}
}
if (_root.secretRoomOpen == false) {
_root.game.hideSecret.gotoAndStop('1');
} else {
if (_root.secretRoomOpen == true) {
_root.game.hideSecret.gotoAndStop('21');
}
}
onEnterFrame = function () {
if (_root.gameAlive == true && _root.secretRoomOpen == false) {
if (_root.foundEgg1 == true && _root.foundEgg2 == true && _root.foundEgg3 == true && _root.foundEgg4 == true && _root.foundEgg5 == true && _root.foundEgg6 == true && _root.foundEgg7 == true && _root.foundEgg8 == true) {
_root.game.hideSecret.gotoAndPlay('2');
_root.gameAlive = false;
_root.secretRoomOpen = true;
}
}
};
dontCheat = true;
stop();
}
frame 27 {
goMovie = true;
onEnterFrame = function () {
if (_root.gameAlive == true && goMovie == true) {
goMovie = false;
ratMovie.gotoAndPlay('2');
}
};
dontCheat = false;
stop();
}
frame 28 {
dontCheat = false;
_root.soundTestNum = 0;
_root.soundTestOn = true;
_root.masterSaveData = SharedObject.getLocal('masterSaveData');
if (_root.masterSaveData.data.saveData1 == undefined) {
_root.masterSaveData.data.saveData1 = true;
_root.masterSaveData.data.soundTestOn = _root.soundTestOn;
_root.masterSaveData.flush();
_root.game.autoSave.gotoAndPlay('2');
if (_root.currentGame == 1) {
_root.saveData1();
} else {
if (_root.currentGame == 2) {
_root.saveData2();
} else {
if (_root.currentGame == 3) {
_root.saveData3();
}
}
}
}
onEnterFrame = function () {
if (_root.soundTestPlayAll == true) {
playAllButton1.enabled = false;
playAllButton1._alpha = 50;
} else {
if (_root.soundTestPlayAll == false) {
playAllButton1.enabled = true;
playAllButton1._alpha = 100;
}
}
if (_root.soundTestNum == 0) {
courtyardButton.enabled = true;
courtyardButton._alpha = 100;
entryButton.enabled = true;
entryButton._alpha = 100;
diningButton.enabled = true;
diningButton._alpha = 100;
throneButton.enabled = true;
throneButton._alpha = 100;
tentacleButton.enabled = true;
tentacleButton._alpha = 100;
secretButton.enabled = true;
secretButton._alpha = 100;
playAllButton.enabled = true;
playAllButton._alpha = 100;
} else {
if (_root.soundTestNum == 1) {
courtyardButton.enabled = false;
courtyardButton._alpha = 50;
entryButton.enabled = true;
entryButton._alpha = 100;
diningButton.enabled = true;
diningButton._alpha = 100;
throneButton.enabled = true;
throneButton._alpha = 100;
tentacleButton.enabled = true;
tentacleButton._alpha = 100;
secretButton.enabled = true;
secretButton._alpha = 100;
playAllButton.enabled = true;
playAllButton._alpha = 100;
} else {
if (_root.soundTestNum == 2) {
courtyardButton.enabled = true;
courtyardButton._alpha = 100;
entryButton.enabled = false;
entryButton._alpha = 50;
diningButton.enabled = true;
diningButton._alpha = 100;
throneButton.enabled = true;
throneButton._alpha = 100;
tentacleButton.enabled = true;
tentacleButton._alpha = 100;
secretButton.enabled = true;
secretButton._alpha = 100;
playAllButton.enabled = true;
playAllButton._alpha = 100;
} else {
if (_root.soundTestNum == 3) {
courtyardButton.enabled = true;
courtyardButton._alpha = 100;
entryButton.enabled = true;
entryButton._alpha = 100;
diningButton.enabled = false;
diningButton._alpha = 50;
throneButton.enabled = true;
throneButton._alpha = 100;
tentacleButton.enabled = true;
tentacleButton._alpha = 100;
secretButton.enabled = true;
secretButton._alpha = 100;
playAllButton.enabled = true;
playAllButton._alpha = 100;
} else {
if (_root.soundTestNum == 4) {
courtyardButton.enabled = true;
courtyardButton._alpha = 100;
entryButton.enabled = true;
entryButton._alpha = 100;
diningButton.enabled = true;
diningButton._alpha = 100;
throneButton.enabled = false;
throneButton._alpha = 50;
tentacleButton.enabled = true;
tentacleButton._alpha = 100;
secretButton.enabled = true;
secretButton._alpha = 100;
playAllButton.enabled = true;
playAllButton._alpha = 100;
} else {
if (_root.soundTestNum == 5) {
courtyardButton.enabled = true;
courtyardButton._alpha = 100;
entryButton.enabled = true;
entryButton._alpha = 100;
diningButton.enabled = true;
diningButton._alpha = 100;
throneButton.enabled = true;
throneButton._alpha = 100;
tentacleButton.enabled = false;
tentacleButton._alpha = 50;
secretButton.enabled = true;
secretButton._alpha = 100;
playAllButton.enabled = true;
playAllButton._alpha = 100;
} else {
if (_root.soundTestNum == 6) {
courtyardButton.enabled = true;
courtyardButton._alpha = 100;
entryButton.enabled = true;
entryButton._alpha = 100;
diningButton.enabled = true;
diningButton._alpha = 100;
throneButton.enabled = true;
throneButton._alpha = 100;
tentacleButton.enabled = true;
tentacleButton._alpha = 100;
secretButton.enabled = false;
secretButton._alpha = 50;
playAllButton.enabled = true;
playAllButton._alpha = 100;
}
}
}
}
}
}
}
};
stop();
}
frame 29 {
goStickmanMovie = true;
dontCheat = false;
onEnterFrame = function () {
if (_root.gameAlive == true && goStickmanMovie == true) {
goStickmanMovie = false;
stickmanMovie.gotoAndPlay('2');
}
};
stop();
}
frame 30 {
goPDSMovie = true;
dontCheat = false;
onEnterFrame = function () {
if (_root.gameAlive == true && goPDSMovie == true) {
goPDSMovie = false;
pdsMovie.gotoAndPlay('2');
}
};
if (_root.canStartThrone == false) {
_root.pdsTheme.start();
_root.pdsTheme.onSoundComplete = function () {
if (_root.canStartPDS == true) {
_root.pdsTheme.start();
}
};
_root.canStartPDS = true;
}
stop();
}
frame 31 {
goMovie3 = true;
dontCheat = false;
onEnterFrame = function () {
if (_root.gameAlive == true && goMovie3 == true) {
goMovie3 = false;
voiceMovie.gotoAndPlay('2');
}
};
stop();
}
frame 32 {
if (_root.canStartThrone == false) {
_root.puffyTheme.start();
_root.puffyTheme.onSoundComplete = function () {
if (_root.canStartPuffy == true) {
_root.puffyTheme.start();
}
};
_root.canStartPuffy = true;
}
musicTimeText.text = '0:00/1:47';
dontCheat = false;
onEnterFrame = function () {
totalSeconds = _root.puffyTheme.position / 1000;
minutes = Math.floor(totalSeconds / 60);
seconds = Math.floor(totalSeconds) % 60;
if (seconds < 10) {
seconds = '0' + seconds;
}
musicTimeText.text = minutes + ':' + seconds + '/' + '1:47';
};
stop();
}
frame 33 {
goMovie2 = true;
onEnterFrame = function () {
if (_root.gameAlive == true && goMovie2 == true) {
goMovie2 = false;
creditsMovie.gotoAndPlay('2');
}
};
dontCheat = false;
stop();
}
frame 34 {
dontCheat = false;
if (_root.masterSaveData.data.saveData2 == undefined) {
_root.masterSaveData.data.saveData2 = true;
_root.masterSaveData.data.canPlayHard = true;
_root.canPlayHard = true;
_root.masterSaveData.flush();
_root.game.autoSave.gotoAndPlay('2');
if (_root.currentGame == 1) {
_root.saveData1();
} else {
if (_root.currentGame == 2) {
_root.saveData2();
} else {
if (_root.currentGame == 3) {
_root.saveData3();
}
}
}
_root.game.autoSave.gotoAndPlay('2');
}
if (_root.soundTestPlay == false) {
if (_root.canStartSecret == false) {
_root.secretTheme.start();
_root.secretTheme.onSoundComplete = function () {
if (_root.canStartSecret == true) {
_root.secretTheme.start();
}
};
_root.canStartSecret = true;
}
}
stop();
}
frame 35 {
dontCheat = false;
if (_root.soundTestPlay == false) {
if (_root.canStartSecret == false) {
_root.secretTheme.start();
_root.secretTheme.onSoundComplete = function () {
if (_root.canStartSecret == true) {
_root.secretTheme.start();
}
};
_root.canStartSecret = true;
}
}
stop();
}
frame 36 {
dontCheat = true;
if (_root.skippedPuzzle == true && _root.puzzle8Beat == false) {
skipButton._alpha = 50;
skipButton.enabled = false;
}
if (_root.soundTestPlay == false) {
if (_root.canStartSecret == false) {
_root.secretTheme.start();
_root.secretTheme.onSoundComplete = function () {
if (_root.canStartSecret == true) {
_root.secretTheme.start();
}
};
_root.canStartSecret = true;
}
}
onEnterFrame = function () {
if (_root.gameAlive == true && _root.finishedPuzzle8 == true) {
chest1.gotoAndPlay('2');
_root.finishedPuzzle8 = false;
_root.gameAlive = false;
}
};
stop();
}
frame 37 {
dontCheat = false;
_root.finishedPuzzle8 = false;
if (_root.skippedPuzzle == true && _root.puzzle8Beat == false) {
skipButton._alpha = 50;
skipButton.enabled = false;
}
if (_root.hardMode == false) {
randomizeClicks = function () {
function shuffle(a, b) {
return random(2);
}
g = 10;
j = 0;
a = [1, 2, 1, 1, 1, 1, 2, 1, 1];
a.sort(shuffle);
i = 1;
while (i < g) {
_root.game['click' + i].num = a[j];
if (_root.game['click' + i].num == 2) {
_root.game['click' + i].gotoAndStop('5');
}
j += 1;
++i;
}
};
} else {
if (_root.hardMode == true) {
randomizeClicks = function () {
function shuffle(a, b) {
return random(2);
}
g = 10;
j = 0;
a = [1, 2, 3, 1, 2, 1, 3, 1, 1];
a.sort(shuffle);
i = 1;
while (i < g) {
_root.game['click' + i].num = a[j];
if (_root.game['click' + i].num == 2) {
_root.game['click' + i].gotoAndStop('5');
} else {
if (_root.game['click' + i].num == 3) {
_root.game['click' + i].gotoAndStop('14');
}
}
j += 1;
++i;
}
};
}
}
randomizeClicks();
onEnterFrame = function () {
if (_root.gameAlive == true) {
if (_root.hardMode == false) {
if (click1.num == 2 && click2.num == 2 && click3.num == 2 && click4.num == 2 && click5.num == 2 && click6.num == 2 && click7.num == 2 && click8.num == 2 && click9.num == 2) {
_root.gameAlive = false;
if (_root.gotPresent8 == false) {
_root.finishedPuzzle8 = true;
_root.skippedPuzzle = false;
}
_root.ding.start();
_root.ding.onSoundComplete = function () {
_root.game.blurMe.gotoAndPlay('2');
_root.room = 31;
};
}
} else {
if (_root.hardMode == true) {
if (click1.num == 3 && click2.num == 3 && click3.num == 3 && click4.num == 3 && click5.num == 3 && click6.num == 3 && click7.num == 3 && click8.num == 3 && click9.num == 3) {
_root.gameAlive = false;
if (_root.gotPresent8 == false) {
_root.finishedPuzzle8 = true;
_root.skippedPuzzle = false;
}
_root.ding.start();
_root.ding.onSoundComplete = function () {
_root.game.blurMe.gotoAndPlay('2');
_root.room = 31;
};
}
}
}
}
};
stop();
}
frame 100 {
_root.memory = 1;
_root.wentToShop = true;
stop();
}
frame 101 {
stop();
}
frame 102 {
stop();
}
frame 103 {
stop();
}
}