Frame 2
stop();
Instance of Symbol 8 MovieClip in Frame 2
onClipEvent (load) {
this.done = false;
this.main = false;
}
onClipEvent (enterFrame) {
var tl = _root.getBytesLoaded();
var tt = _root.getBytesTotal();
if (tl > 1000) {
var per = Math.round(Number(tl / tt) * 100);
this.loading_txt.text = per + "%";
if (!this.main) {
if (tl > 100000) {
this.main = true;
_root.play();
}
}
if (this.main) {
if (tl >= tt) {
this.done = true;
_root.play();
}
}
}
}
Frame 3
stop();
Frame 4
stop();
Frame 5
function fight1Init() {
trace("fight1Init");
fightObj = {};
fightObj.cnt = 8;
foP[0];
fightObj.f0 = {id:"fight", style:"Cute Smile", points:foP[0], damage:foD[0]};
fightObj.f1 = {id:"fight", style:"Blow-a-Kiss", points:foP[1], damage:foD[1]};
fightObj.f2 = {id:"fight", style:"Adorable Laugh", points:foP[2], damage:foD[2]};
fightObj.f3 = {id:"fight", style:"100% Perfect Punch", points:foP[3], damage:foD[3]};
fightObj.f4 = {id:"magic", style:"Stuffed Animal Blast", points:foP[4], damage:foD[4]};
fightObj.f5 = {id:"magic", style:"Sno Cone Shower", points:foP[5], damage:foD[5]};
fightObj.f6 = {id:"magic", style:"Star Power Heat", points:foP[6], damage:foD[6]};
fightObj.f7 = {id:"magic", style:"Big Dork Morpher", points:foP[7], damage:foD[7]};
defendObj = {};
defendObj.cnt = 8;
defendObj.f0 = {id:"defense", style:"Slap-a-Smile", points:doP[0], block:"Cute Smile"};
defendObj.f1 = {id:"defense", style:"Chaped Lips", points:doP[1], block:"Blow-a-Kiss"};
defendObj.f2 = {id:"defense", style:"Super Duper Laugh", points:doP[2], block:"Adorable Laugh"};
defendObj.f3 = {id:"defense", style:"The Incredible Block", points:doP[3], block:"100% Perfect Punch"};
defendObj.f4 = {id:"defense", style:"Baby Doll Front", points:doP[4], block:"Stuffed Animal Blast"};
defendObj.f5 = {id:"defense", style:"Flower Shower Cap", points:doP[5], block:"Sno Cone Shower"};
defendObj.f6 = {id:"defense", style:"The Has Been Defense", points:doP[6], block:"Star Power Heat"};
defendObj.f7 = {id:"defense", style:"Dork Defy Defense", points:doP[7], block:"Big Dork Morpher"};
lostFight = [];
lostFight.push("You might think your cute, but your just a dumb bitch!!");
lostFight.push("Leave me alone you mean little slut bag!!");
lostFight.push("Wait till people seen how un-cute your snatch is ho!!");
wonFight = [];
wonFight.push("Super!! Your going be shamed in front of everyone!!");
wonFight.push("The Cutest award will be mine, and you will be a loser!!");
wonFight.push("Your about as cute as a pile of warm shit, you retard!!");
lostMagic = [];
lostMagic.push("You may think its cute to use magic, but your going down!!");
lostMagic.push("Your magic is making me want to cry!! Stop it bitch!!");
lostMagic.push("Spells may hurt me, but your looks kill me you ho bag!!");
wonMagic = [];
wonMagic.push("My magic power is like a cute little pony!! So step off!!");
wonMagic.push("I got more from where that came from loser!! Be warned!!");
wonMagic.push("I'm licking you like a lollipop!! Try some magic defense bitch!!");
lostDefend = [];
lostDefend.push("Oh how sweet!! The little tramp can defend herself!!");
lostDefend.push("You'll get tired soon...and then I'll pants your ass!!");
lostDefend.push("Your blocks are shabby...you got lucky, you virgin!!");
wonDefend = [];
wonDefend.push("Did you really think you could attack this cuteness!?!");
wonDefend.push("Keep trying!! I am going to free those little tits soon!!");
wonDefend.push("HA HA HA!! Your such a pussy!! Go back to cute camp!!");
rechargeTalk = [];
rechargeTalk.push("Im am going to cheer some people up, then strip you down!!");
rechargeTalk.push("Lets just get these Hello Kitty stickers, then its naked time!!");
randomTalk = [];
randomTalk.push("I've seen a dogs anus that was cuter than you!! HA HA HA!!");
randomTalk.push("I know your being cute, but you just seem like a 5 year old!!");
randomTalk.push("You dork!! The Cutest Award has my name written all over it.");
randomTalk.push("Did you know that everyone thinks your just a dumb virgin??");
randomTalk.push("No lollipops or sexy winks will make you cute you dumb bitch!!");
}
function fight2Init() {
fightObj = {};
fightObj.cnt = 8;
fightObj.f0 = {id:"fight", style:"#2 Pencil Jab", points:foP[0], damage:foD[0]};
fightObj.f1 = {id:"fight", style:"Stapler Shot", points:foP[1], damage:foD[1]};
fightObj.f2 = {id:"fight", style:"Paper Clip Whip", points:foP[2], damage:foD[2]};
fightObj.f3 = {id:"fight", style:"The Copier Crush", points:foP[3], damage:foD[3]};
fightObj.f4 = {id:"magic", style:"Water Cooler Blast", points:foP[4], damage:foD[4]};
fightObj.f5 = {id:"magic", style:"Time Card Tornado", points:foP[5], damage:foD[5]};
fightObj.f6 = {id:"magic", style:"Heavy Eraser Downpour", points:foP[6], damage:foD[6]};
fightObj.f7 = {id:"magic", style:"Send Incredible Memo", points:foP[7], damage:foD[7]};
defendObj = {};
defendObj.cnt = 8;
defendObj.f0 = {id:"defense", style:"Legal Pad Shield", points:doP[0], block:"#2 Pencil Jab"};
defendObj.f1 = {id:"defense", style:"Staple Remover", points:doP[1], block:"Stapler Shot"};
defendObj.f2 = {id:"defense", style:"Loose Paper Pile", points:doP[2], block:"Paper Clip Whip"};
defendObj.f3 = {id:"defense", style:"Replace Toner Defense", points:doP[3], block:"The Copier Crush"};
defendObj.f4 = {id:"defense", style:"Hot Coffee Protection", points:doP[4], block:"Water Cooler Blast"};
defendObj.f5 = {id:"defense", style:"Create Clock-In Policy", points:doP[5], block:"Time Card Tornado"};
defendObj.f6 = {id:"defense", style:"White Erase Board Sheild", points:doP[6], block:"Heavy Eraser Downpour"};
defendObj.f7 = {id:"defense", style:"Summon Drunk Mail Boy", points:doP[7], block:"Send Incredible Memo"};
lostFight = [];
lostFight.push("Your a ladder climbing bitch...I'll be coming for you!");
lostFight.push("You got me this time, but I'm gonna clock you out bitch!");
lostFight.push("Just wait till your next presentation, tits hanging out!!");
wonFight = [];
wonFight.push("Hope you don't mind being vice president, you slut!!");
wonFight.push("Sorry about your suit, maybe you should suck a dick!!");
wonFight.push("Maybe you should go back to being a secretary slut!!");
lostMagic = [];
lostMagic.push("You ass slut!! Keep your magic out of the office!!");
lostMagic.push("Use your spells bitch...I'll file you like an old review!!");
lostMagic.push("Ooooo, This magic shit is not part of company policy!!");
wonMagic = [];
wonMagic.push("File that you tramp...under dumb ass bitch!!!");
wonMagic.push("Magic is on my resume...and just got a sample ho!!");
wonMagic.push("My spells are raise worthy you worthless go-fer!!");
lostDefend = [];
lostDefend.push("You got lucky this time...but I know where your office is.");
lostDefend.push("The block was good, but your presentation was shit!");
lostDefend.push("You can only pass the buck for so long bitch...I see you!!");
wonDefend = [];
wonDefend.push("Sorry bitch...your just not cut out for this world!!");
wonDefend.push("Maybe you should think about some vacation time!!");
wonDefend.push("Nice try...but you can't compete with a professional!!");
rechargeTalk = [];
rechargeTalk.push("Let me just make a few copies, then your fucking naked!!");
rechargeTalk.push("I have to take this call...but then your hairy muff is payday!!");
randomTalk = [];
randomTalk.push("The business world doesnt need any more sluts!!");
randomTalk.push("Maybe you should be a janitor, your skills are worthless!!");
randomTalk.push("I've been around 4 year olds with more business sense than you!");
randomTalk.push("Your small time body needs a company overhaul...HA HA HA!!");
randomTalk.push("The only raise you get is my foot kicking you off the ground!!");
}
function fight3Init() {
fightObj = {};
fightObj.cnt = 8;
fightObj.f0 = {id:"fight", style:"Spray Air Freshener", points:foP[0], damage:foD[0]};
fightObj.f1 = {id:"fight", style:"Silverware Attack", points:foP[1], damage:foD[1]};
fightObj.f2 = {id:"fight", style:"Toss Pillow Plummel", points:foP[2], damage:foD[2]};
fightObj.f3 = {id:"fight", style:"Martha Stewart Book Bash", points:foP[3], damage:foD[3]};
fightObj.f4 = {id:"magic", style:"Entrap in Plush Drapes", points:foP[4], damage:foD[4]};
fightObj.f5 = {id:"magic", style:"Make Decorator Blind", points:foP[5], damage:foD[5]};
fightObj.f6 = {id:"magic", style:"Manifest Muddy Carpet", points:foP[6], damage:foD[6]};
fightObj.f7 = {id:"magic", style:"Summon Martha Stewart", points:foP[7], damage:foD[7]};
defendObj = {};
defendObj.cnt = 8;
defendObj.f0 = {id:"defense", style:"Throw Stink Bomb", points:doP[0], block:"Spray Air Freshener"};
defendObj.f1 = {id:"defense", style:"Linen Napkin Tent", points:doP[1], block:"Silverware Attack"};
defendObj.f2 = {id:"defense", style:"Pillow Sham Shield", points:doP[2], block:"Toss Pillow Plummel"};
defendObj.f3 = {id:"defense", style:"Burning Bookshelf", points:doP[3], block:"Martha Stewart Book Bash"};
defendObj.f4 = {id:"defense", style:"Curtain Rod Retreat", points:doP[4], block:"Entrap in Plush Drapes"};
defendObj.f5 = {id:"defense", style:"Pefect Vision Glasses", points:doP[5], block:"Make Decorator Blind"};
defendObj.f6 = {id:"defense", style:"Magic Stain Remover", points:doP[6], block:"Manifest Muddy Carpet"};
defendObj.f7 = {id:"defense", style:"Cast K Mart Foreclosure", points:doP[7], block:"Summon Martha Stewart"};
lostFight = [];
lostFight.push("Damn you! Your lucky I have something in the oven, Ms. Bitch!!");
lostFight.push("Leave me alone...I am trying to do the dishes ho!!");
lostFight.push("Don't attack me...attack your dirty house you slut!!");
wonFight = [];
wonFight.push("Cleanliness is God like...so bow down you slob!!");
wonFight.push("I'm working you like a vaccum on Sunday morning!!");
wonFight.push("Guess all that Martha Stewart did nothing for you ho!");
lostMagic = [];
lostMagic.push("Your magic may have worked this time, but it can't last!!");
lostMagic.push("Leave the magic at home!!! You'll never get that award!!");
lostMagic.push("Your spells are messing with my decor!! Cut it out bitch!!");
wonMagic = [];
wonMagic.push("HA HA!! I'm serving you like a warm holiday dinner!!");
wonMagic.push("I don't need magic to keep my house...so fuck off!!");
wonMagic.push("Why don't you just give up now!?! Your a weak slut!!");
lostDefend = [];
lostDefend.push("Why don't you have some manners!?! You little bitch!!");
lostDefend.push("Whatever...I see a stain on your carpet Ms. Tight Ass!!");
lostDefend.push("You fucking tiger print prostitute!! Get off me!!");
wonDefend = [];
wonDefend.push("And you thought you could even try and hurt me bitch!?!");
wonDefend.push("That award is mine, so why don't you go back to sewing class!");
wonDefend.push("How are you feeling? Sucks to be a loser whore doesn't it!?!");
rechargeTalk = [];
rechargeTalk.push("As soon as I serve this dinner your ass is cooked!");
rechargeTalk.push("I got to fluff a few pillows, and then your an exposed slut!!");
randomTalk = [];
randomTalk.push("A homemaker you will never be, just a dumb slut!!");
randomTalk.push("Your don't know the difference between a sheet or shirt!!");
randomTalk.push("Your like old trash...just begging to be thrown out!!");
randomTalk.push("I'll clean house on you and then strip you bare bitch!!");
randomTalk.push("You call that cooking!?! How dare you disgust me!?!");
}
function fight4Init() {
fightObj = {};
fightObj.cnt = 8;
fightObj.f0 = {id:"fight", style:"Boxer Punch", points:foP[0], damage:foD[0]};
fightObj.f1 = {id:"fight", style:"Spinning Clothesline", points:foP[1], damage:foD[1]};
fightObj.f2 = {id:"fight", style:"Triple Back Flip Kick", points:foP[2], damage:foD[2]};
fightObj.f3 = {id:"fight", style:"Intense Body Slam", points:foP[3], damage:foD[3]};
fightObj.f4 = {id:"magic", style:"Cast Weakness Spell", points:foP[4], damage:foD[4]};
fightObj.f5 = {id:"magic", style:"The Body Blast", points:foP[5], damage:foD[5]};
fightObj.f6 = {id:"magic", style:"Passing Whirlwind", points:foP[6], damage:foD[6]};
fightObj.f7 = {id:"magic", style:"Big Medal Winner Morph", points:foP[7], damage:foD[7]};
defendObj = {};
defendObj.cnt = 8;
defendObj.f0 = {id:"defense", style:"Butterfly Dodge", points:doP[0], block:"Boxer Punch"};
defendObj.f1 = {id:"defense", style:"Clothesline Reversal", points:doP[1], block:"Spinning Clothesline"};
defendObj.f2 = {id:"defense", style:"Double High Somersault", points:doP[2], block:"Triple Back Flip Kick"};
defendObj.f3 = {id:"defense", style:"Light Speed Dodge", points:doP[3], block:"Intense Body Slam"};
defendObj.f4 = {id:"defense", style:"Recover Strength Magic", points:doP[4], block:"Cast Weakness Spell"};
defendObj.f5 = {id:"defense", style:"Cast Steel Skin", points:doP[5], block:"The Body Blast"};
defendObj.f6 = {id:"defense", style:"Manifest Cement Shoes", points:doP[6], block:"Passing Whirlwind"};
defendObj.f7 = {id:"defense", style:"Summon Steroid Scandal", points:doP[7], block:"Big Medal Winner Morph"};
lostFight = [];
lostFight.push("Your strength is impressive, but I'm going to show off your ass!!");
lostFight.push("A bitch like you needs to leave me the fuck alone!! or else!!");
lostFight.push("Why are you trying to mess with someone who will crush you!?!");
wonFight = [];
wonFight.push("Can't wait to see your naked bush in front of the Academy!!");
wonFight.push("I am strong, your just another weak fairy bitch!!");
wonFight.push("Hope that didn't hurt!! Yeah right you little whimp slut!");
lostMagic = [];
lostMagic.push("Fight like the real bitch you are...not this magic shit!!");
lostMagic.push("Cut that witch shit!! Are you just a total pussy!?!");
lostMagic.push("OK...thats it..no more magic you weak little princess!!");
wonMagic = [];
wonMagic.push("Feel the pain of my spells you little weakling slut!!");
wonMagic.push("Little by little, you flabby nudity will be revealed!!");
wonMagic.push("My magical toe is stronger than your whole virgin body !!");
lostDefend = [];
lostDefend.push("You may be quick, but I am taking you down enventually!");
lostDefend.push("Shit!! You make have foiled me this time, but your tits are mine!!");
lostDefend.push("Stop jumping around so much, this isn't Hammer time you ho!!");
wonDefend = [];
wonDefend.push("Now you know how strong I am...you better watch yourself!!");
wonDefend.push("Why don't you take a rest!?! Your skills seem pretty weak!!");
wonDefend.push("Oh yes!! who is looking like a dumb ass now bitch ass ho!?!");
rechargeTalk = [];
rechargeTalk.push("Let me do a couple of push ups then I'm stripping you!!");
rechargeTalk.push("I just need to eat this energy bar, and then I'm muff hunting!!");
randomTalk = [];
randomTalk.push("Your so fucking weak compared to me...just give it up!!");
randomTalk.push("Are those muscles or tits? You look like a model chick!!");
randomTalk.push("Your about as firmed up as a rubber hose...HA HA HA!!");
randomTalk.push("I hope your strong enough to handle your nude shame!!");
randomTalk.push("Everyone in the Academy knows your weak, so just strip!!");
}
function fight5Init() {
fightObj = {};
fightObj.cnt = 8;
fightObj.f0 = {id:"fight", style:"Paint Splatter", points:foP[0], damage:foD[0]};
fightObj.f1 = {id:"fight", style:"Snobby Remark", points:foP[1], damage:foD[1]};
fightObj.f2 = {id:"fight", style:"Perform Poetry Reading", points:foP[2], damage:foD[2]};
fightObj.f3 = {id:"fight", style:"Conjure Big Art Show", points:foP[3], damage:foD[3]};
fightObj.f4 = {id:"magic", style:"Cast In Crowd Spell", points:foP[4], damage:foD[4]};
fightObj.f5 = {id:"magic", style:"Color Clash Confusion", points:foP[5], damage:foD[5]};
fightObj.f6 = {id:"magic", style:"Summon Bad Acting Coach", points:foP[6], damage:foD[6]};
fightObj.f7 = {id:"magic", style:"Expose Suburan Past", points:foP[7], damage:foD[7]};
defendObj = {};
defendObj.cnt = 8;
defendObj.f0 = {id:"defense", style:"Fresh Canvas Sheild", points:doP[0], block:"Paint Splatter"};
defendObj.f1 = {id:"defense", style:"Rubber Skin Defense", points:doP[1], block:"Snobby Remark"};
defendObj.f2 = {id:"defense", style:"Unplug Microphone", points:doP[2], block:"Perform Poetry Reading"};
defendObj.f3 = {id:"defense", style:"Cast Invisible Paintings", points:doP[3], block:"Conjure Big Art Show"};
defendObj.f4 = {id:"defense", style:"Anti-Stereotype Potion", points:doP[4], block:"Cast In Crowd Spell"};
defendObj.f5 = {id:"defense", style:"Summon Color Wheel", points:doP[5], block:"Color Clash Confusion"};
defendObj.f6 = {id:"defense", style:"Sprinkle Natural Talent Dust", points:doP[6], block:"Summon Bad Acting Coach"};
defendObj.f7 = {id:"defense", style:"Perfect Example Morph", points:doP[7], block:"Expose Suburan Past"};
lostFight = [];
lostFight.push("Whatever...your about as creative as a plumber!!");
lostFight.push("Up yours slut!!! If I get naked at least its for art!!");
lostFight.push("Why don't you let me be you little untalented ho!!");
wonFight = [];
wonFight.push("Don't worry nobody wanted your paintings anyway!!");
wonFight.push("HA HA HA!! There is no art in you hideious nude body!!");
wonFight.push("I am the most artistic, so take back your brushes bitch!!");
lostMagic = [];
lostMagic.push("Your magic is creative, but it's no art you bitch!!");
lostMagic.push("Keep your spells to yourself, I've got my own style!!");
lostMagic.push("Alright tramp!! If this is how you want it...you got it!!");
wonMagic = [];
wonMagic.push("I am the muse bitch...so drop those pants and sing!!");
wonMagic.push("My magic can't make you talented...so just get naked!");
wonMagic.push("Your no match for this, go back to the drawing board!!");
lostDefend = [];
lostDefend.push("Lucky shot ho!! To bad your art isn't as creative!!");
lostDefend.push("I wasn't paying attention you little ass bag...your dead!!");
lostDefend.push("Don't get to full of yourself bitch. You'll be naked soon!");
wonDefend = [];
wonDefend.push("My artistic powers are unstoppable!!");
wonDefend.push("Try not to cry you sensitive virgin bitch!!");
wonDefend.push("Have you not realized your just a dumb bitch!?!");
rechargeTalk = [];
rechargeTalk.push("I need to rinse my brushes out...then your done!!");
rechargeTalk.push("As soon as I am done with this poetry your a naked bird!");
randomTalk = [];
randomTalk.push("Your no work of art, and I'm going to prove it!!");
randomTalk.push("You sing like a dying Banshee...just give it up girl!!");
randomTalk.push("The only show you'll have is me exposing your tits!!");
randomTalk.push("Your about as artistic as a stick...lets see that ass!!");
randomTalk.push("I'm going to strip you like an old piece of furniture!!");
}
function fight6Init() {
fightObj = {};
fightObj.cnt = 8;
fightObj.f0 = {id:"fight", style:"Make Pouty Face", points:foP[0], damage:foD[0]};
fightObj.f1 = {id:"fight", style:"Pretensious Hair Flip", points:foP[1], damage:foD[1]};
fightObj.f2 = {id:"fight", style:"Red Lipstick Attack", points:foP[2], damage:foD[2]};
fightObj.f3 = {id:"fight", style:"Strike A Perfect Pose", points:foP[3], damage:foD[3]};
fightObj.f4 = {id:"magic", style:"Scramble Cell Phone", points:foP[4], damage:foD[4]};
fightObj.f5 = {id:"magic", style:"Summon Bad Hair Day", points:foP[5], damage:foD[5]};
fightObj.f6 = {id:"magic", style:"Perfect Ass Potion", points:foP[6], damage:foD[6]};
fightObj.f7 = {id:"magic", style:"Breast Reduction Spell", points:foP[7], damage:foD[7]};
defendObj = {};
defendObj.cnt = 8;
defendObj.f0 = {id:"defense", style:"Slap Pouty Face Off", points:doP[0], block:"Make Pouty Face"};
defendObj.f1 = {id:"defense", style:"Hair Clip Defense", points:doP[1], block:"Pretensious Hair Flip"};
defendObj.f2 = {id:"defense", style:"Spray Stain Guard", points:doP[2], block:"Red Lipstick Attack"};
defendObj.f3 = {id:"defense", style:"Comment on Wide Ass", points:doP[3], block:"Strike A Perfect Pose"};
defendObj.f4 = {id:"defense", style:"Cast Perfect Reception", points:doP[4], block:"Scramble Cell Phone"};
defendObj.f5 = {id:"defense", style:"Magic Hair Dryer", points:doP[5], block:"Summon Bad Hair Day"};
defendObj.f6 = {id:"defense", style:"Summon Saggy Ass", points:doP[6], block:"Perfect Ass Potion"};
defendObj.f7 = {id:"defense", style:"Conjure Plastic Surgeon", points:doP[7], block:"Breast Reduction Spell"};
lostFight = [];
lostFight.push("Why don't you leave me alone you ugly bitch!!");
lostFight.push("Ouch!! you broke one of my nails you piece of shit!!");
lostFight.push("Thats it!! Im going to expose your badly shaved snatch!!");
wonFight = [];
wonFight.push("Thats right!! I'm sooooo much hotter than you!");
wonFight.push("The Beauty Award is all mine you little tramp ass!!");
wonFight.push("How does it feel to be second place, you skank!?!");
lostMagic = [];
lostMagic.push("Keep your magic shit to yourself you sloppy ho!!");
lostMagic.push("Fuck you!! Your magic is making me pissed off now!!");
lostMagic.push("Just wait till I strip you down to your fake tits bitch!!");
wonMagic = [];
wonMagic.push("HA HA! I cast more spells than just my beauty!!");
wonMagic.push("Thats right!! I got the magic and your just lame!!");
wonMagic.push("No magic can improve your saggy tits and floppy ass!!");
lostDefend = [];
lostDefend.push("Fine slut...you got me this time, but watch your back!!");
lostDefend.push("You think your so fucking cool!! Im going to cut you!!");
lostDefend.push("You can only block for so long, then your getting naked!");
wonDefend = [];
wonDefend.push("HA fool!! This tits are a sheild unto themselves.");
wonDefend.push("You should go back to make up school, you two bit ho!!");
wonDefend.push("Why do you even try!?! My beauty reigns supreme!!");
rechargeTalk = [];
rechargeTalk.push("Let me powder up a bit, and then Ill strip you down!!");
rechargeTalk.push("Let me just slip into something more fatal...");
randomTalk = [];
randomTalk.push("Did you know that your ass is hangin out?");
randomTalk.push("Who did your boobs? Doctor Frakenstien!?! HA HA!!");
randomTalk.push("The only guy who would go out with you would be blind.");
randomTalk.push("Whats that smell? Clean your cooch, you nasty slut.");
randomTalk.push("You got something in your nose, you good for nothing bag!!");
}
function loadSavedGame() {
var _local4 = SharedObject.getLocal("kiss_fighter");
if (_local4.data.bgs != undefined) {
trace("loaded data: " + _local4.data.bgs);
trace("loaded data:" + _local4.data.winners);
_root.battle_gems = _local4.data.bgs;
var _local5 = _root.battleInfo;
var _local2 = 0;
while (_local2 < 6) {
var _local3 = _local4.data.winners[_local2];
_local5["b" + (_local2 + 1)].won = _local3;
_local2++;
}
} else {
trace("no saved game");
}
}
_root.battle_gems = 0;
battleInfo = new Object();
var bi = battleInfo;
bi.b1 = {num:1, p1:"Ayanami", p2:"Minako", bg:0, won:0, award:"Cutest Student Award", desc:"Bitter rivals for the <font color=\"#4F9E4F\">Cutest Student Award of KiSS Academy</font>. These two would like nothing better than to shame to other by exposing there enemies sub par bodies."};
bi.b2 = {num:2, p1:"Hikari", p2:"Kasugano", bg:50, won:0, award:"Best in Business Award", desc:"Fighting for the <font color=\"#4F9E4F\">Best in Business Award</font>, they will stop at nothing to strip each other to the embare-assment of the school. "};
bi.b3 = {num:3, p1:"Mercury", p2:"Vicki", bg:100, won:0, award:"Best Homemaker Award", desc:"Tired of proving who is most deserving of the <font color=\"#4F9E4F\">KiSS Academy Best Homemaker Award</font>, Mercury and Vicki are set put a little undressing on the salad tonight."};
bi.b4 = {num:4, p1:"Rimururu", p2:"Kisito", bg:150, won:0, award:"Physical Achievment Award", desc:"And the <font color=\"#4F9E4F\">Physical Achievment Award of the KiSS Academy</font> goes to...we will find out, and it should be strongly revealing."};
bi.b5 = {num:5, p1:"Selphie", p2:"Ayaka", bg:200, won:0, award:"Artisic Achievment Award", desc:"Who is the most honoring of <font color=\"#4F9E4F\">Artisic Achievment Award of KiSS Academy</font>? These two strip eachother down to find the answer to it all."};
bi.b6 = {num:6, p1:"Tokasiki", p2:"Yasuki", bg:250, won:0, award:"Most Beautiful Award", desc:"Enemies since grade school, these two ladies will stop at nothing to gain the <font color=\"#4F9E4F\">Most Beautiful Award of KiSS Academy</font>, even if it means ruining nice clothes."};
foP = [4, 10, 18, 35, 5, 13, 31, 50];
foD = [8, 17, 28, 40, 12, 21, 34, 50];
doP = [2, 3, 4, 10, 7, 8, 9, 15];
roP = [3, 5, 2, 10, 12];
roF = [13, 10, 15, 20, 17];
rechargeObj = {};
rechargeObj.cnt = 5;
rechargeObj.f0 = {id:"recharge", style:"Fighting Recharge", points:roP[0], freq:roF[0], recharge:"fight"};
rechargeObj.f1 = {id:"recharge", style:"Magical Recharge", points:roP[1], freq:roF[1], recharge:"magic"};
rechargeObj.f2 = {id:"recharge", style:"Defense Recharge", points:roP[2], freq:roF[2], recharge:"defense"};
rechargeObj.f3 = {id:"recharge", style:"Healing Recharge", points:roP[3], freq:roF[3], recharge:"hp"};
rechargeObj.f4 = {id:"recharge", style:"KiSS Booster Recharge", points:roP[4], freq:roF[4], recharge:"all"};
trace("fighter data loaded");
loadSavedGame();
Frame 7
function loadBattle(battle) {
_root.battleNum = battle;
loadFighterData(battle);
_root.play();
}
function showBattleInfo(battle) {
var _local2 = battleInfo["b" + battle];
var _local3 = ((("<font size=\"30\" color=\"#4F9E4F\">" + _local2.p1) + " <font size=\"22\" color=\"#FFFFFF\">vs</font> ") + _local2.p2) + "</font>";
if (_root.battle_gems < _local2.bg) {
var _local4 = ("<font size=\"20\" color=\"#FF0000\">Requires <font color=\"#FFFFFF\">" + _local2.bg) + "</font> Battle Gems.</font>";
} else {
var _local4 = "<font size=\"20\" color=\"#FFFF00\">Click to play this battle!</font>";
}
var _local5 = _local2.desc;
battle_txt.htmlText = (((_local3 + "<br><br>") + _local4) + "<br><br>") + _local5;
}
function displayDefaultBattleInfo() {
}
function loadFighterData(battle) {
trace("load fighters: " + battle);
var theFunction = eval (("fight" + battle) + "Init");
theFunction.apply(null, null);
}
battle_gems_txt.text = "battle gems: " + _root.battle_gems;
Frame 8
function loadGame() {
}
function saveGame() {
}
function startFadeMini() {
miniCnt = 1;
_root.mini1.fade = true;
miniCnt++;
}
function startNextMini() {
_root["mini" + miniCnt].fade = true;
miniCnt++;
}
Frame 9
stop();
story = "It's time for the <font size=\"20\" color=\"#FF0000\">KiSS Academy</font> awards ceremony.<br><br>The only way to win is to <font size=\"20\" color=\"#FFFF00\">strip your opponent naked</font> using the fighting and magic skills you've learned to the delight of the entire student body.<br><br>the last one with something still on wins the award.";
battle_txt.htmlText = story;
Instance of Symbol 71 MovieClip "mini1" in Frame 9
onClipEvent (load) {
this.bnum = 1;
this._alpha = 0;
this.fade = false;
var battleAmt = _root.battleInfo["b" + this.bnum].bg;
var bWon = _root.battleInfo["b" + this.bnum].won;
if (bWon == 1) {
this.won_txt.text = "WINNER";
} else {
this.won_txt.text = "";
}
if (_root.battle_gems < battleAmt) {
this.fademax = 50;
this.lock = true;
} else {
this.fademax = 100;
this.lock = false;
}
_root.startFadeMini();
}
onClipEvent (enterFrame) {
if (this.fade) {
this._alpha = this._alpha + 10;
if (this._alpha >= this.fademax) {
this.fade = false;
this._alpha = this.fademax;
_root.startNextMini();
}
}
}
on (rollOver) {
this.gotoAndStop(2);
_root.showBattleInfo(this.bnum);
}
on (rollOut, dragOut) {
_root.battle_txt.htmlText = _root.story;
this.gotoAndStop(1);
}
on (release, releaseOutside, dragOut) {
if (!this.lock) {
_root.loadBattle(this.bnum);
}
}
Instance of Symbol 75 MovieClip "mini3" in Frame 9
onClipEvent (load) {
this.bnum = 3;
this._alpha = 0;
this.fade = false;
var battleAmt = _root.battleInfo["b" + this.bnum].bg;
var bWon = _root.battleInfo["b" + this.bnum].won;
if (bWon == 1) {
this.won_txt.text = "WINNER";
} else {
this.won_txt.text = "";
}
if (_root.battle_gems < battleAmt) {
this.fademax = 50;
this.lock = true;
} else {
this.fademax = 100;
this.lock = false;
}
_root.startFadeMini();
}
onClipEvent (enterFrame) {
if (this.fade) {
this._alpha = this._alpha + 10;
if (this._alpha >= this.fademax) {
this.fade = false;
this._alpha = this.fademax;
_root.startNextMini();
}
}
}
on (rollOver) {
this.gotoAndStop(2);
_root.showBattleInfo(this.bnum);
}
on (rollOut, dragOut) {
_root.battle_txt.htmlText = _root.story;
this.gotoAndStop(1);
}
on (release, releaseOutside, dragOut) {
if (!this.lock) {
_root.loadBattle(this.bnum);
}
}
Instance of Symbol 79 MovieClip "mini2" in Frame 9
onClipEvent (load) {
this.bnum = 2;
this._alpha = 0;
this.fade = false;
var battleAmt = _root.battleInfo["b" + this.bnum].bg;
var bWon = _root.battleInfo["b" + this.bnum].won;
if (bWon == 1) {
this.won_txt.text = "WINNER";
} else {
this.won_txt.text = "";
}
if (_root.battle_gems < battleAmt) {
this.fademax = 50;
this.lock = true;
} else {
this.fademax = 100;
this.lock = false;
}
_root.startFadeMini();
}
onClipEvent (enterFrame) {
if (this.fade) {
this._alpha = this._alpha + 10;
if (this._alpha >= this.fademax) {
this.fade = false;
this._alpha = this.fademax;
_root.startNextMini();
}
}
}
on (rollOver) {
this.gotoAndStop(2);
_root.showBattleInfo(this.bnum);
}
on (rollOut, dragOut) {
_root.battle_txt.htmlText = _root.story;
this.gotoAndStop(1);
}
on (release, releaseOutside, dragOut) {
if (!this.lock) {
_root.loadBattle(this.bnum);
}
}
Instance of Symbol 84 MovieClip "mini4" in Frame 9
onClipEvent (load) {
this.bnum = 4;
this._alpha = 0;
this.fade = false;
var battleAmt = _root.battleInfo["b" + this.bnum].bg;
var bWon = _root.battleInfo["b" + this.bnum].won;
if (bWon == 1) {
this.won_txt.text = "WINNER";
} else {
this.won_txt.text = "";
}
if (_root.battle_gems < battleAmt) {
this.fademax = 50;
this.lock = true;
} else {
this.fademax = 100;
this.lock = false;
}
_root.startFadeMini();
}
onClipEvent (enterFrame) {
if (this.fade) {
this._alpha = this._alpha + 10;
if (this._alpha >= this.fademax) {
this.fade = false;
this._alpha = this.fademax;
_root.startNextMini();
}
}
}
on (rollOver) {
this.gotoAndStop(2);
_root.showBattleInfo(this.bnum);
}
on (rollOut, dragOut) {
_root.battle_txt.htmlText = _root.story;
this.gotoAndStop(1);
}
on (release, releaseOutside, dragOut) {
if (!this.lock) {
_root.loadBattle(this.bnum);
}
}
Instance of Symbol 88 MovieClip "mini5" in Frame 9
onClipEvent (load) {
this.bnum = 5;
this._alpha = 0;
this.fade = false;
var battleAmt = _root.battleInfo["b" + this.bnum].bg;
var bWon = _root.battleInfo["b" + this.bnum].won;
if (bWon == 1) {
this.won_txt.text = "WINNER";
} else {
this.won_txt.text = "";
}
if (_root.battle_gems < battleAmt) {
this.fademax = 50;
this.lock = true;
} else {
this.fademax = 100;
this.lock = false;
}
_root.startFadeMini();
}
onClipEvent (enterFrame) {
if (this.fade) {
this._alpha = this._alpha + 10;
if (this._alpha >= this.fademax) {
this.fade = false;
this._alpha = this.fademax;
_root.startNextMini();
}
}
}
on (rollOver) {
this.gotoAndStop(2);
_root.showBattleInfo(this.bnum);
}
on (rollOut, dragOut) {
_root.battle_txt.htmlText = _root.story;
this.gotoAndStop(1);
}
on (release, releaseOutside, dragOut) {
if (!this.lock) {
_root.loadBattle(this.bnum);
}
}
Instance of Symbol 92 MovieClip "mini6" in Frame 9
onClipEvent (load) {
this.bnum = 6;
this._alpha = 0;
this.fade = false;
var battleAmt = _root.battleInfo["b" + this.bnum].bg;
var bWon = _root.battleInfo["b" + this.bnum].won;
if (bWon == 1) {
this.won_txt.text = "WINNER";
} else {
this.won_txt.text = "";
}
if (_root.battle_gems < battleAmt) {
this.fademax = 50;
this.lock = true;
} else {
this.fademax = 100;
this.lock = false;
}
_root.startFadeMini();
}
onClipEvent (enterFrame) {
if (this.fade) {
this._alpha = this._alpha + 10;
if (this._alpha >= this.fademax) {
this.fade = false;
this._alpha = this.fademax;
_root.startNextMini();
}
}
}
on (rollOver) {
this.gotoAndStop(2);
_root.showBattleInfo(this.bnum);
}
on (rollOut, dragOut) {
_root.battle_txt.htmlText = _root.story;
this.gotoAndStop(1);
}
on (release, releaseOutside, dragOut) {
if (!this.lock) {
_root.loadBattle(this.bnum);
}
}
Frame 10
stop();
Frame 11
function backToMain() {
gotoAndPlay (7);
}
function ftGreen(txt) {
return(("<font color=\"#FFFFFF\">" + txt) + "</font>");
}
function ftRed(txt) {
return(("<font color=\"#FF0000\">" + txt) + "</font>");
}
function ftYellow(txt) {
return(("<font color=\"#FFFF00\">" + txt) + "</font>");
}
function ftWhite(txt) {
return(("<font color=\"#FFFFFF\">" + txt) + "</font>");
}
function ftAi(txt) {
return(("<font color=\"#DDCCB3\">" + txt) + "</font>");
}
function ftP(txt) {
return(("<font color=\"#E2C7D8\">" + txt) + "</font>");
}
player1Obj.gotoAndStop(_root.battleNum);
player1Obj.fighter_name_txt.text = battleInfo["b" + _root.battleNum].p1;
player1Obj.fighter_name_shad_txt.text = battleInfo["b" + _root.battleNum].p1;
player2Obj.gotoAndStop(_root.battleNum);
player2Obj.fighter_name_txt.text = battleInfo["b" + _root.battleNum].p2;
player2Obj.fighter_name_shad_txt.text = battleInfo["b" + _root.battleNum].p2;
award_txt.htmlText = "<font color=\"#FFFFFF\" size=\"12\">battling for the:</font><br>" + battleInfo["b" + _root.battleNum].award;
battle_gems_txt.text = "Your Battle Gems: " + _root.battle_gems;
_root.locked = true;
Instance of Symbol 468 MovieClip "p1bubble_mc" in Frame 11
onClipEvent (load) {
function speakMsg(msg) {
clearInterval(talkTimer);
delete talkTimer;
ref._alpha = 0;
this.talk_txt.text = msg;
fadeUp();
}
function fadeUp() {
this.dir = "up";
this._visible = true;
this.fade = true;
}
function fadeDown() {
ref.dir = "down";
ref.fade = true;
}
function setScale(samt) {
this._yscale = samt;
}
this._visible = false;
this._alpha = 0;
this.fade = false;
ref = this;
}
onClipEvent (enterFrame) {
if (this.fade) {
switch (this.dir) {
case "up" :
this._alpha = this._alpha + 20;
setScale(this._alpha);
if (this._alpha >= 100) {
this._alpha = 100;
setScale(100);
this.fade = false;
}
break;
case "down" :
this._alpha = this._alpha - 10;
setScale(this._alpha);
if (this._alpha > 0) {
break;
}
this._alpha = 0;
this.fade = false;
}
}
}
Instance of Symbol 471 MovieClip "p2bubble_mc" in Frame 11
onClipEvent (load) {
function speakMsg(msg) {
clearInterval(talkTimer);
delete talkTimer;
ref._alpha = 0;
this.talk_txt.text = msg;
fadeUp();
}
function fadeUp() {
this.dir = "up";
this._visible = true;
this.fade = true;
}
function fadeDown() {
ref.dir = "down";
ref.fade = true;
}
function setScale(samt) {
this._yscale = samt;
}
this._visible = false;
this._alpha = 0;
this.fade = false;
ref = this;
}
onClipEvent (enterFrame) {
if (this.fade) {
switch (this.dir) {
case "up" :
this._alpha = this._alpha + 20;
setScale(this._alpha);
if (this._alpha >= 100) {
this._alpha = 100;
setScale(100);
this.fade = false;
}
break;
case "down" :
this._alpha = this._alpha - 10;
setScale(this._alpha);
if (this._alpha > 0) {
break;
}
this._alpha = 0;
this.fade = false;
}
}
}
Frame 12
function getResponse(rid) {
switch (rid) {
case "lostfight" :
return(lostFight[random(lostFight.length)]);
case "wonfight" :
return(wonFight[random(wonFight.length)]);
case "lostmagic" :
return(lostMagic[random(lostMagic.length)]);
case "wonmagic" :
return(wonMagic[random(wonMagic.length)]);
case "lostdefend" :
return(lostDefend[random(lostDefend.length)]);
case "wondefend" :
return(wonDefend[random(wonDefend.length)]);
case "recharge" :
return(rechargeTalk[random(rechargeTalk.length)]);
case "random" :
return(randomTalk[random(randomTalk.length)]);
}
}
Frame 13
function selectAttack(apos, ai) {
var _local1 = fightObj["f" + apos];
if (!ai) {
pObj.p1.nextMove = _local1;
gdText = (((((("<br>You have chosen <br><br>" + ftYellow(((_local1.style + " ") + _local1.id) + " attack.")) + "<br><br>It will cost ") + ftRed((_local1.points + " ") + _local1.id)) + " points.") + ftWhite("<br><br>PRESS ")) + "GO") + ftWhite(" TO BATTLE.");
gdOut(gdText);
} else {
pObj.p2.nextMove = _local1;
}
}
function selectDefense(apos, ai) {
var _local1 = defendObj["f" + apos];
if (!ai) {
pObj.p1.nextMove = _local1;
gdText = (((((("<br>You have chosen a<br><br>" + ftYellow(((_local1.style + " ") + _local1.id) + " move.")) + "<br><br>It will cost ") + ftRed((_local1.points + " ") + _local1.id)) + " points.") + ftWhite("<br><br>PRESS ")) + "GO") + ftWhite(" TO BATTLE.");
gdOut(gdText);
} else {
pObj.p2.nextMove = _local1;
}
}
function selectRecharge(apos, ai) {
var _local1 = rechargeObj["f" + apos];
if (!ai) {
pObj.p1.nextMove = _local1;
gdText = (((((("<br>You have chosen a<br><br>" + ftYellow(_local1.style + " command.")) + "<br><br>It will cost ") + ftRed((_local1.points + " ") + _local1.id)) + " points.") + ftWhite("<br><br>PRESS ")) + "GO") + ftWhite(" TO BATTLE.");
gdOut(gdText);
} else {
pObj.p2.nextMove = _local1;
}
}
Frame 14
function createPlayerObj(pnum, pname, pref, isNP) {
var _local2 = {};
_local2.lock = true;
_local2.player_num = pnum;
_local2.player_name = pname;
_local2.player_ref = pref;
_local2.isNonPlayer = isNP;
_local2.fight = 25;
_local2.magic = 25;
_local2.defense = 20;
_local2.recharge = 20;
_local2.hp = 200;
_local2.removeHP = function (amt) {
if (gObj.running) {
var _local3 = Math.round(amt / 2);
var _local2 = Math.round(random(amt) + _local3);
pObj["p" + this.player_num].hp = pObj["p" + this.player_num].hp - _local2;
trace("hit: " + _local2);
return(_local2);
}
};
_local2.addRecharge = function (amt) {
var _local2 = Math.round(amt * 0.25);
this.recharge = this.recharge + _local2;
var _local3 = {amt:_local2, rtype:"rp"};
return(_local3);
};
pObj["p" + pnum] = _local2;
}
function setUpP1Scripts() {
pObj.p1.doFight = function () {
var _local3 = pObj.p1.fight;
var _local2 = ("<br>Select a " + ftWhite("fighting")) + " attack:<br><br><font color=\"#FFFF00\" size=\"12\">";
var _local1 = 0;
while (_local1 < 4) {
if (_local3 >= fightObj["f" + _local1].points) {
_local2 = _local2 + ((((("<a href=\"asFunction:selectAttack," + _local1) + "\">") + fightObj["f" + _local1].style) + ftRed((" -" + fightObj["f" + _local1].points) + " fp")) + "</a><br>");
} else {
_local2 = _local2 + (((("<font color=\"#7C7C7C\">" + fightObj["f" + _local1].style) + " -") + fightObj["f" + _local1].points) + " fp.<br>");
}
_local1++;
}
_local2 = _local2 + "</font>";
gdText = _local2;
gdOut(gdText);
};
pObj.p1.doMagic = function () {
var _local3 = pObj.p1.magic;
var _local2 = ("<br>Select a " + ftWhite("magic")) + " attack:<br><br><font color=\"#FFFF00\" size=\"12\">";
var _local1 = 4;
while (_local1 < fightObj.cnt) {
if (_local3 >= fightObj["f" + _local1].points) {
_local2 = _local2 + ((((("<a href=\"asFunction:selectAttack," + _local1) + "\">") + fightObj["f" + _local1].style) + ftRed((" -" + fightObj["f" + _local1].points) + " mp")) + "</a><br>");
} else {
_local2 = _local2 + (((("<font color=\"#7C7C7C\">" + fightObj["f" + _local1].style) + " -") + fightObj["f" + _local1].points) + " mp.</font><br>");
}
_local1++;
}
_local2 = _local2 + "</font>";
gdText = _local2;
gdOut(gdText);
};
pObj.p1.doDefend = function () {
var _local3 = pObj.p1.defense;
var _local2 = ("Select a " + ftWhite("fight")) + " defense:<br><font color=\"#FFFF00\" size=\"12\">";
var _local1 = 0;
while (_local1 < 4) {
if (_local3 >= defendObj["f" + _local1].points) {
_local2 = _local2 + ((((("<a href=\"asFunction:selectDefense," + _local1) + "\">") + defendObj["f" + _local1].style) + ftRed((" -" + defendObj["f" + _local1].points) + " dp")) + "</a><br>");
} else {
_local2 = _local2 + (((("<font color=\"#7C7C7C\">" + defendObj["f" + _local1].style) + " -") + defendObj["f" + _local1].points) + " dp.</font><br>");
}
_local1++;
}
_local2 = _local2 + (("<br></font>Select a " + ftWhite("magic")) + " defense:<br><font color=\"#FFFF00\">");
_local1 = 4;
while (_local1 < defendObj.cnt) {
if (_local3 >= defendObj["f" + _local1].points) {
_local2 = _local2 + ((((("<a href=\"asFunction:selectDefense," + _local1) + "\">") + defendObj["f" + _local1].style) + ftRed((" -" + defendObj["f" + _local1].points) + " dp")) + "</a><br>");
} else {
_local2 = _local2 + (((("<font color=\"#7C7C7C\">" + defendObj["f" + _local1].style) + " -") + defendObj["f" + _local1].points) + " dp.</font><br>");
}
_local1++;
}
_local2 = _local2 + "</font>";
gdText = _local2;
gdOut(gdText);
};
pObj.p1.doRecharge = function () {
var _local3 = pObj.p1.recharge;
var _local2 = ("<br>Select a " + ftWhite("recharge")) + " command:<br><br><font color=\"#FFFF00\" size=\"12\">";
var _local1 = 0;
while (_local1 < rechargeObj.cnt) {
if (_local3 >= rechargeObj["f" + _local1].points) {
_local2 = _local2 + ((((("<a href=\"asFunction:selectRecharge," + _local1) + "\">") + rechargeObj["f" + _local1].style) + ftRed((" -" + rechargeObj["f" + _local1].points) + " rp")) + "</a><br>");
} else {
_local2 = _local2 + (((("<font color=\"#7C7C7C\">" + rechargeObj["f" + _local1].style) + " -") + rechargeObj["f" + _local1].points) + " rp.</font><br>");
}
_local1++;
}
_local2 = _local2 + "</font>";
gdText = _local2;
gdOut(gdText);
};
}
pObj = {};
pObj.turn = 1;
pObj.updateInfo = function () {
battle_gems_txt.text = "Your Battle Gems: " + _root.battle_gems;
var _local4 = 1;
while (_local4 <= 2) {
var _local2 = pObj["p" + _local4];
var _local3 = _root[("player" + _local4) + "Obj"];
_local3.ftab_mc.tab_txt.text = _local2.fight;
_local3.mtab_mc.tab_txt.text = _local2.magic;
_local3.dtab_mc.tab_txt.text = _local2.defense;
_local3.rtab_mc.tab_txt.text = _local2.recharge;
_local3.hp_txt.text = _local2.hp;
_local3.hp_bar_mc.bar_mc._width = _local2.hp;
pObj.updateFighters(_local4);
_local4++;
}
};
pObj.updateFighters = function (p) {
var _local6 = pObj["p" + p];
var _local7 = Math.round(_local6.hp / 25);
_local6.fpos = _local7;
var _local4 = 9 - _local7;
var _local5 = _root[("player" + p) + "Obj"].fighter_mc;
var _local2 = 1;
while (_local2 <= 8) {
var _local3 = _local5["f" + _local2];
if (_local2 < _local4) {
_local3.startFade();
}
_local2++;
}
};
Frame 15
function createGameObj() {
gObj = {};
gObj.running = false;
gObj.pturn = 1;
gObj.doTurn = function () {
var _local2 = pObj.p2.nextMove;
var _local3 = pObj.p1.nextMove;
if (_local2 == undefined) {
_root.locked = true;
gObj.speakMsg(2, gObj.getResponse("random"));
gdText = ("<br>" + ftWhite(pObj.p2.player_name)) + " is making a move.....";
gdOut(gdText);
gObj.speakMsg(2, gObj.getResponse("random"));
thinkingTimer = setInterval(aiObj.selectMove, 1500);
} else if (_local2 != undefined) {
gObj.scoreBattle();
}
};
gObj.scoreBattle = scoreBattle;
gObj.checkFightOutcome = checkFightOutcome;
gObj.checkMagicOutcome = checkMagicOutcome;
gObj.checkDefenseOutcome = checkDefenseOutcome;
gObj.checkRechargeOutcome = checkRechargeOutcome;
gObj.getResponse = getResponse;
gObj.startNextRound = function () {
p1bubble_mc.fadeDown();
p2bubble_mc.fadeDown();
this.startp = random(10);
if (this.startp <= 5) {
_root.locked = true;
gdText = ("<br>" + ftWhite(pObj.p2.player_name)) + " is making a move.....";
gdOut(gdText);
thinkingTimer = setInterval(aiObj.selectMove, 1000);
} else {
_root.locked = false;
gdText = ((((((((ftWhite("<br><br>IT IS YOUR TURN.<br><br>") + "select a ") + ftYellow("fight")) + " or ") + ftYellow("magic")) + " attack, a ") + ftYellow("defense")) + " move, or a ") + ftYellow("recharge")) + " command from your tool bar below.";
gdOut(gdText);
}
};
gObj.gameOver = function (pnum) {
trace((("go loser:" + pnum) + " run: ") + gObj.running);
if (gObj.running) {
gObj.running = false;
trace("battle gems: " + Math.round((pObj.p1.hp / 20) * 10));
var _local2 = Math.round((pObj.p1.hp / 20) * 10);
if (_local2 < 0) {
_local2 = 0;
}
if (pnum == 1) {
pObj.p1.hp = 0;
gdText = ((((("<p align=\"center\">" + ftRed("BATTLE OVER!!")) + "<br><br>The winner of the ") + ftYellow(battleInfo["b" + _root.battleNum].award)) + " was ") + ftWhite(pObj.p2.player_name)) + ".<br><br>";
gdText = gdText + (ftRed("YOUR THE LOSER!!") + "<br><br>");
gdText = gdText + (("<a href=\"asFunction:_root.backToMain\">" + ftYellow("::CLICK HERE TO CONTINUE::")) + "</a></p>");
gObj.speakMsg(1, "You tramp!!! I'm all nude!! And my bush is showing!");
gObj.speakMsg(2, "HA HA HA!! Your striped bitch!! Nice snatch by the way!!!");
} else {
pObj.p2.hp = 0;
_root.battleInfo["b" + _root.battleNum].won = 1;
gdText = ((((("<p align=\"center\">" + ftRed("BATTLE OVER!!")) + "<br><br>The winner of the ") + ftYellow(battleInfo["b" + _root.battleNum].award)) + " was ") + ftWhite(pObj.p1.player_name)) + ".<br><br>";
gdText = gdText + (("You earned " + ftWhite(_local2 + " battle gems.")) + "<br><br>");
gdText = gdText + ftYellow(("<a href=\"asFunction:gObj.stripPlayer\">Strip " + ftWhite(pObj.p1.player_name)) + " down.</a><br>");
gdText = gdText + "OR<br>";
gdText = gdText + (((("<a href=\"asFunction:gObj.takeBattleGems," + _local2) + "\">") + ftYellow(("Keep the " + ftWhite(_local2 + " ")) + "Battle Gems.")) + "</a></p><br><br>");
gObj.speakMsg(2, "You bitch!!! You got me naked!! My tits are hanging out!");
gObj.speakMsg(1, "HA HA HA!! Your naked...And a loser...Nice tits slut!!");
}
_root.game_txt.text = "";
game_txt.htmlText = gdText;
}
};
gObj.checkForGameOver = function () {
var _local2 = 1;
while (_local2 <= 2) {
if (pObj["p" + _local2].hp <= 0) {
pObj["p" + _local2].hp = 0;
_root.locked = true;
var _local3 = true;
break;
}
_local2++;
}
if (_local3) {
gObj.gameOver(_local2);
} else {
pObj.updateInfo();
}
};
gObj.startGame = function () {
createPlayerObj(1, battleInfo["b" + _root.battleNum].p1, _root.player1Obj, false);
createPlayerObj(2, battleInfo["b" + _root.battleNum].p2, _root.player2Obj, true);
setUpP1Scripts();
initAIPlayer();
pObj.updateInfo();
gObj.running = true;
gdText = ((("The" + ftRed(" KiSS Academy")) + " Battle ") + _root.battleNum) + "<br><br>";
gdText = gdText + (((ftWhite(pObj.p1.player_name) + " vs. ") + ftWhite(pObj.p2.player_name)) + " for<br>");
gdText = gdText + ftYellow(("The " + battleInfo["b" + _root.battleNum].award) + ".<br>");
gdText = gdText + ("<br>" + ftRed("Let's see some T & A girls!"));
gdText = gdText + (("<br><br>" + ftWhite("Mouse over items for more info.")) + "<br><br><a href=\"asFunction:gObj.startNextRound\">::CLICK HERE TO START GAME::</a>");
gdOut(gdText);
};
gObj.loadFighters = function () {
var _local2 = pObj.p1.fighter_ref;
var _local1 = pObj.p2.fighter_ref;
};
gObj.speakMsg = function (pnum, msg) {
_root[("p" + pnum) + "bubble_mc"].speakMsg(msg);
};
gObj.stripPlayer = function () {
trace("strip");
p1bubble_mc.fadeDown();
p2bubble_mc.fadeDown();
var _local4 = 9;
var _local5 = _root.player1Obj.fighter_mc;
var _local2 = 1;
while (_local2 <= 8) {
var _local3 = _local5["f" + _local2];
if (_local2 < _local4) {
_local3.startFade();
}
_local2++;
}
gdText = "CONGRATULATIONS!!";
gdText = gdText + ("<br><br>" + ftWhite(("I'm naked, but it's just for you...<br><br>...for helping me win the " + ftYellow(battleInfo["b" + _root.battleNum].award)) + ".<br><br>"));
gdText = gdText + ftRed("Don't tell anyone at the Academy!!<br><br>");
gdText = gdText + (("<br><a href=\"asFunction:_root.backToMain\">" + ftYellow("::CLICK HERE WHEN YOU ARE DONE::")) + "</a>");
gdOut(gdText);
};
gObj.takeBattleGems = function (amt) {
trace("b gems " + amt);
_root.battle_gems = _root.battle_gems + Number(amt);
_root.battle_gems_txt.text = "Battle Gems: " + _root.battle_gems;
gdText = "<p align=\"center\">CONGRATULATIONS!!";
gdText = gdText + ("<br><br>" + ftWhite(("You now have " + ftGreen(_root.battle_gems)) + " Battle Gems!<br><br>"));
gdText = gdText + "<br><a href=\"asFunction:gObj.saveGame\">::CLICK HERE TO SAVE YOUR GAME::</a><br>";
gdText = gdText + (("<br><a href=\"asFunction:_root.backToMain\">" + ftRed("::CONTINUE WITHOUT SAVE::")) + "</a></p>");
gdOut(gdText);
};
gObj.saveGame = function () {
var _local2 = _root.battleInfo;
var _local3 = SharedObject.getLocal("kiss_fighter");
_local3.data.bgs = _root.battle_gems;
_local3.data.winners = [_local2.b1.won, _local2.b2.won, _local2.b3.won, _local2.b4.won, _local2.b5.won, _local2.b6.won];
trace("save: " + _local3.flush());
trace("saved data: " + _local3.data.bgs);
trace("saved data:" + _local3.data.winners);
trace("saved game");
_root.backToMain();
};
gObj.startGame();
}
function gdOut(gdtext) {
game_txt.text = "";
game_txt.htmlText = gdtext;
}
function addScriptToDressMCs() {
var _local5 = 1;
while (_local5 <= 2) {
var _local4 = _root[("player" + _local5) + "Obj"].fighter_mc;
var _local3 = 1;
while (_local3 <= 8) {
_local4["f" + _local3].fade = false;
_local4["f" + _local3].startFade = function () {
this.fade = true;
};
_local4["f" + _local3].onEnterFrame = function () {
if (this.fade) {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
this.fade = false;
}
}
};
_local3++;
}
_local5++;
}
}
Frame 16
function scoreBattle() {
_root.locked = true;
p1 = pObj.p1;
p2 = pObj.p2;
pname = p1.player_name;
ainame = p2.player_name;
var _local9 = p1.nextMove;
var _local5 = p2.nextMove;
var _local8 = _local9.style;
var _local6 = _local5.style;
var _local3 = 1;
while (_local3 <= 2) {
var _local2 = pObj["p" + _local3];
var _local4 = _local2.nextMove.points;
_local2[_local2.nextMove.id] = _local2[_local2.nextMove.id] - _local4;
_local3++;
}
switch (p1.nextMove.id) {
case "fight" :
var _local7 = gObj.checkFightOutcome();
break;
case "magic" :
_local7 = checkMagicOutcome();
break;
case "defense" :
_local7 = checkDefenseOutcome();
break;
case "recharge" :
_local7 = checkRechargeOutcome();
}
if (gObj.running) {
outputScoreMsg(_local7, _local8, _local6);
}
pObj.updateInfo();
p1.nextMove = undefined;
p2.nextMove = undefined;
}
function outputScoreMsg(rmsg, pstyle, aistyle) {
st = ((ftAi(ainame) + ftWhite(" used ")) + rmsg.p2type) + "<br>";
st = st + (ftYellow(aistyle) + "<br>");
if (rmsg.p2outcome == "SUCCESSFUL!") {
st = st + ((((ftAi(ainame + " ") + ftWhite(rmsg.p2move + " ")) + ftP("You: ")) + ftRed(("-" + rmsg.p1damage) + " hp")) + "<br>");
} else if (rmsg.p2outcome == "FAILED!") {
st = st + (ftRed(rmsg.p2outcome) + "<br>");
}
if (rmsg.p2recharge != null) {
st = st + ((((((ftAi(ainame) + ftWhite(" earned: ")) + "+") + rmsg.p2recharge.amt) + " ") + rmsg.p2recharge.rtype) + "<br>");
}
gObj.speakMsg(2, gObj.getResponse(rmsg.p2speak));
st = st + "<br>";
st = st + (((ftP("You") + ftWhite(" used ")) + rmsg.p1type) + "<br>");
st = st + (ftYellow(pstyle) + "<br>");
if (rmsg.p1outcome == "SUCCESSFUL!") {
st = st + (((((ftP("You ") + ftWhite(rmsg.p1move + " ")) + ftAi(ainame)) + ": ") + ftRed(("-" + rmsg.p2damage) + " hp")) + "<br>");
} else if (rmsg.p1outcome == "FAILED!") {
st = st + (ftRed(rmsg.p1outcome) + "<br>");
}
if (rmsg.p1recharge != null) {
st = st + ((((((ftP("You") + ftWhite(" earned: ")) + "+") + rmsg.p1recharge.amt) + " ") + rmsg.p1recharge.rtype) + "<br>");
}
gObj.speakMsg(1, gObj.getResponse(rmsg.p1speak));
st = st + (("<br><a href=\"asFunction:gObj.startNextRound\"><center>" + ftYellow("::CLICK HERE TO CONTINUE::")) + "</center></a>");
gdText = st;
gdOut(gdText);
}
function checkFightOutcome() {
var _local3 = p2.nextMove;
var _local2 = p1.nextMove;
var _local1 = {};
switch (_local3.id) {
case "fight" :
var _local5 = p1.removeHP(_local3.damage);
var _local4 = p1.addRecharge(_local2.damage);
_local1.p1type = "fight";
_local1.p1move = "attacked";
_local1.p1damage = _local5;
_local1.p1recharge = _local4;
_local1.p1outcome = "SUCCESSFUL!";
_local1.p1speak = "lostfight";
_local5 = p2.removeHP(_local2.damage);
_local4 = p2.addRecharge(_local3.damage);
_local1.p2type = "fight";
_local1.p2move = "attacked";
_local1.p2damage = _local5;
_local1.p2recharge = _local4;
_local1.p2outcome = "SUCCESSFUL!";
_local1.p2speak = "random";
break;
case "magic" :
_local5 = p1.removeHP(_local3.damage);
_local4 = p1.addRecharge(_local2.damage);
_local1.p1type = "fight";
_local1.p1move = "attacked";
_local1.p1damage = _local5;
_local1.p1recharge = _local4;
_local1.p1outcome = "SUCCESSFUL!";
_local1.p1speak = "lostmagic";
_local5 = p2.removeHP(_local2.damage);
_local4 = p2.addRecharge(_local3.damage);
_local1.p2type = "magic";
_local1.p2move = "used magic on";
_local1.p2damage = _local5;
_local1.p2recharge = _local4;
_local1.p2outcome = "SUCCESSFUL!";
_local1.p2speak = "lostfight";
break;
case "defense" :
if (_local3.block == _local2.style) {
_local5 = p1.removeHP(Math.round(_local2.damage * 0.9));
_local1.p1type = "fight";
_local1.p1move = "attacked";
_local1.p1damage = _local5;
_local1.p1recharge = null;
_local1.p1outcome = "FAILED!";
_local1.p1speak = "lostdefend";
_local1.p2type = "defense";
_local1.p2move = "defended";
_local1.p2damage = null;
_local1.p2recharge = null;
_local1.p2outcome = "SUCCESSFUL!";
_local1.p2speak = "wondefend";
} else {
_local4 = p1.addRecharge(_local2.damage);
_local1.p1type = "fight";
_local1.p1move = "attacked";
_local1.p1damage = null;
_local1.p1recharge = _local4;
_local1.p1outcome = "SUCCESSFUL!";
_local1.p1speak = "wonfight";
_local5 = p2.removeHP(_local2.damage);
_local1.p2type = "defense";
_local1.p2move = "defended";
_local1.p2damage = _local5;
_local1.p2recharge = null;
_local1.p2outcome = "FAILED!";
_local1.p2speak = "lostfight";
}
break;
case "recharge" :
_local4 = p1.addRecharge(_local2.damage);
_local1.p1type = "fight";
_local1.p1move = "attacked";
_local1.p1damage = null;
_local1.p1recharge = _local4;
_local1.p1outcome = "SUCCESSFUL!";
_local1.p1speak = "wonfight";
_local5 = p2.removeHP(_local2.damage);
_local4 = updateRechargeAmt(2, _local3.freq, _local3.recharge);
_local1.p2type = "recharge";
_local1.p2move = "attacked";
_local1.p2damage = _local5;
_local1.p2recharge = _local4;
_local1.p2outcome = "";
_local1.p2speak = "lostfight";
}
gObj.checkForGameOver();
return(_local1);
}
function checkMagicOutcome() {
var _local3 = p2.nextMove;
var _local2 = p1.nextMove;
var _local1 = {};
switch (_local3.id) {
case "fight" :
var _local5 = p1.removeHP(_local3.damage);
var _local4 = p1.addRecharge(_local2.damage);
_local1.p1type = "magic";
_local1.p1move = "used magic on";
_local1.p1damage = _local5;
_local1.p1recharge = _local4;
_local1.p1outcome = "SUCCESSFUL!";
_local1.p1speak = "lostfight";
_local5 = p2.removeHP(_local2.damage);
_local4 = p2.addRecharge(_local3.damage);
_local1.p2type = "fight";
_local1.p2move = "attacked";
_local1.p2damage = _local5;
_local1.p2recharge = _local4;
_local1.p2outcome = "SUCCESSFUL!";
_local1.p2speak = "lostmagic";
break;
case "magic" :
_local5 = p1.removeHP(_local3.damage);
_local4 = p1.addRecharge(_local2.damage);
_local1.p1type = "magic";
_local1.p1move = "used magic on";
_local1.p1damage = _local5;
_local1.p1recharge = _local4;
_local1.p1outcome = "SUCCESSFUL!";
_local1.p1speak = "random";
_local5 = p2.removeHP(_local2.damage);
_local4 = p2.addRecharge(_local3.damage);
_local1.p2type = "magic";
_local1.p2move = "used magic on";
_local1.p2damage = _local5;
_local1.p2recharge = _local4;
_local1.p2outcome = "SUCCESSFUL!";
_local1.p2speak = "lostmagic";
break;
case "defense" :
if (_local3.block == _local2.style) {
_local5 = p1.removeHP(Math.round(_local2.damage * 0.9));
_local1.p1type = "magic";
_local1.p1move = "blocked";
_local1.p1damage = _local5;
_local1.p1recharge = null;
_local1.p1outcome = "FAILED!";
_local1.p1speak = "lostdefend";
_local1.p2type = "defense";
_local1.p2move = "defended";
_local1.p2damage = null;
_local1.p2recharge = null;
_local1.p2outcome = "SUCCESSFUL!";
_local1.p2speak = "wondefend";
} else {
_local4 = p1.addRecharge(_local2.damage);
_local1.p1type = "magic";
_local1.p1move = "used magic on";
_local1.p1damage = null;
_local1.p1recharge = _local4;
_local1.p1outcome = "SUCCESSFUL!";
_local1.p1speak = "wonmagic";
_local5 = p2.removeHP(_local2.damage);
_local1.p2type = "defense";
_local1.p2move = "Magic defense";
_local1.p2damage = _local5;
_local1.p2recharge = null;
_local1.p2outcome = "FAILED!";
_local1.p2speak = "lostmagic";
}
break;
case "recharge" :
_local4 = p1.addRecharge(_local2.damage);
_local1.p1type = "magic";
_local1.p1move = "used magic on";
_local1.p1damage = null;
_local1.p1recharge = _local4;
_local1.p1outcome = "SUCCESSFUL!";
_local1.p1speak = "wonmagic";
_local5 = p2.removeHP(_local2.damage);
_local4 = updateRechargeAmt(2, _local3.freq, _local3.recharge);
_local1.p2type = "recharge";
_local1.p2move = "attacked";
_local1.p2damage = _local5;
_local1.p2recharge = _local4;
_local1.p2outcome = "";
_local1.p2speak = "recharge";
}
gObj.checkForGameOver();
return(_local1);
}
function checkDefenseOutcome() {
var _local2 = p2.nextMove;
var _local3 = p1.nextMove;
var _local1 = {};
switch (_local2.id) {
case "fight" :
if (_local3.block == _local2.style) {
trace("p1 blocked p2");
var _local5 = p2.removeHP(_local2.damage);
_local1.p1type = "defense";
_local1.p1move = "defended";
_local1.p1damage = null;
_local1.p1recharge = null;
_local1.p1outcome = "SUCCESSFUL!";
_local1.p1speak = "wondefend";
_local1.p2type = "fight";
_local1.p2move = "attacked";
_local1.p2damage = _local5;
_local1.p2recharge = null;
_local1.p2outcome = "FAILED!";
_local1.p2speak = "lostfight";
} else {
trace("p2 blocked p1");
var _local5 = p1.removeHP(Math.round(_local2.damage * 0.9));
_local1.p1type = "defense";
_local1.p1move = "defended";
_local1.p1damage = _local5;
_local1.p1recharge = null;
_local1.p1outcome = "FAILED!";
_local1.p1speak = "lostdefend";
_local1.p2type = "fight";
_local1.p2move = "attacked";
_local1.p2damage = null;
_local1.p2recharge = null;
_local1.p2outcome = "SUCCESSFUL!";
_local1.p2speak = "wonfight";
}
break;
case "magic" :
if (_local3.block == _local2.style) {
var _local5 = p2.removeHP(_local2.damage);
_local1.p1type = "defense";
_local1.p1move = "defended";
_local1.p1damage = null;
_local1.p1recharge = null;
_local1.p1outcome = "SUCCESSFUL!";
_local1.p1speak = "wondefend";
_local1.p2type = "magic";
_local1.p2move = "attacked";
_local1.p2damage = _local5;
_local1.p2recharge = null;
_local1.p2outcome = "FAILED!";
_local1.p2speak = "lostmagic";
} else {
trace("p1 blocked magic failed p2");
var _local5 = p1.removeHP(Math.round(_local2.damage * 0.9));
_local1.p1type = "defense";
_local1.p1move = "Defensive magic";
_local1.p1damage = _local5;
_local1.p1recharge = null;
_local1.p1outcome = "FAILED!";
_local1.p1speak = "lostmagic";
var _local4 = p2.addRecharge(_local2.damage);
_local1.p2type = "magic";
_local1.p2move = "used magic on";
_local1.p2damage = null;
_local1.p2recharge = _local4;
_local1.p2outcome = "SUCCESSFUL!";
_local1.p2speak = "wonmagic";
}
break;
case "defense" :
_local1.p1type = "defense";
_local1.p1move = "No outcome.";
_local1.p1damage = null;
_local1.p1recharge = null;
_local1.p1outcome = "";
_local1.p1speak = "random";
_local1.p2type = "defense";
_local1.p2move = "No outcome.";
_local1.p2damage = null;
_local1.p2recharge = null;
_local1.p2outcome = "";
_local1.p2speak = "random";
break;
case "recharge" :
_local1.p1type = "defense";
_local1.p1move = "No outcome.";
_local1.p1damage = null;
_local1.p1recharge = null;
_local1.p1outcome = "FAILED!";
_local1.p1speak = "random";
var _local4 = updateRechargeAmt(2, _local2.freq, _local2.recharge);
_local1.p2type = "recharge";
_local1.p2move = "No outcome.";
_local1.p2damage = null;
_local1.p2recharge = _local4;
_local1.p2outcome = "";
_local1.p2speak = "recharge";
}
gObj.checkForGameOver();
return(_local1);
}
function checkRechargeOutcome() {
var _local3 = p2.nextMove;
var _local2 = p1.nextMove;
var _local1 = {};
switch (_local3.id) {
case "fight" :
var _local7 = p1.removeHP(_local3.damage);
var _local6 = updateRechargeAmt(1, _local2.freq, _local2.recharge);
_local1.p1type = "recharge";
_local1.p1move = "attacked";
_local1.p1damage = _local7;
_local1.p1recharge = _local6;
_local1.p1outcome = "";
_local1.p1speak = "lostfight";
_local6 = p2.addRecharge(_local3.damage);
_local1.p2type = "fight";
_local1.p2move = "attacked";
_local1.p2damage = null;
_local1.p2recharge = _local6;
_local1.p2outcome = "SUCCESSFUL!";
_local1.p2speak = "wonfight";
break;
case "magic" :
_local7 = p1.removeHP(_local3.damage);
_local6 = updateRechargeAmt(1, _local2.freq, _local2.recharge);
_local1.p1type = "recharge";
_local1.p1move = "attacked";
_local1.p1damage = _local7;
_local1.p1recharge = _local6;
_local1.p1outcome = "";
_local1.p1speak = "lostmagic";
_local6 = p2.addRecharge(_local3.damage);
_local1.p2type = "magic";
_local1.p2move = "used magic on";
_local1.p2damage = null;
_local1.p2recharge = _local6;
_local1.p2outcome = "SUCCESSFUL!";
_local1.p2speak = "wonmagic";
break;
case "defense" :
_local6 = updateRechargeAmt(1, _local2.freq, _local2.recharge);
_local1.p1type = "recharge";
_local1.p1move = "";
_local1.p1damage = null;
_local1.p1recharge = _local6;
_local1.p1outcome = "";
_local1.p1speak = "recharge";
_local1.p2type = "defense";
_local1.p2move = "defended";
_local1.p2damage = null;
_local1.p2recharge = null;
_local1.p2outcome = "FAILED!";
_local1.p2speak = "random";
break;
case "recharge" :
var _local5 = updateRechargeAmt(1, _local2.freq, _local2.recharge);
var _local4 = updateRechargeAmt(2, _local3.freq, _local3.recharge);
_local1.p1type = "recharge";
_local1.p1move = "";
_local1.p1damage = null;
_local1.p1recharge = _local5;
_local1.p1outcome = "";
_local1.p1speak = "random";
_local1.p2type = "recharge";
_local1.p2move = "";
_local1.p2damage = null;
_local1.p2recharge = _local4;
_local1.p2outcome = "";
_local1.p2speak = "recharge";
}
gObj.checkForGameOver();
return(_local1);
}
function updateRechargeAmt(pnum, freq, recharge) {
var _local2 = Math.round(freq / 2);
var _local3 = random(freq) + _local2;
pObj["p" + pnum][recharge] = pObj["p" + pnum][recharge] + _local3;
var _local5 = "";
switch (recharge) {
case "fight" :
_local5 = "fp";
break;
case "magic" :
_local5 = "mp";
break;
case "defense" :
_local5 = "dp";
break;
case "hp" :
_local5 = "hp";
break;
case "all" :
_local5 = "";
_local3 = updateAllRechargeAmt();
_local5 = "";
}
var _local1 = {amt:_local3, rtype:_local5};
return(_local1);
}
function updateAllRechargeAmt() {
var _local2 = p1;
var _local1 = rechargeObj.f4.freq;
var _local5 = random(_local1) + Math.round(_local1 / 2);
_local2.fight = _local2.fight + _local5;
_local5 = _local5 + " fp | +";
var _local3 = random(_local1) + Math.round(_local1 / 2);
_local2.magic = _local2.magic + _local3;
_local3 = _local3 + " mp";
var _local4 = _local5 + _local3;
return(_local4);
}
Frame 17
function decideOnMove() {
var _local22 = pObj.p1.nextMove;
var _local6 = pObj.p2;
var _local28 = _root.p2bubble_mc;
if (_local22 != undefined) {
p1HasMove = true;
} else {
p1HasMove = false;
}
var _local19 = _local6.fight;
var _local11 = [];
var _local7 = 0;
while (_local7 < 4) {
var _local8 = fightObj["f" + _local7];
var _local9 = _local8.points;
if (_local19 >= _local9) {
_local11.push(_local8);
}
_local7++;
}
var _local18 = _local6.magic;
var _local12 = [];
_local7 = 4;
while (_local7 < 8) {
var _local8 = fightObj["f" + _local7];
var _local9 = _local8.points;
if (_local18 >= _local9) {
_local12.push(_local8);
}
_local7++;
}
var _local17 = _local6.defense;
var _local13 = [];
_local7 = 0;
while (_local7 < 4) {
var _local8 = defendObj["f" + _local7];
var _local9 = _local8.points;
if (_local17 >= _local9) {
_local13.push(_local8);
}
_local7++;
}
var _local15 = _local6.defense;
var _local14 = [];
_local7 = 4;
while (_local7 < 8) {
var _local8 = defendObj["f" + _local7];
var _local9 = _local8.points;
if (_local15 >= _local9) {
_local14.push(_local8);
}
_local7++;
}
var _local16 = _local6.recharge;
var _local3 = [];
_local7 = 0;
while (_local7 < 4) {
var _local8 = rechargeObj["f" + _local7];
var _local9 = _local8.points;
if (_local16 >= _local9) {
_local3.push(_local8);
}
_local7++;
}
var _local10 = _local11.concat(_local12);
var _local5;
var _local4 = false;
if (p1HasMove) {
var _local23 = _local22.id;
if (_local6.hp < 80) {
if (gObj.moveSuccess()) {
trace("force attack:" + _local10.length);
if (_local10.length > 0) {
_local5 = _local10[random(_local10.length)];
_local4 = true;
} else if (!_local4) {
for (var _local21 in _local3) {
if (_local3[_local21].recharge == "hp") {
if (_local6.hp < 50) {
_local5 = _local3[_local21];
_local4 = true;
break;
}
}
}
}
}
}
if (!_local4) {
if (_local23 == "fight") {
if (_local11.length > 0) {
if (random(10) < 7) {
_local5 = _local13[random(_local13.length)];
_local4 = true;
}
}
} else if (_local23 == "magic") {
if (_local12.length > 0) {
if (random(10) < 6) {
_local5 = _local14[random(_local14.length)];
_local4 = true;
}
}
} else if (_local23 == "recharge") {
if (_local11.length > 0) {
if (random(10) < 3) {
_local5 = _local13[random(_local13.length)];
_local4 = true;
}
}
}
}
if (!_local4) {
for (var _local21 in _local3) {
if (_local3[_local21].recharge == "hp") {
if (_local6.hp < 35) {
_local5 = _local3[_local21];
_local4 = true;
break;
}
}
}
}
if (!_local4) {
for (var _local21 in _local3) {
if (_local3[_local21].recharge == "defense") {
if (_local6.defense < 10) {
_local5 = _local3[_local21];
_local4 = true;
break;
}
}
}
}
if (!_local4) {
for (var _local21 in _local3) {
if (_local3[_local21].recharge == "fight") {
if (_local6.fight < 10) {
if (random(10) < 7) {
_local5 = _local3[_local21];
_local4 = true;
}
break;
}
}
}
}
if (!_local4) {
for (var _local21 in _local3) {
if (_local3[_local21].recharge == "magic") {
if (_local6.magic < 30) {
_local5 = _local3[_local21];
_local4 = true;
break;
}
}
}
}
if ((_local5 == undefined) || (_local4 == false)) {
if (_local10.length > 0) {
_local5 = _local10[random(_local10.length)];
} else {
trace("no attack");
decideOnMove();
}
}
}
if (!p1HasMove) {
if (_local6.hp < 80) {
if (gObj.moveSuccess()) {
trace("force attack:" + _local10.length);
if (_local10.length > 0) {
_local5 = _local10[random(_local10.length)];
_local4 = true;
} else if (!_local4) {
for (var _local21 in _local3) {
if (_local3[_local21].recharge == "hp") {
if (_local6.hp < 50) {
_local5 = _local3[_local21];
_local4 = true;
break;
}
}
}
}
}
}
if (!_local4) {
var _local25 = random(6) + 1;
var _local24 = random(6) + 1;
var _local26 = _local25 + _local24;
if (_local26 > 6) {
if (_local11.length > 0) {
if (this.moveSuccess()) {
_local5 = _local11[random(_local11.length)];
_local4 = true;
}
}
} else if (_local12.length > 0) {
if (this.moveSuccess()) {
_local5 = _local12[random(_local12.length)];
_local4 = true;
}
}
}
if (!_local4) {
for (var _local21 in _local3) {
if (_local3[_local21].recharge == "fight") {
if (_local6.fight < 10) {
_local5 = _local3[_local21];
_local4 = true;
break;
}
}
}
}
if (!_local4) {
for (var _local21 in _local3) {
if (_local3[_local21].recharge == "magic") {
if (_local6.magic < 25) {
_local5 = _local3[_local21];
_local4 = true;
break;
}
}
}
}
if (!_local4) {
for (var _local21 in _local3) {
if (_local3[_local21].recharge == "hp") {
if (_local6.hp < 35) {
_local5 = _local3[_local21];
_local4 = true;
break;
}
}
}
}
if (!_local4) {
for (var _local21 in _local3) {
if (_local3[_local21].recharge == "defense") {
if (_local6.defense < 8) {
_local5 = _local3[_local21];
_local4 = true;
break;
}
}
}
}
var _local27 = false;
if ((_local5 == undefined) || (_local4 == false)) {
_local27 = true;
if (_local10.length > 0) {
_local5 = _local10[random(_local10.length)];
_local4 = true;
} else {
trace("no attack");
decideOnMove();
}
}
}
pObj.p2.nextMove = _local5;
if (!p1HasMove) {
_root.locked = false;
var _local20 = (ftWhite("<br>It is your turn to ") + ftYellow("MAKE A MOVE.")) + "<br><br>";
if (((_local5.id == "recharge") || (_local5.id == "defense")) || (_local27)) {
_local20 = _local20 + (ftWhite(_local6.player_name) + " has decided on a move. but you are not able to see what it is...");
} else {
_local20 = _local20 + (((ftWhite(_local6.player_name) + " has decided on ") + ftYellow(_local6.nextMove.id)) + " for her next move.");
_local20 = _local20 + (("<br><br>You should try and " + ftRed("block")) + " it.");
}
gdText = _local20;
gdOut(gdText);
} else if (_local22 != undefined) {
gObj.scoreBattle();
}
}
Frame 18
function initAIPlayer() {
aiObj = {};
aiObj.recharge = "";
aiObj.decideOnMove = decideOnMove;
aiObj.selectMove = function () {
clearInterval(thinkingTimer);
delete thinkingTimer;
aiObj.decideOnMove();
};
aiObj.moveSuccess = function () {
if (random(12) > 5) {
return(true);
}
return(false);
};
}
Frame 19
function attachTips() {
var _local2 = ftYellow("Fight Points (fp)<br>");
_local2 = _local2 + ("<br>Click this button to " + ftYellow("Fight<br><br>"));
_local2 = _local2 + (((ftYellow("Fighting") + " attack ") + ftRed("damage")) + " chart:<br>");
var _local1 = 0;
while (_local1 < 4) {
_local2 = _local2 + (ftWhite(fightObj["f" + _local1].style + ":") + ftRed((((" " + Math.round(fightObj["f" + _local1].points / 2)) + "-") + (fightObj["f" + _local1].points + Math.round(fightObj["f" + _local1].points / 2))) + "hp.<br>"));
_local1++;
}
player1Obj.ftab_mc.tip = _local2;
_local2 = ftYellow("Magic Points (mp)<br>");
_local2 = _local2 + ("<br>Click this button for " + ftYellow("Magic<br><br>"));
_local2 = _local2 + (((ftYellow("Magical") + " attack ") + ftRed("damage")) + " chart:<br>");
_local1 = 4;
while (_local1 < 8) {
_local2 = _local2 + (ftWhite(fightObj["f" + _local1].style + ":") + ftRed((((" " + Math.round(fightObj["f" + _local1].points / 2)) + "-") + (fightObj["f" + _local1].points + Math.round(fightObj["f" + _local1].points / 2))) + "hp.<br>"));
_local1++;
}
player1Obj.mtab_mc.tip = _local2;
_local2 = ftYellow("Defense Points (dp)<br>");
_local2 = _local2 + ("<br>Click this button to " + ftYellow("Defend<br><br>"));
_local2 = _local2 + (ftYellow("Defensive") + ftWhite(" move information:<br>"));
_local2 = _local2 + (((((("Choose the correct defense move to deflect a " + ftWhite("fight")) + " or ") + ftWhite("magic")) + " attack, taking ") + ftWhite("hp")) + " from the enemy. Any defense, even incorrect, helps deflect some damage.");
player1Obj.dtab_mc.tip = _local2;
_local2 = ftYellow("Recharge Points (rp)<br>");
_local2 = _local2 + ("<br>Click this button to " + ftYellow("Recharge<br><br>"));
_local2 = _local2 + (ftYellow("Recharge") + ftWhite(" command information:<br>"));
_local2 = _local2 + (((((((("Recharges replenish " + ftWhite("fp, mp, dp, and hp")) + ". You earn more recharge points by winning rounds. The ") + ftRed("\"KiSS Booster\"")) + " adds both") + ftWhite(" fp ")) + "and") + ftWhite(" hp ")) + ", with an extra boost.");
player1Obj.rtab_mc.tip = _local2;
}
function showRechargeInfo() {
}
attachTips();
Frame 20
function doTip(ttext) {
if (ttext == "reset") {
gdOut(gdText);
} else {
gdOut(ttext);
}
}
stop();
createGameObj();
addScriptToDressMCs();
bgs.gotoAndStop(_root.battleNum);
Symbol 47 MovieClip Frame 20
stop();
Symbol 49 Button
on (release) {
getURL ("http://www.uselessgames.com", "_blank");
}
Symbol 51 Button
on (release) {
_root.play();
}
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 2
stop();
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 2
stop();
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 2
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 2
stop();
Symbol 88 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 2
stop();
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 2
stop();
Symbol 94 MovieClip Frame 11
_root.play();
Symbol 271 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 2
stop();
Symbol 271 MovieClip Frame 3
stop();
Symbol 271 MovieClip Frame 4
stop();
Symbol 271 MovieClip Frame 5
stop();
Symbol 271 MovieClip Frame 6
stop();
Symbol 306 Button
on (rollOver) {
_root.doTip(tip);
}
on (rollOut, dragOut) {
_root.doTip("reset");
}
on (release) {
if (!_root.locked) {
doAction();
}
}
Symbol 440 MovieClip Frame 1
stop();
Instance of Symbol 310 MovieClip "ftab_mc" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
this.doAction = function () {
_root.pObj.p1.doFight();
};
}
Instance of Symbol 310 MovieClip "mtab_mc" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
this.doAction = function () {
_root.pObj.p1.doMagic();
};
}
Instance of Symbol 310 MovieClip "dtab_mc" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
this.doAction = function () {
_root.pObj.p1.doDefend();
};
}
Instance of Symbol 310 MovieClip "rtab_mc" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
this.doAction = function () {
_root.pObj.p1.doRecharge();
};
}
Symbol 440 MovieClip Frame 2
stop();
Symbol 440 MovieClip Frame 3
stop();
Symbol 440 MovieClip Frame 4
stop();
Symbol 440 MovieClip Frame 5
stop();
Symbol 440 MovieClip Frame 6
stop();
Symbol 448 Button
on (release) {
if (!_root.locked) {
gObj.doTurn();
}
}
on (rollOver) {
doTip(("<br>This button is used to " + ftYellow("confirm")) + " your next move.");
}
on (rollOut, dragOut) {
doTip("reset");
}
Symbol 452 Button
on (release) {
_root.backToMain();
}
on (rollOver) {
doTip((("<br>Click here to " + ftRed("quit")) + " this round and return to the ") + ftYellow("main menu."));
}
on (rollOut, dragOut) {
doTip("reset");
}
Symbol 456 Button
on (rollOver) {
doTip((((((((((("Hello there!, let me introduce myself. My name is " + ftWhite(pObj.p2.player_name)) + " and I am the one who should truly have the honor of ") + ftYellow(battleInfo["b" + _root.battleNum].award)) + ". Listen to me ") + ftWhite(pObj.p1.player_name + "!")) + ", I will stop at nothing to shame you by ") + ftYellow("exposing your body")) + " in front of the entire ") + ftRed("KiSS Academy.")) + ". ") + ftYellow("This isnt playtime girl!"));
}
on (rollOut, dragOut) {
doTip("reset");
}
Symbol 457 Button
on (rollOver) {
doTip(((((("<br>" + ftWhite(pObj.p2.player_name + "'s")) + " Hit Points (hp). you need to use both ") + ftYellow("fight")) + " and ") + ftYellow("magic")) + " attacks to take hp from her. the more hp you take, the more naked she gets.");
}
on (rollOut, dragOut) {
doTip("reset");
}
Symbol 458 Button
on (rollOver) {
doTip(((("<br>" + ftWhite(pObj.p2.player_name + "'s")) + " current ") + ftYellow("Fight (fp)")) + " points.");
}
on (rollOut, dragOut) {
doTip("reset");
}
Symbol 459 Button
on (rollOver) {
doTip(((("<br>" + ftWhite(pObj.p2.player_name + "'s")) + " current ") + ftYellow("Magic (mp)")) + " points.");
}
on (rollOut, dragOut) {
doTip("reset");
}
Symbol 460 Button
on (rollOver) {
doTip(((("<br>" + ftWhite(pObj.p2.player_name + "'s")) + " current ") + ftYellow("Defense (dp)")) + " points.");
}
on (rollOut, dragOut) {
doTip("reset");
}
Symbol 461 Button
on (rollOver) {
doTip(((("<br>" + ftWhite(pObj.p2.player_name + "'s")) + " current ") + ftYellow("Recharge (rp)")) + " points.");
}
on (rollOut, dragOut) {
doTip("reset");
}
Symbol 462 Button
on (rollOver) {
doTip(((((((("hi! im " + ftWhite(_root.pObj.p1.player_name)) + ". i know you want to see me in the nude, but first help me strip ") + ftWhite(_root.pObj.p2.player_name)) + " naked first. I really deserve ") + ftYellow(battleInfo["b" + _root.battleNum].award)) + ", and I really wanna make her look like a fool in front of the whole Academy. if you help me win, I will show you ") + ftYellow("all of me")) + ", but it would just be for you. will you help me please?");
}
on (rollOut, dragOut) {
doTip("reset");
}
Symbol 463 Button
on (rollOver) {
doTip(((((((ftYellow("Hit Points (hp)<br><br>") + "You need to use both ") + ftWhite("defensive")) + " moves and ") + ftWhite("recharge")) + " commands to keep your hp. The more hp you lose, the more shamed you are in front of the ") + ftRed("KiSS Academy.")) + ", and are not allowed to compete in other battles.");
}
on (rollOut, dragOut) {
doTip("reset");
}
Symbol 472 MovieClip Frame 20
stop();