Frame 1
_root.buttonCharSasuke.onPress = function (x) {
_root.dataCharSasuke.gotoAndStop(2);
_global.charUpObj = mySasuke;
showCharInfo();
};
_root.buttonCharLee.onPress = function (x) {
_root.dataCharLee.gotoAndStop(2);
_global.charUpObj = myLee;
showCharInfo();
};
_root.buttonCharNaruto.onPress = function (x) {
_root.dataCharNaruto.gotoAndStop(2);
_global.charUpObj = myNaruto;
showCharInfo();
};
_root.buttonItemBandages.onPress = function (x) {
_root.dataItemBandages.gotoAndStop(2);
showItemInfo();
};
_root.buttonItemComecome.onPress = function (x) {
_root.dataItemComecome.gotoAndStop(2);
showItemInfo();
};
_root.buttonItemHat.onPress = function (x) {
_root.dataItemHat.gotoAndStop(2);
showItemInfo();
};
_root.buttonItemJumpsuit.onPress = function (x) {
_root.dataItemJumpsuit.gotoAndStop(2);
showItemInfo();
};
_root.buttonItemKunaiPouch.onPress = function (x) {
_root.dataItemKunaiPouch.gotoAndStop(2);
showItemInfo();
};
_root.buttonItemLotus.onPress = function (x) {
_root.dataItemLotus.gotoAndStop(2);
showItemInfo();
};
_root.buttonItemRamen.onPress = function (x) {
_root.dataItemRamen.gotoAndStop(2);
showItemInfo();
};
_root.buttonItemSake.onPress = function (x) {
_root.dataItemSake.gotoAndStop(2);
showItemInfo();
};
_root.buttonItemShuriken.onPress = function (x) {
_root.dataItemShurikens.gotoAndStop(2);
showItemInfo();
};
_root.buttonItemWindmill.onPress = function (x) {
_root.dataItemWindmill.gotoAndStop(2);
showItemInfo();
};
_root.buttonInfo.onPress = function (x) {
_global.mapAreaUpTemp = _global.mapAreaUp;
_global.mapAreaUp = false;
closeMapDuties();
closeMenu();
closeMap();
closeQuestion();
closeVisitMenu();
closeSakura();
_global.showBeginTwoUp = true;
_root.changeSetting.gotoAndStop(8);
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
};
_root.buttonPresentShuriken.onPress = function () {
mySakura.shurikens = mySakura.shurikens - 1;
if (_global.sparUp) {
_global.sparShuriken();
} else if (_global.visitObj == mySasuke) {
myQue.likeOne();
} else {
myQue.disLike();
}
};
_root.buttonPresentKunaiPouch.onPress = function () {
mySakura.kunaiPouches = mySakura.kunaiPouches - 1;
if (_global.sparUp) {
_global.sparKunaiPouch();
} else if (_global.visitObj == mySasuke) {
myQue.likeTwo();
} else {
myQue.disLike();
}
};
_root.buttonPresentWindmill.onPress = function () {
mySakura.windmills = mySakura.windmills - 1;
if (_global.sparUp) {
_global.sparWindmill();
} else if (_global.visitObj == mySasuke) {
myQue.likeThree();
} else {
myQue.disLike();
}
};
_root.buttonPresentBandages.onPress = function () {
mySakura.bandages = mySakura.bandages - 1;
if (_global.sparUp) {
_global.sparBandages();
} else if (_global.visitObj == myLee) {
myQue.likeOne();
} else {
myQue.disLike();
}
};
_root.buttonPresentJumpsuit.onPress = function () {
mySakura.jumpsuits = mySakura.jumpsuits - 1;
if (_global.sparUp) {
_global.sparJumpsuit();
} else if (_global.visitObj == myLee) {
myQue.likeTwo();
} else {
myQue.disLike();
}
};
_root.buttonPresentLotus.onPress = function () {
mySakura.lotuses = mySakura.lotuses - 1;
if (_global.sparUp) {
_global.sparLotus();
} else if (_global.visitObj == myLee) {
myQue.likeThree();
} else {
myQue.disLike();
}
};
_root.buttonPresentRamen.onPress = function () {
mySakura.ramens = mySakura.ramens - 1;
if (_global.sparUp) {
_global.sparRamen();
} else if (_global.visitObj == myNaruto) {
myQue.likeOne();
} else {
myQue.disLike();
}
};
_root.buttonPresentHat.onPress = function () {
mySakura.hats = mySakura.hats - 1;
if (_global.sparUp) {
_global.canAttack = false;
_global.randomHat = true;
mySpar.blank();
_global.closePresent();
_global.showFieldQue("You reach in and something random happens!");
_global.showFieldQueChoiceOne("(acquire and attempt to use random item...)");
_global.showFieldQueChoiceTwo("(...if you can't, item is stored in inventory)");
} else if (_global.visitObj == myNaruto) {
myQue.likeTwo();
} else {
myQue.disLike();
}
};
_root.buttonPresentComecome.onPress = function () {
mySakura.comecomes = mySakura.comecomes - 1;
if (_global.sparUp) {
_global.sparComecome();
} else if (_global.visitObj == myNaruto) {
myQue.likeThree();
} else {
myQue.disLike();
}
};
_root.buttonPresentSake.onPress = function () {
mySakura.sakes = mySakura.sakes - 1;
if (_global.sparUp) {
_global.sparSake();
} else {
_global.closePresent();
myQue.drinkSake();
}
};
_global.sparShuriken = function () {
_global.canAttack = false;
mySpar.blank();
_global.showFieldQue("You threw three shurikens and hit him off guard.");
_global.showFieldQueChoiceOne("(20 HP damage)");
_global.closePresent();
mySpar.hit(20);
};
_global.sparKunaiPouch = function () {
_global.canAttack = false;
mySpar.blank();
_global.showFieldQue("You threw a barrage of kunai for multiple hits.");
_global.showFieldQueChoiceOne("(40 HP damage)");
_global.closePresent();
mySpar.hit(40);
};
_global.sparWindmill = function () {
_global.canAttack = false;
mySpar.blank();
_global.showFieldQue("The windmill hit him from the shadows.");
_global.showFieldQueChoiceOne("(80 HP damage)");
_global.closePresent();
mySpar.hit(80);
};
_global.sparBandages = function () {
_global.canAttack = false;
mySpar.blank();
_global.closePresent();
if ((mySakura.totalHP == 100) && (mySakura.currentHP <= 50)) {
_global.showFieldQue("You wrapped your wounds in the bandage.");
_global.showFieldQueChoiceOne("(healed 50 HP)");
mySakura.currentHP = mySakura.currentHP + 50;
_global.showSakura();
} else if ((mySakura.totalHP == 200) && (mySakura.currentHP <= 150)) {
_global.showFieldQue("You wrapped your wounds in the bandage.");
_global.showFieldQueChoiceOne("(healed 50 HP)");
mySakura.currentHP = mySakura.currentHP + 50;
_global.showSakura();
} else {
_global.showFieldQue("HP too high.");
_global.showFieldQueChoiceOne("(tried to heal 50 HP)");
mySakura.bandages++;
}
};
_global.sparJumpsuit = function () {
_global.canAttack = false;
mySpar.blank();
_global.closePresent();
_global.showFieldQue("When you put it on you both feel strange.");
_global.showFieldQueChoiceOne("(HP swap)");
this.tempHP = mySakura.currentHP;
mySakura.currentHP = _global.visitObj.currentHP;
trace(mySakura.currentHP);
if (mySakura.totalHP == 100) {
_global.visitObj.currentHP = this.tempHP;
} else if (mySakura.totalHP == 200) {
if (this.tempHP >= 100) {
_global.visitObj.currentHP = 100;
} else {
_global.visitObj.currentHP = this.tempHP;
}
}
showSakura();
_root.barSpar.gotoAndStop((_global.visitObj.currentHP / 10) + 2);
};
_global.sparLotus = function () {
_global.canAttack = false;
mySpar.blank();
_global.closePresent();
if (mySakura.totalHP != mySakura.currentHP) {
_global.showFieldQue("When you smell it, you are flooded with power!");
_global.showFieldQueChoiceOne("(healed all HP)");
mySakura.currentHP = mySakura.totalHP;
_global.showSakura();
} else {
_global.showFieldQue("HP too high.");
_global.showFieldQueChoiceOne("(tried to heal all HP)");
mySakura.lotuses++;
}
};
_global.sparRamen = function () {
_global.canAttack = false;
mySpar.blank();
_global.closePresent();
if ((mySakura.currentChakra + 1) < mySakura.totalChakra) {
_global.showFieldQue("You eat the ramen...it's pork flavored.");
_global.showFieldQueChoiceOne("recovered 2 chakra counters)");
mySakura.currentChakra = mySakura.currentChakra + 2;
_global.showSakura();
} else {
_global.showFieldQue("Chakra too high.");
_global.showFieldQueChoiceOne("(tried to recover 2 chakra counters)");
mySakura.ramens++;
}
};
_global.sparComecome = function () {
_global.canAttack = false;
mySpar.blank();
_global.closePresent();
if (mySakura.totalChakra != mySakura.currentChakra) {
_global.showFieldQue("When you read it, energy spews from within you!");
_global.showFieldQueChoiceOne("(recovered all chakra counters)");
mySakura.currentChakra = mySakura.totalChakra;
_global.showSakura();
} else {
_global.showFieldQue("Chakra too high.");
_global.showFieldQueChoiceOne("(tried to recover all chakra counters)");
mySakura.comecomes++;
}
};
_global.sparSake = function () {
_global.canAttack = false;
mySpar.blank();
_global.closePresent();
this.temp = Math.round(Math.random());
_global.showFieldQue("You both drink until one of you drops!");
_global.showFieldQueChoiceOne("(random defeat)");
if (this.temp == 0) {
mySakura.currentHP = 0;
} else if (this.temp == 1) {
_global.visitObj.currentHP = 0;
}
_global.showSakura();
_root.barSpar.gotoAndStop((_global.visitObj.currentHP / 10) + 2);
};
_global.sparHat = function () {
this.temp = Math.round(Math.random() / 0.1052631579);
while (((this.temp == 0) || (this.temp == 10)) || (this.temp == undefined)) {
this.temp = Math.round(Math.random / 0.1052631579);
}
if (this.temp == 1) {
_global.sparShuriken();
}
if (this.temp == 2) {
_global.sparKunaiPouch();
}
if (this.temp == 3) {
_global.sparWindmill();
}
if (this.temp == 4) {
_global.sparBandages();
}
if (this.temp == 5) {
_global.sparJumpsuit();
}
if (this.temp == 6) {
_global.sparLotus();
}
if (this.temp == 7) {
_global.sparRamen();
}
if (this.temp == 8) {
_global.sparComecome();
}
if (this.temp == 9) {
_global.sparSake();
}
};
_global.raiseQueII = function (x) {
if ((mySakura.currentHP == 0) || (mySakura.currentChakra == 0)) {
if (mySakura.currentHP == 0) {
_global.myQue.refuse(2);
} else if (mySakura.currentChakra == 0) {
_global.myQue.refuse(3);
}
} else {
showQuestion(_global.visitNum);
}
_global.visitQueUp = true;
_root.buttonSakura.enabled = false;
};
_root.buttonChoice1.onPress = function (x) {
if (_global.datingQueUp) {
myDating.answer(1);
} else if (_global.sparUp) {
mySpar.calcSpar(1);
} else {
myQue.answer(1);
}
};
_root.buttonChoice2.onPress = function (x) {
if (_global.datingQueUp) {
myDating.answer(2);
} else if (_global.sparUp) {
mySpar.calcSpar(2);
} else {
myQue.answer(2);
}
};
_root.buttonChoice3.onPress = function (x) {
if (_global.datingQueUp) {
myDating.answer(3);
} else if (_global.sparUp) {
mySpar.calcSpar(3);
} else {
myQue.answer(3);
}
};
_root.buttonDateTalk.onPress = function (x) {
_global.raiseQueII();
};
_root.buttonDateMission.onPress = function (x) {
if (_global.visitObj.mood < 3) {
_global.myQue.refuse(1);
_global.visitQueUp = true;
_root.buttonSakura.enabled = false;
} else if (mySakura.currentHP == 0) {
_global.myQue.refuse(2);
_global.visitQueUp = true;
_root.buttonSakura.enabled = false;
} else if (mySakura.currentChakra == 0) {
_global.myQue.refuse(3);
_global.visitQueUp = true;
_root.buttonSakura.enabled = false;
} else {
_global.sparUp = true;
showVersus(_global.visitNum);
}
};
_root.buttonDateDate.onPress = function (x) {
if (_global.visitObj.mood < 3) {
_global.myQue.refuse(1);
_global.visitQueUp = true;
_root.buttonSakura.enabled = false;
} else if (mySakura.currentHP < 10) {
_global.myQue.refuse(2);
} else if (mySakura.currentChakra == 0) {
_global.myQue.refuse(3);
} else {
_global.dateUp = true;
showDateSelection(_global.visitNum);
}
};
_root.buttonDateOther.onPress = function (x) {
if (_global.visitObj.mood < 3) {
_global.myQue.refuse();
} else {
_root.fadeBlack.gotoAndPlay(2);
}
};
_root.buttonDatingTalk.onPress = function () {
if (myDating.talks < 2) {
_global.showDatingQuestion();
myDating.talks++;
} else {
_global.optionUsed();
}
};
_root.buttonDatingPresent.onPress = function () {
if (!_global.presentUsed) {
_global.showPresent();
_global.presentUsed = true;
} else {
_global.optionUsed();
}
};
_root.buttonDatingFlirt.onPress = function () {
if ((!_global.flirtUsed) && (mySakura.charm >= 20)) {
_global.flirtUsed = true;
if (mySakura.currentChakra >= 1) {
mySakura.currentChakra--;
closeMenu();
_root.changeSetting.gotoAndStop();
if (mySakura.charm >= 60) {
_root.flirty.gotoAndPlay(2);
myDating.dateMood = myDating.dateMood + 3;
} else if (mySakura.charm >= 40) {
_root.flirty.gotoAndPlay(15);
myDating.dateMood = myDating.dateMood + 2;
} else if (mySakura.charm >= 20) {
_root.flirty.gotoAndPlay(23);
myDating.dateMood++;
}
closeDateMenu();
closeSakura();
_root.changeBasic.gotoAndStop(1);
_root.changePortrait.gotoAndStop(1);
_root.changeDate.gotoAndStop(1);
_root.barHeartsDate.gotoAndStop(1);
_root.buttonBackII._visible = false;
_root.buttonBackII.enabled = false;
_global.closeFieldQue();
} else {
_global.showFieldQue("You look tired.");
_global.datingQueUp = true;
_root.changeBasic.gotoAndStop(2);
_root.buttonSakura.enabled = false;
closeDateMenu();
}
} else {
_global.optionUsed();
}
};
_root.buttonDatingKiss.onPress = function () {
if (!_global.kissUsed) {
_global.kissUsed = true;
if (myDating.dateMood > 4) {
if (_global.visitObj == mySasuke) {
_root.kissSasuke.gotoAndPlay(2);
}
if (_global.visitObj == myNaruto) {
_root.kissNaruto.gotoAndPlay(2);
}
if (_global.visitObj == myLee) {
_root.kissLee.gotoAndPlay(2);
}
closeDateMenu();
closeSakura();
_root.changeBasic.gotoAndStop(1);
_root.changePortrait.gotoAndStop(1);
_root.changeDate.gotoAndStop(1);
_root.barHeartsDate.gotoAndStop(1);
_root.buttonBackII._visible = false;
_root.buttonBackII.enabled = false;
_global.closeFieldQue();
_global.visitObj.experience(500);
} else {
myQue.noKiss();
}
} else {
_global.optionUsed();
}
};
_root.kissSasuke.onEnterFrame = function () {
if (_root.kissSasuke._currentframe == 40) {
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_global.showKissUp = true;
_root.kissSasuke.gotoAndStop(40);
_root.changeSetting.gotoAndStop(42);
}
};
_root.kissNaruto.onEnterFrame = function () {
if (_root.kissNaruto._currentframe == 40) {
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_global.showKissUp = true;
_root.kissNaruto.gotoAndStop(40);
_root.changeSetting.gotoAndStop(42);
}
};
_root.kissLee.onEnterFrame = function () {
if (_root.kissLee._currentframe == 40) {
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_global.showKissUp = true;
_root.kissLee.gotoAndStop(40);
_root.changeSetting.gotoAndStop(42);
}
};
_root.fuckSasuke.topFuckSasuke.onEnterFrame = function () {
if ((_root.fuckSasuke.topFuckSasuke._currentframe == 123) && (!_global.theEnd)) {
_root.fuckSasuke.topFuckSasuke.stop();
_root.fuckSasuke.topFuck2Sasuke.stop();
endFuck();
}
};
_root.fuckLee.first.onEnterFrame = function () {
if ((_root.fuckLee.first._currentframe == 119) && (!_global.theEnd)) {
_root.fuckLee.first.stop();
_root.fuckLee.hentaiBr.stop();
endFuck();
}
};
_root.fuckNaruto.onEnterFrame = function () {
if ((_root.fuckNaruto._currentframe == 105) && (!_global.theEnd)) {
_root.fuckNaruto.gotoAndStop(105);
endFuck();
}
};
_root.fuckShika.onEnterFrame = function () {
if ((_root.fuckShika._currentframe == 84) && (!_global.theEnd)) {
_root.fuckShika.gotoAndStop(84);
endFuck();
}
};
_root.credits.onEnterFrame = function () {
if (_root.credits._currentframe == 227) {
_root.credits.gotoAndStop(1);
_global.doFirst();
_global.doSecond();
}
if (_global.musicOn && (_root.credits._currentframe == 67)) {
_global.mySound.stop();
_global.mySound.attachSound("musicWind");
_global.mySound.start(0, 1);
}
};
_root.fadeBlack.onEnterFrame = function () {
if (_root.fadeBlack._currentframe == 8) {
closeDateMenu();
closeSakura();
_global.mySound.stop();
_root.changeBasic.gotoAndStop(1);
_root.changePortrait.gotoAndStop(1);
_root.changeDate.gotoAndStop(1);
_root.barHeartsDate.gotoAndStop(1);
_root.buttonBackII._visible = false;
_root.buttonBackII.enabled = false;
_global.closeFieldQue();
_global.closeVisitMenu();
if (_global.musicOn) {
_global.mySound.attachSound("musicFuck");
_global.mySound.start(0, 999);
}
if (_global.visitNum == 1) {
_root.fuckSasuke._visible = true;
_root.fuckSasuke.gotoAndStop(1);
_root.fuckSasuke.topFuckSasuke.gotoAndStop(1);
_root.fuckSasuke.topFuck2Sasuke.gotoAndStop(1);
}
if (_global.visitNum == 2) {
_root.fuckLee._visible = true;
_root.fuckLee.gotoAndStop(1);
_root.fuckLee.first.gotoAndStop(1);
_root.fuckLee.hentaiBr.gotoAndStop(1);
}
if (_global.visitNum == 3) {
_root.fuckNaruto.gotoAndStop(2);
}
if (_global.visitNum == 7) {
_root.fuckShika.gotoAndStop(2);
}
_global.theEnd = false;
}
if (_root.fadeBlack._currentframe == 21) {
_root.fadeBlack.gotoAndStop(1);
if (_global.visitNum == 1) {
_root.fuckSasuke.topFuckSasuke.gotoAndPlay(1);
_root.fuckSasuke.topFuck2Sasuke.gotoAndPlay(1);
}
if (_global.visitNum == 2) {
_root.fuckLee.first.gotoAndPlay(1);
_root.fuckLee.hentaiBr.gotoAndPlay(1);
}
if (_global.visitNum == 3) {
_root.fuckNaruto.gotoAndPlay(2);
}
if (_global.visitNum == 7) {
_root.fuckShika.gotoAndPlay(2);
}
}
};
_root.flirty.onEnterFrame = function () {
if (_root.flirty._currentframe == 24) {
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_global.showFlirtUp = true;
_root.flirty.gotoAndStop(24);
} else if (_global.charmOnly60 && (_root.flirty._currentframe == 24)) {
_global.charmOnly60 = false;
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_global.showFlirtUp = true;
_root.flirty.gotoAndStop(24);
}
};
_global.optionUsed = function () {
_global.showFieldQue("Let's do something else...");
_global.datingQueUp = true;
_root.changeBasic.gotoAndStop(2);
_root.buttonSakura.enabled = false;
closeDateMenu();
};
_global.optionClear = function () {
myDating.talks = 0;
_global.presentUsed = false;
_global.flirtUsed = false;
_global.kissUsed = false;
myDating.dateMood = 0;
};
_global.endFuck = function () {
_global.theEnd = true;
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_root.buttonReplay._visible = true;
_root.buttonReplay.enabled = true;
};
_root.buttonReplay.onPress = function () {
_root.buttonBack._visible = false;
_root.buttonBack.enabled = false;
_root.buttonReplay._visible = false;
_root.buttonReplay.enabled = false;
_root.fadeBlack.gotoAndPlay(2);
};
_global.raiseQue = function (x) {
if ((mySakura.currentHP == 0) || (mySakura.currentChakra == 0)) {
this.temp = Math.round(Math.random() / 0.2857142857);
while (((this.temp == 0) || (this.temp == 4)) || (this.temp == undefined)) {
this.temp = Math.round(Math.random() / 0.2857142857);
}
_global.visitNum = this.temp;
if (_global.visitNum == 1) {
_global.visitObj = mySasuke;
} else if (_global.visitNum == 2) {
_global.visitObj = myLee;
} else if (_global.visitNum == 3) {
_global.visitObj = myNaruto;
}
_root.changeDate.gotoAndStop(_global.visitNum + 1);
_root.barHeartsDate.gotoAndStop(_global.visitObj.mood + 2);
closeMap();
_root.changeBasic.gotoAndStop(2);
_root.buttonBackII._visible = true;
_root.buttonBackII.enabled = true;
_global.reject = true;
_root.buttonSakura.enabled = false;
if (mySakura.currentHP == 0) {
_global.myQue.refuse(2);
} else if (mySakura.currentChakra == 0) {
_global.myQue.refuse(3);
}
} else {
closeMap();
_global.showQuestion(0);
}
};
_root.buttonMapBridge.onPress = function () {
_global.mapAreaUp = true;
_global.mapArea = 14;
_global.showBridge();
};
_global.showBridge = function (x) {
_root.changeSetting.gotoAndStop(2);
_global.raiseQue();
};
_root.buttonMapGym.onPress = function () {
_global.mapAreaUp = true;
_global.mapArea = 16;
_global.showGym();
};
_global.showGym = function () {
_root.changeSetting.gotoAndStop(4);
_global.raiseQue();
};
_root.buttonMapForest.onPress = function () {
_global.mapAreaUp = true;
_global.mapArea = 17;
_global.showForest();
};
_global.showForest = function () {
_root.changeSetting.gotoAndStop(3);
_global.raiseQue();
};
_root.buttonMapElementarySchool.onPress = function (x) {
_global.mapAreaUp = true;
_global.mapArea = 1;
_global.showElementarySchool();
};
_root.buttonMapDutiesTeach.onPress = function (x) {
mySakura.teach();
};
_root.buttonMapDutiesStudy.onPress = function (x) {
mySakura.intellUp();
};
_global.showElementarySchool = function (x) {
closeMap();
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_root.changeSetting.gotoAndStop(12);
_root.buttonMapDutiesTeach._visible = true;
_root.buttonMapDutiesTeach.enabled = true;
_root.buttonMapDutiesStudy._visible = true;
_root.buttonMapDutiesStudy.enabled = true;
};
_root.buttonMapFlowerShop.onPress = function (x) {
_global.mapAreaUp = true;
_global.mapArea = 2;
_global.showFlowerShop();
};
_root.buttonMapDutiesCashier.onPress = function (x) {
mySakura.cashier();
};
_root.buttonMapDutiesGarden.onPress = function (x) {
mySakura.charmUp();
};
_global.showFlowerShop = function (x) {
closeMap();
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_root.changeSetting.gotoAndStop(13);
_root.buttonMapDutiesCashier._visible = true;
_root.buttonMapDutiesCashier.enabled = true;
_root.buttonMapDutiesGarden._visible = true;
_root.buttonMapDutiesGarden.enabled = true;
};
_root.buttonMapTownHall.onPress = function (x) {
_global.mapAreaUp = true;
_global.mapArea = 3;
_global.showTownHall();
};
_root.buttonMapDutiesDMission.onPress = function (x) {
mySakura.DMission();
};
_global.showTownHall = function (x) {
closeMap();
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_root.changeSetting.gotoAndStop(14);
_root.buttonMapDutiesDMission._visible = true;
_root.buttonMapDutiesDMission.enabled = true;
};
_root.buttonMapTrainingGrounds.onPress = function (x) {
_global.mapAreaUp = true;
_global.mapArea = 4;
_global.showTrainingGrounds();
};
_root.buttonMapDutiesChakraTraining.onPress = function (x) {
mySakura.chakraUp();
};
_root.buttonMapDutiesStrengthTraining.onPress = function (x) {
mySakura.strengthUp();
};
_global.showTrainingGrounds = function (x) {
closeMap();
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_root.changeSetting.gotoAndStop(15);
_root.buttonMapDutiesChakraTraining._visible = true;
_root.buttonMapDutiesChakraTraining.enabled = true;
_root.buttonMapDutiesStrengthTraining._visible = true;
_root.buttonMapDutiesStrengthTraining.enabled = true;
};
_root.buttonMapHome.onPress = function (x) {
_global.mapAreaUp = true;
_global.mapArea = 5;
_global.showHome();
};
_root.buttonMapDutiesSleep.onPress = function (x) {
mySakura.sleep();
};
_global.showHome = function (x) {
closeMap();
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_root.changeSetting.gotoAndStop(16);
_root.buttonMapDutiesSleep._visible = true;
_root.buttonMapDutiesSleep.enabled = true;
};
_root.buttonMapRiver.onPress = function (x) {
_global.mapAreaUp = true;
_global.mapArea = 7;
_global.showRiver();
};
_global.showRiver = function (x) {
closeMap();
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_root.buttonMapDutiesBuy._visible = true;
_root.buttonMapDutiesBuy.enabled = true;
_root.changeSetting.gotoAndStop(18);
};
_root.buttonMapBathHouse.onPress = function (x) {
_global.mapAreaUp = true;
_global.mapArea = 8;
_global.showBathHouse();
};
_global.showBathHouse = function (x) {
if (_global.musicOn) {
_global.mySound.stop();
_global.mySound.attachSound("musicSexy");
_global.mySound.start(0, 999);
}
closeMap();
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_root.buttonMapDutiesBuy._visible = true;
_root.buttonMapDutiesBuy.enabled = true;
_root.changeSetting.gotoAndStop(19);
};
_root.buttonMapPlains.onPress = function (x) {
_global.mapAreaUp = true;
_global.mapArea = 9;
_global.showPlains();
};
_global.showPlains = function (x) {
closeMap();
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_root.buttonMapDutiesBuy._visible = true;
_root.buttonMapDutiesBuy.enabled = true;
_root.changeSetting.gotoAndStop(20);
};
_root.buttonMapAlley.onPress = function (x) {
_global.mapAreaUp = true;
_global.mapArea = 10;
_global.showAlley();
};
_global.showAlley = function (x) {
closeMap();
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_root.buttonMapDutiesBuy._visible = true;
_root.buttonMapDutiesBuy.enabled = true;
_root.changeSetting.gotoAndStop(24);
};
_root.buttonMapSasukePlace.onPress = function (x) {
_global.mapAreaUp = true;
_global.mapArea = 11;
_global.visitNum = 1;
_global.visitObj = mySasuke;
_global.showSasukePlace();
};
_global.showSasukePlace = function (x) {
closeMap();
_root.buttonBackII._visible = true;
_root.buttonBackII.enabled = true;
_root.changeSetting.gotoAndStop(25);
_global.showVisitMenu();
};
_root.buttonMapLeePlace.onPress = function (x) {
_global.mapAreaUp = true;
_global.mapArea = 12;
_global.visitNum = 2;
_global.visitObj = myLee;
_global.showLeePlace();
};
_global.showLeePlace = function (x) {
closeMap();
_root.buttonBackII._visible = true;
_root.buttonBackII.enabled = true;
_root.changeSetting.gotoAndStop(26);
_global.showVisitMenu();
};
_root.buttonMapNarutoPlace.onPress = function (x) {
_global.mapAreaUp = true;
_global.mapArea = 13;
_global.visitNum = 3;
_global.visitObj = myNaruto;
_global.showNarutoPlace();
};
_global.showNarutoPlace = function (x) {
closeMap();
_root.buttonBackII._visible = true;
_root.buttonBackII.enabled = true;
_root.changeSetting.gotoAndStop(27);
_global.showVisitMenu();
};
_root.buttonMapShop.onPress = function (x) {
_global.mapAreaUp = true;
_global.mapArea = 6;
_global.showShop();
};
_root.buttonMapDutiesBuy.onPress = function (x) {
_global.showSale();
};
_global.showShop = function (x) {
closeMap();
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_root.changeSetting.gotoAndStop(17);
_root.buttonMapDutiesBuy._visible = true;
_root.buttonMapDutiesBuy.enabled = true;
};
_root.buttonItemSaleRamen.onPress = function (x) {
mySakura.buy(1);
_global.showSale();
};
_root.buttonItemSaleShuriken.onPress = function (x) {
mySakura.buy(2);
_global.showSale();
};
_root.buttonItemSaleBandages.onPress = function (x) {
mySakura.buy(3);
_global.showSale();
};
_root.buttonItemSaleHat.onPress = function (x) {
mySakura.buy(4);
_global.showSale();
};
_root.buttonItemSaleKunaiPouch.onPress = function (x) {
mySakura.buy(5);
_global.showSale();
};
_root.buttonItemSaleJumpsuit.onPress = function (x) {
mySakura.buy(6);
_global.showSale();
};
_root.buttonItemSaleWindmill.onPress = function (x) {
mySakura.buy(7);
_global.showSale();
};
_root.buttonItemSaleComecome.onPress = function (x) {
mySakura.buy(8);
_global.showSale();
};
_root.buttonItemSaleLotus.onPress = function (x) {
mySakura.buy(9);
_global.showSale();
};
_root.buttonItemSaleSake.onPress = function (x) {
mySakura.buy(10);
_global.showSale();
};
_root.buttonMapSprings.onPress = function (x) {
_global.mapAreaUp = true;
_global.mapArea = 15;
_global.showSprings();
};
_root.buttonMapDutiesRelax.onPress = function (x) {
mySakura.Relax();
};
_root.buttonMapDutiesInvigorate.onPress = function (x) {
mySakura.Invigorate();
};
_global.showSprings = function (x) {
closeMap();
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_root.changeSetting.gotoAndStop(41);
_root.buttonMapDutiesRelax._visible = true;
_root.buttonMapDutiesRelax.enabled = true;
_root.buttonMapDutiesInvigorate._visible = true;
_root.buttonMapDutiesInvigorate.enabled = true;
};
_root.buttonDateAreaWaterfall.onPress = function (x) {
if ((mySakura.money >= 450) && ((mySakura.dayNum + 2) <= 100)) {
mySakura.money = mySakura.money - 450;
mySakura.advanceDay(2);
_global.dateArea = 1;
closeDateSelection();
_root.changeSetting.gotoAndStop(21);
} else if (mySakura.money < 450) {
_root.changeMaxedAlert.gotoAndStop(7);
} else if ((mySakura.dayNum + 2) > 100) {
_root.changeMaxedAlert.gotoAndStop(6);
}
};
_root.buttonDateAreaMountain.onPress = function (x) {
if ((mySakura.money >= 50) && ((mySakura.dayNum + 4) <= 100)) {
mySakura.money = mySakura.money - 50;
mySakura.advanceDay(4);
_global.dateArea = 2;
closeDateSelection();
_root.changeSetting.gotoAndStop(22);
} else if (mySakura.money < 50) {
_root.changeMaxedAlert.gotoAndStop(7);
} else if ((mySakura.dayNum + 4) > 100) {
_root.changeMaxedAlert.gotoAndStop(6);
}
};
_root.buttonDateAreaForest.onPress = function (x) {
if ((mySakura.money >= 200) && ((mySakura.dayNum + 3) <= 100)) {
mySakura.money = mySakura.money - 200;
mySakura.advanceDay(3);
_global.dateArea = 3;
closeDateSelection();
_root.changeSetting.gotoAndStop(23);
} else if (mySakura.money < 200) {
_root.changeMaxedAlert.gotoAndStop(7);
} else if ((mySakura.dayNum + 3) > 100) {
_root.changeMaxedAlert.gotoAndStop(6);
}
};
_root.buttonDateAreaVillageStreets.onPress = function (x) {
if ((mySakura.money >= 600) && ((mySakura.dayNum + 1) <= 100)) {
mySakura.money = mySakura.money - 600;
mySakura.advanceDay(1);
_global.dateArea = 4;
closeDateSelection();
_root.changeSetting.gotoAndStop(35);
} else if (mySakura.money < 600) {
_root.changeMaxedAlert.gotoAndStop(7);
} else if ((mySakura.dayNum + 1) > 100) {
_root.changeMaxedAlert.gotoAndStop(6);
}
};
_root.buttonMapHome.onRollOver = function () {
_root.changePost.gotoAndStop(3);
};
_root.buttonMapHome.onRollOut = function () {
_root.changePost.gotoAndStop(2);
};
_root.buttonMapTrainingGrounds.onRollOver = function () {
_root.changePost.gotoAndStop(4);
};
_root.buttonMapTrainingGrounds.onRollOut = function () {
_root.changePost.gotoAndStop(2);
};
_root.buttonMapElementarySchool.onRollOver = function () {
_root.changePost.gotoAndStop(5);
};
_root.buttonMapElementarySchool.onRollOut = function () {
_root.changePost.gotoAndStop(2);
};
_root.buttonMapFlowerShop.onRollOver = function () {
_root.changePost.gotoAndStop(6);
};
_root.buttonMapFlowerShop.onRollOut = function () {
_root.changePost.gotoAndStop(2);
};
_root.buttonMapTownHall.onRollOver = function () {
_root.changePost.gotoAndStop(7);
};
_root.buttonMapTownHall.onRollOut = function () {
_root.changePost.gotoAndStop(2);
};
_root.buttonMapShop.onRollOver = function () {
_root.changePost.gotoAndStop(8);
};
_root.buttonMapShop.onRollOut = function () {
_root.changePost.gotoAndStop(2);
};
_root.buttonMapBridge.onRollOver = function () {
_root.changePost.gotoAndStop(9);
};
_root.buttonMapBridge.onRollOut = function () {
_root.changePost.gotoAndStop(2);
};
_root.buttonMapSprings.onRollOver = function () {
_root.changePost.gotoAndStop(10);
};
_root.buttonMapSprings.onRollOut = function () {
_root.changePost.gotoAndStop(2);
};
_root.buttonMapGym.onRollOver = function () {
_root.changePost.gotoAndStop(11);
};
_root.buttonMapGym.onRollOut = function () {
_root.changePost.gotoAndStop(2);
};
_root.buttonMapForest.onRollOver = function () {
_root.changePost.gotoAndStop(12);
};
_root.buttonMapForest.onRollOut = function () {
_root.changePost.gotoAndStop(2);
};
_root.buttonMapLeePlace.onRollOver = function () {
_root.changePostII.gotoAndStop(3);
};
_root.buttonMapLeePlace.onRollOut = function () {
_root.changePostII.gotoAndStop(2);
};
_root.buttonMapNarutoPlace.onRollOver = function () {
_root.changePostII.gotoAndStop(4);
};
_root.buttonMapNarutoPlace.onRollOut = function () {
_root.changePostII.gotoAndStop(2);
};
_root.buttonMapSasukePlace.onRollOver = function () {
_root.changePostII.gotoAndStop(5);
};
_root.buttonMapSasukePlace.onRollOut = function () {
_root.changePostII.gotoAndStop(2);
};
_root.buttonMapBathHouse.onRollOver = function () {
_root.changePostII.gotoAndStop(6);
};
_root.buttonMapBathHouse.onRollOut = function () {
_root.changePostII.gotoAndStop(2);
};
_root.buttonMapPlains.onRollOver = function () {
_root.changePostII.gotoAndStop(7);
};
_root.buttonMapPlains.onRollOut = function () {
_root.changePostII.gotoAndStop(2);
};
_root.buttonMapRiver.onRollOver = function () {
_root.changePostII.gotoAndStop(8);
};
_root.buttonMapRiver.onRollOut = function () {
_root.changePostII.gotoAndStop(2);
};
_root.buttonMapAlley.onRollOver = function () {
_root.changePostII.gotoAndStop(9);
};
_root.buttonMapAlley.onRollOut = function () {
_root.changePostII.gotoAndStop(2);
};
_root.buttonStatCharmLess.onPress = function () {
mySakura.setCharm(-1);
_global.showFieldStatPointsLeft();
_global.showFieldStatCharm();
};
_root.buttonStatCharmMore.onPress = function () {
mySakura.setCharm(1);
_global.showFieldStatPointsLeft();
_global.showFieldStatCharm();
};
_root.buttonStatIntellLess.onPress = function () {
mySakura.setIntell(-1);
_global.showFieldStatPointsLeft();
_global.showFieldStatIntell();
};
_root.buttonStatIntellMore.onPress = function () {
mySakura.setIntell(1);
_global.showFieldStatPointsLeft();
_global.showFieldStatIntell();
};
_root.buttonStatStrengthLess.onPress = function () {
mySakura.setStrength(-1);
_global.showFieldStatPointsLeft();
_global.showFieldStatStrength();
};
_root.buttonStatStrengthMore.onPress = function () {
mySakura.setStrength(1);
_global.showFieldStatPointsLeft();
_global.showFieldStatStrength();
};
_root.buttonStatChakraLess.onPress = function () {
mySakura.setChakra(-1);
_global.showFieldStatPointsLeft();
_global.showFieldStatChakra();
};
_root.buttonStatChakraMore.onPress = function () {
mySakura.setChakra(1);
_global.showFieldStatPointsLeft();
_global.showFieldStatChakra();
};
_global.verifyStatLevels = function () {
if (mySakura.strength >= 50) {
mySakura.totalHP = mySakura.totalHP + 100;
}
if ((mySakura.chakra >= 20) && (mySakura.chakra < 40)) {
mySakura.totalChakra = 2;
} else if ((mySakura.chakra >= 40) && (mySakura.chakra < 60)) {
mySakura.totalChakra = 3;
} else if ((mySakura.chakra >= 60) && (mySakura.chakra < 80)) {
mySakura.totalChakra = 4;
} else if (mySakura.chakra >= 80) {
mySakura.totalChakra = 5;
}
mySakura.currentChakra = mySakura.totalChakra;
mySakura.currentHP = mySakura.totalHP;
};
_root.buttonBack.onPress = function (x) {
if (_global.theEnd) {
trace("END caught");
_root.buttonReplay._visible = false;
_root.buttonReplay.enabled = false;
_root.buttonBack._visible = false;
_root.buttonBack.enabled = false;
trace("THE END");
_root.credits.gotoAndPlay(1);
} else if (_global.showBeginOneUp) {
_global.showBeginOneUp = false;
_root.changeSetting.gotoAndStop(8);
_global.showBeginTwoUp = true;
} else if (_global.showBeginTwoUp) {
_global.showBeginTwoUp = false;
_root.changeSetting.gotoAndStop(9);
_global.showBeginUpThree = true;
} else if (_global.showBeginUpThree) {
_global.showBeginUpThree = false;
_root.changeSetting.gotoAndStop(10);
_global.showBeginUpFour = true;
} else if (_global.showBeginUpFour) {
_global.showBeginUpFour = false;
_root.changeSetting.gotoAndStop(28);
_global.showBeginUpFive = true;
} else if (_global.showBeginUpFive) {
_global.showBeginUpFive = false;
_root.changeSetting.gotoAndStop(29);
_global.showBeginUpSix = true;
} else if (_global.showBeginUpSix) {
_global.showBeginUpSix = false;
_root.changeSetting.gotoAndStop(30);
_global.showBeginUpSeven = true;
} else if (_global.showBeginUpSeven) {
_global.showBeginUpSeven = false;
if (_global.starting) {
_global.starting = false;
showStat();
} else {
_global.mapAreaUp = _global.mapAreaUpTemp;
if (!_global.showMapAreaUp) {
_global.showMapUp = true;
}
showMenu();
showSakura();
_root.buttonSakura.enabled = false;
}
} else if (_global.showMenuUp == true) {
_global.showMenuUp = false;
closeMenu();
} else if (_global.showFlirtUp) {
_global.showFlirtUp = false;
_root.buttonBack._visible = false;
_root.buttonBack.enabled = false;
_root.flirty.gotoAndStop(1);
showDateMenu();
} else if (_global.showKissUp) {
_global.showKissUp = false;
_root.kissSasuke.gotoAndStop(1);
_root.kissNaruto.gotoAndStop(1);
_root.kissLee.gotoAndStop(1);
_global.optionClear();
if ((((_global.showDateChar == 1) && (mySasuke.mood == 5)) || ((_global.showDateChar == 2) && (myLee.mood == 5))) || ((_global.showDateChar == 3) && (myNaruto.mood == 5))) {
_global.showDateCharIncrease(_global.showDateChar);
} else {
showSakura();
showMap();
}
} else if (_global.showNextDayUp) {
_global.showNextDayUp = false;
_global.closeNextDay();
} else if (_global.showFieldStatIncreaseUp) {
_global.showFieldStatIncreaseUp = false;
_global.closeStatIncrease();
_global.mapAreaUp = false;
closeMapDuties();
} else if (_global.showStatUp) {
_global.verifyStatLevels();
_global.showStatUp = false;
closeStat();
_root.changeSetting.gotoAndStop(6);
showMap();
showSakura();
} else if (_global.showInfoUp) {
_global.showInfoUp = false;
showMenu();
closeItemInfo();
closeCharInfo();
} else if (_global.mapAreaUp && (!_global.showVersusUp)) {
if (_global.showSaleUp) {
_global.showSaleUp = false;
_global.closeSale();
}
if ((_global.showDateChar != 0) && _global.visitMenuUp) {
_global.visitMenuUp = false;
_global.visitQueUp = false;
_global.closeDateCharIncrease();
_global.optionClear();
showMap();
} else if ((_global.showDateChar != 0) && (!_global.visitMenuUp)) {
_global.closeDateCharIncrease();
_global.mapAreaUp = false;
closeMapDuties();
} else {
_root.buttonDateAreaWaterfall._visible = false;
_root.buttonDateAreaWaterfall.enabled = false;
_root.buttonDateAreaMountain._visible = false;
_root.buttonDateAreaMountain.enabled = false;
_root.buttonDateAreaForest._visible = false;
_root.buttonDateAreaForest.enabled = false;
_root.buttonDateAreaVillageStreets._visible = false;
_root.buttonDateAreaVillageStreets.enabled = false;
_root.changeMaxedAlert.gotoAndStop(1);
_global.mapAreaUp = false;
closeMapDuties();
showSakura();
}
} else if (_global.showVersusUp) {
_global.showVersusUp = false;
closeVersus();
}
};
_root.buttonBackII.onPress = function (x) {
if (_global.theEnd) {
trace("END caught");
_root.changeBasic.gotoAndStop(1);
_root.changePortrait.gotoAndStop(1);
_global.closeFieldQue();
_root.buttonReplay._visible = false;
_root.buttonReplay.enabled = false;
_root.buttonBackII._visible = false;
_root.buttonBackII.enabled = false;
trace("THE END");
_root.credits.gotoAndPlay(1);
} else if ((((!_global.datingQueUp) && ((_global.showDateChar == 1) && (mySasuke.mood == 5))) || ((_global.showDateChar == 2) && (myLee.mood == 5))) || ((_global.showDateChar == 3) && (myNaruto.mood == 5))) {
_global.showDateCharIncrease(_global.showDateChar);
} else if (_global.datingQueUp) {
_global.datingQueUp = false;
showDateMenu();
} else if (_global.randomHat) {
_global.randomHat = false;
_global.sparHat();
} else if (_global.showPresentUp) {
_global.showPresentUp = false;
_showSpar(_global.visitNum);
closePresent();
showDateMenu();
} else if (_global.sparUp) {
showSpar(_global.visitNum);
} else if (_global.visitMenuUp && (_global.visitQueUp)) {
_root.buttonSakura.enabled = true;
_global.visitQueUp = false;
showVisitMenu();
} else {
_global.once = true;
_global.mapAreaUp = false;
closeVisitMenu();
closeQuestion();
closeDateMenu();
_global.optionClear();
showMap();
_root.buttonSakura.enabled = true;
_global.optionClear();
}
};
_root.buttonSakura.onPress = function (x) {
showMenu();
};
_global.showSakura = function (x) {
trace("showSakura now");
_root.buttonSakura._visible = true;
_root.buttonSakura.enabled = true;
_root.barChakra.gotoAndStop(mySakura.currentChakra + 1);
if (mySakura.totalHP == 100) {
_root.barEnergy.gotoAndStop((mySakura.currentHp / 10) + 1);
}
if (mySakura.totalHP == 200) {
if (mySakura.currentHP <= 100) {
_root.barEnergySub.gotoAndStop(12);
_root.barEnergy.gotoAndStop(Math.round(mySakura.currentHP / 10) + 1);
} else {
_root.barEnergy.gotoAndStop(11);
_root.barEnergySub.gotoAndStop(Math.round((mySakura.currentHP - 100) / 10) + 1);
}
}
};
closeSakura = function (x) {
trace("closeSakura now");
_root.buttonSakura._visible = false;
_root.buttonSakura.enabled = false;
_root.barChakra.gotoAndStop(7);
_root.barEnergy.gotoAndStop(12);
_root.barEnergySub.gotoAndStop(12);
};
showMenu = function (x) {
trace("showMenu now");
_global.showMenuUp = true;
_root.buttonSakura.enabled = false;
_root.buttonBack.enabled = true;
_root.buttonBack._visible = true;
_root.changeMaxedAlert.gotoAndStop(1);
if (_global.showMapUp) {
closeMap();
}
if (_global.showQuestionUp) {
closeQuestion();
}
if (_global.mapAreaUp) {
closeMapDuties();
}
if (_global.showSaleUp) {
_global.closeSale();
}
_root.sheetBase.gotoAndStop(2);
if (mySakura.bandages > 0) {
_global.showFieldItemBandages();
_root.itemBandages.gotoAndStop(2);
_root.buttonItemBandages._visible = true;
_root.buttonItemBandages.enabled = true;
}
if (mySakura.comecomes > 0) {
_global.showFieldItemComecome();
_root.itemComecome.gotoAndStop(2);
_root.buttonItemComecome._visible = true;
_root.buttonItemComecome.enabled = true;
}
if (mySakura.hats > 0) {
_global.showFieldItemHat();
_root.itemHat.gotoAndStop(2);
_root.buttonItemHat._visible = true;
_root.buttonItemHat.enabled = true;
}
if (mySakura.jumpsuits > 0) {
_global.showFieldItemJumpsuit();
_root.itemJumpsuit.gotoAndStop(2);
_root.buttonItemJumpsuit._visible = true;
_root.buttonItemJumpsuit.enabled = true;
}
if (mySakura.kunaiPouches > 0) {
_global.showFieldItemKunaiPouch();
_root.itemKunaiPouch.gotoAndStop(2);
_root.buttonItemKunaiPouch._visible = true;
_root.buttonItemKunaiPouch.enabled = true;
}
if (mySakura.lotuses > 0) {
_global.showFieldItemLotus();
_root.itemLotus.gotoAndStop(2);
_root.buttonItemLotus._visible = true;
_root.buttonItemLotus.enabled = true;
}
if (mySakura.ramens > 0) {
_global.showFieldItemRamen();
_root.itemRamen.gotoAndStop(2);
_root.buttonItemRamen._visible = true;
_root.buttonItemRamen.enabled = true;
}
if (mySakura.sakes > 0) {
_global.showFieldItemSake();
_root.itemSake.gotoAndStop(2);
_root.buttonItemSake._visible = true;
_root.buttonItemSake.enabled = true;
}
if (mySakura.Shurikens > 0) {
_global.showFieldItemShuriken();
_root.itemShurikens.gotoAndStop(2);
_root.buttonItemShuriken._visible = true;
_root.buttonItemShuriken.enabled = true;
}
if (mySakura.windmills > 0) {
_global.showFieldItemWindmill();
_root.itemWindmill.gotoAndStop(2);
_root.buttonItemWindmill._visible = true;
_root.buttonItemWindmill.enabled = true;
}
_global.showFieldSakuraChakra();
_global.showFieldSakuraChakraLeft();
_global.showFieldSakuraCharm();
_global.showFieldSakuraDayName();
_global.showFieldSakuraDayNum();
_global.showFieldSakuraHpLeft();
_global.showFieldSakuraIntell();
_global.showFieldSakuraMoney();
_global.showFieldSakuraStrength();
_root.barInterest.gotoAndStop(mySakura.interest + 2);
_root.barHeartsLee.gotoAndStop(myLee.mood + 2);
_root.barHeartsSasuke.gotoAndStop(mySasuke.mood + 2);
_root.barHeartsNaruto.gotoAndStop(myNaruto.mood + 2);
_root.buttonInfo._visible = true;
_root.buttonInfo.enabled = true;
_root.buttonCharNaruto._visible = true;
_root.buttonCharNaruto.enabled = true;
_root.buttonCharSasuke._visible = true;
_root.buttonCharSasuke.enabled = true;
_root.buttonCharLee._visible = true;
_root.buttonCharLee.enabled = true;
};
closeMenu = function (x) {
trace("closeMenu now");
_global.showMenuUp = false;
_root.buttonSakura.enabled = true;
_global.visitQueUp = false;
if (_global.showMapUp) {
showMap();
}
if (_global.showQuestionUp) {
showQuestion();
}
if (_global.dateAreaUp) {
if (_global.dateArea == 1) {
_global.changeSetting.gotoAndStop(21);
}
if (_global.dateArea == 2) {
_global.changeSetting.gotoAndStop(22);
}
if (_global.dateArea == 3) {
_global.changeSetting.gotoAndStop(23);
}
if (_global.dateArea == 4) {
_global.changeSetting.gotoAndStop(35);
}
} else if (_global.mapAreaUp) {
if (_global.mapArea == 1) {
_global.showElementarySchool();
}
if (_global.mapArea == 2) {
_global.showFlowerShop();
}
if (_global.mapArea == 3) {
_global.showTownHall();
}
if (_global.mapArea == 4) {
_global.showTrainingGrounds();
}
if (_global.mapArea == 5) {
_global.showHome();
}
if (_global.mapArea == 6) {
_global.showShop();
if (_global.showSaleUp) {
_global.showSale();
}
}
if (_global.mapArea == 7) {
_global.showRiver();
if (_global.showSaleUp) {
_global.showSale();
}
}
if (_global.mapArea == 8) {
_global.showBathHouse();
if (_global.showSaleUp) {
_global.showSale();
}
}
if (_global.mapArea == 9) {
_global.showPlains();
if (_global.showSaleUp) {
_global.showSale();
}
}
if (_global.mapArea == 10) {
_global.showAlley();
if (_global.showSaleUp) {
_global.showSale();
}
}
if (_global.mapArea == 11) {
_global.showSasukePlace();
}
if (_global.mapArea == 12) {
_global.showLeePlace();
}
if (_global.mapArea == 13) {
_global.showNarutoPlace();
}
if (_global.mapArea == 14) {
_global.showBridge();
}
if (_global.mapArea == 15) {
_global.showSprings();
}
if (_global.mapArea == 16) {
_global.showGym();
}
if (_global.mapArea == 17) {
_global.showForest();
}
}
_root.sheetBase.gotoAndStop(1);
_global.closeFieldItemBandages();
_global.closeFieldItemComecome();
_global.closeFieldItemHat();
_global.closeFieldItemJumpsuit();
_global.closeFieldItemKunaiPouch();
_global.closeFieldItemLotus();
_global.closeFieldItemRamen();
_global.closeFieldItemSake();
_global.closeFieldItemShuriken();
_global.closeFieldItemWindmill();
_global.closeFieldSakuraChakra();
_global.closeFieldSakuraChakraLeft();
_global.closeFieldSakuraCharm();
_global.closeFieldSakuraDayName();
_global.closeFieldSakuraDayNum();
_global.closeFieldSakuraHpLeft();
_global.closeFieldSakuraIntell();
_global.closeFieldSakuraMoney();
_global.closeFieldSakuraStrength();
_root.barInterest.gotoAndStop(1);
_root.barHeartsLee.gotoAndStop(1);
_root.barHeartsSasuke.gotoAndStop(1);
_root.barHeartsNaruto.gotoAndStop(1);
_root.itemBandages.gotoAndStop(1);
_root.itemComecome.gotoAndStop(1);
_root.itemHat.gotoAndStop(1);
_root.itemJumpsuit.gotoAndStop(1);
_root.itemKunaiPouch.gotoAndStop(1);
_root.itemLotus.gotoAndStop(1);
_root.itemRamen.gotoAndStop(1);
_root.itemSake.gotoAndStop(1);
_root.itemShurikens.gotoAndStop(1);
_root.itemWindmill.gotoAndStop(1);
_root.buttonInfo._visible = false;
_root.buttonInfo.enabled = false;
_root.buttonItemBandages._visible = false;
_root.buttonItemBandages.enabled = false;
_root.buttonItemComecome._visible = false;
_root.buttonItemComecome.enabled = false;
_root.buttonItemHat._visible = false;
_root.buttonItemHat.enabled = false;
_root.buttonItemJumpsuit._visible = false;
_root.buttonItemJumpsuit.enabled = false;
_root.buttonItemKunaiPouch._visible = false;
_root.buttonItemKunaiPouch.enabled = false;
_root.buttonItemLotus._visible = false;
_root.buttonItemLotus.enabled = false;
_root.buttonItemRamen._visible = false;
_root.buttonItemRamen.enabled = false;
_root.buttonItemSake._visible = false;
_root.buttonItemSake.enabled = false;
_root.buttonItemShuriken._visible = false;
_root.buttonItemShuriken.enabled = false;
_root.buttonItemWindmill._visible = false;
_root.buttonItemWindmill.enabled = false;
_root.buttonCharNaruto._visible = false;
_root.buttonCharNaruto.enabled = false;
_root.buttonCharSasuke._visible = false;
_root.buttonCharSasuke.enabled = false;
_root.buttonCharLee._visible = false;
_root.buttonCharLee.enabled = false;
};
showItemInfo = function (x) {
trace("showItemInfo now");
_global.showInfoUp = true;
closeMenu();
closeMapDuties();
closeMap();
closeSale();
_root.buttonBack.enabled = true;
_root.buttonBack._visible = true;
};
closeItemInfo = function (x) {
trace("closeItemInfo now");
_root.dataItemBandages.gotoAndStop(1);
_root.dataItemComecome.gotoAndStop(1);
_root.dataItemHat.gotoAndStop(1);
_root.dataItemJumpsuit.gotoAndStop(1);
_root.dataItemWindmill.gotoAndStop(1);
_root.dataItemSake.gotoAndStop(1);
_root.dataItemShurikens.gotoAndStop(1);
_root.dataItemRamen.gotoAndStop(1);
_root.dataItemLotus.gotoAndStop(1);
_root.dataItemKunaiPouch.gotoAndStop(1);
};
showCharInfo = function (x) {
trace("showCharInfo now");
_global.showInfoUp = true;
closeMenu();
closeMapDuties();
closeMap();
closeSale();
_root.buttonBack.enabled = true;
_root.buttonBack._visible = true;
_global.showFieldDateExp();
_root.barOptions.gotoAndStop(_global.charUpObj.level + 2);
_root.barHeartsData.gotoAndStop(_global.charUpObj.mood + 2);
_root.barRelation.gotoAndStop(_global.charUpObj.level + 2);
};
closeCharInfo = function (x) {
trace("closeCharInfo now");
_global.closeFieldDateExp();
_root.dataCharSasuke.gotoAndStop(1);
_root.dataCharNaruto.gotoAndStop(1);
_root.dataCharLee.gotoAndStop(1);
_root.barOptions.gotoAndStop(1);
_root.barHeartsData.gotoAndStop(1);
_root.barRelation.gotoAndStop(1);
};
closeMapDuties = function (x) {
trace("closeMapDuties now");
if (_global.showMenuUp == false) {
_root.buttonBack._visible = false;
_root.buttonBack.enabled = false;
}
_root.buttonMapDutiesTeach._visible = false;
_root.buttonMapDutiesTeach.enabled = false;
_root.buttonMapDutiesCashier._visible = false;
_root.buttonMapDutiesCashier.enabled = false;
_root.buttonMapDutiesDMission._visible = false;
_root.buttonMapDutiesDMission.enabled = false;
_root.buttonMapDutiesChakraTraining._visible = false;
_root.buttonMapDutiesChakraTraining.enabled = false;
_root.buttonMapDutiesStrengthTraining._visible = false;
_root.buttonMapDutiesStrengthTraining.enabled = false;
_root.buttonMapDutiesSleep._visible = false;
_root.buttonMapDutiesSleep.enabled = false;
_root.buttonMapDutiesBuy._visible = false;
_root.buttonMapDutiesBuy.enabled = false;
_root.buttonMapDutiesStudy._visible = false;
_root.buttonMapDutiesStudy.enabled = false;
_root.buttonMapDutiesGarden._visible = false;
_root.buttonMapDutiesGarden.enabled = false;
_root.buttonMapDutiesGarden.enabled = false;
_root.buttonMapDutiesRelax._visible = false;
_root.buttonMapDutiesRelax.enabled = false;
_root.buttonMapDutiesInvigorate._visible = false;
_root.buttonMapDutiesInvigorate.enabled = false;
if (!_global.mapAreaUp) {
showMap();
}
};
showMap = function (x) {
trace("showMap now");
_global.showMapUp = true;
_root.changeMaxedAlert.gotoAndStop(1);
if (_global.musicOn && (_global.mySound.duration != 32418)) {
_global.mySound.stop();
_global.mySound.attachSound("musicDusk");
_global.mySound.start(0, 999);
}
if (((((((mySasuke.level > 0) || (myNaruto.level > 0)) || (myLee.level > 0)) || (mySakura.charm == 99)) || (mySakura.strength == 99)) || (mySakura.chakra == 99)) || (mySakura.intell == 99)) {
_root.changeBlankPost.gotoAndStop(2);
}
_root.changePost.gotoAndStop(2);
_root.changeSetting.gotoAndStop(6);
_root.buttonMapBridge.enabled = true;
_root.buttonMapBridge._visible = true;
_root.buttonMapElementarySchool.enabled = true;
_root.buttonMapElementarySchool._visible = true;
_root.buttonMapFlowerShop._visible = true;
_root.buttonMapFlowerShop.enabled = true;
_root.buttonMapTownHall._visible = true;
_root.buttonMapTownHall.enabled = true;
_root.buttonMapTrainingGrounds._visible = true;
_root.buttonMapTrainingGrounds.enabled = true;
_root.buttonMapHome._visible = true;
_root.buttonMapHome.enabled = true;
_root.buttonMapShop._visible = true;
_root.buttonMapShop.enabled = true;
_root.buttonMapGym._visible = true;
_root.buttonMapGym.enabled = true;
_root.buttonMapForest._visible = true;
_root.buttonMapForest.enabled = true;
_root.buttonMapSprings._visible = true;
_root.buttonMapSprings.enabled = true;
if (mySakura.intell == 99) {
_root.buttonMapRiver._visible = true;
_root.buttonMapRiver.enabled = true;
}
if (mySakura.chakra == 99) {
_root.buttonMapBathHouse._visible = true;
_root.buttonMapBathHouse.enabled = true;
}
if (mySakura.strength == 99) {
_root.buttonMapPlains._visible = true;
_root.buttonMapPlains.enabled = true;
}
if (mySakura.charm == 99) {
_root.buttonMapAlley._visible = true;
_root.buttonMapAlley.enabled = true;
}
if (mySasuke.level >= 1) {
_root.buttonMapSasukePlace._visible = true;
_root.buttonMapSasukePlace.enabled = true;
}
if (myLee.level >= 1) {
_root.buttonMapLeePlace._visible = true;
_root.buttonMapLeePlace.enabled = true;
}
if (myNaruto.level >= 1) {
_root.buttonMapNarutoPlace._visible = true;
_root.buttonMapNarutoPlace.enabled = true;
}
_root.buttonBack.enabled = false;
_root.buttonBack._visible = false;
};
closeMap = function (x) {
trace("closeMap now");
_global.myMusicDusk.stop();
if ((!showMenuUp) && (!showInfoUp)) {
_global.showMapUp = false;
}
_root.changePost.gotoAndStop(1);
_root.changePostII.gotoAndStop(1);
_root.changeBlankPost.gotoAndStop(1);
_root.buttonMapBridge.enabled = false;
_root.buttonMapBridge._visible = false;
_root.buttonMapElementarySchool.enabled = false;
_root.buttonMapElementarySchool._visible = false;
_root.buttonMapFlowerShop._visible = false;
_root.buttonMapFlowerShop.enabled = false;
_root.buttonMapTownHall._visible = false;
_root.buttonMapTownHall.enabled = false;
_root.buttonMapTrainingGrounds._visible = false;
_root.buttonMapTrainingGrounds.enabled = false;
_root.buttonMapHome._visible = false;
_root.buttonMapHome.enabled = false;
_root.buttonMapShop._visible = false;
_root.buttonMapShop.enabled = false;
_root.buttonMapGym._visible = false;
_root.buttonMapGym.enabled = false;
_root.buttonMapForest._visible = false;
_root.buttonMapForest.enabled = false;
_root.buttonMapRiver._visible = false;
_root.buttonMapRiver.enabled = false;
_root.buttonMapBathHouse._visible = false;
_root.buttonMapBathHouse.enabled = false;
_root.buttonMapPlains._visible = false;
_root.buttonMapPlains.enabled = false;
_root.buttonMapAlley._visible = false;
_root.buttonMapAlley.enabled = false;
_root.buttonMapSasukePlace._visible = false;
_root.buttonMapSasukePlace.enabled = false;
_root.buttonMapLeePlace._visible = false;
_root.buttonMapLeePlace.enabled = false;
_root.buttonMapNarutoPlace._visible = false;
_root.buttonMapNarutoPlace.enabled = false;
_root.buttonMapSprings._visible = false;
_root.buttonMapSprings.enabled = false;
};
showStat = function (x) {
trace("showStat now");
_global.showStatUp = true;
_root.changeSetting.gotoAndStop(11);
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_root.buttonStatCharmLess._visible = true;
_root.buttonStatCharmLess.enabled = true;
_root.buttonStatCharmMore._visible = true;
_root.buttonStatCharmMore.enabled = true;
_root.buttonStatIntellLess._visible = true;
_root.buttonStatIntellLess.enabled = true;
_root.buttonStatIntellMore._visible = true;
_root.buttonStatIntellMore.enabled = true;
_root.buttonStatStrengthLess._visible = true;
_root.buttonStatStrengthLess.enabled = true;
_root.buttonStatStrengthMore._visible = true;
_root.buttonStatStrengthMore.enabled = true;
_root.buttonStatChakraLess._visible = true;
_root.buttonStatChakraLess.enabled = true;
_root.buttonStatChakraMore._visible = true;
_root.buttonStatChakraMore.enabled = true;
_global.showFieldStatPointsLeft();
_global.showFieldStatCharm();
_global.showFieldStatIntell();
_global.showFieldStatStrength();
_global.showFieldStatChakra();
};
closeStat = function (x) {
trace("closeStat now");
_root.changeSetting.gotoAndStop(1);
_root.buttonStatCharmLess._visible = false;
_root.buttonStatCharmLess.enabled = false;
_root.buttonStatCharmMore._visible = false;
_root.buttonStatCharmMore.enabled = false;
_root.buttonStatIntellLess._visible = false;
_root.buttonStatIntellLess.enabled = false;
_root.buttonStatIntellMore._visible = false;
_root.buttonStatIntellMore.enabled = false;
_root.buttonStatStrengthLess._visible = false;
_root.buttonStatStrengthLess.enabled = false;
_root.buttonStatStrengthMore._visible = false;
_root.buttonStatStrengthMore.enabled = false;
_root.buttonStatChakraLess._visible = false;
_root.buttonStatChakraLess.enabled = false;
_root.buttonStatChakraMore._visible = false;
_root.buttonStatChakraMore.enabled = false;
_global.closeFieldStatPointsLeft();
_global.closeFieldStatCharm();
_global.closeFieldStatIntell();
_global.closeFieldStatStrength();
_global.closeFieldStatChakra();
};
_global.showQuestion = function (x) {
trace("SHOWQUESTION NOW");
_global.showQuestionUp = true;
_global.closeVisitMenu();
if ((_global.musicOn && (_global.mySound.duration == 32418)) && (!_global.visitMenuUp)) {
_global.mySound.stop();
_global.mySound.attachSound("musicLoneliness");
_global.mySound.start(0, 999);
}
_root.buttonSakura.enabled = false;
_root.buttonChoice1._visible = true;
_root.buttonChoice1.enabled = true;
_root.buttonChoice2._visible = true;
_root.buttonChoice2.enabled = true;
_root.buttonChoice3._visible = true;
_root.buttonChoice3.enabled = true;
_root.buttonBackII.enabled = true;
_root.buttonBackII._visible = true;
if (x != 7) {
trace("PREGEN!!!!");
_global.queNum = myQue.generateQue(x);
trace("Generated!!!!");
myQue.displayQue(_global.queNum);
_root.changeBasic.gotoAndStop(2);
_root.barHeartsDate.gotoAndStop(_global.dateObj.mood + 2);
_root.changeExclaim.gotoAndStop(_global.dateExclaim + 1);
_root.changeDate.gotoAndStop(_global.dateNum + 1);
_root.changePortrait.gotoAndStop((_global.dateNum * _global.dateNum) + _global.dateMood);
} else {
myQue.displayQueShika();
_root.changePortrait.gotoAndStop(21);
_root.changeBasic.gotoAndStop(4);
}
};
closeQuestion = function (x) {
trace("closeQuestion now");
if (!showMenuUp) {
_global.showQuestionUp = false;
}
_root.changeBasic.gotoAndStop(1);
_root.buttonChoice1._visible = false;
_root.buttonChoice1.enabled = false;
_root.buttonChoice2._visible = false;
_root.buttonChoice2.enabled = false;
_root.buttonChoice3._visible = false;
_root.buttonChoice3.enabled = false;
_global.closeFieldQue();
_global.closeFieldQueChoiceOne();
_global.closeFieldQueChoiceTwo();
_global.closeFieldQueChoiceThree();
_root.barHeartsDate.gotoAndStop(1);
_root.changeExclaim.gotoAndStop(1);
_root.changeDate.gotoAndStop(1);
_root.changePortrait.gotoAndStop(1);
_root.buttonBackII._visible = false;
_root.buttonBackII.enabled = false;
_root.barSpar.gotoAndStop(1);
};
_global.showSale = function (x) {
trace("showSale now");
_global.showSaleUp = true;
_global.showFieldItemSaleMoneyLeft();
if (_global.mapArea == 6) {
_root.buttonItemSaleRamen._visible = true;
_root.buttonItemSaleRamen.enabled = true;
_root.buttonItemSaleShuriken._visible = true;
_root.buttonItemSaleShuriken.enabled = true;
_root.buttonItemSaleBandages._visible = true;
_root.buttonItemSaleBandages.enabled = true;
_root.itemSaleRamen.gotoAndStop(2);
_root.itemSaleShurikens.gotoAndStop(2);
_root.itemSaleBandages.gotoAndStop(2);
_root.itemSaleText100.gotoAndStop(2);
if (_global.ramenBought) {
_root.buttonItemSaleHat._visible = true;
_root.buttonItemSaleHat.enabled = true;
_root.itemSaleHat.gotoAndStop(2);
}
if (_global.shurikensBought) {
_root.buttonItemSaleKunaiPouch._visible = true;
_root.buttonItemSaleKunaiPouch.enabled = true;
_root.itemSaleKunaiPouch.gotoAndStop(2);
}
if (_global.bandagesBought) {
_root.buttonItemSaleJumpsuit._visible = true;
_root.buttonItemSaleJumpsuit.enabled = true;
_root.itemSaleJumpsuit.gotoAndStop(2);
}
if ((_global.ramenBought || (_global.shurikensBought)) || (_global.bandagesBought)) {
_root.itemSaleText200.gotoAndStop(2);
}
}
if (_global.mapArea == 7) {
_root.buttonItemSaleWindmill._visible = true;
_root.buttonItemSaleWindmill.enabled = true;
_root.itemSaleWindmill.gotoAndStop(2);
_root.itemSaleText300.gotoAndStop(2);
}
if (_global.mapArea == 8) {
_root.buttonItemSaleComecome._visible = true;
_root.buttonItemSaleComecome.enabled = true;
_root.itemSaleComecome.gotoAndStop(2);
_root.itemSaleText300.gotoAndStop(2);
}
if (_global.mapArea == 9) {
_root.buttonItemSaleLotus._visible = true;
_root.buttonItemSaleLotus.enabled = true;
_root.itemSaleLotus.gotoAndStop(2);
_root.itemSaleText300.gotoAndStop(2);
}
if (_global.mapArea == 10) {
_root.buttonItemSaleSake._visible = true;
_root.buttonItemSaleSake.enabled = true;
_root.itemSaleSake.gotoAndStop(2);
_root.itemSaleText300.gotoAndStop(2);
}
_root.buttonMapDutiesBuy._visible = false;
_root.buttonMapDutiesBuy.enabled = false;
};
_global.closeSale = function (x) {
trace("closeSale now");
_global.closeFieldItemSaleMoneyLeft();
_root.buttonItemSaleRamen._visible = false;
_root.buttonItemSaleRamen.enabled = false;
_root.buttonItemSaleShuriken._visible = false;
_root.buttonItemSaleShuriken.enabled = false;
_root.buttonItemSaleBandages._visible = false;
_root.buttonItemSaleBandages.enabled = false;
_root.buttonItemSaleHat._visible = false;
_root.buttonItemSaleHat.enabled = false;
_root.buttonItemSaleKunaiPouch._visible = false;
_root.buttonItemSaleKunaiPouch.enabled = false;
_root.buttonItemSaleJumpsuit._visible = false;
_root.buttonItemSaleJumpsuit.enabled = false;
_root.buttonItemSaleWindmill._visible = false;
_root.buttonItemSaleWindmill.enabled = false;
_root.buttonItemSaleComecome._visible = false;
_root.buttonItemSaleComecome.enabled = false;
_root.buttonItemSaleLotus._visible = false;
_root.buttonItemSaleLotus.enabled = false;
_root.buttonItemSaleSake._visible = false;
_root.buttonItemSaleSake.enabled = false;
_root.itemSaleRamen.gotoAndStop(1);
_root.itemSaleShurikens.gotoAndStop(1);
_root.itemSaleBandages.gotoAndStop(1);
_root.itemSaleHat.gotoAndStop(1);
_root.itemSaleKunaiPouch.gotoAndStop(1);
_root.itemSaleJumpsuit.gotoAndStop(1);
_root.itemSaleWindmill.gotoAndStop(1);
_root.itemSaleComecome.gotoAndStop(1);
_root.itemSaleLotus.gotoAndStop(1);
_root.itemSaleSake.gotoAndStop(1);
_root.itemSaleText100.gotoAndStop(1);
_root.itemSaleText200.gotoAndStop(1);
_root.itemSaleText300.gotoAndStop(1);
};
_global.showVisitMenu = function (x) {
trace("showVisitMenu now");
_root.buttonBack._visible = false;
_root.buttonBack.enabled = false;
if (_global.mySound.duration == 32418) {
_global.mySound.stop();
_global.mySound.attachSound("musicLoneliness");
_global.mySound.start(0, 999);
}
_global.visitMenuUp = true;
closeQuestion();
_root.buttonBackII._visible = true;
_root.buttonBackII.enabled = true;
_root.barHeartsDate.gotoAndStop(_global.visitObj.mood + 2);
_root.changeDate.gotoAndStop(_global.visitNum + 1);
_global.showFieldQue("What do you want?");
if (_global.visitNum == 1) {
_root.changePortrait.gotoAndStop(2);
}
if (_global.visitNum == 2) {
_root.changePortrait.gotoAndStop(6);
}
if (_global.visitNum == 3) {
_root.changePortrait.gotoAndStop(10);
}
if (_global.visitObj.level == 1) {
_root.changeBasic.gotoAndStop(3);
_root.buttonDateTalk._visible = true;
_root.buttonDateTalk.enabled = true;
}
if (_global.visitObj.level == 2) {
_root.changeBasic.gotoAndStop(3);
_root.buttonDateTalk._visible = true;
_root.buttonDateTalk.enabled = true;
_root.buttonDateMission._visible = true;
_root.buttonDateMission.enabled = true;
}
if (_global.visitObj.level == 3) {
_root.changeBasic.gotoAndStop(3);
_root.buttonDateTalk._visible = true;
_root.buttonDateTalk.enabled = true;
_root.buttonDateMission._visible = true;
_root.buttonDateMission.enabled = true;
_root.buttonDateDate._visible = true;
_root.buttonDateDate.enabled = true;
}
if (_global.visitObj.level == 4) {
_root.changeBasic.gotoAndStop(3);
_root.buttonDateTalk._visible = true;
_root.buttonDateTalk.enabled = true;
_root.buttonDateMission._visible = true;
_root.buttonDateMission.enabled = true;
_root.buttonDateDate._visible = true;
_root.buttonDateDate.enabled = true;
_root.buttonDateOther._visible = true;
_root.buttonDateOther.enabled = true;
}
};
_global.closeVisitMenu = function (x) {
trace("CLOSEVISITMENU NOW");
_global.closeFieldQue();
_root.buttonBackII._visible = false;
_root.buttonBackII.enabled = false;
_root.changeBasic.gotoAndStop(1);
_root.barHeartsDate.gotoAndStop(1);
_root.changeDate.gotoAndStop(1);
_root.buttonDateTalk._visible = false;
_root.buttonDateTalk.enabled = false;
_root.buttonDateMission._visible = false;
_root.buttonDateMission.enabled = false;
_root.buttonDateDate._visible = false;
_root.buttonDateDate.enabled = false;
_root.buttonDateOther._visible = false;
_root.buttonDateOther.enabled = false;
};
_global.showSpar = function (x) {
trace("showSpar now");
_global.closeVisitMenu();
_root.buttonSakura.enabled = false;
_root.buttonChoice1._visible = true;
_root.buttonChoice1.enabled = true;
_root.buttonChoice2._visible = true;
_root.buttonChoice2.enabled = true;
_root.buttonChoice3._visible = true;
_root.buttonChoice3.enabled = true;
mySpar.generateSpar(_global.visitNum);
_root.changeBasic.gotoAndStop(4);
};
_global.showVersus = function (x) {
trace("showVersus now");
_global.showVersusUp = true;
if (_global.musicOn && (_global.mySound.duration == 36101)) {
_global.mySound.stop();
_global.mySound.attachSound("musicFighting");
_global.mySound.start(0, 999);
}
_global.closeVisitMenu();
_root.changePortrait.gotoAndStop(1);
closeSakura();
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
if (x == 1) {
_root.changeSetting.gotoAndStop(31);
}
if (x == 2) {
_root.changeSetting.gotoAndStop(32);
}
if (x == 3) {
_root.changeSetting.gotoAndStop(33);
}
};
_global.closeVersus = function (x) {
trace("closeVersus now");
showSakura();
showSpar(_global.visitNum);
_root.buttonBack._visible = false;
_root.buttonBack.enabled = false;
};
_global.showDateSelection = function (x) {
trace("showDateSelection now");
if (_global.musicOn) {
_global.mySound.stop();
_global.mySound.attachSound("musicSakura");
_global.mySound.start(0, 999);
}
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
closeVisitMenu();
closeSakura();
_root.changePortrait.gotoAndStop(1);
_root.changeSetting.gotoAndStop(34);
_root.buttonDateAreaWaterfall._visible = true;
_root.buttonDateAreaWaterfall.enabled = true;
_root.buttonDateAreaMountain._visible = true;
_root.buttonDateAreaMountain.enabled = true;
_root.buttonDateAreaForest._visible = true;
_root.buttonDateAreaForest.enabled = true;
_root.buttonDateAreaVillageStreets._visible = true;
_root.buttonDateAreaVillageStreets.enabled = true;
};
_global.closeDateSelection = function (x) {
trace("closeDateSelection now");
_root.buttonDateAreaWaterfall._visible = false;
_root.buttonDateAreaWaterfall.enabled = false;
_root.buttonDateAreaMountain._visible = false;
_root.buttonDateAreaMountain.enabled = false;
_root.buttonDateAreaForest._visible = false;
_root.buttonDateAreaForest.enabled = false;
_root.buttonDateAreaVillageStreets._visible = false;
_root.buttonDateAreaVillageStreets.enabled = false;
myDating.createDate(_global.visitNum);
};
_global.showStatIncrease = function (x) {
trace("showStatIncrease now");
if (x == 5) {
_root.changeSetting.gotoAndStop(43);
_root.changeMaxedAlert.gotoAndStop(1);
} else if (x == 6) {
_root.changeSetting.gotoAndStop(40);
} else {
_root.changeSetting.gotoAndStop(36);
}
_global.showFieldStatIncrease(x);
_global.showFieldStatIncreaseState(x);
_global.showFieldStatIncreaseUp = true;
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
closeMapDuties();
closeSakura();
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
};
_global.closeStatIncrease = function (x) {
trace("closeStatIncrease now");
_global.closeFieldStatIncrease();
_global.closeFieldStatIncreaseState();
showSakura();
closeMenu();
};
_global.showDateCharIncrease = function (x) {
trace("showDateCharIncrease now");
if (_global.musicOn) {
_global.mySound.stop();
_global.mySound.attachSound("musicOpeningLight");
_global.mySound.start(0, 1);
}
if (x == 1) {
_root.changeSetting.gotoAndStop(37);
} else if (x == 2) {
_root.changeSetting.gotoAndStop(38);
} else if (x == 3) {
_root.changeSetting.gotoAndStop(39);
}
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
closeSakura();
closeQuestion();
_global.showFieldDateCharIncreaseName(x);
_global.showFieldDateCharIncreaseLevel(x);
_global.showFieldDateCharIncreaseOptions(x);
};
_global.closeDateCharIncrease = function (x) {
trace("closeDateCharIncrease now");
_global.closeFieldDateCharIncreaseName();
_global.closeFieldDateCharIncreaseLevel();
_global.closeFieldDateCharIncreaseOptions();
_root.buttonBack._visible = false;
_root.buttonBack.enabled = false;
showSakura();
_global.showDateChar = 0;
if (_global.visitMenuUp) {
_global.visitQueUp = false;
_global.showVisitMenu();
_root.changeSetting.gotoAndStop(24 + _global.visitNum);
}
};
_global.showNextDay = function (x) {
trace("showNextDay now");
if (_global.musicOn) {
_global.mySound.stop();
_global.mySound.attachSound("musicMorn");
_global.mySound.start();
}
_global.showNextDayUp = true;
_root.daysBy.gotoAndPlay(2);
_root.daysBy.onEnterFrame = function () {
if (_root.daysBy._currentframe == 11) {
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
_global.showFieldNextDayName();
_global.showFieldNextDayNum();
_root.daysBy.gotoAndStop(11);
}
};
closeMapDuties();
closeSakura();
};
_global.closeNextDay = function (x) {
trace("closeNextDay now");
_root.buttonBack._visible = false;
_root.buttonBack.enabled = false;
_global.closeFieldNextDayName();
_global.closeFieldNextDayNum();
_root.daysBy.gotoAndStop(1);
if (mySakura.dayNum >= 51) {
trace("LOSER");
_global.showLoss();
} else {
showMap();
showSakura();
}
};
_global.showDateMenu = function (x) {
trace("showDateMenu now");
_root.changeMaxedAlert.gotoAndStop(1);
_global.dateAreaUp = true;
showSakura();
_root.buttonSakura.enabled = false;
if (_global.once && (_global.dateArea == _global.visitObj.datePlace)) {
_global.once = false;
myDating.dateMood = myDating.dateMood + 1;
}
_root.barHeartsDate.gotoAndStop(myDating.dateMood + 2);
_root.changeDate.gotoAndStop(_global.visitNum + 1);
_root.changeBasic.gotoAndStop(3);
if (_global.visitObj == mySasuke) {
if (_global.myDating.dateMood < 4) {
_root.changePortrait.gotoAndStop(2);
_root.changeExclaim.gotoAndStop(1);
} else {
_root.changePortrait.gotoAndStop(3);
_root.changeExclaim.gotoAndStop(1);
}
}
if (_global.visitObj == myLee) {
if (_global.myDating.dateMood < 4) {
_root.changePortrait.gotoAndStop(6);
_root.changeExclaim.gotoAndStop(1);
} else {
_root.changePortrait.gotoAndStop(7);
_root.changeExclaim.gotoAndStop(1);
}
}
if (_global.visitObj == myNaruto) {
if (_global.myDating.dateMood < 4) {
_root.changePortrait.gotoAndStop(10);
_root.changeExclaim.gotoAndStop(1);
} else {
_root.changePortrait.gotoAndStop(11);
_root.changeExclaim.gotoAndStop(1);
}
}
_global.showFieldQue("What do you want to do?");
_root.buttonBack._visible = false;
_root.buttonBack.enabled = false;
_root.buttonBackII._visible = true;
_root.buttonBackII.enabled = true;
_root.buttonDatingTalk._visible = true;
_root.buttonDatingTalk.enabled = true;
_root.buttonDatingPresent._visible = true;
_root.buttonDatingPresent.enabled = true;
_root.buttonDatingKiss._visible = true;
_root.buttonDatingKiss.enabled = true;
_root.buttonDatingFlirt._visible = true;
_root.buttonDatingFlirt.enabled = true;
};
_global.closeDateMenu = function (x) {
trace("closeDateMenu now");
_root.buttonSakura.enabled = false;
_root.buttonDatingTalk._visible = false;
_root.buttonDatingTalk.enabled = false;
_root.buttonDatingPresent._visible = false;
_root.buttonDatingPresent.enabled = false;
_root.buttonDatingKiss._visible = false;
_root.buttonDatingKiss.enabled = false;
_root.buttonDatingFlirt._visible = false;
_root.buttonDatingFlirt.enabled = false;
};
_global.showPresent = function (x) {
trace("showPresent now");
_root.changePresentBase.gotoAndStop(2);
_root.changeBasic.gotoAndStop(2);
if (!_global.sparUp) {
_global.showPresentUp = true;
_global.closeDateMenu();
_global.showFieldQue("What could it be?");
}
if (mySakura.bandages > 0) {
_root.buttonPresentBandages._visible = true;
_root.buttonPresentBandages.enabled = true;
}
if (mySakura.comecomes > 0) {
_root.buttonPresentComecome._visible = true;
_root.buttonPresentComecome.enabled = true;
}
if (mySakura.hats > 0) {
_root.buttonPresentHat._visible = true;
_root.buttonPresentHat.enabled = true;
}
if (mySakura.jumpsuits > 0) {
_root.buttonPresentJumpsuit._visible = true;
_root.buttonPresentJumpsuit.enabled = true;
}
if (mySakura.kunaiPouches > 0) {
_root.buttonPresentKunaiPouch._visible = true;
_root.buttonPresentKunaiPouch.enabled = true;
}
if (mySakura.lotuses > 0) {
_root.buttonPresentLotus._visible = true;
_root.buttonPresentLotus.enabled = true;
}
if (mySakura.ramens > 0) {
_root.buttonPresentRamen._visible = true;
_root.buttonPresentRamen.enabled = true;
}
if (mySakura.sakes > 0) {
_root.buttonPresentSake._visible = true;
_root.buttonPresentSake.enabled = true;
}
if (mySakura.Shurikens > 0) {
_root.buttonPresentShuriken._visible = true;
_root.buttonPresentShuriken.enabled = true;
}
if (mySakura.windmills > 0) {
_root.buttonPresentWindmill._visible = true;
_root.buttonPresentWindmill.enabled = true;
}
};
_global.closePresent = function () {
trace("closePresent now");
_root.changePresentBase.gotoAndStop(1);
_root.buttonPresentWindmill._visible = false;
_root.buttonPresentWindmill.enabled = false;
_root.buttonPresentRamen._visible = false;
_root.buttonPresentRamen.enabled = false;
_root.buttonPresentShuriken._visible = false;
_root.buttonPresentShuriken.enabled = false;
_root.buttonPresentBandages._visible = false;
_root.buttonPresentBandages.enabled = false;
_root.buttonPresentHat._visible = false;
_root.buttonPresentHat.enabled = false;
_root.buttonPresentKunaiPouch._visible = false;
_root.buttonPresentKunaiPouch.enabled = false;
_root.buttonPresentComecome._visible = false;
_root.buttonPresentComecome.enabled = false;
_root.buttonPresentJumpsuit._visible = false;
_root.buttonPresentJumpsuit.enabled = false;
_root.buttonPresentLotus._visible = false;
_root.buttonPresentLotus.enabled = false;
_root.buttonPresentSake._visible = false;
_root.buttonPresentSake.enabled = false;
};
_global.showDatingQuestion = function () {
trace("showDatingQuestion now");
closeDateMenu();
_global.datingQueUp = true;
_root.buttonSakura.enabled = false;
_root.buttonChoice1._visible = true;
_root.buttonChoice1.enabled = true;
_root.buttonChoice2._visible = true;
_root.buttonChoice2.enabled = true;
_root.buttonChoice3._visible = true;
_root.buttonChoice3.enabled = true;
_root.changeBasic.gotoAndStop(2);
_root.buttonBackII._visible = false;
_root.buttonBackII.enabled = false;
_global.datingQueNum = myDating.generateDatingQue(_global.visitNum);
myDating.displayDatingQue(_global.datingQueNum);
_root.barHeartsDate.gotoAndStop(_global.myDating.dateMood + 2);
_root.changeExclaim.gotoAndStop(_global.dateExclaim + 1);
_root.changeDate.gotoAndStop(_global.visitNum + 1);
_root.changePortrait.gotoAndStop((_global.visitNum * _global.visitNum) + _global.dateMood);
};
_global.showLoss = function () {
_root.changePortrait.gotoAndStop(1);
_global.closeFieldNextDayName();
_global.closeFieldNextDayNum();
_root.changeSetting.gotoAndStop(45);
_global.showQuestion(7);
_root.buttonBackII._visible = false;
_root.buttonBackII.enabled = false;
_global.visitNum = 7;
};
_root.buttonStart.onRelease = function () {
_global.mySakura = new sakuraObj();
_global.mySasuke = new sasukeObj();
_global.myNaruto = new narutoObj();
_global.myLee = new leeObj();
_global.myQue = new queObj();
_global.mySpar = new sparObj();
_global.myDating = new datingObj();
_global.dateObj;
_global.windmillGiven = false;
_global.lotusGiven = false;
_global.comeComeGiven = false;
_global.once = true;
_global.starting = true;
_global.showDateChar = 0;
_global.showBeginTwoUp = true;
_global.theEnd = false;
_root.buttonStart._visible = false;
_root.buttonStart.enabled = false;
_root.buttonMusic._visible = false;
_root.buttonMusic.enabled = false;
_root.musicOnOff.gotoAndStop(1);
_root.plan.gotoAndPlay(2);
someListener = new Object();
someListener.onMouseUp = function () {
_root.plan.gotoAndStop(155);
};
Mouse.addListener(someListener);
};
_root.buttonMusic.onPress = function () {
_global.musicOn = !_global.musicOn;
if (_global.musicOn) {
_global.mySound = new Sound();
_global.mySound.attachSound("musicOpeningLight");
_global.mySound.start(0, 999);
_root.musicOnOff.gotoAndStop(2);
} else {
_global.mySound.stop();
_root.musicOnOff.gotoAndStop(3);
}
};
_global.doFirst = function () {
trace("DO FIRST()");
_global.mySound.stop();
_root.buttonSakura._visible = false;
_root.buttonSakura.enabled = false;
_root.buttonBack._visible = false;
_root.buttonBack.enabled = false;
_root.buttonBackII._visible = false;
_root.buttonBackII.enabled = false;
_root.buttonReplay._visible = false;
_root.buttonReplay.enabled = false;
_root.buttonChoice1._visible = false;
_root.buttonChoice1.enabled = false;
_root.buttonChoice2._visible = false;
_root.buttonChoice2.enabled = false;
_root.buttonChoice3._visible = false;
_root.buttonChoice3.enabled = false;
_root.buttonMapBridge._visible = false;
_root.buttonMapBridge.enabled = false;
_root.buttonMapElementarySchool._visible = false;
_root.buttonMapElementarySchool.enabled = false;
_root.buttonMapFlowerShop._visible = false;
_root.buttonMapFlowerShop.enabled = false;
_root.buttonMapTownHall._visible = false;
_root.buttonMapTownHall.enabled = false;
_root.buttonMapTrainingGrounds._visible = false;
_root.buttonMapTrainingGrounds.enabled = false;
_root.buttonMapHome._visible = false;
_root.buttonMapHome.enabled = false;
_root.buttonMapShop._visible = false;
_root.buttonMapShop.enabled = false;
_root.buttonMapGym._visible = false;
_root.buttonMapGym.enabled = false;
_root.buttonMapForest._visible = false;
_root.buttonMapForest.enabled = false;
_root.buttonMapRiver._visible = false;
_root.buttonMapRiver.enabled = false;
_root.buttonMapBathHouse._visible = false;
_root.buttonMapBathHouse.enabled = false;
_root.buttonMapPlains._visible = false;
_root.buttonMapPlains.enabled = false;
_root.buttonMapAlley._visible = false;
_root.buttonMapAlley.enabled = false;
_root.buttonMapSasukePlace._visible = false;
_root.buttonMapSasukePlace.enabled = false;
_root.buttonMapLeePlace._visible = false;
_root.buttonMapLeePlace.enabled = false;
_root.buttonMapNarutoPlace._visible = false;
_root.buttonMapNarutoPlace.enabled = false;
_root.buttonMapSprings._visible = false;
_root.buttonMapSprings.enabled = false;
_root.buttonMapDutiesTeach._visible = false;
_root.buttonMapDutiesTeach.enabled = false;
_root.buttonMapDutiesCashier._visible = false;
_root.buttonMapDutiesCashier.enabled = false;
_root.buttonMapDutiesDMission._visible = false;
_root.buttonMapDutiesDMission.enabled = false;
_root.buttonMapDutiesChakraTraining._visible = false;
_root.buttonMapDutiesChakraTraining.enabled = false;
_root.buttonMapDutiesStrengthTraining._visible = false;
_root.buttonMapDutiesStrengthTraining.enabled = false;
_root.buttonMapDutiesSleep._visible = false;
_root.buttonMapDutiesSleep.enabled = false;
_root.buttonMapDutiesBuy._visible = false;
_root.buttonMapDutiesBuy.enabled = false;
_root.buttonMapDutiesStudy._visible = false;
_root.buttonMapDutiesStudy.enabled = false;
_root.buttonMapDutiesGarden._visible = false;
_root.buttonMapDutiesGarden.enabled = false;
_root.buttonMapDutiesRelax._visible = false;
_root.buttonMapDutiesRelax.enabled = false;
_root.buttonMapDutiesInvigorate._visible = false;
_root.buttonMapDutiesInvigorate.enabled = false;
_root.buttonCharNaruto._visible = false;
_root.buttonCharNaruto.enabled = false;
_root.buttonCharSasuke._visible = false;
_root.buttonCharSasuke.enabled = false;
_root.buttonCharLee._visible = false;
_root.buttonCharLee.enabled = false;
_root.buttonInfo._visible = false;
_root.buttonInfo.enabled = false;
_root.buttonItemBandages._visible = false;
_root.buttonItemBandages.enabled = false;
_root.buttonItemComecome._visible = false;
_root.buttonItemComecome.enabled = false;
_root.buttonItemHat._visible = false;
_root.buttonItemHat.enabled = false;
_root.buttonItemJumpsuit._visible = false;
_root.buttonItemJumpsuit.enabled = false;
_root.buttonItemKunaiPouch._visible = false;
_root.buttonItemKunaiPouch.enabled = false;
_root.buttonItemLotus._visible = false;
_root.buttonItemLotus.enabled = false;
_root.buttonItemRamen._visible = false;
_root.buttonItemRamen.enabled = false;
_root.buttonItemSake._visible = false;
_root.buttonItemSake.enabled = false;
_root.buttonItemShuriken._visible = false;
_root.buttonItemShuriken.enabled = false;
_root.buttonItemWindmill._visible = false;
_root.buttonItemWindmill.enabled = false;
_root.buttonItemSaleRamen._visible = false;
_root.buttonItemSaleRamen.enabled = false;
_root.buttonItemSaleShuriken._visible = false;
_root.buttonItemSaleShuriken.enabled = false;
_root.buttonItemSaleBandages._visible = false;
_root.buttonItemSaleBandages.enabled = false;
_root.buttonItemSaleHat._visible = false;
_root.buttonItemSaleHat.enabled = false;
_root.buttonItemSaleKunaiPouch._visible = false;
_root.buttonItemSaleKunaiPouch.enabled = false;
_root.buttonItemSaleJumpsuit._visible = false;
_root.buttonItemSaleJumpsuit.enabled = false;
_root.buttonItemSaleWindmill._visible = false;
_root.buttonItemSaleWindmill.enabled = false;
_root.buttonItemSaleComecome._visible = false;
_root.buttonItemSaleComecome.enabled = false;
_root.buttonItemSaleLotus._visible = false;
_root.buttonItemSaleLotus.enabled = false;
_root.buttonItemSaleSake._visible = false;
_root.buttonItemSaleSake.enabled = false;
_root.buttonPresentWindmill._visible = false;
_root.buttonPresentWindmill.enabled = false;
_root.buttonPresentRamen._visible = false;
_root.buttonPresentRamen.enabled = false;
_root.buttonPresentShuriken._visible = false;
_root.buttonPresentShuriken.enabled = false;
_root.buttonPresentBandages._visible = false;
_root.buttonPresentBandages.enabled = false;
_root.buttonPresentHat._visible = false;
_root.buttonPresentHat.enabled = false;
_root.buttonPresentKunaiPouch._visible = false;
_root.buttonPresentKunaiPouch.enabled = false;
_root.buttonPresentComecome._visible = false;
_root.buttonPresentComecome.enabled = false;
_root.buttonPresentJumpsuit._visible = false;
_root.buttonPresentJumpsuit.enabled = false;
_root.buttonPresentLotus._visible = false;
_root.buttonPresentLotus.enabled = false;
_root.buttonPresentSake._visible = false;
_root.buttonPresentSake.enabled = false;
_root.buttonStatCharmLess._visible = false;
_root.buttonStatCharmLess.enabled = false;
_root.buttonStatCharmMore._visible = false;
_root.buttonStatCharmMore.enabled = false;
_root.buttonStatIntellLess._visible = false;
_root.buttonStatIntellLess.enabled = false;
_root.buttonStatIntellMore._visible = false;
_root.buttonStatIntellMore.enabled = false;
_root.buttonStatStrengthLess._visible = false;
_root.buttonStatStrengthLess.enabled = false;
_root.buttonStatStrengthMore._visible = false;
_root.buttonStatStrengthMore.enabled = false;
_root.buttonStatChakraLess._visible = false;
_root.buttonStatChakraLess.enabled = false;
_root.buttonStatChakraMore._visible = false;
_root.buttonStatChakraMore.enabled = false;
_root.buttonDateTalk._visible = false;
_root.buttonDateTalk.enabled = false;
_root.buttonDateMission._visible = false;
_root.buttonDateMission.enabled = false;
_root.buttonDateDate._visible = false;
_root.buttonDateDate.enabled = false;
_root.buttonDateOther._visible = false;
_root.buttonDateOther.enabled = false;
_root.buttonDateAreaWaterfall._visible = false;
_root.buttonDateAreaWaterfall.enabled = false;
_root.buttonDateAreaMountain._visible = false;
_root.buttonDateAreaMountain.enabled = false;
_root.buttonDateAreaForest._visible = false;
_root.buttonDateAreaForest.enabled = false;
_root.buttonDateAreaVillageStreets._visible = false;
_root.buttonDateAreaVillageStreets.enabled = false;
_root.buttonDatingTalk._visible = false;
_root.buttonDatingTalk.enabled = false;
_root.buttonDatingPresent._visible = false;
_root.buttonDatingPresent.enabled = false;
_root.buttonDatingKiss._visible = false;
_root.buttonDatingKiss.enabled = false;
_root.buttonDatingFlirt._visible = false;
_root.buttonDatingFlirt.enabled = false;
_root.itemBandages.gotoAndStop(1);
_root.itemComecome.gotoAndStop(1);
_root.itemHat.gotoAndStop(1);
_root.itemJumpsuit.gotoAndStop(1);
_root.itemKunaiPouch.gotoAndStop(1);
_root.itemLotus.gotoAndStop(1);
_root.itemRamen.gotoAndStop(1);
_root.itemSake.gotoAndStop(1);
_root.itemShurikens.gotoAndStop(1);
_root.itemWindmill.gotoAndStop(1);
_root.itemSaleRamen.gotoAndStop(1);
_root.itemSaleShurikens.gotoAndStop(1);
_root.itemSaleBandages.gotoAndStop(1);
_root.itemSaleHat.gotoAndStop(1);
_root.itemSaleKunaiPouch.gotoAndStop(1);
_root.itemSaleJumpsuit.gotoAndStop(1);
_root.itemSaleWindmill.gotoAndStop(1);
_root.itemSaleComecome.gotoAndStop(1);
_root.itemSaleLotus.gotoAndStop(1);
_root.itemSaleSake.gotoAndStop(1);
_root.itemSaleText100.gotoAndStop(1);
_root.itemSaleText200.gotoAndStop(1);
_root.itemSaleText300.gotoAndStop(1);
_root.dataItemBandages.gotoAndStop(1);
_root.dataItemComecome.gotoAndStop(1);
_root.dataItemHat.gotoAndStop(1);
_root.dataItemJumpsuit.gotoAndStop(1);
_root.dataItemWindmill.gotoAndStop(1);
_root.dataItemSake.gotoAndStop(1);
_root.dataItemShurikens.gotoAndStop(1);
_root.dataItemRamen.gotoAndStop(1);
_root.dataItemLotus.gotoAndStop(1);
_root.dataItemKunaiPouch.gotoAndStop(1);
_root.dataCharSasuke.gotoAndStop(1);
_root.dataCharNaruto.gotoAndStop(1);
_root.dataCharLee.gotoAndStop(1);
_root.changePresentBase.gotoAndStop(1);
_root.changePost.gotoAndStop(1);
_root.changePostII.gotoAndStop(1);
_root.changeBlankPost.gotoAndStop(1);
_root.changeBasic.gotoAndStop(1);
_root.changePortrait.gotoAndStop(1);
_root.changeSetting.gotoAndStop(5);
_root.changeExclaim.gotoAndStop(1);
_root.changeMaxedAlert.gotoAndStop(1);
_root.changeDate.gotoAndStop(1);
_root.barChakra.gotoAndStop(7);
_root.barEnergy.gotoAndStop(12);
_root.barEnergySub.gotoAndStop(12);
_root.barSpar.gotoAndStop(1);
_root.barHeartsDate.gotoAndStop(1);
_root.barHeartsData.gotoAndStop(1);
_root.barHeartsSasuke.gotoAndStop(1);
_root.barHeartsLee.gotoAndStop(1);
_root.barHeartsNaruto.gotoAndStop(1);
_root.barinterest.gotoAndStop(1);
_root.barOptions.gotoAndStop(1);
_root.barRelation.gotoAndStop(1);
_root.sheetBase.gotoAndStop(1);
_root.sheetSub.gotoAndStop(1);
_root.kissSasuke.gotoAndStop(1);
_root.kissNaruto.gotoAndStop(1);
_root.kissLee.gotoAndStop(1);
_root.flirty.gotoAndStop(1);
_root.daysBy.gotoAndStop(1);
_root.credits.gotoAndStop(1);
_root.plan.gotoAndStop(1);
_root.fadeBlack.gotoAndStop(1);
_root.fuckSasuke.gotoAndStop(1);
_root.fuckSasuke.topFuckSasuke.gotoAndStop(1);
_root.fuckSasuke.topFuck2Sasuke.gotoAndStop(1);
_root.fuckSasuke._visible = false;
_root.fuckLee.gotoAndStop(1);
_root.fuckLee.first.gotoAndStop(1);
_root.fuckLee.hentaiBr.gotoAndStop(1);
_root.fuckLee._visible = false;
_root.fuckNaruto.gotoAndStop(1);
_root.fuckShika.gotoAndStop(1);
_root.introComplete.gotoAndStop(1);
_root.buttonStart._visible = false;
_root.buttonStart.enabled = false;
_root.buttonMusic._visible = false;
_root.buttonMusic.enabled = false;
_root.musicOnOff.gotoAndStop(1);
_global.mySound = new Sound();
_global.musicOn = true;
};
_global.doSecond = function () {
_root.introComplete.gotoAndPlay(2);
someListener = new Object();
someListener.onMouseUp = function () {
_root.introComplete.gotoAndStop(221);
};
Mouse.addListener(someListener);
_root.introComplete.onEnterFrame = function () {
if (_root.introComplete._currentframe == 86) {
_global.mySound.attachSound("musicHeavy");
_global.mySound.start(0, 0);
}
if (_root.introComplete._currentframe == 221) {
trace("INTRO COMPLETED");
_root.introComplete.gotoAndStop(1);
_root.buttonStart._visible = true;
_root.buttonStart.enabled = true;
_root.buttonMusic._visible = true;
_root.buttonMusic.enabled = true;
_root.musicOnOff.gotoAndStop(2);
_global.mySound.stop();
_global.mySound.attachSound("musicOpeningLight");
_global.mySound.start(0, 999);
Mouse.removeListener(someListener);
}
};
};
_root.plan.onEnterFrame = function () {
if (_root.plan._currentframe == 155) {
_root.plan.gotoAndStop(1);
_root.changeSetting.gotoAndStop(8);
_root.buttonBack._visible = true;
_root.buttonBack.enabled = true;
Mouse.removeListener(someListener);
}
};
function narutoObj() {
this.mood = 2;
this.level = 0;
this.expCurr = 0;
this.expLeft = 500;
this.currentHP = 100;
this.strength = 60;
this.intell = 30;
this.chakra = 60;
this.charm = 50;
this.datePlace = 0;
}
narutoObj.prototype.experience = function (x) {
this.expCurr = this.expCurr + x;
if (((this.expCurr >= 500) && (this.level < 1)) && (this.mood == 5)) {
this.level = 1;
this.expLeft = 1000;
_global.showDateChar = 3;
}
if (((this.expCurr >= 1000) && (this.level < 2)) && (this.mood == 5)) {
this.level = 2;
this.expLeft = 2000;
_global.showDateChar = 3;
}
if (((this.expCurr >= 2000) && (this.level < 3)) && (this.mood == 5)) {
this.level = 3;
this.expLeft = 4000;
_global.showDateChar = 3;
}
if ((((this.expCurr >= 4000) && (this.level < 4)) && (_global.comeComeGiven)) && (this.mood == 5)) {
this.level = 4;
this.expLeft = 0;
_global.showDateChar = 3;
}
};
narutoObj.prototype.getExp = function () {
return(this.expCurr);
};
narutoObj.prototype.getRelation = function () {
return(this.relation);
};
narutoObj.prototype.getMood = function () {
return(this.mood);
};
narutoObj.prototype.please = function () {
if (this.mood < 5) {
this.mood = this.mood + 1;
_root.hearts.gotoAndStop(this.mood + 1);
}
this.experience(100);
};
narutoObj.prototype.irritate = function () {
if (this.mood > 0) {
this.mood = this.mood - 1;
_root.hearts.gotoAndStop(this.mood + 1);
}
mySakura.currentHp = mySakura.currentHp - 10;
_root.energyBar.gotoAndStop((mySakura.currentHp / 10) + 1);
};
function leeObj() {
this.mood = 2;
this.level = 0;
this.expCurr = 0;
this.expLeft = 500;
this.currentHP = 100;
this.strength = 70;
this.intell = 40;
this.chakra = 50;
this.charm = 40;
this.datePlace = 0;
}
leeObj.prototype.experience = function (x) {
this.expCurr = this.expCurr + x;
if (((this.expCurr >= 500) && (this.level < 1)) && (this.mood == 5)) {
this.level = 1;
this.expLeft = 1000;
_global.showDateChar = 2;
}
if (((this.expCurr >= 1000) && (this.level < 2)) && (this.mood == 5)) {
this.level = 2;
this.expLeft = 2000;
_global.showDateChar = 2;
}
if (((this.expCurr >= 2000) && (this.level < 3)) && (this.mood == 5)) {
this.level = 3;
this.expLeft = 4000;
_global.showDateChar = 2;
}
if ((((this.expCurr >= 4000) && (this.level < 4)) && (_global.lotusGiven)) && (this.mood == 5)) {
this.level = 4;
this.expLeft = 0;
_global.showDateChar = 2;
}
};
leeObj.prototype.getExp = function () {
return(this.expCurr);
};
leeObj.prototype.getRelation = function () {
return(this.relation);
};
leeObj.prototype.getMood = function () {
return(this.mood);
};
leeObj.prototype.please = function () {
if (this.mood < 5) {
this.mood = this.mood + 1;
_root.hearts.gotoAndStop(this.mood + 1);
}
this.experience(100);
};
leeObj.prototype.irritate = function () {
if (this.mood > 0) {
this.mood = this.mood - 1;
_root.hearts.gotoAndStop(this.mood + 1);
}
mysakura.currentHp = mysakura.currentHp - 10;
_root.energyBar.gotoAndStop((mySakura.currentHp / 10) + 1);
};
function sasukeObj() {
this.mood = 2;
this.level = 0;
this.expCurr = 0;
this.expLeft = 500;
this.currentHP = 100;
this.strength = 50;
this.intell = 70;
this.chakra = 50;
this.charm = 30;
this.datePlace = 0;
}
sasukeObj.prototype.experience = function (x) {
this.expCurr = this.expCurr + x;
if (((this.expCurr >= 500) && (this.level < 1)) && (this.mood == 5)) {
this.level = 1;
this.expLeft = 1000;
_global.showDateChar = 1;
}
if (((this.expCurr >= 1000) && (this.level < 2)) && (this.mood == 5)) {
this.level = 2;
this.expLeft = 2000;
_global.showDateChar = 1;
}
if (((this.expCurr >= 2000) && (this.level < 3)) && (this.mood == 5)) {
this.level = 3;
this.expLeft = 4000;
_global.showDateChar = 1;
}
if ((((this.expCurr >= 4000) && (this.level < 4)) && (_global.windmillGiven)) && (this.mood == 5)) {
this.level = 4;
this.expLeft = 0;
_global.showDateChar = 1;
}
};
sasukeObj.prototype.getExp = function () {
return(this.expCurr);
};
sasukeObj.prototype.getRelation = function () {
return(this.relation);
};
sasukeObj.prototype.getMood = function () {
return(this.mood);
};
sasukeObj.prototype.please = function () {
if (this.mood < 5) {
this.mood = this.mood + 1;
_root.hearts.gotoAndStop(this.mood + 1);
}
this.experience(100);
};
sasukeObj.prototype.irritate = function () {
if (this.mood > 0) {
this.mood = this.mood - 1;
_root.hearts.gotoAndStop(this.mood + 1);
}
mySakura.currentHp = mySakura.currentHp - 10;
_root.energyBar.gotoAndStop((mySakura.currentHp / 10) + 1);
};
function sakuraObj() {
this.totalHP = 100;
this.currentHP = 100;
this.totalChakra = 1;
this.currentChakra = 1;
this.strength = 10;
this.intell = 10;
this.chakra = 10;
this.charm = 10;
this.dayName = "Monday";
this.dayNum = 1;
this.money = 100;
this.tempMoney = 0;
this.interest = 5;
this.statPoints = 20;
this.windmills = 0;
this.hats = 0;
this.comecomes = 0;
this.ramens = 0;
this.lotuses = 0;
this.bandages = 0;
this.jumpsuits = 0;
this.kunaiPouches = 0;
this.shurikens = 0;
this.sakes = 0;
}
sakuraObj.prototype.strengthUp = function () {
if ((this.currentHP >= 30) && (this.strength < 99)) {
this.strength = this.strength + this.randomStatGen();
this.currentHp = this.currentHp - 30;
if ((this.strength >= 50) && (this.totalHP == 100)) {
this.totalHP = this.totalHP + 100;
}
if (this.strength > 99) {
this.strength = 99;
}
_global.showStatIncrease(1);
} else if (this.strength == 99) {
_root.changeMaxedAlert.gotoAndStop(3);
}
};
sakuraObj.prototype.chakraUp = function () {
if ((this.currentHP >= 30) && (this.chakra < 99)) {
this.chakra = this.chakra + this.randomStatGen();
this.currentHp = this.currentHp - 30;
if ((this.chakra >= 20) && (this.chakra < 40)) {
this.totalChakra = 2;
} else if ((this.chakra >= 40) && (this.chakra < 60)) {
this.totalChakra = 3;
} else if ((this.chakra >= 60) && (this.chakra < 80)) {
this.totalChakra = 4;
} else if (this.chakra >= 80) {
this.totalChakra = 5;
}
if (this.chakra > 99) {
this.chakra = 99;
}
_global.showStatIncrease(2);
} else if (this.chakra == 99) {
_root.changeMaxedAlert.gotoAndStop(2);
}
};
sakuraObj.prototype.intellUp = function () {
if ((this.currentHP >= 30) && (this.intell < 99)) {
this.intell = this.intell + this.randomStatGen();
this.currentHp = this.currentHp - 30;
if (this.intell > 99) {
this.intell = 99;
}
_global.showStatIncrease(3);
} else if (this.intell == 99) {
_root.changeMaxedAlert.gotoAndStop(4);
}
};
sakuraObj.prototype.charmUp = function () {
if ((this.currentHP >= 30) && (this.charm < 99)) {
this.charm = this.charm + this.randomStatGen();
this.currentHp = this.currentHp - 30;
if (this.charm > 99) {
this.charm = 99;
}
_global.showStatIncrease(4);
} else if (this.charm == 99) {
_root.changeMaxedAlert.gotoAndStop(5);
}
};
sakuraObj.prototype.sleep = function () {
this.currentHP = this.totalHP;
this.currentChakra = this.totalChakra;
_global.showFieldNextDayName();
_global.showFieldNextDayNum();
this.forwardDay();
};
sakuraObj.prototype.DMission = function () {
if (this.currentHP >= 50) {
this.tempMoney = 2 * (this.chakra + this.strength);
this.money = this.money + this.tempMoney;
this.currentHp = this.currentHp - 50;
_global.showStatIncrease(5);
}
};
sakuraObj.prototype.teach = function () {
if (this.currentHP >= 30) {
this.tempMoney = 2 * this.intell;
this.money = this.money + this.tempMoney;
this.currentHp = this.currentHp - 30;
_global.showStatIncrease(5);
}
};
sakuraObj.prototype.cashier = function () {
if (this.currentHP >= 30) {
this.tempMoney = 2 * this.charm;
this.money = this.money + this.tempMoney;
this.currentHp = this.currentHp - 30;
_global.showStatIncrease(5);
}
};
sakuraObj.prototype.flirt = function () {
this.chakra = this.chakra - 1;
};
sakuraObj.prototype.date = function () {
this.chakra = this.chakra - 3;
};
sakuraObj.prototype.setInterest = function (x) {
this.interest = x;
};
sakuraObj.prototype.setCharm = function (x) {
if (((this.statPoints - x) >= 0) && ((this.charm + x) >= 0)) {
this.statPoints = this.statPoints - x;
this.charm = this.charm + x;
}
};
sakuraObj.prototype.setIntell = function (x) {
if (((this.statPoints - x) >= 0) && ((this.intell + x) >= 0)) {
this.statPoints = this.statPoints - x;
this.intell = this.intell + x;
}
};
sakuraObj.prototype.setStrength = function (x) {
if (((this.statPoints - x) >= 0) && ((this.strength + x) >= 0)) {
this.statPoints = this.statPoints - x;
this.strength = this.strength + x;
}
};
sakuraObj.prototype.setChakra = function (x) {
if (((this.statPoints - x) >= 0) && ((this.chakra + x) >= 0)) {
this.statPoints = this.statPoints - x;
this.chakra = this.chakra + x;
}
};
sakuraObj.prototype.forwardDay = function () {
this.advanceDay(1);
_global.showNextDay();
};
sakuraObj.prototype.advanceDay = function (x) {
this.dayNum = this.dayNum + x;
if ((this.dayNum % 7) == 0) {
this.dayName = "Sunday";
}
if ((this.dayNum % 7) == 1) {
this.dayName = "Monday";
}
if ((this.dayNum % 7) == 2) {
this.dayName = "Tuesday";
}
if ((this.dayNum % 7) == 3) {
this.dayName = "Wednesday";
}
if ((this.dayNum % 7) == 4) {
this.dayName = "Thursday";
}
if ((this.dayNum % 7) == 5) {
this.dayName = "Friday";
}
if ((this.dayNum % 7) == 6) {
this.dayName = "Saturday";
}
};
sakuraObj.prototype.buy = function (x) {
if ((x < 4) && (this.money >= 100)) {
if (x == 1) {
_global.ramenBought = true;
this.ramens++;
}
if (x == 2) {
_global.shurikensBought = true;
this.shurikens++;
}
if (x == 3) {
_global.bandagesBought = true;
this.bandages++;
}
this.money = this.money - 100;
}
if (((x > 3) && (x < 7)) && (this.money >= 200)) {
if (x == 4) {
this.hats++;
}
if (x == 5) {
this.kunaiPouches++;
}
if (x == 6) {
this.jumpsuits++;
}
this.money = this.money - 200;
}
if ((x > 6) && (this.money >= 300)) {
if (x == 7) {
this.windmills++;
}
if (x == 8) {
this.comecomes++;
}
if (x == 9) {
this.lotuses++;
}
if (x == 10) {
this.sakes++;
}
this.money = this.money - 300;
}
};
sakuraObj.prototype.damage = function (x) {
this.currentHP = this.currentHP - x;
if (this.currentHP < 0) {
this.currentHP = 0;
}
showSakura();
};
sakuraObj.prototype.useChakra = function (x) {
this.currentChakra = this.currentChakra - 1;
showSakura();
};
sakuraObj.prototype.invigorate = function (x) {
if ((this.currentChakra >= 1) && (this.currentHP <= (this.totalHP - 20))) {
this.currentChakra = this.currentChakra - 1;
this.currentHP = this.currentHP + 20;
_global.showStatIncrease(6);
}
};
sakuraObj.prototype.relax = function (x) {
if ((this.currentChakra < this.totalChakra) && (this.currentHP >= 20)) {
this.currentChakra = this.currentChakra + 1;
this.currentHP = this.currentHP - 20;
showSakura();
_global.showStatIncrease(6);
}
};
sakuraObj.prototype.randomStatGen = function () {
this.temp = Math.round(Math.random() / 0.1818181818);
while (((this.temp == 0) || (this.temp == 6)) || (this.temp == undefined)) {
this.temp = Math.round(Math.random() / 0.1818181818);
}
return(this.temp);
};
function datingObj(x) {
this.dateMood = 0;
this.correct;
this.wrong;
this.talks = 0;
}
datingObj.prototype.setCorrect = function (c) {
this.correct = c;
};
datingObj.prototype.setWrong = function (w) {
this.wrong = w;
};
datingObj.prototype.createDate = function (x) {
if (x == 1) {
trace("Sasuke date");
_root.changePortrait.gotoAndStop(2);
}
if (x == 2) {
trace("Lee date");
_root.changePortrait.gotoAndStop(6);
}
if (x == 3) {
trace("Naruto date");
_root.changePortrait.gotoAndStop(10);
}
_global.showDateMenu();
};
datingObj.prototype.generateDatingQue = function (x) {
this.temp = Math.round(Math.random() / 0.0952380952);
while (((this.temp == 0) || (this.temp == 11)) || (this.temp == undefined)) {
this.temp = Math.round(Math.random() / 0.0952380952);
}
if (x == 1) {
this.retVal = this.temp;
}
if (x == 2) {
this.retVal = this.temp + 10;
}
if (x == 3) {
this.retVal = this.temp + 20;
}
trace("PROIR QUENUM: " + _global.datingQueNum);
trace("THIS QUENUM: " + this.retVal);
if (this.retVal == _global.datingQueNum) {
this.retVal = myDating.generateDatingQue(x);
}
return(this.retVal);
};
datingObj.prototype.answer = function (x) {
if (x == this.correct) {
if (_global.visitObj == myNaruto) {
if (mySakura.interest < 10) {
mySakura.setInterest(++mySakura.interest);
}
}
if (_global.visitObj == mySasuke) {
if (mySakura.interest > 0) {
mySakura.setInterest(--mySakura.interest);
}
}
if (_global.visitObj == myLee) {
if (mySakura.interest < 5) {
mySakura.setInterest(++mySakura.interest);
} else if (mySakura.interest > 5) {
mySakura.setInterest(--mySakura.interest);
}
}
_global.myDating.dateMood++;
_root.barHeartsDate.gotoAndStop(_global.myDating.dateMood + 2);
_root.changeExclaim.gotoAndStop(_global.dateExclaimCorrect + 1);
_global.showFieldQue(_global.responseRight);
_root.changePortrait.gotoAndStop((_global.visitNum * _global.visitNum) + _global.dateMoodCorrect);
} else if (x == this.wrong) {
if (_global.visitObj == myNaruto) {
if (mySakura.interest > 0) {
mySakura.setInterest(--mySakura.interest);
}
}
if (_global.visitObj == mySasuke) {
if (mySakura.interest < 10) {
mySakura.setInterest(++mySakura.interest);
}
}
if (_global.visitObj == myLee) {
if ((mySakura.interest > 5) && (mySakura.interest < 10)) {
mySakura.setInterest(++mySakura.interest);
} else if ((mySakura.interest < 5) && (mySakura.interest > 0)) {
mySakura.setInterest(--mySakura.interest);
} else if (mySakura.interest == 5) {
this.temp = Math.random();
while (this.temp == 0.5) {
this.temp = Math.random();
}
if (this.temp < 0.5) {
mySakura.setInterest(--mySakura.interest);
} else if (this.temp > 0.5) {
mySakura.setInterest(++mySakura.interest);
}
}
}
_root.changeExclaim.gotoAndStop(_global.dateExclaimWrong + 1);
_global.showFieldQue(_global.responseWrong);
_root.changePortrait.gotoAndStop((_global.visitNum * _global.visitNum) + _global.dateMoodWrong);
} else {
_root.changeExclaim.gotoAndStop(_global.dateExclaimBlah + 1);
_global.showFieldQue(_global.responseBlah);
_root.changePortrait.gotoAndStop((_global.visitNum * _global.visitNum) + _global.dateMoodBlah);
}
showSakura();
_root.buttonBackII._visible = true;
_root.buttonBackII.enabled = true;
_root.buttonSakura.enabled = false;
_root.buttonChoice1._visible = false;
_root.buttonChoice1.enabled = false;
_root.buttonChoice2._visible = false;
_root.buttonChoice2.enabled = false;
_root.buttonChoice3._visible = false;
_root.buttonChoice3.enabled = false;
_global.closeFieldQueChoiceOne();
_global.closeFieldQueChoiceTwo();
_global.closeFieldQueChoiceThree();
};
datingObj.prototype.displayDatingQue = function (x) {
if (x == 1) {
_global.showFieldQue("What do you see in me?");
_global.showFieldQueChoiceOne("Pain and suffering.");
_global.showFieldQueChoiceTwo("Vengence and hate.");
_global.showFieldQueChoiceThree("A lonely heart.");
_global.responseWrong = "Then you are just like everyone else!";
_global.responseRight = "I never had time to think of myself before...";
_global.responseBlah = "In time everyone will know my power!";
_global.myDating.setCorrect(3);
_global.myDating.setWrong(1);
_global.dateMood = 1;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 4;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 2) {
_global.showFieldQue("Why do you like being around me?");
_global.showFieldQueChoiceOne("You keep Naruto away.");
_global.showFieldQueChoiceTwo("I can ask you the same question.");
_global.showFieldQueChoiceThree("You need someone to love.");
_global.responseWrong = "You must be talking about yourself!";
_global.responseRight = "What are you saying....";
_global.responseBlah = "He has enough problems by himself.";
_global.myDating.setCorrect(2);
_global.myDating.setWrong(3);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 3) {
_global.showFieldQue("What do you do in your free time?");
_global.showFieldQueChoiceOne("Train. I won't fall behind you or Naruto.");
_global.showFieldQueChoiceTwo("Teach children at the academy.");
_global.showFieldQueChoiceThree("Work at the flower shop.");
_global.responseWrong = "Flowers are meaningless vanity.";
_global.responseRight = "Well, your sparing was impressive.";
_global.responseBlah = "You should work for your own benefit, not others'.";
_global.myDating.setCorrect(1);
_global.myDating.setWrong(3);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 1;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 4) {
_global.showFieldQue("Are you afraid of death?");
_global.showFieldQueChoiceOne("Well...we all must face it.");
_global.showFieldQueChoiceTwo("No. You can't live in fear.");
_global.showFieldQueChoiceThree("Yes. We all have goals we must fulfill in life.");
_global.responseWrong = "Fear is what drives humanity!";
_global.responseRight = "That's exactly how I feel.";
_global.responseBlah = "Nice observation....";
_global.myDating.setCorrect(3);
_global.myDating.setWrong(2);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 5) {
_global.showFieldQue("...Konoha...");
_global.showFieldQueChoiceOne("...is a peaceful village.");
_global.showFieldQueChoiceTwo("...is the home of great ninjas.");
_global.showFieldQueChoiceThree("...is simply the name where we live.");
_global.responseWrong = "Are you really that simple-minded?";
_global.responseRight = "I aspire to be one of them.";
_global.responseBlah = "You are without purpose.";
_global.myDating.setCorrect(2);
_global.myDating.setWrong(1);
_global.dateMood = 1;
_global.dateMoodCorrect = 1;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 6) {
_global.showFieldQue("What do you think of the Sharingan?");
_global.showFieldQueChoiceOne("I'm afraid of it.");
_global.showFieldQueChoiceTwo("I wish I had that skill.");
_global.showFieldQueChoiceThree("It's power is beyond me.");
_global.responseWrong = "You let ignorace dictate you fears!";
_global.responseRight = "I am still learning about it's potential.";
_global.responseBlah = "You wouldn't know what to do with it.";
_global.myDating.setCorrect(3);
_global.myDating.setWrong(1);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 7) {
_global.showFieldQue("Why are you always so happy?");
_global.showFieldQueChoiceOne("I have no reason to be depressed.");
_global.showFieldQueChoiceTwo("That's just how I appear on the outside.");
_global.showFieldQueChoiceThree("Being optimistic is motivating.");
_global.responseWrong = "You should be with Naruto than!";
_global.responseRight = "People often misunderstand me too.";
_global.responseBlah = "I wish I had that luxury.";
_global.myDating.setCorrect(2);
_global.myDating.setWrong(3);
_global.dateMood = 1;
_global.dateMoodCorrect = 1;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 3;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 8) {
_global.showFieldQue("What do you think of Kakashi?");
_global.showFieldQueChoiceOne("With the Sharingan...you two must be related.");
_global.showFieldQueChoiceTwo("He reliable, although it doesn't seem that way.");
_global.showFieldQueChoiceThree("I am amazed with what he did to Naruto.");
_global.responseWrong = "His ability means nothing to me or my aspirations!";
_global.responseRight = "His actions in battle make up for his lateness.";
_global.responseBlah = "...so am I.";
_global.myDating.setCorrect(3);
_global.myDating.setWrong(1);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 2;
}
if (x == 9) {
_global.showFieldQue("What are you thinking?");
_global.showFieldQueChoiceOne("I wonder if I'll ever be a Chuunin.");
_global.showFieldQueChoiceTwo("I wonder what mission we'll be on next.");
_global.showFieldQueChoiceThree("I wonder if you like me...");
_global.responseWrong = "Worry about more important matters!.";
_global.responseRight = "I was thinking the same thing!";
_global.responseBlah = "With that attitude, you won't be.";
_global.myDating.setCorrect(2);
_global.myDating.setWrong(3);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 10) {
_global.showFieldQue("Who do you idolize?");
_global.showFieldQueChoiceOne("Kakashi, because he is strong yet kind.");
_global.showFieldQueChoiceTwo("Kurenia, because she is a female Chuunin.");
_global.showFieldQueChoiceThree("Gai, because he is condfident and unique.");
_global.responseWrong = "Gender has nothing to do with being a ninja!";
_global.responseRight = "Me too, because he understands his weaknesses.";
_global.responseBlah = "Than you should be with Lee.";
_global.myDating.setCorrect(1);
_global.myDating.setWrong(3);
_global.dateMood = 1;
_global.dateMoodCorrect = 1;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 2;
}
if (x == 11) {
_global.showFieldQue("What do you see in me?");
_global.showFieldQueChoiceOne("A lost boy searching for acceptance.");
_global.showFieldQueChoiceTwo("A friend that I respect and care about.");
_global.showFieldQueChoiceThree("Someone who has something to prove.");
_global.responseWrong = "I am not lost! I will reach my goals!";
_global.responseRight = "As I, you...";
_global.responseBlah = "I will be a ninja with only taijitsu!";
_global.myDating.setCorrect(2);
_global.myDating.setWrong(1);
_global.dateMood = 2;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 2;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 2;
}
if (x == 12) {
_global.showFieldQue("Why do you like being around me?");
_global.showFieldQueChoiceOne("You are compassionate.");
_global.showFieldQueChoiceTwo("You encourage me to train.");
_global.showFieldQueChoiceThree("You can protect me from danger.");
_global.responseWrong = "A ninja should be able to fight for himself!";
_global.responseRight = "Not only about training, but you too.";
_global.responseBlah = "You should want to train on your own!";
_global.myDating.setCorrect(1);
_global.myDating.setWrong(3);
_global.dateMood = 2;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 5;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 13) {
_global.showFieldQue("What do you do in your free time?");
_global.showFieldQueChoiceOne("Train. I will be as strong as any male ninja.");
_global.showFieldQueChoiceTwo("I help tend the village gardens.");
_global.showFieldQueChoiceThree("I study at the academy.");
_global.responseWrong = "That's nice, but you should act like a ninja.";
_global.responseRight = "That's the attitude I like!";
_global.responseBlah = "Learning jitsu I hope.";
_global.myDating.setCorrect(1);
_global.myDating.setWrong(2);
_global.dateMood = 2;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 2;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 14) {
_global.showFieldQue("What do you fear the most?");
_global.showFieldQueChoiceOne("Dying without purpose.");
_global.showFieldQueChoiceTwo("Letting down those who care about me.");
_global.showFieldQueChoiceThree("Sometimes, Naruto...");
_global.responseWrong = "You teammates may one day save your life!";
_global.responseRight = "We all give life its own meaning.";
_global.responseBlah = "You should worry about letting yourself down!";
_global.myDating.setCorrect(1);
_global.myDating.setWrong(3);
_global.dateMood = 2;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 5;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 15) {
_global.showFieldQue("What will you do when you become a Chuunin?");
_global.showFieldQueChoiceOne("I will become a medic nin.");
_global.showFieldQueChoiceTwo("Like Kurenia, I will train students.");
_global.showFieldQueChoiceThree("I will join ANBU.");
_global.responseWrong = "Learn to fight and protect those you love!";
_global.responseRight = "Right! You'll always be practicing your skills.";
_global.responseBlah = "I never thought that you were that kind of person.";
_global.myDating.setCorrect(2);
_global.myDating.setWrong(1);
_global.dateMood = 2;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 2;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 2;
}
if (x == 16) {
_global.showFieldQue("What are you thinking?");
_global.showFieldQueChoiceOne("How much I adore your strength.");
_global.showFieldQueChoiceTwo("How cute I think you are.");
_global.showFieldQueChoiceThree("How much I envy your determination.");
_global.responseWrong = "Envy is a sign of laziness. Make it happen!";
_global.responseRight = "I was thinking the same thing about you.";
_global.responseBlah = "I'm not that easy to impress!";
_global.myDating.setCorrect(2);
_global.myDating.setWrong(3);
_global.dateMood = 2;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 5;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 17) {
_global.showFieldQue("What do you think of my team?");
_global.showFieldQueChoiceOne("Neji needs to be taught a lesson!");
_global.showFieldQueChoiceTwo("It doesn't seem to bond well...");
_global.showFieldQueChoiceThree("Tenten is so cute and talented.");
_global.responseWrong = "With Sasuke fighting Naruto, you shouldn't talk!";
_global.responseRight = "That's what I always thought.";
_global.responseBlah = "I didn't know that you were like that...";
_global.myDating.setCorrect(1);
_global.myDating.setWrong(2);
_global.dateMood = 2;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 2;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 2;
}
if (x == 18) {
_global.showFieldQue("Who do you fear the most?");
_global.showFieldQueChoiceOne("Truthfully, sometimes Sasuke.");
_global.showFieldQueChoiceTwo("Daku of the Sound.");
_global.showFieldQueChoiceThree("Gara of the Sand.");
_global.responseWrong = "You should understand and accept your teammates!";
_global.responseRight = "Me too...there's an aura about him...";
_global.responseBlah = "After that time in the forest, I know why.";
_global.myDating.setCorrect(3);
_global.myDating.setWrong(1);
_global.dateMood = 2;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 2;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 19) {
_global.showFieldQue("Who do you idolize?");
_global.showFieldQueChoiceOne("Gai because he is strong and knows it.");
_global.showFieldQueChoiceTwo("Kakashi because he knows so many jitsu.");
_global.showFieldQueChoiceThree("Kurenia because she is a master illusionist.");
_global.responseWrong = "If you like jitsu so much I must be disappointing.";
_global.responseRight = "Really! Me too. It's good to know your talents.";
_global.responseBlah = "I didn't know you liked Genjitsu so much.";
_global.myDating.setCorrect(1);
_global.myDating.setWrong(2);
_global.dateMood = 2;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 2;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 2;
}
if (x == 20) {
_global.showFieldQue("It looks like you want to ask me something.");
_global.showFieldQueChoiceOne("Why do you wear a leaf protector belt?");
_global.showFieldQueChoiceTwo("Do Asuma and Kurenia make a good couple? ");
_global.showFieldQueChoiceThree("What's underneath Kakashi's face mask.");
_global.responseWrong = "You should concentrate on your own relationships!";
_global.responseRight = "It balances my body at high speeds.";
_global.responseBlah = "I sometimes wonder what he looks like too.";
_global.myDating.setCorrect(1);
_global.myDating.setWrong(2);
_global.dateMood = 2;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 2;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 21) {
_global.showFieldQue("What do you see in me?");
_global.showFieldQueChoiceOne("You are optimistic and kind at heart.");
_global.showFieldQueChoiceTwo("You never give up.");
_global.showFieldQueChoiceThree("You have great power within you.");
_global.responseWrong = "You mean that I'm stubborn!";
_global.responseRight = "Hehe, that's me!";
_global.responseBlah = "If all you care about is power, you're shallow!";
_global.myDating.setCorrect(1);
_global.myDating.setWrong(2);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 4;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 22) {
_global.showFieldQue("Why do you like being around me?");
_global.showFieldQueChoiceOne("You're energetic and entertaining.");
_global.showFieldQueChoiceTwo("You're always doing something fun.");
_global.showFieldQueChoiceThree("You keep Sasuke away.");
_global.responseWrong = "So I'm your clown now am I?!";
_global.responseRight = "Live freely and do what you want!";
_global.responseBlah = "Oh, that's the only reason...";
_global.myDating.setCorrect(2);
_global.myDating.setWrong(3);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 3;
_global.dateMoodBlah = 4;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 0;
_global.dateExclaimBlah = 0;
}
if (x == 23) {
_global.showFieldQue("What do you do in your free time?");
_global.showFieldQueChoiceOne("I tend flowers at Ino's shop.");
_global.showFieldQueChoiceTwo("I help students at the academy.");
_global.showFieldQueChoiceThree("I eat, sleep, and train.");
_global.responseWrong = "Like Konohomaru! WHY?!";
_global.responseRight = "You're just like me!";
_global.responseBlah = "Oh...must be boring.";
_global.myDating.setCorrect(3);
_global.myDating.setWrong(2);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 24) {
_global.showFieldQue("Do you have any fears?");
_global.showFieldQueChoiceOne("I'm afraid of dying in battle.");
_global.showFieldQueChoiceTwo("I'm afraid of Lee's kisses.");
_global.showFieldQueChoiceThree("I'm afraid of losing control of myself.");
_global.responseWrong = "Lee gave you kisses....";
_global.responseRight = "The fight for survival motivates us!";
_global.responseBlah = "Sometimes that happens to me in battle.";
_global.myDating.setCorrect(1);
_global.myDating.setWrong(2);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 3;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 0;
_global.dateExclaimBlah = 2;
}
if (x == 25) {
_global.showFieldQue("Do you think that I will become Hokage?");
_global.showFieldQueChoiceOne("Of course, all you need is more training.");
_global.showFieldQueChoiceTwo("You should appreciate the current Hokage.");
_global.showFieldQueChoiceThree("You should worry about beating Sasuke first.");
_global.responseWrong = "Are you saying that he is more powerful than me?!";
_global.responseRight = "Maybe I can learn something rom him...";
_global.responseBlah = "You could tell that to anybody!";
_global.myDating.setCorrect(2);
_global.myDating.setWrong(3);
_global.dateMood = 3;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 3;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 26) {
_global.showFieldQue("What are you thinking?");
_global.showFieldQueChoiceOne("How you always seem to make me smile.");
_global.showFieldQueChoiceTwo("How much different you are from Sasuke.");
_global.showFieldQueChoiceThree("How much you've grown up.");
_global.responseWrong = "Why are you always comparing us?";
_global.responseRight = "I was thinking the same thing about you.";
_global.responseBlah = "Are you saying that I acted childish?!";
_global.myDating.setCorrect(1);
_global.myDating.setWrong(2);
_global.dateMood = 2;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 2;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 2;
}
if (x == 27) {
_global.showFieldQue("Who do you idolize?");
_global.showFieldQueChoiceOne("Kurenia. She deals with Ino and Shikomaru.");
_global.showFieldQueChoiceTwo("Kakashi because he's always there in a cinch.");
_global.showFieldQueChoiceThree("The Hokage because he is so prestigious.");
_global.responseWrong = "Iruka did that too. Give him some credit!";
_global.responseRight = "Pres...teg...us...Yeah, me too!";
_global.responseBlah = "That's my second choice.";
_global.myDating.setCorrect(3);
_global.myDating.setWrong(1);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 28) {
_global.showFieldQue("It looks like you want to ask me something.");
_global.showFieldQueChoiceOne("Why do you have thin lines on your cheeks.");
_global.showFieldQueChoiceTwo("What is that string for on your shoulder.");
_global.showFieldQueChoiceThree("Why do you want to be the Hokage?");
_global.responseWrong = "Why? Don't you think it's fashionable?!";
_global.responseRight = "Everyone in the village accepts him for who he is.";
_global.responseBlah = "What? I never noticed them.";
_global.myDating.setCorrect(3);
_global.myDating.setWrong(2);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 2;
}
if (x == 29) {
_global.showFieldQue("Which of the girls do you like the most?");
_global.showFieldQueChoiceOne("Ino although we have our differences.");
_global.showFieldQueChoiceTwo("Tenten because she is so cute and talented.");
_global.showFieldQueChoiceThree("Hinata because is has great heart.");
_global.responseWrong = "INO! She hates me for no reason!";
_global.responseRight = "I think so too. She's just shy.";
_global.responseBlah = "I didn't know that you were that way...";
_global.myDating.setCorrect(2);
_global.myDating.setWrong(1);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 0;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 2;
}
if (x == 30) {
_global.showFieldQue("Would you pose for my Sexy no jitsu training?");
_global.showFieldQueChoiceOne("If course. I'd love to.");
_global.showFieldQueChoiceTwo("What?! Did you really just say that?!");
_global.showFieldQueChoiceThree("Depends on what you'll do for me...");
_global.responseWrong = "I didn't know that you were that easy!";
_global.responseRight = "I could strip for you...just kidding!";
_global.responseBlah = "Hey, I didn't mean it. Seriously.";
_global.myDating.setCorrect(3);
_global.myDating.setWrong(1);
_global.dateMood = 2;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
};
function sparObj(x) {
}
sparObj.prototype.generateSpar = function (x) {
if (x == 1) {
trace("Sasuke spar");
_root.changePortrait.gotoAndStop(14);
}
if (x == 2) {
trace("Lee spar");
_root.changePortrait.gotoAndStop(16);
}
if (x == 3) {
trace("Naruto spar");
_root.changePortrait.gotoAndStop(18);
}
if (!_global.canAttack) {
this.temp = Math.round(Math.random() / 0.2857142857);
while ((((this.temp == 0) || (this.temp == 4)) || (this.temp == _global.sparNum)) || (this.temp == undefined)) {
this.temp = Math.round(Math.random() / 0.2857142857);
}
_global.sparNum = this.temp;
}
this.displaySpar(_global.sparNum);
};
sparObj.prototype.displaySpar = function (x) {
if (mySakura.currentHP == 0) {
this.blank();
_global.sparUp = false;
_global.visitObj.currentHP = 100;
if (_global.visitNum == 1) {
_global.showFieldQue("You're not even worth my time!");
_root.changePortrait.gotoAndStop(5);
}
if (_global.visitNum == 2) {
_global.showFieldQue("You are not determined enough to beat me!");
_root.changePortrait.gotoAndStop(9);
}
if (_global.visitNum == 3) {
_global.showFieldQue("Eating ramen is better training than this!");
_root.changePortrait.gotoAndStop(13);
}
} else if (_global.visitObj.currentHP == 0) {
this.blank();
_global.mySound.stop();
_global.mySound.attachSound("musicEndFight");
_global.mySound.start(0, 1);
_global.sparUp = false;
_global.visitObj.currentHP = 100;
if (_global.visitNum == 1) {
_global.showFieldQue("I...didn't expect that from you.");
_root.changePortrait.gotoAndStop(3);
}
if (_global.visitNum == 2) {
_global.showFieldQue("The power of youth must be within you...");
_root.changePortrait.gotoAndStop(7);
}
if (_global.visitNum == 3) {
_global.showFieldQue("That was fun...let's get some ramen!");
_root.changePortrait.gotoAndStop(11);
}
_global.visitObj.experience(200);
} else {
_global.closeVisitMenu();
_root.barSpar.gotoAndStop((_global.visitObj.currentHP / 10) + 2);
_root.changeSetting.gotoAndStop(44);
_root.buttonBackII._visible = false;
_root.buttonBackII.enabled = false;
if (_global.canAttack) {
_global.showFieldQue("You see a chance to attack...");
_global.showFieldQueChoiceOne("Throw a kunai at him.");
_global.showFieldQueChoiceTwo("Lunge at him.");
_global.showFieldQueChoiceThree("Use innner power.");
_global.showPresent();
} else {
if (x == 1) {
_global.showFieldQue("He throws a kunai at you.");
}
if (x == 2) {
_global.showFieldQue("He lunges at you.");
}
if (x == 3) {
if (_global.visitNum == 1) {
_global.showFieldQue("Sasuke uses the Sharingan!");
}
if (_global.visitNum == 2) {
_global.showFieldQue("Lee uses the Konoha Senpuu!");
}
if (_global.visitNum == 3) {
_global.showFieldQue("Naruto uses Kage Bunshin no Jitsu!");
}
}
_global.showFieldQueChoiceOne("Try and dodge it.");
_global.showFieldQueChoiceTwo("Try and block it.");
_global.showFieldQueChoiceThree("Try and counter it.");
}
}
};
sparObj.prototype.calcSpar = function (x) {
this.blank();
if (_global.canAttack) {
_global.canAttack = false;
if (x == 1) {
if (mySakura.intell >= _global.visitObj.intell) {
_global.showFieldQue("You hit him in the theigh.");
this.hit(20);
} else {
_global.showFieldQue("You missed.");
}
}
if (x == 2) {
if (mySakura.strength >= _global.visitObj.strength) {
_global.showFieldQue("You hit him in the chest.");
this.hit(30);
} else {
_global.showFieldQue("He blocked your attack.");
}
}
if (x == 3) {
this.innerSakura();
}
_global.closePresent();
} else {
if (_global.sparNum == 1) {
if (x == 1) {
_global.canAttack = false;
if (mySakura.intell >= (_global.visitObj.intell - 10)) {
_global.showFieldQue("You dodged it successfully.");
} else {
_global.showFieldQue("The kunai hit your theigh.");
mySakura.damage(20);
}
}
if (x == 2) {
_global.canAttack = true;
if (mySakura.intell >= _global.visitObj.intell) {
_global.showFieldQue("You blocked it successfully.");
} else {
_global.showFieldQue("The kunai hit your hand.");
mySakura.damage(20);
}
}
if (x == 3) {
_global.canAttack = true;
if (mySakura.intell >= (_global.visitObj.intell + 10)) {
_global.showFieldQue("Your kunai blocked the attack and hit.");
this.hit(20);
} else {
_global.showFieldQue("You missed and you were hit in the chest.");
mySakura.damage(30);
}
}
}
if (_global.sparNum == 2) {
if (x == 1) {
_global.canAttack = false;
if (mySakura.strength >= (_global.visitObj.strength - 10)) {
_global.showFieldQue("You dodged it successfully.");
} else {
_global.showFieldQue("You were hit in the leg.");
mySakura.damage(30);
}
}
if (x == 2) {
_global.canAttack = true;
if (mySakura.strength >= _global.visitObj.strength) {
_global.showFieldQue("You blocked it successfully.");
} else {
_global.showFieldQue("You were hit in the arm.");
mySakura.damage(30);
}
}
if (x == 3) {
_global.canAttack = true;
if (mySakura.strength >= (_global.visitObj.strength + 10)) {
_global.showFieldQue("Your blocked the attack and hit his stomach.");
this.hit(30);
} else {
_global.showFieldQue("You missed and you were hit in the face.");
mySakura.damage(40);
}
}
}
if (_global.sparNum == 3) {
if (x == 1) {
_global.canAttack = false;
if (mySakura.chakra >= (_global.visitObj.chakra - 10)) {
_global.showFieldQue("You dodged it successfully.");
} else {
this.special();
}
}
if (x == 2) {
_global.canAttack = true;
if (mySakura.chakra >= _global.visitObj.chakra) {
_global.showFieldQue("You blocked it successfully.");
} else {
this.special();
}
}
if (x == 3) {
_global.canAttack = true;
if (mySakura.chakra >= (_global.visitObj.chakra + 10)) {
_global.showFieldQue("You blocked the attack and focused.");
this.innerSakura();
} else {
this.special();
}
}
}
}
};
sparObj.prototype.hit = function (x) {
if (_global.visitNum == 1) {
_root.changePortrait.gotoAndStop(15);
}
if (_global.visitNum == 2) {
_root.changePortrait.gotoAndStop(17);
}
if (_global.visitNum == 3) {
_root.changePortrait.gotoAndStop(19);
}
_global.visitObj.currentHP = _global.visitObj.currentHP - x;
if (_global.visitObj.currentHP < 0) {
_global.visitObj.currentHP = 0;
}
_root.barSpar.gotoAndStop((_global.visitObj.currentHP / 10) + 2);
};
sparObj.prototype.blank = function () {
_root.buttonChoice1._visible = false;
_root.buttonChoice1.enabled = false;
_root.buttonChoice2._visible = false;
_root.buttonChoice2.enabled = false;
_root.buttonChoice3._visible = false;
_root.buttonChoice3.enabled = false;
_root.buttonBackII._visible = true;
_root.buttonBackII.enabled = true;
_global.closeFieldQueChoiceOne();
_global.closeFieldQueChoiceTwo();
_global.closeFieldQueChoiceThree();
};
sparObj.prototype.innerSakura = function () {
if (((mySakura.currentChakra >= 1) && (mySakura.charm >= 20)) && (mySakura.currentHP < _global.visitObj.currentHP)) {
_global.showFieldQue("Your inner self emerges!");
if (mySakura.charm >= 20) {
this.hit(0.5 * (_global.visitObj.currentHP - mySakura.currentHP));
}
if (mySakura.charm >= 40) {
this.hit(_global.visitObj.currentHP - mySakura.currentHP);
}
if (mySakura.charm >= 60) {
this.hit(2 * (_global.visitObj.currentHP - mySakura.currentHP));
}
mySakura.useChakra();
_root.changePortrait.gotoAndStop(20);
} else if (mySakura.charm < 20) {
_global.showFieldQue("Nothing happened. Raise charm stat!");
} else {
_global.showFieldQue("Nothing happened.");
}
};
sparObj.prototype.special = function () {
if (_global.visitNum == 1) {
_global.showFieldQue("Sasuke confuses and attacks you!");
mySakura.damage(2 * mySakura.intell);
}
if (_global.visitNum == 2) {
_global.showFieldQue("Lee's uppercut kick connects!");
mySakura.damage(2 * mySakura.strength);
}
if (_global.visitNum == 3) {
_global.showFieldQue("Narutos pummel you from all sides!");
mySakura.damage(2 * mySakura.chakra);
}
};
function queObj() {
this.correct;
this.wrong;
}
queObj.prototype.setCorrect = function (c) {
this.correct = c;
};
queObj.prototype.setWrong = function (w) {
this.wrong = w;
};
queObj.prototype.setDateChar = function (d) {
if (d == 1) {
_global.dateObj = _global.mySasuke;
_global.dateNum = 1;
}
if (d == 2) {
_global.dateObj = _global.myLee;
_global.dateNum = 2;
}
if (d == 3) {
_global.dateObj = _global.myNaruto;
_global.dateNum = 3;
}
};
queObj.prototype.answer = function (x) {
if (_global.visitNum == 7) {
trace("SHIKA TIME");
if (x == this.correct) {
_global.showFieldQue(_global.responseRight);
_root.fadeBlack.gotoAndPlay(2);
_root.changeBasic.gotoAndStop(1);
_root.changePortrait.gotoAndStop(1);
_global.closeFieldQue();
} else if (x == this.wrong) {
_global.showFieldQue(_global.responseWrong);
_global.theEnd = true;
_root.buttonBackII._visible = true;
_root.buttonBackII.enabled = true;
} else {
_global.showFieldQue(_global.responseBlah);
_global.theEnd = true;
_root.buttonBackII._visible = true;
_root.buttonBackII.enabled = true;
}
_root.buttonChoice1._visible = false;
_root.buttonChoice1.enabled = false;
_root.buttonChoice2._visible = false;
_root.buttonChoice2.enabled = false;
_root.buttonChoice3._visible = false;
_root.buttonChoice3.enabled = false;
_global.closeFieldQueChoiceOne();
_global.closeFieldQueChoiceTwo();
_global.closeFieldQueChoiceThree();
} else if ((mySakura.currentChakra > 0) && (mySakura.currentHP >= 10)) {
if (x == this.correct) {
_global.dateObj.please();
if (_global.dateObj == myNaruto) {
if (mySakura.interest < 10) {
mySakura.setInterest(++mySakura.interest);
}
}
if (_global.dateObj == mySasuke) {
if (mySakura.interest > 0) {
mySakura.setInterest(--mySakura.interest);
}
}
if (_global.dateObj == myLee) {
if (mySakura.interest < 5) {
mySakura.setInterest(++mySakura.interest);
} else if (mySakura.interest > 5) {
mySakura.setInterest(--mySakura.interest);
}
}
_root.barHeartsDate.gotoAndStop(_global.dateObj.mood + 2);
_root.changeExclaim.gotoAndStop(_global.dateExclaimCorrect + 1);
_global.showFieldQue(_global.responseRight);
_root.changePortrait.gotoAndStop((_global.dateNum * _global.dateNum) + _global.dateMoodCorrect);
} else if (x == this.wrong) {
_global.dateObj.irritate();
if (_global.dateObj == myNaruto) {
if (mySakura.interest > 0) {
mySakura.setInterest(--mySakura.interest);
}
}
if (_global.dateObj == mySasuke) {
if (mySakura.interest < 10) {
mySakura.setInterest(++mySakura.interest);
}
}
if (_global.dateObj == myLee) {
if ((mySakura.interest > 5) && (mySakura.interest < 10)) {
mySakura.setInterest(++mySakura.interest);
} else if ((mySakura.interest < 5) && (mySakura.interest > 0)) {
mySakura.setInterest(--mySakura.interest);
} else if (mySakura.interest == 5) {
this.temp = Math.random();
while (this.temp == 0.5) {
this.temp = Math.random();
}
if (this.temp < 0.5) {
mySakura.setInterest(--mySakura.interest);
} else if (this.temp > 0.5) {
mySakura.setInterest(++mySakura.interest);
}
}
}
_root.barHeartsDate.gotoAndStop(_global.dateObj.mood + 2);
_root.changeExclaim.gotoAndStop(_global.dateExclaimWrong + 1);
_global.showFieldQue(_global.responseWrong);
_root.changePortrait.gotoAndStop((_global.dateNum * _global.dateNum) + _global.dateMoodWrong);
} else {
_root.barHeartsDate.gotoAndStop(_global.dateObj.mood + 2);
_root.changeExclaim.gotoAndStop(_global.dateExclaimBlah + 1);
_global.showFieldQue(_global.responseBlah);
_root.changePortrait.gotoAndStop((_global.dateNum * _global.dateNum) + _global.dateMoodBlah);
}
mySakura.currentChakra = mySakura.currentChakra - 1;
showSakura();
_root.buttonBackII._visible = true;
_root.buttonBackII.enabled = true;
_root.buttonSakura.enabled = false;
_root.buttonChoice1._visible = false;
_root.buttonChoice1.enabled = false;
_root.buttonChoice2._visible = false;
_root.buttonChoice2.enabled = false;
_root.buttonChoice3._visible = false;
_root.buttonChoice3.enabled = false;
_global.closeFieldQueChoiceOne();
_global.closeFieldQueChoiceTwo();
_global.closeFieldQueChoiceThree();
}
};
queObj.prototype.generateQue = function (x) {
trace("GENERATING QUE!!!!!! X:" + x);
if ((x != 0) && (_global.visitObj.level >= 3)) {
this.tempA = Math.round(Math.random() / 0.2222222222);
while (((this.tempA == 0) || (this.tempA == 5)) || (this.tempA == undefined)) {
this.tempA = Math.round(Math.random() / 0.2222222222);
}
}
trace("AFTER DATE RAND");
if (((x != 0) && (this.tempA == 3)) && (_global.visitObj.level >= 3)) {
this.tempB = Math.round(Math.random() / 0.2222222222);
while (((this.tempB == 0) || (this.tempB == 5)) || (this.tempB == undefined)) {
this.tempB = Math.round(Math.random() / 0.2222222222);
}
return(this.tempB + 30);
}
if (x == 0) {
this.retVal = 0;
this.temp1 = Math.round(Math.random() / 0.2857142857);
while (((this.temp1 == 0) || (this.temp1 == 4)) || (this.temp1 == undefined)) {
this.temp1 = Math.round(Math.random() / 0.2857142857);
}
if (this.temp1 == 1) {
this.retVal = this.generateSasukeQue();
}
if (this.temp1 == 2) {
this.retVal = this.generateLeeQue();
}
if (this.temp1 == 3) {
this.retVal = this.generateNarutoQue();
}
if (this.retVal == _global.queNum) {
this.retVal = this.generateQue(x);
}
return(this.retVal);
}
if (x == 1) {
this.retVal2 = this.generateSasukeQue();
}
if (x == 2) {
this.retVal2 = this.generateLeeQue();
}
if (x == 3) {
this.retVal2 = this.generateNarutoQue();
}
if (this.retVal2 == _global.queNum) {
trace((("RECURSE-> retval: " + this.retval2) + " vs. queNum: ") + _global.queNum);
this.retVal2 = this.generateQue(x);
}
return(this.retVal2);
};
queObj.prototype.generateSasukeQue = function (x) {
this.temp2 = Math.round(Math.random() / 0.0952380952);
while (((this.temp2 == 0) || (this.temp2 == 11)) || (this.temp2 == undefined)) {
this.temp2 = Math.round(Math.random() / 0.0952380952);
}
return(this.temp2);
};
queObj.prototype.generateLeeQue = function (x) {
this.temp2 = Math.round(Math.random() / 0.0952380952);
while (((this.temp2 == 0) || (this.temp2 == 11)) || (this.temp2 == undefined)) {
this.temp2 = Math.round(Math.random() / 0.0952380952);
}
return(this.temp2 + 10);
};
queObj.prototype.generateNarutoQue = function (x) {
_global.temp2 = 0;
while (((_global.temp2 == 0) || (_global.temp2 == 11)) || (_global.temp2 == undefined)) {
_global.temp2 = Math.random();
if (_global.temp2 != 0) {
_global.temp2 = Math.round(Math.random() / 0.0952380952);
}
}
return(_global.temp2 + 20);
};
queObj.prototype.displayQue = function (x) {
if (x == 1) {
_global.showFieldQue("Irritating...");
_global.showFieldQueChoiceOne("Are you talking about me?");
_global.showFieldQueChoiceTwo("Who? Naruto?");
_global.showFieldQueChoiceThree("You mean how Kakashi is always late?");
_global.responseWrong = "Now I am.";
_global.responseRight = "I knew you were smart.";
_global.responseBlah = "...yeah...";
_global.myQue.setCorrect(2);
_global.myQue.setWrong(1);
_global.myQue.setDateChar(1);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 1;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 0;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 2) {
_global.showFieldQue("sigh...");
_global.showFieldQueChoiceOne("I should be going.");
_global.showFieldQueChoiceTwo("What's wrong?");
_global.showFieldQueChoiceThree("You're always like this.");
_global.responseWrong = "You don't have a need to know.";
_global.responseRight = "These matters are best dealt with alone.";
_global.responseBlah = "I have my reasons.";
_global.myQue.setCorrect(1);
_global.myQue.setWrong(2);
_global.myQue.setDateChar(1);
_global.dateMood = 3;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 0;
_global.dateExclaimWrong = 4;
_global.dateExclaimBlah = 0;
}
if (x == 3) {
_global.showFieldQue("Itachi...");
_global.showFieldQueChoiceOne("...he hides behind the Sharingan.");
_global.showFieldQueChoiceTwo("...is a threat to us all.");
_global.showFieldQueChoiceThree("Let's avenge your family together.");
_global.responseWrong = "Are you implying something about me?!";
_global.responseRight = "Thank you, but I must face him by myself.";
_global.responseBlah = "That's obviously true.";
_global.myQue.setCorrect(3);
_global.myQue.setWrong(1);
_global.myQue.setDateChar(1);
_global.dateMood = 4;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 4;
_global.dateExclaimBlah = 0;
}
if (x == 4) {
_global.showFieldQue("This damn seal burns...");
_global.showFieldQueChoiceOne("It could be making you stronger.");
_global.showFieldQueChoiceTwo("You shouldn't fight.");
_global.showFieldQueChoiceThree("Let me help you.");
_global.responseWrong = "I won't allow anyone to surpass me.";
_global.responseRight = "That may be.";
_global.responseBlah = "You can't even help yourself.";
_global.myQue.setCorrect(1);
_global.myQue.setWrong(2);
_global.myQue.setDateChar(1);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 5) {
_global.showFieldQue("Shouldn't you be training?");
_global.showFieldQueChoiceOne("I wanted to train with you.");
_global.showFieldQueChoiceTwo("Where do you think I was?");
_global.showFieldQueChoiceThree("I wanted to ask you on a date...");
_global.responseWrong = "If you have time to waste, then train.";
_global.responseRight = "...oh.";
_global.responseBlah = "What could you do?";
_global.myQue.setCorrect(2);
_global.myQue.setWrong(3);
_global.myQue.setDateChar(1);
_global.dateMood = 4;
_global.dateMoodCorrect = 1;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 4;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 6) {
_global.showFieldQue("What's with that sympathetic look?");
_global.showFieldQueChoiceOne("Why don't you ever talk about your past?");
_global.showFieldQueChoiceTwo("I'm worried about you.");
_global.showFieldQueChoiceThree("Why don't you ever talk to me?");
_global.responseWrong = "I can take care of myself.";
_global.responseRight = "...because you're annoying...";
_global.responseBlah = "My past only leads to revenge.";
_global.myQue.setCorrect(3);
_global.myQue.setWrong(2);
_global.myQue.setDateChar(1);
_global.dateMood = 3;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 7) {
_global.showFieldQue("The competition...am I strong enough?");
_global.showFieldQueChoiceOne("I wouldn't underestimate Gara of the Sand.");
_global.showFieldQueChoiceTwo("Heh, against Naruto? What's the worry?");
_global.showFieldQueChoiceThree("Well, Lee-san did give you a hard time.");
_global.responseWrong = "One word: Luck.";
_global.responseRight = "True.";
_global.responseBlah = "Frankly, your skills are below Naruto's.";
_global.myQue.setCorrect(1);
_global.myQue.setWrong(3);
_global.myQue.setDateChar(1);
_global.dateMood = 3;
_global.dateMoodCorrect = 1;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 0;
_global.dateExclaimBlah = 0;
}
if (x == 8) {
_global.showFieldQue("...desire...");
_global.showFieldQueChoiceOne("Do you desire to be loved?");
_global.showFieldQueChoiceTwo("Do you desire the impossible?");
_global.showFieldQueChoiceThree("Do you desire power?");
_global.responseWrong = "My desires go beyond self-satisfaction!";
_global.responseRight = "...maybe this curse seal is a gift.";
_global.responseBlah = "I will avenge the Uchiha name!";
_global.myQue.setCorrect(3);
_global.myQue.setWrong(1);
_global.myQue.setDateChar(1);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 2;
}
if (x == 9) {
_global.showFieldQue("...run, run. Cling to life...");
_global.showFieldQueChoiceOne("You can always come back to me, Sasuke.");
_global.showFieldQueChoiceTwo("You should stop running away from your past.");
_global.showFieldQueChoiceThree("Live life, don't survive it.");
_global.responseWrong = "You know nothing! Everyday is hell for me!";
_global.responseRight = "...";
_global.responseBlah = "Cliche tripe.";
_global.myQue.setCorrect(1);
_global.myQue.setWrong(2);
_global.myQue.setDateChar(1);
_global.dateMood = 3;
_global.dateMoodCorrect = 1;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 4;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 10) {
_global.showFieldQue("Why does Kakashi want to train me?");
_global.showFieldQueChoiceOne("You are the strongest in our group.");
_global.showFieldQueChoiceTwo("He is worried about your curse seal.");
_global.showFieldQueChoiceThree("...depends on what he wants to train you in.");
_global.responseWrong = "You admit your failure too easily.";
_global.responseRight = "...hmmm...";
_global.responseBlah = "He shouldn't be.";
_global.myQue.setCorrect(3);
_global.myQue.setWrong(1);
_global.myQue.setDateChar(1);
_global.dateMood = 1;
_global.dateMoodCorrect = 1;
_global.dateMoodWrong = 1;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 0;
_global.dateExclaimBlah = 0;
}
if (x == 11) {
_global.showFieldQue("The lotus blooms for you.");
_global.showFieldQueChoiceOne("Twice, right?");
_global.showFieldQueChoiceTwo("You're sickly sweet.");
_global.showFieldQueChoiceThree("What do you mean?");
_global.responseRight = "As many times as you need.";
_global.responseWrong = "NO, just determined!";
_global.responseBlah = "Wait and see.";
_global.myQue.setCorrect(1);
_global.myQue.setWrong(2);
_global.myQue.setDateChar(2);
_global.dateMood = 3;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 2;
_global.dateExclaim = 2;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 4;
_global.dateExclaimBlah = 0;
}
if (x == 12) {
_global.showFieldQue("The power of Taijistu...");
_global.showFieldQueChoiceOne("...is as strong as any illusion.");
_global.showFieldQueChoiceTwo("...is all you need to be a ninja.");
_global.showFieldQueChoiceThree("...is your specialty.");
_global.responseRight = "With these hands I will show you my skill.";
_global.responseWrong = "That means nothing to me!";
_global.responseBlah = "If you say so...";
_global.myQue.setCorrect(2);
_global.myQue.setWrong(3);
_global.myQue.setDateChar(2);
_global.dateMood = 2;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 4;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 4;
_global.dateExclaimBlah = 0;
}
if (x == 13) {
_global.showFieldQue("Gai Sensai is my role model.");
_global.showFieldQueChoiceOne("Umm, why?");
_global.showFieldQueChoiceTwo("Because he is so strong?");
_global.showFieldQueChoiceThree("Mine too.");
_global.responseRight = "The power of youth is within us all.";
_global.responseWrong = "Isn't it obvious?!";
_global.responseBlah = "That's merely part of it.";
_global.myQue.setCorrect(3);
_global.myQue.setWrong(1);
_global.myQue.setDateChar(2);
_global.dateMood = 2;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 2;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 4;
_global.dateExclaimBlah = 0;
}
if (x == 14) {
_global.showFieldQue("...the power of youth...");
_global.showFieldQueChoiceOne("What's with the green jumpsuit?");
_global.showFieldQueChoiceTwo("What does the lotus mean to you?");
_global.showFieldQueChoiceThree("Gai sensai isn't really young...");
_global.responseRight = "Endurance and beauty...it reminds me of you.";
_global.responseWrong = "He's young in spirit!";
_global.responseBlah = "It accentuates my \"form\".";
_global.myQue.setCorrect(2);
_global.myQue.setWrong(3);
_global.myQue.setDateChar(2);
_global.dateMood = 2;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 2;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 2;
}
if (x == 15) {
_global.showFieldQue("Speed or strength?");
_global.showFieldQueChoiceOne("Speed.");
_global.showFieldQueChoiceTwo("Strength.");
_global.showFieldQueChoiceThree("Endurance.");
_global.responseRight = "It's fun when your opponent can't see you!";
_global.responseWrong = "That wasn't the question!";
_global.responseBlah = "Strength is nothing without technique.";
_global.myQue.setCorrect(1);
_global.myQue.setWrong(3);
_global.myQue.setDateChar(2);
_global.dateMood = 2;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 2;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 2;
}
if (x == 16) {
_global.showFieldQue("...the five gates...");
_global.showFieldQueChoiceOne("Opening them is dangerous...be careful.");
_global.showFieldQueChoiceTwo("Pave the way to my heart!");
_global.showFieldQueChoiceThree("They're simply amazing!");
_global.responseRight = "I'll train even harder then!";
_global.responseWrong = "I'm stronger than you think!";
_global.responseBlah = "That's all you have to say?";
_global.myQue.setCorrect(2);
_global.myQue.setWrong(1);
_global.myQue.setDateChar(2);
_global.dateMood = 2;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 5;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 17) {
_global.showFieldQue("...Neji...");
_global.showFieldQueChoiceOne("His arrogence exceeds him.");
_global.showFieldQueChoiceTwo("You should train to defeat any opponent.");
_global.showFieldQueChoiceThree("...talk to Hinata about his weaknesses.");
_global.responseRight = "Right! Neji is only one of many challenges.";
_global.responseWrong = "That's cheating!";
_global.responseBlah = "...of course...";
_global.myQue.setCorrect(2);
_global.myQue.setWrong(3);
_global.myQue.setDateChar(2);
_global.dateMood = 4;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 4;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 18) {
_global.showFieldQue("What do you think of Naruto?");
_global.showFieldQueChoiceOne("He's very lonely if you get to know him.");
_global.showFieldQueChoiceTwo("I prefer not to think of Naruto.");
_global.showFieldQueChoiceThree("He's more annoying than you could imagine.");
_global.responseRight = "It's good to know your teammates.";
_global.responseWrong = "You should learn more about you teammates.";
_global.responseBlah = "At least your honest.";
_global.myQue.setCorrect(1);
_global.myQue.setWrong(2);
_global.myQue.setDateChar(2);
_global.dateMood = 2;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 2;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 19) {
_global.showFieldQue("What do you like about me the most?");
_global.showFieldQueChoiceOne("Your eyes.");
_global.showFieldQueChoiceTwo("Your eyebrows.");
_global.showFieldQueChoiceThree("Your hair.");
_global.responseRight = "It's silky smooth and flows in the wind.";
_global.responseWrong = "You're taking after Naruto with \"fuzzy eyebrows\"!";
_global.responseBlah = "ummm...thanks?!";
_global.myQue.setCorrect(3);
_global.myQue.setWrong(2);
_global.myQue.setDateChar(2);
_global.dateMood = 2;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 2;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 2;
}
if (x == 20) {
_global.showFieldQue("What does \"Rock\" in Rock Lee stand for?");
_global.showFieldQueChoiceOne("How you \"Rock\" all opposition!");
_global.showFieldQueChoiceTwo("Your \"Rock\"-hard determination!");
_global.showFieldQueChoiceThree("Your \"Rock\"-solid body!");
_global.responseRight = "I will follow my own ninde!";
_global.responseWrong = "I'm not that vain!";
_global.responseBlah = "That's what most people think.";
_global.myQue.setCorrect(2);
_global.myQue.setWrong(3);
_global.myQue.setDateChar(2);
_global.dateMood = 2;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 5;
_global.dateMoodBlah = 2;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 21) {
_global.showFieldQue("Hey Sakura Channn!");
_global.showFieldQueChoiceOne("Shut up!");
_global.showFieldQueChoiceTwo("What is it?");
_global.showFieldQueChoiceThree("Hmm?");
_global.responseWrong = "What was that for!";
_global.responseRight = "Nothing really.";
_global.responseBlah = "Is that all you have to say?";
_global.myQue.setCorrect(2);
_global.myQue.setWrong(1);
_global.myQue.setDateChar(3);
_global.dateMood = 2;
_global.dateMoodCorrect = 1;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 4;
_global.dateExclaim = 2;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 22) {
_global.showFieldQue("Damn Sasuke!");
_global.showFieldQueChoiceOne("What did he do now?");
_global.showFieldQueChoiceTwo("Don't talk about your teammate that way!");
_global.showFieldQueChoiceThree("Be quiet. I'm sure it's your fault anyway.");
_global.responseWrong = "Hey! Do you have something for Sasuke?!";
_global.responseRight = "He always thinks that he is superior.";
_global.responseBlah = "You're right. Kakashi says the same thing.";
_global.myQue.setCorrect(1);
_global.myQue.setWrong(3);
_global.myQue.setDateChar(3);
_global.dateMood = 4;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 0;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 2;
}
if (x == 23) {
_global.showFieldQue("That perverted Senin...");
_global.showFieldQueChoiceOne("Who are you kidding? You like it.");
_global.showFieldQueChoiceTwo("Yeah, he often stares at me strangely.");
_global.showFieldQueChoiceThree("Pish, you'll be just like him when you're older.");
_global.responseWrong = "No way! We're nothing alike!";
_global.responseRight = "Yeah, it's inspiration for Sexy no Jitsu.";
_global.responseBlah = "A lot of people do...";
_global.myQue.setCorrect(1);
_global.myQue.setWrong(3);
_global.myQue.setDateChar(3);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 4;
_global.dateExclaimBlah = 1;
}
if (x == 24) {
_global.showFieldQue("I'm hungry!");
_global.showFieldQueChoiceOne("Me too, let's go get ramen!");
_global.showFieldQueChoiceTwo("I'm not. I guess you're going alone.");
_global.showFieldQueChoiceThree("Ichiban's isn't far away, get moving.");
_global.responseWrong = "What if I get lost?!!";
_global.responseRight = "RAMEN, RAMEN, RAMEN!!!";
_global.responseBlah = "I guess so...";
_global.myQue.setCorrect(1);
_global.myQue.setWrong(3);
_global.myQue.setDateChar(3);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 3;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 25) {
_global.showFieldQue("Why did you cut your hair?");
_global.showFieldQueChoiceOne("I needed a new look.");
_global.showFieldQueChoiceTwo("Why? Don't you like it?");
_global.showFieldQueChoiceThree("Shinobi should't dwell on appearences.");
_global.responseWrong = "I didn't mean it that way!";
_global.responseRight = "Right! I don't...haven't bathed in weeks!.";
_global.responseBlah = "I always thought you were cute.";
_global.myQue.setCorrect(3);
_global.myQue.setWrong(2);
_global.myQue.setDateChar(3);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 3;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 0;
_global.dateExclaimBlah = 0;
}
if (x == 26) {
_global.showFieldQue("What don't I have that Sasuke does?");
_global.showFieldQueChoiceOne("The Sharingan.");
_global.showFieldQueChoiceTwo("An attitude.");
_global.showFieldQueChoiceThree("Everything. No one can compare with him.");
_global.responseWrong = "I'll prove you wrong!";
_global.responseRight = "Finally, someone acknowledges me!";
_global.responseBlah = "Well, I have Kyubi!";
_global.myQue.setCorrect(2);
_global.myQue.setWrong(3);
_global.myQue.setDateChar(3);
_global.dateMood = 1;
_global.dateMoodCorrect = 3;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 2;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 27) {
_global.showFieldQue("...kage bunshin...");
_global.showFieldQueChoiceOne("At first you couldn't even make one clone.");
_global.showFieldQueChoiceTwo("You learned it just for Harem no Jitsu.");
_global.showFieldQueChoiceThree("At least Sasuke doesn't have that skill.");
_global.responseWrong = "Hey! I know a lot of skills that Sasuke doesn't!";
_global.responseRight = "...and what if I did?";
_global.responseBlah = "That's because I'm \"advanced\"!";
_global.myQue.setCorrect(2);
_global.myQue.setWrong(3);
_global.myQue.setDateChar(3);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 2;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 2;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 28) {
_global.showFieldQue("Why do people treat me like an outcast?");
_global.showFieldQueChoiceOne("No matter. I'll always be by your side.");
_global.showFieldQueChoiceTwo("It's because of the way you act.");
_global.showFieldQueChoiceThree("They say you have a demon within you.");
_global.responseWrong = "NO! NO! NO! I DON'T ACT LIKE A CHILD!!!";
_global.responseRight = "Thank you. I'll remember that.";
_global.responseBlah = "I wish I knew more about it...";
_global.myQue.setCorrect(1);
_global.myQue.setWrong(2);
_global.myQue.setDateChar(3);
_global.dateMood = 3;
_global.dateMoodCorrect = 1;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 29) {
_global.showFieldQue("Why does Kakashi want Ebusa to train me?");
_global.showFieldQueChoiceOne("Well, he does train the Hokage's grandson.");
_global.showFieldQueChoiceTwo("Kakashi is too busy training Sasuke.");
_global.showFieldQueChoiceThree("You know, Kakashi doesn't train me either.");
_global.responseWrong = "Konohamaru?! Are you comparing me to him?!";
_global.responseRight = "We should train with each other then!";
_global.responseBlah = "He must think that Sasuke is better than me...";
_global.myQue.setCorrect(3);
_global.myQue.setWrong(1);
_global.myQue.setDateChar(3);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 4;
_global.dateMoodBlah = 3;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 3;
_global.dateExclaimBlah = 0;
}
if (x == 30) {
_global.showFieldQue("What do you think of Rock Lee?");
_global.showFieldQueChoiceOne("He's almost as determined as you are.");
_global.showFieldQueChoiceTwo("He's different...");
_global.showFieldQueChoiceThree("There's something about him...");
_global.responseWrong = "Something that I don't have...";
_global.responseRight = "That means I'm better!!!";
_global.responseBlah = "That's an understatement.";
_global.myQue.setCorrect(1);
_global.myQue.setWrong(3);
_global.myQue.setDateChar(3);
_global.dateMood = 1;
_global.dateMoodCorrect = 2;
_global.dateMoodWrong = 3;
_global.dateMoodBlah = 1;
_global.dateExclaim = 0;
_global.dateExclaimCorrect = 1;
_global.dateExclaimWrong = 0;
_global.dateExclaimBlah = 2;
}
if (x == 31) {
_global.showFieldQue("I'd like to see the waterfall sometime.");
this.suggest();
_global.visitObj.datePlace = 1;
}
if (x == 32) {
_global.showFieldQue("I'd like to see the mountain sometime.");
this.suggest();
_global.visitObj.datePlace = 2;
}
if (x == 33) {
_global.showFieldQue("I'd like to see the forest sometime.");
this.suggest();
_global.visitObj.datePlace = 3;
}
if (x == 34) {
_global.showFieldQue("I'd like to see the village streets sometime.");
this.suggest();
_global.visitObj.datePlace = 4;
}
};
queObj.prototype.suggest = function (x) {
if (_global.visitNum == 1) {
_global.dateMood = 1;
_global.myQue.setDateChar(1);
} else if (_global.visitNum == 2) {
_global.dateMood = 2;
_global.myQue.setDateChar(2);
} else if (_global.visitNum == 3) {
_global.dateMood = 1;
_global.myQue.setDateChar(3);
}
_global.dateExclaim = 0;
_global.closeFieldChoiceOne();
_global.closeFieldChoiceTwo();
_global.closeFieldChoiceThree();
_root.buttonChoice1._visible = false;
_root.buttonChoice1.enabled = false;
_root.buttonChoice2._visible = false;
_root.buttonChoice2.enabled = false;
_root.buttonChoice3._visible = false;
_root.buttonChoice3.enabled = false;
_root.buttonBackII._visible = true;
_root.buttonBackII.enabled = true;
};
queObj.prototype.refuse = function (x) {
if (!_global.reject) {
_global.visitQueUp = true;
}
if (x == 1) {
if (_global.visitNum == 1) {
_global.showFieldQue("Your interests lie elsewhere.");
_root.changeExclaim.gotoAndStop(4);
_root.changePortrait.gotoAndStop(5);
}
if (_global.visitNum == 2) {
_global.showFieldQue("You're not determined to be with me.");
_root.changeExclaim.gotoAndStop(4);
_root.changePortrait.gotoAndStop(9);
}
if (_global.visitNum == 3) {
_global.showFieldQue("What are you thinking?!");
_root.changeExclaim.gotoAndStop(4);
_root.changePortrait.gotoAndStop(13);
}
}
if (x == 2) {
if (_global.visitNum == 1) {
_global.showFieldQue("Do you know what sleep is?!");
_root.changeExclaim.gotoAndStop(4);
_root.changePortrait.gotoAndStop(5);
}
if (_global.visitNum == 2) {
_global.showFieldQue("You can't do anything in that condition!");
_root.changeExclaim.gotoAndStop(4);
_root.changePortrait.gotoAndStop(9);
}
if (_global.visitNum == 3) {
_global.showFieldQue("Go home and rest!");
_root.changeExclaim.gotoAndStop(4);
_root.changePortrait.gotoAndStop(13);
}
}
if (x == 3) {
if (_global.visitNum == 1) {
_global.showFieldQue("You're useless without any energy!");
_root.changeExclaim.gotoAndStop(4);
_root.changePortrait.gotoAndStop(5);
}
if (_global.visitNum == 2) {
_global.showFieldQue("Conserve your energy!");
_root.changeExclaim.gotoAndStop(4);
_root.changePortrait.gotoAndStop(9);
}
if (_global.visitNum == 3) {
_global.showFieldQue("You barely have the energy to talk to me!");
_root.changeExclaim.gotoAndStop(4);
_root.changePortrait.gotoAndStop(13);
}
}
_root.buttonChoice1._visible = false;
_root.buttonChoice1.enabled = false;
_root.buttonChoice2._visible = false;
_root.buttonChoice2.enabled = false;
_root.buttonChoice3._visible = false;
_root.buttonChoice3.enabled = false;
_global.closeFieldQueChoiceOne();
_global.closeFieldQueChoiceTwo();
_global.closeFieldQueChoiceThree();
};
queObj.prototype.disLike = function (x) {
if (_global.visitNum == 1) {
_global.showFieldQue("What is this?!");
_root.changeExclaim.gotoAndStop(4);
_root.changePortrait.gotoAndStop(5);
}
if (_global.visitNum == 2) {
_global.showFieldQue("Did you put any thought into this?!");
_root.changeExclaim.gotoAndStop(4);
_root.changePortrait.gotoAndStop(9);
}
if (_global.visitNum == 3) {
_global.showFieldQue("What are you thinking?!");
_root.changeExclaim.gotoAndStop(4);
_root.changePortrait.gotoAndStop(13);
}
_global.closePresent();
_root.barHeartsDate.gotoAndStop(myDating.dateMood + 2);
_root.buttonBackII._visible = true;
_root.buttonBackII.enabled = true;
};
queObj.prototype.likeOne = function (x) {
if (_global.visitNum == 1) {
_global.showFieldQue("Thanks, I was running low...");
_root.changeExclaim.gotoAndStop(2);
_root.changePortrait.gotoAndStop(3);
}
if (_global.visitNum == 2) {
_global.showFieldQue("I needed more of these.");
_root.changeExclaim.gotoAndStop(2);
_root.changePortrait.gotoAndStop(7);
}
if (_global.visitNum == 3) {
_global.showFieldQue("RAMEN!! How did you know?!");
_root.changeExclaim.gotoAndStop(2);
_root.changePortrait.gotoAndStop(11);
}
_global.myDating.dateMood++;
_root.barHeartsDate.gotoAndStop(myDating.dateMood + 2);
_global.closePresent();
_root.buttonBackII._visible = true;
_root.buttonBackII.enabled = true;
};
queObj.prototype.likeTwo = function (x) {
if (_global.visitNum == 1) {
_global.showFieldQue("My other one is ripped...so thank you.");
_root.changeExclaim.gotoAndStop(2);
_root.changePortrait.gotoAndStop(3);
}
if (_global.visitNum == 2) {
_global.showFieldQue("Thanks, my other pairs have runs in them.");
_root.changeExclaim.gotoAndStop(2);
_root.changePortrait.gotoAndStop(7);
}
if (_global.visitNum == 3) {
_global.showFieldQue("Hey! Are you spying on me while I sleep?");
_root.changeExclaim.gotoAndStop(2);
_root.changePortrait.gotoAndStop(11);
}
_global.myDating.dateMood = _global.myDating.dateMood + 2;
_root.barHeartsDate.gotoAndStop(myDating.dateMood + 2);
_global.closePresent();
_root.buttonBackII._visible = true;
_root.buttonBackII.enabled = true;
};
queObj.prototype.likeThree = function (x) {
if (_global.visitNum == 1) {
_global.showFieldQue("How did you...I always wanted one of these!");
_root.changeExclaim.gotoAndStop(2);
_root.changePortrait.gotoAndStop(3);
_global.windmillGiven = true;
}
if (_global.visitNum == 2) {
_global.showFieldQue("I love you! Where did you find this?!");
_root.changeExclaim.gotoAndStop(2);
_root.changePortrait.gotoAndStop(7);
_global.lotusGiven = true;
}
if (_global.visitNum == 3) {
_global.showFieldQue("Time for ultimate Sexy no Jitsu! Hehe...");
_root.changeExclaim.gotoAndStop(2);
_root.changePortrait.gotoAndStop(11);
_global.comeComeGiven = true;
}
_global.myDating.dateMood = _global.myDating.dateMood + 3;
_root.barHeartsDate.gotoAndStop(myDating.dateMood + 2);
_global.closePresent();
_root.buttonBackII._visible = true;
_root.buttonBackII.enabled = true;
};
queObj.prototype.drinkSake = function (x) {
if (_global.visitNum == 1) {
_global.showFieldQue("Sometimes...hick...late at night...");
_root.changeExclaim.gotoAndStop(3);
_root.changePortrait.gotoAndStop(3);
_global.myDating.dateMood = _global.myDating.dateMood + 3;
}
if (_global.visitNum == 2) {
_global.showFieldQue("Hey...hick...do you want to fight?!");
_root.changeExclaim.gotoAndStop(4);
_root.changePortrait.gotoAndStop(9);
}
if (_global.visitNum == 3) {
_global.showFieldQue("Hick...are you going to take advantage of me?");
_root.changeExclaim.gotoAndStop(3);
_root.changePortrait.gotoAndStop(11);
_global.myDating.dateMood = _global.myDating.dateMood + 3;
}
_root.barHeartsDate.gotoAndStop(myDating.dateMood + 2);
_global.closePresent();
_root.buttonBackII._visible = true;
_root.buttonBackII.enabled = true;
};
queObj.prototype.noKiss = function (x) {
if (_global.visitNum == 1) {
_global.showFieldQue("Stay back!");
_root.changeExclaim.gotoAndStop(4);
_root.changePortrait.gotoAndStop(5);
}
if (_global.visitNum == 2) {
_global.showFieldQue("You didn't even try!");
_root.changeExclaim.gotoAndStop(4);
_root.changePortrait.gotoAndStop(9);
}
if (_global.visitNum == 3) {
_global.showFieldQue("I'm not in the mood!");
_root.changeExclaim.gotoAndStop(4);
_root.changePortrait.gotoAndStop(13);
}
_global.showPresentUp = true;
_root.buttonBackII._visible = true;
_root.buttonBackII.enabled = true;
};
queObj.prototype.displayQueShika = function () {
_global.showFieldQue("Girls...how troublesome.");
_global.showFieldQueChoiceOne("I'll show you how much trouble, hehe!*");
_global.showFieldQueChoiceTwo("What the hell are you doing in my room!");
_global.showFieldQueChoiceThree("Boys...how troublesome.");
_global.responseWrong = "Fine, fine, you'll probably be alone forever.";
_global.responseRight = "Oh!?";
_global.responseBlah = "Its day 51, what's wrong with you?";
_global.myQue.setCorrect(1);
_global.myQue.setWrong(2);
_global.myQue.setDateChar(3);
_global.dateExclaimCorrect = 2;
};
Instance of Symbol 725 MovieClip "changeDate" in Frame 1
/* no clip actions */
Instance of Symbol 730 MovieClip "fieldQuestionChoiceOne" in Frame 1
onClipEvent (load) {
_root.buttonChoice1.onRollOver = function () {
choiceOne.textColor = 16777215 /* 0xFFFFFF */;
};
_root.buttonChoice1.onRollOut = function () {
choiceOne.textColor = 0;
};
_global.showFieldQueChoiceOne = function (x) {
_root.fieldQuestionChoiceOne.createTextField("choiceOne", 1, 0, 0, 500, 500);
choiceOne.text = x;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 18;
choiceOne.setTextFormat(myFormat);
};
_global.closeFieldQueChoiceOne = function (x) {
choiceOne._visible = false;
choiceOne.enabled = false;
};
}
Instance of Symbol 731 MovieClip "fieldQuestionChoiceTwo" in Frame 1
onClipEvent (load) {
_root.buttonChoice2.onRollOver = function () {
choiceTwo.textColor = 16777215 /* 0xFFFFFF */;
};
_root.buttonChoice2.onRollOut = function () {
choiceTwo.textColor = 0;
};
_global.showFieldQueChoiceTwo = function (x) {
_root.fieldQuestionChoiceTwo.createTextField("choiceTwo", 1, 0, 0, 500, 500);
choiceTwo.text = x;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 18;
choiceTwo.setTextFormat(myFormat);
};
_global.closeFieldQueChoiceTwo = function (x) {
choiceTwo._visible = false;
choiceTwo.enabled = false;
};
}
Instance of Symbol 732 MovieClip "fieldQuestionChoiceThree" in Frame 1
onClipEvent (load) {
_root.buttonChoice3.onRollOver = function () {
choiceThree.textColor = 16777215 /* 0xFFFFFF */;
};
_root.buttonChoice3.onRollOut = function () {
choiceThree.textColor = 0;
};
_global.showFieldQueChoiceThree = function (x) {
_root.fieldQuestionChoiceThree.createTextField("choiceThree", 1, 0, 0, 500, 500);
choiceThree.text = x;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 18;
choiceThree.setTextFormat(myFormat);
};
_global.closeFieldQueChoiceThree = function (x) {
choiceThree._visible = false;
choiceThree.enabled = false;
};
}
Instance of Symbol 733 MovieClip "fieldQuestion" in Frame 1
onClipEvent (load) {
_global.showFieldQue = function (x) {
_root.fieldQuestion.createTextField("que", 1, 0, 0, 500, 500);
que.text = x;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 18;
que.setTextFormat(myFormat);
};
_global.closeFieldQue = function (x) {
que._visible = false;
que.enabled = false;
};
}
Instance of Symbol 840 MovieClip "fieldItemWindmill" in Frame 1
onClipEvent (load) {
_global.showFieldItemWindmill = function (x) {
_root.fieldItemWindmill.createTextField("windmill", 1, 0, 0, 500, 500);
windmill.text = mySakura.windmills;
windmill.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
windmill.setTextFormat(myFormat);
};
_global.closeFieldItemWindmill = function (x) {
windmill._visible = false;
windmill.enabled = false;
};
}
Instance of Symbol 841 MovieClip "fieldItemHat" in Frame 1
onClipEvent (load) {
_global.showFieldItemHat = function (x) {
_root.fieldItemHat.createTextField("hat", 1, 0, 0, 500, 500);
hat.text = mySakura.hats;
hat.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
hat.setTextFormat(myFormat);
};
_global.closeFieldItemHat = function (x) {
hat._visible = false;
hat.enabled = false;
};
}
Instance of Symbol 842 MovieClip "fieldItemComecome" in Frame 1
onClipEvent (load) {
_global.showFieldItemComecome = function (x) {
_root.fieldItemComecome.createTextField("comecome", 1, 0, 0, 500, 500);
comecome.text = mySakura.comecomes;
comecome.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
comecome.setTextFormat(myFormat);
};
_global.closeFieldItemComecome = function (x) {
comecome._visible = false;
comecome.enabled = false;
};
}
Instance of Symbol 843 MovieClip "fieldItemRamen" in Frame 1
onClipEvent (load) {
_global.showFieldItemRamen = function (x) {
_root.fieldItemRamen.createTextField("ramen", 1, 0, 0, 500, 500);
ramen.text = mySakura.ramens;
ramen.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
ramen.setTextFormat(myFormat);
};
_global.closeFieldItemRamen = function (x) {
ramen._visible = false;
ramen.enabled = false;
};
}
Instance of Symbol 844 MovieClip "fieldItemLotus" in Frame 1
onClipEvent (load) {
_global.showFieldItemLotus = function (x) {
_root.fieldItemLotus.createTextField("lotus", 1, 0, 0, 500, 500);
lotus.text = mySakura.lotuses;
lotus.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
lotus.setTextFormat(myFormat);
};
_global.closeFieldItemLotus = function (x) {
lotus._visible = false;
lotus.enabled = false;
};
}
Instance of Symbol 845 MovieClip "fieldItemBandages" in Frame 1
onClipEvent (load) {
_global.showFieldItemBandages = function (x) {
_root.fieldItemBandages.createTextField("bandages", 1, 0, 0, 500, 500);
bandages.text = mySakura.bandages;
bandages.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
bandages.setTextFormat(myFormat);
};
_global.closeFieldItemBandages = function (x) {
bandages._visible = false;
bandages.enabled = false;
};
}
Instance of Symbol 846 MovieClip "fieldItemJumpsuit" in Frame 1
onClipEvent (load) {
_global.showFieldItemJumpsuit = function (x) {
_root.fieldItemJumpsuit.createTextField("jumpsuit", 1, 0, 0, 500, 500);
jumpsuit.text = mySakura.jumpsuits;
jumpsuit.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
jumpsuit.setTextFormat(myFormat);
};
_global.closeFieldItemJumpsuit = function (x) {
jumpsuit._visible = false;
jumpsuit.enabled = false;
};
}
Instance of Symbol 847 MovieClip "fieldItemKunaiPouch" in Frame 1
onClipEvent (load) {
_global.showFieldItemKunaiPouch = function (x) {
_root.fieldItemKunaiPouch.createTextField("kunaiPouch", 1, 0, 0, 500, 500);
kunaiPouch.text = mySakura.kunaiPouches;
kunaiPouch.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
kunaiPouch.setTextFormat(myFormat);
};
_global.closeFieldItemKunaiPouch = function (x) {
kunaiPouch._visible = false;
kunaiPouch.enabled = false;
};
}
Instance of Symbol 848 MovieClip "fieldItemShuriken" in Frame 1
onClipEvent (load) {
_global.showFieldItemShuriken = function (x) {
_root.fieldItemShuriken.createTextField("shuriken", 1, 0, 0, 500, 500);
shuriken.text = mySakura.shurikens;
shuriken.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
shuriken.setTextFormat(myFormat);
};
_global.closeFieldItemShuriken = function (x) {
shuriken._visible = false;
shuriken.enabled = false;
};
}
Instance of Symbol 849 MovieClip "fieldItemSake" in Frame 1
onClipEvent (load) {
_global.showFieldItemSake = function (x) {
_root.fieldItemSake.createTextField("sake", 1, 0, 0, 500, 500);
sake.text = mySakura.sakes;
sake.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
sake.setTextFormat(myFormat);
};
_global.closeFieldItemSake = function (x) {
sake._visible = false;
sake.enabled = false;
};
}
Instance of Symbol 850 MovieClip "fieldItemSaleMoneyLeft" in Frame 1
onClipEvent (load) {
_global.showFieldItemSaleMoneyLeft = function (x) {
_root.fieldItemSaleMoneyLeft.createTextField("moneyLeft", 1, 0, 0, 500, 500);
moneyLeft.text = "funds: $" + mySakura.money;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
moneyLeft.setTextFormat(myFormat);
};
_global.closeFieldItemSaleMoneyLeft = function (x) {
moneyLeft._visible = false;
moneyLeft.enabled = false;
};
}
Instance of Symbol 894 MovieClip "fieldSakuraDayName" in Frame 1
onClipEvent (load) {
_global.showFieldSakuraDayName = function (x) {
_root.fieldSakuraDayName.createTextField("sakuraDayName", 1, 0, 0, 200, 100);
sakuraDayName.text = mySakura.dayName;
sakuraDayName.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "center";
myFormat.size = 23;
sakuraDayName.setTextFormat(myFormat);
};
_global.closeFieldSakuraDayName = function (x) {
sakuraDayName._visible = false;
sakuraDayName.enabled = false;
};
}
Instance of Symbol 895 MovieClip "fieldSakuraDayNum" in Frame 1
onClipEvent (load) {
_global.showFieldSakuraDayNum = function (x) {
_root.fieldSakuraDayNum.createTextField("sakuraDayNum", 1, 0, 0, 200, 100);
sakuraDayNum.text = mySakura.dayNum + "/50";
sakuraDayNum.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "center";
myFormat.size = 23;
sakuraDayNum.setTextFormat(myFormat);
};
_global.closeFieldSakuraDayNum = function (x) {
sakuraDayNum._visible = false;
sakuraDayNum.enabled = false;
};
}
Instance of Symbol 896 MovieClip "fieldSakuraHpLeft" in Frame 1
onClipEvent (load) {
_global.showFieldSakuraHpLeft = function (x) {
_root.fieldSakuraHpLeft.createTextField("sakuraHpLeft", 1, 0, 0, 200, 100);
sakuraHpLeft.text = (mySakura.currentHP + "/") + mySakura.totalHP;
sakuraHpLeft.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "center";
myFormat.size = 23;
sakuraHpLeft.setTextFormat(myFormat);
};
_global.closeFieldSakuraHpLeft = function (x) {
sakuraHpLeft._visible = false;
sakuraHpLeft.enabled = false;
};
}
Instance of Symbol 897 MovieClip "fieldSakuraChakraLeft" in Frame 1
onClipEvent (load) {
_global.showFieldSakuraChakraLeft = function (x) {
_root.fieldSakuraChakraLeft.createTextField("sakuraChakraLeft", 1, 0, 0, 200, 100);
sakuraChakraLeft.text = (mySakura.currentChakra + "/") + mySakura.totalChakra;
sakuraChakraLeft.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "center";
myFormat.size = 23;
sakuraChakraLeft.setTextFormat(myFormat);
};
_global.closeFieldSakuraChakraLeft = function (x) {
sakuraChakraLeft._visible = false;
sakuraChakraLeft.enabled = false;
};
}
Instance of Symbol 898 MovieClip "fieldSakuraCharm" in Frame 1
onClipEvent (load) {
_global.showFieldSakuraCharm = function (x) {
_root.fieldSakuraCharm.createTextField("sakuraCharm", 1, 0, 0, 200, 100);
sakuraCharm.text = mySakura.charm;
sakuraCharm.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "center";
myFormat.size = 23;
sakuraCharm.setTextFormat(myFormat);
};
_global.closeFieldSakuraCharm = function (x) {
sakuraCharm._visible = false;
sakuraCharm.enabled = false;
};
}
Instance of Symbol 899 MovieClip "fieldSakuraIntell" in Frame 1
onClipEvent (load) {
_global.showFieldSakuraIntell = function (x) {
_root.fieldSakuraIntell.createTextField("sakuraIntell", 1, 0, 0, 200, 100);
sakuraIntell.text = mySakura.intell;
sakuraIntell.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "center";
myFormat.size = 23;
sakuraIntell.setTextFormat(myFormat);
};
_global.closeFieldSakuraIntell = function (x) {
sakuraIntell._visible = false;
sakuraIntell.enabled = false;
};
}
Instance of Symbol 900 MovieClip "fieldSakuraMoney" in Frame 1
onClipEvent (load) {
_global.showFieldSakuraMoney = function (x) {
_root.fieldSakuraMoney.createTextField("sakuraMoney", 1, 0, 0, 200, 100);
sakuraMoney.text = mySakura.money;
sakuraMoney.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
sakuraMoney.setTextFormat(myFormat);
};
_global.closeFieldSakuraMoney = function (x) {
sakuraMoney._visible = false;
sakuraMoney.enabled = false;
};
}
Instance of Symbol 901 MovieClip "fieldSakuraChakra" in Frame 1
onClipEvent (load) {
_global.showFieldSakuraChakra = function (x) {
_root.fieldSakuraChakra.createTextField("sakuraChakra", 1, 0, 0, 200, 100);
sakuraChakra.text = mySakura.chakra;
sakuraChakra.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "center";
myFormat.size = 23;
sakuraChakra.setTextFormat(myFormat);
};
_global.closeFieldSakuraChakra = function (x) {
sakuraChakra._visible = false;
sakuraChakra.enabled = false;
};
}
Instance of Symbol 902 MovieClip "fieldSakuraStrength" in Frame 1
onClipEvent (load) {
_global.showFieldSakuraStrength = function (x) {
_root.fieldSakuraStrength.createTextField("sakuraStrength", 1, 0, 0, 200, 100);
sakuraStrength.text = mySakura.strength;
sakuraStrength.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "center";
myFormat.size = 23;
sakuraStrength.setTextFormat(myFormat);
};
_global.closeFieldSakuraStrength = function (x) {
sakuraStrength._visible = false;
sakuraStrength.enabled = false;
};
}
Instance of Symbol 994 MovieClip "dataCharSasuke" in Frame 1
/* no clip actions */
Instance of Symbol 1002 MovieClip "dataCharLee" in Frame 1
/* no clip actions */
Instance of Symbol 878 MovieClip "barHeartsData" in Frame 1
/* no clip actions */
Instance of Symbol 1017 MovieClip "fieldDateExp" in Frame 1
onClipEvent (load) {
_global.showFieldDateExp = function (x) {
_root.fieldDateExp.createTextField("dateExp", 1, 0, 0, 200, 100);
dateExp.text = (charUpObj.expCurr + "/") + charUpObj.expLeft;
dateExp.textColor = 16777215 /* 0xFFFFFF */;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
dateExp.setTextFormat(myFormat);
};
_global.closeFieldDateExp = function (x) {
dateExp._visible = false;
dateExp.enabled = false;
};
}
Instance of Symbol 1191 MovieClip "fieldStatChakra" in Frame 1
onClipEvent (load) {
_global.showFieldStatChakra = function (x) {
_root.fieldStatChakra.createTextField("chakra", 1, 0, 0, 200, 100);
chakra.text = mySakura.chakra;
myFormat = new TextFormat();
myFormat.align = "center";
myFormat.size = 23;
chakra.setTextFormat(myFormat);
};
_global.closeFieldStatChakra = function (x) {
chakra._visible = false;
chakra.enabled = false;
};
}
Instance of Symbol 1192 MovieClip "fieldStatStrength" in Frame 1
onClipEvent (load) {
_global.showFieldStatStrength = function (x) {
_root.fieldStatStrength.createTextField("strength", 1, 0, 0, 200, 100);
strength.text = mySakura.strength;
myFormat = new TextFormat();
myFormat.align = "center";
myFormat.size = 23;
strength.setTextFormat(myFormat);
};
_global.closeFieldStatStrength = function (x) {
strength._visible = false;
strength.enabled = false;
};
}
Instance of Symbol 1193 MovieClip "fieldStatIntell" in Frame 1
onClipEvent (load) {
_global.showFieldStatIntell = function (x) {
_root.fieldStatIntell.createTextField("intell", 1, 0, 0, 200, 100);
intell.text = mySakura.intell;
myFormat = new TextFormat();
myFormat.align = "center";
myFormat.size = 23;
intell.setTextFormat(myFormat);
};
_global.closeFieldStatIntell = function (x) {
intell._visible = false;
intell.enabled = false;
};
}
Instance of Symbol 1194 MovieClip "fieldStatCharm" in Frame 1
onClipEvent (load) {
_global.showFieldStatCharm = function (x) {
_root.fieldStatCharm.createTextField("charm", 1, 0, 0, 200, 100);
charm.text = mySakura.charm;
myFormat = new TextFormat();
myFormat.align = "center";
myFormat.size = 23;
charm.setTextFormat(myFormat);
};
_global.closeFieldStatCharm = function (x) {
charm._visible = false;
charm.enabled = false;
};
}
Instance of Symbol 1195 MovieClip "fieldStatPointsLeft" in Frame 1
onClipEvent (load) {
_global.showFieldStatPointsLeft = function (x) {
_root.fieldStatPointsLeft.createTextField("pointsLeft", 1, 0, 0, 200, 100);
pointsLeft.text = mySakura.statPoints;
myFormat = new TextFormat();
myFormat.size = 23;
myFormat.align = "center";
pointsLeft.setTextFormat(myFormat);
};
_global.closeFieldStatPointsLeft = function (x) {
pointsLeft._visible = false;
pointsLeft.enabled = false;
};
}
Instance of Symbol 1196 MovieClip "fieldStatIncrease" in Frame 1
onClipEvent (load) {
_global.showFieldStatIncrease = function (x) {
_root.fieldStatIncrease.createTextField("increase", 1, 0, 0, 300, 300);
if (x == 1) {
this.increased = "Strength";
} else if (x == 2) {
this.increased = "Chakra";
} else if (x == 3) {
this.increased = "Intelligence";
} else if (x == 4) {
this.increased = "Charm";
} else if (x == 5) {
this.increased = "Funds";
increase.text = ("Earned $" + mySakura.tempMoney) + "!";
}
if (x < 5) {
increase.text = this.increased + " Increased!";
}
increase.textColor = 0;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
increase.setTextFormat(myFormat);
};
_global.closeFieldStatIncrease = function (x) {
increase._visible = false;
increase.enabled = false;
};
}
Instance of Symbol 1197 MovieClip "fieldStatIncreaseState" in Frame 1
onClipEvent (load) {
_global.showFieldStatIncreaseState = function (x) {
_root.fieldStatIncreaseState.createTextField("increaseState", 1, 0, 0, 200, 100);
if (x == 1) {
this.temp = mySakura.strength;
} else if (x == 2) {
this.temp = mySakura.chakra;
} else if (x == 3) {
this.temp = mySakura.intell;
} else if (x == 4) {
this.temp = mySakura.charm;
} else if (x == 5) {
increaseState.text = (("New " + _global.increased) + " $") + mySakura.money;
}
if (x < 5) {
increaseState.text = (("New " + _global.increased) + ": ") + this.temp;
}
increaseState.textColor = 0;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
increaseState.setTextFormat(myFormat);
};
_global.closeFieldStatIncreaseState = function (x) {
increaseState._visible = false;
increaseState.enabled = false;
};
}
Instance of Symbol 1198 MovieClip "fieldDateCharIncreaseName" in Frame 1
onClipEvent (load) {
_global.showFieldDateCharIncreaseName = function (x) {
_root.fieldDateCharIncreaseName.createTextField("increaseName", 1, 0, 0, 300, 300);
increaseName.textColor = 16777215 /* 0xFFFFFF */;
if (x == 1) {
this.name = "Sasuke";
} else if (x == 2) {
this.name = "Lee";
} else if (x == 3) {
this.name = "Naruto";
}
increaseName.text = this.name + "'s Date Level Increased!";
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
increaseName.setTextFormat(myFormat);
};
_global.closeFieldDateCharIncreaseName = function (x) {
increaseName._visible = false;
increaseName.enabled = false;
};
}
Instance of Symbol 1199 MovieClip "fieldDateCharIncreaseLevel" in Frame 1
onClipEvent (load) {
_global.showFieldDateCharIncreaseLevel = function (x) {
_root.fieldDateCharIncreaseLevel.createTextField("increaseLevel", 1, 0, 0, 300, 300);
increaseLevel.textColor = 16777215 /* 0xFFFFFF */;
if (x == 1) {
this.level = mySasuke.level;
} else if (x == 2) {
this.level = myLee.level;
} else if (x == 3) {
this.level = myNaruto.level;
}
if (this.level == 1) {
this.title = "Colleague";
} else if (this.level == 2) {
this.title = "Friend";
} else if (this.level == 3) {
this.title = "Companion";
} else if (this.level == 4) {
this.title = "Lover";
}
increaseLevel.text = "New Level: " + this.title;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
increaseLevel.setTextFormat(myFormat);
};
_global.closeFieldDateCharIncreaseLevel = function (x) {
increaseLevel._visible = false;
increaseLevel.enabled = false;
};
}
Instance of Symbol 1200 MovieClip "fieldDateCharIncreaseOptions" in Frame 1
onClipEvent (load) {
_global.showFieldDateCharIncreaseOptions = function (x) {
_root.fieldDateCharIncreaseOptions.createTextField("increaseOptions", 1, 0, 0, 300, 300);
increaseOptions.textColor = 16777215 /* 0xFFFFFF */;
if (x == 1) {
this.level = mySasuke.level;
} else if (x == 2) {
this.level = myLee.level;
} else if (x == 3) {
this.level = myNaruto.level;
}
if (this.level == 1) {
this.options = "Visit";
} else if (this.level == 2) {
this.options = "Spar";
} else if (this.level == 3) {
this.options = "Date";
} else if (this.level == 4) {
this.options = "Other!";
}
increaseOptions.text = "New Option: " + this.options;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
increaseOptions.setTextFormat(myFormat);
};
_global.closeFieldDateCharIncreaseOptions = function (x) {
increaseOptions._visible = false;
increaseOptions.enabled = false;
};
}
Instance of Symbol 1201 MovieClip "fieldNextDayName" in Frame 1
onClipEvent (load) {
_global.showFieldNextDayName = function (x) {
_root.fieldNextDayName.createTextField("nextDayName", 1, 0, 0, 300, 300);
nextDayName.textColor = 16777215 /* 0xFFFFFF */;
nextDayName.text = mySakura.dayName;
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
nextDayName.setTextFormat(myFormat);
};
_global.closeFieldNextDayName = function (x) {
nextDayName._visible = false;
nextDayName.enabled = false;
};
}
Instance of Symbol 1202 MovieClip "fieldNextDayNum" in Frame 1
onClipEvent (load) {
_global.showFieldNextDayNum = function (x) {
_root.fieldNextDayNum.createTextField("nextDayNum", 1, 0, 0, 300, 300);
nextDayNum.textColor = 16777215 /* 0xFFFFFF */;
nextDayNum.text = ("Day: " + mySakura.dayNum) + "/50";
myFormat = new TextFormat();
myFormat.align = "left";
myFormat.size = 23;
nextDayNum.setTextFormat(myFormat);
};
_global.closeFieldNextDayNum = function (x) {
nextDayNum._visible = false;
nextDayNum.enabled = false;
};
}
Instance of Symbol 1208 MovieClip "initialize" in Frame 1
onClipEvent (load) {
_global.doFirst();
}
Symbol 1226 Button
on (release) {
_root.play();
_global.doSecond();
_root.preLoader._visible = false;
_root.preLoader.enabled = false;
}
Symbol 1227 MovieClip Frame 1
_root.stop();
trace("ROOTED");
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
this.textStatus = ((_root.getBytesLoaded() + "/") + _root.getBytesTotal()) + " bytes";
if (PercentLoaded != 100) {
trace("PART LOAD:" + PercentLoaded);
setProperty(bar, _xscale , PercentLoaded);
} else {
trace("LOADED");
gotoAndStop (3);
}
Symbol 1227 MovieClip Frame 2
gotoAndPlay (1);