Combined Code
movieClip 34 splode {
}
frame 1 {
function itemHandler1(obj, item) {
getURL('http://newgrounds.com', '_blank');
}
function itemHandler2(obj, item) {
getURL('http://freewebs.com/ldanimations', '_blank');
}
function itemHandler3(obj, item) {
_quality = 'high';
}
function itemHandler4(obj, item) {
_quality = 'medium';
}
function itemHandler5(obj, item) {
_quality = 'low';
}
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
aaa_cmi = new ContextMenuItem('Visit Newgrounds', itemHandler1);
bbb_cmi = new ContextMenuItem('LilDwarf Animations', itemHandler2);
ccc_cmi = new ContextMenuItem('High Quality', itemHandler3);
ddd_cmi = new ContextMenuItem('Medium Quality', itemHandler4);
eee_cmi = new ContextMenuItem('Low Quality', itemHandler5);
ccc_cmi.separatorBefore = true;
root_cm.customItems.push(aaa_cmi, bbb_cmi, ccc_cmi, ddd_cmi, eee_cmi);
_root.menu = root_cm;
}
movieClip 39 {
}
movieClip 42 {
}
movieClip 52 {
}
movieClip 54 {
frame 40 {
stop();
}
}
movieClip 65 {
}
button 67 {
on (press) {
_root.play();
}
}
button 68 {
on (release) {
_root.play();
}
}
movieClip 69 {
frame 1 {
function onEnterFrame() {
if (!loaded) {
var v3 = _root.getBytesLoaded() / _root.getBytesTotal();
if (v3 >= 1) {
if (firstframe) {
gotoAndStop('loaded');
} else {
play();
bar._x = initX;
}
loaded = true;
} else {
bar._x = initX + (v3 - 1) * bar._width;
}
}
var v4 = getTimer() - time;
timeAccum += v4;
while (timeAccum >= FRAME_TIME) {
var v2 = 0;
while (v2 < timeClips.length) {
if (timeClips[v2]._currentframe < timeClips[v2]._totalframes) {
timeClips[v2].nextFrame();
} else {
timeClips[v2].gotoAndStop(1);
}
++v2;
}
if (loaded && _currentframe < _totalframes) {
nextFrame();
}
timeAccum -= FRAME_TIME;
}
time += v4;
firstframe = false;
}
stop();
_root.stop();
var initX = bar._x;
var time = getTimer();
var FRAME_TIME = 33.33333333333334;
var timeAccum = 0;
var firstframe = true;
var loaded = false;
timeClips = [bargfx, tank.mc0, tank.mc1, tank.mc2, tank.mc3, tank.mc4, tank.mc4.mc0, tank.mc4.mc1, tank.mc4.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc0.mc2, tank.mc4.mc0.mc0.mc0.mc3, tank.mc4.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc2, tank.mc5.mc0];
var i = 0;
while (i < timeClips.length) {
timeClips[i].stop();
++i;
}
}
frame 53 {
}
}
frame 9 {
play();
var strength;
var charm;
var intelligence;
var pointsLeft;
var zeldaGalleryCheat;
var sariaGalleryCheat;
var nayruGalleryCheat;
var malonGalleryCheat;
var dinGalleryCheat;
var secretCheat;
var rupeeGot;
rupeeGot = 100;
secretCheat = 'false';
dinGalleryCheat = 'false';
nayruGalleryCheat = 'false';
malonGalleryCheat = 'false';
sariaGalleryCheat = 'false';
zeldaGalleryCheat = 'false';
pointsLeft = 27;
intelligence = 1;
charm = 1;
strength = 1;
onEnterFrame = function () {
if (secretCheat == 'false') {
secret._visible = false;
} else {
secret._visible = true;
}
if (zeldaGalleryCheat == 'false') {
zeldaGallery._visible = false;
} else {
zeldaGallery._visible = true;
}
if (sariaGalleryCheat == 'false') {
sariaGallery._visible = false;
} else {
sariaGallery._visible = true;
}
if (malonGalleryCheat == 'false') {
malonGallery._visible = false;
} else {
malonGallery._visible = true;
}
if (nayruGalleryCheat == 'false') {
nayruGallery._visible = false;
} else {
nayruGallery._visible = true;
}
if (dinGalleryCheat == 'false') {
dinGallery._visible = false;
} else {
dinGallery._visible = true;
}
};
}
frame 9 {
menuSong = new Sound(Ms);
menuSong.attachSound('Menu Song');
menuSong.start(0, 500);
}
movieClip 77 {
}
movieClip 80 {
frame 1 {
stop();
}
}
instance signLHouse of movieClip 80 {
onClipEvent (keyPress '<Space>') {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
}
}
}
button 82 {
on (release) {
gotoAndStop('MainMenu');
}
}
button 85 {
on (release) {
_root.menuSong.stop();
gotoAndStop(2);
}
}
button 88 {
on (release) {
_root.menuSong.start(0, 500);
gotoAndStop(1);
}
}
movieClip 89 {
frame 1 {
stop();
}
}
movieClip 95 {
}
movieClip 97 {
}
frame 295 {
stop();
}
button 125 {
on (release) {
gotoAndStop('Instructions');
}
}
button 126 {
on (release) {
gotoAndStop('customizeChar');
}
}
button 127 {
on (release) {
gotoAndStop('Disclaimer');
}
}
button 128 {
on (release) {
gotoAndStop('Secrets');
}
}
button 129 {
on (release) {
gotoAndStop('Cheats');
}
}
button 130 {
on (release) {
gotoAndStop('Gallery');
}
}
button 131 {
on (release) {
gotoAndStop('Credits');
stopAllSounds();
}
}
button 137 {
on (release) {
gotoAndStop('MainMenu');
}
}
button 149 {
on (release) {
if (_root.cheat == 'iluvzelda') {
_root.gotoAndStop('Cheat Accepted');
_root.zeldaGalleryCheat = 'true';
} else {
if (_root.cheat == 'reelsaria') {
_root.gotoAndStop('Cheat Accepted');
_root.sariaGalleryCheat = 'true';
} else {
if (_root.cheat == 'bfznayru') {
_root.gotoAndStop('Cheat Accepted');
_root.nayruGalleryCheat = 'true';
} else {
if (_root.cheat == 'd1ose') {
_root.gotoAndStop('Cheat Accepted');
_root.dinGalleryCheat = 'true';
} else {
if (_root.cheat == 'milk4evah') {
_root.gotoAndStop('Cheat Accepted');
_root.malonGalleryCheat = 'true';
} else {
if (_root.cheat == 'secretsnow') {
_root.gotoAndStop('Cheat Accepted');
_root.secretCheat = 'true';
} else {
if (_root.cheat == 'tiskewl') {
_root.gotoAndStop('Cheat Accepted');
_root.charm = 300;
_root.strength = 400;
_root.intelligence = 300;
} else {
if (_root.cheat == 'fin1337') {
_root.gotoAndStop('Cheat Accepted');
_root.rupeeGot = 100000;
} else {
gotoAndStop('Cheat Rejected');
}
}
}
}
}
}
}
}
}
}
button 155 {
on (release) {
gotoAndStop('Fun Facts');
}
}
button 158 {
on (release) {
gotoAndStop('Easter Eggs');
}
}
button 160 {
on (release) {
gotoAndStop('Secrets');
}
}
button 169 {
on (release) {
gotoAndStop('Malon G');
}
}
button 172 {
on (release) {
gotoAndStop('Nayru G');
}
}
button 175 {
on (release) {
gotoAndStop('Zelda G');
}
}
button 178 {
on (release) {
gotoAndStop('Saria G');
}
}
button 181 {
on (release) {
gotoAndStop('Din G');
}
}
button 184 {
on (release) {
gotoAndStop('Other G');
}
}
button 185 {
on (release) {
gotoAndStop('Gallery');
}
}
button 188 {
on (release) {
_root.zeldaG.gotoAndStop(_root.zeldaG._currentframe - 1);
}
}
button 191 {
on (release) {
_root.zeldaG.gotoAndStop(_root.zeldaG._currentframe + 1);
}
}
movieClip 215 {
frame 1 {
stop();
}
}
button 217 {
on (release) {
_root.sariaG.gotoAndStop(_root.sariaG._currentframe - 1);
}
}
button 218 {
on (release) {
_root.sariaG.gotoAndStop(_root.sariaG._currentframe + 1);
}
}
movieClip 240 {
frame 1 {
stop();
}
}
button 242 {
on (release) {
_root.malonG.gotoAndStop(_root.malonG._currentframe - 1);
}
}
button 243 {
on (release) {
_root.malonG.gotoAndStop(_root.malonG._currentframe + 1);
}
}
movieClip 268 {
frame 1 {
stop();
}
}
button 270 {
on (release) {
_root.nayruG.gotoAndStop(_root.nayruG._currentframe - 1);
}
}
button 271 {
on (release) {
_root.nayruG.gotoAndStop(_root.nayruG._currentframe + 1);
}
}
movieClip 293 {
frame 1 {
stop();
}
}
button 295 {
on (release) {
_root.dinG.gotoAndStop(_root.dinG._currentframe - 1);
}
}
button 296 {
on (release) {
_root.dinG.gotoAndStop(_root.dinG._currentframe + 1);
}
}
movieClip 317 {
frame 1 {
stop();
}
}
button 319 {
on (release) {
_root.otherG.gotoAndStop(_root.otherG._currentframe - 1);
}
}
button 320 {
on (release) {
_root.otherG.gotoAndStop(_root.otherG._currentframe + 1);
}
}
movieClip 342 {
frame 1 {
stop();
}
}
button 344 {
on (release) {
gotoAndStop('stats');
}
}
button 345 {
on (release) {
_root.gotoAndStop('MainMenu');
}
}
movieClip 357 {
}
movieClip 365 {
}
movieClip 372 {
}
movieClip 380 {
}
movieClip 381 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
instance of movieClip 357 {
onClipEvent (enterFrame) {
if (!Key.isDown(40)) {
_root.player.gotoAndStop(1);
}
}
}
frame 6 {
stop();
}
instance of movieClip 365 {
onClipEvent (enterFrame) {
if (!Key.isDown(37)) {
_root.player.gotoAndStop(2);
}
}
}
frame 7 {
stop();
}
instance of movieClip 372 {
onClipEvent (enterFrame) {
if (!Key.isDown(38)) {
_root.player.gotoAndStop(3);
}
}
}
frame 8 {
stop();
}
instance of movieClip 380 {
onClipEvent (enterFrame) {
if (!Key.isDown(39)) {
_root.player.gotoAndStop(4);
}
}
}
frame 9 {
stop();
}
instance of movieClip 357 {
onClipEvent (enterFrame) {
if (!Key.isDown(83)) {
_root.player.gotoAndStop(1);
}
}
}
frame 10 {
stop();
}
instance of movieClip 365 {
onClipEvent (enterFrame) {
if (!Key.isDown(65)) {
_root.player.gotoAndStop(2);
}
}
}
frame 11 {
stop();
}
instance of movieClip 372 {
onClipEvent (enterFrame) {
if (!Key.isDown(87)) {
_root.player.gotoAndStop(3);
}
}
}
frame 12 {
stop();
}
instance of movieClip 380 {
onClipEvent (enterFrame) {
if (!Key.isDown(68)) {
_root.player.gotoAndStop(4);
}
}
}
}
button 385 {
on (release) {
gotoAndStop('HUD');
}
}
button 386 {
on (release) {
gotoAndStop('intro');
}
}
button 389 {
on (release) {
gotoAndStop('HUD 2');
}
}
button 390 {
on (release) {
gotoAndStop('stats');
}
}
movieClip 394 {
}
movieClip 395 {
}
movieClip 403 {
}
button 409 {
on (release) {
_root.otherWords.gotoAndStop('stats');
}
}
button 412 {
on (release) {
_root.otherWords.gotoAndStop('items');
}
}
button 420 {
on (release) {
gotoAndStop('world');
}
}
button 421 {
on (release) {
gotoAndStop('HUD');
}
}
button 448 {
on (release) {
_root.song1.stop();
_root.song2.stop();
_root.song3.stop();
_root.song4.stop();
_root.song5.stop();
_root.song6.stop();
}
}
movieClip 449 {
frame 1 {
stop();
}
}
button 455 {
on (release) {
gotoAndStop('signs');
}
}
button 456 {
on (release) {
gotoAndStop('HUD 2');
}
}
movieClip 464 {
}
button 467 {
on (release) {
gotoAndStop('doors');
}
}
button 468 {
on (release) {
gotoAndStop('world');
}
}
movieClip 470 {
}
movieClip 472 {
}
button 474 {
on (release) {
gotoAndStop('Link Area');
}
}
button 475 {
on (release) {
gotoAndStop('signs');
}
}
movieClip 480 {
}
movieClip 481 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance doorExit of movieClip 480 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop('zeldaHouse');
}
}
}
}
movieClip 483 {
frame 1 {
stop();
}
}
button 486 {
on (release) {
gotoAndStop('Link House');
}
}
button 487 {
on (release) {
gotoAndStop('doors');
}
}
movieClip 493 {
}
button 494 {
on (release) {
gotoAndStop('Businesses');
}
}
button 495 {
on (release) {
gotoAndStop('Link Area');
}
}
button 496 {
on (release) {
_root.gotoAndStop('MainMenu');
}
}
movieClip 503 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
button 507 {
on (release) {
gotoAndStop('Girls');
}
}
button 508 {
on (release) {
gotoAndStop('Link House');
}
}
button 513 {
on (release) {
gotoAndStop('Socializing');
}
}
button 514 {
on (release) {
gotoAndStop('Businesses');
}
}
movieClip 517 {
}
movieClip 519 {
}
movieClip 521 {
}
movieClip 523 {
}
movieClip 525 {
}
movieClip 527 {
}
movieClip 529 {
}
movieClip 534 {
frame 1 {
stop();
}
}
button 566 {
on (release) {
gotoAndStop('Residences');
}
}
button 567 {
on (release) {
gotoAndStop('Girls');
}
}
button 572 {
on (release) {
gotoAndStop('Shooting Range');
}
}
button 573 {
on (release) {
gotoAndStop('Socializing');
}
}
button 578 {
on (release) {
gotoAndStop('end');
}
}
button 579 {
on (release) {
gotoAndStop('Residences');
}
}
button 584 {
on (release) {
gotoAndStop('Shooting Range');
}
}
movieClip 589 {
frame 1 {
stop();
}
instance player of movieClip 381 {
onClipEvent (load) {
speed = 5;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.gotoAndStop(8);
_x = _x + speed;
}
if (Key.isDown(68)) {
this.gotoAndStop(12);
_x = _x + speed;
}
if (Key.isDown(37)) {
this.gotoAndStop(6);
_x = _x - speed;
}
if (Key.isDown(65)) {
this.gotoAndStop(10);
_x = _x - speed;
}
if (Key.isDown(38)) {
this.gotoAndStop(7);
_y = _y - speed;
}
if (Key.isDown(87)) {
this.gotoAndStop(11);
_y = _y - speed;
}
if (Key.isDown(40)) {
this.gotoAndStop(5);
_y = _y + speed;
}
if (Key.isDown(83)) {
this.gotoAndStop(9);
_y = _y + speed;
}
if (this.hitTest(_root.instructions.sign)) {
if (Key.isDown(32)) {
trace('works');
_root.instructions.gotoAndStop('sign');
}
}
}
}
instance of movieClip 80 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
gotoAndStop('sign');
}
}
}
}
instance of movieClip 470 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(14);
}
}
}
}
instance of movieClip 472 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.signsWords.gotoAndStop('map3');
}
}
}
instance player of movieClip 381 {
onClipEvent (load) {
speed = 5;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.gotoAndStop(8);
_x = _x + speed;
}
if (Key.isDown(68)) {
this.gotoAndStop(12);
_x = _x + speed;
}
if (Key.isDown(37)) {
this.gotoAndStop(6);
_x = _x - speed;
}
if (Key.isDown(65)) {
this.gotoAndStop(10);
_x = _x - speed;
}
if (Key.isDown(38)) {
this.gotoAndStop(7);
_y = _y - speed;
}
if (Key.isDown(87)) {
this.gotoAndStop(11);
_y = _y - speed;
}
if (Key.isDown(40)) {
this.gotoAndStop(5);
_y = _y + speed;
}
if (Key.isDown(83)) {
this.gotoAndStop(9);
_y = _y + speed;
}
if (this.hitTest(_root.instructions.door)) {
if (Key.isDown(32)) {
_root.instructions.door.gotoAndStop(2);
}
}
}
}
instance door of movieClip 483 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
}
}
}
}
instance player of movieClip 381 {
onClipEvent (load) {
speed = 5;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.gotoAndStop(8);
_x = _x + speed;
}
if (Key.isDown(68)) {
this.gotoAndStop(12);
_x = _x + speed;
}
if (Key.isDown(37)) {
this.gotoAndStop(6);
_x = _x - speed;
}
if (Key.isDown(65)) {
this.gotoAndStop(10);
_x = _x - speed;
}
if (Key.isDown(38)) {
this.gotoAndStop(7);
_y = _y - speed;
}
if (Key.isDown(87)) {
this.gotoAndStop(11);
_y = _y - speed;
}
if (Key.isDown(40)) {
this.gotoAndStop(5);
_y = _y + speed;
}
if (Key.isDown(83)) {
this.gotoAndStop(9);
_y = _y + speed;
}
if (this.hitTest(_root.instructions.zelda)) {
if (Key.isDown(32)) {
_root.instructions.gotoAndStop('end 2');
}
}
}
}
}
button 591 {
on (release) {
stopAllSounds();
gotoAndStop('MainMenu');
menuSong.start(0, 500);
}
}
movieClip 594 {
}
movieClip 596 {
}
movieClip 598 {
}
movieClip 600 {
}
movieClip 602 {
}
movieClip 604 {
}
movieClip 606 {
}
movieClip 608 {
}
movieClip 610 {
}
movieClip 612 {
}
movieClip 614 {
}
movieClip 616 {
}
movieClip 618 {
}
movieClip 620 {
}
movieClip 622 {
}
movieClip 624 {
}
movieClip 626 {
}
movieClip 628 {
}
movieClip 630 {
}
movieClip 632 {
}
movieClip 634 {
}
movieClip 636 {
}
movieClip 638 {
}
movieClip 640 {
}
movieClip 642 {
}
movieClip 643 {
frame 2823 {
stop();
}
}
frame 526 {
stop();
}
button 654 {
on (release) {
strength -= 1;
pointsLeft += 1;
if (strength <= 1) {
this.strengthDown.enabled = false;
}
if (strength <= 27) {
strengthUp.enabled = true;
}
if (pointsLeft == 27) {
this.strengthDown.enabled = false;
charmDown.enabled = false;
smartsDown.enabled = false;
}
if (pointsLeft >= 1) {
charmUp.enabled = true;
strengthUp.enabled = true;
smartsUp.enabled = true;
}
}
}
button 656 {
on (release) {
strength += 1;
pointsLeft -= 1;
if (strength == 28) {
this.strengthUp.enabled = false;
}
if (strength >= 2) {
strengthDown.enabled = true;
}
if (pointsLeft == 0) {
this.strengthUp.enabled = false;
smartsUp.enabled = false;
charmUp.enabled = false;
}
if (pointsLeft <= 26) {
strengthDown.enabled = true;
}
}
}
button 657 {
on (release) {
charm -= 1;
pointsLeft += 1;
if (charm <= 1) {
this.charmDown.enabled = false;
}
if (charm <= 27) {
charmUp.enabled = true;
}
if (pointsLeft == 27) {
this.charmDown.enabled = false;
strengthDown.enabled = false;
smartsDown.enabled = false;
}
if (pointsLeft >= 1) {
charmUp.enabled = true;
strengthUp.enabled = true;
smartsUp.enabled = true;
}
}
}
button 658 {
on (release) {
charm += 1;
pointsLeft -= 1;
if (charm == 30) {
this.charmUp.enabled = false;
}
if (charm >= 2) {
charmDown.enabled = true;
}
if (pointsLeft == 0) {
this.charmUp.enabled = false;
strengthUp.enabled = false;
smartsUp.enabled = false;
}
if (pointsLeft <= 26) {
charmDown.enabled = true;
}
}
}
button 659 {
on (release) {
intelligence -= 1;
pointsLeft += 1;
if (intelligence <= 1) {
this.smartsDown.enabled = false;
}
if (intelligence <= 27) {
smartsUp.enabled = true;
}
if (pointsLeft == 27) {
this.smartsDown.enabled = false;
charmDown.enabled = false;
strengthDown.enabled = false;
}
if (pointsLeft >= 1) {
charmUp.enabled = true;
strengthUp.enabled = true;
smartsUp.enabled = true;
}
}
}
button 660 {
on (release) {
intelligence += 1;
pointsLeft -= 1;
if (intelligence == 30) {
this.smartsUp.enabled = false;
}
if (intelligence >= 2) {
smartsDown.enabled = true;
}
if (pointsLeft == 0) {
this.smartsUp.enabled = false;
charmUp.enabled = false;
strengthUp.enabled = false;
}
if (pointsLeft <= 26) {
smartsDown.enabled = true;
}
}
}
button 663 {
on (release) {
gotoAndPlay('start');
stopAllSounds();
}
}
frame 538 {
stop();
}
button 664 {
on (release) {
if (pointsLeft >= 1) {
gotoAndStop('error');
} else {
gotoAndPlay('start');
stopAllSounds();
}
}
}
frame 554 {
var currentDay;
var energyLeft;
var statsZelda;
var statsSaria;
var statsMalon;
var statsDin;
var statsNayru;
var levelZelda;
var levelSaria;
var levelMalon;
var levelDin;
var levelNayru;
var randomfight;
var randomball;
var itemFlower;
var itemStick;
var itemOcarina;
var itemFairy;
var itemBracelet;
var itemWeed;
var itemCoke;
var itemFireOrb;
var itemWaterOrb;
var dateStats;
var talkTimes;
var randomDatePic;
var touchTimes;
var giveTimes;
var picTimes;
var kissTimes;
var sexPic;
var score;
var shootingRevenue;
var secretgallery;
var secretcode;
var savefile = SharedObject.getLocal('ZeldaSimDate');
dateStats = 0;
kissTimes = 0;
talkTimes = 0;
picTimes = 0;
giveTimes = 0;
touchTimes = 0;
score = 0;
itemWeed = 0;
itemCoke = 0;
itemWaterOrb = 0;
itemFireOrb = 0;
itemBracelet = 0;
itemFairy = 0;
itemOcarina = 0;
itemStick = 0;
itemFlower = 0;
energyLeft = 100;
currentDay = 1;
statsNayru = 0;
statsDin = 0;
statsMalon = 0;
statsSaria = 0;
statsZelda = 0;
levelNayru = 'Stranger';
levelMalon = 'Stranger';
levelDin = 'Stranger';
levelSaria = 'Stranger';
levelZelda = 'Stranger';
shootingRevenue = int(Math.random() * 10 + 1) + score * 10;
onEnterFrame = function () {
sexPic = int(Math.random() * 10) + 1;
randomDatePic = int(Math.random() * 10);
randomfight = Math.floor(Math.random() * 6);
randomball = Math.floor(Math.random() * 11);
if (doorBlacksmith.hitTest(player)) {
if (Key.isDown(32)) {
gotoAndStop('openBlacksmith');
}
}
if (doorLink.hitTest(player)) {
if (Key.isDown(32)) {
gotoAndStop('openLH2');
}
}
if (doorLibrary.hitTest(player)) {
if (Key.isDown(32)) {
gotoAndStop('openLibrary');
}
}
if (doorGym.hitTest(player)) {
if (Key.isDown(32)) {
gotoAndStop('openGym');
}
}
if (doorBar.hitTest(player)) {
if (Key.isDown(32)) {
gotoAndStop('openBar');
}
}
if (doorShop.hitTest(player)) {
if (Key.isDown(32)) {
gotoAndStop('openShop');
}
}
if (doorZelda.hitTest(player)) {
if (Key.isDown(32)) {
gotoAndStop('openZelda');
}
}
if (doorSaria.hitTest(player)) {
if (Key.isDown(32)) {
gotoAndStop('openSaria');
}
}
if (doorDin.hitTest(player)) {
if (Key.isDown(32)) {
gotoAndStop('openDin');
}
}
if (doorNayru.hitTest(player)) {
if (Key.isDown(32)) {
gotoAndStop('openNayru');
}
}
if (doorMalon.hitTest(player)) {
if (Key.isDown(32)) {
gotoAndStop('openMalon');
}
}
if (spices.hitTest(player)) {
if (Key.isDown(32)) {
otherWords.gotoAndStop('spicesThing');
}
}
if (barrel.hitTest(player)) {
if (key.isDown(32)) {
otherWords.gotoAndStop('woodenLogs');
}
}
if (malonMilk.hitTest(player)) {
if (Key.isDown(32)) {
otherWords.gotoAndStop('malonMilk');
}
}
if (statsZelda < 0) {
levelZelda = 'Purgatory';
}
if (statsSaria < 0) {
levelSaria = 'Purgatory';
}
if (statsMalon < 0) {
levelMalon = 'Purgatory';
}
if (statsDin < 0) {
levelDin = 'Purgatory';
}
if (statsNayru < 0) {
levelNaryu = 'Purgatory';
}
if (currentDay >= 101) {
gotoAndPlay('Game Over');
}
if (strength <= 0) {
strength = 0;
}
if (charm <= 0) {
charm = 0;
}
if (intelligence <= 0) {
intelligence = 0;
}
if (strength >= 400) {
strength = 400;
}
if (intelligence >= 300) {
intelligence = 300;
}
if (charm >= 300) {
charm = 300;
}
if (statsZelda >= 8000) {
gotoAndStop('Win');
_root.secretgallery = 'iluvzelda';
} else {
if (statsSaria >= 8500) {
gotoAndStop('Win');
_root.secretgallery = 'reelsaria';
} else {
if (statsMalon >= 8500) {
gotoAndStop('Win');
_root.secretgallery = 'milk4evah';
} else {
if (statsDin >= 8500) {
gotoAndStop('Win');
_root.secretgallery = 'd1ose';
} else {
if (statsNayru >= 8500) {
gotoAndStop('Win');
_root.secretgallery = 'bfznayru';
}
}
}
}
}
if (_root.currentDay <= 85 && _root.currentday >= 71) {
_root.secretcode = 'tiskewl';
} else {
if (_root.currentDay <= 70) {
_root.secretcode = 'fin1337';
}
}
};
}
instance signLHouse of movieClip 80 {
onClipEvent (keyPress '<Space>') {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
}
}
}
button 674 {
on (release) {
gotoAndStop('startMove');
}
}
movieClip 676 {
frame 1 {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var v4 = sX / this._width;
var v3 = sY / this._height;
_parent._x = cX - this._x * v4;
_parent._y = cY - this._y * v3;
_parent._xscale = 100 * v4;
_parent._yscale = 100 * v3;
}
function resetStage() {
var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0};
parentColor.setTransform(v2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = 'exactFit';
var cX = Stage.width / 2;
var cY = Stage.height / 2;
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
}
frame 610 {
intro = new Sound(i);
intro.attachSound('House Song');
intro.start(0, 500);
}
movieClip 680 {
}
instance waterThing of movieClip 680 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.otherWords.gotoAndStop('waterLink');
}
}
}
}
movieClip 682 {
}
instance spices of movieClip 682 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.otherWords.gotoAndStop('spicesThing');
}
}
}
}
movieClip 687 {
}
frame 743 {
stop();
}
movieClip 692 {
}
button 694 {
on (release) {
gotoAndStop('sitBed');
}
}
frame 749 {
stop();
}
button 699 {
on (release) {
gotoAndPlay('jumpBed');
}
}
instance of movieClip 380 {
onClipEvent (enterFrame) {
if (!Key.isDown(39)) {
_root.player.gotoAndStop(1);
}
}
}
instance player of movieClip 381 {
onClipEvent (load) {
speed = 5;
}
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
_y = _y + speed;
this.gotoAndStop(5);
}
if (Key.isDown(37)) {
_x = _x - speed;
this.gotoAndStop(6);
}
if (Key.isDown(38)) {
_y = _y - speed;
this.gotoAndStop(7);
}
if (Key.isDown(39)) {
_x = _x + speed;
this.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.inLinkHouseTop)) {
this._y += speed;
}
if (this.hitTest(_root.inLinkHouseLeft)) {
this._x += speed;
}
if (this.hitTest(_root.inLinkHouseRight)) {
this._x -= speed;
}
if (this.hitTest(_root.inLinkHousebottom1)) {
this._y -= speed;
}
if (this.hitTest(_root.inLinkHousebottom2)) {
this._y -= speed;
}
if (this.hitTest(_root.exitHouse)) {
_root.gotoAndStop('outsideHouse');
_x = 323.9;
_y = 128.2;
}
}
}
frame 770 {
stop();
}
button 704 {
on (release) {
gotoAndStop('startMove');
}
}
frame 780 {
stop();
}
frame 780 {
intro.stop();
}
movieClip 707 {
}
instance saveChest of movieClip 503 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
_root.otherWords.gotoAndStop('save');
}
}
if (_root.otherWords._currentframe <= 94) {
this.gotoAndStop(1);
}
}
}
instance linkBed of movieClip 493 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.otherWords.gotoAndStop('LinkBed');
}
}
}
movieClip 712 {
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.otherWords.gotoAndStop('newgrounds');
}
}
}
instance player of movieClip 381 {
onClipEvent (load) {
speed = 5;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.gotoAndStop(8);
if (_root.ground.hitTest(_x + 12, _y - 10, true) == false) {
if (_root.ground.hitTest(_x + 12, _y + 10, true) == false) {
_x = _x + speed;
}
}
}
if (Key.isDown(68)) {
this.gotoAndStop(12);
if (_root.ground.hitTest(_x + 12, _y - 10, true) == false) {
if (_root.ground.hitTest(_x + 12, _y + 10, true) == false) {
_x = _x + speed;
}
}
}
if (Key.isDown(37)) {
this.gotoAndStop(6);
if (_root.ground.hitTest(_x - 12, _y - 10, true) == false) {
if (_root.ground.hitTest(_x - 12, _y + 10, true) == false) {
_x = _x - speed;
}
}
}
if (Key.isDown(65)) {
this.gotoAndStop(10);
if (_root.ground.hitTest(_x - 12, _y - 10, true) == false) {
if (_root.ground.hitTest(_x - 12, _y + 10, true) == false) {
_x = _x - speed;
}
}
}
if (Key.isDown(38)) {
this.gotoAndStop(7);
if (_root.ground.hitTest(_x - 8, _y - 12, true) == false) {
if (_root.ground.hitTest(_x + 8, _y - 12, true) == false) {
_y = _y - speed;
}
}
}
if (Key.isDown(87)) {
this.gotoAndStop(11);
if (_root.ground.hitTest(_x - 8, _y - 12, true) == false) {
if (_root.ground.hitTest(_x + 8, _y - 12, true) == false) {
_y = _y - speed;
}
}
}
if (Key.isDown(40)) {
this.gotoAndStop(5);
if (_root.ground.hitTest(_x - 8, _y + 12, true) == false) {
if (_root.ground.hitTest(_x + 8, _y + 12, true) == false) {
_y = _y + speed;
}
}
}
if (Key.isDown(83)) {
this.gotoAndStop(9);
if (_root.ground.hitTest(_x - 8, _y + 12, true) == false) {
if (_root.ground.hitTest(_x + 8, _y + 12, true) == false) {
_y = _y + speed;
}
}
}
if (this.hitTest(_root.exitHouse)) {
_root.gotoAndStop('outsideHouse');
this._x = _x + 68;
this._y = _y - 165.3;
}
if (this.hitTest(_root.doorExit)) {
_root.gotoAndStop('startMove');
this._x = 254.2;
this._y = 274.4;
}
if (this.hitTest(_root.exitLinkArea)) {
_root.gotoAndStop('village');
_y = _y;
_x = _x + 531.7000000000001;
}
if (this.hitTest(_root.exitAreaVillage1a)) {
_root.gotoAndStop('outsideHouse');
_y = _y;
_x = _x - 531.7000000000001;
}
if (this.hitTest(_root.exitAreaVillage1b)) {
_root.gotoAndStop('village2');
_y = _y - 400.1;
_x = _x;
}
if (this.hitTest(_root.exitAreaVillage2)) {
_root.gotoAndStop('village');
_y = _y + 400.1;
_x = _x;
}
}
}
movieClip 713 {
}
instance exitHouse of movieClip 713 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop('outsideHouse');
_root.player._x = 323.9;
_root.player._y = 129.3;
}
}
}
instance hp of movieClip 403 {
onClipEvent (load) {
baseX = 425.9;
}
onClipEvent (enterFrame) {
this._width = _root.energyLeft / 0.88;
this._x = baseX + this._width / 2;
}
}
button 717 {
on (release) {
song2.stop();
song3.stop();
song4.stop();
song5.stop();
song6.stop();
song1 = new Sound(s1);
song1.attachSound('Song 1');
song1.start(0, 500);
}
}
button 718 {
on (release) {
song1.stop();
song3.stop();
song4.stop();
song5.stop();
song6.stop();
song2 = new Sound(s2);
song2.attachSound('Song 2');
song2.start(0, 500);
}
}
button 719 {
on (release) {
song2.stop();
song1.stop();
song4.stop();
song5.stop();
song6.stop();
song3 = new Sound(s3);
song3.attachSound('Credits Song');
song3.start(0, 500);
}
}
button 720 {
on (release) {
song2.stop();
song3.stop();
song1.stop();
song5.stop();
song6.stop();
song4 = new Sound(s4);
song4.attachSound('Song 4');
song4.start(0, 500);
}
}
button 721 {
on (release) {
song1.stop();
song2.stop();
song3.stop();
song4.stop();
song6.stop();
song5 = new Sound(s5);
song5.attachSound('House Song');
song5.start(0, 500);
}
}
button 722 {
on (release) {
song1.stop();
song2.stop();
song3.stop();
song4.stop();
song5.stop();
song6 = new Sound(s6);
song6.attachSound('Courtyard');
song6.start(0, 500);
}
}
button 733 {
on (release) {
if (_root.energyLeft < 20) {
_root.peopleWords.gotoAndStop('blacksmithNo');
} else {
_root.energyLeft -= 20;
_root.rupeeGot = int(_root.rupeeGot + 5 + (_root.strength + _root.intelligence) / 2);
_root.strength += randomStrength;
gotoAndStop('blacksmithMC');
}
if (_root.strength >= 200) {
randomStrength = 0;
}
}
}
button 736 {
on (release) {
gotoAndStop(1);
_root.gotoAndStop('blacksmith');
_root.items_btn.gotoAndStop(1);
_root.stats_btn.gotoAndStop(1);
_root.blacksmith.gotoAndPlay(1);
}
}
button 748 {
on (release) {
gotoAndStop(1);
_root.items_btn.gotoAndStop(1);
_root.stats_btn.gotoAndStop(1);
_root.blacksmith.gotoAndPlay(1);
}
}
movieClip 760 {
frame 45 {
gotoAndPlay(1);
}
frame 46 {
stop();
}
}
movieClip 769 {
}
movieClip 770 {
}
button 776 {
on (release) {
gotoAndStop(1);
_root.blacksmith.gotoAndPlay(1);
}
}
button 782 {
on (release) {
if (_root.energyLeft < 15) {
gotoAndStop('sturgeonNo');
} else {
if (_root.rupeeGot < 15) {
gotoAndStop('sturgeonNo2');
} else {
gotoAndStop('gymEasy');
_root.strength += strengthEasy;
_root.energyLeft -= 15;
_root.rupeeGot -= 15;
}
}
}
}
button 786 {
on (release) {
if (_root.energyLeft < 30) {
gotoAndStop('sturgeonNo');
} else {
if (_root.rupeeGot < 25) {
gotoAndStop('sturgeonNo2');
} else {
gotoAndStop('gymNormal');
_root.strength += strengthNormal;
_root.energyLeft -= 30;
_root.rupeeGot -= 25;
}
}
}
}
button 790 {
on (release) {
if (_root.energyLeft < 50) {
gotoAndStop('sturgeonNo');
} else {
if (_root.rupeeGot < 35) {
gotoAndStop('sturgeonNo2');
} else {
gotoAndStop('gymHard');
_root.strength += strengthHard;
_root.energyLeft -= 50;
_root.rupeeGot -= 35;
}
}
}
}
button 793 {
on (release) {
gotoAndStop(1);
}
}
button 795 {
on (release) {
gotoAndStop(1);
_root.items_btn.gotoAndStop(1);
_root.stats_btn.gotoAndStop(1);
}
}
movieClip 797 {
}
movieClip 801 {
}
button 803 {
on (release) {
gotoAndStop(1);
}
}
movieClip 805 {
}
movieClip 806 {
}
movieClip 809 {
}
movieClip 810 {
}
button 815 {
on (release) {
gotoAndStop(1);
}
}
button 820 {
on (release) {
gotoAndStop(1);
}
}
button 824 {
on (release) {
if (_root.rupeeGot < 450) {
gotoAndStop('salesmanNo');
} else {
_root.rupeeGot -= 450;
_root.itemWaterOrb += 1;
gotoAndStop('salesmanBuy1');
}
}
}
button 826 {
on (release) {
if (_root.rupeeGot < 450) {
gotoAndStop('salesmanNo');
} else {
_root.rupeeGot -= 450;
_root.itemFireOrb += 1;
gotoAndStop('salesmanBuy1');
}
}
}
button 828 {
on (release) {
if (_root.rupeeGot < 75) {
gotoAndStop('salesmanNo');
} else {
_root.rupeeGot -= 75;
_root.itemCoke += 1;
gotoAndStop('salesmanBuy2');
}
}
}
button 830 {
on (release) {
if (_root.rupeeGot < 30) {
gotoAndStop('salesmanNo');
} else {
_root.rupeeGot -= 30;
_root.itemWeed += 1;
gotoAndStop('salesmanBuy2');
}
}
}
button 839 {
on (release) {
gotoAndStop('salesman');
}
}
button 846 {
on (release) {
if (_root.energyLeft < 10) {
gotoAndStop('studyTired');
} else {
gotoAndStop('linkStudy1');
_root.intelligence += randomStrength;
_root.energyLeft -= 10;
}
}
}
button 847 {
on (release) {
gotoAndStop(1);
}
}
button 849 {
on (release) {
if (_root.energyLeft < 30) {
gotoAndStop('studyTired');
} else {
gotoAndStop('linkStudy2');
_root.intelligence += intnormal;
_root.energyLeft -= 30;
}
}
}
button 851 {
on (release) {
if (_root.energyLeft < 50) {
gotoAndStop('studyTired');
} else {
gotoAndStop('linkStudy3');
_root.intelligence += inthard;
_root.energyLeft -= 50;
}
}
}
movieClip 858 {
}
button 869 {
on (release) {
gotoAndStop('oldManGreat');
}
}
button 872 {
on (release) {
gotoAndStop('oldManIDK');
}
}
button 877 {
on (release) {
gotoAndStop(1);
}
}
button 882 {
on (release) {
stopAllSounds();
FFN.start(0, 500);
gotoAndStop(1);
if (_root.fighting._currentframe != 1) {
gotoAndStop(1);
} else {
if (_root.fighting1200a._currentframe != 1) {
gotoAndStop(1);
} else {
if (_root.fighting500a._currentframe != 1) {
gotoAndStop(1);
} else {
if (_root.fighting1000a._currentframe != 1) {
gotoAndStop(1);
}
}
}
}
if (randomfight1 <= 30) {
_root.fighting.gotoAndStop('Player Attack Selection');
} else {
if (randomfight1 <= 60 && randomfight1 >= 31) {
_root.fighting200a.gotoAndStop('Player Attack Selection');
} else {
if (randomfight1 <= 80 && randomfight1 >= 61) {
_root.fighting500a.gotoAndStop('Player Attack Selection');
} else {
_root.fighting1000a.gotoAndStop('Player Attack Selection');
}
}
}
_root.player._visible = false;
}
}
button 886 {
on (release) {
gotoAndStop('shopkeep2');
}
}
button 889 {
on (release) {
if (_root.rupeeGot < 50) {
gotoAndStop('shopkeepNo');
} else {
_root.itemStick += 1;
_root.rupeeGot -= 50;
gotoAndStop('shopkeepBuy');
}
}
}
button 891 {
on (release) {
if (_root.rupeeGot < 75) {
gotoAndStop('shopkeepNo');
} else {
_root.itemFlower += 1;
_root.rupeeGot -= 75;
gotoAndStop('shopkeepBuy');
}
}
}
button 893 {
on (release) {
if (_root.rupeeGot < 200) {
gotoAndStop('shopkeepNo');
} else {
_root.rupeeGot -= 200;
_root.itemBracelet += 1;
gotoAndStop('shopkeepBuy');
}
}
}
button 897 {
on (release) {
gotoAndStop('shopkeep');
}
}
movieClip 900 {
}
button 901 {
on (release) {
if (_root.rupeeGot < 500) {
gotoAndStop('shopkeepNo');
} else {
_root.rupeeGot -= 500;
gotoAndStop('shopkeepBuy');
_root.itemFairy += 1;
}
}
}
movieClip 903 {
}
button 904 {
on (release) {
if (_root.rupeeGot < 300) {
gotoAndStop('shopkeepNo');
} else {
_root.rupeeGot -= 300;
gotoAndStop('shopkeepBuy');
_root.itemOcarina += 1;
}
}
}
button 913 {
on (release) {
_root.gotoAndStop('Shooting range play');
gotoAndStop(1);
}
}
button 916 {
on (release) {
gotoAndStop('frog instructions');
}
}
button 918 {
on (release) {
gotoAndStop('frog');
}
}
button 919 {
on (release) {
gotoAndStop('frog instructions 2');
}
}
button 921 {
on (release) {
gotoAndStop('frog instructions');
}
}
button 922 {
on (release) {
gotoAndStop('frog');
}
}
movieClip 925 {
frame 1 {
stop();
var earnedRupees;
var randomStrength;
var intnormal;
var inthard;
var strengthEasy;
var strengthNormal;
var strengthHard;
var randomfight1;
FFW = new Sound(WFF);
FFW.attachSound('FF win');
FFN = new Sound(NFF);
FFN.attachSound('FF Nostalgia');
earnedRupees = Math.round(5 + (_root.strength + _root.intelligence) / 2);
randomStrength = Math.round(Math.random() * 2) + 1;
intnormal = Math.round(Math.random() * 5) + 5;
inthard = Math.round(Math.random() * 5) + 10;
strengthEasy = Math.round(Math.random() * 4) + 1;
strengthNormal = Math.round(Math.random() * 4) + 5;
strengthHard = Math.round(Math.random() * 4) + 10;
randomfight1 = int(Math.random() * 100);
onEnterFrame = function () {
if (this._currentframe >= 2) {
_root.signsWords._visible = false;
}
if (this._currentframe == 1 && _root.otherWords._currentframe == 1) {
_root.signsWords._visible = true;
}
};
}
frame 2 {
stop();
}
frame 10 {
stop();
}
}
button 931 {
on (release) {
if (Key.isDown(13) || Key.isDown(27)) {
gotoAndStop(1);
}
gotoAndStop(1);
_root.items_btn.gotoAndStop(1);
_root.stats_btn.gotoAndStop(1);
}
}
button 955 {
on (release) {
_root.energyLeft = 100;
_root.currentDay += 1;
_root.gotoAndPlay('newDay');
}
}
button 961 {
on (release) {
gotoAndStop(1);
_root.items_btn.gotoAndStop(1);
_root.stats_btn.gotoAndStop(1);
}
}
button 963 {
on (release) {
_root.energyLeft = 100;
_root.currentDay += 1;
_root.gotoAndPlay('newDay2');
}
}
button 973 {
on (release) {
gotoAndStop('girlStats');
}
}
button 989 {
on (release) {
gotoAndStop('items2');
}
}
button 1006 {
on (release) {
gotoAndStop('stats');
}
}
button 1012 {
on (release) {
if (_root.charm >= 200) {
gotoAndStop('enough');
} else {
if (_root.itemCoke > 0) {
gotoAndStop('use coke');
_root.charm += int(Math.random() * 5 + 1);
_root.itemCoke -= 1;
}
}
}
}
button 1015 {
on (release) {
if (_root.charm >= 200) {
gotoAndStop('enough');
} else {
if (_root.itemWeed > 0) {
gotoAndStop('use weed');
_root.charm += int(Math.random() * 5 + 1);
_root.itemWeed -= 1;
}
}
}
}
button 1022 {
on (release) {
gotoAndStop('items');
}
}
button 1023 {
on (release) {
gotoAndStop(1);
}
}
movieClip 1026 {
}
movieClip 1035 {
}
button 1039 {
on (press) {
_root.savefile.data.strength = _root.strength;
_root.savefile.data.intelligence = _root.intelligence;
_root.savefile.data.charm = _root.charm;
_root.savefile.data.currentDay = _root.currentDay;
_root.savefile.data.energyLeft = _root.energyLeft;
_root.savefile.data.rupeeGot = _root.rupeeGot;
_root.savefile.data.statsZelda = _root.statsZelda;
_root.savefile.data.statsSaria = _root.statsSaria;
_root.savefile.data.statsDin = _root.statsDin;
_root.savefile.data.statsNayru = _root.statsNayru;
_root.savefile.data.statsMalon = _root.statsMalon;
_root.savefile.data.levelZelda = _root.levelZelda;
_root.savefile.data.levelSaria = _root.levelSaria;
_root.savefile.data.levelDin = _root.levelDin;
_root.savefile.data.levelNayru = _root.levelNayru;
_root.savefile.data.levelMalon = _root.levelMalon;
_root.savefile.data.itemFlower = _root.itemFlower;
_root.savefile.data.itemStick = _root.itemStick;
_root.savefile.data.itemOcarina = _root.itemOcarina;
_root.savefile.data.itemFairy = _root.itemFairy;
_root.savefile.data.itemBracelet = _root.itemBracelet;
_root.savefile.data.itemWeed = _root.itemWeed;
_root.savefile.data.itemCoke = _root.itemCoke;
_root.savefile.data.itemWaterOrb = _root.itemWaterOrb;
_root.savefile.data.itemFireOrb = _root.itemFireOrb;
_root.savefile.flush();
gotoAndStop('saved');
}
}
button 1042 {
on (press) {
if (_root.savefile.data.strength == undefined) {
_root.strength = 0;
} else {
_root.strength = _root.savefile.data.strength;
}
if (_root.savefile.data.intelligence == undefined) {
_root.intelligence = 0;
} else {
_root.intelligence = _root.savefile.data.intelligence;
}
if (_root.savefile.data.charm == undefined) {
_root.charm = 0;
} else {
_root.charm = _root.savefile.data.charm;
}
if (_root.savefile.data.energyLeft == undefined) {
_root.energyLeft = 100;
} else {
_root.energyLeft = _root.savefile.data.energyLeft;
}
if (_root.savefile.data.currentDay == undefined) {
_root.currentDay = 1;
} else {
_root.currentDay = _root.savefile.data.currentDay;
}
if (_root.savefile.data.rupeeGot == undefined) {
_root.rupeeGot = 100;
} else {
_root.rupeeGot = _root.savefile.data.rupeeGot;
}
if (_root.savefile.data.itemFlower == undefined) {
_root.itemFlower = 0;
} else {
_root.itemFlower = _root.savefile.data.itemFlower;
}
if (_root.savefile.data.itemStick == undefined) {
_root.itemStick = 0;
} else {
_root.itemStick = _root.savefile.data.itemStick;
}
if (_root.savefile.data.itemOcarina == undefined) {
_root.itemOcarina = 0;
} else {
_root.itemOcarina = _root.savefile.data.itemOcarina;
}
if (_root.savefile.data.itemFairy == undefined) {
_root.itemFairy = 0;
} else {
_root.itemFairy = _root.savefile.data.itemFairy;
}
if (_root.savefile.data.itemBracelet == undefined) {
_root.itemBracelet = 0;
} else {
_root.itemBracelet = _root.savefile.data.itemBracelet;
}
if (_root.savefile.data.itemWeed == undefined) {
_root.itemWeed = 0;
} else {
_root.itemWeed = _root.savefile.data.itemWeed;
}
if (_root.savefile.data.itemCoke == undefined) {
_root.itemCoke = 0;
} else {
_root.itemCoke = _root.savefile.data.itemCoke;
}
if (_root.savefile.data.itemWaterOrb == undefined) {
_root.itemWaterOrb = 0;
} else {
_root.itemWaterOrb = _root.savefile.data.itemWaterOrb;
}
if (_root.savefile.data.itemFireOrb == undefined) {
_root.itemFireOrb = 0;
} else {
_root.itemFireOrb = _root.savefile.data.itemFireOrb;
}
if (_root.savefile.data.statsZelda == undefined) {
_root.statsZelda = 0;
} else {
_root.statsZelda = _root.savefile.data.statsZelda;
}
if (_root.savefile.data.statsSaria == undefined) {
_root.statsSaria = 0;
} else {
_root.statsSaria = _root.savefile.data.statsSaria;
}
if (_root.savefile.data.statsNayru == undefined) {
_root.statsNayru = 0;
} else {
_root.statsNayru = _root.savefile.data.statsNayru;
}
if (_root.savefile.data.statsMalon == undefined) {
_root.statsMalon = 0;
} else {
_root.statsMalon = _root.savefile.data.statsMalon;
}
if (_root.savefile.data.statsDin == undefined) {
_root.statsDin = 0;
} else {
_root.statsDin = _root.savefile.data.statsDin;
}
if (_root.savefile.data.levelZelda == undefined) {
_root.levelZelda = 'Stranger';
} else {
_root.levelZelda = _root.savefile.data.levelZelda;
}
if (_root.savefile.data.levelSaria == undefined) {
_root.levelSaria = 'Stranger';
} else {
_root.levelSaria = _root.savefile.data.levelSaria;
}
if (_root.savefile.data.levelDin == undefined) {
_root.levelDin = 'Stranger';
} else {
_root.levelDin = _root.savefile.data.levelDin;
}
if (_root.savefile.data.levelNayru == undefined) {
_root.levelNayru = 'Stranger';
} else {
_root.levelNayru = _root.savefile.data.levelNayru;
}
if (_root.savefile.data.levelMalon == undefined) {
_root.levelMalon = 'Stranger';
} else {
_root.levelMalon = _root.savefile.data.levelMalon;
}
gotoAndStop('loaded');
}
}
button 1043 {
on (release) {
gotoAndStop(1);
_root.chest.gotoAndStop(1);
}
}
button 1049 {
on (release) {
_root.gotoAndStop('Main');
gotoAndStop(1);
}
}
button 1053 {
on (release) {
gotoAndStop(1);
}
}
button 1055 {
on (release) {
gotoAndStop(1);
}
}
movieClip 1056 {
frame 1 {
stop();
var savefile = SharedObject.getLocal('Zelda SimDate');
var randomCharm;
randomCharm = int(Math.random() * 5);
onEnterFrame = function () {
if (Key.isDown(13) || Key.isDown(27)) {
gotoAndStop(1);
}
};
}
frame 2 {
stop();
}
}
frame 786 {
stop();
}
instance player of movieClip 381 {
onClipEvent (load) {
speed = 5;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.gotoAndStop(8);
if (_root.ground.hitTest(_x + 12, _y - 10, true) == false) {
if (_root.ground.hitTest(_x + 12, _y + 10, true) == false) {
_x = _x + speed;
}
}
}
if (Key.isDown(68)) {
this.gotoAndStop(12);
if (_root.ground.hitTest(_x + 12, _y - 10, true) == false) {
if (_root.ground.hitTest(_x + 12, _y + 10, true) == false) {
_x = _x + speed;
}
}
}
if (Key.isDown(37)) {
this.gotoAndStop(6);
if (_root.ground.hitTest(_x - 12, _y - 10, true) == false) {
if (_root.ground.hitTest(_x - 12, _y + 10, true) == false) {
_x = _x - speed;
}
}
}
if (Key.isDown(65)) {
this.gotoAndStop(10);
if (_root.ground.hitTest(_x - 12, _y - 10, true) == false) {
if (_root.ground.hitTest(_x - 12, _y + 10, true) == false) {
_x = _x - speed;
}
}
}
if (Key.isDown(38)) {
this.gotoAndStop(7);
if (_root.ground.hitTest(_x - 8, _y - 12, true) == false) {
if (_root.ground.hitTest(_x + 8, _y - 12, true) == false) {
_y = _y - speed;
}
}
}
if (Key.isDown(87)) {
this.gotoAndStop(11);
if (_root.ground.hitTest(_x - 8, _y - 12, true) == false) {
if (_root.ground.hitTest(_x + 8, _y - 12, true) == false) {
_y = _y - speed;
}
}
}
if (Key.isDown(40)) {
this.gotoAndStop(5);
if (_root.ground.hitTest(_x - 8, _y + 12, true) == false) {
if (_root.ground.hitTest(_x + 8, _y + 12, true) == false) {
_y = _y + speed;
}
}
}
if (Key.isDown(83)) {
this.gotoAndStop(9);
if (_root.ground.hitTest(_x - 8, _y + 12, true) == false) {
if (_root.ground.hitTest(_x + 8, _y + 12, true) == false) {
_y = _y + speed;
}
}
}
if (this.hitTest(_root.exitHouse)) {
_root.gotoAndStop('outsideHouse');
_x = _x + 68;
_y = _y - 165.3;
}
}
}
frame 793 {
stop();
}
movieClip 1059 {
}
movieClip 1063 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance doorExit of movieClip 480 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop('LinkHouse');
}
}
}
}
instance door of movieClip 1063 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.door.gotoAndStop(2);
}
}
}
}
instance signLHouse of movieClip 80 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(2);
}
}
}
}
movieClip 1064 {
frame 1 {
stop();
}
}
instance of movieClip 1064 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(3);
}
}
}
}
instance of movieClip 472 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.signsWords.gotoAndStop('map1');
}
}
}
instance player of movieClip 381 {
onClipEvent (load) {
speed = 5;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.gotoAndStop(8);
if (_root.ground.hitTest(_x + 12, _y - 10, true) == false) {
if (_root.ground.hitTest(_x + 12, _y + 10, true) == false) {
_x = _x + speed;
}
}
}
if (Key.isDown(68)) {
this.gotoAndStop(12);
if (_root.ground.hitTest(_x + 12, _y - 10, true) == false) {
if (_root.ground.hitTest(_x + 12, _y + 10, true) == false) {
_x = _x + speed;
}
}
}
if (Key.isDown(37)) {
this.gotoAndStop(6);
if (_root.ground.hitTest(_x - 12, _y - 10, true) == false) {
if (_root.ground.hitTest(_x - 12, _y + 10, true) == false) {
_x = _x - speed;
}
}
}
if (Key.isDown(65)) {
this.gotoAndStop(10);
if (_root.ground.hitTest(_x - 12, _y - 10, true) == false) {
if (_root.ground.hitTest(_x - 12, _y + 10, true) == false) {
_x = _x - speed;
}
}
}
if (Key.isDown(38)) {
this.gotoAndStop(7);
if (_root.ground.hitTest(_x - 8, _y - 12, true) == false) {
if (_root.ground.hitTest(_x + 8, _y - 12, true) == false) {
_y = _y - speed;
}
}
}
if (Key.isDown(87)) {
this.gotoAndStop(11);
if (_root.ground.hitTest(_x - 8, _y - 12, true) == false) {
if (_root.ground.hitTest(_x + 8, _y - 12, true) == false) {
_y = _y - speed;
}
}
}
if (Key.isDown(40)) {
this.gotoAndStop(5);
if (_root.ground.hitTest(_x - 8, _y + 12, true) == false) {
if (_root.ground.hitTest(_x + 8, _y + 12, true) == false) {
_y = _y + speed;
}
}
}
if (Key.isDown(83)) {
this.gotoAndStop(9);
if (_root.ground.hitTest(_x - 8, _y + 12, true) == false) {
if (_root.ground.hitTest(_x + 8, _y + 12, true) == false) {
_y = _y + speed;
}
}
}
if (this.hitTest(_root.exitHouse)) {
_root.gotoAndStop('outsideHouse');
this._x = _x + 68;
this._y = _y - 165.3;
}
if (this.hitTest(_root.doorExit)) {
_root.gotoAndStop('startMove');
this._x = 254.2;
this._y = 274.4;
}
if (this.hitTest(_root.exitLinkArea)) {
_root.gotoAndStop('village');
_y = _y;
_x = _x + 531.7000000000001;
}
if (this.hitTest(_root.exitLinkArea2)) {
_root.gotoAndStop('Arena');
_y = _y - 374.3;
_x = _x;
}
if (this.hitTest(_root.exitAreaVillage1a)) {
_root.gotoAndStop('outsideHouse');
_y = _y;
_x = _x - 531.7000000000001;
}
if (this.hitTest(_root.exitAreaVillage1b)) {
_root.gotoAndStop('village2');
_y = _y - 400.1;
_x = _x;
}
if (this.hitTest(_root.exitAreaVillage2)) {
_root.gotoAndStop('village');
_y = _y + 400.1;
_x = _x;
}
if (this.hitTest(_root.exitAreaVillage2b)) {
_root.gotoAndStop('Arena');
_y = _y;
_x = _x - 531.7000000000001;
}
if (this.hitTest(_root.exitArena)) {
_root.gotoAndStop('outsideHouse');
_y = _y + 374.3;
_x = _x;
}
if (this.hitTest(_root.exitArena2)) {
_root.gotoAndStop('village2');
_y = _y;
_x = _x + 531.7000000000001;
}
if (this.hitTest(_root.enterBlacksmith)) {
_root.gotoAndStop('blacksmith');
this._x = 276.9;
this._y = 295.3;
}
if (this.hitTest(_root.exitBlacksmith)) {
_root.gotoAndStop('village');
this._x = 378.3;
this._y = 270.9;
}
if (this.hitTest(_root.enterLH2)) {
_root.gotoAndStop('linkHouse2');
this._x = 264.4;
this._y = 293.6;
}
if (this.hitTest(_root.exitHouse2)) {
_root.gotoAndStop('village');
this._x = 259.5;
this._y = 264.3;
}
if (this.hitTest(_root.enterLibrary)) {
_root.gotoAndStop('library');
this._x = 264.5;
this._y = 338.6;
}
if (this.hitTest(_root.exitLibrary)) {
_root.gotoAndStop('village');
this._x = 138.2;
this._y = 253.6;
}
if (this.hitTest(_root.enterGym)) {
_root.gotoAndStop('gym');
this._x = 264.7;
this._y = 296.4;
}
if (this.hitTest(_root.exitGym)) {
_root.gotoAndStop('village');
this._x = 380.7;
this._y = 107.1;
}
if (this.hitTest(_root.enterBar)) {
_root.gotoAndStop('bar');
this._x = 271.9;
this._y = 334.5;
if (_root.randomfight == 2) {
stopAllSounds();
_root.peopleWords.FFN.start(0, 500);
if (_root.randomball == 0) {
_root.fighting.gotoAndStop('Player Attack Selection');
_root.player._visible = false;
} else {
if (_root.randomball == 1) {
_root.fighting200a.gotoAndStop('Player Attack Selection');
_root.player._visible = false;
} else {
if (_root.randomball == 2) {
_root.fighting500a.gotoAndStop('Player Attack Selection');
_root.player._visible = false;
} else {
if (_root.randomball == 3) {
_root.fighting1000a.gotoAndStop('Player Attack Selection');
_root.player._visible = false;
} else {
if (_root.randomball == 4) {
_root.fighting100b.gotoAndStop('Player Attack Selection');
_root.player._visible = false;
} else {
if (_root.randomball == 5) {
_root.fighting200b.gotoAndStop('Player Attack Selection');
_root.player._visible = false;
} else {
if (_root.randomaball == 6) {
_root.fighting500b.gotoAndStop('Player Attack Selection');
_root.player._visible = false;
} else {
if (_root.randomball == 7) {
_root.fighting1000b.gotoAndStop('Player Attack Selection');
_root.player._visible = false;
}
}
}
}
}
}
}
}
}
}
if (this.hitTest(_root.exitBar)) {
_root.gotoAndStop('village');
this._x = 267.7;
this._y = 107.8;
}
if (this.hitTest(_root.enterShop)) {
_root.gotoAndStop('shop');
this._x = 281.9;
this._y = 294.4;
}
if (this.hitTest(_root.exitShop)) {
_root.gotoAndStop('village');
this._x = 139.8;
this._y = 105.1;
}
if (this.hitTest(_root.enterZelda)) {
_root.gotoAndStop('zeldaHouse');
this._x = 276.2;
this._y = 316.9;
}
if (this.hitTest(_root.exitZelda)) {
_root.gotoAndStop('village2');
this._x = 138.8;
this._y = 199.6;
}
if (this.hitTest(_root.enterSaria)) {
_root.gotoAndStop('sariaHouse');
this._x = 276.4;
this._y = 324.6;
}
if (this.hitTest(_root.exitSaria)) {
_root.gotoAndStop('village2');
this._x = 108.3;
this._y = 329.4;
}
if (this.hitTest(_root.enterMalon)) {
_root.gotoAndStop('malonHouse');
this._x = 275.9;
this._y = 319.7;
}
if (this.hitTest(_root.exitMalon)) {
_root.gotoAndStop('village2');
this._x = 438.3;
this._y = 334.3;
}
if (this.hitTest(_root.enterDin)) {
_root.gotoAndStop('dinHouse');
this._x = 276.9;
this._y = 322.1;
}
if (this.hitTest(_root.exitDin2)) {
_root.gotoAndStop('nayruHouse');
this._x = 142.3;
this._y = 196.3;
}
if (this.hitTest(_root.exitDin)) {
_root.gotoAndStop('village2');
this._x = 378.3;
this._y = 201.1;
}
if (this.hitTest(_root.enterNayru)) {
_root.gotoAndStop('nayruHouse');
this._x = 280.4;
this._y = 319.3;
}
if (this.hitTest(_root.exitNayru)) {
_root.gotoAndStop('village2');
this._x = 442.4;
this._y = 200.8;
}
if (this.hitTest(_root.exitNayru2)) {
_root.gotoAndStop('dinHouse');
this._x = 413.6;
this._y = 196.8;
}
if (this.hitTest(_root.enterShooting)) {
_root.gotoAndStop('Shooting Range');
this._x = 278.1;
this._y = 315.1;
}
if (this.hitTest(_root.exitShooting)) {
_root.gotoAndStop('arena');
this._x = 280.4;
this._y = 218;
}
}
}
movieClip 1065 {
}
movieClip 1066 {
}
button 1068 {
on (release) {
gotoAndStop(1);
}
}
button 1070 {
on (release) {
gotoAndStop(1);
}
}
button 1072 {
on (release) {
gotoAndStop(1);
}
}
button 1081 {
on (release) {
gotoAndStop(1);
}
}
movieClip 1104 {
}
movieClip 1107 {
frame 1 {
stop();
}
frame 2 {
stop();
onEnterFrame = function () {
if (Key.isDown(27) || Key.isDown(13)) {
gotoAndStop(1);
}
};
}
}
instance otherWords of movieClip 1056 {
onClipEvent (enterFrame) {
if (this._currentframe >= 2) {
_root.signsWords._visible = false;
}
if (this._currentframe == 1) {
_root.signsWords._visible = true;
}
}
}
frame 800 {
stop();
}
movieClip 1109 {
}
movieClip 1112 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance doorExit of movieClip 480 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop('gym');
}
}
}
}
instance doorGym of movieClip 1112 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorGym.gotoAndStop(2);
}
}
}
}
movieClip 1114 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance doorExit of movieClip 480 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop('bar');
}
if (_root.randomfight == 2) {
stopAllSounds();
_root.peopleWords.FFN.start(0, 500);
if (_root.randomball == 0) {
_root.fighting.gotoAndStop('Player Attack Selection');
_root.player._visible = false;
} else {
if (_root.randomball == 1) {
_root.fighting200a.gotoAndStop('Player Attack Selection');
_root.player._visible = false;
} else {
if (_root.randomball == 2) {
_root.fighting500a.gotoAndStop('Player Attack Selection');
_root.player._visible = false;
} else {
if (_root.randomball == 3) {
_root.fighting1000a.gotoAndStop('Player Attack Selection');
_root.player._visible = false;
} else {
if (_root.randomball == 4) {
_root.fighting100b.gotoAndStop('Player Attack Selection');
_root.player._visible = false;
} else {
if (_root.randomball == 5) {
_root.fighting200b.gotoAndStop('Player Attack Selection');
_root.player._visible = false;
} else {
if (_root.randomaball == 6) {
_root.fighting500b.gotoAndStop('Player Attack Selection');
_root.player._visible = false;
} else {
if (_root.randomball == 7) {
_root.fighting1000b.gotoAndStop('Player Attack Selection');
_root.player._visible = false;
}
}
}
}
}
}
}
}
}
}
}
}
instance doorBar of movieClip 1114 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorBar.gotoAndStop(2);
}
}
}
}
movieClip 1116 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance doorExit of movieClip 480 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop('shop');
}
}
}
}
instance doorShop of movieClip 1116 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorShop.gotoAndStop(2);
}
}
}
}
movieClip 1118 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance doorExit of movieClip 480 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop('library');
}
}
}
}
instance doorLibrary of movieClip 1118 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorLibrary.gotoAndStop(2);
}
}
}
}
movieClip 1120 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance doorExit of movieClip 480 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop('LinkHouse2');
}
}
}
}
instance doorLink of movieClip 1120 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorLink.gotoAndStop(2);
}
}
}
}
movieClip 1122 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance doorExit of movieClip 480 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop('blacksmith');
}
}
}
}
instance doorBlacksmith of movieClip 1122 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorBlacksmith.gotoAndStop(2);
}
}
}
}
movieClip 1123 {
}
instance signResidence of movieClip 1123 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(10);
}
}
}
}
movieClip 1124 {
}
instance signLibrary of movieClip 1124 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(7);
}
}
}
}
movieClip 1125 {
}
instance signBlacksmith of movieClip 1125 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(5);
}
}
}
}
movieClip 1126 {
}
instance signShop of movieClip 1126 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(8);
}
}
}
}
movieClip 1127 {
}
instance signBar of movieClip 1127 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(9);
}
}
}
}
movieClip 1128 {
}
instance signLinkHouse2 of movieClip 1128 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(6);
}
}
}
}
movieClip 1129 {
}
instance signWelcome of movieClip 1129 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(4);
}
}
}
}
movieClip 1130 {
}
instance signGym of movieClip 1130 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(13);
}
}
}
}
instance of movieClip 472 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.signsWords.gotoAndStop('map2');
}
}
}
movieClip 1132 {
}
frame 804 {
stop();
}
frame 806 {
stop();
}
instance doorBlacksmith of movieClip 1122 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorBlacksmith.gotoAndStop(2);
}
}
}
}
frame 808 {
stop();
}
instance doorLink of movieClip 1120 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorLink.gotoAndStop(2);
}
}
}
}
instance doorBlacksmith of movieClip 1122 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorBlacksmith.gotoAndStop(2);
}
}
}
}
frame 810 {
stop();
}
instance doorLibrary of movieClip 1118 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorLibrary.gotoAndStop(2);
}
}
}
}
frame 812 {
stop();
}
instance doorGym of movieClip 1112 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorGym.gotoAndStop(2);
}
}
}
}
instance doorLibrary of movieClip 1118 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorLibrary.gotoAndStop(2);
}
}
}
}
frame 814 {
stop();
}
instance doorBar of movieClip 1114 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorBar.gotoAndStop(2);
}
}
}
}
instance doorLibrary of movieClip 1118 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorLibrary.gotoAndStop(2);
}
}
}
}
frame 817 {
stop();
}
movieClip 1136 {
}
movieClip 1139 {
}
instance of movieClip 1139 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.peopleWords.gotoAndStop('salesman');
}
}
}
instance doorZelda of movieClip 481 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorZelda.gotoAndStop(2);
}
}
}
}
movieClip 1142 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance doorExit of movieClip 480 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop('sariaHouse');
}
}
}
}
instance doorSaria of movieClip 1142 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorSaria.gotoAndStop(2);
}
}
}
}
movieClip 1144 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance doorExit of movieClip 480 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop('malonHouse');
}
}
}
}
instance doorMalon of movieClip 1144 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorMalon.gotoAndStop(2);
}
}
}
}
movieClip 1146 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance doorExit of movieClip 480 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop('nayruHouse');
}
}
}
}
instance doorNayru of movieClip 1146 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorNayru.gotoAndStop(2);
}
}
}
}
movieClip 1148 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance doorExit of movieClip 480 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop('dinHouse');
}
}
}
}
instance doorDin of movieClip 1148 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorDin.gotoAndStop(2);
}
}
}
}
movieClip 1150 {
}
instance of movieClip 1150 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(17);
}
}
}
}
movieClip 1151 {
}
instance of movieClip 1151 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(16);
}
}
}
}
movieClip 1152 {
}
instance of movieClip 1152 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(15);
}
}
}
}
movieClip 1153 {
}
instance of movieClip 1153 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(18);
}
}
}
}
movieClip 1154 {
}
instance of movieClip 1154 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(19);
}
}
}
}
instance of movieClip 470 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(14);
}
}
}
}
instance of movieClip 472 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.signsWords.gotoAndStop('map3');
}
}
}
movieClip 1158 {
}
instance windThing of movieClip 1158 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.otherWords.gotoAndStop('airDuck');
}
}
}
}
frame 821 {
stop();
}
instance doorSaria of movieClip 1142 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorSaria.gotoAndStop(2);
}
}
}
}
instance doorNayru of movieClip 1146 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorNayru.gotoAndStop(2);
}
}
}
}
instance doorDin of movieClip 1148 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorDin.gotoAndStop(2);
}
}
}
}
frame 823 {
stop();
}
instance doorZelda of movieClip 481 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorZelda.gotoAndStop(2);
}
}
}
}
frame 825 {
stop();
}
instance doorDin of movieClip 1148 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorDin.gotoAndStop(2);
}
}
}
}
frame 827 {
stop();
}
instance doorNayru of movieClip 1146 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorNayru.gotoAndStop(2);
}
}
}
}
frame 829 {
stop();
}
instance doorSaria of movieClip 1142 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.doorSaria.gotoAndStop(2);
}
}
}
}
frame 831 {
stop();
player._x = 276.9;
player._y = 295.3;
}
movieClip 1165 {
}
movieClip 1168 {
}
movieClip 1170 {
}
movieClip 1172 {
}
instance barrel of movieClip 1172 {
onClipEvent (enterFrame) {
if (_root.barrel.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.otherWords.gotoAndStop(8);
}
}
}
}
instance blacksmith of movieClip 760 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
this.gotoAndStop(46);
_root.peopleWords.gotoAndStop(2);
blacksmith.enabled = false;
}
}
}
}
instance peopleWords of movieClip 925 {
onClipEvent (enterFrame) {
if (this._currentframe >= 2) {
_root.otherWords._visible = false;
}
if (this._currentframe == 1) {
_root.otherWords._visible = true;
}
}
}
frame 836 {
stop();
player._x = 264.4;
player._y = 293.6;
}
movieClip 1175 {
}
instance saveChest of movieClip 503 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.otherWords.gotoAndStop('save');
}
}
}
}
instance waterThing of movieClip 680 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.otherWords.gotoAndStop('waterLink');
}
}
}
}
instance linkBed of movieClip 493 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.otherWords.gotoAndStop('linkBed2');
}
}
}
movieClip 1179 {
}
instance computer of movieClip 1179 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.otherWords.gotoAndStop('desktop');
}
}
}
instance of movieClip 712 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.otherWords.gotoAndStop('newgrounds');
}
}
}
frame 842 {
stop();
player._x = 264.5;
player._y = 338.6;
}
movieClip 1182 {
}
movieClip 1185 {
}
instance redBook of movieClip 1185 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
if (_root.intelligence >= 300) {
_root.peopleWords.gotoAndStop('library full');
} else {
_root.peopleWords.gotoAndStop('bookHard');
}
}
}
}
movieClip 1187 {
}
instance blueBook of movieClip 1187 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
if (_root.intelligence >= 300) {
_root.peopleWords.gotoAndStop('library full');
} else {
_root.peopleWords.gotoAndStop('bookNormal');
}
}
}
}
movieClip 1189 {
}
instance greenBook of movieClip 1189 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
if (_root.intelligence >= 300) {
_root.peopleWords.gotoAndStop('library full');
} else {
_root.peopleWords.gotoAndStop('bookEasy');
}
}
}
}
frame 847 {
stop();
player._x = 264.7;
player._y = 296.4;
}
movieClip 1192 {
}
instance of movieClip 809 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.otherWords.gotoAndStop('gymHen');
}
}
}
movieClip 1195 {
}
instance of movieClip 1195 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
if (_root.strength >= 400) {
_root.peopleWords.gotoAndStop('sturgeon full');
} else {
_root.peopleWords.gotoAndStop('sturgeon');
}
}
}
}
movieClip 1196 {
}
instance gymWater of movieClip 1196 {
onClipEvent (enterFrame) {
if (_root.gymWater.hitTest(_root.player) && Key.isDown(32)) {
_root.otherWords.gotoAndStop('gymWater');
}
}
}
instance of movieClip 805 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.otherWords.gotoAndStop('rockBig');
}
}
}
instance of movieClip 797 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.otherWords.gotoAndStop('rockSmall');
}
}
}
frame 851 {
stop();
player._x = 271.9;
player._y = 334.5;
}
movieClip 1199 {
}
instance bum of movieClip 527 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.peopleWords.gotoAndStop('drunk');
}
}
}
instance drinking2 of movieClip 529 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.peopleWords.gotoAndStop('oldMan');
}
}
}
instance drinking1 of movieClip 1139 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.peopleWords.gotoAndStop('salesmanBar');
}
}
}
instance sariaBar of movieClip 521 {
onClipEvent (load) {
numberStranger = Math.round(Math.random() * 1);
numberNewFriend = Math.round(Math.random() * 1);
numberCloseFriend = Math.round(Math.random() * 2);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
if (_root.currentDay == 13 || _root.currentDay == 14 || _root.currentDay == 41 || _root.currentDay == 42 || _root.currentDay == 69 || _root.currentDay == 70) {
_root.sariaWords.gotoAndStop('sariaPeriod');
} else {
if (_root.levelSaria == 'Purgatory') {
_root.sariaWords.gotoAndStop('sariaPurg');
} else {
if (_root.levelSaria == 'Stranger') {
if (numberStranger == 0) {
_root.sariaWords.gotoAndStop('sariaStranger');
}
if (numberStranger == 1) {
_root.sariaWords.gotoAndStop('sariaStranger2');
}
} else {
if (_root.levelSaria == 'New Friend') {
if (numberNewFriend == 0) {
_root.sariaWords.gotoAndStop('sariaNew');
}
if (numberNewFriend == 1) {
_root.sariaWords.gotoAndStop('sariaNew2');
}
} else {
if (_root.levelSaria == 'Close Friend') {
if (numberCloseFriend == 0) {
_root.sariaWords.gotoAndStop('sariaClose');
}
if (numberCloseFriend == 1) {
_root.sariaWords.gotoAndStop('sariaClose2');
}
if (numberCloseFriend == 2) {
_root.sariaWords.gotoAndStop('sariaClose3');
}
} else {
if (_root.levelSaria == 'Girlfriend') {
_root.sariaWords.gotoAndStop('sariaGf');
}
}
}
}
}
}
}
}
}
instance nayruBar of movieClip 525 {
onClipEvent (load) {
numberStranger = Math.round(Math.random() * 1);
numberNewFriend = Math.round(Math.random() * 1);
numberCloseFriend = Math.round(Math.random() * 2);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
if (_root.currentDay == 8 || _root.currentDay == 9 || _root.currentDay == 36 || _root.currentDay == 37 || _root.currentDay == 64 || _root.currentDay == 65) {
_root.nayruWords.gotoAndStop('nayruPeriod');
} else {
if (_root.levelNayru == 'Purgatory') {
_root.nayruWords.gotoAndStop('nayruPurg');
} else {
if (_root.levelNayru == 'Stranger') {
if (numberStranger == 0) {
_root.nayruWords.gotoAndStop('nayruStranger');
}
if (numberStranger == 1) {
_root.nayruWords.gotoAndStop('nayruStranger2');
}
} else {
if (_root.levelNayru == 'New Friend') {
if (numberNewFriend == 0) {
_root.nayruWords.gotoAndStop('nayruNew');
}
if (numberNewFriend == 1) {
_root.nayruWords.gotoAndStop('nayruNew2');
}
} else {
if (_root.levelNayru == 'Close Friend') {
if (numberCloseFriend == 0) {
_root.nayruWords.gotoAndStop('nayruClose');
}
if (numberCloseFriend == 1) {
_root.nayruWords.gotoAndStop('nayruClose2');
}
if (numberCloseFriend == 2) {
_root.nayruWords.gotoAndStop('nayruClose3');
}
} else {
if (_root.levelNayru == 'Girlfriend') {
_root.nayruWords.gotoAndStop('nayruGf');
}
}
}
}
}
}
}
}
}
instance malonBar of movieClip 523 {
onClipEvent (load) {
numberStranger = Math.round(Math.random() * 1);
numberNewFriend = Math.round(Math.random() * 1);
numberCloseFriend = Math.round(Math.random() * 2);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
if (_root.currentDay == 23 || _root.currentDay == 24 || _root.currentDay == 49 || _root.currentDay == 50) {
_root.malonWords.gotoAndStop('malonPeriod');
} else {
if (_root.levelMalon == 'Purgatory') {
_root.malonWords.gotoAndStop('malonPurg');
} else {
if (_root.levelMalon == 'Stranger') {
if (numberStranger == 0) {
_root.malonWords.gotoAndStop('malonStranger');
}
if (numberStranger == 1) {
_root.malonWords.gotoAndStop('malonStranger2');
}
} else {
if (_root.levelMalon == 'New Friend') {
if (numberNewFriend == 0) {
_root.malonWords.gotoAndStop('malonNew');
}
if (numberNewFriend == 1) {
_root.malonWords.gotoAndStop('malonNew2');
}
} else {
if (_root.levelMalon == 'Close Friend') {
if (numberCloseFriend == 0) {
_root.malonWords.gotoAndStop('malonClose');
}
if (numberCloseFriend == 1) {
_root.malonWords.gotoAndStop('malonClose2');
}
if (numberCloseFriend == 2) {
_root.malonWords.gotoAndStop('malonClose3');
}
} else {
if (_root.levelMalon == 'Girlfriend') {
_root.malonWords.gotoAndStop('malonGf');
}
}
}
}
}
}
}
}
}
instance dinBar of movieClip 519 {
onClipEvent (load) {
numberStranger = Math.round(Math.random() * 1);
numberNewFriend = int(Math.random() * 1);
numberCloseFriend = Math.round(Math.random() * 2);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
if (_root.currentDay == 30 || _root.currentDay == 31 || _root.currentDay == 58 || _root.currentDay == 59 || _root.currentDay == 86 || _root.currentDay == 86) {
_root.dinWords.gotoAndStop('dinPeriod');
} else {
if (_root.levelDin == 'Purgatory') {
_root.dinWords.gotoAndStop('dinPurg');
} else {
if (_root.levelDin == 'Stranger') {
if (numberStranger == 0) {
_root.dinWords.gotoAndStop('dinStranger');
}
if (numberStranger == 1) {
_root.dinWords.gotoAndStop('dinStranger2');
}
} else {
if (_root.levelDin == 'New Friend') {
if (numberNewFriend == 0) {
_root.dinWords.gotoAndStop('dinNew');
}
if (numberNewFriend == 1) {
_root.dinWords.gotoAndStop('dinNew2');
}
} else {
if (_root.levelDin == 'Close Friend') {
if (numberCloseFriend == 0) {
_root.dinWords.gotoAndStop('dinClose');
}
if (numberCloseFriend == 1) {
_root.dinWords.gotoAndStop('dinClose2');
}
if (numberCloseFriend == 2) {
_root.dinWords.gotoAndStop('dinClose3');
}
} else {
if (_root.levelDin == 'Girlfriend') {
_root.dinWords.gotoAndStop('dinGf');
}
}
}
}
}
}
}
}
}
instance zeldaBar of movieClip 517 {
onClipEvent (load) {
numberStranger = Math.round(Math.random() * 1);
numberNewFriend = Math.round(Math.random() * 1);
numberCloseFriend = Math.round(Math.random() * 2);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
if (_root.currentDay == 20 || _root.currentDay == 21 || _root.currentDay == 48 || _root.currentDay == 49 || _root.currentDay == 76 || _root.currentDay == 77) {
_root.zeldaWords.gotoAndStop('zeldaPeriod');
} else {
if (_root.levelZelda == 'Purgatory') {
_root.zeldaWords.gotoAndStop('zeldaPurg');
} else {
if (_root.levelZelda == 'Stranger') {
if (numberStranger == 0) {
_root.zeldaWords.gotoAndStop('zeldaStranger');
}
if (numberStranger == 1) {
_root.zeldaWords.gotoAndStop('zeldaStranger2');
}
} else {
if (_root.levelZelda == 'New Friend') {
if (numberNewFriend == 0) {
_root.zeldaWords.gotoAndStop('zeldaNew');
}
if (numberNewFriend == 1) {
_root.zeldaWords.gotoAndStop('zeldaNew2');
}
} else {
if (_root.levelZelda == 'Close Friend') {
if (numberCloseFriend == 0) {
_root.zeldaWords.gotoAndStop('zeldaClose');
}
if (numberCloseFriend == 1) {
_root.zeldaWords.gotoAndStop('zeldaClose2');
}
if (numberCloseFriend == 2) {
_root.zeldaWords.gotoAndStop('zeldaClose3');
}
} else {
if (_root.levelZelda == 'Girlfriend') {
_root.zeldaWords.gotoAndStop('zeldaGf');
}
}
}
}
}
}
}
}
}
instance otherWords of movieClip 1056 {
onClipEvent (enterFrame) {
if (this._currentframe >= 2) {
_root.peopleWords._visible = false;
_root.zeldaWords._visible = false;
_root.sariaWords._visible = false;
_root.malonWords._visible = false;
_root.dinWords._visible = false;
_root.nayruWords._visible = false;
}
if (this._currentframe == 1) {
_root.peopleWords._visible = true;
_root.zeldaWords._visible = true;
_root.sariaWords._visible = true;
_root.malonWords._visible = true;
_root.dinWords._visible = true;
_root.nayruWords._visible = true;
}
}
}
button 1205 {
on (release) {
if (_root.energyLeft < 40) {
gotoAndStop('tired');
} else {
gotoAndStop('purgTalk');
_root.energyLeft -= 40;
_root.statsZelda += (int(Math.random() * 5) + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 1206 {
on (release) {
gotoAndStop('purgGive');
give.enabled = false;
}
}
button 1207 {
on (release) {
gotoAndStop('purgDate');
date.enabled = false;
}
}
button 1208 {
on (release) {
gotoAndStop(1);
talk.enabled = true;
give.enabled = true;
date.enabled = true;
ask.enabled = true;
}
}
button 1209 {
on (release) {
if (_root.statsZelda <= 0) {
gotoAndStop('purgAsk');
} else {
if (_root.statsZelda >= 1) {
gotoAndPlay('levelUpPurg');
_root.levelZelda = 'Stranger';
}
}
ask.enabled = false;
}
}
button 1219 {
on (release) {
if (_root.energyLeft < 50) {
gotoAndStop('tired');
} else {
gotoAndStop('periodTalk');
_root.energyLeft -= 50;
_root.statsZelda -= int(Math.random() * 5 + 1 + _root.charm / 3);
talk.enabled = false;
}
}
}
button 1220 {
on (release) {
gotoAndStop('periodGive');
give.enabled = false;
}
}
button 1221 {
on (release) {
gotoAndStop('periodDate');
date.enabled = false;
}
}
button 1222 {
on (release) {
gotoAndStop('periodAsk');
}
}
button 1231 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('strangerTalk');
_root.energyLeft -= 25;
_root.statsZelda += (int(Math.random() * 5) + 1 + _root.charm) / 2;
}
}
}
button 1232 {
on (release) {
gotoAndStop('strangerGive');
give.enabled = false;
}
}
button 1233 {
on (release) {
gotoAndStop('strangerDate');
date.enabled = false;
}
}
button 1234 {
on (release) {
if (_root.statsZelda <= 199 && _root.statsZelda >= 0) {
gotoAndStop('strangerAsk');
} else {
if (_root.statsZelda >= 200) {
gotoAndPlay('lvlupStranger');
_root.levelZelda = 'New Friend';
}
}
ask.enabled = false;
}
}
button 1238 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('strangerTalk3');
_root.energyLeft -= 25;
_root.statsZelda += (int(Math.random() * 5) + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 1245 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('strangerTalk2');
_root.energyLeft -= 25;
_root.statsZelda += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1246 {
on (release) {
gotoAndStop('strangerGive2');
give.enabled = false;
}
}
button 1247 {
on (release) {
gotoAndStop('strangerDate2');
date.enabled = false;
}
}
button 1248 {
on (release) {
if (_root.statsZelda <= 199 && _root.statsZelda >= 0) {
gotoAndStop('strangerAsk2a');
} else {
if (_root.statsZelda >= 200) {
gotoAndPlay('lvlupStranger2');
_root.levelZelda = 'New Friend';
}
}
ask.enabled = false;
}
}
button 1252 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
talk.enabled = false;
gotoAndStop('strangerTalk4');
_root.energyLeft -= 25;
_root.statsZelda += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1253 {
on (release) {
if (_root.statsZelda <= 199 && _root.statsZelda >= 0) {
gotoAndStop('strangerAsk2a');
} else {
if (_root.statsZelda >= 200) {
gotoAndPlay('lvlupStranger2');
_root.levelZelda = 'New Friend';
}
}
ask.enabled = false;
}
}
button 1259 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk');
_root.energyLeft -= 25;
_root.statsZelda += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1260 {
on (release) {
gotoAndStop('newGift');
give.enabled = false;
}
}
button 1261 {
on (release) {
gotoAndStop('newDate');
date.enabled = false;
}
}
button 1262 {
on (release) {
if (_root.statsZelda <= 699 && _root.statsZelda >= 200) {
gotoAndStop('newAsk');
} else {
if (_root.statsZelda >= 700) {
gotoAndPlay('lvlupNew');
_root.levelZelda = 'Close Friend';
}
}
ask.enabled = false;
}
}
button 1266 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk3');
_root.energyLeft -= 25;
_root.statsZelda += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1268 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk5');
talk.enabled = false;
_root.energyLeft -= 25;
_root.statsZelda += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1275 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk2');
_root.energyLeft -= 25;
_root.statsZelda += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1276 {
on (release) {
gotoAndStop('newGift2');
give.enabled = false;
}
}
button 1277 {
on (release) {
gotoAndStop('newDate2');
date.enabled = false;
}
}
button 1278 {
on (release) {
if (_root.statsZelda <= 699 && _root.statsZelda >= 200) {
gotoAndStop('newAsk2a');
} else {
if (_root.statsZelda >= 700) {
gotoAndPlay('lvlupNew2');
_root.levelZelda = 'Close Friend';
}
}
ask.enabled = false;
}
}
button 1282 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk4');
_root.energyLeft -= 25;
_root.statsZelda += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1284 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
talk.enabled = false;
gotoAndStop('newTalk6');
_root.energyLeft -= 25;
_root.statsZelda += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1289 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk');
_root.energyLeft -= 25;
_root.statsZelda += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1290 {
on (release) {
gotoAndStop('give');
give.enabled = false;
}
}
button 1291 {
on (release) {
if (_root.statsZelda <= 1499 && _root.statsZelda >= 700) {
gotoAndStop('closeDateN');
date.enabled = false;
} else {
if (_root.statsZelda >= 1500) {
gotoAndStop('closeDateY');
}
}
}
}
button 1292 {
on (release) {
if (_root.statsZelda <= 1499 && _root.statsZelda >= 700) {
gotoAndStop('closeAsk');
} else {
if (_root.statsZelda >= 1500) {
gotoAndStop('closeAsk4');
}
}
ask.enabled = false;
}
}
button 1296 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk4');
_root.energyLeft -= 25;
_root.statsZelda += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 1297 {
on (release) {
if (_root.statsZelda <= 1499 && _root.statsZelda >= 700) {
gotoAndStop('closeDateN');
date.enabled = false;
} else {
if (_root.statsZelda >= 1500) {
gotoAndStop('closeDateY');
}
}
}
}
button 1303 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('date');
_root.energyLeft -= 25;
}
}
}
button 1308 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk2');
_root.energyLeft -= 25;
_root.statsZelda += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1309 {
on (release) {
gotoAndStop('give2');
give.enabled = false;
}
}
button 1310 {
on (release) {
if (_root.statsZelda <= 1499 && _root.statsZelda >= 700) {
gotoAndStop('closeDateN2');
date.enabled = false;
} else {
if (_root.statsZelda >= 1500) {
gotoAndStop('closeDateY2');
}
}
}
}
button 1311 {
on (release) {
if (_root.statsZelda <= 1499 && _root.statsZelda >= 700) {
gotoAndStop('closeAsk2');
} else {
if (_root.statsZelda >= 1500) {
gotoAndStop('closeAsk5');
}
}
ask.enabled = false;
}
}
button 1315 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk5');
_root.energyLeft -= 25;
_root.statsZelda += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 1321 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk5');
_root.energyLeft -= 25;
_root.statsZelda += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1323 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk3');
_root.energyLeft -= 25;
_root.statsZelda += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1324 {
on (release) {
gotoAndStop('give3');
give.enabled = false;
}
}
button 1325 {
on (release) {
if (_root.statsZelda <= 1499 && _root.statsZelda >= 700) {
gotoAndStop('closeDateN3');
date.enabled = false;
} else {
if (_root.statsZelda >= 1500) {
gotoAndStop('closeDateY3');
}
}
}
}
button 1326 {
on (release) {
if (_root.statsZelda <= 1499 && _root.statsZelda >= 700) {
gotoAndStop('closeAsk3');
} else {
if (_root.statsZelda >= 1500) {
gotoAndStop('closeAsk6');
}
}
ask.enabled = false;
}
}
button 1330 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk6');
_root.energyLeft -= 25;
_root.statsZelda += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 1337 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('gfTalk');
_root.energyLeft -= 25;
_root.statsZelda += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 1338 {
on (release) {
gotoAndStop('give4');
give.enabled = false;
}
}
button 1339 {
on (release) {
gotoAndStop('gfDate');
}
}
button 1340 {
on (release) {
gotoAndStop('gfAsk');
ask.enabled = false;
}
}
button 1347 {
on (release) {
gotoAndStop('gfGive');
give.enabled = false;
}
}
button 1352 {
on (release) {
gotoAndStop(1);
_root.items_btn.gotoAndStop(1);
_root.stats_btn.gotoAndStop(1);
}
}
movieClip 1357 {
}
button 1358 {
on (release) {
gotoAndStop('purgAsk2');
}
}
button 1359 {
on (release) {
gotoAndStop('StrangerAsk2');
}
}
button 1360 {
on (release) {
gotoAndStop('StrangerAsk2b');
}
}
button 1361 {
on (release) {
gotoAndStop('newAsk2');
}
}
button 1362 {
on (release) {
gotoAndStop('newAsk2b');
}
}
button 1363 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsZelda += int(Math.random() * 10);
_root.itemBracelet -= 1;
}
}
}
button 1364 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsZelda += int(Math.random() * 20 + 5);
_root.itemFairy -= 1;
}
}
}
button 1365 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsZelda += int(Math.random() * 20 + 10);
_root.itemOcarina -= 1;
}
}
}
button 1366 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsZelda += int(Math.random() * 5);
_root.itemStick -= 1;
}
}
}
button 1367 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsZelda += int(Math.random() * 10 + 5);
_root.itemFlower -= 1;
}
}
}
button 1374 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsZelda += int(Math.random() * 10 + 5);
_root.itemCoke -= 1;
}
}
}
button 1375 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsZelda += int(Math.random() * 3);
_root.itemFireOrb -= 1;
}
}
}
button 1376 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsZelda += int(Math.random() * 15 + 7);
_root.itemWaterOrb -= 1;
}
}
}
button 1377 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsZelda += int(Math.random() * 5);
_root.itemWeed -= 1;
}
}
}
button 1383 {
on (release) {
gotoAndStop('zeldaClose');
}
}
button 1385 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item2');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsZelda += int(Math.random() * 10);
_root.itemBracelet -= 1;
}
}
}
button 1386 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item2');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsZelda += int(Math.random() * 20 + 5);
_root.itemFairy -= 1;
}
}
}
button 1387 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item2');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsZelda += int(Math.random() * 20 + 10);
_root.itemOcarina -= 1;
}
}
}
button 1388 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item2');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsZelda += int(Math.random() * 5);
_root.itemStick -= 1;
}
}
}
button 1389 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item2');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsZelda += int(Math.random() * 10 + 5);
_root.itemFlower -= 1;
}
}
}
button 1396 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item2');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsZelda += int(Math.random() * 10 + 5);
_root.itemCoke -= 1;
}
}
}
button 1397 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item2');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsZelda += int(Math.random() * 3);
_root.itemFireOrb -= 1;
}
}
}
button 1398 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item2');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsZelda += int(Math.random() * 15 + 7);
_root.itemWaterOrb -= 1;
}
}
}
button 1399 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item2');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsZelda += int(Math.random() * 5);
_root.itemWeed -= 1;
}
}
}
button 1403 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item3');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsZelda += int(Math.random() * 10);
_root.itemBracelet -= 1;
}
}
}
button 1404 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item3');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsZelda += int(Math.random() * 20 + 5);
_root.itemFairy -= 1;
}
}
}
button 1405 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item3');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsZelda += int(Math.random() * 20 + 10);
_root.itemOcarina -= 1;
}
}
}
button 1406 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item3');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsZelda += int(Math.random() * 5);
_root.itemStick -= 1;
}
}
}
button 1407 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item3');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsZelda += int(Math.random() * 10 + 5);
_root.itemFlower -= 1;
}
}
}
button 1414 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item3');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsZelda += int(Math.random() * 10 + 5);
_root.itemCoke -= 1;
}
}
}
button 1415 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item3');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsZelda += int(Math.random() * 3);
_root.itemFireOrb -= 1;
}
}
}
button 1416 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item3');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsZelda += int(Math.random() * 15 + 7);
_root.itemWaterOrb -= 1;
}
}
}
button 1417 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item3');
_root.statsZelda -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsZelda += int(Math.random() * 5);
_root.itemWeed -= 1;
}
}
}
button 1421 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsZelda += int(Math.random() * 10);
_root.itemBracelet -= 1;
}
}
}
button 1422 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsZelda += int(Math.random() * 20 + 5);
_root.itemFairy -= 1;
}
}
}
button 1423 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsZelda += int(Math.random() * 20 + 10);
_root.itemOcarina -= 1;
}
}
}
button 1424 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsZelda += int(Math.random() * 5);
_root.itemStick -= 1;
}
}
}
button 1425 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsZelda += int(Math.random() * 10 + 5);
_root.itemFlower -= 1;
}
}
}
button 1432 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsZelda += int(Math.random() * 10 + 5);
_root.itemCoke -= 1;
}
}
}
button 1433 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsZelda += int(Math.random() * 3);
_root.itemFireOrb -= 1;
}
}
}
button 1434 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsZelda += int(Math.random() * 15 + 7);
_root.itemWaterOrb -= 1;
}
}
}
button 1435 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsZelda += int(Math.random() * 5);
_root.itemWeed -= 1;
}
}
}
button 1442 {
on (release) {
gotoAndStop('In Date');
zeldaDate.gotoAndStop('Date Main');
zeldaDate.bg.gotoAndStop('Castle');
_root.dateStats += 15;
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
zeldaDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
zeldaDate.pic.gotoAndStop(3);
}
}
}
}
button 1445 {
on (release) {
gotoAndStop('In Date');
zeldaDate.gotoAndStop('Date Main');
zeldaDate.bg.gotoAndStop('Kokori Village');
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
zeldaDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
zeldaDate.pic.gotoAndStop(3);
}
}
}
}
button 1448 {
on (release) {
gotoAndStop('In Date');
zeldaDate.gotoAndStop('Date Main');
zeldaDate.bg.gotoAndStop('Death Mountain');
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
zeldaDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
zeldaDate.pic.gotoAndStop(3);
}
}
}
}
button 1451 {
on (release) {
gotoAndStop('In Date');
zeldaDate.gotoAndStop('Date Main');
zeldaDate.bg.gotoAndStop('Lake Hylia');
_root.dateStats += 15;
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
zeldaDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
zeldaDate.pic.gotoAndStop(3);
}
}
}
}
button 1454 {
on (release) {
gotoAndStop('In Date');
zeldaDate.gotoAndStop('Date Main');
zeldaDate.bg.gotoAndStop('Zora Domain');
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
zeldaDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
zeldaDate.pic.gotoAndStop(3);
}
}
}
}
movieClip 1460 {
}
movieClip 1462 {
}
movieClip 1464 {
}
movieClip 1466 {
}
movieClip 1473 {
}
movieClip 1474 {
}
movieClip 1475 {
frame 1 {
stop();
}
}
movieClip 1483 {
frame 1 {
stop();
}
}
button 1484 {
on (release) {
gotoAndStop('exit');
}
}
button 1485 {
on (release) {
if (_root.levelZelda != 'Girlfriend') {
if (talkRandom <= 10) {
gotoAndStop('Talk1');
_root.talkTimes += 1;
} else {
if (talkRandom >= 11 && talkRandom <= 20) {
gotoAndStop('Talk2');
_root.talkTimes += 1;
} else {
if (talkRandom >= 21 && talkRandom <= 30) {
gotoAndStop('Talk3');
_root.talkTimes += 1;
} else {
if (talkRandom >= 31 && talkRandom <= 40) {
gotoAndStop('Talk4');
_root.talkTimes += 1;
} else {
if (talkRandom >= 41 && talkRandom <= 50) {
gotoAndStop('Talk5');
_root.talkTimes += 1;
} else {
if (talkRandom >= 51 && talkRandom <= 60) {
gotoAndStop('Talk6');
_root.talkTimes += 1;
} else {
if (talkRandom >= 61 && talkRandom <= 70) {
gotoAndStop('Talk7');
_root.talkTimes += 1;
} else {
if (talkRandom >= 71 && talkRandom <= 80) {
gotoAndStop('Talk8');
_root.talkTimes += 1;
} else {
if (talkRandom >= 81 && talkRandom <= 90) {
gotoAndStop('Talk9');
_root.talkTimes += 1;
} else {
if (talkRandom >= 91 && talkRandom <= 100) {
gotoAndStop('Talk10');
_root.talkTimes += 1;
} else {
if (talkRandom >= 101 && talkRandom <= 110) {
gotoAndStop('Talk11');
_root.talkTimes += 1;
} else {
if (talkRandom >= 111 && talkRandom <= 120) {
gotoAndStop('Talk12');
_root.talkTimes += 1;
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.talkTimes > 4) {
gotoAndStop('doOther');
}
}
if (_root.levelZelda == 'Girlfriend') {
if (_root.talkTimes == 0) {
gotoAndStop('TalkGf');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 1) {
gotoAndStop('TalkGf2');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 2) {
_root.dateStats += 20;
gotoAndStop('TalkGf3');
} else {
if (_root.talkTimes >= 3) {
gotoAndStop('doOther');
}
}
}
}
}
}
}
button 1486 {
on (release) {
_root.giveTimes += 1;
if (_root.giveTimes >= 2) {
gotoAndStop('doOther');
} else {
gotoAndStop('Give');
give.enabled = false;
talk.enabled = false;
touch.enabled = false;
picture.enabled = false;
kiss.enabled = false;
exit.enabled = false;
}
}
}
button 1489 {
on (release) {
touch.enabled = false;
gotoAndStop('Touch');
_root.touchTimes += 1;
if (_root.touchTimes >= 2) {
gotoAndStop('doOther');
}
}
}
button 1493 {
on (release) {
kiss.enabled = false;
if (_root.dateStats < 100) {
gotoAndStop('KissN');
_root.dateStats -= 15;
} else {
if (_root.dateStats >= 100) {
lips.gotoAndPlay(2);
gotoAndStop('KissY');
}
}
}
}
button 1496 {
on (release) {
_root.picTimes += 1;
if (_root.picTimes > 1) {
gotoAndStop('doOther');
} else {
if (_root.dateStats < 60) {
gotoAndStop('PicN');
_root.dateStats -= 10;
} else {
if (_root.dateStats >= 60) {
gotoAndStop('PicY');
camera.gotoAndPlay(2);
_root.dateStats += 15;
}
}
}
}
}
movieClip 1501 {
frame 1 {
stop();
}
}
movieClip 1504 {
}
movieClip 1506 {
}
movieClip 1508 {
frame 1 {
stop();
}
frame 43 {
_parent.gotoAndStop('Win');
}
}
button 1513 {
on (release) {
if (ans1 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans1 == '2') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans1 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans1 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 1517 {
on (release) {
if (ans2 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans2 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans2 == '3') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans2 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 1521 {
on (release) {
if (ans3 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans3 == '2') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans3 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans3 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 1525 {
on (release) {
if (ans4 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans4 == '2') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans4 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans4 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 1529 {
on (release) {
if (ans5 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans5 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans5 == '3') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans5 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 1533 {
on (release) {
if (ans6 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 5;
}
if (ans6 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans6 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans6 == '4') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
}
}
button 1537 {
on (release) {
if (ans7 == '1') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans7 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans7 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans7 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 15;
}
}
}
button 1541 {
on (release) {
if (ans8 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans8 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans8 == '3') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans8 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 1545 {
on (release) {
if (ans9 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans9 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans9 == '3') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans9 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 1549 {
on (release) {
if (ans10 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans10 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans10 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans10 == '4') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
}
}
button 1553 {
on (release) {
if (ans11 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans11 == '2') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans11 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans11 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 1557 {
on (release) {
if (ans12 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans12 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans12 == '3') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans12 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 1562 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 10;
_root.itemBracelet -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1563 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 15;
_root.itemFairy -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1564 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 20;
_root.itemOcarina -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1565 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.dateStats -= 10;
_root.itemStick -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1566 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.itemFlower -= 1;
_root.dateStats += 15;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1573 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 20;
_root.itemCoke -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1574 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.dateStats -= 5;
_root.itemFireOrb -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1575 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 20;
_root.itemWaterOrb -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1576 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.dateStats -= 10;
_root.itemWeed -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1580 {
on (release) {
gotoAndStop(2);
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1602 {
on (release) {
touch.enabled = false;
if (_root.levelZelda != 'Girlfriend') {
gotoAndStop('TouchBoob');
_root.dateStats -= 30;
} else {
gotoAndStop('TouchBoob Gf');
_root.dateStats += 40;
}
}
}
button 1608 {
on (release) {
gotoAndStop('TouchHand');
_root.dateStats += 20;
touch.enabled = false;
}
}
button 1613 {
on (release) {
gotoAndStop('TouchHair');
_root.dateStats -= 10;
touch.enabled = false;
}
}
button 1617 {
on (release) {
touch.enabled = false;
if (_root.levelZelda != 'Girlfriend') {
gotoAndStop('TouchLeg');
_root.dateStats -= 20;
} else {
gotoAndStop('TouchLeg Gf');
_root.dateStats += 20;
}
}
}
button 1620 {
on (release) {
gotoAndStop('TouchFace');
_root.dateStats += 20;
touch.enabled = false;
}
}
button 1621 {
on (release) {
_root.gotoAndStop('outsideHouse');
_root.statsZelda -= 100;
gotoAndStop(1);
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
_root.dateStats = 0;
_root.talkTimes = 0;
_root.touchTimes = 0;
_root.giveTimes = 0;
_root.picTimes = 0;
}
}
button 1622 {
on (release) {
if (_root.levelZelda != 'Girlfriend') {
if (talkRandom <= 10) {
gotoAndStop('Talk1');
_root.talkTimes += 1;
} else {
if (talkRandom >= 11 && talkRandom <= 20) {
gotoAndStop('Talk2');
_root.talkTimes += 1;
} else {
if (talkRandom >= 21 && talkRandom <= 30) {
gotoAndStop('Talk3');
_root.talkTimes += 1;
} else {
if (talkRandom >= 31 && talkRandom <= 40) {
gotoAndStop('Talk4');
_root.talkTimes += 1;
} else {
if (talkRandom >= 41 && talkRandom <= 50) {
gotoAndStop('Talk5');
_root.talkTimes += 1;
} else {
if (talkRandom >= 51 && talkRandom <= 60) {
gotoAndStop('Talk6');
_root.talkTimes += 1;
} else {
if (talkRandom >= 61 && talkRandom <= 70) {
gotoAndStop('Talk7');
_root.talkTimes += 1;
} else {
if (talkRandom >= 71 && talkRandom <= 80) {
gotoAndStop('Talk8');
_root.talkTimes += 1;
} else {
if (talkRandom >= 81 && talkRandom <= 90) {
gotoAndStop('Talk9');
_root.talkTimes += 1;
} else {
if (talkRandom >= 91 && talkRandom <= 100) {
gotoAndStop('Talk10');
_root.talkTimes += 1;
} else {
if (talkRandom >= 101 && talkRandom <= 110) {
gotoAndStop('Talk11');
_root.talkTimes += 1;
} else {
if (talkRandom >= 111 && talkRandom <= 120) {
gotoAndStop('Talk12');
_root.talkTimes += 1;
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.talkTimes >= 4) {
gotoAndStop('doOther');
}
}
if (_root.levelZelda == 'Girlfriend') {
if (_root.talkTimes == 0) {
gotoAndStop('TalkGf');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 1) {
gotoAndStop('TalkGf2');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 2) {
_root.dateStats += 20;
gotoAndStop('TalkGf3');
} else {
if (_root.talkTimes >= 3) {
gotoAndStop('doOther');
}
}
}
}
}
}
}
button 1623 {
on (release) {
kiss.enabled = false;
if (_root.dateStats < 100) {
gotoAndStop('KissN');
_root.dateStats -= 15;
} else {
if (_root.dateStats >= 100) {
lips.gotoAndPlay(2);
gotoAndStop('KissY');
}
}
}
}
movieClip 1629 {
}
button 1630 {
on (release) {
_root.levelZelda = 'Girlfriend';
gotoAndStop(1);
_root.gotoAndStop('outsideHouse');
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
_root.dateStats = 0;
_root.talkTimes = 0;
_root.touchTimes = 0;
_root.giveTimes = 0;
_root.picTimes = 0;
}
}
movieClip 1631 {
frame 1 {
stop();
onEnterFrame = function () {
talkRandom = int(Math.random() * 120);
};
_root.dateStats = 0;
_root.talkTimes = 0;
_root.touchTimes = 0;
_root.giveTimes = 0;
_root.picTimes = 0;
}
frame 2 {
picture.enabled = true;
touch.enabled = true;
give.enabled = true;
kiss.enabled = true;
talk.enabled = true;
}
instance hp of movieClip 403 {
onClipEvent (load) {
baseX = 368.6;
}
onClipEvent (enterFrame) {
this._width = _root.dateStats / 0.525;
this._x = baseX + this._width / 2;
}
}
frame 14 {
picture.enabled = false;
touch.enabled = false;
give.enabled = false;
kiss.enabled = false;
talk.enabled = false;
ext.enabled = false;
}
frame 118 {
picture.enabled = true;
touch.enabled = true;
give.enabled = true;
kiss.enabled = true;
talk.enabled = true;
exit.enabled = true;
}
}
movieClip 1632 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 448 {
stop();
}
frame 531 {
stop();
}
frame 609 {
stop();
}
frame 672 {
stop();
}
frame 680 {
play();
}
frame 699 {
stop();
}
frame 723 {
stop();
}
frame 753 {
stop();
}
frame 778 {
stop();
}
frame 785 {
stop();
}
}
button 1636 {
on (release) {
if (_root.energyLeft < 40) {
gotoAndStop('tired');
} else {
gotoAndStop('purgTalk');
_root.energyLeft -= 40;
_root.statsSaria += (int(Math.random() * 5) + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 1637 {
on (release) {
gotoAndStop('purgGive');
give.enabled = false;
}
}
button 1638 {
on (release) {
gotoAndStop('purgDate');
date.enabled = false;
}
}
button 1639 {
on (release) {
gotoAndStop(1);
talk.enabled = true;
give.enabled = true;
date.enabled = true;
ask.enabled = true;
}
}
button 1640 {
on (release) {
if (_root.statsSaria <= 0) {
gotoAndStop('purgAsk');
} else {
if (_root.statsSaria >= 1) {
gotoAndPlay('levelUpPurg');
_root.levelSaria = 'Stranger';
}
}
ask.enabled = false;
}
}
button 1650 {
on (release) {
if (_root.energyLeft < 50) {
gotoAndStop('tired');
} else {
gotoAndStop('periodTalk');
_root.energyLeft -= 50;
_root.statsSaria -= int(Math.random() * 5 + 1 + _root.charm / 3);
talk.enabled = false;
}
}
}
button 1651 {
on (release) {
gotoAndStop('periodGive');
give.enabled = false;
}
}
button 1652 {
on (release) {
gotoAndStop('periodDate');
date.enabled = false;
}
}
button 1653 {
on (release) {
gotoAndStop('periodAsk');
}
}
button 1661 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('strangerTalk');
_root.energyLeft -= 25;
_root.statsSaria += (int(Math.random() * 5) + 1 + _root.charm) / 2;
}
}
}
button 1662 {
on (release) {
gotoAndStop('strangerGive');
give.enabled = false;
}
}
button 1663 {
on (release) {
gotoAndStop('strangerDate');
date.enabled = false;
}
}
button 1664 {
on (release) {
if (_root.statsSaria <= 199 && _root.statsSaria >= 0) {
gotoAndStop('strangerAsk');
} else {
if (_root.statsSaria >= 200) {
gotoAndPlay('lvlupStranger');
_root.levelSaria = 'New Friend';
}
}
ask.enabled = false;
}
}
button 1668 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('strangerTalk3');
_root.energyLeft -= 25;
_root.statsSaria += (int(Math.random() * 5) + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 1676 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('strangerTalk2');
_root.energyLeft -= 25;
_root.statsSaria += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1677 {
on (release) {
gotoAndStop('strangerGive2');
give.enabled = false;
}
}
button 1678 {
on (release) {
gotoAndStop('strangerDate2');
date.enabled = false;
}
}
button 1679 {
on (release) {
if (_root.statsSaria <= 199 && _root.statsSaria >= 0) {
gotoAndStop('strangerAsk2a');
} else {
if (_root.statsSaria >= 200) {
gotoAndPlay('lvlupStranger2');
_root.levelSaria = 'New Friend';
}
}
ask.enabled = false;
}
}
button 1683 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
talk.enabled = false;
gotoAndStop('strangerTalk4');
_root.energyLeft -= 25;
_root.statsSaria += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1688 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk');
_root.energyLeft -= 25;
_root.statsSaria += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1689 {
on (release) {
gotoAndStop('newGift');
give.enabled = false;
}
}
button 1690 {
on (release) {
gotoAndStop('newDate');
date.enabled = false;
}
}
button 1691 {
on (release) {
if (_root.statsSaria <= 699 && _root.statsSaria >= 200) {
gotoAndStop('newAsk');
} else {
if (_root.statsSaria >= 700) {
gotoAndPlay('lvlupNew');
_root.levelSaria = 'Close Friend';
}
}
ask.enabled = false;
}
}
button 1695 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk3');
_root.energyLeft -= 25;
_root.statsSaria += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1697 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk5');
talk.enabled = false;
_root.energyLeft -= 25;
_root.statsSaria += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1704 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk2');
_root.energyLeft -= 25;
_root.statsSaria += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1705 {
on (release) {
gotoAndStop('newGift2');
give.enabled = false;
}
}
button 1706 {
on (release) {
gotoAndStop('newDate2');
date.enabled = false;
}
}
button 1707 {
on (release) {
if (_root.statsSaria <= 699 && _root.statsSaria >= 200) {
gotoAndStop('newAsk2a');
} else {
if (_root.statsSaria >= 700) {
gotoAndPlay('lvlupNew2');
_root.levelSaria = 'Close Friend';
}
}
ask.enabled = false;
}
}
button 1711 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk4');
_root.energyLeft -= 25;
_root.statsSaria += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1713 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
talk.enabled = false;
gotoAndStop('newTalk6');
_root.energyLeft -= 25;
_root.statsSaria += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1718 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk');
_root.energyLeft -= 25;
_root.statsSaria += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1719 {
on (release) {
gotoAndStop('give');
give.enabled = false;
}
}
button 1720 {
on (release) {
if (_root.statsSaria <= 1499 && _root.statsSaria >= 700) {
gotoAndStop('closeDateN');
date.enabled = false;
} else {
if (_root.statsSaria >= 1500) {
gotoAndStop('closeDateY');
}
}
}
}
button 1721 {
on (release) {
if (_root.statsSaria <= 1499 && _root.statsSaria >= 700) {
gotoAndStop('closeAsk');
} else {
if (_root.statsSaria >= 1500) {
gotoAndStop('closeAsk4');
}
}
ask.enabled = false;
}
}
button 1723 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk4');
_root.energyLeft -= 25;
_root.statsSaria += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 1724 {
on (release) {
if (_root.statsSaria <= 1499 && _root.statsSaria >= 700) {
gotoAndStop('closeDateN');
date.enabled = false;
} else {
if (_root.statsSaria >= 1500) {
gotoAndStop('closeDateY');
}
}
}
}
button 1730 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('date');
_root.energyLeft -= 25;
}
}
}
button 1735 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk2');
_root.energyLeft -= 25;
_root.statsSaria += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1736 {
on (release) {
gotoAndStop('give2');
give.enabled = false;
}
}
button 1737 {
on (release) {
if (_root.statsSaria <= 1499 && _root.statsSaria >= 700) {
gotoAndStop('closeDateN2');
date.enabled = false;
} else {
if (_root.statsSaria >= 1500) {
gotoAndStop('closeDateY2');
}
}
}
}
button 1738 {
on (release) {
if (_root.statsSaria <= 1499 && _root.statsSaria >= 700) {
gotoAndStop('closeAsk2');
} else {
if (_root.statsSaria >= 1500) {
gotoAndStop('closeAsk5');
}
}
ask.enabled = false;
}
}
button 1740 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk5');
_root.energyLeft -= 25;
_root.statsSaria += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 1746 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk5');
_root.energyLeft -= 25;
_root.statsSaria += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1750 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk3');
_root.energyLeft -= 25;
_root.statsSaria += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 1751 {
on (release) {
gotoAndStop('give3');
give.enabled = false;
}
}
button 1752 {
on (release) {
if (_root.statsSaria <= 1499 && _root.statsSaria >= 700) {
gotoAndStop('closeDateN3');
date.enabled = false;
} else {
if (_root.statsSaria >= 1500) {
gotoAndStop('closeDateY3');
}
}
}
}
button 1753 {
on (release) {
if (_root.statsSaria <= 1499 && _root.statsSaria >= 700) {
gotoAndStop('closeAsk3');
} else {
if (_root.statsSaria >= 1500) {
gotoAndStop('closeAsk6');
}
}
ask.enabled = false;
}
}
button 1755 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk6');
_root.energyLeft -= 25;
_root.statsSaria += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 1764 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('gfTalk');
_root.energyLeft -= 25;
_root.statsSaria += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 1765 {
on (release) {
gotoAndStop('give4');
give.enabled = false;
}
}
button 1766 {
on (release) {
gotoAndStop('gfDate');
}
}
button 1767 {
on (release) {
gotoAndStop('gfAsk');
ask.enabled = false;
}
}
button 1771 {
on (release) {
gotoAndStop('gfGive');
give.enabled = false;
}
}
button 1775 {
on (release) {
gotoAndStop(1);
_root.items_btn.gotoAndStop(1);
_root.stats_btn.gotoAndStop(1);
}
}
button 1776 {
on (release) {
gotoAndStop('purgAsk2');
}
}
button 1777 {
on (release) {
gotoAndStop('StrangerAsk2');
}
}
button 1778 {
on (release) {
gotoAndStop('StrangerAsk2b');
}
}
button 1779 {
on (release) {
gotoAndStop('newAsk2');
}
}
button 1780 {
on (release) {
gotoAndStop('newAsk2b');
}
}
button 1781 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsSaria += int(Math.random() * 5);
_root.itemBracelet -= 1;
}
}
}
button 1782 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsSaria += int(Math.random() * 20 + 5);
_root.itemFairy -= 1;
}
}
}
button 1783 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsSaria += int(Math.random() * 20 + 10);
_root.itemOcarina -= 1;
}
}
}
button 1784 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsSaria += int(Math.random() * 8);
_root.itemStick -= 1;
}
}
}
button 1785 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsSaria += int(Math.random() * 10 + 5);
_root.itemFlower -= 1;
}
}
}
button 1792 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsSaria += int(Math.random() * 5);
_root.itemCoke -= 1;
}
}
}
button 1793 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsSaria += int(Math.random() * 3);
_root.itemFireOrb -= 1;
}
}
}
button 1794 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsSaria += int(Math.random() * 22 + 7);
_root.itemWaterOrb -= 1;
}
}
}
button 1795 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsSaria += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 1799 {
on (release) {
gotoAndStop('sariaClose');
}
}
button 1801 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item2');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsSaria += int(Math.random() * 5);
_root.itemBracelet -= 1;
}
}
}
button 1802 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item2');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsSaria += int(Math.random() * 20 + 5);
_root.itemFairy -= 1;
}
}
}
button 1803 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item2');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsSaria += int(Math.random() * 20 + 10);
_root.itemOcarina -= 1;
}
}
}
button 1804 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item2');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsSaria += int(Math.random() * 8);
_root.itemStick -= 1;
}
}
}
button 1805 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item2');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsSaria += int(Math.random() * 10 + 5);
_root.itemFlower -= 1;
}
}
}
button 1812 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item2');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsSaria += int(Math.random() * 5);
_root.itemCoke -= 1;
}
}
}
button 1813 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item2');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsSaria += int(Math.random() * 3);
_root.itemFireOrb -= 1;
}
}
}
button 1814 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item2');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsSaria += int(Math.random() * 22 + 7);
_root.itemWaterOrb -= 1;
}
}
}
button 1815 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item2');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsSaria += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 1819 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item3');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsSaria += int(Math.random() * 5);
_root.itemBracelet -= 1;
}
}
}
button 1820 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item3');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsSaria += int(Math.random() * 20 + 5);
_root.itemFairy -= 1;
}
}
}
button 1821 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item3');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsSaria += int(Math.random() * 20 + 10);
_root.itemOcarina -= 1;
}
}
}
button 1822 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item3');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsSaria += int(Math.random() * 8);
_root.itemStick -= 1;
}
}
}
button 1823 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item3');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsSaria += int(Math.random() * 10 + 5);
_root.itemFlower -= 1;
}
}
}
button 1830 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item3');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsSaria += int(Math.random() * 5);
_root.itemCoke -= 1;
}
}
}
button 1831 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item3');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsSaria += int(Math.random() * 3);
_root.itemFireOrb -= 1;
}
}
}
button 1832 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item3');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsSaria += int(Math.random() * 22 + 7);
_root.itemWaterOrb -= 1;
}
}
}
button 1833 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item3');
_root.statsSaria -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsSaria += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 1837 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsSaria += int(Math.random() * 5);
_root.itemBracelet -= 1;
}
}
}
button 1838 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsSaria += int(Math.random() * 20 + 5);
_root.itemFairy -= 1;
}
}
}
button 1839 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsSaria += int(Math.random() * 20 + 10);
_root.itemOcarina -= 1;
}
}
}
button 1840 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsSaria += int(Math.random() * 8);
_root.itemStick -= 1;
}
}
}
button 1841 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsSaria += int(Math.random() * 10 + 5);
_root.itemFlower -= 1;
}
}
}
button 1848 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsSaria += int(Math.random() * 5);
_root.itemCoke -= 1;
}
}
}
button 1849 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsSaria += int(Math.random() * 3);
_root.itemFireOrb -= 1;
}
}
}
button 1850 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsSaria += int(Math.random() * 22 + 7);
_root.itemWaterOrb -= 1;
}
}
}
button 1851 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsSaria += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 1855 {
on (release) {
gotoAndStop('In Date');
sariaDate.gotoAndStop('Date Main');
sariaDate.bg.gotoAndStop('Castle');
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
sariaDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
sariaDate.pic.gotoAndStop(3);
}
}
}
}
button 1856 {
on (release) {
gotoAndStop('In Date');
sariaDate.gotoAndStop('Date Main');
sariaDate.bg.gotoAndStop('Kokori Village');
_root.dateStats += 15;
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
sariaDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
sariaDate.pic.gotoAndStop(3);
}
}
}
}
button 1857 {
on (release) {
gotoAndStop('In Date');
sariaDate.gotoAndStop('Date Main');
sariaDate.bg.gotoAndStop('Death Mountain');
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
sariaDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
sariaDate.pic.gotoAndStop(3);
}
}
}
}
button 1858 {
on (release) {
gotoAndStop('In Date');
sariaDate.gotoAndStop('Date Main');
sariaDate.bg.gotoAndStop('Lake Hylia');
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
sariaDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
sariaDate.pic.gotoAndStop(3);
}
}
}
}
button 1859 {
on (release) {
gotoAndStop('In Date');
sariaDate.gotoAndStop('Date Main');
sariaDate.bg.gotoAndStop('Zora Domain');
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
sariaDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
sariaDate.pic.gotoAndStop(3);
}
}
}
}
movieClip 1866 {
frame 1 {
stop();
}
}
button 1867 {
on (release) {
gotoAndStop('exit');
}
}
button 1868 {
on (release) {
if (_root.levelSaria != 'Girlfriend') {
if (talkRandom <= 10) {
gotoAndStop('Talk1');
_root.talkTimes += 1;
} else {
if (talkRandom >= 11 && talkRandom <= 20) {
gotoAndStop('Talk2');
_root.talkTimes += 1;
} else {
if (talkRandom >= 21 && talkRandom <= 30) {
gotoAndStop('Talk3');
_root.talkTimes += 1;
} else {
if (talkRandom >= 31 && talkRandom <= 40) {
gotoAndStop('Talk4');
_root.talkTimes += 1;
} else {
if (talkRandom >= 41 && talkRandom <= 50) {
gotoAndStop('Talk5');
_root.talkTimes += 1;
} else {
if (talkRandom >= 51 && talkRandom <= 60) {
gotoAndStop('Talk6');
_root.talkTimes += 1;
} else {
if (talkRandom >= 61 && talkRandom <= 70) {
gotoAndStop('Talk7');
_root.talkTimes += 1;
} else {
if (talkRandom >= 71 && talkRandom <= 80) {
gotoAndStop('Talk8');
_root.talkTimes += 1;
} else {
if (talkRandom >= 81 && talkRandom <= 90) {
gotoAndStop('Talk9');
_root.talkTimes += 1;
} else {
if (talkRandom >= 91 && talkRandom <= 100) {
gotoAndStop('Talk10');
_root.talkTimes += 1;
} else {
if (talkRandom >= 101 && talkRandom <= 110) {
gotoAndStop('Talk11');
_root.talkTimes += 1;
} else {
if (talkRandom >= 111 && talkRandom <= 120) {
gotoAndStop('Talk12');
_root.talkTimes += 1;
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.talkTimes > 4) {
gotoAndStop('doOther');
}
}
if (_root.levelSaria == 'Girlfriend') {
if (_root.talkTimes == 0) {
gotoAndStop('TalkGf');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 1) {
gotoAndStop('TalkGf2');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 2) {
_root.dateStats += 20;
gotoAndStop('TalkGf3');
} else {
if (_root.talkTimes >= 3) {
gotoAndStop('doOther');
}
}
}
}
}
}
}
button 1869 {
on (release) {
_root.giveTimes += 1;
if (_root.giveTimes >= 2) {
gotoAndStop('doOther');
} else {
gotoAndStop('Give');
give.enabled = false;
talk.enabled = false;
touch.enabled = false;
picture.enabled = false;
kiss.enabled = false;
exit.enabled = false;
}
}
}
button 1870 {
on (release) {
touch.enabled = false;
gotoAndStop('Touch');
_root.touchTimes += 1;
if (_root.touchTimes >= 2) {
gotoAndStop('doOther');
}
}
}
button 1871 {
on (release) {
if (_root.dateStats < 100) {
gotoAndStop('KissN');
_root.dateStats -= 15;
kiss.enabled = false;
} else {
if (_root.dateStats >= 100) {
lips.gotoAndPlay(2);
gotoAndStop('KissY');
kiss.enabled = false;
}
}
}
}
button 1872 {
on (release) {
_root.picTimes += 1;
if (_root.picTimes > 1) {
gotoAndStop('doOther');
} else {
if (_root.dateStats < 60) {
gotoAndStop('PicN');
_root.dateStats -= 10;
pic.enabled = false;
} else {
if (_root.dateStats >= 60) {
gotoAndStop('PicY');
camera.gotoAndPlay(2);
_root.dateStats += 15;
}
}
}
}
}
button 1876 {
on (release) {
if (ans1 == '1') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans1 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans1 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans1 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 1880 {
on (release) {
if (ans2 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans2 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans2 == '3') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans2 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 1883 {
on (release) {
if (ans3 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans3 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans3 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans3 == '4') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
}
}
button 1887 {
on (release) {
if (ans4 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans4 == '2') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans4 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans4 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 1891 {
on (release) {
if (ans5 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans5 == '2') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans5 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans5 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 1894 {
on (release) {
if (ans6 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans6 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans6 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans6 == '4') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
}
}
button 1898 {
on (release) {
if (ans7 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans7 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans7 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans7 == '4') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
}
}
button 1902 {
on (release) {
if (ans8 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans8 == '2') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans8 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans8 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 1906 {
on (release) {
if (ans9 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans9 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans9 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans9 == '4') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
}
}
button 1910 {
on (release) {
if (ans10 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans10 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans10 == '3') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans10 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 1914 {
on (release) {
if (ans11 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans11 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans11 == '3') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans11 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 1918 {
on (release) {
if (ans12 == '1') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans12 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans12 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans12 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 1922 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.dateStats -= 10;
_root.itemBracelet -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1923 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 15;
_root.itemFairy -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1924 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 20;
_root.itemOcarina -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1925 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 10;
_root.itemStick -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1926 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.itemFlower -= 1;
_root.dateStats += 15;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1933 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.dateStats -= 10;
_root.itemCoke -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1934 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.dateStats -= 10;
_root.itemFireOrb -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1935 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 20;
_root.itemWaterOrb -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1936 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 15;
_root.itemWeed -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1940 {
on (release) {
gotoAndStop(2);
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 1951 {
on (release) {
touch.enabled = false;
if (_root.levelSaria != 'Girlfriend') {
gotoAndStop('TouchBoob');
_root.dateStats -= 30;
} else {
gotoAndStop('TouchBoob Gf');
_root.dateStats += 40;
}
}
}
button 1952 {
on (release) {
gotoAndStop('TouchHand');
_root.dateStats += 20;
touch.enabled = false;
}
}
button 1953 {
on (release) {
gotoAndStop('TouchHair');
_root.dateStats += 15;
touch.enabled = false;
}
}
button 1954 {
on (release) {
touch.enabled = false;
if (_root.levelSaria != 'Girlfriend') {
gotoAndStop('TouchLeg');
_root.dateStats -= 20;
} else {
gotoAndStop('TouchLeg Gf');
_root.dateStats += 20;
}
}
}
button 1955 {
on (release) {
gotoAndStop('TouchFace');
_root.dateStats += 20;
touch.enabled = false;
}
}
button 1956 {
on (release) {
_root.gotoAndStop('outsideHouse');
_root.statsSaria -= 100;
gotoAndStop(1);
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
_root.dateStats = 0;
_root.talkTimes = 0;
_root.touchTimes = 0;
_root.giveTimes = 0;
_root.picTimes = 0;
}
}
button 1957 {
on (release) {
if (_root.levelSaria != 'Girlfriend') {
if (talkRandom <= 10) {
gotoAndStop('Talk1');
_root.talkTimes += 1;
} else {
if (talkRandom >= 11 && talkRandom <= 20) {
gotoAndStop('Talk2');
_root.talkTimes += 1;
} else {
if (talkRandom >= 21 && talkRandom <= 30) {
gotoAndStop('Talk3');
_root.talkTimes += 1;
} else {
if (talkRandom >= 31 && talkRandom <= 40) {
gotoAndStop('Talk4');
_root.talkTimes += 1;
} else {
if (talkRandom >= 41 && talkRandom <= 50) {
gotoAndStop('Talk5');
_root.talkTimes += 1;
} else {
if (talkRandom >= 51 && talkRandom <= 60) {
gotoAndStop('Talk6');
_root.talkTimes += 1;
} else {
if (talkRandom >= 61 && talkRandom <= 70) {
gotoAndStop('Talk7');
_root.talkTimes += 1;
} else {
if (talkRandom >= 71 && talkRandom <= 80) {
gotoAndStop('Talk8');
_root.talkTimes += 1;
} else {
if (talkRandom >= 81 && talkRandom <= 90) {
gotoAndStop('Talk9');
_root.talkTimes += 1;
} else {
if (talkRandom >= 91 && talkRandom <= 100) {
gotoAndStop('Talk10');
_root.talkTimes += 1;
} else {
if (talkRandom >= 101 && talkRandom <= 110) {
gotoAndStop('Talk11');
_root.talkTimes += 1;
} else {
if (talkRandom >= 111 && talkRandom <= 120) {
gotoAndStop('Talk12');
_root.talkTimes += 1;
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.talkTimes >= 4) {
gotoAndStop('doOther');
}
}
if (_root.levelSaria == 'Girlfriend') {
if (_root.talkTimes == 0) {
gotoAndStop('TalkGf');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 1) {
gotoAndStop('TalkGf2');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 2) {
_root.dateStats += 20;
gotoAndStop('TalkGf3');
} else {
if (_root.talkTimes >= 3) {
gotoAndStop('doOther');
}
}
}
}
}
}
}
button 1958 {
on (release) {
kiss.enabled = false;
if (_root.dateStats < 100) {
gotoAndStop('KissN');
_root.dateStats -= 15;
} else {
if (_root.dateStats >= 100) {
lips.gotoAndPlay(2);
gotoAndStop('KissY');
}
}
}
}
button 1959 {
on (release) {
_root.picTimes += 1;
if (_root.picTimes > 1) {
gotoAndStop('doOther');
} else {
if (_root.dateStats < 60) {
gotoAndStop('PicN');
_root.dateStats -= 10;
} else {
if (_root.dateStats >= 60) {
gotoAndStop('PicY');
camera.gotoAndPlay(2);
_root.dateStats += 15;
}
}
}
}
}
button 1961 {
on (release) {
_root.levelSaria = 'Girlfriend';
gotoAndStop(1);
_root.gotoAndStop('outsideHouse');
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
_root.dateStats = 0;
_root.talkTimes = 0;
_root.touchTimes = 0;
_root.giveTimes = 0;
_root.picTimes = 0;
}
}
movieClip 1964 {
}
movieClip 1965 {
frame 1 {
stop();
onEnterFrame = function () {
talkRandom = int(Math.random() * 120);
};
_root.dateStats = 0;
_root.talkTimes = 0;
_root.touchTimes = 0;
_root.giveTimes = 0;
_root.picTimes = 0;
}
frame 2 {
picture.enabled = true;
touch.enabled = true;
give.enabled = true;
kiss.enabled = true;
talk.enabled = true;
}
instance hp of movieClip 403 {
onClipEvent (load) {
baseX = 419.6;
}
onClipEvent (enterFrame) {
this._width = _root.dateStats / 0.525;
this._x = baseX + this._width / 2;
}
}
frame 14 {
picture.enabled = false;
touch.enabled = false;
give.enabled = false;
kiss.enabled = false;
talk.enabled = false;
ext.enabled = false;
}
frame 118 {
picture.enabled = true;
touch.enabled = true;
give.enabled = true;
kiss.enabled = true;
talk.enabled = true;
exit.enabled = true;
}
}
movieClip 1966 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 720 {
stop();
}
frame 743 {
stop();
}
frame 767 {
stop();
}
frame 797 {
stop();
}
frame 822 {
stop();
}
}
button 1970 {
on (release) {
if (_root.energyLeft < 40) {
gotoAndStop('tired');
} else {
gotoAndStop('purgTalk');
_root.energyLeft -= 40;
_root.statsMalon += (int(Math.random() * 5) + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 1971 {
on (release) {
gotoAndStop('purgGive');
give.enabled = false;
}
}
button 1972 {
on (release) {
gotoAndStop('purgDate');
date.enabled = false;
}
}
button 1973 {
on (release) {
gotoAndStop(1);
talk.enabled = true;
give.enabled = true;
date.enabled = true;
ask.enabled = true;
}
}
button 1974 {
on (release) {
if (_root.statsMalon <= 0) {
gotoAndStop('purgAsk');
} else {
if (_root.statsMalon >= 1) {
gotoAndPlay('levelUpPurg');
_root.levelMalon = 'Stranger';
}
}
ask.enabled = false;
}
}
button 1977 {
on (release) {
if (_root.charm >= 300) {
gotoAndStop('drink full 1');
} else {
gotoAndStop('drink');
}
}
}
button 1987 {
on (release) {
if (_root.energyLeft < 50) {
gotoAndStop('tired');
} else {
gotoAndStop('periodTalk');
_root.energyLeft -= 50;
_root.statsMalon -= int(Math.random() * 5 + 1 + _root.charm / 3);
talk.enabled = false;
}
}
}
button 1988 {
on (release) {
gotoAndStop('periodGive');
give.enabled = false;
}
}
button 1989 {
on (release) {
gotoAndStop('periodDate');
date.enabled = false;
}
}
button 1990 {
on (release) {
gotoAndStop('periodAsk');
ask.enabled = false;
}
}
button 1991 {
on (release) {
if (_root.charm >= 300) {
gotoAndStop('drink full 1');
} else {
gotoAndStop('drink');
}
}
}
button 1998 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('strangerTalk');
_root.energyLeft -= 25;
_root.statsMalon += (int(Math.random() * 5) + 1 + _root.charm) / 2;
}
}
}
button 1999 {
on (release) {
gotoAndStop('strangerGive');
give.enabled = false;
}
}
button 2000 {
on (release) {
gotoAndStop('strangerDate');
date.enabled = false;
}
}
button 2001 {
on (release) {
if (_root.statsMalon <= 199 && _root.statsMalon >= 0) {
gotoAndStop('strangerAsk');
} else {
if (_root.statsMalon >= 200) {
gotoAndPlay('lvlupStranger');
_root.levelMalon = 'New Friend';
}
}
ask.enabled = false;
}
}
button 2002 {
on (release) {
if (_root.charm >= 300) {
gotoAndStop('drink full 2');
} else {
gotoAndStop('drink');
}
}
}
button 2004 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('strangerTalk3');
_root.energyLeft -= 25;
_root.statsMalon += (int(Math.random() * 5) + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 2012 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('strangerTalk2');
_root.energyLeft -= 25;
_root.statsMalon += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2013 {
on (release) {
gotoAndStop('strangerGive2');
give.enabled = false;
}
}
button 2014 {
on (release) {
gotoAndStop('strangerDate2');
date.enabled = false;
}
}
button 2015 {
on (release) {
if (_root.statsMalon <= 199 && _root.statsMalon >= 0) {
gotoAndStop('strangerAsk2a');
} else {
if (_root.statsMalon >= 200) {
gotoAndPlay('lvlupStranger2');
_root.levelMalon = 'New Friend';
}
}
ask.enabled = false;
}
}
button 2017 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
talk.enabled = false;
gotoAndStop('strangerTalk4');
_root.energyLeft -= 25;
_root.statsMalon += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2024 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk');
_root.energyLeft -= 25;
_root.statsMalon += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2025 {
on (release) {
gotoAndStop('newGift');
give.enabled = false;
}
}
button 2026 {
on (release) {
gotoAndStop('newDate');
date.enabled = false;
}
}
button 2027 {
on (release) {
if (_root.statsMalon <= 699 && _root.statsMalon >= 200) {
gotoAndStop('newAsk');
} else {
if (_root.statsMalon >= 700) {
gotoAndPlay('lvlupNew');
_root.levelMalon = 'Close Friend';
}
}
ask.enabled = false;
}
}
button 2029 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk3');
_root.energyLeft -= 25;
_root.statsMalon += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2031 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk5');
talk.enabled = false;
_root.energyLeft -= 25;
_root.statsMalon += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2038 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk2');
_root.energyLeft -= 25;
_root.statsMalon += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2039 {
on (release) {
gotoAndStop('newGift2');
give.enabled = false;
}
}
button 2040 {
on (release) {
gotoAndStop('newDate2');
date.enabled = false;
}
}
button 2041 {
on (release) {
if (_root.statsMalon <= 699 && _root.statsMalon >= 200) {
gotoAndStop('newAsk2a');
} else {
if (_root.statsMalon >= 700) {
gotoAndPlay('lvlupNew2');
_root.levelMalon = 'Close Friend';
}
}
ask.enabled = false;
}
}
button 2043 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk4');
_root.energyLeft -= 25;
_root.statsMalon += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2044 {
on (release) {
if (_root.statsMalon <= 699 && _root.statsMalon >= 200) {
gotoAndStop('newAsk2a');
} else {
if (_root.statsMalon >= 700) {
gotoAndPlay('lvlupNew2');
_root.levelMalon = 'Close Friend';
}
}
ask.enabled = false;
}
}
button 2046 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
talk.enabled = false;
gotoAndStop('newTalk6');
_root.energyLeft -= 25;
_root.statsMalon += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2053 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk');
_root.energyLeft -= 25;
_root.statsMalon += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2054 {
on (release) {
gotoAndStop('give');
give.enabled = false;
}
}
button 2055 {
on (release) {
if (_root.statsMalon <= 1499 && _root.statsMalon >= 700) {
gotoAndStop('closeDateN');
date.enabled = false;
} else {
if (_root.statsMalon >= 1500) {
gotoAndStop('closeDateY');
}
}
}
}
button 2056 {
on (release) {
if (_root.statsMalon <= 1499 && _root.statsMalon >= 700) {
gotoAndStop('closeAsk');
} else {
if (_root.statsMalon >= 1500) {
gotoAndStop('closeAsk4');
}
}
ask.enabled = false;
}
}
button 2058 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk4');
_root.energyLeft -= 25;
_root.statsMalon += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 2059 {
on (release) {
if (_root.statsMalon <= 1499 && _root.statsMalon >= 700) {
gotoAndStop('closeDateN');
date.enabled = false;
} else {
if (_root.statsMalon >= 1500) {
gotoAndStop('closeDateY');
}
}
}
}
button 2065 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('date');
_root.energyLeft -= 25;
}
}
}
button 2070 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk2');
_root.energyLeft -= 25;
_root.statsMalon += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2071 {
on (release) {
gotoAndStop('give2');
give.enabled = false;
}
}
button 2072 {
on (release) {
if (_root.statsMalon <= 1499 && _root.statsMalon >= 700) {
gotoAndStop('closeDateN2');
date.enabled = false;
} else {
if (_root.statsMalon >= 1500) {
gotoAndStop('closeDateY2');
}
}
}
}
button 2073 {
on (release) {
if (_root.statsMalon <= 1499 && _root.statsMalon >= 700) {
gotoAndStop('closeAsk2');
} else {
if (_root.statsMalon >= 1500) {
gotoAndStop('closeAsk5');
}
}
ask.enabled = false;
}
}
button 2075 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk5');
_root.energyLeft -= 25;
_root.statsMalon += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 2081 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk5');
_root.energyLeft -= 25;
_root.statsMalon += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2086 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk3');
_root.energyLeft -= 25;
_root.statsMalon += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2087 {
on (release) {
gotoAndStop('give3');
give.enabled = false;
}
}
button 2088 {
on (release) {
if (_root.statsMalon <= 1499 && _root.statsMalon >= 700) {
gotoAndStop('closeDateN3');
date.enabled = false;
} else {
if (_root.statsMalon >= 1500) {
gotoAndStop('closeDateY3');
}
}
}
}
button 2089 {
on (release) {
if (_root.statsMalon <= 1499 && _root.statsMalon >= 700) {
gotoAndStop('closeAsk3');
} else {
if (_root.statsMalon >= 1500) {
gotoAndStop('closeAsk6');
}
}
ask.enabled = false;
}
}
button 2091 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk6');
_root.energyLeft -= 25;
_root.statsMalon += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 2101 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('gfTalk');
_root.energyLeft -= 25;
_root.statsMalon += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 2102 {
on (release) {
gotoAndStop('give4');
give.enabled = false;
}
}
button 2103 {
on (release) {
gotoAndStop('gfDate');
}
}
button 2104 {
on (release) {
gotoAndStop('gfAsk');
ask.enabled = false;
}
}
button 2108 {
on (release) {
gotoAndStop('gfGive');
give.enabled = false;
}
}
button 2112 {
on (release) {
gotoAndStop(1);
_root.items_btn.gotoAndStop(1);
_root.stats_btn.gotoAndStop(1);
}
}
button 2113 {
on (release) {
gotoAndStop('purgAsk2');
}
}
button 2114 {
on (release) {
gotoAndStop('StrangerAsk2');
}
}
button 2115 {
on (release) {
gotoAndStop('StrangerAsk2b');
}
}
button 2116 {
on (release) {
gotoAndStop('newAsk2');
}
}
button 2117 {
on (release) {
gotoAndStop('newAsk2b');
}
}
button 2118 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsMalon += int(Math.random() * 5);
_root.itemBracelet -= 1;
}
}
}
button 2119 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsMalon += int(Math.random() * 12 + 8);
_root.itemFairy -= 1;
}
}
}
button 2120 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsMalon += int(Math.random() * 10 + 15);
_root.itemOcarina -= 1;
}
}
}
button 2121 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsMalon += int(Math.random() * 10 + 5);
_root.itemStick -= 1;
}
}
}
button 2122 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsMalon += int(Math.random() * 5 + 2);
_root.itemFlower -= 1;
}
}
}
button 2129 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsMalon += int(Math.random() * 10 + 10);
_root.itemCoke -= 1;
}
}
}
button 2130 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsMalon += int(Math.random() * 8 + 3);
_root.itemFireOrb -= 1;
}
}
}
button 2131 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsMalon += int(Math.random() * 8 + 3);
_root.itemWaterOrb -= 1;
}
}
}
button 2132 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsSaria += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 2136 {
on (release) {
gotoAndStop('malonClose');
}
}
button 2138 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item2');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsMalon += int(Math.random() * 5);
_root.itemBracelet -= 1;
}
}
}
button 2139 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item2');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsMalon += int(Math.random() * 12 + 8);
_root.itemFairy -= 1;
}
}
}
button 2140 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item2');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsMalon += int(Math.random() * 10 + 15);
_root.itemOcarina -= 1;
}
}
}
button 2141 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item2');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsMalon += int(Math.random() * 10 + 5);
_root.itemStick -= 1;
}
}
}
button 2142 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item2');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsMalon += int(Math.random() * 5 + 2);
_root.itemFlower -= 1;
}
}
}
button 2149 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item2');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsMalon += int(Math.random() * 10 + 10);
_root.itemCoke -= 1;
}
}
}
button 2150 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item2');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsMalon += int(Math.random() * 8 + 3);
_root.itemFireOrb -= 1;
}
}
}
button 2151 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item2');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsMalon += int(Math.random() * 8 + 3);
_root.itemWaterOrb -= 1;
}
}
}
button 2152 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item2');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsMalon += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 2156 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item3');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsMalon += int(Math.random() * 5);
_root.itemBracelet -= 1;
}
}
}
button 2157 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item3');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsMalon += int(Math.random() * 12 + 8);
_root.itemFairy -= 1;
}
}
}
button 2158 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item3');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsMalon += int(Math.random() * 10 + 15);
_root.itemOcarina -= 1;
}
}
}
button 2159 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item3');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsMalon += int(Math.random() * 10 + 5);
_root.itemStick -= 1;
}
}
}
button 2160 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item3');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsMalon += int(Math.random() * 5 + 2);
_root.itemFlower -= 1;
}
}
}
button 2167 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item3');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsMalon += int(Math.random() * 10 + 10);
_root.itemCoke -= 1;
}
}
}
button 2168 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item3');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsMalon += int(Math.random() * 8 + 3);
_root.itemFireOrb -= 1;
}
}
}
button 2169 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item3');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsMalon += int(Math.random() * 8 + 3);
_root.itemWaterOrb -= 1;
}
}
}
button 2170 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item3');
_root.statsMalon -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsMalon += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 2174 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsMalon += int(Math.random() * 5);
_root.itemBracelet -= 1;
}
}
}
button 2175 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsMalon += int(Math.random() * 12 + 8);
_root.itemFairy -= 1;
}
}
}
button 2176 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsMalon += int(Math.random() * 10 + 15);
_root.itemOcarina -= 1;
}
}
}
button 2177 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsMalon += int(Math.random() * 10 + 5);
_root.itemStick -= 1;
}
}
}
button 2178 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsMalon += int(Math.random() * 5 + 2);
_root.itemFlower -= 1;
}
}
}
button 2185 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsMalon += int(Math.random() * 10 + 10);
_root.itemCoke -= 1;
}
}
}
button 2186 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsMalon += int(Math.random() * 8 + 3);
_root.itemFireOrb -= 1;
}
}
}
button 2187 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsMalon += int(Math.random() * 8 + 3);
_root.itemWaterOrb -= 1;
}
}
}
button 2188 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsMalon += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 2192 {
on (release) {
gotoAndStop('In Date');
malonDate.gotoAndStop('Date Main');
malonDate.bg.gotoAndStop('Castle');
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
malonDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
malonDate.pic.gotoAndStop(3);
}
}
}
}
button 2193 {
on (release) {
gotoAndStop('In Date');
malonDate.gotoAndStop('Date Main');
malonDate.bg.gotoAndStop('Kokori Village');
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
malonDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
malonDate.pic.gotoAndStop(3);
}
}
}
}
button 2194 {
on (release) {
gotoAndStop('In Date');
malonDate.gotoAndStop('Date Main');
malonDate.bg.gotoAndStop('Death Mountain');
_root.dateStats += 15;
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
malonDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
malonDate.pic.gotoAndStop(3);
}
}
}
}
button 2195 {
on (release) {
gotoAndStop('In Date');
malonDate.gotoAndStop('Date Main');
malonDate.bg.gotoAndStop('Lake Hylia');
malonDate.pic.gotoAndStop(4);
_root.dateStats += 15;
}
}
button 2196 {
on (release) {
gotoAndStop('In Date');
malonDate.gotoAndStop('Date Main');
malonDate.bg.gotoAndStop('Zora Domain');
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
malonDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
malonDate.pic.gotoAndStop(3);
}
}
}
}
movieClip 2204 {
frame 1 {
stop();
}
}
button 2205 {
on (release) {
gotoAndStop('exit');
}
}
button 2206 {
on (release) {
if (_root.levelMalon != 'Girlfriend') {
if (talkRandom <= 10) {
gotoAndStop('Talk1');
_root.talkTimes += 1;
} else {
if (talkRandom >= 11 && talkRandom <= 20) {
gotoAndStop('Talk2');
_root.talkTimes += 1;
} else {
if (talkRandom >= 21 && talkRandom <= 30) {
gotoAndStop('Talk3');
_root.talkTimes += 1;
} else {
if (talkRandom >= 31 && talkRandom <= 40) {
gotoAndStop('Talk4');
_root.talkTimes += 1;
} else {
if (talkRandom >= 41 && talkRandom <= 50) {
gotoAndStop('Talk5');
_root.talkTimes += 1;
} else {
if (talkRandom >= 51 && talkRandom <= 60) {
gotoAndStop('Talk6');
_root.talkTimes += 1;
} else {
if (talkRandom >= 61 && talkRandom <= 70) {
gotoAndStop('Talk7');
_root.talkTimes += 1;
} else {
if (talkRandom >= 71 && talkRandom <= 80) {
gotoAndStop('Talk8');
_root.talkTimes += 1;
} else {
if (talkRandom >= 81 && talkRandom <= 90) {
gotoAndStop('Talk9');
_root.talkTimes += 1;
} else {
if (talkRandom >= 91 && talkRandom <= 100) {
gotoAndStop('Talk10');
_root.talkTimes += 1;
} else {
if (talkRandom >= 101 && talkRandom <= 110) {
gotoAndStop('Talk11');
_root.talkTimes += 1;
} else {
if (talkRandom >= 111 && talkRandom <= 120) {
gotoAndStop('Talk12');
_root.talkTimes += 1;
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.talkTimes > 4) {
gotoAndStop('doOther');
}
}
if (_root.levelMalon == 'Girlfriend') {
if (_root.talkTimes == 0) {
gotoAndStop('TalkGf');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 1) {
gotoAndStop('TalkGf2');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 2) {
_root.dateStats += 20;
gotoAndStop('TalkGf3');
} else {
if (_root.talkTimes >= 3) {
gotoAndStop('doOther');
}
}
}
}
}
}
}
button 2207 {
on (release) {
_root.giveTimes += 1;
if (_root.giveTimes >= 2) {
gotoAndStop('doOther');
} else {
gotoAndStop('Give');
give.enabled = false;
talk.enabled = false;
touch.enabled = false;
picture.enabled = false;
kiss.enabled = false;
exit.enabled = false;
}
}
}
button 2208 {
on (release) {
touch.enabled = false;
gotoAndStop('Touch');
_root.touchTimes += 1;
if (_root.touchTimes >= 2) {
gotoAndStop('doOther');
}
}
}
button 2209 {
on (release) {
if (_root.dateStats < 100) {
gotoAndStop('KissN');
_root.dateStats -= 15;
kiss.enabled = false;
} else {
if (_root.dateStats >= 100) {
lips.gotoAndPlay(2);
gotoAndStop('KissY');
kiss.enabled = false;
}
}
}
}
button 2210 {
on (release) {
_root.picTimes += 1;
if (_root.picTimes > 1) {
gotoAndStop('doOther');
} else {
if (_root.dateStats < 60) {
gotoAndStop('PicN');
_root.dateStats -= 10;
} else {
if (_root.dateStats >= 60) {
gotoAndStop('PicY');
camera.gotoAndPlay(2);
_root.dateStats += 15;
}
}
}
}
}
button 2215 {
on (release) {
if (ans1 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans1 == '2') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans1 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans1 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2218 {
on (release) {
if (ans2 == '1') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans2 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans2 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans2 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2222 {
on (release) {
if (ans3 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans3 == '2') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans3 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans3 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2226 {
on (release) {
if (ans4 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans4 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans4 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans4 == '4') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
}
}
button 2229 {
on (release) {
if (ans5 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans5 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans5 == '3') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans5 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2233 {
on (release) {
if (ans6 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans6 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans6 == '3') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans6 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 15;
}
}
}
button 2236 {
on (release) {
if (ans7 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans7 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans7 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans7 == '4') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
}
}
button 2240 {
on (release) {
if (ans8 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 15;
}
if (ans8 == '2') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans8 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans8 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2244 {
on (release) {
if (ans9 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans9 == '2') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans9 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans9 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2248 {
on (release) {
if (ans10 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans10 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans10 == '3') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans10 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2252 {
on (release) {
if (ans11 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans11 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans11 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans11 == '4') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
}
}
button 2256 {
on (release) {
if (ans12 == '1') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans12 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans12 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans12 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2259 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.dateStats -= 10;
_root.itemBracelet -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2260 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 15;
_root.itemFairy -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2261 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 20;
_root.itemOcarina -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2262 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 10;
_root.itemStick -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2263 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.itemFlower -= 1;
_root.dateStats -= 10;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2270 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 15;
_root.itemCoke -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2271 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.dateStats -= 10;
_root.itemFireOrb -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2272 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.dateStats -= 10;
_root.itemWaterOrb -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2273 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 15;
_root.itemWeed -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2277 {
on (release) {
gotoAndStop(2);
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2287 {
on (release) {
touch.enabled = false;
if (_root.levelMalon != 'Girlfriend') {
gotoAndStop('TouchBoob');
_root.dateStats += 10;
} else {
gotoAndStop('TouchBoob Gf');
_root.dateStats += 40;
}
}
}
button 2288 {
on (release) {
gotoAndStop('TouchHand');
_root.dateStats += 20;
touch.enabled = false;
}
}
button 2289 {
on (release) {
gotoAndStop('TouchHair');
_root.dateStats -= 10;
touch.enabled = false;
}
}
button 2290 {
on (release) {
touch.enabled = false;
if (_root.levelMalon != 'Girlfriend') {
gotoAndStop('TouchLeg');
_root.dateStats -= 15;
} else {
gotoAndStop('TouchLeg Gf');
_root.dateStats += 20;
}
}
}
button 2291 {
on (release) {
gotoAndStop('TouchFace');
_root.dateStats += 15;
touch.enabled = false;
}
}
button 2292 {
on (release) {
_root.gotoAndStop('outsideHouse');
_root.statsMalon -= 100;
gotoAndStop(1);
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
_root.dateStats = 0;
_root.talkTimes = 0;
_root.touchTimes = 0;
_root.giveTimes = 0;
_root.picTimes = 0;
}
}
button 2293 {
on (release) {
if (_root.levelMalon != 'Girlfriend') {
if (talkRandom <= 10) {
gotoAndStop('Talk1');
_root.talkTimes += 1;
} else {
if (talkRandom >= 11 && talkRandom <= 20) {
gotoAndStop('Talk2');
_root.talkTimes += 1;
} else {
if (talkRandom >= 21 && talkRandom <= 30) {
gotoAndStop('Talk3');
_root.talkTimes += 1;
} else {
if (talkRandom >= 31 && talkRandom <= 40) {
gotoAndStop('Talk4');
_root.talkTimes += 1;
} else {
if (talkRandom >= 41 && talkRandom <= 50) {
gotoAndStop('Talk5');
_root.talkTimes += 1;
} else {
if (talkRandom >= 51 && talkRandom <= 60) {
gotoAndStop('Talk6');
_root.talkTimes += 1;
} else {
if (talkRandom >= 61 && talkRandom <= 70) {
gotoAndStop('Talk7');
_root.talkTimes += 1;
} else {
if (talkRandom >= 71 && talkRandom <= 80) {
gotoAndStop('Talk8');
_root.talkTimes += 1;
} else {
if (talkRandom >= 81 && talkRandom <= 90) {
gotoAndStop('Talk9');
_root.talkTimes += 1;
} else {
if (talkRandom >= 91 && talkRandom <= 100) {
gotoAndStop('Talk10');
_root.talkTimes += 1;
} else {
if (talkRandom >= 101 && talkRandom <= 110) {
gotoAndStop('Talk11');
_root.talkTimes += 1;
} else {
if (talkRandom >= 111 && talkRandom <= 120) {
gotoAndStop('Talk12');
_root.talkTimes += 1;
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.talkTimes >= 4) {
gotoAndStop('doOther');
}
}
if (_root.levelMalon == 'Girlfriend') {
if (_root.talkTimes == 0) {
gotoAndStop('TalkGf');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 1) {
gotoAndStop('TalkGf2');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 2) {
_root.dateStats += 20;
gotoAndStop('TalkGf3');
} else {
if (_root.talkTimes >= 3) {
gotoAndStop('doOther');
}
}
}
}
}
}
}
button 2294 {
on (release) {
kiss.enabled = false;
if (_root.dateStats < 100) {
gotoAndStop('KissN');
_root.dateStats -= 15;
} else {
if (_root.dateStats >= 100) {
lips.gotoAndPlay(2);
gotoAndStop('KissY');
}
}
}
}
movieClip 2298 {
}
button 2299 {
on (release) {
_root.levelMalon = 'Girlfriend';
gotoAndStop(1);
_root.gotoAndStop('outsideHouse');
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
_root.dateStats = 0;
_root.talkTimes = 0;
_root.touchTimes = 0;
_root.giveTimes = 0;
_root.picTimes = 0;
}
}
movieClip 2300 {
frame 1 {
stop();
onEnterFrame = function () {
talkRandom = int(Math.random() * 120);
};
_root.dateStats = 0;
_root.talkTimes = 0;
_root.touchTimes = 0;
_root.giveTimes = 0;
_root.picTimes = 0;
}
frame 2 {
picture.enabled = true;
touch.enabled = true;
give.enabled = true;
kiss.enabled = true;
talk.enabled = true;
}
instance hp of movieClip 403 {
onClipEvent (load) {
baseX = 467.6;
}
onClipEvent (enterFrame) {
this._width = _root.dateStats / 0.525;
this._x = baseX + this._width / 2;
}
}
frame 14 {
picture.enabled = false;
touch.enabled = false;
give.enabled = false;
kiss.enabled = false;
talk.enabled = false;
ext.enabled = false;
}
frame 118 {
picture.enabled = true;
touch.enabled = true;
give.enabled = true;
kiss.enabled = true;
talk.enabled = true;
exit.enabled = true;
}
}
button 2301 {
on (release) {
gotoAndStop(1);
}
}
button 2304 {
on (release) {
if (_root.energyLeft < 20) {
gotoAndStop('drinkTired');
} else {
if (_root.rupeeGot < 15) {
gotoAndStop('drinkNo');
} else {
gotoAndStop('drinkRum');
_root.energyLeft -= 20;
_root.rupeeGot -= 15;
_root.charm += drinkRum;
}
}
}
}
button 2307 {
on (release) {
if (_root.energyLeft < 30) {
gotoAndStop('drinkTired');
} else {
if (_root.rupeeGot < 30) {
gotoAndStop('drinkNo');
} else {
gotoAndStop('drinkVodka');
_root.energyLeft -= 30;
_root.rupeeGot -= 30;
_root.charm += drinkVodka;
}
}
}
}
button 2310 {
on (release) {
if (_root.energyLeft < 50) {
gotoAndStop('drinkTired');
} else {
if (_root.rupeeGot < 40) {
gotoAndStop('drinkNo');
} else {
gotoAndStop('drinkKamikaze');
_root.energyLeft -= 50;
_root.rupeeGot -= 40;
_root.charm += drinkKamikaze;
}
}
}
}
button 2314 {
on (release) {
if (_root.energyLeft < 20) {
gotoAndStop('drinkTired2');
} else {
if (_root.rupeeGot < 15) {
gotoAndStop('drinkNo2');
} else {
gotoAndStop('drinkRum');
_root.energyLeft -= 20;
_root.rupeeGot -= 15;
_root.charm += drinkRum;
}
}
}
}
button 2315 {
on (release) {
if (_root.energyLeft < 30) {
gotoAndStop('drinkTired2');
} else {
if (_root.rupeeGot < 30) {
gotoAndStop('drinkNo2');
} else {
gotoAndStop('drinkVodka');
_root.energyLeft -= 30;
_root.rupeeGot -= 30;
_root.charm += drinkVodka;
}
}
}
}
button 2316 {
on (release) {
if (_root.energyLeft < 50) {
gotoAndStop('drinkTired2');
} else {
if (_root.rupeeGot < 40) {
gotoAndStop('drinkNo2');
} else {
gotoAndStop('drinkKamikaze');
_root.energyLeft -= 50;
_root.rupeeGot -= 40;
_root.charm += drinkKamikaze;
}
}
}
}
button 2317 {
on (release) {
gotoAndStop(1);
}
}
movieClip 2324 {
}
button 2327 {
on (release) {
gotoAndStop(1);
}
}
movieClip 2331 {
}
movieClip 2336 {
}
movieClip 2341 {
frame 1 {
stop();
var drinkRum = int(Math.random() * 4 + 1);
var drinkVodka = int(Math.random() * 4 + 5);
var drinkKamikaze = int(Math.random() * 4 + 10);
}
frame 2 {
stop();
}
frame 720 {
stop();
}
frame 743 {
stop();
}
frame 767 {
stop();
}
frame 797 {
stop();
}
frame 822 {
stop();
}
}
button 2345 {
on (release) {
if (_root.energyLeft < 40) {
gotoAndStop('tired');
} else {
gotoAndStop('purgTalk');
_root.energyLeft -= 40;
_root.statsNayru += (int(Math.random() * 5) + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 2346 {
on (release) {
gotoAndStop('purgGive');
give.enabled = false;
}
}
button 2347 {
on (release) {
gotoAndStop('purgDate');
date.enabled = false;
}
}
button 2348 {
on (release) {
gotoAndStop(1);
talk.enabled = true;
give.enabled = true;
date.enabled = true;
ask.enabled = true;
}
}
button 2349 {
on (release) {
if (_root.statsNayru <= 0) {
gotoAndStop('purgAsk');
} else {
if (_root.statsNayru >= 1) {
gotoAndPlay('levelUpPurg');
_root.levelNayru = 'Stranger';
}
}
ask.enabled = false;
}
}
button 2359 {
on (release) {
if (_root.energyLeft < 50) {
gotoAndStop('tired');
} else {
gotoAndStop('periodTalk');
_root.energyLeft -= 50;
_root.statsNayru -= int(Math.random() * 5 + 1 + _root.charm / 3);
talk.enabled = false;
}
}
}
button 2360 {
on (release) {
gotoAndStop('periodGive');
give.enabled = false;
}
}
button 2361 {
on (release) {
gotoAndStop('periodDate');
date.enabled = false;
}
}
button 2362 {
on (release) {
gotoAndStop('periodAsk');
}
}
button 2369 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('strangerTalk');
_root.energyLeft -= 25;
_root.statsNayru += (int(Math.random() * 5) + 1 + _root.charm) / 2;
}
}
}
button 2370 {
on (release) {
gotoAndStop('strangerGive');
give.enabled = false;
}
}
button 2371 {
on (release) {
gotoAndStop('strangerDate');
date.enabled = false;
}
}
button 2372 {
on (release) {
if (_root.statsNayru <= 199 && _root.statsNayru >= 0) {
gotoAndStop('strangerAsk');
} else {
if (_root.statsNayru >= 200) {
gotoAndPlay('lvlupStranger');
_root.levelNayru = 'New Friend';
}
}
ask.enabled = false;
}
}
button 2374 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('strangerTalk3');
_root.energyLeft -= 25;
_root.statsNayru += (int(Math.random() * 5) + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 2381 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('strangerTalk2');
_root.energyLeft -= 25;
_root.statsNayru += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2382 {
on (release) {
gotoAndStop('strangerGive2');
give.enabled = false;
}
}
button 2383 {
on (release) {
gotoAndStop('strangerDate2');
date.enabled = false;
}
}
button 2384 {
on (release) {
if (_root.statsNayru <= 199 && _root.statsNayru >= 0) {
gotoAndStop('strangerAsk2a');
} else {
if (_root.statsNayru >= 200) {
gotoAndPlay('lvlupStranger2');
_root.levelNayru = 'New Friend';
}
}
ask.enabled = false;
}
}
button 2386 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
talk.enabled = false;
gotoAndStop('strangerTalk4');
_root.energyLeft -= 25;
_root.statsNayru += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2390 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk');
_root.energyLeft -= 25;
_root.statsNayru += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2391 {
on (release) {
gotoAndStop('newGift');
give.enabled = false;
}
}
button 2392 {
on (release) {
gotoAndStop('newDate');
date.enabled = false;
}
}
button 2393 {
on (release) {
if (_root.statsNayru <= 699 && _root.statsNayru >= 200) {
gotoAndStop('newAsk');
} else {
if (_root.statsNayru >= 700) {
gotoAndPlay('lvlupNew');
_root.levelNayru = 'Close Friend';
}
}
ask.enabled = false;
}
}
button 2395 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk3');
_root.energyLeft -= 25;
_root.statsNayru += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2397 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk5');
talk.enabled = false;
_root.energyLeft -= 25;
_root.statsNayru += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2405 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk2');
_root.energyLeft -= 25;
_root.statsNayru += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2406 {
on (release) {
gotoAndStop('newGift2');
give.enabled = false;
}
}
button 2407 {
on (release) {
gotoAndStop('newDate2');
date.enabled = false;
}
}
button 2408 {
on (release) {
if (_root.statsNayru <= 699 && _root.statsNayru >= 200) {
gotoAndStop('newAsk2a');
} else {
if (_root.statsNayru >= 700) {
gotoAndPlay('lvlupNew2');
_root.levelNayru = 'Close Friend';
}
}
ask.enabled = false;
}
}
button 2410 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk4');
_root.energyLeft -= 25;
_root.statsNayru += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2412 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
talk.enabled = false;
gotoAndStop('newTalk6');
_root.energyLeft -= 25;
_root.statsNayru += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2419 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk');
_root.energyLeft -= 25;
_root.statsNayru += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2420 {
on (release) {
gotoAndStop('give');
give.enabled = false;
}
}
button 2421 {
on (release) {
if (_root.statsNayru <= 1499 && _root.statsNayru >= 700) {
gotoAndStop('closeDateN');
date.enabled = false;
} else {
if (_root.statsNayru >= 1500) {
gotoAndStop('closeDateY');
}
}
}
}
button 2422 {
on (release) {
if (_root.statsNayru <= 1499 && _root.statsNayru >= 700) {
gotoAndStop('closeAsk');
} else {
if (_root.statsNayru >= 1500) {
gotoAndStop('closeAsk4');
}
}
ask.enabled = false;
}
}
button 2424 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk4');
_root.energyLeft -= 25;
_root.statsNayru += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 2425 {
on (release) {
if (_root.statsNayru <= 1499 && _root.statsNayru >= 700) {
gotoAndStop('closeDateN');
date.enabled = false;
} else {
if (_root.statsNayru >= 1500) {
gotoAndStop('closeDateY');
}
}
}
}
button 2431 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('date');
_root.energyLeft -= 25;
}
}
}
button 2436 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk2');
_root.energyLeft -= 25;
_root.statsNayru += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2437 {
on (release) {
gotoAndStop('give2');
give.enabled = false;
}
}
button 2438 {
on (release) {
if (_root.statsNayru <= 1499 && _root.statsNayru >= 700) {
gotoAndStop('closeDateN2');
date.enabled = false;
} else {
if (_root.statsNayru >= 1500) {
gotoAndStop('closeDateY2');
}
}
}
}
button 2439 {
on (release) {
if (_root.statsNayru <= 1499 && _root.statsNayru >= 700) {
gotoAndStop('closeAsk2');
} else {
if (_root.statsNayru >= 1500) {
gotoAndStop('closeAsk5');
}
}
ask.enabled = false;
}
}
button 2441 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk5');
_root.energyLeft -= 25;
_root.statsNayru += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 2447 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk5');
_root.energyLeft -= 25;
_root.statsNayru += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2452 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk3');
_root.energyLeft -= 25;
_root.statsNayru += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2453 {
on (release) {
gotoAndStop('give3');
give.enabled = false;
}
}
button 2454 {
on (release) {
if (_root.statsNayru <= 1499 && _root.statsNayru >= 700) {
gotoAndStop('closeDateN3');
date.enabled = false;
} else {
if (_root.statsNayru >= 1500) {
gotoAndStop('closeDateY3');
}
}
}
}
button 2455 {
on (release) {
if (_root.statsNayru <= 1499 && _root.statsNayru >= 700) {
gotoAndStop('closeAsk3');
} else {
if (_root.statsNayru >= 1500) {
gotoAndStop('closeAsk6');
}
}
ask.enabled = false;
}
}
button 2457 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk6');
_root.energyLeft -= 25;
_root.statsNayru += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 2467 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('gfTalk');
_root.energyLeft -= 25;
_root.statsNayru += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 2468 {
on (release) {
gotoAndStop('give4');
give.enabled = false;
}
}
button 2469 {
on (release) {
gotoAndStop('gfDate');
}
}
button 2470 {
on (release) {
gotoAndStop('gfAsk');
ask.enabled = false;
}
}
button 2474 {
on (release) {
gotoAndStop('gfGive');
give.enabled = false;
}
}
button 2478 {
on (release) {
gotoAndStop(1);
}
}
button 2479 {
on (release) {
gotoAndStop('purgAsk2');
}
}
button 2480 {
on (release) {
gotoAndStop('StrangerAsk2');
}
}
button 2481 {
on (release) {
gotoAndStop('StrangerAsk2b');
}
}
button 2482 {
on (release) {
gotoAndStop('newAsk2');
}
}
button 2483 {
on (release) {
gotoAndStop('newAsk2b');
}
}
button 2484 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsNayru += int(Math.random() * 5 + 7);
_root.itemBracelet -= 1;
}
}
}
button 2485 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsNayru += int(Math.random() * 15 + 5);
_root.itemFairy -= 1;
}
}
}
button 2486 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsNayru += int(Math.random() * 7 + 3);
_root.itemOcarina -= 1;
}
}
}
button 2487 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsNayru += int(Math.random() * 3);
_root.itemStick -= 1;
}
}
}
button 2488 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsNayru += int(Math.random() * 5 + 5);
_root.itemFlower -= 1;
}
}
}
button 2495 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsNayru += int(Math.random() * 5);
_root.itemCoke -= 1;
}
}
}
button 2496 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsNayru += int(Math.random() * 3);
_root.itemFireOrb -= 1;
}
}
}
button 2497 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsNayru += int(Math.random() * 22 + 12);
_root.itemWaterOrb -= 1;
}
}
}
button 2498 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsNayru += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 2502 {
on (release) {
gotoAndStop('nayruClose');
}
}
button 2504 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item2');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsNayru += int(Math.random() * 5 + 7);
_root.itemBracelet -= 1;
}
}
}
button 2505 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item2');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsNayru += int(Math.random() * 15 + 5);
_root.itemFairy -= 1;
}
}
}
button 2506 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item2');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsNayru += int(Math.random() * 3);
_root.itemStick -= 1;
}
}
}
button 2507 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item2');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsNayru += int(Math.random() * 5 + 5);
_root.itemFlower -= 1;
}
}
}
button 2514 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item2');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsNayru += int(Math.random() * 5);
_root.itemCoke -= 1;
}
}
}
button 2515 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item2');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsNayru += int(Math.random() * 3);
_root.itemFireOrb -= 1;
}
}
}
button 2516 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item2');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsNayru += int(Math.random() * 22 + 12);
_root.itemWaterOrb -= 1;
}
}
}
button 2517 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item2');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsNayru += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 2521 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item3');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsNayru += int(Math.random() * 5 + 7);
_root.itemBracelet -= 1;
}
}
}
button 2522 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item3');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsNayru += int(Math.random() * 15 + 5);
_root.itemFairy -= 1;
}
}
}
button 2523 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item3');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsNayru += int(Math.random() * 7 + 3);
_root.itemOcarina -= 1;
}
}
}
button 2524 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item3');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsNayru += int(Math.random() * 3);
_root.itemStick -= 1;
}
}
}
button 2525 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item3');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsNayru += int(Math.random() * 5 + 5);
_root.itemFlower -= 1;
}
}
}
button 2532 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item3');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsNayru += int(Math.random() * 5);
_root.itemCoke -= 1;
}
}
}
button 2533 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item3');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsNayru += int(Math.random() * 3);
_root.itemFireOrb -= 1;
}
}
}
button 2534 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item3');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsNayru += int(Math.random() * 22 + 12);
_root.itemWaterOrb -= 1;
}
}
}
button 2535 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item3');
_root.statsNayru -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsNayru += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 2539 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsNayru += int(Math.random() * 5 + 7);
_root.itemBracelet -= 1;
}
}
}
button 2540 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsNayru += int(Math.random() * 15 + 5);
_root.itemFairy -= 1;
}
}
}
button 2541 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsNayru += int(Math.random() * 7 + 3);
_root.itemOcarina -= 1;
}
}
}
button 2542 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsNayru += int(Math.random() * 3);
_root.itemStick -= 1;
}
}
}
button 2543 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsNayru += int(Math.random() * 5 + 5);
_root.itemFlower -= 1;
}
}
}
button 2550 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsNayru += int(Math.random() * 5);
_root.itemCoke -= 1;
}
}
}
button 2551 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsNayru += int(Math.random() * 3);
_root.itemFireOrb -= 1;
}
}
}
button 2552 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsNayru += int(Math.random() * 22 + 12);
_root.itemWaterOrb -= 1;
}
}
}
button 2553 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsNayru += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 2557 {
on (release) {
gotoAndStop('In Date');
nayruDate.gotoAndStop('Date Main');
nayruDate.bg.gotoAndStop('Castle');
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
nayruDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
nayruDate.pic.gotoAndStop(3);
}
}
}
}
button 2558 {
on (release) {
gotoAndStop('In Date');
nayruDate.gotoAndStop('Date Main');
nayruDate.bg.gotoAndStop('Kokori Village');
_root.dateStats += 15;
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
nayruDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
nayruDate.pic.gotoAndStop(3);
}
}
}
}
button 2559 {
on (release) {
gotoAndStop('In Date');
nayruDate.gotoAndStop('Date Main');
nayruDate.bg.gotoAndStop('Death Mountain');
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
nayruDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
nayruDate.pic.gotoAndStop(3);
}
}
}
}
button 2560 {
on (release) {
gotoAndStop('In Date');
nayruDate.gotoAndStop('Date Main');
nayruDate.bg.gotoAndStop('Lake Hylia');
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
nayruDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
nayruDate.pic.gotoAndStop(3);
}
}
}
}
button 2561 {
on (release) {
gotoAndStop('In Date');
nayruDate.gotoAndStop('Date Main');
nayruDate.bg.gotoAndStop('Zora Domain');
_root.dateStats += 15;
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
nayruDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
nayruDate.pic.gotoAndStop(3);
}
}
}
}
movieClip 2568 {
frame 1 {
stop();
}
}
button 2569 {
on (release) {
gotoAndStop('exit');
}
}
button 2570 {
on (release) {
if (_root.levelNayru != 'Girlfriend') {
if (talkRandom <= 10) {
gotoAndStop('Talk1');
_root.talkTimes += 1;
} else {
if (talkRandom >= 11 && talkRandom <= 20) {
gotoAndStop('Talk2');
_root.talkTimes += 1;
} else {
if (talkRandom >= 21 && talkRandom <= 30) {
gotoAndStop('Talk3');
_root.talkTimes += 1;
} else {
if (talkRandom >= 31 && talkRandom <= 40) {
gotoAndStop('Talk4');
_root.talkTimes += 1;
} else {
if (talkRandom >= 41 && talkRandom <= 50) {
gotoAndStop('Talk5');
_root.talkTimes += 1;
} else {
if (talkRandom >= 51 && talkRandom <= 60) {
gotoAndStop('Talk6');
_root.talkTimes += 1;
} else {
if (talkRandom >= 61 && talkRandom <= 70) {
gotoAndStop('Talk7');
_root.talkTimes += 1;
} else {
if (talkRandom >= 71 && talkRandom <= 80) {
gotoAndStop('Talk8');
_root.talkTimes += 1;
} else {
if (talkRandom >= 81 && talkRandom <= 90) {
gotoAndStop('Talk9');
_root.talkTimes += 1;
} else {
if (talkRandom >= 91 && talkRandom <= 100) {
gotoAndStop('Talk10');
_root.talkTimes += 1;
} else {
if (talkRandom >= 101 && talkRandom <= 110) {
gotoAndStop('Talk11');
_root.talkTimes += 1;
} else {
if (talkRandom >= 111 && talkRandom <= 120) {
gotoAndStop('Talk12');
_root.talkTimes += 1;
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.talkTimes > 4) {
gotoAndStop('doOther');
}
}
if (_root.levelNayru == 'Girlfriend') {
if (_root.talkTimes == 0) {
gotoAndStop('TalkGf');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 1) {
gotoAndStop('TalkGf2');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 2) {
_root.dateStats += 20;
gotoAndStop('TalkGf3');
} else {
if (_root.talkTimes >= 3) {
gotoAndStop('doOther');
}
}
}
}
}
}
}
button 2571 {
on (release) {
_root.giveTimes += 1;
if (_root.giveTimes >= 2) {
gotoAndStop('doOther');
} else {
gotoAndStop('Give');
give.enabled = false;
talk.enabled = false;
touch.enabled = false;
picture.enabled = false;
kiss.enabled = false;
exit.enabled = false;
}
}
}
button 2572 {
on (release) {
touch.enabled = false;
gotoAndStop('Touch');
_root.touchTimes += 1;
if (_root.touchTimes >= 2) {
gotoAndStop('doOther');
}
}
}
button 2573 {
on (release) {
if (_root.dateStats < 100) {
gotoAndStop('KissN');
_root.dateStats -= 15;
kiss.enabled = false;
} else {
if (_root.dateStats >= 100) {
lips.gotoAndPlay(2);
gotoAndStop('KissY');
kiss.enabled = false;
}
}
}
}
button 2574 {
on (release) {
_root.picTimes += 1;
if (_root.picTimes > 1) {
gotoAndStop('doOther');
} else {
if (_root.dateStats < 60) {
gotoAndStop('PicN');
_root.dateStats -= 10;
} else {
if (_root.dateStats >= 60) {
gotoAndStop('PicY');
camera.gotoAndPlay(2);
_root.dateStats += 15;
}
}
}
}
}
button 2578 {
on (release) {
if (ans1 == '1') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans1 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans1 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans1 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2582 {
on (release) {
if (ans2 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans2 == '2') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans2 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans2 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2586 {
on (release) {
if (ans3 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans3 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans3 == '3') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans3 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2590 {
on (release) {
if (ans4 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans4 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans4 == '3') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans4 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2594 {
on (release) {
if (ans5 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans5 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans5 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans5 == '4') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
}
}
button 2598 {
on (release) {
if (ans6 == '1') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans6 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans6 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans6 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2602 {
on (release) {
if (ans7 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans7 == '2') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans7 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans7 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2605 {
on (release) {
if (ans8 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans8 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans8 == '3') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans8 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2609 {
on (release) {
if (ans9 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans9 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans9 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans9 == '4') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
}
}
button 2613 {
on (release) {
if (ans10 == '1') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans10 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans10 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans10 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2616 {
on (release) {
if (ans11 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans11 == '2') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans11 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans11 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2620 {
on (release) {
if (ans12 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans12 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans12 == '3') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans12 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2624 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 15;
_root.itemBracelet -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2625 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 15;
_root.itemFairy -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2626 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.dateStats -= 10;
_root.itemOcarina -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2627 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.dateStats -= 10;
_root.itemStick -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2628 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.itemFlower -= 1;
_root.dateStats -= 10;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2635 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.dateStats -= 10;
_root.itemCoke -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2636 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.dateStats -= 10;
_root.itemFireOrb -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2637 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 20;
_root.itemWaterOrb -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2638 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 15;
_root.itemWeed -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2642 {
on (release) {
gotoAndStop(2);
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2654 {
on (release) {
touch.enabled = false;
if (_root.levelNayru != 'Girlfriend') {
gotoAndStop('TouchBoob');
_root.dateStats -= 20;
} else {
gotoAndStop('TouchBoob Gf');
_root.dateStats += 40;
}
}
}
button 2655 {
on (release) {
gotoAndStop('TouchHand');
_root.dateStats += 15;
touch.enabled = false;
}
}
button 2656 {
on (release) {
gotoAndStop('TouchHair');
_root.dateStats += 15;
touch.enabled = false;
}
}
button 2657 {
on (release) {
touch.enabled = false;
if (_root.levelNayru != 'Girlfriend') {
gotoAndStop('TouchLeg');
_root.dateStats -= 15;
} else {
gotoAndStop('TouchLeg Gf');
_root.dateStats += 20;
}
}
}
button 2658 {
on (release) {
gotoAndStop('TouchFace');
_root.dateStats -= 10;
touch.enabled = false;
}
}
button 2659 {
on (release) {
_root.gotoAndStop('outsideHouse');
_root.statsNayru -= 100;
gotoAndStop(1);
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
_root.dateStats = 0;
_root.talkTimes = 0;
_root.touchTimes = 0;
_root.giveTimes = 0;
_root.picTimes = 0;
}
}
button 2660 {
on (release) {
if (_root.levelNayru != 'Girlfriend') {
if (talkRandom <= 10) {
gotoAndStop('Talk1');
_root.talkTimes += 1;
} else {
if (talkRandom >= 11 && talkRandom <= 20) {
gotoAndStop('Talk2');
_root.talkTimes += 1;
} else {
if (talkRandom >= 21 && talkRandom <= 30) {
gotoAndStop('Talk3');
_root.talkTimes += 1;
} else {
if (talkRandom >= 31 && talkRandom <= 40) {
gotoAndStop('Talk4');
_root.talkTimes += 1;
} else {
if (talkRandom >= 41 && talkRandom <= 50) {
gotoAndStop('Talk5');
_root.talkTimes += 1;
} else {
if (talkRandom >= 51 && talkRandom <= 60) {
gotoAndStop('Talk6');
_root.talkTimes += 1;
} else {
if (talkRandom >= 61 && talkRandom <= 70) {
gotoAndStop('Talk7');
_root.talkTimes += 1;
} else {
if (talkRandom >= 71 && talkRandom <= 80) {
gotoAndStop('Talk8');
_root.talkTimes += 1;
} else {
if (talkRandom >= 81 && talkRandom <= 90) {
gotoAndStop('Talk9');
_root.talkTimes += 1;
} else {
if (talkRandom >= 91 && talkRandom <= 100) {
gotoAndStop('Talk10');
_root.talkTimes += 1;
} else {
if (talkRandom >= 101 && talkRandom <= 110) {
gotoAndStop('Talk11');
_root.talkTimes += 1;
} else {
if (talkRandom >= 111 && talkRandom <= 120) {
gotoAndStop('Talk12');
_root.talkTimes += 1;
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.talkTimes >= 4) {
gotoAndStop('doOther');
}
}
if (_root.levelNayru == 'Girlfriend') {
if (_root.talkTimes == 0) {
gotoAndStop('TalkGf');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 1) {
gotoAndStop('TalkGf2');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 2) {
_root.dateStats += 20;
gotoAndStop('TalkGf3');
} else {
if (_root.talkTimes >= 3) {
gotoAndStop('doOther');
}
}
}
}
}
}
}
button 2661 {
on (release) {
kiss.enabled = false;
if (_root.dateStats < 100) {
gotoAndStop('KissN');
_root.dateStats -= 15;
} else {
if (_root.dateStats >= 100) {
lips.gotoAndPlay(2);
gotoAndStop('KissY');
}
}
}
}
movieClip 2666 {
}
button 2667 {
on (release) {
_root.levelNayru = 'Girlfriend';
gotoAndStop(1);
_root.gotoAndStop('outsideHouse');
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
_root.dateStats = 0;
_root.talkTimes = 0;
_root.touchTimes = 0;
_root.giveTimes = 0;
_root.picTimes = 0;
}
}
movieClip 2668 {
frame 1 {
stop();
onEnterFrame = function () {
talkRandom = int(Math.random() * 120);
};
_root.dateStats = 0;
_root.talkTimes = 0;
_root.touchTimes = 0;
_root.giveTimes = 0;
_root.picTimes = 0;
}
frame 2 {
picture.enabled = true;
touch.enabled = true;
give.enabled = true;
kiss.enabled = true;
talk.enabled = true;
}
instance hp of movieClip 403 {
onClipEvent (load) {
baseX = 523.9;
}
onClipEvent (enterFrame) {
this._width = _root.dateStats / 0.525;
this._x = baseX + this._width / 2;
}
}
frame 14 {
picture.enabled = false;
touch.enabled = false;
give.enabled = false;
kiss.enabled = false;
talk.enabled = false;
ext.enabled = false;
}
frame 118 {
picture.enabled = true;
touch.enabled = true;
give.enabled = true;
kiss.enabled = true;
talk.enabled = true;
exit.enabled = true;
}
}
movieClip 2669 {
frame 1 {
stop();
randomConvo = Math.round(Math.random() * 2);
randomConvo2 = Math.round(Math.random() * 1);
}
frame 2 {
stop();
}
frame 720 {
stop();
}
frame 743 {
stop();
}
frame 767 {
stop();
}
frame 797 {
stop();
}
frame 822 {
stop();
}
}
button 2674 {
on (release) {
if (_root.energyLeft < 40) {
gotoAndStop('tired');
} else {
gotoAndStop('purgTalk');
_root.energyLeft -= 40;
_root.statsDin += (int(Math.random() * 5) + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 2675 {
on (release) {
gotoAndStop('purgGive');
give.enabled = false;
}
}
button 2676 {
on (release) {
gotoAndStop('purgDate');
date.enabled = false;
}
}
button 2677 {
on (release) {
gotoAndStop(1);
talk.enabled = true;
give.enabled = true;
date.enabled = true;
ask.enabled = true;
}
}
button 2678 {
on (release) {
if (_root.statsDin <= 0) {
gotoAndStop('purgAsk');
} else {
if (_root.statsDin >= 1) {
gotoAndPlay('levelUpPurg');
_root.levelDin = 'Stranger';
}
}
ask.enabled = false;
}
}
button 2688 {
on (release) {
if (_root.energyLeft < 50) {
gotoAndStop('tired');
} else {
gotoAndStop('periodTalk');
_root.energyLeft -= 50;
_root.statsDin -= int(Math.random() * 5 + 1 + _root.charm / 3);
talk.enabled = false;
}
}
}
button 2689 {
on (release) {
gotoAndStop('periodGive');
give.enabled = false;
}
}
button 2690 {
on (release) {
gotoAndStop('periodDate');
date.enabled = false;
}
}
button 2691 {
on (release) {
gotoAndStop('peropdAsk');
}
}
button 2698 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('strangerTalk');
_root.energyLeft -= 25;
_root.statsDin += (int(Math.random() * 5) + 1 + _root.charm) / 2;
}
}
}
button 2699 {
on (release) {
gotoAndStop('strangerGive');
give.enabled = false;
}
}
button 2700 {
on (release) {
gotoAndStop('strangerDate');
date.enabled = false;
}
}
button 2701 {
on (release) {
if (_root.statsDin <= 199 && _root.statsDin >= 0) {
gotoAndStop('strangerAsk');
} else {
if (_root.statsDin >= 200) {
gotoAndPlay('lvlupStranger');
_root.levelDin = 'New Friend';
}
}
ask.enabled = false;
}
}
button 2703 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('strangerTalk3');
_root.energyLeft -= 25;
_root.statsDin += (int(Math.random() * 5) + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 2710 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('strangerTalk2');
_root.energyLeft -= 25;
_root.statsDin += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2711 {
on (release) {
gotoAndStop('strangerGive2');
give.enabled = false;
}
}
button 2712 {
on (release) {
gotoAndStop('strangerDate2');
date.enabled = false;
}
}
button 2713 {
on (release) {
if (_root.statsDin <= 199 && _root.statsDin >= 0) {
gotoAndStop('strangerAsk2a');
} else {
if (_root.statsDin >= 200) {
gotoAndPlay('lvlupStranger2');
_root.levelDin = 'New Friend';
}
}
ask.enabled = false;
}
}
button 2715 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
talk.enabled = false;
gotoAndStop('strangerTalk4');
_root.energyLeft -= 25;
_root.statsDin += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2722 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk');
_root.energyLeft -= 25;
_root.statsDin += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2723 {
on (release) {
gotoAndStop('newGift');
give.enabled = false;
}
}
button 2724 {
on (release) {
gotoAndStop('newDate');
date.enabled = false;
}
}
button 2725 {
on (release) {
if (_root.statsDin <= 699 && _root.statsDin >= 200) {
gotoAndStop('newAsk');
} else {
if (_root.statsDin >= 700) {
gotoAndPlay('lvlupNew');
_root.levelDin = 'Close Friend';
}
}
ask.enabled = false;
}
}
button 2727 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk3');
_root.energyLeft -= 25;
_root.statsDin += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2729 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk5');
talk.enabled = false;
_root.energyLeft -= 25;
_root.statsDin += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2737 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk2');
_root.energyLeft -= 25;
_root.statsDin += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2738 {
on (release) {
gotoAndStop('newGift2');
give.enabled = false;
}
}
button 2739 {
on (release) {
gotoAndStop('newDate2');
date.enabled = false;
}
}
button 2740 {
on (release) {
if (_root.statsDin <= 699 && _root.statsDin >= 200) {
gotoAndStop('newAsk2a');
} else {
if (_root.statsDin >= 700) {
gotoAndPlay('lvlupNew2');
_root.levelDin = 'Close Friend';
}
}
ask.enabled = false;
}
}
button 2742 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('newTalk4');
_root.energyLeft -= 25;
_root.statsDin += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2744 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
talk.enabled = false;
gotoAndStop('newTalk6');
_root.energyLeft -= 25;
_root.statsDin += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2751 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk');
_root.energyLeft -= 25;
_root.statsDin += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2752 {
on (release) {
gotoAndStop('give');
give.enabled = false;
}
}
button 2753 {
on (release) {
if (_root.statsDin <= 1499 && _root.statsDin >= 700) {
gotoAndStop('closeDateN');
date.enabled = false;
} else {
if (_root.statsDin >= 1500) {
gotoAndStop('closeDateY');
}
}
}
}
button 2754 {
on (release) {
if (_root.statsDin <= 1499 && _root.statsDin >= 700) {
gotoAndStop('closeAsk');
} else {
if (_root.statsDin >= 1500) {
gotoAndStop('closeAsk4');
}
}
ask.enabled = false;
}
}
button 2756 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk4');
_root.energyLeft -= 25;
_root.statsDin += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 2757 {
on (release) {
if (_root.statsDin <= 1499 && _root.statsDin >= 700) {
gotoAndStop('closeDateN');
date.enabled = false;
} else {
if (_root.statsDin >= 1500) {
gotoAndStop('closeDateY');
}
}
}
}
button 2762 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('date');
_root.energyLeft -= 25;
}
}
}
button 2767 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk2');
_root.energyLeft -= 25;
_root.statsDin += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2768 {
on (release) {
gotoAndStop('give2');
give.enabled = false;
}
}
button 2769 {
on (release) {
if (_root.statsDin <= 1499 && _root.statsDin >= 700) {
gotoAndStop('closeDateN2');
date.enabled = false;
} else {
if (_root.statsDin >= 1500) {
gotoAndStop('closeDateY2');
}
}
}
}
button 2770 {
on (release) {
if (_root.statsDin <= 1499 && _root.statsDin >= 700) {
gotoAndStop('closeAsk2');
} else {
if (_root.statsDin >= 1500) {
gotoAndStop('closeAsk5');
}
}
ask.enabled = false;
}
}
button 2772 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk5');
_root.energyLeft -= 25;
_root.statsDin += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 2778 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk5');
_root.energyLeft -= 25;
_root.statsDin += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2779 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('date');
_root.energyLeft -= 25;
}
}
}
button 2784 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk3');
_root.energyLeft -= 25;
_root.statsDin += int(Math.random() * 5 + 1 + _root.charm) / 2;
}
}
}
button 2785 {
on (release) {
gotoAndStop('give3');
give.enabled = false;
}
}
button 2786 {
on (release) {
if (_root.statsDin <= 1499 && _root.statsDin >= 700) {
gotoAndStop('closeDateN3');
date.enabled = false;
} else {
if (_root.statsDin >= 1500) {
gotoAndStop('closeDateY3');
}
}
}
}
button 2787 {
on (release) {
if (_root.statsDin <= 1499 && _root.statsDin >= 700) {
gotoAndStop('closeAsk3');
} else {
if (_root.statsDin >= 1500) {
gotoAndStop('closeAsk6');
}
}
ask.enabled = false;
}
}
button 2789 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('closeTalk6');
_root.energyLeft -= 25;
_root.statsDin += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 2799 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('tired');
} else {
gotoAndStop('gfTalk');
_root.energyLeft -= 25;
_root.statsDin += int(Math.random() * 5 + 1 + _root.charm) / 2;
talk.enabled = false;
}
}
}
button 2800 {
on (release) {
gotoAndStop('give4');
give.enabled = false;
}
}
button 2801 {
on (release) {
gotoAndStop('gfDate');
}
}
button 2802 {
on (release) {
gotoAndStop('gfAsk');
ask.enabled = false;
}
}
button 2806 {
on (release) {
gotoAndStop('gfGive');
give.enabled = false;
}
}
button 2809 {
on (release) {
gotoAndStop(1);
}
}
button 2811 {
on (release) {
gotoAndStop('purgAsk2');
}
}
button 2812 {
on (release) {
gotoAndStop('strangerAsk2');
}
}
button 2813 {
on (release) {
gotoAndStop('strangerAsk2b');
}
}
button 2814 {
on (release) {
gotoAndStop('newAsk2');
}
}
button 2815 {
on (release) {
gotoAndStop('newAsk2b');
}
}
button 2816 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsDin += int(Math.random() * 5 + 15);
_root.itemBracelet -= 1;
}
}
}
button 2817 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsDin += int(Math.random() * 5);
_root.itemFairy -= 1;
}
}
}
button 2818 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsDin += int(Math.random() * 5 + 3);
_root.itemOcarina -= 1;
}
}
}
button 2819 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsDin += int(Math.random() * 3);
_root.itemStick -= 1;
}
}
}
button 2820 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsDin += int(Math.random() * 15 + 5);
_root.itemFlower -= 1;
}
}
}
button 2827 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsDin += int(Math.random() * 5);
_root.itemCoke -= 1;
}
}
}
button 2828 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsDin += int(Math.random() * 20 + 25);
_root.itemFireOrb -= 1;
}
}
}
button 2829 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveB');
_root.statsDin += int(Math.random() * 5);
_root.itemWaterOrb -= 1;
}
}
}
button 2830 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveG');
_root.statsDin += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 2834 {
on (release) {
gotoAndStop('dinClose');
}
}
button 2836 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsDin += int(Math.random() * 5 + 15);
_root.itemBracelet -= 1;
}
}
}
button 2837 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsDin += int(Math.random() * 5);
_root.itemFairy -= 1;
}
}
}
button 2838 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsDin += int(Math.random() * 5 + 3);
_root.itemOcarina -= 1;
}
}
}
button 2839 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsDin += int(Math.random() * 3);
_root.itemStick -= 1;
}
}
}
button 2840 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsDin += int(Math.random() * 15 + 5);
_root.itemFlower -= 1;
}
}
}
button 2847 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsDin += int(Math.random() * 5);
_root.itemCoke -= 1;
}
}
}
button 2848 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsDin += int(Math.random() * 20 + 25);
_root.itemFireOrb -= 1;
}
}
}
button 2849 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveB2');
_root.statsDin += int(Math.random() * 5);
_root.itemWaterOrb -= 1;
}
}
}
button 2850 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveG2');
_root.statsDin += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 2854 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsDin += int(Math.random() * 5 + 15);
_root.itemBracelet -= 1;
}
}
}
button 2855 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsDin += int(Math.random() * 5);
_root.itemFairy -= 1;
}
}
}
button 2856 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsDin += int(Math.random() * 5 + 3);
_root.itemOcarina -= 1;
}
}
}
button 2857 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsDin += int(Math.random() * 3);
_root.itemStick -= 1;
}
}
}
button 2858 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsDin += int(Math.random() * 15 + 5);
_root.itemFlower -= 1;
}
}
}
button 2865 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsDin += int(Math.random() * 5);
_root.itemCoke -= 1;
}
}
}
button 2866 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsDin += int(Math.random() * 20 + 25);
_root.itemFireOrb -= 1;
}
}
}
button 2867 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveB3');
_root.statsDin += int(Math.random() * 5);
_root.itemWaterOrb -= 1;
}
}
}
button 2868 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item');
_root.statsDin -= 10;
} else {
gotoAndStop('closeGiveG3');
_root.statsDin += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 2872 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsDin += int(Math.random() * 5 + 15);
_root.itemBracelet -= 1;
}
}
}
button 2873 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsDin += int(Math.random() * 5);
_root.itemFairy -= 1;
}
}
}
button 2874 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsDin += int(Math.random() * 5 + 3);
_root.itemOcarina -= 1;
}
}
}
button 2875 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsDin += int(Math.random() * 3);
_root.itemStick -= 1;
}
}
}
button 2876 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsDin += int(Math.random() * 15 + 5);
_root.itemFlower -= 1;
}
}
}
button 2883 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsDin += int(Math.random() * 5);
_root.itemCoke -= 1;
}
}
}
button 2884 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsDin += int(Math.random() * 20 + 25);
_root.itemFireOrb -= 1;
}
}
}
button 2885 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsDin += int(Math.random() * 5);
_root.itemWaterOrb -= 1;
}
}
}
button 2886 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item4');
} else {
gotoAndStop('gfGive');
_root.statsDin += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 2890 {
on (release) {
gotoAndStop('In Date');
dinDate.gotoAndStop('Date Main');
dinDate.bg.gotoAndStop('Castle');
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
dinDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
dinDate.pic.gotoAndStop(3);
}
}
}
}
button 2891 {
on (release) {
gotoAndStop('In Date');
dinDate.gotoAndStop('Date Main');
dinDate.bg.gotoAndStop('Kokori Village');
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
dinDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
dinDate.pic.gotoAndStop(3);
}
}
}
}
button 2892 {
on (release) {
gotoAndStop('In Date');
dinDate.gotoAndStop('Date Main');
dinDate.bg.gotoAndStop('Death Mountain');
_root.dateStats += 15;
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
dinDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
dinDate.pic.gotoAndStop(3);
}
}
}
}
button 2893 {
on (release) {
gotoAndStop('In Date');
dinDate.gotoAndStop('Date Main');
dinDate.bg.gotoAndStop('Lake Hylia');
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
dinDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
dinDate.pic.gotoAndStop(3);
}
}
}
}
button 2894 {
on (release) {
gotoAndStop('In Date');
dinDate.gotoAndStop('Date Main');
dinDate.bg.gotoAndStop('Zora Domain');
if (_root.randomDatePic >= 0 && _root.randomDatePic < 5) {
dinDate.pic.gotoAndStop(2);
} else {
if (_root.randomDatePic >= 5) {
dinDate.pic.gotoAndStop(3);
}
}
}
}
movieClip 2901 {
frame 1 {
stop();
}
}
button 2902 {
on (release) {
gotoAndStop('exit');
}
}
button 2903 {
on (release) {
if (_root.levelDin != 'Girlfriend') {
if (talkRandom <= 10) {
gotoAndStop('Talk1');
_root.talkTimes += 1;
} else {
if (talkRandom >= 11 && talkRandom <= 20) {
gotoAndStop('Talk2');
_root.talkTimes += 1;
} else {
if (talkRandom >= 21 && talkRandom <= 30) {
gotoAndStop('Talk3');
_root.talkTimes += 1;
} else {
if (talkRandom >= 31 && talkRandom <= 40) {
gotoAndStop('Talk4');
_root.talkTimes += 1;
} else {
if (talkRandom >= 41 && talkRandom <= 50) {
gotoAndStop('Talk5');
_root.talkTimes += 1;
} else {
if (talkRandom >= 51 && talkRandom <= 60) {
gotoAndStop('Talk6');
_root.talkTimes += 1;
} else {
if (talkRandom >= 61 && talkRandom <= 70) {
gotoAndStop('Talk7');
_root.talkTimes += 1;
} else {
if (talkRandom >= 71 && talkRandom <= 80) {
gotoAndStop('Talk8');
_root.talkTimes += 1;
} else {
if (talkRandom >= 81 && talkRandom <= 90) {
gotoAndStop('Talk9');
_root.talkTimes += 1;
} else {
if (talkRandom >= 91 && talkRandom <= 100) {
gotoAndStop('Talk10');
_root.talkTimes += 1;
} else {
if (talkRandom >= 101 && talkRandom <= 110) {
gotoAndStop('Talk11');
_root.talkTimes += 1;
} else {
if (talkRandom >= 111 && talkRandom <= 120) {
gotoAndStop('Talk12');
_root.talkTimes += 1;
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.talkTimes > 4) {
gotoAndStop('doOther');
}
}
if (_root.levelDin == 'Girlfriend') {
if (_root.talkTimes == 0) {
gotoAndStop('TalkGf');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 1) {
gotoAndStop('TalkGf2');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 2) {
_root.dateStats += 20;
gotoAndStop('TalkGf3');
} else {
if (_root.talkTimes >= 3) {
gotoAndStop('doOther');
}
}
}
}
}
}
}
button 2904 {
on (release) {
_root.giveTimes += 1;
if (_root.giveTimes >= 2) {
gotoAndStop('doOther');
} else {
gotoAndStop('Give');
give.enabled = false;
talk.enabled = false;
touch.enabled = false;
picture.enabled = false;
kiss.enabled = false;
exit.enabled = false;
}
}
}
button 2905 {
on (release) {
touch.enabled = false;
gotoAndStop('Touch');
_root.touchTimes += 1;
if (_root.touchTimes >= 2) {
gotoAndStop('doOther');
}
}
}
button 2906 {
on (release) {
if (_root.dateStats < 100) {
gotoAndStop('KissN');
_root.dateStats -= 15;
kiss.enabled = false;
} else {
if (_root.dateStats >= 100) {
lips.gotoAndPlay(2);
gotoAndStop('KissY');
kiss.enabled = false;
}
}
}
}
button 2907 {
on (release) {
_root.picTimes += 1;
if (_root.picTimes > 1) {
gotoAndStop('doOther');
} else {
if (_root.dateStats < 60) {
gotoAndStop('PicN');
_root.dateStats -= 10;
} else {
if (_root.dateStats >= 60) {
gotoAndStop('PicY');
camera.gotoAndPlay(2);
_root.dateStats += 15;
}
}
}
}
}
button 2910 {
on (release) {
if (ans1 == '1') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans1 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans1 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans1 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2914 {
on (release) {
if (ans2 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans2 == '2') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans2 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans2 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2918 {
on (release) {
if (ans3 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans3 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans3 == '3') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans3 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2922 {
on (release) {
if (ans4 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans4 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans4 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans4 == '4') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
}
}
button 2926 {
on (release) {
if (ans5 == '1') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans5 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans5 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans5 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2930 {
on (release) {
if (ans6 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans6 == '2') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans6 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans6 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2934 {
on (release) {
if (ans7 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans7 == '2') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans7 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans7 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2938 {
on (release) {
if (ans8 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans8 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans8 == '3') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans8 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2942 {
on (release) {
if (ans9 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans9 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans9 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans9 == '4') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
}
}
button 2946 {
on (release) {
if (ans10 == '1') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans10 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans10 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans10 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2949 {
on (release) {
if (ans11 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans11 == '2') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans11 == '3') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans11 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2953 {
on (release) {
if (ans12 == '1') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans12 == '2') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
if (ans12 == '3') {
gotoAndStop('Date Main');
_root.dateStats += 15;
}
if (ans12 == '4') {
gotoAndStop('Date Main');
_root.dateStats -= 10;
}
}
}
button 2955 {
on (release) {
if (_root.itemBracelet == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 20;
_root.itemBracelet -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2956 {
on (release) {
if (_root.itemFairy == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.dateStats -= 10;
_root.itemFairy -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2957 {
on (release) {
if (_root.itemOcarina == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.dateStats -= 10;
_root.itemOcarina -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2958 {
on (release) {
if (_root.itemStick == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.dateStats -= 10;
_root.itemStick -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2959 {
on (release) {
if (_root.itemFlower == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.itemFlower -= 1;
_root.dateStats += 15;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2966 {
on (release) {
if (_root.itemCoke == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.dateStats -= 10;
_root.itemCoke -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2967 {
on (release) {
if (_root.itemFireOrb == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 20;
_root.itemFireOrb -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2968 {
on (release) {
if (_root.itemWaterOrb == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Bad Gift');
_root.dateStats -= 10;
_root.itemWaterOrb -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2969 {
on (release) {
if (_root.itemWeed == 0) {
gotoAndStop('No Item');
} else {
gotoAndStop('Good Gift');
_root.dateStats += 15;
_root.itemWeed -= 1;
}
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2973 {
on (release) {
gotoAndStop(2);
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
exit.enabled = true;
}
}
button 2982 {
on (release) {
touch.enabled = false;
if (_root.levelDin != 'Girlfriend') {
gotoAndStop('TouchBoob');
_root.dateStats += 15;
} else {
gotoAndStop('TouchBoob Gf');
_root.dateStats += 40;
}
}
}
button 2983 {
on (release) {
gotoAndStop('TouchHand');
_root.dateStats -= 10;
touch.enabled = false;
}
}
button 2984 {
on (release) {
gotoAndStop('TouchHair');
_root.dateStats += 15;
touch.enabled = false;
}
}
button 2985 {
on (release) {
touch.enabled = false;
if (_root.levelDin != 'Girlfriend') {
gotoAndStop('TouchLeg');
_root.dateStats -= 15;
} else {
gotoAndStop('TouchLeg Gf');
_root.dateStats += 20;
}
}
}
button 2986 {
on (release) {
gotoAndStop('TouchFace');
_root.dateStats += 15;
touch.enabled = false;
}
}
button 2987 {
on (release) {
_root.gotoAndStop('outsideHouse');
_root.statsDin -= 100;
gotoAndStop(1);
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
_root.dateStats = 0;
_root.talkTimes = 0;
_root.touchTimes = 0;
_root.giveTimes = 0;
_root.picTimes = 0;
}
}
button 2988 {
on (release) {
if (_root.levelDin != 'Girlfriend') {
if (talkRandom <= 10) {
gotoAndStop('Talk1');
_root.talkTimes += 1;
} else {
if (talkRandom >= 11 && talkRandom <= 20) {
gotoAndStop('Talk2');
_root.talkTimes += 1;
} else {
if (talkRandom >= 21 && talkRandom <= 30) {
gotoAndStop('Talk3');
_root.talkTimes += 1;
} else {
if (talkRandom >= 31 && talkRandom <= 40) {
gotoAndStop('Talk4');
_root.talkTimes += 1;
} else {
if (talkRandom >= 41 && talkRandom <= 50) {
gotoAndStop('Talk5');
_root.talkTimes += 1;
} else {
if (talkRandom >= 51 && talkRandom <= 60) {
gotoAndStop('Talk6');
_root.talkTimes += 1;
} else {
if (talkRandom >= 61 && talkRandom <= 70) {
gotoAndStop('Talk7');
_root.talkTimes += 1;
} else {
if (talkRandom >= 71 && talkRandom <= 80) {
gotoAndStop('Talk8');
_root.talkTimes += 1;
} else {
if (talkRandom >= 81 && talkRandom <= 90) {
gotoAndStop('Talk9');
_root.talkTimes += 1;
} else {
if (talkRandom >= 91 && talkRandom <= 100) {
gotoAndStop('Talk10');
_root.talkTimes += 1;
} else {
if (talkRandom >= 101 && talkRandom <= 110) {
gotoAndStop('Talk11');
_root.talkTimes += 1;
} else {
if (talkRandom >= 111 && talkRandom <= 120) {
gotoAndStop('Talk12');
_root.talkTimes += 1;
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.talkTimes >= 4) {
gotoAndStop('doOther');
}
}
if (_root.levelDin == 'Girlfriend') {
if (_root.talkTimes == 0) {
gotoAndStop('TalkGf');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 1) {
gotoAndStop('TalkGf2');
_root.dateStats += 20;
_root.talkTimes += 1;
} else {
if (_root.talkTimes == 2) {
_root.dateStats += 20;
gotoAndStop('TalkGf3');
} else {
if (_root.talkTimes >= 3) {
gotoAndStop('doOther');
}
}
}
}
}
}
}
button 2989 {
on (release) {
kiss.enabled = false;
if (_root.dateStats < 100) {
gotoAndStop('KissN');
_root.dateStats -= 15;
} else {
if (_root.dateStats >= 100) {
lips.gotoAndPlay(2);
gotoAndStop('KissY');
}
}
}
}
movieClip 2993 {
}
button 2994 {
on (release) {
_root.levelDin = 'Girlfriend';
gotoAndStop(1);
_root.gotoAndStop('outsideHouse');
talk.enabled = true;
touch.enabled = true;
give.enabled = true;
picture.enabled = true;
kiss.enabled = true;
_root.dateStats = 0;
_root.talkTimes = 0;
_root.touchTimes = 0;
_root.giveTimes = 0;
_root.picTimes = 0;
}
}
movieClip 2995 {
frame 1 {
stop();
onEnterFrame = function () {
talkRandom = int(Math.random() * 120);
};
_root.dateStats = 0;
_root.talkTimes = 0;
_root.touchTimes = 0;
_root.giveTimes = 0;
_root.picTimes = 0;
}
frame 2 {
picture.enabled = true;
touch.enabled = true;
give.enabled = true;
kiss.enabled = true;
talk.enabled = true;
}
instance hp of movieClip 403 {
onClipEvent (load) {
baseX = 479.9;
}
onClipEvent (enterFrame) {
this._width = _root.dateStats / 0.525;
this._x = baseX + this._width / 2;
}
}
frame 14 {
picture.enabled = false;
touch.enabled = false;
give.enabled = false;
kiss.enabled = false;
talk.enabled = false;
ext.enabled = false;
}
frame 118 {
picture.enabled = true;
touch.enabled = true;
give.enabled = true;
kiss.enabled = true;
talk.enabled = true;
exit.enabled = true;
}
}
movieClip 2996 {
frame 1 {
stop();
randomConvo = Math.round(Math.random() * 2);
randomConvo2 = Math.round(Math.random() * 1);
}
frame 2 {
stop();
}
frame 720 {
stop();
}
frame 743 {
stop();
}
frame 767 {
stop();
}
frame 797 {
stop();
}
frame 822 {
stop();
}
}
button 3009 {
on (release) {
_root.fighting.gotoAndStop('show buttons');
}
}
button 3012 {
on (release) {
if (randomAll <= 20) {
_root.fighting.gotoAndStop(1);
_root.gotoAndStop('bar2');
_root.player._visible = true;
} else {
_root.fighting.gotoAndPlay('Random Enemy Attack');
}
}
}
movieClip 3017 {
frame 1 {
stop();
}
frame 53 {
_parent.hpDrunk = _parent.hpDrunk - (int(Math.random() * 300) + 100) - Math.floor(_root.strength / 2);
_parent.gotoAndPlay('Random Enemy Attack');
onEnterFrame = function () {
if (_parent.hpDrunk <= 0) {
gotoAndStop(1);
_parent.gotoAndStop('victory');
}
};
}
}
movieClip 3021 {
frame 1 {
stop();
}
frame 46 {
_parent.gotoAndPlay('Random Enemy Attack');
_parent.hpDrunk = _parent.hpDrunk - (int(Math.random() * 30) + 10) - Math.floor(_root.strength / 2);
onEnterFrame = function () {
if (_parent.hpDrunk <= 0) {
gotoAndStop(1);
_parent.gotoAndStop('victory');
}
};
}
}
movieClip 3033 {
frame 1 {
stop();
}
frame 57 {
_parent.gotoAndPlay('Random Enemy Attack');
_parent.hpDrunk = _parent.hpDrunk - (int(Math.random() * 50) + 100) - Math.floor(_root.strength / 2);
onEnterFrame = function () {
if (_parent.hpDrunk <= 0) {
gotoAndStop(1);
_parent.gotoAndStop('victory');
}
};
}
}
movieClip 3047 {
frame 1 {
stop();
}
frame 54 {
gotoAndStop(1);
_parent.gotoAndStop('Player Attack Selection');
_parent.hpLink -= int(Math.random() * 30);
onEnterFrame = function () {
if (_parent.hpLink <= 0) {
gotoAndStop(1);
_parent.gotoAndStop('loss');
}
};
}
frame 113 {
gotoAndStop(1);
_parent.gotoAndStop('Player Attack Selection');
_parent.hpLink -= int(Math.random() * 90) + 30;
onEnterFrame = function () {
if (_parent.hpLink <= 0) {
gotoAndStop(1);
_parent.gotoAndStop('loss');
}
};
}
frame 182 {
_parent.gotoAndStop('Player Attack Selection');
_parent.hpLink -= int(Math.random() * 100) + 100;
onEnterFrame = function () {
if (_parent.hpLink <= 0) {
gotoAndStop(1);
_parent.gotoAndStop('loss');
}
};
}
}
movieClip 3050 {
}
movieClip 3051 {
frame 33 {
stop();
}
}
button 3058 {
on (release) {
gotoAndStop('Attack Animation');
arrowAni.gotoAndPlay('start');
}
}
button 3061 {
on (release) {
swordAni.gotoAndPlay(2);
gotoAndStop('Attack Animation');
}
}
button 3064 {
on (release) {
gotoAndStop('Attack Animation');
bombAni.gotoAndPlay('start');
}
}
movieClip 3069 {
}
button 3070 {
on (release) {
gotoAndStop(1);
_root.gotoAndStop('bar');
_root.player._visible = true;
stopAllSounds();
_root.energyLeft = 0;
}
}
button 3076 {
on (release) {
gotoAndStop(1);
_root.gotoAndPlay('newDay2');
_root.player._visible = true;
_root.currentDay += 1;
_root.energyLeft = 100;
}
}
movieClip 3089 {
}
movieClip 3090 {
frame 1 {
stop();
var randomAll;
var hpDrunk;
var strengthAfter;
var charmAfter;
hpDrunk = 100;
strengthAfter = Math.round(Math.random() * 3) + 1;
charmAfter = Math.round(Math.random() * 2) + 1;
onEnterFrame = function () {
randomAll = int(Math.random() * 100);
if (_currentframe == 70) {
if (_root.fighting.randomAll <= 50) {
enemyAttackAnimations.gotoAndPlay('spitAttack');
} else {
if (_root.fighting.randomAll <= 80 && randomAll >= 51) {
enemyAttackAnimations.gotoAndPlay('bottleAttack');
} else {
enemyAttackAnimations.gotoAndPlay('knifeAttack');
}
}
}
if (_root.fighting.hpLink <= 0) {
if (_root.itemFairy >= 1) {
gotoAndPlay('revive');
_root.itemFairy -= 1;
}
}
if (_root.strength <= 20) {
bomb_btn._visible = false;
arrow_btn._visible = false;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
arrow_btn._visible = true;
bomb_btn._visible = false;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
arrow_btn._visible = true;
bomb_btn._visible = true;
}
}
}
};
}
frame 2 {
stop();
}
instance hpLink of movieClip 403 {
onClipEvent (load) {
baseX = 91.8;
}
onClipEvent (enterFrame) {
this._width = _root.fighting.hpLink / 9.375;
this._x = baseX + this._width / 2;
}
}
instance hpDrunk of movieClip 403 {
onClipEvent (load) {
baseX = 346.5;
}
onClipEvent (enterFrame) {
this._width = _root.fighting.hpDrunk / 0.625;
this._x = baseX + this._width / 2;
}
}
frame 71 {
stop();
}
frame 196 {
onEnterFrame = function () {
gotoAndStop('Player Attack Selection');
if (_root.strength <= 20) {
_root.fighting.hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
_root.fighting.hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
_root.fighting.hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
_root.fighting.hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
_root.fighting.hpLink = 800;
} else {
if (_root.strength >= 301) {
_root.fighting.hpLink = 1500;
}
}
}
}
}
}
};
}
frame 210 {
_root.strength += strengthAfter;
_root.charm += charmAfter;
stop();
}
frame 210 {
_root.peopleWords.FFN.stop();
_root.peopleWords.FFW.start(0, 500);
}
frame 220 {
_root.strength -= strengthAfter;
_root.charm -= charmAfter;
_root.currentDay += 1;
}
frame 220 {
_root.peopleWords.FFN.stop();
}
}
instance fighting of movieClip 3090 {
onClipEvent (load) {
var hpLink;
if (_root.strength <= 20) {
hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
hpLink = 800;
} else {
if (_root.strength >= 301) {
hpLink = 1500;
}
}
}
}
}
}
}
}
button 3094 {
on (release) {
_root.fighting200a.gotoAndStop('show buttons');
}
}
button 3095 {
on (release) {
if (randomAll <= 20) {
_root.fighting200a.gotoAndStop(1);
_root.gotoAndStop('bar2');
_root.player._visible = true;
} else {
_root.fighting200a.gotoAndPlay('Random Enemy Attack');
}
}
}
button 3096 {
on (release) {
gotoAndStop('Attack Animation');
arrowAni.gotoAndPlay('start');
}
}
button 3097 {
on (release) {
swordAni.gotoAndPlay(2);
gotoAndStop('Attack Animation');
}
}
button 3098 {
on (release) {
gotoAndStop('Attack Animation');
bombAni.gotoAndPlay('start');
}
}
button 3099 {
on (release) {
gotoAndStop(1);
_root.gotoAndStop('bar');
_root.player._visible = true;
stopAllSounds();
_root.energyLeft = 0;
}
}
button 3102 {
on (release) {
gotoAndStop(1);
_root.gotoAndPlay('newDay2');
_root.player._visible = true;
_root.currentDay += 1;
_root.energyLeft = 100;
}
}
movieClip 3105 {
frame 1 {
stop();
var randomAll;
var hpDrunk;
var strengthAfter;
var charmAfter;
hpDrunk = 200;
strengthAfter = Math.round(Math.random() * 3) + 1;
charmAfter = Math.round(Math.random() * 2) + 1;
onEnterFrame = function () {
randomAll = int(Math.random() * 100);
if (_currentframe == 70) {
if (_root.fighting.randomAll <= 50) {
enemyAttackAnimations.gotoAndPlay('spitAttack');
} else {
if (_root.fighting.randomAll <= 80 && randomAll >= 51) {
enemyAttackAnimations.gotoAndPlay('bottleAttack');
} else {
enemyAttackAnimations.gotoAndPlay('knifeAttack');
}
}
}
if (_root.fighting.hpLink <= 0) {
if (_root.itemFairy >= 1) {
gotoAndPlay('revive');
_root.itemFairy -= 1;
}
}
if (_root.strength <= 20) {
bomb_btn._visible = false;
arrow_btn._visible = false;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
arrow_btn._visible = true;
bomb_btn._visible = false;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
arrow_btn._visible = true;
bomb_btn._visible = true;
}
}
}
};
}
frame 2 {
stop();
}
instance hpLink of movieClip 403 {
onClipEvent (load) {
baseX = 91.8;
}
onClipEvent (enterFrame) {
this._width = _root.fighting.hpLink / 9.375;
this._x = baseX + this._width / 2;
}
}
instance hpDrunk of movieClip 403 {
onClipEvent (load) {
baseX = 346.5;
}
onClipEvent (enterFrame) {
this._width = _root.fighting200a.hpDrunk / 1.24;
this._x = baseX + this._width / 2;
}
}
frame 71 {
stop();
}
frame 195 {
onEnterFrame = function () {
gotoAndStop('Player Attack Selection');
if (_root.strength <= 20) {
_root.fighting.hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
_root.fighting.hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
_root.fighting.hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
_root.fighting.hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
_root.fighting.hpLink = 800;
} else {
if (_root.strength >= 301) {
_root.fighting.hpLink = 1500;
}
}
}
}
}
}
};
}
frame 208 {
_root.strength += strengthAfter;
_root.charm += charmAfter;
stop();
}
frame 208 {
_root.peopleWords.FFN.stop();
_root.peopleWords.FFW.start(0, 500);
}
frame 218 {
_root.strength -= strengthAfter;
_root.charm -= charmAfter;
_root.currentDay += 1;
}
frame 218 {
_root.peopleWords.FFN.stop();
}
}
instance fighting200a of movieClip 3105 {
onClipEvent (load) {
var hpLink;
if (_root.strength <= 20) {
hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
hpLink = 800;
} else {
if (_root.strength >= 301) {
hpLink = 1500;
}
}
}
}
}
}
}
}
button 3109 {
on (release) {
_root.fighting500a.gotoAndStop('show buttons');
}
}
button 3110 {
on (release) {
if (randomAll <= 20) {
_root.fighting500a.gotoAndStop(1);
_root.gotoAndStop('bar2');
_root.player._visible = true;
} else {
_root.fighting500a.gotoAndPlay('Random Enemy Attack');
}
}
}
button 3111 {
on (release) {
gotoAndStop('Attack Animation');
arrowAni.gotoAndPlay('start');
}
}
button 3112 {
on (release) {
swordAni.gotoAndPlay(2);
gotoAndStop('Attack Animation');
}
}
button 3113 {
on (release) {
gotoAndStop('Attack Animation');
bombAni.gotoAndPlay('start');
}
}
button 3114 {
on (release) {
stopAllSounds();
gotoAndStop(1);
_root.gotoAndStop('bar');
_root.player._visible = true;
_root.energyLeft = 0;
}
}
button 3117 {
on (release) {
gotoAndStop(1);
_root.gotoAndPlay('newDay2');
_root.player._visible = true;
_root.currentDay += 1;
_root.energyLeft = 100;
}
}
movieClip 3120 {
frame 1 {
stop();
var randomAll;
var hpDrunk;
var strengthAfter;
var charmAfter;
hpDrunk = 500;
strengthAfter = Math.round(Math.random() * 3) + 1;
charmAfter = Math.round(Math.random() * 2) + 1;
onEnterFrame = function () {
randomAll = int(Math.random() * 100);
if (_currentframe == 70) {
if (_root.fighting.randomAll <= 50) {
enemyAttackAnimations.gotoAndPlay('spitAttack');
} else {
if (_root.fighting.randomAll <= 80 && randomAll >= 51) {
enemyAttackAnimations.gotoAndPlay('bottleAttack');
} else {
enemyAttackAnimations.gotoAndPlay('knifeAttack');
}
}
}
if (_root.fighting.hpLink <= 0) {
if (_root.itemFairy >= 1) {
gotoAndPlay('revive');
_root.itemFairy -= 1;
}
}
if (_root.strength <= 20) {
bomb_btn._visible = false;
arrow_btn._visible = false;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
arrow_btn._visible = true;
bomb_btn._visible = false;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
arrow_btn._visible = true;
bomb_btn._visible = true;
}
}
}
};
}
frame 2 {
stop();
}
instance hpLink of movieClip 403 {
onClipEvent (load) {
baseX = 91.8;
}
onClipEvent (enterFrame) {
this._width = _root.fighting.hpLink / 9.375;
this._x = baseX + this._width / 2;
}
}
instance hpDrunk of movieClip 403 {
onClipEvent (load) {
baseX = 346.5;
}
onClipEvent (enterFrame) {
this._width = _root.fighting500a.hpDrunk / 3.125;
this._x = baseX + this._width / 2;
}
}
frame 71 {
stop();
}
frame 197 {
onEnterFrame = function () {
gotoAndStop('Player Attack Selection');
if (_root.strength <= 20) {
_root.fighting.hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
_root.fighting.hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
_root.fighting.hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
_root.fighting.hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
_root.fighting.hpLink = 800;
} else {
if (_root.strength >= 301) {
_root.fighting.hpLink = 1500;
}
}
}
}
}
}
};
}
frame 208 {
_root.strength += strengthAfter;
_root.charm += charmAfter;
stop();
}
frame 208 {
_root.peopleWords.FFN.stop();
_root.peopleWords.FFW.start(0, 500);
}
frame 218 {
_root.strength -= strengthAfter;
_root.charm -= charmAfter;
_root.currentDay += 1;
}
frame 218 {
_root.peopleWords.FFN.stop();
}
}
instance fighting500a of movieClip 3120 {
onClipEvent (load) {
var hpLink;
if (_root.strength <= 20) {
hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
hpLink = 800;
} else {
if (_root.strength >= 301) {
hpLink = 1500;
}
}
}
}
}
}
}
}
button 3124 {
on (release) {
_root.fighting1000a.gotoAndStop('show buttons');
}
}
button 3125 {
on (release) {
if (randomAll <= 20) {
_root.fighting1000a.gotoAndStop(1);
_root.gotoAndStop('bar2');
_root.player._visible = true;
} else {
_root.fighting1000a.gotoAndPlay('Random Enemy Attack');
}
}
}
button 3126 {
on (release) {
gotoAndStop('Attack Animation');
arrowAni.gotoAndPlay('start');
}
}
button 3127 {
on (release) {
swordAni.gotoAndPlay(2);
gotoAndStop('Attack Animation');
}
}
button 3128 {
on (release) {
gotoAndStop('Attack Animation');
bombAni.gotoAndPlay('start');
}
}
button 3129 {
on (release) {
stopAllSounds();
gotoAndStop(1);
_root.gotoAndStop('bar');
_root.player._visible = true;
_root.energyLeft = 0;
}
}
button 3132 {
on (release) {
gotoAndStop(1);
_root.gotoAndPlay('newDay2');
_root.player._visible = true;
_root.currentDay += 1;
_root.energyLeft = 100;
}
}
movieClip 3135 {
frame 1 {
stop();
var randomAll;
var hpDrunk;
var strengthAfter;
var charmAfter;
hpDrunk = 1000;
strengthAfter = Math.round(Math.random() * 3) + 1;
charmAfter = Math.round(Math.random() * 2) + 1;
onEnterFrame = function () {
randomAll = int(Math.random() * 100);
if (_currentframe == 70) {
if (_root.fighting.randomAll <= 50) {
enemyAttackAnimations.gotoAndPlay('spitAttack');
} else {
if (_root.fighting.randomAll <= 80 && randomAll >= 51) {
enemyAttackAnimations.gotoAndPlay('bottleAttack');
} else {
enemyAttackAnimations.gotoAndPlay('knifeAttack');
}
}
}
if (_root.fighting.hpLink <= 0) {
if (_root.itemFairy >= 1) {
gotoAndPlay('revive');
_root.itemFairy -= 1;
}
}
if (_root.strength <= 20) {
bomb_btn._visible = false;
arrow_btn._visible = false;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
arrow_btn._visible = true;
bomb_btn._visible = false;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
arrow_btn._visible = true;
bomb_btn._visible = true;
}
}
}
};
}
frame 2 {
stop();
}
instance hpLink of movieClip 403 {
onClipEvent (load) {
baseX = 91.8;
}
onClipEvent (enterFrame) {
this._width = _root.fighting.hpLink / 9.375;
this._x = baseX + this._width / 2;
}
}
instance hpDrunk of movieClip 403 {
onClipEvent (load) {
baseX = 346.5;
}
onClipEvent (enterFrame) {
this._width = _root.fighting1000a.hpDrunk / 6.25;
this._x = baseX + this._width / 2;
}
}
frame 71 {
stop();
}
frame 197 {
onEnterFrame = function () {
gotoAndStop('Player Attack Selection');
if (_root.strength <= 20) {
_root.fighting.hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
_root.fighting.hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
_root.fighting.hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
_root.fighting.hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
_root.fighting.hpLink = 800;
} else {
if (_root.strength >= 301) {
_root.fighting.hpLink = 1500;
}
}
}
}
}
}
};
}
frame 208 {
_root.strength += strengthAfter;
_root.charm += charmAfter;
stop();
}
frame 208 {
_root.peopleWords.FFN.stop();
_root.peopleWords.FFW.start(0, 500);
}
frame 218 {
_root.strength -= strengthAfter;
_root.charm -= charmAfter;
_root.currentDay += 1;
}
frame 218 {
_root.peopleWords.FFN.stop();
}
}
instance fighting1000a of movieClip 3135 {
onClipEvent (load) {
var hpLink;
if (_root.strength <= 20) {
hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
hpLink = 800;
} else {
if (_root.strength >= 301) {
hpLink = 1500;
}
}
}
}
}
}
}
}
button 3140 {
on (release) {
_root.fighting100b.gotoAndStop('show buttons');
}
}
button 3141 {
on (release) {
if (randomAll <= 20) {
_root.fighting100b.gotoAndStop(1);
_root.gotoAndStop('bar2');
_root.player._visible = true;
} else {
_root.fighting100b.gotoAndPlay('Random Enemy Attack');
}
}
}
button 3142 {
on (release) {
gotoAndStop('Attack Animation');
arrowAni.gotoAndPlay('start');
}
}
button 3143 {
on (release) {
swordAni.gotoAndPlay(2);
gotoAndStop('Attack Animation');
}
}
button 3144 {
on (release) {
gotoAndStop('Attack Animation');
bombAni.gotoAndPlay('start');
}
}
button 3145 {
on (release) {
gotoAndStop(1);
_root.gotoAndStop('bar');
_root.player._visible = true;
stopAllSounds();
_root.energyLeft = 0;
}
}
button 3148 {
on (release) {
gotoAndStop(1);
_root.gotoAndPlay('newDay2');
_root.player._visible = true;
_root.currentDay += 1;
_root.energyLeft = 100;
}
}
movieClip 3151 {
frame 1 {
stop();
var randomAll;
var hpDrunk;
var strengthAfter;
var charmAfter;
hpDrunk = 100;
strengthAfter = Math.round(Math.random() * 3) + 1;
charmAfter = Math.round(Math.random() * 2) + 1;
onEnterFrame = function () {
randomAll = int(Math.random() * 100);
if (_currentframe == 70) {
if (_root.fighting.randomAll <= 50) {
enemyAttackAnimations.gotoAndPlay('spitAttack');
} else {
if (_root.fighting.randomAll <= 80 && randomAll >= 51) {
enemyAttackAnimations.gotoAndPlay('bottleAttack');
} else {
enemyAttackAnimations.gotoAndPlay('knifeAttack');
}
}
}
if (_root.fighting.hpLink <= 0) {
if (_root.itemFairy >= 1) {
gotoAndPlay('revive');
_root.itemFairy -= 1;
}
}
if (_root.strength <= 20) {
bomb_btn._visible = false;
arrow_btn._visible = false;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
arrow_btn._visible = true;
bomb_btn._visible = false;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
arrow_btn._visible = true;
bomb_btn._visible = true;
}
}
}
};
}
frame 2 {
stop();
}
instance hpLink of movieClip 403 {
onClipEvent (load) {
baseX = 118.8;
}
onClipEvent (enterFrame) {
this._width = _root.fighting.hpLink / 9.375;
this._x = baseX + this._width / 2;
}
}
instance hpDrunk of movieClip 403 {
onClipEvent (load) {
baseX = 373.5;
}
onClipEvent (enterFrame) {
this._width = _root.fighting100b.hpDrunk / 0.625;
this._x = baseX + this._width / 2;
}
}
frame 71 {
stop();
}
frame 196 {
onEnterFrame = function () {
gotoAndStop('Player Attack Selection');
if (_root.strength <= 20) {
_root.fighting.hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
_root.fighting.hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
_root.fighting.hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
_root.fighting.hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
_root.fighting.hpLink = 800;
} else {
if (_root.strength >= 301) {
_root.fighting.hpLink = 1500;
}
}
}
}
}
}
};
}
frame 208 {
_root.strength += strengthAfter;
_root.charm += charmAfter;
stop();
}
frame 208 {
_root.peopleWords.FFN.stop();
_root.peopleWords.FFW.start(0, 500);
}
frame 218 {
_root.strength -= strengthAfter;
_root.charm -= charmAfter;
_root.currentDay += 1;
}
frame 218 {
_root.peopleWords.FFN.stop();
}
}
instance fighting100b of movieClip 3151 {
onClipEvent (load) {
var hpLink;
if (_root.strength <= 20) {
hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
hpLink = 800;
} else {
if (_root.strength >= 301) {
hpLink = 1500;
}
}
}
}
}
}
}
}
button 3155 {
on (release) {
_root.fighting200b.gotoAndStop('show buttons');
}
}
button 3156 {
on (release) {
if (randomAll <= 20) {
_root.fighting200b.gotoAndStop(1);
_root.gotoAndStop('bar2');
_root.player._visible = true;
} else {
_root.fighting200b.gotoAndPlay('Random Enemy Attack');
}
}
}
button 3157 {
on (release) {
if (randomAll <= 20) {
_root.fighting200b.gotoAndStop(1);
_root.gotoAndStop('bar2');
_root.player._visible = true;
} else {
_root.fighting200b.gotoAndPlay('Random Enemy Attack');
}
}
}
button 3158 {
on (release) {
gotoAndStop('Attack Animation');
arrowAni.gotoAndPlay('start');
}
}
button 3159 {
on (release) {
swordAni.gotoAndPlay(2);
gotoAndStop('Attack Animation');
}
}
button 3160 {
on (release) {
gotoAndStop('Attack Animation');
bombAni.gotoAndPlay('start');
}
}
button 3161 {
on (release) {
gotoAndStop(1);
_root.gotoAndStop('bar');
_root.player._visible = true;
stopAllSounds();
_root.energyLeft = 0;
}
}
button 3164 {
on (release) {
gotoAndStop(1);
_root.gotoAndPlay('newDay2');
_root.player._visible = true;
_root.currentDay += 1;
_root.energyLeft = 100;
}
}
movieClip 3167 {
frame 1 {
stop();
var randomAll;
var hpDrunk;
var strengthAfter;
var charmAfter;
hpDrunk = 200;
strengthAfter = Math.round(Math.random() * 3) + 1;
charmAfter = Math.round(Math.random() * 2) + 1;
onEnterFrame = function () {
randomAll = int(Math.random() * 100);
if (_currentframe == 70) {
if (_root.fighting.randomAll <= 50) {
enemyAttackAnimations.gotoAndPlay('spitAttack');
} else {
if (_root.fighting.randomAll <= 80 && randomAll >= 51) {
enemyAttackAnimations.gotoAndPlay('bottleAttack');
} else {
enemyAttackAnimations.gotoAndPlay('knifeAttack');
}
}
}
if (_root.fighting.hpLink <= 0) {
if (_root.itemFairy >= 1) {
gotoAndPlay('revive');
_root.itemFairy -= 1;
}
}
if (_root.strength <= 20) {
bomb_btn._visible = false;
arrow_btn._visible = false;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
arrow_btn._visible = true;
bomb_btn._visible = false;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
arrow_btn._visible = true;
bomb_btn._visible = true;
}
}
}
};
}
frame 2 {
stop();
}
instance hpLink of movieClip 403 {
onClipEvent (load) {
baseX = 122.8;
}
onClipEvent (enterFrame) {
this._width = _root.fighting.hpLink / 9.375;
this._x = baseX + this._width / 2;
}
}
instance hpDrunk of movieClip 403 {
onClipEvent (load) {
baseX = 377.7;
}
onClipEvent (enterFrame) {
this._width = _root.fighting200b.hpDrunk / 1.25;
this._x = baseX + this._width / 2;
}
}
frame 71 {
stop();
}
frame 195 {
onEnterFrame = function () {
gotoAndStop('Player Attack Selection');
if (_root.strength <= 20) {
_root.fighting.hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
_root.fighting.hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
_root.fighting.hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
_root.fighting.hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
_root.fighting.hpLink = 800;
} else {
if (_root.strength >= 301) {
_root.fighting.hpLink = 1500;
}
}
}
}
}
}
};
}
frame 208 {
_root.strength += strengthAfter;
_root.charm += charmAfter;
stop();
}
frame 208 {
_root.peopleWords.FFN.stop();
_root.peopleWords.FFW.start(0, 500);
}
frame 218 {
_root.strength -= strengthAfter;
_root.charm -= charmAfter;
_root.currentDay += 1;
}
frame 218 {
_root.peopleWords.FFN.stop();
}
}
instance fighting200b of movieClip 3167 {
onClipEvent (load) {
var hpLink;
if (_root.strength <= 20) {
hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
hpLink = 800;
} else {
if (_root.strength >= 301) {
hpLink = 1500;
}
}
}
}
}
}
}
}
button 3171 {
on (release) {
_root.fighting500b.gotoAndStop('show buttons');
}
}
button 3172 {
on (release) {
if (randomAll <= 20) {
_root.fighting500b.gotoAndStop(1);
_root.gotoAndStop('bar2');
_root.player._visible = true;
} else {
_root.fighting500b.gotoAndPlay('Random Enemy Attack');
}
}
}
button 3173 {
on (release) {
gotoAndStop('Attack Animation');
arrowAni.gotoAndPlay('start');
}
}
button 3174 {
on (release) {
swordAni.gotoAndPlay(2);
gotoAndStop('Attack Animation');
}
}
button 3175 {
on (release) {
gotoAndStop('Attack Animation');
bombAni.gotoAndPlay('start');
}
}
button 3176 {
on (release) {
stopAllSounds();
gotoAndStop(1);
_root.gotoAndStop('bar');
_root.player._visible = true;
_root.energyLeft = 0;
}
}
button 3179 {
on (release) {
gotoAndStop(1);
_root.gotoAndPlay('newDay2');
_root.player._visible = true;
_root.currentDay += 1;
_root.energyLeft = 100;
}
}
movieClip 3182 {
frame 1 {
stop();
var randomAll;
var hpDrunk;
var strengthAfter;
var charmAfter;
hpDrunk = 500;
strengthAfter = Math.round(Math.random() * 3) + 1;
charmAfter = Math.round(Math.random() * 2) + 1;
onEnterFrame = function () {
randomAll = int(Math.random() * 100);
if (_currentframe == 70) {
if (_root.fighting.randomAll <= 50) {
enemyAttackAnimations.gotoAndPlay('spitAttack');
} else {
if (_root.fighting.randomAll <= 80 && randomAll >= 51) {
enemyAttackAnimations.gotoAndPlay('bottleAttack');
} else {
enemyAttackAnimations.gotoAndPlay('knifeAttack');
}
}
}
if (_root.fighting.hpLink <= 0) {
if (_root.itemFairy >= 1) {
gotoAndPlay('revive');
_root.itemFairy -= 1;
}
}
if (_root.strength <= 20) {
bomb_btn._visible = false;
arrow_btn._visible = false;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
arrow_btn._visible = true;
bomb_btn._visible = false;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
arrow_btn._visible = true;
bomb_btn._visible = true;
}
}
}
};
}
frame 2 {
stop();
}
instance hpLink of movieClip 403 {
onClipEvent (load) {
baseX = 119.8;
}
onClipEvent (enterFrame) {
this._width = _root.fighting.hpLink / 9.375;
this._x = baseX + this._width / 2;
}
}
instance hpDrunk of movieClip 403 {
onClipEvent (load) {
baseX = 374.5;
}
onClipEvent (enterFrame) {
this._width = _root.fighting500b.hpDrunk / 3.125;
this._x = baseX + this._width / 2;
}
}
frame 71 {
stop();
}
frame 198 {
onEnterFrame = function () {
gotoAndStop('Player Attack Selection');
if (_root.strength <= 20) {
_root.fighting.hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
_root.fighting.hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
_root.fighting.hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
_root.fighting.hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
_root.fighting.hpLink = 800;
} else {
if (_root.strength >= 301) {
_root.fighting.hpLink = 1500;
}
}
}
}
}
}
};
}
frame 208 {
_root.strength += strengthAfter;
_root.charm += charmAfter;
stop();
}
frame 208 {
_root.peopleWords.FFN.stop();
_root.peopleWords.FFW.start(0, 500);
}
frame 218 {
_root.strength -= strengthAfter;
_root.charm -= charmAfter;
_root.currentDay += 1;
}
frame 218 {
_root.peopleWords.FFN.stop();
}
}
instance fighting500b of movieClip 3182 {
onClipEvent (load) {
var hpLink;
if (_root.strength <= 20) {
hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
hpLink = 800;
} else {
if (_root.strength >= 301) {
hpLink = 1500;
}
}
}
}
}
}
}
}
button 3186 {
on (release) {
_root.fighting1000b.gotoAndStop('show buttons');
}
}
button 3187 {
on (release) {
if (randomAll <= 20) {
_root.fighting1000b.gotoAndStop(1);
_root.gotoAndStop('bar2');
_root.player._visible = true;
} else {
_root.fighting1000b.gotoAndPlay('Random Enemy Attack');
}
}
}
button 3188 {
on (release) {
gotoAndStop('Attack Animation');
arrowAni.gotoAndPlay('start');
}
}
button 3189 {
on (release) {
swordAni.gotoAndPlay(2);
gotoAndStop('Attack Animation');
}
}
button 3190 {
on (release) {
gotoAndStop('Attack Animation');
bombAni.gotoAndPlay('start');
}
}
button 3191 {
on (release) {
stopAllSounds();
gotoAndStop(1);
_root.gotoAndStop('bar');
_root.player._visible = true;
_root.energyLeft = 0;
}
}
button 3194 {
on (release) {
gotoAndStop(1);
_root.gotoAndPlay('newDay2');
_root.player._visible = true;
_root.currentDay += 1;
_root.energyLeft = 100;
}
}
movieClip 3197 {
frame 1 {
stop();
var randomAll;
var hpDrunk;
var strengthAfter;
var charmAfter;
hpDrunk = 1000;
strengthAfter = Math.round(Math.random() * 3) + 1;
charmAfter = Math.round(Math.random() * 2) + 1;
onEnterFrame = function () {
randomAll = int(Math.random() * 100);
if (_currentframe == 70) {
if (_root.fighting.randomAll <= 50) {
enemyAttackAnimations.gotoAndPlay('spitAttack');
} else {
if (_root.fighting.randomAll <= 80 && randomAll >= 51) {
enemyAttackAnimations.gotoAndPlay('bottleAttack');
} else {
enemyAttackAnimations.gotoAndPlay('knifeAttack');
}
}
}
if (_root.fighting.hpLink <= 0) {
if (_root.itemFairy >= 1) {
gotoAndPlay('revive');
_root.itemFairy -= 1;
}
}
if (_root.strength <= 20) {
bomb_btn._visible = false;
arrow_btn._visible = false;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
arrow_btn._visible = true;
bomb_btn._visible = false;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
arrow_btn._visible = true;
bomb_btn._visible = true;
}
}
}
};
}
frame 2 {
stop();
}
instance hpLink of movieClip 403 {
onClipEvent (load) {
baseX = 120.8;
}
onClipEvent (enterFrame) {
this._width = _root.fighting.hpLink / 9.375;
this._x = baseX + this._width / 2;
}
}
instance hpDrunk of movieClip 403 {
onClipEvent (load) {
baseX = 375.4;
}
onClipEvent (enterFrame) {
this._width = _root.fighting1000b.hpDrunk / 6.25;
this._x = baseX + this._width / 2;
}
}
frame 71 {
stop();
}
frame 197 {
onEnterFrame = function () {
gotoAndStop('Player Attack Selection');
if (_root.strength <= 20) {
_root.fighting.hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
_root.fighting.hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
_root.fighting.hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
_root.fighting.hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
_root.fighting.hpLink = 800;
} else {
if (_root.strength >= 301) {
_root.fighting.hpLink = 1500;
}
}
}
}
}
}
};
}
frame 208 {
_root.strength += strengthAfter;
_root.charm += charmAfter;
stop();
}
frame 208 {
_root.peopleWords.FFN.stop();
_root.peopleWords.FFW.start(0, 500);
}
frame 218 {
_root.strength -= strengthAfter;
_root.charm -= charmAfter;
_root.currentDay += 1;
}
frame 218 {
_root.peopleWords.FFN.stop();
}
}
instance fighting1000b of movieClip 3197 {
onClipEvent (load) {
var hpLink;
if (_root.strength <= 20) {
hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
hpLink = 800;
} else {
if (_root.strength >= 301) {
hpLink = 1500;
}
}
}
}
}
}
}
}
frame 863 {
stop();
player._x = 281.9;
player._y = 294.4;
}
movieClip 3199 {
}
movieClip 3202 {
}
instance of movieClip 3202 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.peopleWords.gotoAndStop('shopkeep');
}
}
}
movieClip 3206 {
}
movieClip 3210 {
}
frame 867 {
stop();
player._x = 276.2;
player._y = 316.9;
}
movieClip 3216 {
}
movieClip 3219 {
}
instance zeldaMirror of movieClip 3219 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.otherWords.gotoAndStop('zeldaMirror');
}
}
}
}
instance zeldaBook of movieClip 1189 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.otherWords.gotoAndStop('zeldaBook');
}
}
}
}
instance zeldaInHouse of movieClip 517 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
trace('works');
trace(_root.levelZelda);
if (_root.levelZelda == 'Stranger') {
_root.zeldaConvo.gotoAndStop('Stranger');
} else {
if (_root.levelZelda == 'New Friend') {
_root.zeldaConvo.gotoAndStop('New Friend');
} else {
if (_root.levelZelda == 'Close Friend') {
_root.zeldaConvo.gotoAndStop('Close Friend');
} else {
if (_root.levelZelda == 'Girlfriend') {
_root.zeldaConvo.gotoAndStop('Girlfriend');
}
}
}
}
}
}
}
}
movieClip 3221 {
}
instance zeldaBed of movieClip 3221 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.otherWords.gotoAndStop('zeldaBed');
}
}
}
}
movieClip 3229 {
frame 1 {
stop();
}
}
button 3230 {
on (release) {
gotoAndStop(1);
}
}
button 3234 {
on (release) {
gotoAndStop(1);
talk.enabled = true;
wierd.enabled = true;
}
}
button 3235 {
on (release) {
if (_root.energyLeft < 20) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 20;
gotoAndStop('NF Talk');
_root.statsZelda -= 30;
talk.enabled = false;
}
}
}
button 3236 {
on (release) {
gotoAndStop('NF Wierd');
}
}
button 3241 {
on (release) {
gotoAndStop('CF Give');
give.enabled = false;
}
}
button 3242 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
_root.statsZelda = _root.statsZelda + int(Math.random() * 20) + 10 + _root.charm / 2;
gotoAndStop('CF Talk');
}
}
}
button 3243 {
on (release) {
talk.enabled = true;
give.enabled = true;
gotoAndStop(1);
}
}
button 3245 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
_root.statsSaria = _root.statsSaria + int(Math.random() * 20) + 10 + _root.charm / 2;
gotoAndStop('CF Talk 2');
}
}
}
button 3247 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
_root.statsSaria = _root.statsSaria + int(Math.random() * 20) + 10 + _root.charm / 2;
gotoAndStop('CF Talk 3');
talk.enabled = false;
}
}
}
button 3252 {
on (release) {
if (_root.itemBracelet >= 1) {
gotoAndStop('CF Give Good');
_root.statsZelda += int(Math.random() * 10 + 5);
_root.itemBracelet -= 1;
}
}
}
button 3253 {
on (release) {
if (_root.itemFairy >= 1) {
gotoAndStop('CF Give Good');
_root.statsZelda += int(Math.random() * 10 + 5);
_root.itemFairy -= 1;
}
}
}
button 3254 {
on (release) {
if (_root.itemOcarina >= 1) {
gotoAndStop('CF Give Good');
_root.statsZelda += int(Math.random() * 10 + 5);
_root.itemOcarina -= 1;
}
}
}
button 3255 {
on (release) {
if (_root.itemStick >= 1) {
gotoAndStop('CF Give Bad');
_root.statsZelda -= int(Math.random() * 10);
_root.itemStick -= 1;
}
}
}
button 3256 {
on (release) {
if (_root.itemFlower >= 1) {
gotoAndStop('CF Give Good');
_root.statsZelda += int(Math.random() * 10 + 5);
_root.itemFlower -= 1;
}
}
}
button 3263 {
on (release) {
if (_root.itemCoke >= 1) {
gotoAndStop('CF Give Good');
_root.statsZelda += int(Math.random() * 10 + 5);
_root.itemCoke -= 1;
}
}
}
button 3264 {
on (release) {
if (_root.itemFireOrb >= 1) {
gotoAndStop('CF Give Bad');
_root.statsZelda -= int(Math.random() * 10);
_root.itemFireOrb -= 1;
}
}
}
button 3265 {
on (release) {
if (_root.itemWaterOrb >= 1) {
gotoAndStop('CF Give Good');
_root.statsZelda += int(Math.random() * 10 + 5);
_root.itemWaterOrb -= 1;
}
}
}
button 3266 {
on (release) {
if (_root.itemWeed >= 1) {
gotoAndStop('CF Give Bad');
_root.statsZelda -= int(Math.random() * 10);
_root.itemWeed -= 1;
}
}
}
button 3270 {
on (release) {
gotoAndStop('Close Friend');
}
}
button 3272 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
gotoAndStop('GF Talk');
_root.statsZelda = _root.statsZelda + int(Math.random() * 15) + _root.charm / 4;
}
}
}
button 3273 {
on (release) {
gotoAndStop('GF Kiss');
kiss.enabled = false;
}
}
button 3274 {
on (release) {
gotoAndStop(1);
talk.enabled = true;
kiss.enabled = true;
sex.enabled = true;
}
}
button 3278 {
on (release) {
sex.enabled = false;
if (_root.statsZelda < 2500) {
gotoAndStop('No Sex');
} else {
if (_root.energyLeft < 10) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 10;
gotoAndPlay('Sex');
_root.statsZelda += _root.charm;
if (_root.sexPic <= 5) {
sexyPic.gotoAndStop(3);
} else {
if (_root.sexPic > 5) {
sexyPic.gotoAndStop(2);
}
}
}
}
}
}
button 3282 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
gotoAndStop('GF Talk 2');
_root.statsZelda = _root.statsZelda + int(Math.random() * 15) + _root.charm / 4;
}
}
}
button 3284 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
gotoAndStop('GF Talk 3');
_root.statsZelda = _root.statsZelda + int(Math.random() * 15) + _root.charm / 4;
talk.enabled = false;
}
}
}
button 3285 {
on (release) {
sex.enabled = false;
if (_root.statsZelda < 2500) {
gotoAndStop('No Sex');
} else {
if (_root.energyLeft < 10) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 10;
gotoAndPlay('Sex');
_root.statsZelda += _root.charm;
if (_root.sexPic <= 5) {
sexyPic.gotoAndStop(3);
} else {
if (_root.sexPic > 5) {
sexyPic.gotoAndStop(2);
}
}
}
}
}
}
button 3291 {
on (release) {
if (_root.energyLeft < 30) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 30;
_root.statsZelda = _root.statsZelda + int(Math.random * 20) + _root.charm * 2;
gotoAndPlay('Make Out');
}
}
}
button 3294 {
on (release) {
gotoAndStop('Girlfriend');
}
}
button 3300 {
on (release) {
gotoAndStop('O_O');
}
}
button 3303 {
on (release) {
if (_root.energyLeft < 40) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 40;
gotoAndPlay('Sex Yes');
_root.statsZelda += _root.charm * 3;
}
}
}
button 3304 {
on (release) {
gotoAndStop('Naa');
}
}
button 3308 {
on (release) {
gotoAndStop('Err');
}
}
button 3311 {
on (release) {
gotoAndStop('Naa 2');
}
}
button 3312 {
on (release) {
gotoAndStop('Noo');
}
}
button 3314 {
on (release) {
if (_root.energyLeft < 40) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 40;
gotoAndPlay('Sex Yes');
_root.statsZelda += _root.charm * 3;
}
}
}
button 3316 {
on (release) {
gotoAndPlay(1);
}
}
movieClip 3321 {
instance doorZelda of movieClip 481 {
}
instance of movieClip 1152 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(15);
}
}
}
}
}
movieClip 3322 {
frame 378 {
_parent.gotoAndStop('Aftermath Sex');
}
}
button 3323 {
on (release) {
gotoAndStop(1);
}
}
movieClip 3329 {
frame 1 {
stop();
}
}
movieClip 3332 {
frame 1 {
stop();
}
frame 321 {
gotoAndStop('Aftermath Makeout');
}
frame 349 {
stop();
}
frame 415 {
stop();
}
}
frame 871 {
stop();
player._x = 276.4;
player._y = 324.6;
}
movieClip 3334 {
}
instance of movieClip 521 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
if (_root.levelSaria == 'Stranger') {
_root.sariaConvo.gotoAndStop('Stranger');
} else {
if (_root.levelSaria == 'New Friend') {
_root.sariaConvo.gotoAndStop('New Friend');
} else {
if (_root.levelSaria == 'Close Friend') {
_root.sariaConvo.gotoAndStop('Close Friend');
} else {
if (_root.levelSaria == 'Girlfriend') {
_root.sariaConvo.gotoAndStop('Girlfriend');
}
}
}
}
}
}
}
}
instance sariaWater of movieClip 1196 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.otherWords.gotoAndStop('sariaWater');
}
}
}
}
button 3339 {
on (release) {
gotoAndStop(1);
}
}
button 3343 {
on (release) {
gotoAndStop(1);
talk.enabled = true;
wierd.enabled = true;
}
}
button 3344 {
on (release) {
if (_root.energyLeft < 20) {
gotoAndStop('Tired');
} else {
gotoAndStop('NF Talk');
_root.energyLeft -= 20;
_root.statsSaria -= 20;
talk.enabled = false;
}
}
}
button 3345 {
on (release) {
gotoAndStop('NF Wierd');
}
}
button 3350 {
on (release) {
gotoAndStop('CF Give');
give.enabled = false;
}
}
button 3351 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
_root.statsSaria = _root.statsSaria + int(Math.random() * 20) + 10 + _root.charm / 2;
gotoAndStop('CF Talk');
}
}
}
button 3352 {
on (release) {
talk.enabled = true;
give.enabled = true;
gotoAndStop(1);
}
}
button 3354 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
_root.statsSaria = _root.statsSaria + int(Math.random() * 20) + 10 + _root.charm / 2;
gotoAndStop('CF Talk 2');
}
}
}
button 3356 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
_root.statsSaria = _root.statsSaria + int(Math.random() * 20) + 10 + _root.charm / 2;
gotoAndStop('CF Talk 3');
talk.enabled = false;
}
}
}
button 3361 {
on (release) {
if (_root.itemBracelet >= 1) {
gotoAndStop('CF Give Bad');
_root.statsSaria -= int(Math.random() * 10 + 5);
_root.itemBracelet -= 1;
}
}
}
button 3362 {
on (release) {
if (_root.itemFairy >= 1) {
gotoAndStop('CF Give Good');
_root.statsSaria += int(Math.random() * 10 + 5);
_root.itemFairy -= 1;
}
}
}
button 3363 {
on (release) {
if (_root.itemOcarina >= 1) {
gotoAndStop('CF Give Good');
_root.statsSaria += int(Math.random() * 10 + 5);
_root.itemOcarina -= 1;
}
}
}
button 3364 {
on (release) {
if (_root.itemStick >= 1) {
gotoAndStop('CF Give Good');
_root.statsSaria += int(Math.random() * 10 + 5);
_root.itemStick -= 1;
}
}
}
button 3365 {
on (release) {
if (_root.itemFlower >= 1) {
gotoAndStop('CF Give Good');
_root.statsSaria += int(Math.random() * 10 + 5);
_root.itemFlower -= 1;
}
}
}
button 3372 {
on (release) {
if (_root.itemCoke >= 1) {
gotoAndStop('CF Give Bad');
_root.statsSaria -= int(Math.random() * 10 + 5);
_root.itemCoke -= 1;
}
}
}
button 3373 {
on (release) {
if (_root.itemFireOrb >= 1) {
gotoAndStop('CF Give Bad');
_root.statsSaria -= int(Math.random() * 10 + 5);
_root.itemFireOrb -= 1;
}
}
}
button 3374 {
on (release) {
if (_root.itemWaterOrb >= 1) {
gotoAndStop('CF Give Good');
_root.statsSaria += int(Math.random() * 10 + 5);
_root.itemWaterOrb -= 1;
}
}
}
button 3375 {
on (release) {
if (_root.itemWeed >= 1) {
gotoAndStop('CF Give Good');
_root.statsSaria += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 3379 {
on (release) {
gotoAndStop('Close Friend');
}
}
button 3381 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
gotoAndStop('GF Talk');
_root.statsSaria = _root.statsSaria + int(Math.random() * 15) + _root.charm / 4;
}
}
}
button 3382 {
on (release) {
gotoAndStop('GF Kiss');
kiss.enabled = false;
}
}
button 3383 {
on (release) {
gotoAndStop(1);
talk.enabled = true;
kiss.enabled = true;
sex.enabled = true;
}
}
button 3384 {
on (release) {
sex.enabled = false;
if (_root.statsSaria < 2500) {
gotoAndStop('No Sex');
} else {
if (_root.energyLeft < 10) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 10;
gotoAndPlay('Sex');
_root.statsSaria += _root.charm;
if (_root.sexPic <= 5) {
sexyPic.gotoAndStop(3);
} else {
if (_root.sexPic > 5) {
sexyPic.gotoAndStop(2);
}
}
}
}
}
}
button 3388 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
gotoAndStop('GF Talk 2');
_root.statsSaria = _root.statsSaria + int(Math.random() * 15) + _root.charm / 4;
}
}
}
button 3390 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
gotoAndStop('GF Talk 3');
_root.statsSaria = _root.statsSaria + int(Math.random() * 15) + _root.charm / 4;
talk.enabled = false;
}
}
}
button 3393 {
on (release) {
if (_root.energyLeft < 30) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 30;
_root.statsSaria = _root.statsSaria + int(Math.random * 20) + _root.charm * 2;
gotoAndPlay('Make Out');
}
}
}
button 3394 {
on (release) {
gotoAndStop('Girlfriend');
}
}
button 3397 {
on (release) {
gotoAndStop('O_O');
}
}
button 3398 {
on (release) {
if (_root.energyLeft < 40) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 40;
gotoAndPlay('Sex Yes');
_root.statsSaria += _root.charm * 3;
}
}
}
button 3399 {
on (release) {
gotoAndStop('Naa');
}
}
button 3400 {
on (release) {
gotoAndStop('Err');
}
}
button 3403 {
on (release) {
gotoAndStop('Naa 2');
}
}
button 3404 {
on (release) {
gotoAndStop('Noo');
}
}
button 3405 {
on (release) {
if (_root.energyLeft < 40) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 40;
gotoAndPlay('Sex Yes');
_root.statsSaria += _root.charm * 3;
}
}
}
button 3406 {
on (release) {
gotoAndPlay(1);
}
}
movieClip 3410 {
instance doorSaria of movieClip 1142 {
}
instance of movieClip 1153 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(18);
}
}
}
}
}
movieClip 3411 {
frame 375 {
_parent.gotoAndStop('Aftermath Sex');
}
}
button 3412 {
on (release) {
gotoAndStop(1);
}
}
movieClip 3418 {
frame 1 {
stop();
}
frame 321 {
gotoAndStop('Aftermath Makeout');
}
frame 349 {
stop();
}
frame 415 {
stop();
}
}
frame 875 {
stop();
player._x = 275.9;
player._y = 319.7;
}
movieClip 3420 {
}
instance of movieClip 523 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
if (_root.levelMalon == 'Stranger') {
_root.malonConvo.gotoAndStop('Stranger');
} else {
if (_root.levelMalon == 'New Friend') {
_root.malonConvo.gotoAndStop('New Friend');
} else {
if (_root.levelMalon == 'Close Friend') {
_root.malonConvo.gotoAndStop('Close Friend');
} else {
if (_root.levelMalon == 'Girlfriend') {
_root.malonConvo.gotoAndStop('Girlfriend');
}
}
}
}
}
}
}
}
movieClip 3423 {
}
instance clothes of movieClip 3423 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.otherWords.gotoAndStop('malonClothes');
}
}
}
}
movieClip 3425 {
}
instance malonBeer of movieClip 3425 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.otherWords.gotoAndStop('malonBottles');
}
}
}
}
movieClip 3427 {
}
movieClip 3435 {
frame 1 {
stop();
}
}
button 3436 {
on (release) {
gotoAndStop(1);
}
}
button 3440 {
on (release) {
gotoAndStop(1);
talk.enabled = true;
wierd.enabled = true;
}
}
button 3441 {
on (release) {
if (_root.energyLeft < 20) {
gotoAndStop('Tired');
} else {
gotoAndStop('NF Talk');
_root.energyLeft -= 20;
_root.statsMalon -= 20;
talk.enabled = false;
}
}
}
button 3442 {
on (release) {
gotoAndStop('NF Wierd');
}
}
button 3446 {
on (release) {
gotoAndStop('CF Give');
give.enabled = false;
}
}
button 3447 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
_root.statsMalon = _root.statsMalon + int(Math.random() * 20) + 10 + _root.charm / 2;
gotoAndStop('CF Talk');
}
}
}
button 3448 {
on (release) {
talk.enabled = true;
give.enabled = true;
gotoAndStop(1);
}
}
button 3450 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
_root.statsMalon = _root.statsMalon + int(Math.random() * 20) + 10 + _root.charm / 2;
gotoAndStop('CF Talk 2');
}
}
}
button 3452 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
_root.statsMalon = _root.statsMalon + int(Math.random() * 20) + 10 + _root.charm / 2;
gotoAndStop('CF Talk 3');
talk.enabled = false;
}
}
}
button 3457 {
on (release) {
if (_root.itemBracelet >= 1) {
gotoAndStop('CF Give Bad');
_root.statsMalon -= int(Math.random() * 10 + 5);
_root.itemBracelet -= 1;
}
}
}
button 3458 {
on (release) {
if (_root.itemFairy >= 1) {
gotoAndStop('CF Give Good');
_root.statsMalon += int(Math.random() * 10 + 5);
_root.itemFairy -= 1;
}
}
}
button 3459 {
on (release) {
if (_root.itemOcarina >= 1) {
gotoAndStop('CF Give Good');
_root.statsMalon += int(Math.random() * 10 + 5);
_root.itemOcarina -= 1;
}
}
}
button 3460 {
on (release) {
if (_root.itemStick >= 1) {
gotoAndStop('CF Give Good');
_root.statsMalon += int(Math.random() * 10 + 5);
_root.itemStick -= 1;
}
}
}
button 3461 {
on (release) {
if (_root.itemFlower >= 1) {
gotoAndStop('CF Give Bad');
_root.statsMalon -= int(Math.random() * 10 + 5);
_root.itemFlower -= 1;
}
}
}
button 3468 {
on (release) {
if (_root.itemCoke >= 1) {
gotoAndStop('CF Give Good');
_root.statsMalon += int(Math.random() * 10 + 5);
_root.itemCoke -= 1;
}
}
}
button 3469 {
on (release) {
if (_root.itemFireOrb >= 1) {
gotoAndStop('CF Give Bad');
_root.statsMalon -= int(Math.random() * 10 + 5);
_root.itemFireOrb -= 1;
}
}
}
button 3470 {
on (release) {
if (_root.itemWaterOrb >= 1) {
gotoAndStop('CF Give Bad');
_root.statsMalon -= int(Math.random() * 10 + 5);
_root.itemWaterOrb -= 1;
}
}
}
button 3471 {
on (release) {
if (_root.itemWeed >= 1) {
gotoAndStop('CF Give Good');
_root.statsMalon += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 3475 {
on (release) {
gotoAndStop('Close Friend');
}
}
button 3477 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
gotoAndStop('GF Talk');
_root.statsMalon = _root.statsMalon + int(Math.random() * 15) + _root.charm / 4;
}
}
}
button 3478 {
on (release) {
gotoAndStop('GF Kiss');
kiss.enabled = false;
}
}
button 3479 {
on (release) {
gotoAndStop(1);
talk.enabled = true;
kiss.enabled = true;
sex.enabled = true;
}
}
button 3480 {
on (release) {
sex.enabled = false;
if (_root.statsMalon < 2500) {
gotoAndStop('No Sex');
} else {
if (_root.energyLeft < 10) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 10;
gotoAndPlay('Sex');
_root.statsMalon += _root.charm;
if (_root.sexPic <= 5) {
sexyPic.gotoAndStop(3);
} else {
if (_root.sexPic > 5) {
sexyPic.gotoAndStop(2);
}
}
}
}
}
}
button 3484 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
gotoAndStop('GF Talk 2');
_root.statsMalon = _root.statsMalon + int(Math.random() * 15) + _root.charm / 4;
}
}
}
button 3486 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
gotoAndStop('GF Talk 3');
_root.statsMalon = _root.statsMalon + int(Math.random() * 15) + _root.charm / 4;
talk.enabled = false;
}
}
}
button 3490 {
on (release) {
if (_root.energyLeft < 30) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 30;
_root.statsMalon = _root.statsMalon + int(Math.random * 20) + _root.charm * 2;
gotoAndPlay('Make Out');
}
}
}
button 3491 {
on (release) {
gotoAndStop('Girlfriend');
}
}
button 3493 {
on (release) {
gotoAndStop('O_O');
}
}
button 3494 {
on (release) {
if (_root.energyLeft < 40) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 40;
gotoAndPlay('Sex Yes');
_root.statsMalon += _root.charm * 3;
}
}
}
button 3495 {
on (release) {
gotoAndStop('Naa');
}
}
button 3496 {
on (release) {
gotoAndStop('Err');
}
}
button 3499 {
on (release) {
gotoAndStop('Naa 2');
}
}
button 3500 {
on (release) {
gotoAndStop('Noo');
}
}
button 3502 {
on (release) {
if (_root.energyLeft < 40) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 40;
gotoAndPlay('Sex Yes');
_root.statsMalon += _root.charm * 3;
}
}
}
button 3503 {
on (release) {
gotoAndPlay(1);
}
}
movieClip 3508 {
instance of movieClip 1154 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(19);
}
}
}
}
}
movieClip 3509 {
frame 380 {
_parent.gotoAndStop('Aftermath Sex');
}
}
button 3510 {
on (release) {
gotoAndStop(1);
}
}
movieClip 3514 {
frame 1 {
stop();
}
}
movieClip 3517 {
frame 1 {
stop();
var malonSexPic;
onEnterFrame = function () {
malonSexPic = int(Math.random() * 18) + 1;
};
}
frame 321 {
gotoAndStop('Aftermath Makeout');
}
frame 349 {
stop();
}
frame 415 {
stop();
}
instance afterSex of movieClip 3514 {
onClipEvent (enterFrame) {
if (malonSexPic <= 9) {
this.gotoAndStop(2);
}
if (malonSexPic >= 10) {
this.gotoAndStop(3);
}
}
}
}
frame 879 {
stop();
player._x = 276.9;
player._y = 322.1;
}
movieClip 3519 {
}
instance dinInHouse of movieClip 519 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
if (_root.levelDin == 'Stranger') {
_root.dinConvo.gotoAndStop('Stranger');
} else {
if (_root.levelDin == 'New Friend') {
_root.dinConvo.gotoAndStop('New Friend');
} else {
if (_root.levelDin == 'Close Friend') {
_root.dinConvo.gotoAndStop('Close Friend');
} else {
if (_root.levelDin == 'Girlfriend') {
_root.dinConvo.gotoAndStop('Girlfriend');
}
}
}
}
}
}
}
}
movieClip 3522 {
}
instance redPot of movieClip 3522 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.otherWords.gotoAndStop('dinPot');
}
}
}
}
instance dinWater of movieClip 1196 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.otherWords.gotoAndStop('dinWater');
}
}
}
}
movieClip 3529 {
frame 1 {
stop();
}
}
button 3530 {
on (release) {
gotoAndStop(1);
}
}
button 3534 {
on (release) {
gotoAndStop(1);
talk.enabled = true;
wierd.enabled = true;
}
}
button 3535 {
on (release) {
if (_root.energyLeft < 20) {
gotoAndStop('Tired');
} else {
gotoAndStop('NF Talk');
_root.energyLeft -= 20;
_root.statsSaria -= 20;
talk.enabled = false;
}
}
}
button 3536 {
on (release) {
gotoAndStop('NF Wierd');
}
}
button 3541 {
on (release) {
gotoAndStop('CF Give');
give.enabled = false;
}
}
button 3542 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
_root.statsDin = _root.statsDin + int(Math.random() * 20) + 10 + _root.charm / 2;
gotoAndStop('CF Talk');
}
}
}
button 3543 {
on (release) {
talk.enabled = true;
give.enabled = true;
gotoAndStop(1);
}
}
button 3545 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
_root.statsDin = _root.statsDin + int(Math.random() * 20) + 10 + _root.charm / 2;
gotoAndStop('CF Talk 2');
}
}
}
button 3547 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
_root.statsDin = _root.statsDin + int(Math.random() * 20) + 10 + _root.charm / 2;
gotoAndStop('CF Talk 3');
talk.enabled = false;
}
}
}
button 3552 {
on (release) {
gotoAndStop('Close Friend');
}
}
button 3553 {
on (release) {
if (_root.itemBracelet >= 1) {
gotoAndStop('CF Give Good');
_root.statsDin += int(Math.random() * 10 + 5);
_root.itemBracelet -= 1;
}
}
}
button 3554 {
on (release) {
if (_root.itemFairy >= 1) {
gotoAndStop('CF Give Bad');
_root.statsDin -= int(Math.random() * 10 + 5);
_root.itemFairy -= 1;
}
}
}
button 3555 {
on (release) {
if (_root.itemOcarina >= 1) {
gotoAndStop('CF Give Bad');
_root.statsDin -= int(Math.random() * 10 + 5);
_root.itemOcarina -= 1;
}
}
}
button 3556 {
on (release) {
if (_root.itemStick >= 1) {
gotoAndStop('CF Give Bad');
_root.statsDin -= int(Math.random() * 10 + 5);
_root.itemStick -= 1;
}
}
}
button 3557 {
on (release) {
if (_root.itemFlower >= 1) {
gotoAndStop('CF Give Good');
_root.statsDin += int(Math.random() * 10 + 5);
_root.itemFlower -= 1;
}
}
}
button 3564 {
on (release) {
if (_root.itemCoke >= 1) {
gotoAndStop('CF Give Bad');
_root.statsDin -= int(Math.random() * 10 + 5);
_root.itemCoke -= 1;
}
}
}
button 3565 {
on (release) {
if (_root.itemFireOrb >= 1) {
gotoAndStop('CF Give Good');
_root.statsDin += int(Math.random() * 10 + 5);
_root.itemFireOrb -= 1;
}
}
}
button 3566 {
on (release) {
if (_root.itemWaterOrn >= 1) {
gotoAndStop('CF Give Bad');
_root.statsDin -= int(Math.random() * 10 + 5);
_root.itemWaterOrb -= 1;
}
}
}
button 3567 {
on (release) {
if (_root.itemWeed >= 1) {
gotoAndStop('CF Give Good');
_root.statsDin += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 3572 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
gotoAndStop('GF Talk');
_root.statsDin = _root.statsDin + int(Math.random() * 15) + _root.charm / 4;
}
}
}
button 3573 {
on (release) {
gotoAndStop('GF Kiss');
kiss.enabled = false;
}
}
button 3574 {
on (release) {
gotoAndStop(1);
talk.enabled = true;
kiss.enabled = true;
sex.enabled = true;
}
}
button 3575 {
on (release) {
sex.enabled = false;
if (_root.statsDin < 2500) {
gotoAndStop('No Sex');
} else {
if (_root.energyLeft < 10) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 10;
gotoAndPlay('Sex');
_root.statsDin += _root.charm;
if (_root.sexPic <= 5) {
sexyPic.gotoAndStop(3);
} else {
if (_root.sexPic > 5) {
sexyPic.gotoAndStop(2);
}
}
}
}
}
}
button 3579 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
gotoAndStop('GF Talk 2');
_root.statsDin = _root.statsDin + int(Math.random() * 15) + _root.charm / 4;
}
}
}
button 3581 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
gotoAndStop('GF Talk 3');
_root.statsDin = _root.statsDin + int(Math.random() * 15) + _root.charm / 4;
talk.enabled = false;
}
}
}
button 3585 {
on (release) {
if (_root.energyLeft < 30) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 30;
_root.statsDin = _root.statsDin + int(Math.random * 20) + _root.charm * 2;
gotoAndPlay('Make Out');
}
}
}
button 3586 {
on (release) {
gotoAndStop('Girlfriend');
}
}
button 3588 {
on (release) {
gotoAndStop('O_O');
}
}
button 3589 {
on (release) {
if (_root.energyLeft < 40) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 40;
gotoAndPlay('Sex Yes');
_root.statsDin += _root.charm * 3;
}
}
}
button 3590 {
on (release) {
gotoAndStop('Naa');
}
}
button 3591 {
on (release) {
gotoAndStop('Err');
}
}
button 3594 {
on (release) {
gotoAndStop('Naa 2');
}
}
button 3595 {
on (release) {
gotoAndStop('Noo');
}
}
button 3597 {
on (release) {
if (_root.energyLeft < 40) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 40;
gotoAndPlay('Sex Yes');
_root.statsDin += _root.charm * 3;
}
}
}
button 3598 {
on (release) {
gotoAndPlay(1);
}
}
movieClip 3602 {
instance doorNayru of movieClip 1146 {
}
instance doorDin of movieClip 1148 {
}
instance of movieClip 1150 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(17);
}
}
}
}
instance of movieClip 1151 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(16);
}
}
}
}
instance of movieClip 470 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.signsWords.gotoAndStop(14);
}
}
}
}
}
movieClip 3603 {
frame 380 {
_parent.gotoAndStop('Aftermath Sex');
}
}
button 3604 {
on (release) {
gotoAndStop(1);
}
}
movieClip 3609 {
frame 1 {
stop();
}
frame 321 {
gotoAndStop('Aftermath Makeout');
}
frame 349 {
stop();
}
frame 415 {
stop();
}
}
frame 883 {
stop();
player._x = 280.4;
player._y = 319.3;
}
movieClip 3611 {
}
instance nayruInHouse of movieClip 525 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
if (_root.levelNayru == 'Stranger') {
_root.nayruConvo.gotoAndStop('Stranger');
} else {
if (_root.levelNayru == 'New Friend') {
_root.nayruConvo.gotoAndStop('New Friend');
} else {
if (_root.levelNayru == 'Close Friend') {
_root.nayruConvo.gotoAndStop('Close Friend');
} else {
if (_root.levelNayru == 'Girlfriend') {
_root.nayruConvo.gotoAndStop('Girlfriend');
}
}
}
}
}
}
}
}
movieClip 3614 {
}
instance bluePot of movieClip 3614 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.otherWords.gotoAndStop('nayruPot');
}
}
}
}
movieClip 3616 {
}
instance nayruFlippers of movieClip 3616 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.otherWords.gotoAndStop('nayruFlippers');
}
}
}
}
movieClip 3623 {
frame 1 {
stop();
}
}
button 3624 {
on (release) {
gotoAndStop(1);
}
}
button 3628 {
on (release) {
gotoAndStop(1);
talk.enabled = true;
wierd.enabled = true;
}
}
button 3629 {
on (release) {
if (_root.energyLeft < 20) {
gotoAndStop('Tired');
} else {
gotoAndStop('NF Talk');
_root.energyLeft -= 20;
_root.statsNayru -= 20;
talk.enabled = false;
}
}
}
button 3630 {
on (release) {
gotoAndStop('NF Wierd');
}
}
button 3635 {
on (release) {
gotoAndStop('CF Give');
give.enabled = false;
}
}
button 3636 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
_root.statsNayru = _root.statsNayru + int(Math.random() * 20) + 10 + _root.charm / 2;
gotoAndStop('CF Talk');
}
}
}
button 3637 {
on (release) {
talk.enabled = true;
give.enabled = true;
gotoAndStop(1);
}
}
button 3639 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
_root.statsNayru = _root.statsNayru + int(Math.random() * 20) + 10 + _root.charm / 2;
gotoAndStop('CF Talk 2');
}
}
}
button 3641 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
_root.statsNayru = _root.statsNayru + int(Math.random() * 20) + 10 + _root.charm / 2;
gotoAndStop('CF Talk 3');
talk.enabled = false;
}
}
}
button 3645 {
on (release) {
gotoAndStop('Close Friend');
}
}
button 3646 {
on (release) {
if (_root.itemBracelet >= 1) {
gotoAndStop('CF Give Good');
_root.statsNayru += int(Math.random() * 10 + 5);
_root.itemBracelet -= 1;
}
}
}
button 3647 {
on (release) {
if (_root.itemFairy >= 1) {
gotoAndStop('CF Give Good');
_root.statsNayru += int(Math.random() * 10 + 5);
_root.itemFairy -= 1;
}
}
}
button 3648 {
on (release) {
if (_root.itemOcarina >= 1) {
gotoAndStop('CF Give Bad');
_root.statsNayru -= int(Math.random() * 10 + 5);
_root.itemOcarina -= 1;
}
}
}
button 3649 {
on (release) {
if (_root.itemStick >= 1) {
gotoAndStop('CF Give Bad');
_root.statsNayru -= int(Math.random() * 10 + 5);
_root.itemStick -= 1;
}
}
}
button 3650 {
on (release) {
if (_root.itemFlower >= 1) {
gotoAndStop('CF Give Bad');
_root.statsNayru -= int(Math.random() * 10 + 5);
_root.itemFlower -= 1;
}
}
}
button 3657 {
on (release) {
if (_root.itemCoke >= 1) {
gotoAndStop('CF Give Bad');
_root.statsNayru -= int(Math.random() * 10 + 5);
_root.itemCoke -= 1;
}
}
}
button 3658 {
on (release) {
if (_root.itemFireOrb >= 1) {
gotoAndStop('CF Give Bad');
_root.statsNayru -= int(Math.random() * 10 + 5);
_root.itemFireOrb -= 1;
}
}
}
button 3659 {
on (release) {
if (_root.itemWaterOrb >= 1) {
gotoAndStop('CF Give Good');
_root.statsNayru += int(Math.random() * 10 + 5);
_root.itemWaterOrb -= 1;
}
}
}
button 3660 {
on (release) {
if (_root.itemWeed >= 1) {
gotoAndStop('CF Give Good');
_root.statsNayru += int(Math.random() * 10 + 5);
_root.itemWeed -= 1;
}
}
}
button 3665 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
gotoAndStop('GF Talk');
_root.statsNayru = _root.statsNayru + int(Math.random() * 15) + _root.charm / 4;
}
}
}
button 3666 {
on (release) {
gotoAndStop('GF Kiss');
kiss.enabled = false;
}
}
button 3667 {
on (release) {
gotoAndStop(1);
talk.enabled = true;
kiss.enabled = true;
sex.enabled = true;
}
}
button 3668 {
on (release) {
sex.enabled = false;
if (_root.statsNayru < 2500) {
gotoAndStop('No Sex');
} else {
if (_root.energyLeft < 10) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 10;
gotoAndPlay('Sex');
_root.statsNayru += _root.charm;
if (_root.sexPic <= 5) {
sexyPic.gotoAndStop(3);
} else {
if (_root.sexPic > 5) {
sexyPic.gotoAndStop(2);
}
}
}
}
}
}
button 3672 {
on (release) {
if (_root.energyNayru < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
gotoAndStop('GF Talk 2');
_root.statsNayru = _root.statsNayru + int(Math.random() * 15) + _root.charm / 4;
}
}
}
button 3673 {
on (release) {
sex.enabled = false;
if (_root.statsNayru < 2500) {
gotoAndStop('No Sex');
} else {
if (_root.energyNayru < 10) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 10;
gotoAndPlay('Sex');
_root.statsNayru += _root.charm;
if (_root.sexPic <= 5) {
sexyPic.gotoAndStop(3);
} else {
if (_root.sexPic > 5) {
sexyPic.gotoAndStop(2);
}
}
}
}
}
}
button 3675 {
on (release) {
if (_root.energyLeft < 25) {
gotoAndStop('Tired');
} else {
_root.energyLeft -= 25;
gotoAndStop('GF Talk 3');
_root.statsNayru = _root.statsNayru + int(Math.random() * 15) + _root.charm / 4;
talk.enabled = false;
}
}
}
button 3679 {
on (release) {
if (_root.energyLeft < 30) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 30;
_root.statsNayru = _root.statsNayru + int(Math.random * 20) + _root.charm * 2;
gotoAndPlay('Make Out');
}
}
}
button 3680 {
on (release) {
gotoAndStop('Girlfriend');
}
}
button 3681 {
on (release) {
gotoAndStop('O_O');
}
}
button 3682 {
on (release) {
if (_root.energyLeft < 40) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 40;
gotoAndPlay('Sex Yes');
_root.statsNayru += _root.charm * 3;
}
}
}
button 3683 {
on (release) {
gotoAndStop('Naa');
}
}
button 3684 {
on (release) {
gotoAndStop('Err');
}
}
button 3687 {
on (release) {
gotoAndStop('Naa 2');
}
}
button 3688 {
on (release) {
gotoAndStop('Noo');
}
}
button 3689 {
on (release) {
if (_root.energyLeft < 40) {
gotoAndStop('GF Tired');
} else {
_root.energyLeft -= 40;
gotoAndPlay('Sex Yes');
_root.statsNayru += _root.charm * 3;
}
}
}
button 3690 {
on (release) {
gotoAndPlay(1);
}
}
button 3693 {
on (release) {
gotoAndStop(1);
}
}
movieClip 3697 {
frame 1 {
stop();
}
frame 321 {
gotoAndStop('Aftermath Makeout');
}
frame 349 {
stop();
}
frame 415 {
stop();
}
}
frame 888 {
stop();
}
movieClip 3699 {
}
movieClip 3702 {
}
movieClip 3705 {
}
movieClip 3710 {
}
instance frog of movieClip 3710 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (Key.isDown(32)) {
_root.peopleWords.gotoAndStop('frog');
}
}
}
}
movieClip 3714 {
frame 28 {
gotoAndPlay(1);
}
frame 47 {
gotoAndPlay(1);
}
}
movieClip 3715 {
}
movieClip 3718 {
frame 1 {
stop();
}
}
movieClip 3719 {
instance hand of movieClip 3718 {
onClipEvent (enterFrame) {
if (_root.arrows.hitTest(_x, _y, true)) {
this.gotoAndPlay(2);
}
}
}
}
movieClip 3720 {
}
movieClip 3722 {
}
movieClip 3723 {
}
movieClip 3725 {
}
movieClip 3726 {
}
instance otherWords of movieClip 1056 {
onClipEvent (enterFrame) {
if (this._currentframe >= 2) {
_root.peopleWords._visible = false;
_root.zeldaWords._visible = false;
_root.sariaWords._visible = false;
_root.malonWords._visible = false;
_root.dinWords._visible = false;
_root.nayruWords._visible = false;
}
if (this._currentframe == 1) {
_root.peopleWords._visible = true;
_root.zeldaWords._visible = true;
_root.sariaWords._visible = true;
_root.malonWords._visible = true;
_root.dinWords._visible = true;
_root.nayruWords._visible = true;
}
}
}
movieClip 3736 {
}
button 3737 {
on (release) {
gotoAndStop(1);
_root.gotoAndStop('Shooting end');
_root.rupeeGot += _root.shootingRevenue;
_root.arrowsLeft = 0;
_root.score = 0;
}
}
movieClip 3738 {
frame 1 {
stop();
}
}
movieClip 3740 {
}
movieClip 3744 {
frame 1 {
stop();
}
instance of movieClip 3740 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.handRow.hand1)) {
_root.handRow.hand1.gotoAndPlay(2);
}
if (this.hitTest(_root.handRow.hand2)) {
_root.handRow.hand2.gotoAndPlay(2);
}
if (this.hitTest(_root.handRow.hand3)) {
_root.handRow.hand3.gotoAndPlay(2);
}
if (this.hitTest(_root.handRow.hand4)) {
_root.handRow.hand4.gotoAndPlay(2);
}
if (this.hitTest(_root.handRow.hand5)) {
_root.handRow.hand5.gotoAndPlay(2);
}
if (this.hitTest(_root.handRow.hand6)) {
_root.handRow.hand6.gotoAndPlay(2);
}
if (this.hitTest(_root.handRow.hand7)) {
_root.handRow.hand7.gotoAndPlay(2);
}
if (this.hitTest(_root.handRow.hand8)) {
_root.handRow.hand8.gotoAndPlay(2);
}
if (this.hitTest(_root.handRow.hand9)) {
_root.handRow.hand9.gotoAndPlay(2);
}
if (this.hitTest(_root.handRow.hand0)) {
_root.handRow.hand0.gotoAndPlay(2);
}
if (this.hitTest(_root.ballRow.ball)) {
_root.ballRow.ball.gotoAndPlay('hit');
_root.score += 1;
}
if (this.hitTest(_root.ballRow.ball1)) {
_root.ballRow.ball1.gotoAndPlay('hit');
_root.score += 1;
}
if (this.hitTest(_root.ballRow.ball2)) {
_root.ballRow.ball2.gotoAndPlay('hit');
_root.score += 1;
}
if (this.hitTest(_root.ballRow.ball3)) {
_root.ballRow.ball3.gotoAndPlay('hit');
_root.score += 1;
}
if (this.hitTest(_root.ballRow.ball4)) {
_root.ballRow.ball4.gotoAndPlay('hit');
_root.score += 1;
}
if (this.hitTest(_root.ballRow.ball5)) {
_root.ballRow.ball5.gotoAndPlay('hit');
_root.score += 1;
}
if (this.hitTest(_root.ballRow.ball6)) {
_root.ballRow.ball6.gotoAndPlay('hit');
_root.score += 1;
}
if (this.hitTest(_root.ballRow.ball7)) {
_root.ballRow.ball7.gotoAndPlay('hit');
_root.score += 1;
}
}
}
}
instance arrows of movieClip 3744 {
onClipEvent (load) {
if (_root.arrows == true) {
speed = 21;
_x = _root.link._x;
_y = _root.link._y;
}
}
onClipEvent (enterFrame) {
_root.arrows = true;
if (name == 'arrows') {
_x = -1000;
} else {
_y = _y - speed * 0.9998476951563913;
_x = _x + speed * 0.01745240643728351;
}
if (this.hitTest(_root.topWall)) {
this.gotoAndPlay(2);
speed = 0;
}
if (this._currentframe == 2) {
this.removeMovieClip();
}
if (_root.ballBoxes.hitTest(_x, _y, true)) {
this.removeMovieClip();
speed = 0;
}
if (_root.handBox.hitTest(_x, _y, true)) {
this.removeMovieClip();
speed = 0;
}
}
}
frame 908 {
player._x = 266.4;
player._y = 271.3;
score = 0;
}
frame 921 {
var ac = 1000;
_root.onMouseDown = function () {
link.gotoAndPlay(2);
arrowHold.gotoAndStop(arrowHold._currentframe + 1);
++ac;
if (ac > 11000) {
ac = 1000;
}
duplicateMovieClip('arrows', 'a' + ac, ac);
};
}
movieClip 3752 {
frame 1 {
stop();
}
frame 6 {
_root.shootingStatsBall.gotoAndStop(2);
_root.gotoAndStop('Shooting Stats');
}
}
movieClip 3758 {
frame 1 {
stop();
}
}
instance link of movieClip 3758 {
onClipEvent (enterFrame) {
this._x = _level0._xmouse;
this._y = _level0._ymouse;
if (this._y < 257) {
this._y = 257;
}
if (this.y > 298) {
this._y = 298;
}
if (this._x < 128) {
this._x = 128;
}
if (this._x > 400) {
this._x = 400;
}
}
}
movieClip 3761 {
}
frame 1019 {
gotoAndStop('startMove');
energyLeft = 100;
}
frame 1086 {
gotoAndStop('linkHouse2');
player._x = 180.7;
player._y = 138;
energyLeft = 100;
}
frame 1098 {
stop();
}
instance bum of movieClip 527 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.peopleWords.gotoAndStop('drunk');
}
}
}
instance drinking2 of movieClip 529 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.peopleWords.gotoAndStop('oldMan');
}
}
}
instance drinking1 of movieClip 1139 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
_root.peopleWords.gotoAndStop('salesmanBar');
}
}
}
instance sariaBar of movieClip 521 {
onClipEvent (load) {
numberStranger = Math.round(Math.random() * 1);
numberNewFriend = Math.round(Math.random() * 1);
numberCloseFriend = Math.round(Math.random() * 2);
numberGirlFriend = Math.round(Math.random() * 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
if (_root.currentDay == 13 || _root.currentDay == 14 || _root.currentDay == 41 || _root.currentDay == 42 || _root.currentDay == 69 || _root.currentDay == 70) {
_root.sariaWords.gotoAndStop('sariaPeriod');
}
if (_root.levelSaria == 'Purgatory') {
_root.sariaWords.gotoAndStop('sariaPurg');
}
if (_root.levelSaria == 'Stranger') {
if (numberStranger == 0) {
_root.sariaWords.gotoAndStop('sariaStranger');
}
if (numberStranger == 1) {
_root.sariaWords.gotoAndStop('sariaStranger2');
}
}
if (_root.levelSaria == 'New Friend') {
if (numberNewFriend == 0) {
_root.sariaWords.gotoAndStop('sariaNew');
}
if (numberNewFriend == 1) {
_root.sariaWords.gotoAndStop('sariaNew2');
}
}
if (_root.levelSaria == 'Close Friend') {
if (numberCloseFriend == 0) {
_root.sariaWords.gotoAndStop('sariaClose');
}
if (numberCloseFriend == 1) {
_root.sariaWords.gotoAndStop('sariaClose2');
}
if (numberCloseFriend == 2) {
_root.sariaWords.gotoAndStop('sariaClose3');
}
}
if (_root.levelSaria == 'Girlfriend') {
if (numberGirlfriend == 0) {
_root.sariaWords.gotoAndStop('sariaGf');
}
if (numberGirlfriend == 1) {
_root.sariaWords.gotoAndStop('sariaGf2');
}
}
}
}
}
instance nayruBar of movieClip 525 {
onClipEvent (load) {
numberStranger = Math.round(Math.random() * 1);
numberNewFriend = Math.round(Math.random() * 1);
numberCloseFriend = Math.round(Math.random() * 2);
numberGirlFriend = Math.round(Math.random() * 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
if (_root.currentDay == 8 || _root.currentDay == 9 || _root.currentDay == 36 || _root.currentDay == 37 || _root.currentDay == 64 || _root.currentDay == 65) {
_root.nayruWords.gotoAndStop('nayruPeriod');
}
if (_root.levelNayru == 'Purgatory') {
_root.nayruWords.gotoAndStop('nayruPurg');
}
if (_root.levelNayru == 'Stranger') {
if (numberStranger == 0) {
_root.nayruWords.gotoAndStop('nayruStranger');
}
if (numberStranger == 1) {
_root.nayruWords.gotoAndStop('nayruStranger2');
}
}
if (_root.levelNayru == 'New Friend') {
if (numberNewFriend == 0) {
_root.nayruWords.gotoAndStop('nayruNew');
}
if (numberNewFriend == 1) {
_root.nayruWords.gotoAndStop('nayruNew2');
}
}
if (_root.levelNayru == 'Close Friend') {
if (numberCloseFriend == 0) {
_root.nayruWords.gotoAndStop('nayruClose');
}
if (numberCloseFriend == 1) {
_root.nayruWords.gotoAndStop('nayruClose2');
}
if (numberCloseFriend == 2) {
_root.nayruWords.gotoAndStop('nayruClose3');
}
}
if (_root.levelNayru == 'Girlfriend') {
if (numberGirlfriend == 0) {
_root.nayruWords.gotoAndStop('nayruGf');
}
if (numberGirlfriend == 1) {
_root.nayruWords.gotoAndStop('nayruGf2');
}
}
}
}
}
instance malonBar of movieClip 523 {
onClipEvent (load) {
numberStranger = Math.round(Math.random() * 1);
numberNewFriend = Math.round(Math.random() * 1);
numberCloseFriend = Math.round(Math.random() * 2);
numberGirlFriend = Math.round(Math.random() * 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
if (_root.levelMalon == 'Purgatory') {
_root.malonWords.gotoAndStop('malonPurg');
}
if (_root.levelMalon == 'Stranger') {
if (numberStranger == 0) {
_root.malonWords.gotoAndStop('malonStranger');
}
if (numberStranger == 1) {
_root.malonWords.gotoAndStop('malonStranger2');
}
}
if (_root.levelMalon == 'New Friend') {
if (numberNewFriend == 0) {
_root.malonWords.gotoAndStop('malonNew');
}
if (numberNewFriend == 1) {
_root.malonWords.gotoAndStop('malonNew2');
}
}
if (_root.levelMalon == 'Close Friend') {
if (numberCloseFriend == 0) {
_root.malonWords.gotoAndStop('malonClose');
}
if (numberCloseFriend == 1) {
_root.malonWords.gotoAndStop('malonClose2');
}
if (numberCloseFriend == 2) {
_root.malonWords.gotoAndStop('malonClose3');
}
}
if (_root.levelMalon == 'Girlfriend') {
if (numberGirlfriend == 0) {
_root.malonWords.gotoAndStop('malonGf');
}
if (numberGirlfriend == 1) {
_root.malonWords.gotoAndStop('malonGf2');
}
}
}
}
}
instance dinBar of movieClip 519 {
onClipEvent (load) {
numberStranger = Math.round(Math.random() * 1);
numberNewFriend = int(Math.random() * 1);
numberCloseFriend = Math.round(Math.random() * 2);
numberGirlFriend = Math.round(Math.random() * 1);
trace(numberNewFriend);
trace(numberStranger);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
if (_root.currentDay == 30 || _root.currentDay == 31 || _root.currentDay == 58 || _root.currentDay == 59 || _root.currentDay == 86 || _root.currentDay == 86) {
_root.dinWords.gotoAndStop('dinPeriod');
}
if (_root.levelDin == 'Purgatory') {
_root.dinWords.gotoAndStop('dinPurg');
}
if (_root.levelDin == 'Stranger') {
if (numberStranger == 0) {
_root.dinWords.gotoAndStop('dinStranger');
}
if (numberStranger == 1) {
_root.dinWords.gotoAndStop('dinStranger2');
}
}
if (_root.levelDin == 'New Friend') {
if (numberNewFriend == 0) {
_root.dinWords.gotoAndStop('dinNew');
}
if (numberNewFriend == 1) {
_root.dinWords.gotoAndStop('dinNew2');
}
}
if (_root.levelDin == 'Close Friend') {
if (numberCloseFriend == 0) {
_root.dinWords.gotoAndStop('dinClose');
}
if (numberCloseFriend == 1) {
_root.dinWords.gotoAndStop('dinClose2');
}
if (numberCloseFriend == 2) {
_root.dinWords.gotoAndStop('dinClose3');
}
}
if (_root.levelDin == 'Girlfriend') {
if (numberGirlfriend == 0) {
_root.dinWords.gotoAndStop('dinGf');
}
if (numberGirlfriend == 1) {
_root.dinWords.gotoAndStop('dinGf2');
}
}
}
}
}
instance zeldaBar of movieClip 517 {
onClipEvent (load) {
numberStranger = Math.round(Math.random() * 1);
numberNewFriend = Math.round(Math.random() * 1);
numberCloseFriend = Math.round(Math.random() * 2);
numberGirlFriend = Math.round(Math.random() * 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && Key.isDown(32)) {
if (_root.currentDay == 20 || _root.currentDay == 21 || _root.currentDay == 48 || _root.currentDay == 49 || _root.currentDay == 76 || _root.currentDay == 77) {
_root.zeldaWords.gotoAndStop('zeldaPeriod');
}
if (_root.levelZelda == 'Purgatory') {
_root.zeldaWords.gotoAndStop('zeldaPurg');
}
if (_root.levelZelda == 'Stranger') {
if (numberStranger == 0) {
_root.zeldaWords.gotoAndStop('zeldaStranger');
}
if (numberStranger == 1) {
_root.zeldaWords.gotoAndStop('zeldaStranger2');
}
}
if (_root.levelZelda == 'New Friend') {
if (numberNewFriend == 0) {
_root.zeldaWords.gotoAndStop('zeldaNew');
}
if (numberNewFriend == 1) {
_root.zeldaWords.gotoAndStop('zeldaNew2');
}
}
if (_root.levelZelda == 'Close Friend') {
if (numberCloseFriend == 0) {
_root.zeldaWords.gotoAndStop('zeldaClose');
}
if (numberCloseFriend == 1) {
_root.zeldaWords.gotoAndStop('zeldaClose2');
}
if (numberCloseFriend == 2) {
_root.zeldaWords.gotoAndStop('zeldaClose3');
}
}
if (_root.levelZelda == 'Girlfriend') {
if (numberGirlfriend == 0) {
_root.zeldaWords.gotoAndStop('zeldaGf');
}
if (numberGirlfriend == 1) {
_root.zeldaWords.gotoAndStop('zeldaGf2');
}
}
}
}
}
instance player of movieClip 381 {
onClipEvent (load) {
speed = 5;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.gotoAndStop(8);
if (_root.ground.hitTest(_x + 12, _y - 10, true) == false) {
if (_root.ground.hitTest(_x + 12, _y + 10, true) == false) {
_x = _x + speed;
}
}
}
if (Key.isDown(68)) {
this.gotoAndStop(12);
if (_root.ground.hitTest(_x + 12, _y - 10, true) == false) {
if (_root.ground.hitTest(_x + 12, _y + 10, true) == false) {
_x = _x + speed;
}
}
}
if (Key.isDown(37)) {
this.gotoAndStop(6);
if (_root.ground.hitTest(_x - 12, _y - 10, true) == false) {
if (_root.ground.hitTest(_x - 12, _y + 10, true) == false) {
_x = _x - speed;
}
}
}
if (Key.isDown(65)) {
this.gotoAndStop(10);
if (_root.ground.hitTest(_x - 12, _y - 10, true) == false) {
if (_root.ground.hitTest(_x - 12, _y + 10, true) == false) {
_x = _x - speed;
}
}
}
if (Key.isDown(38)) {
this.gotoAndStop(7);
if (_root.ground.hitTest(_x - 8, _y - 12, true) == false) {
if (_root.ground.hitTest(_x + 8, _y - 12, true) == false) {
_y = _y - speed;
}
}
}
if (Key.isDown(87)) {
this.gotoAndStop(11);
if (_root.ground.hitTest(_x - 8, _y - 12, true) == false) {
if (_root.ground.hitTest(_x + 8, _y - 12, true) == false) {
_y = _y - speed;
}
}
}
if (Key.isDown(40)) {
this.gotoAndStop(5);
if (_root.ground.hitTest(_x - 8, _y + 12, true) == false) {
if (_root.ground.hitTest(_x + 8, _y + 12, true) == false) {
_y = _y + speed;
}
}
}
if (Key.isDown(83)) {
this.gotoAndStop(9);
if (_root.ground.hitTest(_x - 8, _y + 12, true) == false) {
if (_root.ground.hitTest(_x + 8, _y + 12, true) == false) {
_y = _y + speed;
}
}
}
if (this.hitTest(_root.exitHouse)) {
_root.gotoAndStop('outsideHouse');
this._x = _x + 68;
this._y = _y - 165.3;
}
if (this.hitTest(_root.doorExit)) {
_root.gotoAndStop('startMove');
this._x = 254.2;
this._y = 274.4;
}
if (this.hitTest(_root.exitLinkArea)) {
_root.gotoAndStop('village');
_y = _y;
_x = _x + 531.7000000000001;
}
if (this.hitTest(_root.exitLinkArea2)) {
_root.gotoAndStop('Arena');
_y = _y - 374.3;
_x = _x;
}
if (this.hitTest(_root.exitAreaVillage1a)) {
_root.gotoAndStop('outsideHouse');
_y = _y;
_x = _x - 531.7000000000001;
}
if (this.hitTest(_root.exitAreaVillage1b)) {
_root.gotoAndStop('village2');
_y = _y - 400.1;
_x = _x;
}
if (this.hitTest(_root.exitAreaVillage2)) {
_root.gotoAndStop('village');
_y = _y + 400.1;
_x = _x;
}
if (this.hitTest(_root.exitAreaVillage2b)) {
_root.gotoAndStop('Arena');
_y = _y;
_x = _x - 531.7000000000001;
}
if (this.hitTest(_root.exitArena)) {
_root.gotoAndStop('outsideHouse');
_y = _y + 374.3;
_x = _x;
}
if (this.hitTest(_root.exitArena2)) {
_root.gotoAndStop('village2');
_y = _y;
_x = _x + 531.7000000000001;
}
if (this.hitTest(_root.enterBlacksmith)) {
_root.gotoAndStop('blacksmith');
this._x = 276.9;
this._y = 295.3;
}
if (this.hitTest(_root.exitBlacksmith)) {
_root.gotoAndStop('village');
this._x = 378.3;
this._y = 270.9;
}
if (this.hitTest(_root.enterLH2)) {
_root.gotoAndStop('linkHouse2');
this._x = 264.4;
this._y = 293.6;
}
if (this.hitTest(_root.exitHouse2)) {
_root.gotoAndStop('village');
this._x = 259.5;
this._y = 264.3;
}
if (this.hitTest(_root.enterLibrary)) {
_root.gotoAndStop('library');
this._x = 264.5;
this._y = 338.6;
}
if (this.hitTest(_root.exitLibrary)) {
_root.gotoAndStop('village');
this._x = 138.2;
this._y = 253.6;
}
if (this.hitTest(_root.enterGym)) {
_root.gotoAndStop('gym');
this._x = 264.7;
this._y = 296.4;
}
if (this.hitTest(_root.exitGym)) {
_root.gotoAndStop('village');
this._x = 380.7;
this._y = 107.1;
}
if (this.hitTest(_root.enterBar)) {
_root.gotoAndStop('bar');
this._x = 271.9;
this._y = 334.5;
}
if (this.hitTest(_root.exitBar)) {
_root.gotoAndStop('village');
this._x = 267.7;
this._y = 107.8;
}
if (this.hitTest(_root.enterShop)) {
_root.gotoAndStop('shop');
this._x = 281.9;
this._y = 294.4;
}
if (this.hitTest(_root.exitShop)) {
_root.gotoAndStop('village');
this._x = 139.8;
this._y = 105.1;
}
if (this.hitTest(_root.enterZelda)) {
_root.gotoAndStop('zeldaHouse');
this._x = 276.2;
this._y = 316.9;
}
if (this.hitTest(_root.exitZelda)) {
_root.gotoAndStop('village2');
this._x = 138.8;
this._y = 199.6;
}
if (this.hitTest(_root.enterSaria)) {
_root.gotoAndStop('sariaHouse');
this._x = 276.4;
this._y = 324.6;
}
if (this.hitTest(_root.exitSaria)) {
_root.gotoAndStop('village2');
this._x = 108.3;
this._y = 329.4;
}
if (this.hitTest(_root.enterMalon)) {
_root.gotoAndStop('malonHouse');
this._x = 275.9;
this._y = 319.7;
}
if (this.hitTest(_root.exitMalon)) {
_root.gotoAndStop('village2');
this._x = 438.3;
this._y = 334.3;
}
if (this.hitTest(_root.enterDin)) {
_root.gotoAndStop('dinHouse');
this._x = 276.9;
this._y = 322.1;
}
if (this.hitTest(_root.exitDin2)) {
_root.gotoAndStop('nayruHouse');
this._x = 142.3;
this._y = 196.3;
}
if (this.hitTest(_root.exitDin)) {
_root.gotoAndStop('village2');
this._x = 378.3;
this._y = 201.1;
}
if (this.hitTest(_root.enterNayru)) {
_root.gotoAndStop('nayruHouse');
this._x = 280.4;
this._y = 319.3;
}
if (this.hitTest(_root.exitNayru)) {
_root.gotoAndStop('village2');
this._x = 442.4;
this._y = 200.8;
}
if (this.hitTest(_root.exitNayru2)) {
_root.gotoAndStop('dinHouse');
this._x = 413.6;
this._y = 196.8;
}
}
}
instance exitBar of movieClip 713 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop('village');
_root.player._x = 267.7;
_root.player._y = 107.8;
}
}
}
instance hp of movieClip 403 {
onClipEvent (load) {
baseX = 425.9;
}
onClipEvent (enterFrame) {
this._width = _root.energyLeft / 0.88;
this._x = baseX + this._width / 2;
}
}
instance otherWords of movieClip 1056 {
onClipEvent (enterFrame) {
if (this._currentframe >= 2) {
_root.peopleWords._visible = false;
_root.zeldaWords._visible = false;
_root.sariaWords._visible = false;
_root.malonWords._visible = false;
_root.dinWords._visible = false;
_root.nayruWords._visible = false;
}
if (this._currentframe == 1) {
_root.peopleWords._visible = true;
_root.zeldaWords._visible = true;
_root.sariaWords._visible = true;
_root.malonWords._visible = true;
_root.dinWords._visible = true;
_root.nayruWords._visible = true;
}
}
}
instance fighting of movieClip 3090 {
onClipEvent (load) {
var hpLink;
if (_root.strength <= 20) {
hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
hpLink = 800;
} else {
if (_root.strength >= 301) {
hpLink = 1500;
}
}
}
}
}
}
}
}
instance fighting200a of movieClip 3105 {
onClipEvent (load) {
var hpLink;
if (_root.strength <= 20) {
hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
hpLink = 800;
} else {
if (_root.strength >= 301) {
hpLink = 1500;
}
}
}
}
}
}
}
}
instance fighting500a of movieClip 3120 {
onClipEvent (load) {
var hpLink;
if (_root.strength <= 20) {
hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
hpLink = 800;
} else {
if (_root.strength >= 301) {
hpLink = 1500;
}
}
}
}
}
}
}
}
instance fighting1000a of movieClip 3135 {
onClipEvent (load) {
var hpLink;
if (_root.strength <= 20) {
hpLink = 20;
} else {
if (_root.strength <= 50 && _root.strength >= 21) {
hpLink = 50;
} else {
if (_root.strength <= 70 && _root.strength >= 51) {
hpLink = 100;
} else {
if (_root.strength <= 150 && _root.strength >= 71) {
hpLink = 300;
} else {
if (_root.strength <= 300 && _root.strength >= 111) {
hpLink = 800;
} else {
if (_root.strength >= 301) {
hpLink = 1500;
}
}
}
}
}
}
}
}
frame 1109 {
stop();
}
frame 1109 {
song1.stop();
song2.stop();
song3.stop();
song4.stop();
song5.stop();
song6.stop();
}
button 3781 {
on (release) {
gotoAndStop('Doom 3');
}
}
button 3784 {
on (release) {
gotoAndStop('Flash');
}
}
button 3787 {
on (release) {
gotoAndStop('My Documents');
}
}
button 3790 {
on (release) {
gotoAndStop('Mozilla');
}
}
button 3793 {
on (release) {
gotoAndPlay('Prey');
}
}
button 3796 {
on (release) {
gotoAndStop('Recycle Bin');
}
}
button 3803 {
on (release) {
gotoAndStop('Main');
}
}
button 3808 {
on (release) {
gotoAndStop('Start1');
}
}
button 3812 {
on (release) {
gotoAndStop('Main');
}
}
button 3817 {
on (release) {
gotoAndStop('Log off');
}
}
button 3822 {
on (release) {
gotoAndStop('Shutdown');
}
}
button 3825 {
on (release) {
gotoAndStop('Doom 3');
}
}
button 3828 {
on (release) {
gotoAndPlay('Prey');
}
}
button 3831 {
on (release) {
gotoAndStop('Mozilla');
}
}
button 3834 {
on (release) {
gotoAndStop('My Documents');
}
}
button 3837 {
on (release) {
gotoAndStop('Flash');
}
}
button 3844 {
on (release) {
gotoAndStop('linkHouse2');
}
}
button 3851 {
on (release) {
gotoAndStop('linkHouse2');
}
}
button 3858 {
on (release) {
gotoAndStop('linkHouse2');
}
}
button 3861 {
on (release) {
gotoAndStop('Main');
}
}
button 3871 {
on (release) {
gotoAndStop('linkHouse2');
}
}
button 3878 {
on (release) {
gotoAndStop('Main');
}
}
button 3883 {
on (release) {
gotoAndStop('More Porn');
}
}
button 3886 {
on (release) {
gotoAndStop('Porn');
}
}
button 3896 {
on (release) {
gotoAndStop('Transform');
}
}
button 3899 {
on (release) {
gotoAndStop('Sprite');
}
}
button 3902 {
on (release) {
gotoAndStop('Ball');
}
}
button 3905 {
on (release) {
gotoAndStop('Stick');
}
}
button 3914 {
on (release) {
gotoAndStop('Flash');
}
}
button 3928 {
on (release) {
_root.gotoAndStop('Newgrounds');
gotoAndStop(1);
}
}
button 3930 {
on (release) {
_root.gotoAndStop('LilDwarf');
gotoAndStop(1);
}
}
button 3932 {
on (release) {
_root.gotoAndStop('Wikipedia');
gotoAndStop(1);
}
}
button 3934 {
on (release) {
_root.gotoAndStop('Yahoo');
gotoAndStop(1);
}
}
button 3936 {
on (release) {
_root.gotoAndStop('Google');
gotoAndStop(1);
}
}
button 3938 {
on (release) {
_root.gotoAndStop('Howardforums');
gotoAndStop(1);
}
}
button 3940 {
on (release) {
_root.gotoAndStop('Newegg');
gotoAndStop(1);
}
}
button 3942 {
on (release) {
_root.gotoAndStop('Cockbomb');
gotoAndStop(1);
}
}
movieClip 3943 {
frame 1 {
stop();
}
}
button 3946 {
on (release) {
_root.sites.gotoAndStop(2);
}
}
movieClip 3950 {
}
movieClip 3952 {
}
instance of movieClip 3952 {
onClipEvent (press) {
_root.ng._y += 15;
if (_root.ng._y > 72.5) {
_root.ng._y = 72.5;
}
}
}
movieClip 3954 {
}
instance of movieClip 3954 {
onClipEvent (press) {
_root.ng._y -= 15;
if (_root.ng._y < -289) {
_root.ng._y = -289;
}
}
}
button 3975 {
on (press) {
_root.gotoAndStop('Collections');
}
}
button 3980 {
on (press) {
_root.gotoAndStop('Audio Portal');
}
}
button 3985 {
on (press) {
_root.gotoAndStop('Flash Portal');
}
}
button 3988 {
on (press) {
_root.gotoAndStop('Newgrounds');
}
}
button 3992 {
on (press) {
_root.gotoAndStop('Perfectus');
}
}
button 3996 {
on (press) {
_root.gotoAndStop('Smash 2');
}
}
movieClip 3997 {
}
movieClip 4003 {
}
instance of movieClip 3952 {
onClipEvent (press) {
_root.smash._y += 15;
if (_root.smash._y > 72.5) {
_root.smash._y = 72.5;
}
}
}
instance of movieClip 3954 {
onClipEvent (press) {
_root.smash._y -= 15;
if (_root.smash._y < -214) {
_root.smash._y = -214;
}
}
}
movieClip 4008 {
}
instance of movieClip 3952 {
onClipEvent (press) {
_root.car._y += 15;
if (_root.car._y > 72.5) {
_root.car._y = 72.5;
}
}
}
instance of movieClip 3954 {
onClipEvent (press) {
_root.car._y -= 15;
if (_root.car._y < -226) {
_root.car._y = -226;
}
}
}
movieClip 4015 {
}
movieClip 4016 {
instance of movieClip 4015 {
onClipEvent (rollOver) {
saySomething = new Sound(sS);
saySomething.attachSound('say_something');
saySomething.start();
}
}
}
instance of movieClip 3952 {
onClipEvent (press) {
_root.portal._y += 15;
if (_root.portal._y > 72.5) {
_root.portal._y = 72.5;
}
}
}
instance of movieClip 3954 {
onClipEvent (press) {
_root.portal._y -= 15;
if (_root.portal._y < -226) {
_root.portal._y = -226;
}
}
}
movieClip 4021 {
}
instance of movieClip 3952 {
onClipEvent (press) {
_root.audio._y += 15;
if (_root.audio._y > 72.5) {
_root.audio._y = 72.5;
}
}
}
instance of movieClip 3954 {
onClipEvent (press) {
_root.audio._y -= 15;
if (_root.audio._y < -213) {
_root.audio._y = -213;
}
}
}
movieClip 4027 {
}
instance of movieClip 3952 {
onClipEvent (press) {
_root.coll._y += 15;
if (_root.coll._y > 72.5) {
_root.coll._y = 72.5;
}
}
}
instance of movieClip 3954 {
onClipEvent (press) {
_root.coll._y -= 15;
if (_root.coll._y < -513) {
_root.coll._y = -513;
}
}
}
movieClip 4032 {
}
instance of movieClip 4032 {
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
}
frame 1446 {
stop();
}
button 4042 {
on (release) {
gotoAndStop('Prey Invalid');
}
}
button 4045 {
on (release) {
gotoAndStop('Main');
Mouse.show();
}
}
button 4048 {
on (release) {
gotoAndStop('Prey Main');
}
}
button 4056 {
on (release) {
gotoAndStop('Doom 3 Invalid');
}
}
button 4059 {
on (release) {
gotoAndStop('Main');
Mouse.show();
}
}
movieClip 4061 {
}
instance of movieClip 4061 {
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
}
button 4064 {
on (release) {
gotoAndStop('Doom 3');
}
}
frame 1504 {
stop();
}
button 4069 {
on (release) {
endsong.stop();
gotoAndPlay(1);
_root.intelligence = 1;
_root.charm = 1;
_root.strength = 1;
_root.dateStats = 0;
_root.kissTimes = 0;
_root.talkTimes = 0;
_root.picTimes = 0;
_root.giveTimes = 0;
_root.touchTimes = 0;
_root.score = 0;
_root.itemWeed = 0;
_root.itemCoke = 0;
_root.itemWaterOrb = 0;
_root.itemFireOrb = 0;
_root.itemBracelet = 0;
_root.itemFairy = 0;
_root.itemOcarina = 0;
_root.itemStick = 0;
_root.itemFlower = 0;
_root.energyLeft = 100;
_root.rupeeGot = 100;
_root.currentDay = 1;
_root.statsNayru = 0;
_root.statsDin = 0;
_root.statsMalon = 0;
_root.statsSaria = 0;
_root.statsZelda = 0;
_root.levelMalon = 'Stranger';
_root.levelNayru = 'Stranger';
_root.levelDin = 'Stranger';
_root.levelSaria = 'Stranger';
_root.levelZelda = 'Stranger';
}
}
movieClip 4071 {
frame 1 {
song1.stop();
song2.stop();
song3.stop();
song4.stop();
song5.stop();
song6.stop();
endsong = new Sound(es);
endsong.attachSound('end song');
endsong.start();
}
frame 31 {
stop();
}
}
button 4072 {
on (release) {
_root.endMC.endsong.stop();
gotoAndPlay(9);
_root.intelligence = 1;
_root.charm = 1;
_root.strength = 1;
_root.dateStats = 0;
_root.kissTimes = 0;
_root.talkTimes = 0;
_root.picTimes = 0;
_root.giveTimes = 0;
_root.touchTimes = 0;
_root.score = 0;
_root.itemWeed = 0;
_root.itemCoke = 0;
_root.itemWaterOrb = 0;
_root.itemFireOrb = 0;
_root.itemBracelet = 0;
_root.itemFairy = 0;
_root.itemOcarina = 0;
_root.itemStick = 0;
_root.itemFlower = 0;
_root.energyLeft = 100;
_root.rupeeGot = 100;
_root.currentDay = 1;
_root.statsNayru = 0;
_root.statsDin = 0;
_root.statsMalon = 0;
_root.statsSaria = 0;
_root.statsZelda = 0;
_root.levelMalon = 'Stranger';
_root.levelNayru = 'Stranger';
_root.levelDin = 'Stranger';
_root.levelSaria = 'Stranger';
_root.levelZelda = 'Stranger';
}
}
button 4082 {
on (release) {
stopAllSounds();
gotoAndStop(9);
_root.intelligence = 1;
_root.charm = 1;
_root.strength = 1;
_root.dateStats = 0;
_root.kissTimes = 0;
_root.talkTimes = 0;
_root.picTimes = 0;
_root.giveTimes = 0;
_root.touchTimes = 0;
_root.score = 0;
_root.itemWeed = 0;
_root.itemCoke = 0;
_root.itemWaterOrb = 0;
_root.itemFireOrb = 0;
_root.itemBracelet = 0;
_root.itemFairy = 0;
_root.itemOcarina = 0;
_root.itemStick = 0;
_root.itemFlower = 0;
_root.energyLeft = 100;
_root.rupeeGot = 100;
_root.currentDay = 1;
_root.statsNayru = 0;
_root.statsDin = 0;
_root.statsMalon = 0;
_root.statsSaria = 0;
_root.statsZelda = 0;
_root.levelMalon = 'Stranger';
_root.levelNayru = 'Stranger';
_root.levelDin = 'Stranger';
_root.levelSaria = 'Stranger';
_root.levelZelda = 'Stranger';
}
}
movieClip 4091 {
}
movieClip 4099 {
}
movieClip 4129 {
}
movieClip 4130 {
frame 1 {
stopAllSounds();
}
instance of movieClip 380 {
onClipEvent (enterFrame) {
if (!Key.isDown(39)) {
_root.player.gotoAndStop(4);
}
}
}
frame 3226 {
stopAllSounds();
}
frame 3229 {
endSong = new Sound(eS);
endSong.attachSound('End Song');
endSong.start(0, 50);
}
frame 3337 {
stop();
}
}