Combined Code
frame 1 {
stop();
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
this.menu = my_cm;
_global.save_string = '';
_global.charname = _root.charname;
_root.agentname = _global.charname;
_global.charid = _root.charid * 1;
_global.patreon = _root.patreon * 1;
_global.done = 0;
_global.loadframes = 0;
_global.friend = 0;
_global.lasthadsexwith = 0;
_global.failed = 0;
_global.hairalpha = 100;
_global.clicked = 0;
_global.dialogue = 1;
_global.battle_timer = 1800;
_global.battle_stock = 0;
_global.battle_practice = 0;
_global.Money = 0;
_global.girlr = 1;
_global.chair = 1;
_global.cglasses = 1;
_global.ceyecolor = 1;
_global.ceyetype = 1;
_global.cmouth = 1;
_global.fans = 0;
_global.clothing = 3;
_global.melee = 10;
_global.fitness = 400;
_global.health = 500;
if (_global.patreon >= 100) {
_global.fans = 100;
_global.melee = 30;
_global.fitness = 600;
_global.health = 700;
}
_global.outfit = _global.clothing;
_global.glove = 1;
_global.fightstyle = 2;
_global.lockerboy = 0;
_global.trouble = 0;
_global.small_trouble = 5;
_global.med_trouble = 20;
_global.large_trouble = 50;
_global.small_fans = 1;
_global.med_fans = 3;
_global.large_fans = 5;
_global.egirlr = 1;
_global.echair = 1;
_global.ecglasses = 1;
_global.eceyecolor = 1;
_global.eceyetype = 1;
_global.ecmouth = 1;
_global.efans = 0;
_global.emelee = 10;
_global.efitness = 400;
_global.ehealth = 500;
_global.eoutfit = _global.clothing;
_global.eglove = 1;
_global.efightstyle = 2;
_global.edialogue = '';
_global.nothing = 0;
_global.enemy_girl = 8;
_global.enemy_rank = 0;
_global.friendnames = new Array();
_global.friendnames[0] = 'None';
_global.friendnames[1] = 'None';
_global.friendnames[2] = 'Timmy';
_global.friendnames[3] = 'Archie';
_global.friendnames[4] = 'Tobi';
_global.friendnames[5] = 'Chester';
_global.friendnames[6] = 'Gary';
_global.friendnames[7] = 'Evan';
_global.friendnames[8] = 'Renji';
_global.friendnames[9] = 'Cory';
_global.friendnames[10] = 'Drake';
_global.friendnames[11] = 'Ralph';
_global.friendnames[12] = 'Alfie';
_global.friendnames[13] = 'Lester';
_global.friendnames[19] = 'Roise and friends';
_global.friendnames[20] = 'Luma and friends';
_global.friendnames[21] = 'Zytra and friends';
_global.friendnames[22] = 'Maiko and friends';
_global.new_dialogue = function (num) {
_global.dialogue_scene = 1;
_global.dialogue_count = num;
_global.dialogue_tracking = 1;
_global.dialogue_array = new Array();
_root.dialogue_array = new Array();
};
_global.check_dialogue = function () {
if (_global.dialogue_clicked == 1) {
++_global.dialogue_tracking;
if (_global.dialogue_tracking > _global.dialogue_count) {
_global.dialogue_text = '';
_global.dialogue_scene = 0;
} else {
_global.dialogue_text = _global.dialogue_array[_global.dialogue_tracking];
}
_global.dialogue_clicked = 0;
}
};
_root.new_dialogue = function (num) {
_global.dialogue_scene = 1;
_root.dialogue_count = num;
_root.dialogue_tracking = 1;
_root.dialogue_array = new Array();
};
_root.check_dialogue = function () {
if (_global.dialogue_clicked == 1) {
++_root.dialogue_tracking;
if (_root.dialogue_tracking > _root.dialogue_count) {
_global.dialogue_text = '';
_global.dialogue_scene = 0;
} else {
_global.dialogue_text = _root.dialogue_array[_root.dialogue_tracking];
}
_global.dialogue_clicked = 0;
}
};
keyListenerQ = new Object();
keyListenerQ.onKeyDown = function () {
if (Key.getCode() == 81) {
if (_root.hand_device._currentframe == 21) {
_root.hand_device.play();
} else {
if (_root.hand_device._currentframe != 1) {
_root.hand_device.gotoAndPlay(2);
} else {
_root.hand_device.gotoAndPlay(2);
}
}
}
};
Key.addListener(keyListenerQ);
save_password_text = '';
input_password_save = '';
custom_text = '';
_global.custom_complete = 0;
_global.encoder_function = function () {
var v2 = '';
var v3 = '';
var v16 = new String(_global.fans);
var v7 = new String(_global.trouble);
var v11 = new String(_global.friend);
var v18 = new String(_global.lasthadsexwith);
var v5 = new String(_global.melee);
var v13 = new String(_global.fitness);
var v17 = new String(_global.health);
var v4 = new String(_global.glove);
var v19 = new String(_global.fightstyle);
var v12 = new String(_global.clothing);
var v6 = new String(_global.chair);
var v8 = new String(_global.cglasses);
var v14 = new String(_global.ceyecolor);
var v15 = new String(_global.ceyetype);
var v10 = new String(_global.cmouth);
var v9 = new String(_global.nothing);
v3 = v16 + '[S]' + v7 + '[S]' + v11 + '[S]' + v18 + '[S]' + v5 + '[S]' + v13 + '[S]' + v17 + '[S]' + v4 + '[S]' + v19 + '[S]' + v12 + '[S]' + v6 + '[S]' + v8 + '[S]' + v14 + '[S]' + v15 + '[S]' + v10 + '[S]' + v9;
v2 += v3;
_global.save_string = v2;
save_password_text = v2;
};
_global.decoder_function = function () {
var v2 = '';
_global.password_load_parsed = new Array();
v2 = _global.save_string;
_global.password_load_parsed = v2.split('[S]');
_global.fans = int(_global.password_load_parsed[0]);
_global.trouble = int(_global.password_load_parsed[1]);
_global.friend = int(_global.password_load_parsed[2]);
_global.lasthadsexwith = int(_global.password_load_parsed[3]);
_global.melee = int(_global.password_load_parsed[4]);
_global.fitness = int(_global.password_load_parsed[5]);
_global.health = int(_global.password_load_parsed[6]);
_global.glove = int(_global.password_load_parsed[7]);
_global.fightstyle = int(_global.password_load_parsed[8]);
_global.clothing = int(_global.password_load_parsed[9]);
_global.chair = int(_global.password_load_parsed[10]);
_global.cglasses = int(_global.password_load_parsed[11]);
_global.ceyecolor = int(_global.password_load_parsed[12]);
_global.ceyetype = int(_global.password_load_parsed[13]);
_global.cmouth = int(_global.password_load_parsed[14]);
_global.nothing = int(_global.password_load_parsed[15]);
};
_global.edecoder_function = function () {
var v3 = '';
_global.password_load_parsed = new Array();
v3 = _global.save_string;
_global.password_load_parsed = v3.split('[S]');
_global.efans = int(_global.password_load_parsed[0]);
_global.emelee = int(_global.password_load_parsed[4]);
_global.efitness = int(_global.password_load_parsed[5]);
_global.ehealth = int(_global.password_load_parsed[6]);
_global.eglove = int(_global.password_load_parsed[7]);
_global.efightstyle = int(_global.password_load_parsed[8]);
_global.eoutfit = int(_global.password_load_parsed[9]);
_global.echair = int(_global.password_load_parsed[10]);
_global.ecglasses = int(_global.password_load_parsed[11]);
_global.eceyecolor = int(_global.password_load_parsed[12]);
_global.eceyetype = int(_global.password_load_parsed[13]);
_global.ecmouth = int(_global.password_load_parsed[14]);
_global.nothing = int(_global.password_load_parsed[15]);
_root.img.characters.gotoAndStop(8);
};
_global.custom_decoder_function = function () {
var v3 = '';
_global.custom_load_parsed = new Array();
v3 = _root.custom_text;
_global.custom_load_parsed = v3.split('[S]');
save_state = 'loaded data from code!';
};
}
movieClip 11 {
}
movieClip 18 {
frame 1 {
stop();
}
}
movieClip 21 {
}
movieClip 23 {
}
movieClip 25 {
}
movieClip 26 {
frame 1 {
function myWidth(moveObj, newWidth) {
moveObj.w = moveObj._width;
moveObj.dwidth = newWidth - moveObj.w;
moveObj.t = 0;
NFRAMES = 6;
moveObj.onEnterFrame = function () {
if (moveObj.t++ < NFRAMES) {
moveObj._width = easeOutQuad(moveObj.t, moveObj.w, moveObj.dwidth, NFRAMES);
} else {
delete this.onEnterFrame;
}
};
}
function myMove(moveObj, newX) {
moveObj.x = moveObj._x;
moveObj.dx = newX - moveObj.x;
moveObj.t = 0;
NFRAMES = 6;
moveObj.onEnterFrame = function () {
if (moveObj.t++ < NFRAMES) {
moveObj._x = easeOutQuad(moveObj.t, moveObj.x, moveObj.dx, NFRAMES);
} else {
delete this.onEnterFrame;
}
};
}
percentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
this.myWidth(this.loadBar, percentLoaded * 1.94);
this.myMove(this.mc_loadNum, percentLoaded * 1.9 - 8);
mc_loadNum.loadNum.text = percentLoaded;
easeOutQuad = function (time, beginX, changeX, durationX) {
time /= durationX / 2;
if (time < 1) {
return (changeX / 2) * time * time + beginX;
}
return (-changeX / 2) * (--time * (time - 2) - 1) + beginX;
};
}
frame 2 {
if (percentLoaded < 100) {
gotoAndPlay('loading');
}
}
frame 25 {
if (_global.charname == undefined) {
_root.gotoAndStop(3);
} else {
_root.gotoAndStop(3);
}
}
}
movieClip 1033 __Packages.com.McPan {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.McPan) {
var v1 = function (_mc, _ease, _clipX, _clipY, _apertureW, _apertureH, _xoff, _yoff, _cache) {
this.__mc = _mc;
this.__ease = _ease;
this.__mcp = this.__mc._parent;
this.__imgW = this.__mc._width;
this.__imgH = this.__mc._height;
this.__mc._x = _clipX;
this.__mc._y = _clipY;
if (_cache == undefined) {
this.__mc.cacheAsBitmap = false;
} else {
this.__mc.cacheAsBitmap = _cache;
}
this.__mc.cacheAsBitmap;
this.__control = this.__mc.createEmptyMovieClip('controller', this.__mc.getNextHighestDepth());
this.__rect = new flash.geom.Rectangle(_xoff, _yoff, _apertureW, _apertureH);
this.__mc.scrollRect = this.__rect;
this.__mc.onRollOver = mx.utils.Delegate.create(this, this.initiateMovement);
this.__mc.useHandCursor = false;
};
com.McPan = v1;
var v2 = v1.prototype;
v2.killMovement = function () {
delete this.__control.onEnterFrame;
};
v2.initiateMovement = function () {
delete this.__mc.onRollOver;
this.__control.onEnterFrame = mx.utils.Delegate.create(this, this.moveToMouse);
};
v2.moveToMouse = function () {
this.__mc.scrollRect = (this.calcXY(this.__mcp._xmouse, this.__mcp._ymouse))[0];
if (!this.__mc.hitTest(this.__mcp._xmouse, this.__mcp._ymouse, true)) {
this.killMovement();
if (this.__motionActive) {
this.__mc.onRollOver = mx.utils.Delegate.create(this, this.initiateMovement);
}
}
};
v2.moveToPoint = function () {
var v2 = this.calcXY(this.__ptX, this.__ptY);
this.__mc.scrollRect = v2[0];
if (Math.abs(v2[1] - v2[0].x) < 1) {
if (Math.abs(v2[2] - v2[0].y) < 1) {
delete this.__control.onEnterFrame;
}
}
};
v2.calcXY = function (XP, YP) {
this.__xDiff = XP - this.__mc._x;
this.__xRatio = this.__xDiff / this.__rect.width;
this.__xPos = this.__xRatio * (this.__imgW - this.__rect.width);
this.__yDiff = YP - this.__mc._y;
this.__yRatio = this.__yDiff / this.__rect.height;
this.__yPos = this.__yRatio * (this.__imgH - this.__rect.height);
this.__rect.x = this.__xPos - (this.__xPos - this.__rect.x) * this.__ease;
this.__rect.y = this.__yPos - (this.__yPos - this.__rect.y) * this.__ease;
return [this.__rect, this.__xPos, this.__yPos];
};
v2.slideToPoint = function (x, y) {
this.__ptX = x;
this.__ptY = y;
this.killMovement();
this.__control.onEnterFrame = mx.utils.Delegate.create(this, this.moveToPoint);
};
v2.stopMotion = function () {
this.killMovement();
this.__motionActive = false;
delete this.__mc.onRollOver;
};
v2.startMotion = function () {
this.killMovement();
this.__motionActive = true;
this.__mc.onRollOver = mx.utils.Delegate.create(this, this.initiateMovement);
};
v2.__motionActive = true;
ASSetPropFlags(com.McPan.prototype, null, 1);
}
#endinitclip
}
movieClip 1034 __Packages.mx.utils.Delegate {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.utils) {
_global.mx.utils = new Object();
}
if (!_global.mx.utils.Delegate) {
var v1 = function (f) {
super();
this.func = f;
};
mx.utils.Delegate = v1;
mx.utils.Delegate extends Object;
var v2 = v1.prototype;
v1.create = function (obj, func) {
var v2 = function () {
var v2 = arguments.callee.target;
var v3 = arguments.callee.func;
return v3.apply(v2, arguments);
};
v2.target = obj;
v2.func = func;
return v2;
};
v2.createDelegate = function (obj) {
return mx.utils.Delegate.create(obj, this.func);
};
ASSetPropFlags(mx.utils.Delegate.prototype, null, 1);
}
#endinitclip
}
movieClip 1035 __Packages.UMCCAi {
#initclip
if (!_global.UMCCAi) {
var v1 = function (type) {
this.Ai_attack_frequency_counter = 0;
this.ai_type = type;
if (type == 0) {
this.attack_percent = 50;
this.block_percent = 50;
this.Ai_attack_percent_increase = 15;
this.Ai_attack_percent_decrease = 5;
this.Ai_block_percent_increase = 25;
this.Ai_block_percent_decrease = 25;
this.Ai_ease_block_percent = 2;
this.Maiko_is_charge_punching_importance = 80;
this.Ai_punch_endurance_importance = 20;
this.Ai_endurance_is_low = 30;
this.Ai_endurance_is_low_importance = 50;
this.Ai_low_endurance_vs_high_life_importance = 70;
this.Ai_opponent_is_blocking_importance = 90;
}
if (type == 1) {
this.attack_percent = 70;
this.block_percent = 30;
this.Ai_attack_percent_increase = 10;
this.Ai_attack_percent_decrease = 5;
this.Ai_block_percent_increase = 20;
this.Ai_block_percent_decrease = 30;
this.Ai_ease_block_percent = 3;
this.Maiko_is_charge_punching_importance = 150;
this.Ai_punch_endurance_importance = 50;
this.Ai_endurance_is_low = 20;
this.Ai_endurance_is_low_importance = 70;
this.Ai_low_endurance_vs_high_life_importance = 20;
this.Ai_opponent_is_blocking_importance = 70;
}
if (type == 2) {
this.attack_percent = 70;
this.block_percent = 30;
this.Ai_attack_percent_increase = 5;
this.Ai_attack_percent_decrease = 10;
this.Ai_block_percent_increase = 50;
this.Ai_block_percent_decrease = 10;
this.Ai_ease_block_percent = 1;
this.Maiko_is_charge_punching_importance = 100;
this.Ai_punch_endurance_importance = 5;
this.Ai_endurance_is_low = 70;
this.Ai_endurance_is_low_importance = 70;
this.Ai_low_endurance_vs_high_life_importance = 100;
this.Ai_opponent_is_blocking_importance = 120;
}
};
_global.UMCCAi = v1;
var v2 = v1.prototype;
v2.randomCheck = function (num) {
return Math.floor(Math.random() * (num + 1));
};
ASSetPropFlags(_global.UMCCAi.prototype, null, 1);
}
#endinitclip
}
movieClip 1036 __Packages.UMCCchar {
#initclip
if (!_global.UMCCchar) {
var v1 = function (cname, health, melee, endurance, mood, body_type) {
this.cname = cname;
this.health = health;
this.current_health = health;
this.melee = melee;
this.endurance = endurance;
this.current_endurance = endurance;
this.mood = mood;
this.body_type = body_type;
};
_global.UMCCchar = v1;
var v2 = v1.prototype;
ASSetPropFlags(_global.UMCCchar.prototype, null, 1);
}
#endinitclip
}
frame 3 {
stop();
_global.failed = 0;
_global.clicked = 0;
}
frame 3 {
var clip = _root.img;
var easing = 0.75;
var sliderXpos = 0;
var sliderYpos = 0;
var aperatureWidth = 900;
var aperatureHeight = 506;
var imgXpos = (clip._width - aperatureWidth) / 2;
var imgYpos = (clip._height - aperatureHeight) / 2;
var nMC = new com.McPan(clip, easing, sliderXpos, sliderYpos, aperatureWidth, aperatureHeight, imgXpos, imgYpos, true);
_global.nMC = nMC;
}
movieClip 31 {
frame 1 {
stop();
}
}
movieClip 34 {
}
movieClip 37 {
}
movieClip 38 {
frame 5 {
stop();
}
}
button 39 {
on (release) {
_root.gotoAndStop(4);
}
}
button 40 {
on (release) {
_root.gotoAndStop(5);
}
}
button 41 {
on (release) {
_root.gotoAndStop(6);
}
}
button 42 {
on (release) {
_global.clothing = 11;
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'You: Wow this is a tight fit.';
_global.dialogue_text = _root.dialogue_array[1];
}
}
movieClip 47 {
}
movieClip 52 {
}
button 85 {
on (release) {
_root.new_dialogue(2);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Pattie: What are we doing today senpai? boxing? Swimming?';
_root.dialogue_array[2] = 'Maiko: I\'m don\'t know yet hmmm.';
_global.dialogue_text = _root.dialogue_array[1];
}
}
movieClip 88 {
frame 1 {
stop();
}
frame 2 {
_root.new_dialogue(6);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Alma: Stacy! fix your attire or you will be suspended from the club.';
_root.dialogue_array[2] = 'Stacy: Whaaat? Missy\'s tits are out right now and you never say that to her!';
_root.dialogue_array[3] = 'Maiko: Hey! mine always slip out on accident!';
_root.dialogue_array[4] = 'Stacy: Mine do too!';
_root.dialogue_array[5] = 'Joey: Yeah right...';
_root.dialogue_array[6] = 'Alma: Girls, fix your attire before we continue.';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 3 {
_root.new_dialogue(5);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Luma: Don’t let these nerds beat you sis! Lynn doesn’t count though.';
_root.dialogue_array[2] = 'Lynn: Huh? why don’t I count?';
_root.dialogue_array[3] = 'Luma: Because stuff like this is easy for us special Agents!';
_root.dialogue_array[4] = 'Stacy: Yeah she is always perfect every time somehow. I see her fall down once though.';
_root.dialogue_array[5] = 'Lynn: Hehe I\'m not perfect.';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 4 {
_root.new_dialogue(8);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Luma: Sup my lovely bitches!';
_root.dialogue_array[2] = 'Lynn: Hello Luma-san.';
_root.dialogue_array[3] = 'Cain: Luma! make sure you report to swimming today to continue building your stamina.';
_root.dialogue_array[4] = 'Cain: You were a little winded after yesterdays training.';
_root.dialogue_array[5] = 'Luma: Yeah well you trying carrying these tits around man!';
_root.dialogue_array[6] = 'Cain: I could easily clear the training course in half the time while carrying you, tits and all.';
_root.dialogue_array[7] = 'Luma: Okay okay I’ll swim more damn.';
_root.dialogue_array[8] = 'Luma: I\'m starting to think you just like seeing me wet.';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 5 {
_root.new_dialogue(8);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Kyle: Oooh there!';
_root.dialogue_array[2] = 'Jay: Got it! Barely. It’s a good one.';
_root.dialogue_array[3] = 'Kyle: Oh let me see!';
_root.dialogue_array[4] = 'Joey: Um…What are you two doing? And why are you here?';
_root.dialogue_array[5] = 'Kyle: uh… just making sure my photographers are getting the proper exercise?';
_root.dialogue_array[6] = 'Joey: Why do you and Jay have cameras then?';
_root.dialogue_array[7] = 'Pattie: because they are just taking pervy photos chu.';
_root.dialogue_array[8] = 'Alma: Ok boys, time to leave before you get detention.';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 6 {
_root.new_dialogue(6);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Kyle: Come on man, gotta go fast if you wanna catch some pictures of Lynn without Cain noticing!';
_root.dialogue_array[2] = 'Jay: Lynn-chan pics are so hard to get, but I like the challenge, heh';
_root.dialogue_array[3] = 'Kyle: Got to be silent, otherwise we are screwed…';
_root.dialogue_array[4] = 'Chester: You know, I have a bunch of Lynn pictures if you guys wanna see. I get past her body guard daily! Its so easy man… You guys are just newbies…';
_root.dialogue_array[5] = 'Jay: R- Really?';
_root.dialogue_array[6] = 'Kyle: Psh! Don\'t believe this guy!';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 7 {
_root.new_dialogue(9);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Joey: You know you guys aren’t supposed to be lurking around here right?';
_root.dialogue_array[2] = 'Joiry: Whoa, whoa, whoa, there’s no lurking going on here. We’re just walking to the boxing ring.';
_root.dialogue_array[3] = 'David: Yeah, we’re just walking reaaaaal slow is all.';
_root.dialogue_array[4] = 'Joiry: It’s part of a new mumbo jumbo exercise technique. You take it easy first so you have more energy in the ring.';
_root.dialogue_array[5] = 'Jeni: If you’re so worried about energy I can drag you two in just fine…';
_root.dialogue_array[6] = 'David: Yo bro we should speed up, she sounds serious.';
_root.dialogue_array[7] = 'Joiry: I can’t argue with that bro, lets get running!';
_root.dialogue_array[8] = 'Joey: Thanks Jeni.';
_root.dialogue_array[9] = 'Joey: Thanks Jeni.';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 8 {
_root.new_dialogue(11);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Alma: Good to see you here Maiko, is everything going all right?';
_root.dialogue_array[2] = 'Maiko: Yeah!';
_root.dialogue_array[3] = 'Alma: Classes going all right?';
_root.dialogue_array[4] = 'Maiko: Yeah.';
_root.dialogue_array[5] = 'Alma: Are you getting enough sleep?';
_root.dialogue_array[6] = 'Maiko: Um… sure?';
_root.dialogue_array[7] = 'Alma: Eating enough vegetables?';
_root.dialogue_array[8] = 'Maiko: These are getting weirdly personal Alma.';
_root.dialogue_array[9] = 'Alma: A-are they? I just wanted to make sure all my students are feeling alright.';
_root.dialogue_array[10] = 'Maiko: Well don’t worry so much, I’m doing just fine.';
_root.dialogue_array[11] = 'Alma: Ah that’s good to hear Maiko.';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 9 {
_root.new_dialogue(6);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Stacy: Hey there~ Nice to see you starring at me today.';
_root.dialogue_array[2] = 'Cain: ………huh?';
_root.dialogue_array[3] = 'Stacy: No need to play dumb. I saw you looking and I don’t have a problem with a little more~';
_root.dialogue_array[4] = 'Lynn: I don’t think he’s interested Saiyumi-san.';
_root.dialogue_array[5] = 'Stacy: Nonsense! He’s just a little shy!';
_root.dialogue_array[6] = 'Cain: ……Riiiiiight.';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 10 {
_root.new_dialogue(12);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Alma: Kyle, do I need to send you to detention?';
_root.dialogue_array[2] = 'Kyle: Wait don’t do that! I’m on… official club business! Yeah that’s it!';
_root.dialogue_array[3] = 'Alma: Oh? Official how? I have not seen any approval.';
_root.dialogue_array[4] = 'Kyle: I-I need to deliver a message to the other members of course!';
_root.dialogue_array[5] = 'Alma: Alright, well Pattie and Joey are here. So you can deliver it.';
_root.dialogue_array[6] = 'Kyle: Ah… they are, well club members. I just wanted to tell you all to… be ready to take lots of pictures next meeting!';
_root.dialogue_array[7] = 'Alma: …Great. Was that it?';
_root.dialogue_array[8] = 'Kyle: Yes, so I’ll just be going now and you won’t throw me in detention. Right?';
_root.dialogue_array[9] = 'Alma: Sure, just get out of here.';
_root.dialogue_array[10] = 'Kyle: Thank you!';
_root.dialogue_array[11] = 'Joey: I’m so embarrassed…';
_root.dialogue_array[12] = 'Pattie: It’s alright, he’s always like this so you’ll eventually get used to it.';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 11 {
_root.new_dialogue(4);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Stacy: Boo, hoo. Isn’t it a shame we can’t be at the cafe today missy?';
_root.dialogue_array[2] = 'Maiko: Well, it’s fine with me. It’s nice to have a break from work every now and then.';
_root.dialogue_array[3] = 'Stacy: Yeah but stretching and stuff only loosens my pussy up so much. It takes a good dick to get it really relaxed.';
_root.dialogue_array[4] = 'Maiko: If you say so Stacy…';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 12 {
_root.new_dialogue(9);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Stacy: Hey you!';
_root.dialogue_array[2] = 'You: Me?';
_root.dialogue_array[3] = 'Stacy: Yeah, could you tell granny over here to take the stick out of her ass and put it somewhere more pleasant?';
_root.dialogue_array[4] = 'Joey: What’s that supposed to mean...';
_root.dialogue_array[5] = 'Stacy: It means you’re a buzzkill that’ll never get laid with that stiff attitude you got going.';
_root.dialogue_array[6] = 'Joey: There are guys interested in me! Just because I don’t put out to every loser in school doesn’t mean I can’t get a guy.';
_root.dialogue_array[7] = 'Stacy: What are you trying to say granny?';
_root.dialogue_array[8] = 'Joey: Only the truth.';
_root.dialogue_array[9] = 'You: Uh, I need to get to practice...';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 13 {
_root.new_dialogue(6);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Joey: Could you at least try to keep your top on?';
_root.dialogue_array[2] = 'Stacy: Well it’s tricky since I actually have something to cover up granny.';
_root.dialogue_array[3] = 'Joey: What did you call me?!';
_root.dialogue_array[4] = 'Stacy: Granny, it’s your new nickname. On account of your fashion sense and nagging personality.';
_root.dialogue_array[5] = 'Joey: It’s not nagging to tell someone to actually wear clothes!';
_root.dialogue_array[6] = 'Stacy: Whatever you say, granny.';
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 92 {
on (press) {
pressing = 1;
this.startDrag();
}
on (release) {
pressing = 0;
this.stopDrag();
}
on (releaseOutside) {
pressing = 0;
this.stopDrag();
}
}
movieClip 115 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
}
movieClip 116 {
instance of movieClip 31 {
onClipEvent (load) {
if (_global.TasksLeft < 2) {
this.gotoAndStop(3);
} else {
if (_global.TasksLeft == 2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
frame 2 {
stop();
}
instance of movieClip 88 {
onClipEvent (load) {
if (_global.dialogue == 1) {
this.gotoAndStop(random(14) + 2);
} else {
this.gotoAndStop(14);
}
}
}
instance boobs of movieClip 115 {
onClipEvent (load) {
restx = 640;
resty = 950;
k = 2;
mass = 13;
damping = 0.9;
pressing = 0;
vx = 0;
vy = 0;
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.clothing);
var dx = restx - this._x;
var dy = resty - this._y;
if (pressing == 0) {
var ax = (k / mass) * dx;
var ay = (k / mass) * dy;
vx += ax;
vy += ay;
vx *= damping;
vy *= damping;
this._x += vx;
this._y += vy;
var mousex = _xmouse - restx;
var mousey = _ymouse - resty;
}
if (pressing == 1) {
}
if (this._x > restx + 200 || this._x < restx - 200 || this._y < resty - 500 || this._y > resty + 100) {
if (random(3) == 0) {
_global.mood -= 1;
}
if (_global.mood <= 0) {
_global.mood = 0;
}
pressing = 0;
this.stopDrag();
}
}
}
}
movieClip 123 {
}
button 124 {
on (release) {
thumb.gotoAndPlay(2);
gotoAndStop(4);
}
}
movieClip 127 {
}
button 128 {
on (release) {
thumb.gotoAndPlay(2);
gotoAndStop(5);
}
}
movieClip 131 {
}
button 132 {
on (release) {
thumb.gotoAndPlay(2);
gotoAndStop(2);
}
}
movieClip 149 {
}
button 150 {
on (release) {
if (_currentframe != 1) {
thumb.gotoAndPlay(2);
gotoAndStop(1);
} else {
_root.hand_device.play();
}
}
}
movieClip 153 {
}
movieClip 154 {
frame 1 {
stop();
}
frame 10 {
gotoAndStop(1);
}
}
button 155 {
on (release) {
_global.trouble += _global.small_trouble;
}
}
button 156 {
on (release) {
_global.trouble -= _global.small_trouble;
}
}
movieClip 174 {
}
button 175 {
on (release) {
if (_global.dialogue == 1) {
_global.dialogue = 0;
} else {
_global.dialogue = 1;
}
}
}
button 176 {
on (release) {
thumb.gotoAndPlay(2);
if (_global.hairalpha > 95) {
_global.hairalpha = 50;
} else {
if (_global.hairalpha > 45) {
_global.hairalpha = 10;
} else {
if (_global.hairalpha > 9) {
_global.hairalpha = 0;
} else {
if (_global.hairalpha == 0) {
_global.hairalpha = 100;
} else {
_global.hairalpha = 100;
}
}
}
}
_global.temphairalpha = _global.hairalpha;
}
}
movieClip 179 {
frame 1 {
stop();
}
}
button 182 {
on (release) {
if (_global.clicked == 0) {
_global.clicked = 1;
_global.bytesloaded = 0;
var signin_stuff = new LoadVars();
var data_stuff = new LoadVars();
signin_stuff.id = _global.charid;
_global.done = 0;
signin_stuff.onData = function (src) {
_global.bytesloaded = signin_stuff.getBytesLoaded();
signin_stuff.decode(src);
if (src != undefined) {
signin_stuff.onLoad(true);
} else {
signin_stuff.onLoad(false);
}
};
signin_stuff.onLoad = function (success) {
if (!success) {
_root.hand_device.hand_device.loadx.gotoAndStop(3);
}
_global.clicked = 0;
if (signin_stuff.wp_id == _global.charid) {
_global.save_string = signin_stuff.save_string;
_global.done = signin_stuff.done;
_global.decoder_function();
_root.hand_device.hand_device.loadx.gotoAndStop(2);
} else {
_root.hand_device.hand_device.loadx.gotoAndStop(3);
}
};
signin_stuff.sendAndLoad('http://spiralvortexplay.com/svp/svp_games/umcs_load.php', signin_stuff, 'POST');
}
}
}
button 183 {
on (release) {
if (_global.clicked == 0) {
_global.clicked = 1;
_global.encoder_function();
_global.bytesloaded = 0;
var signin_stuff = new LoadVars();
var data_stuff = new LoadVars();
signin_stuff.id = _global.charid;
signin_stuff.fans = _global.fans;
signin_stuff.savestring = _global.save_string;
_global.done = 0;
signin_stuff.onData = function (src) {
_global.bytesloaded = signin_stuff.getBytesLoaded();
_root.st = src + ' ' + _global.bytesloaded;
signin_stuff.decode(src);
if (src != undefined) {
signin_stuff.onLoad(true);
} else {
signin_stuff.onLoad(false);
}
};
signin_stuff.onLoad = function (success) {
if (!success) {
_root.hand_device.hand_device.savex.gotoAndStop(3);
}
_global.done = signin_stuff.done;
_global.clicked = 0;
_root.st = 'done ' + _global.done;
_root.hand_device.hand_device.savex.gotoAndStop(2);
};
signin_stuff.sendAndLoad('http://spiralvortexplay.com/svp/svp_games/umcs_save.php', signin_stuff, 'POST');
}
}
}
button 184 {
on (release) {
_global.done_loading = 0;
umch_so = SharedObject.getLocal('umch');
if (umch_so.data.saved_data != undefined) {
while (_global.done_loading != 1) {
_global.hairalpha = umch_so.data.hairalpha;
_global.mood = umch_so.data.mood;
_global.fitness = umch_so.data.fitness;
_global.melee = umch_so.data.melee;
_global.hair = umch_so.data.hair;
_global.hair_clip = umch_so.data.hair_clip;
_global.dirty = umch_so.data.dirty;
_global.showered = umch_so.data.showered;
_global.Money = umch_so.data.Money;
_global.TasksLeft = umch_so.data.TasksLeft;
_global.Days = umch_so.data.Days;
_global.cafe_popularity = umch_so.data.cafe_popularity;
_global.cafe_popularity_to_next_level = umch_so.data.cafe_popularity_to_next_level;
_global.cafe_pleasure_clients = umch_so.data.cafe_pleasure_clients;
_global.cafe_level = umch_so.data.cafe_level;
_global.cafe_maiko_sexexp = umch_so.data.cafe_maiko_sexexp;
_global.cafe_pattie_sexexp = umch_so.data.cafe_pattie_sexexp;
_global.cafe_leyah_sexexp = umch_so.data.cafe_leyah_sexexp;
_global.cafe_jeni_sexexp = umch_so.data.cafe_jeni_sexexp;
_global.game_hours = umch_so.data.game_hours;
_global.game_minutes = umch_so.data.game_minutes;
_global.game_seconds = umch_so.data.game_seconds;
_global.smarts = umch_so.data.smarts;
_global.test = umch_so.data.test;
_global.sent_frame_max = umch_so.data.sent_frame_max;
_global.sent1base = umch_so.data.sent1base;
_global.been_in_class = umch_so.data.been_in_class;
_global.been_in_pool = umch_so.data.been_in_pool;
_global.been_in_cafe = umch_so.data.been_in_cafe;
_global.been_in_boxing = umch_so.data.been_in_boxing;
_global.been_in_music = umch_so.data.been_in_music;
_global.boxing_hentai = umch_so.data.boxing_hentai;
_global.pool_hentai = umch_so.data.pool_hentai;
_global.music_hentai = umch_so.data.music_hentai;
_global.class_hentai = umch_so.data.class_hentai;
_global.medals_swim[1] = umch_so.data.medals_swim1;
_global.medals_swim[2] = umch_so.data.medals_swim2;
_global.medals_swim[3] = umch_so.data.medals_swim3;
_global.medals_cafe[1] = umch_so.data.medals_cafe1;
_global.medals_cafe[2] = umch_so.data.medals_cafe2;
_global.medals_cafe[3] = umch_so.data.medals_cafe3;
_global.medals_boxing[1] = umch_so.data.medals_boxing1;
_global.medals_boxing[2] = umch_so.data.medals_boxing2;
_global.medals_boxing[3] = umch_so.data.medals_boxing3;
_global.joirysex = umch_so.data.joirysex;
_global.classcheat = umch_so.data.classcheat;
_global.needpill = umch_so.data.needpill;
_global.david_quest = umch_so.data.david_quest;
_global.david_sex = umch_so.data.david_sex;
_global.tsugo_quest = umch_so.data.tsugo_quest;
_global.cafe_stacy_sexexp = umch_so.data.cafe_stacy_sexexp;
_global.pillfix = umch_so.data.pillfix;
_global.savori_quest = umch_so.data.savori_quest;
_global.done_loading = umch_so.data.done;
}
save_state = 'loaded data!';
_global.travel_to_text = 'umch/areas/UMCH_home.swf';
_global.clothing = 1;
area_mc.unloadMovie();
_global.travel_to_area = 1;
_global.dialogue_text = '';
_global.dialogue_scene = 0;
_global.in_area = 0;
} else {
save_state = 'no UMCH save data found!';
}
_global.done_loading = 0;
}
}
button 185 {
on (release) {
aria_so = SharedObject.getLocal('umch');
aria_so.clear();
save_state = 'erased saved UMCH data!';
save_password_text = '';
input_password_save = '';
custom_text = '';
}
}
movieClip 201 {
frame 1 {
stop();
}
}
movieClip 204 {
}
movieClip 205 {
}
movieClip 206 {
frame 1 {
stop();
}
}
movieClip 207 {
}
movieClip 208 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 174 {
onClipEvent (load) {
_parent.hp = _global.health;
_parent.Fitness = _global.fitness;
_parent.Melee = _global.melee;
_parent.fans = _global.fans;
_parent.friend = _global.friendnames[_global.friend];
_parent.recent = _global.friendnames[_global.lasthadsexwith];
_parent.trouble = _global.trouble;
}
onClipEvent (enterFrame) {
_parent.hp = _global.health;
_parent.Fitness = _global.fitness;
_parent.Melee = _global.melee;
_parent.fans = _global.fans;
_parent.friend = _global.friendnames[_global.friend];
_parent.recent = _global.friendnames[_global.lasthadsexwith];
_parent.trouble = _global.trouble;
}
}
instance of movieClip 179 {
onClipEvent (load) {
this.gotoAndStop(_global.dialogue + 1);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.dialogue + 1);
}
}
instance of movieClip 206 {
onClipEvent (load) {
if (_global.clicked == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_global.clicked == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
movieClip 211 {
frame 1 {
stop();
_global.finger_button = 1;
_global.tablet_in_use = 0;
}
frame 2 {
_global.tablet_in_use = 1;
if (_global.can_use_tablet == 0) {
this.gotoAndStop(1);
}
if (_global.import_mobile_device_bg == 1) {
}
}
frame 21 {
stop();
_root.nMC.stopMotion();
_global.tablet_in_use = 1;
}
frame 22 {
_root.nMC.startMotion();
_global.tablet_in_use = 1;
}
frame 42 {
_root.nMC.startMotion();
_global.tablet_in_use = 0;
gotoAndStop(1);
}
}
instance hand_device of movieClip 211 {
onClipEvent (load) {
if (!(this._currentframe == 1 || this._currentframe == 21)) {
this.gotoAndStop(1);
}
if (_global.gamestart == 0) {
this.gotoAndStop(21);
this.hand_device.import_mobile_device_bg.loadMovie('UMCC_import_mobile_device_bg.png');
_global.gamestart = 1;
}
}
}
movieClip 232 {
frame 1 {
stop();
}
}
instance of movieClip 232 {
onClipEvent (load) {
this.gotoAndStop(_global.chair);
}
onClipEvent (enterFrame) {
_root.check_dialogue();
this.gotoAndStop(_global.chair);
this._alpha = _global.hairalpha;
if (_global.dialogue_scene == 1) {
_root.paper_dialogue_box.gotoAndStop(2);
_root.paper_dialogue_box.dialogue_txt_var = _global.dialogue_text;
} else {
_root.paper_dialogue_box.gotoAndStop(1);
}
if (_global.patreon == 0) {
_root.patreon_icon.gotoAndStop(1);
} else {
if (_global.patreon == 100) {
_root.patreon_icon.gotoAndStop(2);
} else {
if (_global.patreon == 500) {
_root.patreon_icon.gotoAndStop(3);
} else {
if (_global.patreon == 1000) {
_root.patreon_icon.gotoAndStop(4);
} else {
if (_global.patreon == 2000) {
_root.patreon_icon.gotoAndStop(5);
} else {
if (_global.patreon == 5000) {
_root.patreon_icon.gotoAndStop(6);
} else {
_root.patreon_icon.gotoAndStop(7);
}
}
}
}
}
}
--_global.battle_timer;
if (_global.battle_timer <= 0) {
_global.battle_timer = 1800;
if (_global.battle_stock < 3 && _global.patreon == 0) {
++_global.battle_stock;
} else {
if (_global.battle_stock < 6 && _global.patreon >= 500) {
++_global.battle_stock;
} else {
if (_global.battle_stock < 3) {
++_global.battle_stock;
}
}
}
}
_root.hand_device.hand_device.battletimer = 'Battle:' + _global.battle_stock + '. Next in:' + _global.battle_timer + '';
}
}
movieClip 235 {
}
button 237 {
on (release) {
_global.dialogue_clicked = 1;
}
}
movieClip 239 {
frame 1 {
stop();
}
}
movieClip 243 {
}
movieClip 246 {
frame 1 {
stop();
}
}
movieClip 248 {
instance of movieClip 246 {
onClipEvent (load) {
this.gotoAndStop(_global.trouble + 1);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.trouble + 1);
}
}
}
instance trouble of movieClip 248 {
onClipEvent (load) {
if (_global.trouble > 100) {
_global.trouble = 100;
}
if (_global.trouble < 0) {
_global.trouble = 0;
}
this.trouble = _global.trouble;
}
onClipEvent (enterFrame) {
if (_global.trouble > 100) {
_global.trouble = 100;
}
if (_global.trouble < 0) {
_global.trouble = 0;
}
this.trouble = _global.trouble;
}
}
frame 4 {
var clip = _root.img;
var easing = 0.75;
var sliderXpos = 0;
var sliderYpos = 0;
var aperatureWidth = 900;
var aperatureHeight = 506;
var imgXpos = (clip._width - aperatureWidth) / 2;
var imgYpos = (clip._height - aperatureHeight) / 2;
var nMC = new com.McPan(clip, easing, sliderXpos, sliderYpos, aperatureWidth, aperatureHeight, imgXpos, imgYpos, true);
_global.nMC = nMC;
}
movieClip 251 {
frame 1 {
stop();
}
}
button 252 {
on (release) {
_root.gotoAndStop(7);
}
}
button 253 {
on (release) {
if (_global.trouble >= 100) {
_root.gotoAndStop(16);
} else {
_root.gotoAndStop(3);
}
}
}
button 254 {
on (release) {
if (_global.clothing == 5) {
_global.clothing = 6;
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'You: This should get attention.';
_global.dialogue_text = _root.dialogue_array[1];
} else {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'You: I can use this to make my school swimsuit wet.';
_global.dialogue_text = _root.dialogue_array[1];
}
}
}
button 261 {
on (release) {
_root.new_dialogue(4);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Savori: Yes?';
_root.dialogue_array[2] = 'You: Your panties look really cute.';
_root.dialogue_array[3] = 'Savori: You like them? Maiko was saying that too.';
_root.dialogue_array[4] = 'You: Yeah!';
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 264 {
on (release) {
_root.new_dialogue(2);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Cain: Sorry just doing my job. Miss Lynn is very important.';
_root.dialogue_array[2] = 'Lynn: Unfortunately...';
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 267 {
on (release) {
_root.new_dialogue(2);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'You: B- Big...';
_root.dialogue_array[2] = 'Luma: Impressed? I get that reaction a lot.';
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 269 {
on (release) {
_root.new_dialogue(2);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'You: Put that camera down! Get out of here!';
_root.dialogue_array[2] = 'Kyle: Okay okay!... just one more photo!';
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 270 {
on (release) {
if (_global.clothing <= 6) {
_global.clothing = 6;
}
if (_global.clothing < 10) {
++_global.clothing;
} else {
_global.clothing = 7;
}
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
_global.random_shit = random(5);
if (_global.random_shit == 0) {
_root.dialogue_array[1] = 'Kyle: Don\'t let the teachers catch you!';
} else {
if (_global.random_shit == 1) {
_root.dialogue_array[1] = 'Kyle: If a teacher sees you in that you\'ll get in trouble for sure haha!';
} else {
if (_global.random_shit == 2) {
_root.dialogue_array[1] = 'Kyle: Wow hot! But don\'t get caught!';
} else {
if (_global.random_shit == 3) {
_root.dialogue_array[1] = 'Kyle: Changing right in front of me is sexy as hell!';
} else {
if (_global.random_shit == 4) {
_root.dialogue_array[1] = 'Kyle: You look sexy as hell in that one!';
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 273 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Roise: I have way more revealing clothing.';
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 276 {
on (release) {
_root.new_dialogue(4);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Leyah: Leyah-nyan just finished massaging her breasts so they can get big like Maiko-nya!';
_root.dialogue_array[2] = 'You: What about your sister Zytra? Or Luma? thiers are bigger.';
_root.dialogue_array[3] = 'Leyah: They are too big for leyah\'s tiny body nya!';
_root.dialogue_array[4] = 'You: Yeah you\'re probably right.';
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 279 {
on (release) {
_root.new_dialogue(2);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'You: That\'s some really fancy lingerie!';
_root.dialogue_array[2] = 'Zytra: Ha yeah I get that a lot.';
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 283 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Leyah: Leyah-nyan is Just kidding! She has her own bobbles to grope nya!';
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 287 {
on (release) {
_root.new_dialogue(7);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Maiko: Jeni!!!';
_root.dialogue_array[2] = 'Jeni: Just shut up.';
_root.dialogue_array[3] = 'Maiko: Your undies!!!';
_root.dialogue_array[4] = 'Jeni: Don\'t say it cowtits!';
_root.dialogue_array[5] = 'Maiko: Are so cute!!!';
_root.dialogue_array[6] = 'Jeni: Kill yourself.';
_root.dialogue_array[7] = 'Maiko: Awww.';
_global.dialogue_text = _root.dialogue_array[1];
}
}
movieClip 313 {
frame 1 {
stop();
}
frame 2 {
_root.new_dialogue(2);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Savori: Oh hey you. Make sure you watch out for this creepy pervert named Kyle.';
_root.dialogue_array[2] = 'Savori: He\'s sneaks around in here a lot and tries to take photos of you in underwear or naked.';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 3 {
_root.new_dialogue(3);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'You: Geez! (This guy always scares me...)';
_root.dialogue_array[2] = 'Cain: Don\'t worry… I\'m jsut guarding Miss Lynn here.';
_root.dialogue_array[3] = 'Lynn: I\'m very sorry if my bodyguard startled you!';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 4 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Luma: Hey there.';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 5 {
_root.new_dialogue(5);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Kyle: Shhh...';
_root.dialogue_array[2] = 'You: You\'re that pervert Savori was talking about!';
_root.dialogue_array[3] = 'Kyle: Yeah! I mean no! I\'m not a pervert! Well maybe a little!';
_root.dialogue_array[4] = 'You: Only a little? Why are you here with a camera?';
_root.dialogue_array[5] = 'Kyle: Haha ok fine you got me!';
_root.dialogue_array[5] = 'Kyle: I got sexy outfits if you want!';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 6 {
_root.new_dialogue(3);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Roise: Oh... greetings. Don\'t mind me.';
_root.dialogue_array[2] = 'You: That lingerie is really sexy!';
_root.dialogue_array[3] = 'Roise: Meh it\'s all right.';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 7 {
_root.new_dialogue(3);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Leyah: Hiyaaaaaa!';
_root.dialogue_array[2] = 'You: Oh hi Leyah!';
_root.dialogue_array[3] = 'Leyah: Nye he he!';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 8 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Zytra: Hey did you need a swimsuit?';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 9 {
_root.new_dialogue(2);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Zytra: Hey cut it out sis! Look people are looking!';
_root.dialogue_array[2] = 'Leyah: Leyah-nya has more bobbles to grope!';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 10 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Jeni: oh hey, don\'t slack off in here too much cowtits.';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 11 {
_root.new_dialogue(2);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Pattie: Senpai!';
_root.dialogue_array[2] = 'Maiko: Hey pattie!';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 12 {
_root.new_dialogue(2);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Pattie: Excuse me have you seen senpai\'s bra?';
_root.dialogue_array[2] = 'Maiko: P- Pattie! Don\'t bother her!';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 13 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Lynn: Oh I didn\'t hear you enter.';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 14 {
_root.new_dialogue(3);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Luma: Damn you have trouble too nerdlet?.';
_root.dialogue_array[2] = 'Maiko: Yeah...';
_root.dialogue_array[3] = 'Luma: Damn it\'s always tricky getting into this tiny ass swimsuit.';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 15 {
_root.new_dialogue(2);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Maiko: Where are you touching me Pattie?';
_root.dialogue_array[2] = 'Pattie: No where senpai.';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 16 {
_root.new_dialogue(2);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Pattie: Ready to practice more?';
_root.dialogue_array[2] = 'You: Yeah!';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 17 {
_root.new_dialogue(3);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Luma: You havent seen that camera nerd around here have you?';
_root.dialogue_array[2] = 'You: No...';
_root.dialogue_array[3] = 'Zytra: Leave her alone Luma.';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 18 {
_root.new_dialogue(2);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Leyah: Nya...nya....nya...';
_root.dialogue_array[2] = 'You: ...(looks like the is massaging her boobs.)';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 19 {
_root.new_dialogue(2);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Leyah: Nyo! Not here Jay. Wait until we are out of school nya!';
_root.dialogue_array[2] = 'Jay: Ha ha okay sorry!';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 20 {
_root.new_dialogue(2);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Zytra: Hmmm?';
_root.dialogue_array[2] = 'Roise: Oops, excuse me Zytra.';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 21 {
_root.new_dialogue(3);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Roise: Wan\'t a real photo Kyle?';
_root.dialogue_array[2] = 'Kyle: R- Roise! Turn around?';
_root.dialogue_array[3] = 'Roise: Nope!';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 22 {
_root.new_dialogue(2);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Mika: Nice practice today Savori.';
_root.dialogue_array[2] = 'Savori: Thanks instructor Mika.';
_global.dialogue_text = _root.dialogue_array[1];
}
}
movieClip 314 {
frame 2 {
stop();
}
instance bg_students of movieClip 313 {
onClipEvent (load) {
if (_global.dialogue == 1) {
this.gotoAndStop(random(24) + 2);
} else {
this.gotoAndStop(23);
}
}
}
instance boobs of movieClip 115 {
onClipEvent (load) {
restx = 640;
resty = 950;
k = 2;
mass = 13;
damping = 0.9;
pressing = 0;
vx = 0;
vy = 0;
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.clothing);
var dx = restx - this._x;
var dy = resty - this._y;
if (pressing == 0) {
var ax = (k / mass) * dx;
var ay = (k / mass) * dy;
vx += ax;
vy += ay;
vx *= damping;
vy *= damping;
this._x += vx;
this._y += vy;
var mousex = _xmouse - restx;
var mousey = _ymouse - resty;
}
if (pressing == 1) {
}
if (this._x > restx + 200 || this._x < restx - 200 || this._y < resty - 500 || this._y > resty + 100) {
if (random(3) == 0) {
_global.mood -= 1;
}
if (_global.mood <= 0) {
_global.mood = 0;
}
pressing = 0;
this.stopDrag();
}
}
}
}
frame 5 {
var clip = _root.img;
var easing = 0.75;
var sliderXpos = 0;
var sliderYpos = 0;
var aperatureWidth = 900;
var aperatureHeight = 506;
var imgXpos = (clip._width - aperatureWidth) / 2;
var imgYpos = (clip._height - aperatureHeight) / 2;
var nMC = new com.McPan(clip, easing, sliderXpos, sliderYpos, aperatureWidth, aperatureHeight, imgXpos, imgYpos, true);
_global.nMC = nMC;
}
movieClip 317 {
frame 1 {
stop();
}
}
button 318 {
on (release) {
if (_global.trouble >= 100) {
_root.gotoAndStop(16);
} else {
_root.gotoAndStop(3);
}
}
}
button 323 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.failed == 1) {
_global.trouble += _global.small_trouble;
_root.dialogue_array[1] = 'Timmy: I already said no right? Stop asking me please';
} else {
if (_global.friend == _currentframe) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Timmy: You want me to sneak into the locker room? Sure… we\'re friends right?';
} else {
if (_global.fightstyle == 1) {
_root.dialogue_array[1] = 'Timmy: You want me to sneak into the locker room? N- No thanks. You seem kinda pushy…';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_root.dialogue_array[1] = 'Timmy: You want me to sneak into the locker room? Not if that is what you will be wearing…';
} else {
if (_global.trouble > 50) {
_root.dialogue_array[1] = 'Timmy: You want me to sneak into the locker room? N- No way! I dont want to get into trouble like you!…';
} else {
if ((_global.trouble / 100) * 100 < random(101)) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Timmy: You want me to sneak into the locker room? uh… sure…';
} else {
_global.failed = 1;
_root.dialogue_array[1] = 'Timmy: You want me to sneak into the locker room? I\'ll pass…';
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 324 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.friend != 3) {
_root.dialogue_array[1] = 'Timmy: I\'ll only be your friend if you are friends with my friend Archie first.';
} else {
if (_global.clothing == 1 || _global.clothing == 11) {
_global.friend = _currentframe;
_root.dialogue_array[1] = 'Timmy: Well sure I be your friend since you are friends with Archie and making my pee pee hard…';
} else {
_root.dialogue_array[1] = 'Timmy: Well I\'d like to see you in somthing that makes my pee pee hard first…';
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 330 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.failed == 1) {
_global.trouble += _global.med_trouble;
_root.dialogue_array[1] = 'Archie: I\'m going in there! I\'m telling the teacher on you!';
} else {
if (_global.friend == _currentframe) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Archie: S-! sneak into the locker room!? But! Okay… I guess I can trust you because were frinds right…?';
} else {
if (_global.clothing != 2) {
_root.dialogue_array[1] = 'Archie: S-! sneak into the locker room!? But why…? You are not even wearing a school uniform!';
} else {
if (_global.trouble > 50) {
_root.dialogue_array[1] = 'Archie: S-! sneak into the locker room!? N- No thanks! You are in way too much trouble!';
} else {
if ((_global.trouble / 100) * 100 < random(101)) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Archie: S-! sneak into the locker room!? but why…? ok fine…';
} else {
_global.failed = 1;
_root.dialogue_array[1] = 'Archie: S-! sneak into the locker room!? N- No thanks!!!';
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 331 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.trouble != 0) {
_root.dialogue_array[1] = 'Archie: Don\'t even think about asking me to be your friend if you are in any kind of trouble!';
} else {
if (_global.clothing == 2) {
_global.friend = _currentframe;
_root.dialogue_array[1] = 'Archie: Sure I\'ll be you friend since you aren\'t in any trouble and are dressed in the school uniform.';
} else {
_root.dialogue_array[1] = 'Archie: You are not even dressed in school attire… How can I know you are serious about school?';
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 334 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.failed == 1) {
_root.dialogue_array[1] = 'Toby: I\'m about to go play with my friends!';
} else {
if (_global.friend == _currentframe) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Toby: Sneak into the locker room? Sure! that\'s what friends are for right?';
} else {
if (_global.cglasses == 2 || _global.cglasses == 3) {
_root.dialogue_array[1] = 'Toby: Sneak into the locker room? I\'m not going anywhere with you! You look like a nerd hahah!';
} else {
if (_global.friend != 19 && _global.friend != 20 && _global.friend != 21 && _global.friend != 22) {
_root.dialogue_array[1] = 'Toby: Sneak into the locker room? I\'ll pass, you don\'t have any hot girl friends I can hook up with do ya?';
} else {
if ((_global.trouble / 100) * 100 > random(101)) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Toby: Sneak into the locker room? Yay! Are we going to play in there?';
} else {
_global.failed = 1;
_root.dialogue_array[1] = 'Toby: Sneak into the locker room? Ah mayber later…';
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 335 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.trouble < 50) {
_root.dialogue_array[1] = 'Toby: You want me to be your friend? Nah I like girls who get into trouble!';
} else {
if (_global.clothing == 1 || _global.clothing == 6 || _global.clothing == 7 || _global.clothing == 8 || _global.clothing == 9 || _global.clothing == 10) {
_global.friend = _currentframe;
_root.dialogue_array[1] = 'Toby: Now that\'s what I like to see! I\'ll be your friend for sure!';
} else {
_root.dialogue_array[1] = 'Toby: I\'ll consider being your friend if you dressed more lewd!';
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 337 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.failed == 1) {
_root.dialogue_array[1] = 'Chester: Yeah yeah. maybe one day you will be good enougth for me!';
} else {
if (_global.friend == _currentframe) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Chester: Can I sneak into the locker room? Well I guess I can spare time for a friend!';
} else {
if (_global.cglasses != 2 && _global.cglasses != 3) {
_root.dialogue_array[1] = 'Chester: Can I sneak into the locker room? Eh I din\'t think we would get along in there. You don\'t even wear glasses like me.';
} else {
if (_global.friend != _currentframe) {
_root.dialogue_array[1] = 'Chester: Can I sneak into the locker room? I am not even your best friend! Why should I take my very important time to meet you anywhere?';
} else {
if ((_global.trouble / 100) * 100 < random(101)) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Chester: Sure I can sneak into the locker room! I can do anyhting!';
} else {
_global.failed = 1;
_root.dialogue_array[1] = 'Chester: Can I sneak into the locker room? Nah! I have more important stuff to do!';
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 338 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.cglasses != 2 && _global.cglasses != 3) {
_root.dialogue_array[1] = 'Chester: Be your friend? You don\'t look that smart! You don\'t even ahve glasses! How will we communicate?';
} else {
if (_global.clothing == 1 || _global.clothing == 7 || _global.clothing == 8 || _global.clothing == 9 || _global.clothing == 10) {
_global.friend = _currentframe;
_root.dialogue_array[1] = 'Chester: Well I suppose I have some times to be your friend for a while if you will dress like that for me.';
} else {
_root.dialogue_array[1] = 'Chester: Well if you want to be friends I only want a hot nerdy girl! You have to look the part!';
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 341 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.failed == 1) {
_global.trouble += _global.large_trouble;
_root.dialogue_array[1] = 'Gary: Geez! Stop harassing me! I said NO! You know what? I\'m going to tell the teachers!';
} else {
if (_global.friend == _currentframe) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Gary: Sneak into the locker room!? Geezus! Okay! Only because were are sorta like pals or whatever geez.';
} else {
if (_global.clothing != 2 || _global.clothing != 3) {
_root.dialogue_array[1] = 'Gary: S-! sneak into the locker room!? You don\'t even have any decent clothes on!';
} else {
if (_global.friend == 8 || _global.friend == 9 || _global.friend == 10 || _global.friend == 8 || _global.friend == 19 || _global.friend == 20 || _global.friend == 21 || _global.friend == 22) {
_root.dialogue_array[1] = 'Gary: -! sneak into the locker room!? How about you go ssk one of your popualr friends and leave me alone!';
} else {
if ((_global.trouble / 100) * 100 < random(101)) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Gary: Geezus! Okay! I\'ll meet you in the locker room later if you will just leave me alone!';
} else {
_global.failed = 1;
_root.dialogue_array[1] = 'Gary: Sneak into the locker room!? Are you crazy!? Get away from me you freak!';
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 342 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.friend > 0) {
_root.dialogue_array[1] = 'Gary: Be your friend!? Don\'t you have some already!? Geez!!!';
} else {
if (_global.fightstyle == 3) {
_global.friend = _currentframe;
_root.dialogue_array[1] = 'Gary: Geez fine. I\'ll be you friend, you seem okay I guess.';
} else {
_root.dialogue_array[1] = 'Gary: I can\'t be your friend. I only like girls that are not agressive at all.';
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 345 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.failed == 1) {
_global.trouble += _global.small_trouble;
_root.dialogue_array[1] = 'Evan: Hey! leave me alone pranster! Before I tell the teacher!';
} else {
if (_global.friend == _currentframe) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Evan: You want me to sneak into the locker room? I guess I can trust you not to prank me…';
} else {
if (_global.fightstyle == 1) {
_root.dialogue_array[1] = 'Evan: You want me to sneak into the locker room? Geez, maybe I would if you stop being so pushy…';
} else {
if (_global.lasthadsexwith == 8 || _global.lasthadsexwith == 9 || _global.lasthadsexwith == 10) {
_root.dialogue_array[1] = 'Evan: You want me to sneak into the locker room? I know you prefer the bulky guys. Don\'t pity me!';
} else {
if (_global.friend == 8 || _global.friend == 9 || _global.friend == 10) {
_root.dialogue_array[1] = 'Evan: You want me to sneak into the locker room? Go ask one of your strong guy friends! Why even bother with me!?';
} else {
if (_global.trouble > 50) {
_root.dialogue_array[1] = 'Evan: You want me to sneak into the locker room? I know this is a prank to get me in trouble like you!…';
} else {
if ((_global.trouble / 100) * 100 < random(101)) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Evan: You want me to sneak into the locker room? Okay, but this better not be a prank!';
} else {
_global.failed = 1;
_root.dialogue_array[1] = 'Evan: You want me to sneak into the locker room? No way! I know a prank when I see one!';
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 346 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.friend > 0) {
_root.dialogue_array[1] = 'Evan: I wont be pranked int being you friend! Your not normal! We don\'t even think the same!';
} else {
if (_global.clothing != 2 && _global.clothing != 3) {
_global.friend = _currentframe;
_root.dialogue_array[1] = 'Evan: Wow… Yeah okay I\'ll be your friend but this better not be a prank. because I kinda have a hardon right now.';
} else {
_root.dialogue_array[1] = 'Evan: Any friend of mine would be okay with wearing something I like before asking me anything…';
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 349 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.failed == 1) {
_root.dialogue_array[1] = 'Renji: Don\'t bother me any more about this.';
} else {
if (_global.friend == _currentframe) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Renji: You want me to meet you in the locker room? Alright sure, I\'ll risk it for a friend I guess.';
} else {
if (_global.clothing != 2 || _global.clothing != 3) {
_root.dialogue_array[1] = 'Renji: You want me to meet you in the locker room dressed like that? I\'ve got got some other stuff I needed to take care of.';
} else {
if (_global.lasthadsexwith == 2 || _global.lasthadsexwith == 3 || _global.lasthadsexwith == 4) {
_root.dialogue_array[1] = 'Renji: You want me to meet you in the locker room? Pass. I\'ve heard about the kind of things you do there with the little guys.';
} else {
if (_global.friend != 19 && _global.friend != 20 && _global.friend != 21 && _global.friend != 22) {
_root.dialogue_array[1] = 'Renji: You want me to meet you in the locker room? Just what are you planning for us to do in there? I don\'t ever see you with any other girlfriends.';
} else {
if (_global.trouble > 50) {
_root.dialogue_array[1] = 'Renji: You want me to meet you in the locker room? I really want to stay ou of trouble as much as possible sorry.';
} else {
if ((_global.trouble / 100) * 100 < random(101)) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Renji: You want me to meet you in the locker room? I guess I can… why?';
} else {
_global.failed = 1;
_root.dialogue_array[1] = 'Renji: You want me to meet you in the locker room? Hmm I\'m not so sure about that… I\'ll pass, no offense.';
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 350 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.trouble > 10) {
_root.dialogue_array[1] = 'Renji: Sorry but you are in a little too much trouble to think about being friends with me.';
} else {
if (_global.friend != 19 && _global.friend != 20 && _global.friend != 21 && _global.friend != 22) {
_global.friend = _currentframe;
_root.dialogue_array[1] = 'Renji: Oh sure I\'ll be your friend. Everyhting seems to check out for the most part.';
} else {
_root.dialogue_array[1] = 'Renji: Sorry but you have tons of friends already right? What\'s one more?…';
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 353 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.failed == 1) {
_root.dialogue_array[1] = 'Cory: I need to study.';
} else {
if (_global.friend == _currentframe) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Cory: Meet you in the locker room? Err… okay my friend, see you there.';
} else {
if (_global.lasthadsexwith == 2 || _global.lasthadsexwith == 3 || _global.lasthadsexwith == 4) {
_root.dialogue_array[1] = 'Cory: Meet you in the locker room? Err… No thanks, I heard some little guys bragging about what you do in there.';
} else {
if (_global.glove != 1) {
_root.dialogue_array[1] = 'Cory: Meet you in the locker room? Err… But why do you have those gloves? I don\'t want to scare anyone.';
} else {
if (_global.trouble > 50) {
_root.dialogue_array[1] = 'Cory: Meet you in the locker room? Err… but you are in so much trouble…';
} else {
if ((_global.trouble / 100) * 100 < random(101)) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Cory: Meet you in the locker room? Err okay…';
} else {
_global.failed = 1;
_root.dialogue_array[1] = 'Cory: Meet you in the locker room? Err nah… I got some studying to do.';
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 354 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.clothing != 2) {
_root.dialogue_array[1] = 'Cory: Err… my friends all wear correct school attire in the hallway..';
} else {
if (_global.trouble <= 10) {
_global.friend = _currentframe;
_root.dialogue_array[1] = 'Cory: Err… ok we can be friends. You don\'t seem to be in that much trouble.';
} else {
_root.dialogue_array[1] = 'Cory: Sorry but seem to be in too much trouble to be friends…';
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 357 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.failed == 1) {
_root.dialogue_array[1] = 'Drake: I\'ll pass haha! Maybe later?';
} else {
if (_global.friend == _currentframe) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Drake: Oh snap! Meet you in the locker room! Sure! Were friends so we will being doing something fun there right? haha!';
} else {
if (_global.fightstyle == 3) {
_root.dialogue_array[1] = 'Drake: Ah… meet you in the locker room…? You seem a little to defensive for me! Sorry! I like to hang with girls more open and forceful haha!';
} else {
if (_global.cglasses == 1 && _global.cglasses == 2) {
_root.dialogue_array[1] = 'Drake: Meet you in the locker room? You mean for… ah… sorry but glasses are not my thing! Sorry!';
} else {
if (_global.friend != 19 && _global.friend != 20 && _global.friend != 21 && _global.friend != 22) {
_root.dialogue_array[1] = 'Drake: Meet you in the locker room! Only if you have any girlfriends that I could meet later also! Haha!';
} else {
if ((_global.trouble / 100) * 100 < random(101)) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Drake: Oh snap! Meet you in the locker room! Haha right away!';
} else {
_global.failed = 1;
_root.dialogue_array[1] = 'Drake: Oh snap! Meet you in the locker room? Crap I can\'t due to practice! Sorry!';
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 358 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.trouble <= 50) {
_root.dialogue_array[1] = 'Drake: Hey I would be your friend but I like \'em fiesty and not scared to get into trouble!';
} else {
if (_global.fightstyle == 1) {
_global.friend = _currentframe;
_root.dialogue_array[1] = 'Drake: Friends? Sure haha! My penis will thanks you!';
} else {
_root.dialogue_array[1] = 'Drake: Pass on friends sorry. If you were more agressive you might turn me on a little ya know?';
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 361 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.failed == 1) {
_global.trouble += _global.med_trouble;
_root.dialogue_array[1] = 'Ralph: Where are the teachers!?';
} else {
if (_global.friend == _currentframe) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Ralph: What!? Why do you want me to meet you in the locker room? Gah… Okay I will see what I can do since I know you.';
} else {
if (_global.lasthadsexwith == 2 || _global.lasthadsexwith == 3 || _global.lasthadsexwith == 4) {
_root.dialogue_array[1] = 'Ralph: What!? Why do you want me to meet you in the locker room too? N -No! Some kid was just breagging to me about what you did in there!!!';
} else {
if (_global.trouble > 50) {
_root.dialogue_array[1] = 'Ralph: What!? Why do you want me to meet you in the locker room? I\'d be tresspassing and you seem to be infamous around here anyway…';
} else {
if ((_global.trouble / 100) * 100 < random(101)) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Ralph: What!? Why do you want me to meet you in the locker room? How would I even… is that okay for me to do?';
} else {
_global.failed = 1;
_root.dialogue_array[1] = 'Ralph: What!? Why do you want me to meet you in the locker room? How would I even… no! NO! Stop giving me dirty thoughts!';
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 362 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.lasthadsexwith == 2 || _global.lasthadsexwith == 3 || _global.lasthadsexwith == 4) {
_root.dialogue_array[1] = 'Ralph: What!? Friends? N- No! I\'ve heard rumors you do weird things with little guys!';
} else {
if (_global.clothing == 4) {
_global.friend = _currentframe;
_root.dialogue_array[1] = 'Ralph: Well if you want to be friends I suppose it\'s okay. It\'s hard to turn down a maid.';
} else {
_root.dialogue_array[1] = 'Ralph: What!? Friends? Maybe I would if you worked at the cafe.';
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 365 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.failed == 1) {
_root.dialogue_array[1] = 'Alfie: I already answered you right?';
} else {
if (_global.friend == _currentframe) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Alfie: Oh… meet you in the locker room? Uh sure… I can try since it is for a friend.';
} else {
if (_global.fightstyle == 1) {
_root.dialogue_array[1] = 'Alfie: Oh… meet you in the locker room? Nah… you are kinda pushy…';
} else {
if (_global.friend == 8 || _global.friend == 9 || _global.friend == 10) {
_root.dialogue_array[1] = 'Alfie: Oh… meet you in the locker room? Nah… I don\'t really relate to the friends you have…';
} else {
if (_global.trouble > 50) {
_root.dialogue_array[1] = 'Alfie: Oh… meet you in the locker room? Nah… I don\'t to get in trouble.';
} else {
if ((_global.trouble / 100) * 100 < random(101)) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Alfie: Oh… meet you in the locker room? Okay… Kyle showed me how to do that back when I when I went to school here…';
} else {
_global.failed = 1;
_root.dialogue_array[1] = 'Alfie: Oh… meet you in the locker room? Oh no I can\'t… I would easily get caught.';
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 366 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.friend != 11 && _global.friend != 12 && _global.friend != 13) {
_root.dialogue_array[1] = 'Alfie: What!? Your into big size males?';
} else {
if (_global.clothing == 5 || _global.clothing == 6) {
_global.friend = _currentframe;
_root.dialogue_array[1] = 'Alfie: Oh are you on the swim team with Zytra and Leyah? Sure I\'ll be your friend!';
} else {
_root.dialogue_array[1] = 'Alfie: Friends?… Well maybe if you were in a club with Zytra and Leyah…';
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 369 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.failed == 1) {
_global.trouble += _global.large_trouble;
_root.dialogue_array[1] = 'Lester: Step away from me little girl!!!';
} else {
if (_global.friend == _currentframe) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Lester: Meet you in the locker room? I guess since we are business associates now.';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_root.dialogue_array[1] = 'Lester: Meet you in the locker room? Bah. Can you look anymore plan? I need you to show some skin if you expect to get my attention!';
} else {
if (_global.fightstyle == 1) {
_root.dialogue_array[1] = 'Lester: Meet you in the locker room? Bah! Who do you think you are getting pushy with little girl!?';
} else {
if (_global.friend != 19 && _global.friend != 20 && _global.friend != 21 && _global.friend != 22) {
_root.dialogue_array[1] = 'Lester: Meet you in the locker room? No! You don\'t even have any girlfirnds do you?';
} else {
if ((_global.trouble / 100) * 100 > random(101)) {
_global.lockerboy = _currentframe;
_root.dialogue_array[1] = 'Lester: Meet you in the locker room? Sure I suppose. Are you trying to impress me little girl?…';
} else {
_global.failed = 1;
_root.dialogue_array[1] = 'Lester: Meet you in the locker room? Bah you\'d only be wasting my time!';
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 370 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.trouble < 50) {
_root.dialogue_array[1] = 'Lester: Kid, you are way too friendly to be friends with me.';
} else {
if (_global.clothing == 1 || _global.clothing == 7 || _global.clothing == 8 || _global.clothing == 9 || _global.clothing == 10) {
_global.friend = _currentframe;
_root.dialogue_array[1] = 'Lester: Friends? No. Business associates? Sure.';
} else {
_root.dialogue_array[1] = 'Lester: Friends?… What do I look like kid? I need a woman who will turn me on… if you can\'t do that then scram!';
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 385 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.failed == 1) {
_root.dialogue_array[1] = 'Roise: We\'ll talk about it. Ask us later?';
} else {
if (_global.trouble < 50) {
_root.dialogue_array[1] = 'Roise: You want hang out with us as friends? Well I\'m not sure If I can look after another nice person.';
} else {
if ((_global.trouble / 100) * 100 > random(101)) {
_global.friend = _currentframe;
_root.dialogue_array[1] = 'Roise: Well sure we can hang out as friends if you want.';
} else {
_global.failed = 1;
_root.dialogue_array[1] = 'Roise: Friends hmmm maybe we will have some time to hang out later ok?';
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 392 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.failed == 1) {
_root.dialogue_array[1] = 'Luma: Don\'t be a naggy bitch about it!';
} else {
if (_global.trouble < 50) {
_root.dialogue_array[1] = 'Luma: Look bitch, if you want to hang with us you gotta learn to not always have a rule book stuck up your ass.';
} else {
if ((_global.trouble / 100) * 100 > random(101)) {
_global.friend = _currentframe;
_root.dialogue_array[1] = 'Luma: Yeah I guess you seem cool enough. You can be friends with us.';
} else {
_global.failed = 1;
_root.dialogue_array[1] = 'Luma: Maybe you should get like, more cool.';
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 399 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.failed == 1) {
_root.dialogue_array[1] = 'Zytra: Hey we\'ll be back later ok?';
} else {
if (_global.trouble > 50) {
_root.dialogue_array[1] = 'Zytra: Hmm you have too much of a negative reputation to hang out with us.';
} else {
if ((_global.trouble / 100) * 100 > random(101)) {
_global.friend = _currentframe;
_root.dialogue_array[1] = 'Zytra: Sure we can get together sometime and hang out when we go shopping!';
} else {
_global.failed = 1;
_root.dialogue_array[1] = 'Zytra: Well were pretty busy so maybe we can get together later?';
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 403 {
on (release) {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.failed == 1) {
_root.dialogue_array[1] = 'Maiko: We\'ll be back after class ok?';
} else {
if (_global.trouble > 50) {
_root.dialogue_array[1] = 'Maiko: I think you are in too much trouble for Riley to approve.';
} else {
if ((_global.trouble / 100) * 100 > random(101)) {
_global.friend = _currentframe;
_root.dialogue_array[1] = 'Maiko: So you want to be friends? okay!';
} else {
_global.failed = 1;
_root.dialogue_array[1] = 'Maiko: We can be friends later if you want!';
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 406 {
on (release) {
_global.clothing = 4;
_root.new_dialogue(2);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Holly: Hey looks good on you! You can help advertise the cafe!';
_root.dialogue_array[2] = 'Holly: Well time for me to get back to the cafe! Kisses!';
_global.dialogue_text = _root.dialogue_array[1];
}
}
button 409 {
on (release) {
_global.clothing = 12;
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Remi: Just send any students to the nursing office if they need it.';
_global.dialogue_text = _root.dialogue_array[1];
}
}
movieClip 410 {
frame 1 {
stop();
}
frame 2 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_root.dialogue_array[1] = 'Timmy: Uh… my wee wee is starting to hurt…';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_root.dialogue_array[1] = 'Timmy: Um… hi… Have you seen Mika?';
} else {
if (_global.clothing == 4) {
_root.dialogue_array[1] = 'Timmy: Uh… your nipples are almost out…';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Timmy: Why are you wearing a swimsuit?…';
} else {
if (_global.clothing == 6) {
_root.dialogue_array[1] = 'Timmy: Uh…your nipples are showing through the swimsuit…';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_root.dialogue_array[1] = 'Timmy: But…That outfit is really… revealing…';
} else {
if (_global.clothing == 11) {
_root.dialogue_array[1] = 'Timmy: Uh… shouldn\'t you be in the gym?…';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Timmy: Oh… are you on your way to help someone nurse lady? Please help as many people as you can!';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 3 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_root.dialogue_array[1] = 'Archie: Holy cow! I didn\'t see anything I promise!';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_root.dialogue_array[1] = 'Archie: Sigh I can\'t find Timmy or Tobi anywhere!';
} else {
if (_global.clothing == 4) {
_root.dialogue_array[1] = 'Archie: Oh! P- please pull up your shirt more before they pop put!';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Archie: Y- you\'d better not let the teachers catch you wearing that!';
} else {
if (_global.clothing == 6) {
_root.dialogue_array[1] = 'Archie: P- Please cover your nipples!';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_root.dialogue_array[1] = 'Archie: Are you sure it is okay to be wearing that?';
} else {
if (_global.clothing == 11) {
_root.dialogue_array[1] = 'Archie: W- why are wearing that here?…';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Archie: So are you a real nurse lady?…';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 4 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_root.dialogue_array[1] = 'Toby: Wowie!!! I just got super hard!';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_root.dialogue_array[1] = 'Toby: Hehe! Going to get sweaty today?';
} else {
if (_global.clothing == 4) {
_root.dialogue_array[1] = 'Toby: Oh a maid! I heard about the special service hehe.';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Toby: That swimsuit looks hot on you!';
} else {
if (_global.clothing == 6) {
_root.dialogue_array[1] = 'Toby: Wowie! I can see your nipples!';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_root.dialogue_array[1] = 'Toby: Wow! wanna do it with me?';
} else {
if (_global.clothing == 11) {
_root.dialogue_array[1] = 'Toby: Nice! You must be really flexable!…';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Toby: Nurse lady! I have a pain between my legs!';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 5 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_root.dialogue_array[1] = 'Chester: Ah! Just the way I like my maidens to apprach thier king!';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_root.dialogue_array[1] = 'Chester: Why hello there! I can do anything you can only dream of! Just ask me!';
} else {
if (_global.clothing == 4) {
_root.dialogue_array[1] = 'Chester: Ha! Trying to be a tease? I\'ve already seen lots of bare breasts in my video games and comics!';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Chester: What does the water goddess desire from her mighty god?';
} else {
if (_global.clothing == 6) {
_root.dialogue_array[1] = 'Chester: Wow! tit- Uh… I\'m sooooo used to seeing boobs under wet clothes.';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_root.dialogue_array[1] = 'Chester: Yeah girls approach me all the time wearing stuff like that.';
} else {
if (_global.clothing == 11) {
_root.dialogue_array[1] = 'Chester: I could give you some yoga pointers if you want. I know all about gym stuff!';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Chester: Nurse eh? I\'m a qualified doctor so I can teach you some things if you want.';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 6 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_root.dialogue_array[1] = 'Gary: Geezus you slut! put on some clothes GOSH!';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_root.dialogue_array[1] = 'Gary: Uh! get out of the middle of the hallway! People are trying to walk!';
} else {
if (_global.clothing == 4) {
_root.dialogue_array[1] = 'Gary: Oh look at me and my nipples almost about to fall out... no one cares you attention seeking... grrr...';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Gary: Why are you wearing a swimsuit!? You want attenton that bad!?';
} else {
if (_global.clothing == 6) {
_root.dialogue_array[1] = 'Gary: Geezus! Go dry off you attention seeking bimbo! You are wetting up the hallway floor!';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_root.dialogue_array[1] = 'Gary: What the hell! You aren\'t allowed to wear that you bimbo!';
} else {
if (_global.clothing == 11) {
_root.dialogue_array[1] = 'Gary: Get back in the gym you attention seeking tramp!';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Gary: Yeah right! Like you\'re actually a Nurse!';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 7 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_root.dialogue_array[1] = 'Evan: Sure I\'ll admit I have a boner…';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_root.dialogue_array[1] = 'Evan: Man when it is my turn to get some… I never get any girls…';
} else {
if (_global.clothing == 4) {
_root.dialogue_array[1] = 'Evan: You\'re just trying to make me hard again…';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Evan: Even wearing swimsuit to make me horny again…';
} else {
if (_global.clothing == 6) {
_root.dialogue_array[1] = 'Evan: Not looking! If you don\'t want do it with me then I don\'t care!';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_root.dialogue_array[1] = 'Evan: Man you get so much attention wearing that… no one ever notices me.';
} else {
if (_global.clothing == 11) {
_root.dialogue_array[1] = 'Evan: Yeah yeah you are very flexable… rub it in my face why don\'t you!';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Evan: Why are you teasing me? You know I like nurses…';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 8 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_root.dialogue_array[1] = 'Renji: Hmm… you have something to prove?';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_root.dialogue_array[1] = 'Renji: Hey, you studying later?';
} else {
if (_global.clothing == 4) {
_root.dialogue_array[1] = 'Renji: Hey uh… sorry your outfit is distracting me a little.';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Renji: Going swimming I assume?';
} else {
if (_global.clothing == 6) {
_root.dialogue_array[1] = 'Renji: Hmm… I can grab a towel if you need.';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_root.dialogue_array[1] = 'Renji: I\'ll pretend like I don\'t see what you are wearing.';
} else {
if (_global.clothing == 11) {
_root.dialogue_array[1] = 'Renji: Oh uh… I didn\'t think girls walked down the hallway wearing gym stuff.';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Renji: Where are you headed too? Is there some emergency somewhere I can help with?…';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 9 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_root.dialogue_array[1] = 'Cory: Err…I think you forgot something…';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_root.dialogue_array[1] = 'Cory: I can\'t wait until we get more homework.';
} else {
if (_global.clothing == 4) {
_root.dialogue_array[1] = 'Cory: Err… you might want to pull your shirt up…';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Cory: Err…the pool is the other way…';
} else {
if (_global.clothing == 6) {
_root.dialogue_array[1] = 'Cory: Did you need a towel?…';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_root.dialogue_array[1] = 'Cory: Err… you plan to box in that?';
} else {
if (_global.clothing == 11) {
_root.dialogue_array[1] = 'Cory: Err… did you need help finding the gym?';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Cory: It must be time for my check-up…';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 10 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_root.dialogue_array[1] = 'Drake: Yo!… you\'ve got some nice looking boobs!';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_root.dialogue_array[1] = 'Drake: Yo!… you boxing later?';
} else {
if (_global.clothing == 4) {
_root.dialogue_array[1] = 'Drake: Whoa headlights!';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Drake: Yo, snap some pics of yourself at the pool for me haha!';
} else {
if (_global.clothing == 6) {
_root.dialogue_array[1] = 'Drake: Whoa! mind if help you dry off? haha!';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_root.dialogue_array[1] = 'Drake: Whoa when was that allowed? I don\'t mind of course ha!';
} else {
if (_global.clothing == 11) {
_root.dialogue_array[1] = 'Drake: Hey how well can you do the splits? haha!';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Drake: Yo Nurse! I\'m ready for my heath check-up haha!';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 11 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_root.dialogue_array[1] = 'Ralph: H- huh? I think you forgot your clothes young lady…';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_root.dialogue_array[1] = 'Ralph: I was suppoed to be meeting with Alma but I can\'t find her office.';
} else {
if (_global.clothing == 4) {
_root.dialogue_array[1] = 'Ralph: Oh maids… here?';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Ralph: Ahem… sorry but can you show me where the faculty offices are?…';
} else {
if (_global.clothing == 6) {
_root.dialogue_array[1] = 'Ralph: Oh my… are you aware that uh… your nipples are visible?';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_root.dialogue_array[1] = 'Ralph: Ahem! uh…you can wear that here?…';
} else {
if (_global.clothing == 11) {
_root.dialogue_array[1] = 'Ralph: T- That\'s a very tight outfit isn\'t it?';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Ralph: Sorry I was looking for the faculty offices, not the nurse office!';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 12 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_root.dialogue_array[1] = 'Alfie: Oh… wow… uh…';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_root.dialogue_array[1] = 'Alfie: Um… I was on my way to Remi\'s office for medical attention.';
} else {
if (_global.clothing == 4) {
_root.dialogue_array[1] = 'Alfie: Oh… just like at the cafe…';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Alfie: Oh… swimsuit in here?';
} else {
if (_global.clothing == 6) {
_root.dialogue_array[1] = 'Alfie: Uh… did you know that um…';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_root.dialogue_array[1] = 'Alfie: That\'s… you can wear that here?…';
} else {
if (_global.clothing == 11) {
_root.dialogue_array[1] = 'Alfie: Hey, it\'s not safe to do gymnastis here.';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Alfie: It is time for me to visit the nurse again?';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 13 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_root.dialogue_array[1] = 'Lester: Well well well… what\'s the meaning of this?';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_root.dialogue_array[1] = 'Lester: Scram kid! I have a business meeting with Tom!';
} else {
if (_global.clothing == 4) {
_root.dialogue_array[1] = 'Lester: Cafe girls still need to go to school?…';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Lester: Ha! Trying to impress me? Try harder!…';
} else {
if (_global.clothing == 6) {
_root.dialogue_array[1] = 'Lester: A wet swimsuit is a good start if you are trying to impress me…';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_root.dialogue_array[1] = 'Lester: Nice… very nice…';
} else {
if (_global.clothing == 11) {
_root.dialogue_array[1] = 'Lester: Hey girl are you sure you\'re in the right place?';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Lester: Ha! So I can get medical treatment here too?';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 14 {
_global.clothing = 1;
_global.trouble += _global.med_trouble;
_root.new_dialogue(4);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Jay: Oh nice body!';
_global.random_shit = random(5);
if (_global.random_shit == 0) {
_root.dialogue_array[2] = 'You: Wait where are my clothes!?';
} else {
if (_global.random_shit == 1) {
_root.dialogue_array[2] = 'You: Aaah! How are my clothes gone!?';
} else {
if (_global.random_shit == 2) {
_root.dialogue_array[2] = 'You: How did I get naked!?';
} else {
if (_global.random_shit == 3) {
_root.dialogue_array[2] = 'You: M- My boobs are out!';
} else {
if (_global.random_shit == 4) {
_root.dialogue_array[2] = 'You: How are my clothes missing!?';
}
}
}
}
}
_root.dialogue_array[3] = 'Jay: I\'m not sure but nice photos!';
_root.dialogue_array[4] = 'You: You took photos!?';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 15 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_root.dialogue_array[1] = 'Kyle: Oh wow! I was about to offer you some sexy outfits but you are already wearing the best thing!';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_root.dialogue_array[1] = 'Kyle: Want some sexier outfits? You have to put them on right here!';
} else {
if (_global.clothing == 4) {
_root.dialogue_array[1] = 'Kyle: Damn you work in the cafe? Then you wouldn\'t mind wearing something better to get more clients right?';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Kyle: I got better swimsuits right here!';
} else {
if (_global.clothing == 6) {
_root.dialogue_array[1] = 'Kyle: Holy shit nice tits! Maybe these swimsuits would look better when wet.';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_root.dialogue_array[1] = 'Kyle: Did you like the outfit? You look hot in it! Maybe try another?';
} else {
if (_global.clothing == 11) {
_root.dialogue_array[1] = 'Kyle: Hey! It is easier to be more flexible in these!';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Kyle: You\'d be a even sexier nurse in these outfits!';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 16 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_global.clothing = 2;
_global.trouble += _global.large_trouble;
_root.dialogue_array[1] = 'Natan: Are you out of your mind? Change back into uniform… immedately!…';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_global.trouble -= _global.small_trouble;
_root.dialogue_array[1] = 'Natan: As you were.';
} else {
if (_global.clothing == 4) {
_global.trouble += _global.small_trouble;
_root.dialogue_array[1] = 'Natan: Just came from your job?… You need to change back into the uniform as soon as you can.';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Natan: Why are you not at the pool…?';
} else {
if (_global.clothing == 6) {
_global.clothing = 5;
_global.trouble += _global.med_trouble;
_root.dialogue_array[1] = 'Natan: Hmph! Why are you walking down the hallway wet!? Use this towel!';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_global.clothing = 2;
_global.trouble += _global.large_trouble;
_root.dialogue_array[1] = 'Natan: What\'s going on here!? Change back into uniform… immedately!…';
} else {
if (_global.clothing == 11) {
_global.trouble += _global.small_trouble;
_root.dialogue_array[1] = 'Natan: Miss please stay in the gym while wearing that!';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Natan: Right. Get to where you are needed most.';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 17 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_global.clothing = 2;
_global.trouble += _global.large_trouble;
_root.dialogue_array[1] = 'Mika: What do you think you are doing? Put on this uniform or else you be expelled.';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_global.trouble -= _global.small_trouble;
_root.dialogue_array[1] = 'Mika: Oh, hey there.';
} else {
if (_global.clothing == 4) {
_global.trouble += _global.small_trouble;
_root.dialogue_array[1] = 'Mika: This is not the cafe… please change back into the uniform asap.';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Mika: If you are going to swim then go to the pool…';
} else {
if (_global.clothing == 6) {
_global.clothing = 5;
_global.trouble += _global.med_trouble;
_root.dialogue_array[1] = 'Mika: Why are you walking around wet? I have a towel.';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_global.clothing = 5;
_global.trouble += _global.large_trouble;
_root.dialogue_array[1] = 'Mika: How did you get this? Here, change back into the proper swim attire.';
} else {
if (_global.clothing == 11) {
_global.trouble += _global.small_trouble;
_root.dialogue_array[1] = 'Mika: I don\'t think Alma is ok with you walking around anywhere in that.';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Mika: Don\'t mind me. If you are going to help somone then please hurry.';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 18 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_global.clothing = 2;
_global.trouble += _global.large_trouble;
_root.dialogue_array[1] = 'Riley: Geez! Are you insane? Put on clothes now.';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_global.trouble -= _global.small_trouble;
_root.dialogue_array[1] = 'Riley: Hi.';
} else {
if (_global.clothing == 4) {
_global.trouble += _global.small_trouble;
_root.dialogue_array[1] = 'Riley: Oh do you work at the cafe? You should change to school attire while you are here.';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Riley: If you plan to swim please don\'t leave the pool area in that…';
} else {
if (_global.clothing == 6) {
_global.clothing = 5;
_global.trouble += _global.med_trouble;
_root.dialogue_array[1] = 'Riley: Geez are you crazy? You shouldn\'t even leave the locker still wet like that!';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_global.clothing = 5;
_global.trouble += _global.large_trouble;
_root.dialogue_array[1] = 'Riley: I know you got these from Kyle! Hand it over!';
} else {
if (_global.clothing == 11) {
_global.trouble += _global.small_trouble;
_root.dialogue_array[1] = 'Riley: The gym is right down the hall. Please change for you leave again.';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Riley: Are you a new nurse?';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 19 {
_root.new_dialogue(4);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_global.clothing = 2;
_root.dialogue_array[1] = 'Amber: Oh my goodness… why is she naked…';
_root.dialogue_array[2] = 'Alice: Uh… excuse me here is a extra uniform… please put in on immediately.';
_root.dialogue_array[3] = 'Roise: I kinda liked her the way she is to be honest…';
_root.dialogue_array[4] = 'Chris: Sorry, is she dressed now? I am looking away…!';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_root.dialogue_array[1] = 'Chris: She look civilized at least…';
_root.dialogue_array[2] = 'Alice: What a relief! There is a lot of girls not wearing the proper uniform for some reason…';
_root.dialogue_array[3] = 'Amber: Yeah and it is hard to enfore the rules without the teacher…';
_root.dialogue_array[4] = 'Roise: Don\'t you guys worry about enforning rules, I have my own… ways of making them do it…!';
} else {
if (_global.clothing == 4) {
_root.dialogue_array[1] = 'Alice: A Cherry girl… here?…';
_root.dialogue_array[2] = 'Chris: Well some are students here.';
_root.dialogue_array[3] = 'Amber: Yeah that\'s true…';
_root.dialogue_array[4] = 'Roise: Hey, are you here on a delivery?';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Roise: Oh? I don\'t remember seeing you in the swim club…';
_root.dialogue_array[2] = 'Alice: P- please report back to the pool!';
_root.dialogue_array[3] = 'Amber: And please don\'t hit us!';
_root.dialogue_array[4] = 'Chris: Relax, she is not going to hit us.';
} else {
if (_global.clothing == 6) {
_root.dialogue_array[1] = 'Roise: Oh my… can we let this one pass?';
_root.dialogue_array[2] = 'Alice: R- Roise!';
_root.dialogue_array[3] = 'Amber: Well… maybe we could this time.';
_root.dialogue_array[4] = 'Chris: Sorry! I will just look away!';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_global.clothing = 1;
_root.dialogue_array[1] = 'Roise: Sorry but I will need to take that outfit! It\'s not allowed here and rules are rules!';
_root.dialogue_array[2] = 'Alice: R- Roise! She doesn\'t have any clothes on now!';
_root.dialogue_array[3] = 'Amber: I- I\'m so sorry!… Roise! You didn\'t have to just take them!';
_root.dialogue_array[4] = 'Chris: Sorry! please go get dressed before you get caught!';
} else {
if (_global.clothing == 11) {
_root.dialogue_array[1] = 'Roise: Oh! I will only let you go if you bend over and do stretches for us!';
_root.dialogue_array[2] = 'Chris: U- us!? I will look away then!';
_root.dialogue_array[3] = 'Amber: Roise that is so lewd! Please just ignore her and go back to the gym…';
_root.dialogue_array[4] = 'Alice: We are very sorry!';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Amber: Ah this is one of the new nurses?';
_root.dialogue_array[2] = 'Roise: Hmm I certainly hope so! She looks like she needs to be examined… naked.';
_root.dialogue_array[3] = 'Chris: N- Naked!?…';
_root.dialogue_array[4] = 'Alice: Sorry! Please don\'t mind Roise hehe.';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 20 {
_root.new_dialogue(5);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_root.dialogue_array[1] = 'David: Damn now that\'s what I\'m talking about!…';
_root.dialogue_array[2] = 'Joiry: Damn… what\'s the occasion girlie?';
_root.dialogue_array[3] = 'Luma: Ha! Right on bitch! I\'d let mine hang out some too if I didn\'t need to hold support them with a bra. Plus Cain would bitch at me forever!';
_root.dialogue_array[4] = 'Stacy: Ha ha! I love it! I should whipe mines out too.';
_root.dialogue_array[5] = 'Jeni: You guys are crazy.';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_root.dialogue_array[1] = 'Joiry: You girlie!… wanna unbutton your shirt a bit?';
_root.dialogue_array[2] = 'David: Ha! Good idea bro!';
_root.dialogue_array[3] = 'Jeni: Will you clowns knock it off?';
_root.dialogue_array[4] = 'Stacy: Plus it doesn\'t look like it is even worth it! Right sis?';
_root.dialogue_array[5] = 'Luma: See can sexy like us when she grows up into a real woman haha!';
} else {
if (_global.clothing == 4) {
_root.dialogue_array[1] = 'Stacy: Wait I don\'t remember you! When did you join the cafe missy?';
_root.dialogue_array[2] = 'David: Don\'t know! Don\'t care! She looks too good to not fuck.';
_root.dialogue_array[3] = 'Joiry: Haha yeah bro we can go there later.';
_root.dialogue_array[4] = 'Luma: Excuse me where are you too going?';
_root.dialogue_array[5] = 'Jeni: No where as long as I\'m alive. And yeah I think she is new.';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Luma: Going to swim huh? Or are you walking around here for something else?';
_root.dialogue_array[2] = 'Jeni: Ugh… don\'t give her any weird ideas.';
_root.dialogue_array[3] = 'Joiry: I know something else she can do.';
_root.dialogue_array[4] = 'David: You thinking what I\'m thinking?';
_root.dialogue_array[5] = 'Stacy: Not if you\'re thinking she can do anything better than I could do it.';
} else {
if (_global.clothing == 6) {
_root.dialogue_array[1] = 'Luma: Damn bitch! Do you need a towel or what?';
_root.dialogue_array[2] = 'David: I can dry her off with my dick.';
_root.dialogue_array[3] = 'Joiry: I\'d make even more wet than she already is haha!';
_root.dialogue_array[4] = 'Jeni: Wow really? You guys are retards.';
_root.dialogue_array[5] = 'Stacy: She is not as wet as my pussy gets!';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_root.dialogue_array[1] = 'Joiry: Well damn! Check out this little slut!';
_root.dialogue_array[2] = 'Jeni: Couldn\'t have sed it bettre myself.';
_root.dialogue_array[3] = 'David: I don\'t see the problem here.';
_root.dialogue_array[4] = 'Stacy: She is trying so hard for attention!';
_root.dialogue_array[5] = 'Luma: Try barder bitch!';
} else {
if (_global.clothing == 11) {
_root.dialogue_array[1] = 'Stacy: You in the gym club missy?';
_root.dialogue_array[2] = 'David: I sure hope so!';
_root.dialogue_array[3] = 'Joiry: Meh. Boxing is better.';
_root.dialogue_array[4] = 'Jeni: Boxing where it\'s at.';
_root.dialogue_array[5] = 'Luma: Damn harsh!';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Joiry: You a nurse now girlie?';
_root.dialogue_array[2] = 'Jeni: No way she is.';
_root.dialogue_array[3] = 'David: I hope so!';
_root.dialogue_array[4] = 'Luma: Like, dude chill your dick.';
_root.dialogue_array[5] = 'Stacy: I\'ll suck him off later.';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 21 {
_root.new_dialogue(5);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_root.dialogue_array[1] = 'Tsugo: Well well… have you come to join my beautiful entourage? ';
_root.dialogue_array[2] = 'Zytra: Oh wow… don\'t you want to put on some clothes?';
_root.dialogue_array[3] = 'Peach: Wow what a show-off! Her tits aren\'t even that impressive to begin with!';
_root.dialogue_array[4] = 'Creamy: So? Not that I agree with her being naked or anyhting…';
_root.dialogue_array[5] = 'Leyah: Her bobbles are cute~nya!';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_root.dialogue_array[1] = 'Peach: Are we doing a photohoot today Zy or what?';
_root.dialogue_array[2] = 'Zytra: Yeah but I might be late because of music club stuff. Then I need to grab Leyah after.';
_root.dialogue_array[3] = 'Leyah: I\'ll be fine nya! Leyah will just hang out at the arcade!';
_root.dialogue_array[4] = 'Creamy: We don\'t mind waiting Zy.';
_root.dialogue_array[5] = 'Tsugo: Well we can just give the photgrapher a nice tip for starting late I guess.';
} else {
if (_global.clothing == 4) {
_root.dialogue_array[1] = 'Creamy: Oh… this one of you friends Leyah-chan?';
_root.dialogue_array[2] = 'Leyah: Leyah doesn\'t rmeber seeing her in the cafe nyan.';
_root.dialogue_array[3] = 'Peach: I should toooootally work there! So I can give that Maiko-chan some real competition!';
_root.dialogue_array[4] = 'Zytra: I\'m sure Holly would like that.';
_root.dialogue_array[5] = 'Tsugo: And so would I…';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Zytra: Oh… did you join swim club recently?';
_root.dialogue_array[2] = 'Leyah: Welcome welcome nya!';
_root.dialogue_array[3] = 'Tsugo: Well well… another swimmer graces our group then?';
_root.dialogue_array[4] = 'Peach: Maybe I should start swimming?';
_root.dialogue_array[5] = 'Creamy: Yeah I\'d bet your fan would love that…';
} else {
if (_global.clothing == 6) {
_root.dialogue_array[1] = 'Creamy: Wow need a towel or something?';
_root.dialogue_array[2] = 'Zytra: There are some in the lockeroom!';
_root.dialogue_array[3] = 'Tsugo: My butler knows a great towel brand I could let to know about.';
_root.dialogue_array[4] = 'Leyah: You are not cold nya?';
_root.dialogue_array[5] = 'Peach: Hey you are messing up the floor! Go dry off!';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_root.dialogue_array[1] = 'Peach: Nat bad, but it would look way better on me!';
_root.dialogue_array[2] = 'Zytra: Aww Peach! Don\'t discourage her! She looks amazing!';
_root.dialogue_array[3] = 'Leyah: I agree nya!';
_root.dialogue_array[4] = 'Tsugo: Alas, I have to agree Peach. It\'s not bad, but it\'s hard to compare to these angles here.';
_root.dialogue_array[5] = 'Creamy: Aww Tsugo!';
} else {
if (_global.clothing == 11) {
_root.dialogue_array[1] = 'Leyah: Oooo Gym~nya~stics!!';
_root.dialogue_array[2] = 'Creamy: You know, I was thinking about joining the gym.';
_root.dialogue_array[3] = 'Zytra: Really? You should then!';
_root.dialogue_array[4] = 'Peach: Count me out. I don\'t know how Maiko and Stacy even keep thier boobs in the leotard.';
_root.dialogue_array[5] = 'Tsugo: Ah yes! I\'ve heard that thier assets don stay in thier leotard very well at all.';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Leyah: Nyurse cosplay!!';
_root.dialogue_array[2] = 'Creamy: Cosplay? So is she an actual nursing student or…?';
_root.dialogue_array[3] = 'Tsugo: …or?';
_root.dialogue_array[4] = 'Peach: Or just looking for a cerain type of attention? ha!';
_root.dialogue_array[5] = 'Zytra: Let\'s give her the benefit of the doubt.';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 22 {
_root.new_dialogue(4);
_root.dialogue_array[0] = '';
if (_global.clothing == 1) {
_global.clothing = 2;
_global.trouble += _global.large_trouble;
_root.dialogue_array[1] = 'Riley: Oh wow… You are is so much toruble right now. Uniform! Right now!';
_root.dialogue_array[2] = 'Kyle: Oh wait!!! Let me get a photo!';
_root.dialogue_array[3] = 'Pattie: No way pervert… You can take photos of me and senpai if you want!';
_root.dialogue_array[4] = 'Maiko: M- Me? No more of me please!';
} else {
if (_global.clothing == 2 || _global.clothing == 3) {
_global.trouble -= _global.small_trouble;
_root.dialogue_array[1] = 'Kyle: Look it\'s that girl again! Can I get a photo for the publishing club?';
_root.dialogue_array[2] = 'Pattie: Cover your nipples chu.';
_root.dialogue_array[3] = 'Maiko: I\'m suprised Kyle wants a photo on something non perverted for a change.';
_root.dialogue_array[4] = 'Riley: Don\'t worry, I\'ll make sure he doesn\'t do anything perveted with it.';
} else {
if (_global.clothing == 4) {
_root.dialogue_array[1] = 'Pattie: Chu?';
_root.dialogue_array[2] = 'Maiko: Oh wait are you new at the cafe?';
_root.dialogue_array[3] = 'Kyle: Nah she just has the outfit, I know all the girls there.';
_root.dialogue_array[4] = 'Riley: Why am I not surprised you know that…';
} else {
if (_global.clothing == 5) {
_root.dialogue_array[1] = 'Pattie: Chu going to swim?';
_root.dialogue_array[2] = 'Maiko: Great idea!';
_root.dialogue_array[3] = 'Kyle: Hah yeah, get some pics for me Pattie!';
_root.dialogue_array[4] = 'Riley: oh no you dont!';
} else {
if (_global.clothing == 6) {
_global.trouble += _global.med_trouble;
_root.dialogue_array[1] = 'Maiko: Uh…?';
_root.dialogue_array[2] = 'Kyle: Great photo op!';
_root.dialogue_array[3] = 'Riley: Please go dry off! This is unacceptable!';
_root.dialogue_array[4] = 'Pattie: I don\'t mind chu.';
} else {
if (_global.clothing >= 7 && _global.clothing <= 10) {
_global.clothing = 2;
_root.dialogue_array[1] = 'Riley: Are you insane? Change now! Kyle is this your doing!?';
_root.dialogue_array[2] = 'Kyle: Me? N- No way!!!';
_root.dialogue_array[3] = 'Pattie: Busted chu.';
_root.dialogue_array[4] = 'Maiko: Kyle is so bad at lying hehe.';
} else {
if (_global.clothing == 11) {
_root.dialogue_array[1] = 'Maiko: Wait, are you new to the gymastics club?';
_root.dialogue_array[2] = 'Kyle: Nah, I would know about it.';
_root.dialogue_array[3] = 'Riley: And how would you know?';
_root.dialogue_array[4] = 'Pattie: He is always perving on us chu.';
} else {
if (_global.clothing == 12) {
_root.dialogue_array[1] = 'Kyle: Oh shit a nurse! Time for pics!';
_root.dialogue_array[2] = 'Maiko: I might stop by later for some back pains…';
_root.dialogue_array[3] = 'Pattie: I will massage you senpai.';
_root.dialogue_array[4] = 'Riley: Having a hard time holding up the girls Maiko? You should talk to Luma about bras';
}
}
}
}
}
}
}
}
_global.dialogue_text = _root.dialogue_array[1];
}
frame 23 {
_root.new_dialogue(4);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Holly: Hey there just checking in on my beautiful kids!';
_root.dialogue_array[2] = 'Jeni: Geez mom! You are making a scene!';
_root.dialogue_array[3] = 'Holly: Where is David darling?';
_root.dialogue_array[4] = 'Jeni: Probably getting his ass kicked in the ring.';
_global.dialogue_text = _root.dialogue_array[1];
}
frame 24 {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Remi: Mmmm? I was on the way back to my office to do some research.';
_global.dialogue_text = _root.dialogue_array[1];
}
}
movieClip 411 {
instance of movieClip 317 {
onClipEvent (load) {
if (_global.TasksLeft < 2) {
this.gotoAndStop(3);
} else {
if (_global.TasksLeft == 2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
frame 2 {
stop();
}
instance of movieClip 410 {
onClipEvent (load) {
if (_global.friend > 0 && random(5) == 0) {
this.gotoAndStop(_global.friend);
} else {
this.gotoAndStop(random(23) + 2);
}
}
}
instance boobs of movieClip 115 {
onClipEvent (load) {
restx = 640;
resty = 950;
k = 2;
mass = 13;
damping = 0.9;
pressing = 0;
vx = 0;
vy = 0;
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.clothing);
var dx = restx - this._x;
var dy = resty - this._y;
if (pressing == 0) {
var ax = (k / mass) * dx;
var ay = (k / mass) * dy;
vx += ax;
vy += ay;
vx *= damping;
vy *= damping;
this._x += vx;
this._y += vy;
var mousex = _xmouse - restx;
var mousey = _ymouse - resty;
}
if (pressing == 1) {
}
if (this._x > restx + 200 || this._x < restx - 200 || this._y < resty - 500 || this._y > resty + 100) {
if (random(3) == 0) {
_global.mood -= 1;
}
if (_global.mood <= 0) {
_global.mood = 0;
}
pressing = 0;
this.stopDrag();
}
}
}
}
frame 6 {
var clip = _root.img;
var easing = 0.75;
var sliderXpos = 0;
var sliderYpos = 0;
var aperatureWidth = 900;
var aperatureHeight = 506;
var imgXpos = (clip._width - aperatureWidth) / 2;
var imgYpos = (clip._height - aperatureHeight) / 2;
var nMC = new com.McPan(clip, easing, sliderXpos, sliderYpos, aperatureWidth, aperatureHeight, imgXpos, imgYpos, true);
_global.nMC = nMC;
}
movieClip 414 {
frame 1 {
stop();
}
}
button 415 {
on (release) {
_global.egirlr = 0;
_global.efans = 0;
_global.vsplayer = 0;
_global.emelee = Math.floor(_global.melee * 1.5);
_global.efitness = Math.floor(_global.fitness);
_global.ehealth = Math.floor(_global.health * 1.7);
if (random(2) == 0) {
_global.eoutfit = 12;
} else {
_global.eoutfit = 3;
}
if (random(2) == 0) {
_global.eglove = 2;
} else {
_global.eglove = 4;
}
_global.efightstyle = random(3) + 1;
_global.echarname = 'Male Opponent';
_root.gotoAndStop(12);
}
}
button 416 {
on (release) {
if (_global.clicked == 0 && _global.battle_stock > 0) {
--_global.battle_stock;
_global.clicked = 1;
_global.bytesloaded = 0;
var signin_stuff = new LoadVars();
var data_stuff = new LoadVars();
signin_stuff.id = _global.charid;
signin_stuff.fans = _global.fans;
_global.done = 0;
signin_stuff.onData = function (src) {
_global.bytesloaded = signin_stuff.getBytesLoaded();
signin_stuff.decode(src);
if (src != undefined) {
signin_stuff.onLoad(true);
} else {
signin_stuff.onLoad(false);
}
};
signin_stuff.onLoad = function (success) {
if (!success) {
}
_global.clicked = 0;
if (signin_stuff.wp_id != _global.charid) {
_global.save_string = signin_stuff.save_string;
_global.done = signin_stuff.done;
_global.echarname = signin_stuff.player_name;
_global.vsplayer = 1;
_global.edecoder_function();
} else {
++_global.battle_stock;
}
};
signin_stuff.sendAndLoad('http://spiralvortexplay.com/svp/svp_games/umcs_find.php', signin_stuff, 'POST');
}
}
}
button 417 {
on (release) {
_global.vsplayer = 0;
_global.echair = random(7) + 1;
_global.ecglasses = random(4) + 1;
_global.eceyecolor = random(10) + 1;
_global.eceyetype = random(7) + 1;
_global.ecmouth = random(6) + 1;
_global.efans = 100;
_global.emelee = 10;
_global.efitness = 400;
_global.ehealth = 500;
_global.eoutfit = random(12) + 1;
_global.eglove = random(4) + 1;
_global.efightstyle = random(3) + 1;
if (_global.efightstyle == 1) {
_global.echarname = 'Mad girl';
}
if (_global.efightstyle == 2) {
_global.echarname = 'Ok girl';
}
if (_global.efightstyle == 3) {
_global.echarname = 'Def girl';
}
characters.gotoAndStop(8);
}
}
movieClip 453 {
frame 1 {
stop();
}
}
movieClip 456 {
}
movieClip 481 {
frame 1 {
stop();
}
}
movieClip 506 {
frame 1 {
stop();
}
}
movieClip 509 {
}
movieClip 528 {
frame 1 {
stop();
}
}
movieClip 549 {
frame 1 {
stop();
}
}
movieClip 554 {
frame 1 {
stop();
}
}
movieClip 567 {
frame 1 {
stop();
}
}
movieClip 580 {
frame 1 {
stop();
}
}
movieClip 593 {
frame 1 {
stop();
}
}
movieClip 606 {
frame 1 {
stop();
}
}
movieClip 619 {
frame 1 {
stop();
}
}
movieClip 632 {
frame 1 {
stop();
}
}
movieClip 645 {
frame 1 {
stop();
}
}
movieClip 646 {
frame 1 {
stop();
}
}
movieClip 663 {
frame 1 {
stop();
}
}
movieClip 666 {
frame 1 {
stop();
}
}
movieClip 675 {
frame 1 {
stop();
}
}
movieClip 684 {
frame 1 {
stop();
}
}
movieClip 685 {
instance ptail of movieClip 453 {
onClipEvent (load) {
this.gotoAndStop(_global.echair);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.echair);
}
}
instance of movieClip 481 {
onClipEvent (load) {
this.gotoAndStop(_global.eoutfit);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.eoutfit);
}
}
instance of movieClip 506 {
onClipEvent (load) {
this.gotoAndStop(_global.eoutfit);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.eoutfit);
}
}
instance of movieClip 666 {
onClipEvent (load) {
this.chairfront.gotoAndStop(_global.echair);
this.ceyes.gotoAndStop(_global.eceyetype);
this.ceyes.ink.gotoAndStop(_global.eceyecolor);
this.ceyebrow.gotoAndStop(1);
this.cmouth.gotoAndStop(_global.ecmouth);
this.cglasses.gotoAndStop(_global.ecglasses);
}
onClipEvent (enterFrame) {
this.chairfront.gotoAndStop(_global.echair);
this.ceyes.gotoAndStop(_global.eceyetype);
this.ceyes.ink.gotoAndStop(_global.eceyecolor);
this.ceyebrow.gotoAndStop(1);
this.cmouth.gotoAndStop(_global.ecmouth);
this.cglasses.gotoAndStop(_global.ecglasses);
}
}
instance of movieClip 675 {
onClipEvent (load) {
this.gotoAndStop(_global.eglove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.eglove);
}
}
instance of movieClip 684 {
onClipEvent (load) {
this.gotoAndStop(_global.eglove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.eglove);
}
}
}
button 686 {
on (release) {
_root.gotoAndStop(9);
}
}
movieClip 688 {
frame 1 {
stop();
gotoAndStop(random(6) + 2);
}
frame 8 {
charname = _global.echarname;
}
}
movieClip 689 {
instance of movieClip 414 {
onClipEvent (load) {
if (_global.TasksLeft < 2) {
this.gotoAndStop(3);
} else {
if (_global.TasksLeft == 2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 206 {
onClipEvent (load) {
if (_global.clicked == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_global.clicked == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
frame 2 {
stop();
}
instance boobs of movieClip 115 {
onClipEvent (load) {
restx = 640;
resty = 950;
k = 2;
mass = 13;
damping = 0.9;
pressing = 0;
vx = 0;
vy = 0;
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.clothing);
var dx = restx - this._x;
var dy = resty - this._y;
if (pressing == 0) {
var ax = (k / mass) * dx;
var ay = (k / mass) * dy;
vx += ax;
vy += ay;
vx *= damping;
vy *= damping;
this._x += vx;
this._y += vy;
var mousex = _xmouse - restx;
var mousey = _ymouse - resty;
}
if (pressing == 1) {
}
if (this._x > restx + 200 || this._x < restx - 200 || this._y < resty - 500 || this._y > resty + 100) {
if (random(3) == 0) {
_global.mood -= 1;
}
if (_global.mood <= 0) {
_global.mood = 0;
}
pressing = 0;
this.stopDrag();
}
}
}
}
frame 7 {
var clip = _root.img;
var easing = 0.75;
var sliderXpos = 0;
var sliderYpos = 0;
var aperatureWidth = 900;
var aperatureHeight = 506;
var imgXpos = (clip._width - aperatureWidth) / 2;
var imgYpos = (clip._height - aperatureHeight) / 2;
var nMC = new com.McPan(clip, easing, sliderXpos, sliderYpos, aperatureWidth, aperatureHeight, imgXpos, imgYpos, true);
_global.nMC = nMC;
}
button 692 {
on (release) {
_root.gotoAndStop(8);
}
}
button 693 {
on (release) {
if (_global.lockerboy >= 2 && _global.lockerboy <= 7) {
_global.fitness += 5;
_global.lasthadsexwith = _global.lockerboy;
_root.gotoAndStop(15);
}
if (_global.lockerboy >= 8 && _global.lockerboy <= 13) {
_global.health += 10;
_global.lasthadsexwith = _global.lockerboy;
_root.gotoAndStop(15);
} else {
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'You: A good place to have sex, but I need a guy to meet me here.';
_global.dialogue_text = _root.dialogue_array[1];
}
}
}
button 694 {
on (release) {
_global.friend = 0;
_global.lockerboy = 0;
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'You: No sex, no friends.';
_global.dialogue_text = _root.dialogue_array[1];
}
}
movieClip 699 {
frame 1 {
stop();
}
}
movieClip 700 {
frame 2 {
stop();
}
instance of movieClip 699 {
onClipEvent (load) {
if (_global.lockerboy > 0) {
this.gotoAndStop(_global.lockerboy);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_global.lockerboy > 0) {
this.gotoAndStop(_global.lockerboy);
} else {
this.gotoAndStop(1);
}
}
}
instance boobs of movieClip 115 {
onClipEvent (load) {
restx = 640;
resty = 950;
k = 2;
mass = 13;
damping = 0.9;
pressing = 0;
vx = 0;
vy = 0;
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.clothing);
var dx = restx - this._x;
var dy = resty - this._y;
if (pressing == 0) {
var ax = (k / mass) * dx;
var ay = (k / mass) * dy;
vx += ax;
vy += ay;
vx *= damping;
vy *= damping;
this._x += vx;
this._y += vy;
var mousex = _xmouse - restx;
var mousey = _ymouse - resty;
}
if (pressing == 1) {
}
if (this._x > restx + 200 || this._x < restx - 200 || this._y < resty - 500 || this._y > resty + 100) {
if (random(3) == 0) {
_global.mood -= 1;
}
if (_global.mood <= 0) {
_global.mood = 0;
}
pressing = 0;
this.stopDrag();
}
}
}
}
frame 8 {
var clip = _root.img;
var easing = 0.75;
var sliderXpos = 0;
var sliderYpos = 0;
var aperatureWidth = 900;
var aperatureHeight = 506;
var imgXpos = (clip._width - aperatureWidth) / 2;
var imgYpos = (clip._height - aperatureHeight) / 2;
var nMC = new com.McPan(clip, easing, sliderXpos, sliderYpos, aperatureWidth, aperatureHeight, imgXpos, imgYpos, true);
_global.nMC = nMC;
}
button 705 {
on (release) {
_root.gotoAndStop(7);
}
}
button 706 {
on (release) {
if (_global.chair < 7) {
++_global.chair;
} else {
if (_global.chair < 10 && _global.patreon >= 500) {
++_global.chair;
} else {
_global.chair = 1;
}
}
}
}
button 707 {
on (release) {
if (_global.glove < 4) {
++_global.glove;
} else {
_global.glove = 1;
}
}
}
button 708 {
on (release) {
if (_global.patreon >= 1000) {
if (_global.clothing < 12) {
++_global.clothing;
} else {
_global.clothing = 1;
}
} else {
if (_global.clothing < 3) {
++_global.clothing;
} else {
if (_global.clothing == 3) {
_global.clothing = 5;
} else {
_global.clothing = 2;
}
}
}
}
}
button 709 {
on (release) {
if (_global.fightstyle < 3) {
++_global.fightstyle;
} else {
_global.fightstyle = 1;
}
}
}
button 710 {
on (release) {
if (_global.cglasses < 4) {
++_global.cglasses;
} else {
if (_global.cglasses < 9 && _global.patreon >= 500) {
++_global.cglasses;
} else {
_global.cglasses = 1;
}
}
}
}
button 711 {
on (release) {
if (_global.ceyecolor < 10) {
++_global.ceyecolor;
} else {
_global.ceyecolor = 1;
}
}
}
button 712 {
on (release) {
if (_global.ceyetype < 7) {
++_global.ceyetype;
} else {
_global.ceyetype = 1;
}
}
}
button 713 {
on (release) {
if (_global.cmouth < 6) {
++_global.cmouth;
} else {
_global.cmouth = 1;
}
}
}
movieClip 722 {
frame 1 {
stop();
}
}
movieClip 728 {
instance ptail of movieClip 453 {
onClipEvent (load) {
this.gotoAndStop(_global.chair);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.chair);
}
}
instance of movieClip 481 {
onClipEvent (load) {
this.gotoAndStop(_global.clothing);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.clothing);
}
}
instance of movieClip 506 {
onClipEvent (load) {
this.gotoAndStop(_global.clothing);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.clothing);
}
}
instance of movieClip 666 {
onClipEvent (load) {
this.chairfront.gotoAndStop(_global.chair);
this.ceyes.gotoAndStop(_global.ceyetype);
this.ceyes.ink.gotoAndStop(_global.ceyecolor);
this.ceyebrow.gotoAndStop(1);
this.cmouth.gotoAndStop(_global.cmouth);
this.cglasses.gotoAndStop(_global.cglasses);
}
onClipEvent (enterFrame) {
this.chairfront.gotoAndStop(_global.chair);
this.ceyes.gotoAndStop(_global.ceyetype);
this.ceyes.ink.gotoAndStop(_global.ceyecolor);
this.ceyebrow.gotoAndStop(1);
this.cmouth.gotoAndStop(_global.cmouth);
this.cglasses.gotoAndStop(_global.cglasses);
}
}
instance of movieClip 675 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
instance of movieClip 684 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
}
movieClip 737 {
frame 1 {
stop();
}
}
movieClip 738 {
instance of movieClip 722 {
onClipEvent (load) {
this.gotoAndStop(_global.fightstyle);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.fightstyle);
}
}
instance of movieClip 179 {
onClipEvent (load) {
this.gotoAndStop(_global.dialogue + 1);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.dialogue + 1);
}
}
frame 2 {
stop();
}
instance of movieClip 737 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
instance boobs of movieClip 115 {
onClipEvent (load) {
restx = 640;
resty = 950;
k = 2;
mass = 13;
damping = 0.9;
pressing = 0;
vx = 0;
vy = 0;
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.clothing);
var dx = restx - this._x;
var dy = resty - this._y;
if (pressing == 0) {
var ax = (k / mass) * dx;
var ay = (k / mass) * dy;
vx += ax;
vy += ay;
vx *= damping;
vy *= damping;
this._x += vx;
this._y += vy;
var mousex = _xmouse - restx;
var mousey = _ymouse - resty;
}
if (pressing == 1) {
}
if (this._x > restx + 200 || this._x < restx - 200 || this._y < resty - 500 || this._y > resty + 100) {
if (random(3) == 0) {
_global.mood -= 1;
}
if (_global.mood <= 0) {
_global.mood = 0;
}
pressing = 0;
this.stopDrag();
}
}
}
}
frame 9 {
_global.in_gym = 1;
}
frame 9 {
stop();
_;
keyListenerSPACE = new Object();
keyListenerSPACE.onKeyUp = function () {
if (Key.getCode() == 32) {
if (_root._currentframe == 9) {
_root.img.gotoAndStop(2);
_root.gotoAndStop(10);
}
}
};
Key.addListener(keyListenerSPACE);
var clip = _root.img;
var easing = 0.75;
var sliderXpos = 0;
var sliderYpos = 0;
var aperatureWidth = 900;
var aperatureHeight = 506;
var imgXpos = (clip._width - aperatureWidth) / 2;
var imgYpos = (clip._height - aperatureHeight) / 2;
var nMC = new com.McPan(clip, easing, sliderXpos, sliderYpos, aperatureWidth, aperatureHeight, imgXpos, imgYpos, true);
}
movieClip 745 {
frame 1 {
stop();
}
}
movieClip 753 {
}
movieClip 762 {
frame 1 {
stop();
}
}
movieClip 765 {
}
movieClip 769 {
instance ptail of movieClip 453 {
onClipEvent (load) {
this.gotoAndStop(_global.echair);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.echair);
}
}
instance of movieClip 481 {
onClipEvent (load) {
this.gotoAndStop(_global.eoutfit);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.eoutfit);
}
}
instance of movieClip 506 {
onClipEvent (load) {
this.gotoAndStop(_global.eoutfit);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.eoutfit);
}
}
instance of movieClip 666 {
onClipEvent (load) {
this.chairfront.gotoAndStop(_global.echair);
this.ceyes.gotoAndStop(_global.eceyetype);
this.ceyes.ink.gotoAndStop(_global.eceyecolor);
this.ceyebrow.gotoAndStop(1);
this.cmouth.gotoAndStop(_global.ecmouth);
this.cglasses.gotoAndStop(_global.ecglasses);
}
onClipEvent (enterFrame) {
this.chairfront.gotoAndStop(_global.echair);
this.ceyes.gotoAndStop(_global.eceyetype);
this.ceyes.ink.gotoAndStop(_global.eceyecolor);
this.ceyebrow.gotoAndStop(1);
this.cmouth.gotoAndStop(_global.ecmouth);
this.cglasses.gotoAndStop(_global.ecglasses);
}
}
instance of movieClip 675 {
onClipEvent (load) {
this.gotoAndStop(_global.eglove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.eglove);
}
}
instance of movieClip 684 {
onClipEvent (load) {
this.gotoAndStop(_global.eglove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.eglove);
}
}
frame 30 {
_root.ai_chain_combo = 0;
gotoAndPlay(1);
}
instance of movieClip 762 {
onClipEvent (load) {
this.gotoAndStop(_global.eglove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.eglove);
}
}
frame 40 {
_root.check_if_ai_hit_maiko();
}
instance of movieClip 684 {
onClipEvent (load) {
this.gotoAndStop(_global.eglove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.eglove);
}
}
frame 50 {
_root.ai_chain_combo = 0;
gotoAndPlay(1);
}
frame 52 {
if (_global.eoutfit == 12) {
_global.gainopponenthealth();
}
if (_global.efightstyle == 3) {
_global.gainopponenthealth();
}
if (_global.eglove == 3) {
_global.gainopponentend();
}
}
frame 60 {
_root.check_if_ai_will_stop_blocking();
}
frame 65 {
_root.check_if_ai_will_stop_blocking();
}
frame 70 {
_root.check_if_ai_will_stop_blocking();
}
frame 75 {
_root.check_if_ai_will_stop_blocking();
}
frame 80 {
_root.check_if_ai_will_stop_blocking();
}
frame 85 {
_root.check_if_ai_will_stop_blocking();
}
frame 90 {
_root.check_if_ai_will_stop_blocking();
}
frame 95 {
_root.check_if_ai_will_stop_blocking();
}
frame 100 {
if (_root.maiko_boxing_arms._currentframe > 50 && _root.maiko_boxing_arms._currentframe < 63) {
gotoAndPlay(55);
} else {
if (_root.chain_combo == 1) {
gotoAndPlay(55);
}
}
}
frame 105 {
_root.ai_chain_combo = 0;
gotoAndPlay(1);
}
instance of movieClip 666 {
onClipEvent (load) {
this.chairfront.gotoAndStop(_global.echair);
this.ceyes.gotoAndStop(_global.eceyetype);
this.ceyes.ink.gotoAndStop(_global.eceyecolor);
this.ceyebrow.gotoAndStop(2);
if (_global.ecmouth < 3) {
this.cmouth.gotoAndStop(7);
} else {
this.cmouth.gotoAndStop(8);
}
this.cglasses.gotoAndStop(_global.ecglasses);
}
onClipEvent (enterFrame) {
this.chairfront.gotoAndStop(_global.echair);
this.ceyes.gotoAndStop(_global.eceyetype);
this.ceyes.ink.gotoAndStop(_global.eceyecolor);
this.ceyebrow.gotoAndStop(2);
if (_global.cmouth < 3) {
this.cmouth.gotoAndStop(7);
} else {
this.cmouth.gotoAndStop(8);
}
this.cglasses.gotoAndStop(_global.ecglasses);
}
}
frame 112 {
_root.ai_chain_combo = 0;
gotoAndPlay(1);
}
instance of movieClip 666 {
onClipEvent (load) {
this.chairfront.gotoAndStop(_global.echair);
this.ceyes.gotoAndStop(_global.eceyetype);
this.ceyes.ink.gotoAndStop(_global.eceyecolor);
this.ceyebrow.gotoAndStop(1);
this.cmouth.gotoAndStop(_global.ecmouth);
this.cglasses.gotoAndStop(_global.ecglasses);
}
onClipEvent (enterFrame) {
this.chairfront.gotoAndStop(_global.echair);
this.ceyes.gotoAndStop(_global.eceyetype);
this.ceyes.ink.gotoAndStop(_global.eceyecolor);
this.ceyebrow.gotoAndStop(1);
this.cmouth.gotoAndStop(_global.ecmouth);
this.cglasses.gotoAndStop(_global.ecglasses);
}
}
frame 180 {
_root.ai_chain_combo = 0;
gotoAndPlay(1);
}
}
movieClip 776 {
frame 1 {
stop();
}
}
button 777 {
on (release) {
delete eval(_root.onEnterFrame());
if (_global.trouble >= 100) {
_root.gotoAndStop(16);
} else {
_root.gotoAndStop(6);
}
}
}
movieClip 783 {
frame 1 {
stop();
}
instance of movieClip 745 {
onClipEvent (load) {
this.gotoAndStop(random(3) + 1);
}
}
frame 2 {
stop();
}
frame 3 {
_global.fitness = _global.temp_fitness;
_global.melee = _global.temp_melee;
_global.health = _global.temp_health;
_global.fans += 1;
if (_global.vsplayer == 1) {
_global.fans += 20;
}
_global.vsplayer = 0;
if (_global.clothing == 1) {
_global.fans += _global.large_fans;
_global.trouble += _global.med_trouble;
}
if (_global.clothing == 2) {
_global.trouble -= _global.small_trouble;
}
if (_global.clothing == 4) {
_global.fans += _global.small_fans;
}
if (_global.clothing == 6) {
_global.fans += _global.small_fans;
_global.trouble += _global.small_trouble;
}
if (_global.clothing == 7 || _global.clothing == 8 || _global.clothing == 9 || _global.clothing == 10) {
_global.fans += _global.med_fans;
_global.trouble += _global.small_trouble;
}
}
instance medal of movieClip 776 {
onClipEvent (load) {
if (_root.maiko_health >= _global.fitness * 0.75) {
_global.medals_boxing[1] += 1;
this.gotoAndStop(4);
} else {
if (_root.maiko_health >= _global.fitness * 0.5) {
_global.medals_boxing[2] += 1;
this.gotoAndStop(3);
} else {
if (_root.maiko_health >= _global.fitness * 0.25) {
_global.medals_boxing[3] += 1;
this.gotoAndStop(2);
}
}
}
}
}
frame 4 {
_global.fitness = _global.temp_fitness;
_global.melee = _global.temp_melee;
_global.health = _global.temp_health;
_global.vsplayer = 0;
if (_global.clothing == 1) {
_global.fans += _global.large_fans;
_global.trouble += _global.med_trouble;
}
if (_global.clothing == 2) {
_global.trouble -= _global.small_trouble;
}
if (_global.clothing == 4) {
_global.fans += _global.small_fans;
}
if (_global.clothing == 6) {
_global.fans += _global.small_fans;
_global.trouble += _global.small_trouble;
}
if (_global.clothing == 7 || _global.clothing == 8 || _global.clothing == 9 || _global.clothing == 10) {
_global.fans += _global.med_fans;
_global.trouble += _global.small_trouble;
}
}
}
movieClip 784 {
frame 1 {
stop();
}
}
movieClip 793 {
frame 1 {
stop();
}
}
movieClip 797 {
}
movieClip 798 {
instance of movieClip 737 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
instance of movieClip 737 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
instance boobs of movieClip 784 {
onClipEvent (load) {
this.gotoAndStop(_global.clothing);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.clothing);
}
}
frame 30 {
_root.chain_combo = 0;
gotoAndPlay(1);
}
frame 31 {
_root.check_if_ai_will_block();
}
instance of movieClip 793 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
frame 40 {
_root.check_if_maiko_hit_ai();
if (_root.chain_combo == 1) {
_root.chain_combo = 0;
gotoAndPlay(51);
}
}
frame 41 {
_root.chain_combo = 0;
}
instance of movieClip 737 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
frame 50 {
_root.chain_combo = 0;
gotoAndPlay(1);
}
frame 51 {
_root.check_if_ai_will_block();
}
instance of movieClip 793 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
frame 56 {
_root.check_if_maiko_hit_ai();
if (_root.chain_combo == 1) {
_root.chain_combo = 0;
} else {
++_global.flurrycombo;
gotoAndPlay(56);
}
}
frame 57 {
_root.check_if_ai_will_block();
}
instance of movieClip 793 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
instance of movieClip 737 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
frame 62 {
_root.check_if_maiko_hit_ai();
if (_root.chain_combo == 1) {
_root.chain_combo = 0;
++_global.flurrycombo;
gotoAndPlay(51);
} else {
gotoAndPlay(41);
}
}
instance of movieClip 737 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
instance of movieClip 793 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
instance of movieClip 737 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
frame 73 {
_root.chain_combo = 0;
gotoAndPlay(1);
}
frame 75 {
if (_global.clothing == 12) {
_global.gainmaikohealth();
}
if (_global.fightstyle == 3) {
_global.gainmaikohealth();
}
if (_global.glove == 3) {
_global.gainmaikoend();
}
}
frame 83 {
if (_root.maiko_is_guarding == 1) {
gotoAndPlay(80);
}
}
frame 90 {
_root.chain_combo = 0;
gotoAndPlay(1);
}
frame 97 {
_root.chain_combo = 0;
gotoAndPlay(1);
}
frame 101 {
if (_root.maiko.current_endurance > 0) {
_root.maiko.current_endurance -= 1;
} else {
gotoAndPlay(1);
}
}
frame 104 {
if (_root.maiko.current_endurance > 0) {
_root.maiko.current_endurance -= 1;
} else {
gotoAndPlay(1);
}
}
frame 107 {
if (_root.maiko.current_endurance > 0) {
_root.maiko.current_endurance -= 1;
} else {
gotoAndPlay(1);
}
}
frame 110 {
if (_root.maiko.current_endurance > 0) {
_root.maiko.current_endurance -= 1;
} else {
gotoAndPlay(1);
}
}
frame 113 {
if (_root.maiko.current_endurance > 0) {
_root.maiko.current_endurance -= 1;
} else {
gotoAndPlay(1);
}
}
frame 116 {
play();
}
instance of movieClip 793 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
frame 121 {
_root.check_if_maiko_charge_hit_ai();
}
instance of movieClip 737 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
frame 129 {
_root.chain_combo = 0;
gotoAndPlay(1);
}
instance of movieClip 797 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
instance of movieClip 797 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
instance of movieClip 737 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
instance of movieClip 737 {
onClipEvent (load) {
this.gotoAndStop(_global.glove);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.glove);
}
}
frame 153 {
_root.chain_combo = 0;
gotoAndPlay(1);
}
}
movieClip 799 {
frame 1 {
stop();
}
}
instance mbar of movieClip 799 {
onClipEvent (load) {
_root.mbar.gotoAndStop(Math.ceil((_root.maiko.current_health / _root.maiko.health) * 100));
_root.ebar.gotoAndStop(Math.ceil((_root.current_opponent.current_health / _root.current_opponent.health) * 100));
}
onClipEvent (enterFrame) {
_root.mbar.gotoAndStop(Math.ceil((_root.maiko.current_health / _root.maiko.health) * 100));
_root.ebar.gotoAndStop(Math.ceil((_root.current_opponent.current_health / _root.current_opponent.health) * 100));
}
}
movieClip 800 {
frame 1 {
stop();
}
}
instance of movieClip 722 {
onClipEvent (load) {
this.gotoAndStop(_global.efightstyle);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.efightstyle);
}
}
button 801 {
on (release) {
_global.fitness = _global.temp_fitness;
_global.melee = _global.temp_melee;
_global.health = _global.temp_health;
_global.vsplayer = 0;
delete eval(_root.onEnterFrame());
_root.gotoAndStop(6);
}
}
frame 10 {
function enemy_ai(ai, character, difficulty) {
if (difficulty > frame_rate) {
difficulty = frame_rate;
}
ai.Ai_attack_frequency = frame_rate - difficulty;
++ai.Ai_attack_frequency_counter;
if (ai.Ai_attack_frequency_counter >= ai.Ai_attack_frequency) {
if (character.current_endurance > character.endurance) {
character.current_endurance = character.endurance;
}
if (ai.randomCheck(100) <= ai.attack_percent && _root.img.boxer._currentframe < 31) {
var v4 = 0;
if (character.current_endurance > energy_needed_to_punch) {
v4 += ai.Ai_punch_endurance_importance;
} else {
return undefined;
}
if (character.current_endurance <= ai.Ai_endurance_is_low) {
v4 -= ai.Ai_endurance_is_low_importance;
}
if (_root.maiko_boxing_arms._currentframe >= 98 && _root.maiko_boxing_arms._currentframe < 116) {
v4 += ai.Maiko_is_charge_punching_importance;
}
var v6 = int((maiko.current_health / maiko.health) * 100);
v4 += 100 - v6;
var v9 = int((character.current_endurance / character.endurance) * 100);
var v7 = Math.abs(v9 - v6);
if (v7 >= 50) {
v4 -= ai.Ai_low_endurance_vs_high_life_importance;
}
if (character.body_type == 0) {
}
if (_root.maiko_boxing_arms._currentframe >= 80 && _root.maiko_boxing_arms._currentframe < 84) {
v4 -= ai.Ai_opponent_is_blocking_importance;
}
if (v4 >= 100) {
v4 = 100;
}
if (v4 <= 0) {
v4 = 0;
}
_root.percent_to_punch = v4 + '%';
if (ai.randomCheck(100) <= v4) {
character.current_endurance -= energy_needed_to_punch;
if (_global.eglove == 3) {
character.current_endurance -= Math.floor(energy_needed_to_punch / 4);
}
_root.img.boxer.gotoAndPlay('Punch');
}
}
ai.Ai_attack_frequency_counter = 0;
}
}
function endurance_gain(character) {
++frame_counter;
if (frame_counter >= frame_rate) {
if (maiko.current_endurance < maiko.endurance) {
++maiko.current_endurance;
}
if (character.current_endurance < character.endurance) {
++character.current_endurance;
}
if (_global.fightstyle == 2) {
maiko.current_endurance += 2;
}
if (_global.efightstyle == 2) {
character.current_endurance += 2;
}
if (_global.clothing == 11) {
maiko.current_endurance += 2;
}
if (_global.eoutfit == 11) {
character.current_endurance += 2;
}
frame_counter = 0;
}
}
function check_if_ai_hit_maiko() {
if (!(_root.maiko_boxing_arms._currentframe > 79 && _root.maiko_boxing_arms._currentframe < 84)) {
maiko.current_health -= current_opponent.melee;
if (_global.eglove == 3) {
maiko.current_health -= current_opponent.melee / 4;
}
current_ai.attack_percent += current_ai.Ai_attack_percent_increase;
current_ai.block_percent -= current_ai.Ai_block_percent_decrease;
if (_global.fightstyle == 1) {
maiko.melee += Math.floor(maiko.melee / 20);
}
_root.maiko_boxing_arms.gotoAndPlay('Hit');
} else {
if (_global.glove == 2) {
} else {
if (_global.eglove == 4) {
maiko.current_health -= Math.floor(current_opponent.melee / 2);
} else {
maiko.current_health -= Math.floor(current_opponent.melee / 4);
}
}
if (_global.glove == 3) {
maiko.current_endurance += 5;
current_opponent.current_endurance -= 5;
} else {
if (_global.glove == 4) {
current_opponent.current_health -= Math.floor(maiko.melee / 10);
}
}
if (_global.fightstyle == 3) {
maiko.current_health += Math.floor(maiko.health / 1000);
}
}
}
function check_if_ai_will_block() {
if (_global.flurrycombo >= 5) {
_global.flurrycombo = 0;
if (current_ai == defensive) {
_root.img.boxer.gotoAndPlay('Guard');
} else {
if (current_ai == agressive && current_opponent.current_endurance <= energy_needed_to_punch) {
_root.img.boxer.gotoAndPlay('Punch');
} else {
if (random(2) == 0) {
_root.img.boxer.gotoAndPlay('Guard');
} else {
if (current_ai == agressive && current_opponent.current_endurance <= energy_needed_to_punch) {
_root.img.boxer.gotoAndPlay('Punch');
} else {
_root.img.boxer.gotoAndPlay('Guard');
}
}
}
}
} else {
if (!(_root.img.boxer._currentframe > 100 && _root.img.boxer._currentframe < 181)) {
if (current_ai.randomCheck(100) <= current_ai.block_percent && !(_root.img.boxer._currentframe > 54 && _root.img.boxer._currentframe < 101)) {
if (current_ai == defensive) {
}
_root.img.boxer.gotoAndPlay('Guard');
}
}
}
}
function check_if_ai_will_stop_blocking() {
if (chain_combo == 0) {
current_ai.block_percent -= current_ai.Ai_ease_block_percent;
if (current_ai.randomCheck(100) >= current_ai.block_percent) {
_root.img.boxer.gotoAndPlay(100);
}
}
}
function check_if_maiko_hit_ai() {
if (!(_root.img.boxer._currentframe > 54 && _root.img.boxer._currentframe < 101)) {
current_opponent.current_health -= maiko.melee;
current_ai.attack_percent -= current_ai.Ai_attack_percent_decrease;
current_ai.block_percent += current_ai.Ai_block_percent_increase;
if (_global.efightstyle == 1) {
current_opponent.melee += Math.floor(current_opponent.melee / 20);
}
if (_global.eglove == 3) {
current_opponent.current_health -= Math.floor(maiko.melee / 4);
}
_root.img.boxer.gotoAndPlay('Hit');
if (current_ai.attack_percent <= 0 || current_ai == aggressive) {
current_ai.attack_percent = 20;
} else {
if (current_ai.attack_percent <= 0 || current_ai == balanced) {
current_ai.attack_percent = 30;
} else {
if (current_ai.attack_percent <= 0) {
current_ai.attack_percent = 10;
}
}
}
} else {
if (_global.eglove == 2) {
} else {
if (_global.glove == 4) {
current_opponent.current_health -= Math.floor(maiko.melee / 2);
} else {
current_opponent.current_health -= Math.floor(maiko.melee / 4);
}
}
if (_global.eglove == 3) {
current_opponent.current_endurance += 5;
maiko.current_endurance -= 5;
} else {
if (_global.eglove == 4) {
maiko.current_health -= Math.floor(current_opponent.melee / 10);
}
}
if (_global.efightstyle == 3) {
current_opponent.current_health += Math.floor(current_opponent.health / 1000);
}
}
}
function check_if_maiko_charge_hit_ai() {
if (!(_root.img.boxer._currentframe > 54 && _root.img.boxer._currentframe < 101)) {
current_opponent.current_health -= maiko.melee;
} else {
current_opponent.current_health -= maiko.melee * 2;
}
current_ai.attack_percent -= current_ai.Ai_attack_percent_decrease;
current_ai.block_percent += current_ai.Ai_block_percent_increase;
if (current_ai == aggressive) {
current_opponent.melee += Math.floor(current_opponent.melee / 10);
}
_root.img.boxer.gotoAndPlay('Stun');
}
function opponent_oub_check(ai) {
if (ai.attack_percent > 100) {
ai.attack_percent = 100;
}
if (ai.attack_percent < 0) {
ai.attack_percent = 0;
}
if (ai.block_percent > 100) {
ai.block_percent = 100;
}
if (ai.block_percent < 0) {
ai.block_percent = 0;
}
if (current_opponent.current_health <= 0) {
Key.removeListener(keyListenerX);
Key.removeListener(keyListenerZ);
_root.img.gotoAndStop(3);
_root.gotoAndStop(11);
}
if (maiko.current_health <= 0) {
Key.removeListener(keyListenerX);
Key.removeListener(keyListenerZ);
_root.img.gotoAndStop(4);
_root.gotoAndStop(11);
}
}
var chain_combo = 0;
var ai_chain_combo = 0;
var maiko_is_guarding = 0;
_global.stuncd = 0;
_global.flurrycombo = 0;
var energy_needed_to_punch = 4;
var extra_energy_needed_to_combo = 3;
if (_global.glove == 2) {
extra_energy_needed_to_combo = 1;
}
var energy_recovered_every_active_period = 1;
var balanced = new UMCCAi(0);
var aggressive = new UMCCAi(1);
var defensive = new UMCCAi(2);
_global.temp_fitness = _global.fitness;
_global.temp_melee = _global.melee;
_global.temp_health = _global.health;
delete maiko;
delete david;
var maiko = new UMCCchar('You', _global.fitness, _global.melee, _global.health, 0, 0);
var david = new UMCCchar('Opponent', _global.efitness, _global.emelee, _global.ehealth, 0, 0);
var frame_rate = 30;
var frame_counter = 0;
Key.removeListener(keyListenerZ);
keyListenerZ = new Object();
keyListenerZ.onKeyUp = function () {
if (Key.getCode() == 90) {
maiko_is_guarding = 0;
if (_root.maiko_boxing_arms._currentframe >= 98 && _root.maiko_boxing_arms._currentframe < 116) {
_root.maiko_boxing_arms.gotoAndStop(1);
}
if (_root.maiko_boxing_arms._currentframe > 30 && _root.maiko_boxing_arms._currentframe < 74 && maiko.current_endurance >= energy_needed_to_punch + extra_energy_needed_to_combo && chain_combo == 0) {
chain_combo = 1;
maiko.current_endurance -= energy_needed_to_punch + extra_energy_needed_to_combo;
if (_global.glove == 3) {
maiko.current_endurance -= 1;
}
}
if (_root.maiko_boxing_arms._currentframe < 31 && maiko.current_endurance >= energy_needed_to_punch) {
maiko.current_endurance -= energy_needed_to_punch;
if (_global.glove == 2) {
maiko.current_endurance += 1;
}
if (_global.glove == 3) {
maiko.current_endurance -= 1;
}
_root.maiko_boxing_arms.gotoAndPlay('Punch');
}
}
};
keyListenerZ.onKeyDown = function () {
if (Key.getCode() == 90) {
maiko_is_guarding = 0;
if (_root.maiko_boxing_arms._currentframe < 31) {
_root.maiko_boxing_arms.gotoAndStop(98);
} else {
if (_root.maiko_boxing_arms._currentframe >= 98 && _root.maiko_boxing_arms._currentframe < 116 && _global.stuncd + 98 == _root.maiko_boxing_arms._currentframe) {
_root.maiko_boxing_arms.gotoAndStop(_root.maiko_boxing_arms._currentframe + 1);
++_global.stuncd;
}
}
}
};
Key.addListener(keyListenerZ);
Key.removeListener(keyListenerX);
keyListenerX = new Object();
keyListenerX.onKeyDown = function () {
if (Key.getCode() == 88) {
if (_root.maiko_boxing_arms._currentframe < 31) {
maiko_is_guarding = 1;
_root.maiko_boxing_arms.gotoAndPlay('Guard');
}
}
};
keyListenerX.onKeyUp = function () {
if (Key.getCode() == 88) {
maiko_is_guarding = 0;
}
};
Key.addListener(keyListenerX);
Mouse.removeListener(mouseListenerB);
mouseListenerB = new Object();
mouseListenerB.onMouseDown = function () {};
mouseListenerB.onMouseUp = function () {
maiko_is_guarding = 0;
if (_root.maiko_boxing_arms._currentframe >= 98 && _root.maiko_boxing_arms._currentframe < 116) {
_root.maiko_boxing_arms.gotoAndStop(1);
}
if (_root.maiko_boxing_arms._currentframe > 30 && _root.maiko_boxing_arms._currentframe < 74 && maiko.current_endurance >= energy_needed_to_punch + extra_energy_needed_to_combo && chain_combo == 0) {
chain_combo = 1;
maiko.current_endurance -= energy_needed_to_punch + extra_energy_needed_to_combo;
}
if (_root.maiko_boxing_arms._currentframe < 31 && maiko.current_endurance >= energy_needed_to_punch) {
maiko.current_endurance -= energy_needed_to_punch;
_root.maiko_boxing_arms.gotoAndPlay('Punch');
}
};
mouseListenerB.onMouseMove = function () {};
Mouse.addListener(mouseListenerB);
_global.gainmaikohealth = function () {
maiko.current_health += Math.floor(maiko.health / 10);
if (maiko.current_health > maiko.health) {
maiko.current_health = maiko.health;
}
};
_global.gainopponenthealth = function () {
current_opponent.current_health += Math.floor(current_opponent.health / 50);
if (current_opponent.current_health > current_opponent.health) {
current_opponent.current_health = current_opponent.health;
}
};
_global.gainmaikoend = function () {
maiko.current_endurance += Math.floor(maiko.endurance / 10);
if (maiko.current_endurance > maiko.endurance) {
maiko.current_endurance = maiko.endurance;
}
};
_global.gainopponentend = function () {
current_opponent.current_endurance += Math.floor(current_opponent.endurance / 50);
if (current_opponent.current_endurance > current_opponent.endurance) {
current_opponent.current_endurance = current_opponent.endurance;
}
};
var current_opponent = david;
var Ai_difficuilty = random(11) + 20;
_root.ai_level = Ai_difficuilty;
_root.ai_type = _global.echarname;
var ai_select = _global.efightstyle;
_global.emelee *= 3;
if (ai_select == 2) {
var Ai_health = _global.ehealth + Math.floor(_global.ehealth / 2);
var Ai_melee = _global.emelee + Math.floor(_global.emelee / 4);
var current_ai = balanced;
}
if (ai_select == 1) {
var Ai_health = _global.ehealth + Math.floor(_global.ehealth / 4);
var Ai_melee = _global.emelee + Math.floor(_global.emelee / 2);
var current_ai = aggressive;
}
if (ai_select == 3) {
var Ai_health = _global.ehealth * 3;
var Ai_melee = _global.emelee;
var current_ai = defensive;
}
var char_select = _global.fightstyle;
if (char_select == 2) {
var char_health = _global.health + Math.floor(_global.health / 2);
var char_melee = _global.melee + Math.floor(_global.melee / 4);
var current_ai = balanced;
}
if (char_select == 1) {
var char_health = _global.health + Math.floor(_global.health / 4);
var char_melee = _global.melee + Math.floor(_global.melee / 2);
var current_ai = aggressive;
}
if (char_select == 3) {
var char_health = _global.health * 3;
var char_melee = _global.melee;
var current_ai = defensive;
}
if (_global.eoutfit != 1) {
current_opponent.health = Ai_health;
} else {
current_opponent.health = Math.floor(Ai_health / 4);
}
current_opponent.current_health = Ai_health;
Ai_melee = Math.floor(Ai_melee);
if (_global.eoutfit == 3) {
current_opponent.melee = Math.floor(Ai_melee + Ai_melee / 2);
} else {
current_opponent.melee = Ai_melee;
}
if (_global.eoutfit != 11) {
current_opponent.endurance = _global.efitness;
} else {
current_opponent.endurance = Math.floor(_global.efitness * 1.5);
}
current_opponent.current_endurance = current_opponent.endurance;
if (_global.clothing != 1) {
maiko.health = char_health;
} else {
maiko.health = Math.floor(char_health / 4);
}
maiko.current_health = char_health;
if (_global.clothing == 3) {
maiko.melee = Math.floor(char_melee + char_melee / 2);
} else {
maiko.melee = char_melee;
}
if (_global.clothing != 11) {
maiko.endurance = _global.fitness;
} else {
maiko.endurance = Math.floor(_global.fitness * 1.5);
}
maiko.current_endurance = maiko.endurance;
delete eval(_root.onEnterFrame());
_root.onEnterFrame = function () {
if (!(_root.maiko_boxing_arms._currentframe >= 51 && _root.maiko_boxing_arms._currentframe < 62)) {
_global.flurrycombo = 0;
}
if (!(_root.maiko_boxing_arms._currentframe >= 98 && _root.maiko_boxing_arms._currentframe < 116)) {
if (_global.stuncd > 0) {
--_global.stuncd;
}
if (_global.stuncd < 0) {
_global.stuncd = 0;
}
}
if (_root._currentframe == 10 || _root._currentframe == 13) {
enemy_ai(current_ai, current_opponent, Ai_difficuilty);
endurance_gain(current_opponent);
opponent_oub_check(current_ai);
_root.opponent_endurance = current_opponent.current_endurance;
_root.opponent_health = current_opponent.current_health;
_root.attack_rate = current_ai.attack_percent;
_root.block_rate = current_ai.block_percent;
_root.opponent_damage = current_opponent.melee;
_root.maiko_endurance = maiko.current_endurance;
_root.maiko_health = maiko.current_health;
_root.maiko_damage = maiko.melee;
_root.hairpin_power = _global.HairpinEnergy;
if (Key.isDown(1) == true) {
maiko_is_guarding = 0;
if (_root.maiko_boxing_arms._currentframe < 31) {
_root.maiko_boxing_arms.gotoAndStop(98);
} else {
if (_root.maiko_boxing_arms._currentframe >= 98 && _root.maiko_boxing_arms._currentframe < 116 && _global.stuncd + 98 == _root.maiko_boxing_arms._currentframe) {
++_global.stuncd;
_root.maiko_boxing_arms.gotoAndStop(_root.maiko_boxing_arms._currentframe + 1);
}
}
}
}
};
}
frame 11 {
_global.can_use_tablet = 1;
Mouse.removeListener(mouseListenerB);
}
frame 12 {
_global.in_gym = 1;
}
frame 12 {
stop();
_;
keyListenerSPACE = new Object();
keyListenerSPACE.onKeyUp = function () {
if (Key.getCode() == 32) {
if (_root._currentframe == 12) {
_root.img.gotoAndStop(2);
_root.gotoAndStop(13);
}
}
};
Key.addListener(keyListenerSPACE);
var clip = _root.img;
var easing = 0.75;
var sliderXpos = 0;
var sliderYpos = 0;
var aperatureWidth = 900;
var aperatureHeight = 506;
var imgXpos = (clip._width - aperatureWidth) / 2;
var imgYpos = (clip._height - aperatureHeight) / 2;
var nMC = new com.McPan(clip, easing, sliderXpos, sliderYpos, aperatureWidth, aperatureHeight, imgXpos, imgYpos, true);
}
movieClip 821 {
}
movieClip 832 {
frame 1 {
stop();
gotoAndStop(random(5) + 2);
}
}
movieClip 835 {
}
movieClip 838 {
}
movieClip 841 {
}
movieClip 844 {
}
movieClip 845 {
frame 30 {
_root.ai_chain_combo = 0;
gotoAndPlay(1);
}
frame 40 {
_root.check_if_ai_hit_maiko();
}
frame 50 {
_root.ai_chain_combo = 0;
gotoAndPlay(1);
}
frame 52 {
if (_global.eoutfit == 12) {
_global.gainopponenthealth();
}
if (_global.efightstyle == 3) {
_global.gainopponenthealth();
}
if (_global.eglove == 3) {
_global.gainopponentend();
}
}
frame 60 {
_root.check_if_ai_will_stop_blocking();
}
frame 65 {
_root.check_if_ai_will_stop_blocking();
}
frame 70 {
_root.check_if_ai_will_stop_blocking();
}
frame 75 {
_root.check_if_ai_will_stop_blocking();
}
frame 80 {
_root.check_if_ai_will_stop_blocking();
}
frame 85 {
_root.check_if_ai_will_stop_blocking();
}
frame 90 {
_root.check_if_ai_will_stop_blocking();
}
frame 95 {
_root.check_if_ai_will_stop_blocking();
}
frame 100 {
if (_root.maiko_boxing_arms._currentframe > 50 && _root.maiko_boxing_arms._currentframe < 63) {
gotoAndPlay(55);
} else {
if (_root.chain_combo == 1) {
gotoAndPlay(55);
}
}
}
frame 105 {
_root.ai_chain_combo = 0;
gotoAndPlay(1);
}
frame 112 {
_root.ai_chain_combo = 0;
gotoAndPlay(1);
}
frame 180 {
_root.ai_chain_combo = 0;
gotoAndPlay(1);
}
}
movieClip 846 {
frame 1 {
stop();
}
instance of movieClip 745 {
onClipEvent (load) {
this.gotoAndStop(random(3) + 1);
}
}
frame 2 {
stop();
}
frame 3 {
_global.fitness = _global.temp_fitness;
_global.melee = _global.temp_melee;
_global.health = _global.temp_health;
_global.melee += 1;
_global.vsplayer = 0;
if (_global.clothing == 1) {
_global.trouble += _global.med_trouble;
}
if (_global.clothing == 2) {
_global.trouble -= _global.small_trouble;
}
if (_global.clothing == 6) {
_global.trouble += _global.small_trouble;
}
if (_global.clothing == 7 || _global.clothing == 8 || _global.clothing == 9 || _global.clothing == 10) {
_global.trouble += _global.small_trouble;
}
}
instance medal of movieClip 776 {
onClipEvent (load) {
if (_root.maiko_health >= _global.fitness * 0.75) {
_global.medals_boxing[1] += 1;
this.gotoAndStop(4);
} else {
if (_root.maiko_health >= _global.fitness * 0.5) {
_global.medals_boxing[2] += 1;
this.gotoAndStop(3);
} else {
if (_root.maiko_health >= _global.fitness * 0.25) {
_global.medals_boxing[3] += 1;
this.gotoAndStop(2);
}
}
}
}
}
frame 4 {
_global.fitness = _global.temp_fitness;
_global.melee = _global.temp_melee;
_global.health = _global.temp_health;
_global.vsplayer = 0;
if (_global.clothing == 1) {
_global.trouble += _global.med_trouble;
}
if (_global.clothing == 2) {
_global.trouble -= _global.small_trouble;
}
if (_global.clothing == 6) {
_global.trouble += _global.small_trouble;
}
if (_global.clothing == 7 || _global.clothing == 8 || _global.clothing == 9 || _global.clothing == 10) {
_global.trouble += _global.small_trouble;
}
}
}
instance mbar of movieClip 799 {
onClipEvent (load) {
_root.mbar.gotoAndStop(Math.ceil((_root.maiko.current_health / _root.maiko.health) * 100));
_root.ebar.gotoAndStop(Math.ceil((_root.current_opponent.current_health / _root.current_opponent.health) * 100));
}
onClipEvent (enterFrame) {
_root.mbar.gotoAndStop(Math.ceil((_root.maiko.current_health / _root.maiko.health) * 100));
_root.ebar.gotoAndStop(Math.ceil((_root.current_opponent.current_health / _root.current_opponent.health) * 100));
}
}
instance of movieClip 722 {
onClipEvent (load) {
this.gotoAndStop(_global.efightstyle);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.efightstyle);
}
}
frame 13 {
function enemy_ai(ai, character, difficulty) {
if (difficulty > frame_rate) {
difficulty = frame_rate;
}
ai.Ai_attack_frequency = frame_rate - difficulty;
++ai.Ai_attack_frequency_counter;
if (ai.Ai_attack_frequency_counter >= ai.Ai_attack_frequency) {
if (character.current_endurance > character.endurance) {
character.current_endurance = character.endurance;
}
if (ai.randomCheck(100) <= ai.attack_percent && _root.img.boxer._currentframe < 31) {
var v4 = 0;
if (character.current_endurance > energy_needed_to_punch) {
v4 += ai.Ai_punch_endurance_importance;
} else {
return undefined;
}
if (character.current_endurance <= ai.Ai_endurance_is_low) {
v4 -= ai.Ai_endurance_is_low_importance;
}
if (_root.maiko_boxing_arms._currentframe >= 98 && _root.maiko_boxing_arms._currentframe < 116) {
v4 += ai.Maiko_is_charge_punching_importance;
}
var v6 = int((maiko.current_health / maiko.health) * 100);
v4 += 100 - v6;
var v9 = int((character.current_endurance / character.endurance) * 100);
var v7 = Math.abs(v9 - v6);
if (v7 >= 50) {
v4 -= ai.Ai_low_endurance_vs_high_life_importance;
}
if (character.body_type == 0) {
}
if (_root.maiko_boxing_arms._currentframe >= 80 && _root.maiko_boxing_arms._currentframe < 84) {
v4 -= ai.Ai_opponent_is_blocking_importance;
}
if (v4 >= 100) {
v4 = 100;
}
if (v4 <= 0) {
v4 = 0;
}
_root.percent_to_punch = v4 + '%';
if (ai.randomCheck(100) <= v4) {
character.current_endurance -= energy_needed_to_punch;
if (_global.eglove == 3) {
character.current_endurance -= Math.floor(energy_needed_to_punch / 4);
}
_root.img.boxer.gotoAndPlay('Punch');
}
}
ai.Ai_attack_frequency_counter = 0;
}
}
function endurance_gain(character) {
++frame_counter;
if (frame_counter >= frame_rate) {
if (maiko.current_endurance < maiko.endurance) {
++maiko.current_endurance;
}
if (character.current_endurance < character.endurance) {
++character.current_endurance;
}
if (_global.fightstyle == 2) {
maiko.current_endurance += 2;
}
if (_global.efightstyle == 2) {
character.current_endurance += 2;
}
if (_global.clothing == 11) {
maiko.current_endurance += 2;
}
if (_global.eoutfit == 11) {
character.current_endurance += 2;
}
frame_counter = 0;
}
}
function check_if_ai_hit_maiko() {
if (!(_root.maiko_boxing_arms._currentframe > 79 && _root.maiko_boxing_arms._currentframe < 84)) {
maiko.current_health -= current_opponent.melee;
if (_global.eglove == 3) {
maiko.current_health -= current_opponent.melee / 4;
}
current_ai.attack_percent += current_ai.Ai_attack_percent_increase;
current_ai.block_percent -= current_ai.Ai_block_percent_decrease;
if (_global.fightstyle == 1) {
maiko.melee += Math.floor(maiko.melee / 20);
}
_root.maiko_boxing_arms.gotoAndPlay('Hit');
} else {
if (_global.glove == 2) {
} else {
if (_global.eglove == 4) {
maiko.current_health -= Math.floor(current_opponent.melee / 2);
} else {
maiko.current_health -= Math.floor(current_opponent.melee / 4);
}
}
if (_global.glove == 3) {
maiko.current_endurance += 5;
current_opponent.current_endurance -= 5;
} else {
if (_global.glove == 4) {
current_opponent.current_health -= Math.floor(maiko.melee / 10);
}
}
if (_global.fightstyle == 3) {
maiko.current_health += Math.floor(maiko.health / 1000);
}
}
}
function check_if_ai_will_block() {
if (_global.flurrycombo >= 5) {
_global.flurrycombo = 0;
if (current_ai == defensive) {
_root.img.boxer.gotoAndPlay('Guard');
} else {
if (current_ai == agressive && current_opponent.current_endurance <= energy_needed_to_punch) {
_root.img.boxer.gotoAndPlay('Punch');
} else {
if (random(2) == 0) {
_root.img.boxer.gotoAndPlay('Guard');
} else {
if (current_ai == agressive && current_opponent.current_endurance <= energy_needed_to_punch) {
_root.img.boxer.gotoAndPlay('Punch');
} else {
_root.img.boxer.gotoAndPlay('Guard');
}
}
}
}
} else {
if (!(_root.img.boxer._currentframe > 100 && _root.img.boxer._currentframe < 181)) {
if (current_ai.randomCheck(100) <= current_ai.block_percent && !(_root.img.boxer._currentframe > 54 && _root.img.boxer._currentframe < 101)) {
if (current_ai == defensive) {
}
_root.img.boxer.gotoAndPlay('Guard');
}
}
}
}
function check_if_ai_will_stop_blocking() {
if (chain_combo == 0) {
current_ai.block_percent -= current_ai.Ai_ease_block_percent;
if (current_ai.randomCheck(100) >= current_ai.block_percent) {
_root.img.boxer.gotoAndPlay(100);
}
}
}
function check_if_maiko_hit_ai() {
if (!(_root.img.boxer._currentframe > 54 && _root.img.boxer._currentframe < 101)) {
current_opponent.current_health -= maiko.melee;
current_ai.attack_percent -= current_ai.Ai_attack_percent_decrease;
current_ai.block_percent += current_ai.Ai_block_percent_increase;
if (_global.efightstyle == 1) {
current_opponent.melee += Math.floor(current_opponent.melee / 20);
}
if (_global.eglove == 3) {
current_opponent.current_health -= Math.floor(maiko.melee / 4);
}
_root.img.boxer.gotoAndPlay('Hit');
if (current_ai.attack_percent <= 0 || current_ai == aggressive) {
current_ai.attack_percent = 20;
} else {
if (current_ai.attack_percent <= 0 || current_ai == balanced) {
current_ai.attack_percent = 30;
} else {
if (current_ai.attack_percent <= 0) {
current_ai.attack_percent = 10;
}
}
}
} else {
if (_global.eglove == 2) {
} else {
if (_global.glove == 4) {
current_opponent.current_health -= Math.floor(maiko.melee / 2);
} else {
current_opponent.current_health -= Math.floor(maiko.melee / 4);
}
}
if (_global.eglove == 3) {
current_opponent.current_endurance += 5;
maiko.current_endurance -= 5;
} else {
if (_global.eglove == 4) {
maiko.current_health -= Math.floor(current_opponent.melee / 10);
}
}
if (_global.efightstyle == 3) {
current_opponent.current_health += Math.floor(current_opponent.health / 1000);
}
}
}
function check_if_maiko_charge_hit_ai() {
if (!(_root.img.boxer._currentframe > 54 && _root.img.boxer._currentframe < 101)) {
current_opponent.current_health -= maiko.melee;
} else {
current_opponent.current_health -= maiko.melee * 2;
}
current_ai.attack_percent -= current_ai.Ai_attack_percent_decrease;
current_ai.block_percent += current_ai.Ai_block_percent_increase;
if (current_ai == aggressive) {
current_opponent.melee += Math.floor(current_opponent.melee / 10);
}
_root.img.boxer.gotoAndPlay('Stun');
}
function opponent_oub_check(ai) {
if (ai.attack_percent > 100) {
ai.attack_percent = 100;
}
if (ai.attack_percent < 0) {
ai.attack_percent = 0;
}
if (ai.block_percent > 100) {
ai.block_percent = 100;
}
if (ai.block_percent < 0) {
ai.block_percent = 0;
}
if (current_opponent.current_health <= 0) {
Key.removeListener(keyListenerX);
Key.removeListener(keyListenerZ);
_root.img.gotoAndStop(3);
_root.gotoAndStop(14);
}
if (maiko.current_health <= 0) {
Key.removeListener(keyListenerX);
Key.removeListener(keyListenerZ);
_root.img.gotoAndStop(4);
_root.gotoAndStop(14);
}
}
var chain_combo = 0;
var ai_chain_combo = 0;
var maiko_is_guarding = 0;
_global.stuncd = 0;
_global.flurrycombo = 0;
var energy_needed_to_punch = 4;
var extra_energy_needed_to_combo = 3;
if (_global.glove == 2) {
extra_energy_needed_to_combo = 1;
}
var energy_recovered_every_active_period = 1;
var balanced = new UMCCAi(0);
var aggressive = new UMCCAi(1);
var defensive = new UMCCAi(2);
_global.temp_fitness = _global.fitness;
_global.temp_melee = _global.melee;
_global.temp_health = _global.health;
delete maiko;
delete david;
var maiko = new UMCCchar('You', _global.fitness, _global.melee, _global.health, 0, 0);
var david = new UMCCchar('Opponent', _global.efitness, _global.emelee, _global.ehealth, 0, 0);
var frame_rate = 30;
var frame_counter = 0;
Key.removeListener(keyListenerZ);
keyListenerZ = new Object();
keyListenerZ.onKeyUp = function () {
if (Key.getCode() == 90) {
maiko_is_guarding = 0;
if (_root.maiko_boxing_arms._currentframe >= 98 && _root.maiko_boxing_arms._currentframe < 116) {
_root.maiko_boxing_arms.gotoAndStop(1);
}
if (_root.maiko_boxing_arms._currentframe > 30 && _root.maiko_boxing_arms._currentframe < 74 && maiko.current_endurance >= energy_needed_to_punch + extra_energy_needed_to_combo && chain_combo == 0) {
chain_combo = 1;
maiko.current_endurance -= energy_needed_to_punch + extra_energy_needed_to_combo;
if (_global.glove == 3) {
maiko.current_endurance -= 1;
}
}
if (_root.maiko_boxing_arms._currentframe < 31 && maiko.current_endurance >= energy_needed_to_punch) {
maiko.current_endurance -= energy_needed_to_punch;
if (_global.glove == 2) {
maiko.current_endurance += 1;
}
if (_global.glove == 3) {
maiko.current_endurance -= 1;
}
_root.maiko_boxing_arms.gotoAndPlay('Punch');
}
}
};
keyListenerZ.onKeyDown = function () {
if (Key.getCode() == 90) {
maiko_is_guarding = 0;
if (_root.maiko_boxing_arms._currentframe < 31) {
_root.maiko_boxing_arms.gotoAndStop(98);
} else {
if (_root.maiko_boxing_arms._currentframe >= 98 && _root.maiko_boxing_arms._currentframe < 116 && _global.stuncd + 98 == _root.maiko_boxing_arms._currentframe) {
_root.maiko_boxing_arms.gotoAndStop(_root.maiko_boxing_arms._currentframe + 1);
++_global.stuncd;
}
}
}
};
Key.addListener(keyListenerZ);
Key.removeListener(keyListenerX);
keyListenerX = new Object();
keyListenerX.onKeyDown = function () {
if (Key.getCode() == 88) {
if (_root.maiko_boxing_arms._currentframe < 31) {
maiko_is_guarding = 1;
_root.maiko_boxing_arms.gotoAndPlay('Guard');
}
}
};
keyListenerX.onKeyUp = function () {
if (Key.getCode() == 88) {
maiko_is_guarding = 0;
}
};
Key.addListener(keyListenerX);
Mouse.removeListener(mouseListenerB);
mouseListenerB = new Object();
mouseListenerB.onMouseDown = function () {};
mouseListenerB.onMouseUp = function () {
maiko_is_guarding = 0;
if (_root.maiko_boxing_arms._currentframe >= 98 && _root.maiko_boxing_arms._currentframe < 116) {
_root.maiko_boxing_arms.gotoAndStop(1);
}
if (_root.maiko_boxing_arms._currentframe > 30 && _root.maiko_boxing_arms._currentframe < 74 && maiko.current_endurance >= energy_needed_to_punch + extra_energy_needed_to_combo && chain_combo == 0) {
chain_combo = 1;
maiko.current_endurance -= energy_needed_to_punch + extra_energy_needed_to_combo;
}
if (_root.maiko_boxing_arms._currentframe < 31 && maiko.current_endurance >= energy_needed_to_punch) {
maiko.current_endurance -= energy_needed_to_punch;
_root.maiko_boxing_arms.gotoAndPlay('Punch');
}
};
mouseListenerB.onMouseMove = function () {};
Mouse.addListener(mouseListenerB);
_global.gainmaikohealth = function () {
maiko.current_health += Math.floor(maiko.health / 10);
if (maiko.current_health > maiko.health) {
maiko.current_health = maiko.health;
}
};
_global.gainopponenthealth = function () {
current_opponent.current_health += Math.floor(current_opponent.health / 50);
if (current_opponent.current_health > current_opponent.health) {
current_opponent.current_health = current_opponent.health;
}
};
_global.gainmaikoend = function () {
maiko.current_endurance += Math.floor(maiko.endurance / 10);
if (maiko.current_endurance > maiko.endurance) {
maiko.current_endurance = maiko.endurance;
}
};
_global.gainopponentend = function () {
current_opponent.current_endurance += Math.floor(current_opponent.endurance / 50);
if (current_opponent.current_endurance > current_opponent.endurance) {
current_opponent.current_endurance = current_opponent.endurance;
}
};
var current_opponent = david;
var Ai_difficuilty = random(11) + 20;
_root.ai_level = Ai_difficuilty;
_root.ai_type = _global.echarname;
var ai_select = _global.efightstyle;
_global.emelee *= 3;
if (ai_select == 2) {
var Ai_health = _global.ehealth + Math.floor(_global.ehealth / 2);
var Ai_melee = _global.emelee + Math.floor(_global.emelee / 4);
var current_ai = balanced;
}
if (ai_select == 1) {
var Ai_health = _global.ehealth + Math.floor(_global.ehealth / 4);
var Ai_melee = _global.emelee + Math.floor(_global.emelee / 2);
var current_ai = aggressive;
}
if (ai_select == 3) {
var Ai_health = _global.ehealth * 3;
var Ai_melee = _global.emelee;
var current_ai = defensive;
}
var char_select = _global.fightstyle;
if (char_select == 2) {
var char_health = _global.health + Math.floor(_global.health / 2);
var char_melee = _global.melee + Math.floor(_global.melee / 4);
var current_ai = balanced;
}
if (char_select == 1) {
var char_health = _global.health + Math.floor(_global.health / 4);
var char_melee = _global.melee + Math.floor(_global.melee / 2);
var current_ai = aggressive;
}
if (char_select == 3) {
var char_health = _global.health * 3;
var char_melee = _global.melee;
var current_ai = defensive;
}
if (_global.eoutfit != 1) {
current_opponent.health = Ai_health;
} else {
current_opponent.health = Math.floor(Ai_health / 4);
}
current_opponent.current_health = Ai_health;
Ai_melee = Math.floor(Ai_melee);
if (_global.eoutfit == 3) {
current_opponent.melee = Math.floor(Ai_melee + Ai_melee / 2);
} else {
current_opponent.melee = Ai_melee;
}
if (_global.eoutfit != 11) {
current_opponent.endurance = _global.efitness;
} else {
current_opponent.endurance = Math.floor(_global.efitness * 1.5);
}
current_opponent.current_endurance = current_opponent.endurance;
if (_global.clothing != 1) {
maiko.health = char_health;
} else {
maiko.health = Math.floor(char_health / 4);
}
maiko.current_health = char_health;
if (_global.clothing == 3) {
maiko.melee = Math.floor(char_melee + char_melee / 2);
} else {
maiko.melee = char_melee;
}
if (_global.clothing != 11) {
maiko.endurance = _global.fitness;
} else {
maiko.endurance = Math.floor(_global.fitness * 1.5);
}
maiko.current_endurance = maiko.endurance;
delete eval(_root.onEnterFrame());
_root.onEnterFrame = function () {
if (!(_root.maiko_boxing_arms._currentframe >= 51 && _root.maiko_boxing_arms._currentframe < 62)) {
_global.flurrycombo = 0;
}
if (!(_root.maiko_boxing_arms._currentframe >= 98 && _root.maiko_boxing_arms._currentframe < 116)) {
if (_global.stuncd > 0) {
--_global.stuncd;
}
if (_global.stuncd < 0) {
_global.stuncd = 0;
}
}
if (_root._currentframe == 10 || _root._currentframe == 13) {
enemy_ai(current_ai, current_opponent, Ai_difficuilty);
endurance_gain(current_opponent);
opponent_oub_check(current_ai);
_root.opponent_endurance = current_opponent.current_endurance;
_root.opponent_health = current_opponent.current_health;
_root.attack_rate = current_ai.attack_percent;
_root.block_rate = current_ai.block_percent;
_root.opponent_damage = current_opponent.melee;
_root.maiko_endurance = maiko.current_endurance;
_root.maiko_health = maiko.current_health;
_root.maiko_damage = maiko.melee;
_root.hairpin_power = _global.HairpinEnergy;
if (Key.isDown(1) == true) {
maiko_is_guarding = 0;
if (_root.maiko_boxing_arms._currentframe < 31) {
_root.maiko_boxing_arms.gotoAndStop(98);
} else {
if (_root.maiko_boxing_arms._currentframe >= 98 && _root.maiko_boxing_arms._currentframe < 116 && _global.stuncd + 98 == _root.maiko_boxing_arms._currentframe) {
++_global.stuncd;
_root.maiko_boxing_arms.gotoAndStop(_root.maiko_boxing_arms._currentframe + 1);
}
}
}
}
};
}
frame 14 {
_global.can_use_tablet = 1;
Mouse.removeListener(mouseListenerB);
}
frame 15 {
stop();
}
movieClip 884 {
frame 1 {
stop();
}
frame 14 {
gotoAndStop(1);
}
}
movieClip 891 {
frame 1 {
stop();
}
frame 14 {
gotoAndStop(1);
}
}
movieClip 894 {
}
movieClip 895 {
frame 1 {
stop();
}
}
movieClip 898 {
frame 1 {
stop();
}
}
movieClip 1017 {
}
movieClip 1018 {
instance man of movieClip 884 {
onClipEvent (load) {
this.gotoAndStop(_global.lockerboy);
}
}
instance penis of movieClip 891 {
onClipEvent (load) {
this.gotoAndStop(_global.lockerboy);
}
}
instance hair of movieClip 895 {
onClipEvent (load) {
this.gotoAndStop(_global.chair);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.chair);
}
}
instance head of movieClip 898 {
onClipEvent (load) {
this.chairfront.gotoAndStop(_global.chair);
this.ceyes.gotoAndStop(_global.ceyetype);
this.ceyes.ink.gotoAndStop(_global.ceyecolor);
this.ceyebrow.gotoAndStop(2);
if (_global.ecmouth < 3) {
this.cmouth.gotoAndStop(7);
} else {
this.cmouth.gotoAndStop(8);
}
this.cglasses.gotoAndStop(_global.cglasses);
}
onClipEvent (enterFrame) {
this.chairfront.gotoAndStop(_global.chair);
this.ceyes.gotoAndStop(_global.ceyetype);
this.ceyes.ink.gotoAndStop(_global.ceyecolor);
this.ceyebrow.gotoAndStop(2);
if (_global.cmouth < 3) {
this.cmouth.gotoAndStop(7);
} else {
this.cmouth.gotoAndStop(8);
}
this.cglasses.gotoAndStop(_global.cglasses);
}
}
frame 31 {
if (_global.randomshit == 1) {
_global.randomspeed = random(50);
if (_global.randomspeed > 20) {
gotoAndPlay(48);
} else {
if (_global.randomspeed > 5) {
gotoAndPlay(32);
} else {
if (_global.randomspeed >= 0) {
gotoAndPlay(1);
}
}
}
} else {
gotoAndPlay(1);
}
}
frame 47 {
if (_global.randomshit == 1) {
_global.randomspeed = random(50);
if (_global.randomspeed > 20) {
gotoAndPlay(48);
} else {
if (_global.randomspeed > 5) {
gotoAndPlay(32);
} else {
if (_global.randomspeed >= 0) {
gotoAndPlay(1);
}
}
}
} else {
gotoAndPlay(32);
}
}
frame 62 {
if (_global.randomshit == 1) {
_global.randomspeed = random(50);
if (_global.randomspeed > 20) {
gotoAndPlay(48);
} else {
if (_global.randomspeed > 5) {
gotoAndPlay(32);
} else {
if (_global.randomspeed >= 0) {
gotoAndPlay(1);
}
}
}
} else {
gotoAndPlay(48);
}
}
frame 93 {
stop();
}
}
movieClip 1019 {
frame 2 {
stop();
_global.randomshit = 1;
}
}
instance img of movieClip 1019 {
onClipEvent (enterFrame) {
--_global.battle_timer;
if (_global.battle_timer <= 0) {
_global.battle_timer = 1800;
if (_global.battle_stock < 3 && _global.patreon == 0) {
++_global.battle_stock;
} else {
if (_global.battle_stock < 6 && _global.patreon >= 500) {
++_global.battle_stock;
} else {
if (_global.battle_stock < 3) {
++_global.battle_stock;
}
}
}
}
}
}
button 1020 {
on (release) {
_global.lockerboy = 0;
delete eval(_root.onEnterFrame());
_root.gotoAndStop(7);
}
}
button 1021 {
on (release) {
_root.img.cafesex.gotoAndPlay(63);
}
}
instance trouble of movieClip 248 {
onClipEvent (load) {
if (_global.trouble > 100) {
_global.trouble = 100;
}
if (_global.trouble < 0) {
_global.trouble = 0;
}
this.trouble = _global.trouble;
}
onClipEvent (enterFrame) {
if (_global.trouble > 100) {
_global.trouble = 100;
}
if (_global.trouble < 0) {
_global.trouble = 0;
}
this.trouble = _global.trouble;
}
}
frame 16 {
var clip = _root.img;
var easing = 0.75;
var sliderXpos = 0;
var sliderYpos = 0;
var aperatureWidth = 900;
var aperatureHeight = 506;
var imgXpos = (clip._width - aperatureWidth) / 2;
var imgYpos = (clip._height - aperatureHeight) / 2;
var nMC = new com.McPan(clip, easing, sliderXpos, sliderYpos, aperatureWidth, aperatureHeight, imgXpos, imgYpos, true);
_global.nMC = nMC;
}
button 1027 {
on (release) {
gotoAndStop(3);
}
}
movieClip 1032 {
frame 2 {
stop();
_root.new_dialogue(3);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Natan: There she is.';
_root.dialogue_array[2] = 'Agent: You are coming with us for a while.';
_root.dialogue_array[3] = 'Natan: Sorry but we can\'t have delinquents running free around the school.';
_global.dialogue_text = _root.dialogue_array[1];
}
instance boobs of movieClip 115 {
onClipEvent (load) {
restx = 640;
resty = 950;
k = 2;
mass = 13;
damping = 0.9;
pressing = 0;
vx = 0;
vy = 0;
}
onClipEvent (enterFrame) {
this.gotoAndStop(_global.clothing);
var dx = restx - this._x;
var dy = resty - this._y;
if (pressing == 0) {
var ax = (k / mass) * dx;
var ay = (k / mass) * dy;
vx += ax;
vy += ay;
vx *= damping;
vy *= damping;
this._x += vx;
this._y += vy;
var mousex = _xmouse - restx;
var mousey = _ymouse - resty;
}
if (pressing == 1) {
}
if (this._x > restx + 200 || this._x < restx - 200 || this._y < resty - 500 || this._y > resty + 100) {
if (random(3) == 0) {
_global.mood -= 1;
}
if (_global.mood <= 0) {
_global.mood = 0;
}
pressing = 0;
this.stopDrag();
}
}
}
frame 3 {
stop();
_root.new_dialogue(1);
_root.dialogue_array[0] = '';
_root.dialogue_array[1] = 'Natan: Okay you are free to go now.';
_global.dialogue_text = _root.dialogue_array[1];
_global.clothing = 3;
_global.friend = 0;
_global.lasthadsexwith = 0;
_global.failed = 0;
_global.lockerboy = 0;
_global.trouble = 0;
}
}
instance of movieClip 232 {
onClipEvent (load) {
this.gotoAndStop(_global.chair);
}
onClipEvent (enterFrame) {
_root.check_dialogue();
this.gotoAndStop(_global.chair);
this._alpha = _global.hairalpha;
if (_global.dialogue_scene == 1) {
_root.paper_dialogue_box.gotoAndStop(2);
_root.paper_dialogue_box.dialogue_txt_var = _global.dialogue_text;
} else {
_root.paper_dialogue_box.gotoAndStop(1);
}
if (_global.patreon == 0) {
_root.patreon_icon.gotoAndStop(1);
} else {
if (_global.patreon == 100) {
_root.patreon_icon.gotoAndStop(2);
} else {
if (_global.patreon == 500) {
_root.patreon_icon.gotoAndStop(3);
} else {
if (_global.patreon == 1000) {
_root.patreon_icon.gotoAndStop(4);
} else {
if (_global.patreon == 2000) {
_root.patreon_icon.gotoAndStop(5);
} else {
if (_global.patreon == 5000) {
_root.patreon_icon.gotoAndStop(6);
} else {
_root.patreon_icon.gotoAndStop(7);
}
}
}
}
}
}
--_global.battle_timer;
if (_global.battle_timer <= 0) {
_global.battle_timer = 1800;
if (_global.battle_stock < 3 && _global.patreon == 0) {
++_global.battle_stock;
} else {
if (_global.battle_stock < 6 && _global.patreon >= 500) {
++_global.battle_stock;
} else {
if (_global.battle_stock < 3) {
++_global.battle_stock;
}
}
}
}
_root.hand_device.hand_device.battletimer = 'Battle:' + _global.battle_stock + '. Next in:' + _global.battle_timer + '';
}
}
frame 20 {
function enemy_ai(ai, character, difficulty) {
if (difficulty > frame_rate) {
difficulty = frame_rate;
}
ai.Ai_attack_frequency = frame_rate - difficulty;
++ai.Ai_attack_frequency_counter;
if (ai.Ai_attack_frequency_counter >= ai.Ai_attack_frequency) {
if (character.current_endurance > character.endurance) {
character.current_endurance = character.endurance;
}
if (ai.randomCheck(100) <= ai.attack_percent && _root.img.boxer._currentframe < 31) {
var v4 = 0;
if (character.current_endurance > energy_needed_to_punch) {
v4 += ai.Ai_punch_endurance_importance;
} else {
return undefined;
}
if (character.current_endurance <= ai.Ai_endurance_is_low) {
v4 -= ai.Ai_endurance_is_low_importance;
}
if (_root.maiko_boxing_arms._currentframe >= 98 && _root.maiko_boxing_arms._currentframe < 116) {
v4 += ai.Maiko_is_charge_punching_importance;
}
var v6 = int((maiko.current_health / maiko.health) * 100);
v4 += 100 - v6;
var v9 = int((character.current_endurance / character.endurance) * 100);
var v7 = Math.abs(v9 - v6);
if (v7 >= 50) {
v4 -= ai.Ai_low_endurance_vs_high_life_importance;
}
if (character.body_type == 0) {
}
if (_root.maiko_boxing_arms._currentframe >= 80 && _root.maiko_boxing_arms._currentframe < 84) {
v4 -= ai.Ai_opponent_is_blocking_importance;
}
if (v4 >= 100) {
v4 = 100;
}
if (v4 <= 0) {
v4 = 0;
}
_root.percent_to_punch = v4 + '%';
if (ai.randomCheck(100) <= v4) {
character.current_endurance -= energy_needed_to_punch;
if (_global.eglove == 3) {
character.current_endurance -= Math.floor(energy_needed_to_punch / 4);
}
_root.img.boxer.gotoAndPlay('Punch');
}
}
ai.Ai_attack_frequency_counter = 0;
}
}
function endurance_gain(character) {
++frame_counter;
if (frame_counter >= frame_rate) {
if (maiko.current_endurance < maiko.endurance) {
++maiko.current_endurance;
}
if (character.current_endurance < character.endurance) {
++character.current_endurance;
}
if (_global.fightstyle == 2) {
maiko.current_endurance += 2;
}
if (_global.efightstyle == 2) {
maiko.current_endurance += 2;
}
frame_counter = 0;
}
}
function check_if_ai_hit_maiko() {
if (!(_root.maiko_boxing_arms._currentframe > 79 && _root.maiko_boxing_arms._currentframe < 84)) {
maiko.current_health -= current_opponent.melee;
if (_global.eglove == 3) {
maiko.current_health -= current_opponent.melee / 4;
}
current_ai.attack_percent += current_ai.Ai_attack_percent_increase;
current_ai.block_percent -= current_ai.Ai_block_percent_decrease;
if (_global.fightstyle == 1) {
maiko.melee += Math.floor(maiko.melee / 20);
}
_root.maiko_boxing_arms.gotoAndPlay('Hit');
} else {
if (_global.glove == 2) {
} else {
if (_global.eglove == 4) {
maiko.current_health -= Math.floor(current_opponent.melee / 2);
} else {
maiko.current_health -= Math.floor(current_opponent.melee / 4);
}
}
if (_global.glove == 3) {
maiko.current_endurance += 5;
current_opponent.current_endurance -= 5;
} else {
if (_global.glove == 4) {
current_opponent.current_health -= Math.floor(maiko.melee / 10);
}
}
if (_global.fightstyle == 3) {
maiko.current_health += Math.floor(maiko.health / 1000);
}
}
}
function check_if_ai_will_block() {
if (_global.flurrycombo >= 5) {
_global.flurrycombo = 0;
if (current_ai == defensive) {
_root.img.boxer.gotoAndPlay('Guard');
} else {
if (current_ai == agressive && current_opponent.current_endurance <= energy_needed_to_punch) {
_root.img.boxer.gotoAndPlay('Punch');
} else {
if (random(2) == 0) {
_root.img.boxer.gotoAndPlay('Guard');
} else {
if (current_ai == agressive && current_opponent.current_endurance <= energy_needed_to_punch) {
_root.img.boxer.gotoAndPlay('Punch');
} else {
_root.img.boxer.gotoAndPlay('Guard');
}
}
}
}
} else {
if (!(_root.img.boxer._currentframe > 100 && _root.img.boxer._currentframe < 181)) {
if (current_ai.randomCheck(100) <= current_ai.block_percent && !(_root.img.boxer._currentframe > 54 && _root.img.boxer._currentframe < 101)) {
if (current_ai == defensive) {
current_opponent.current_health += 2;
}
_root.img.boxer.gotoAndPlay('Guard');
}
}
}
}
function check_if_ai_will_stop_blocking() {
if (chain_combo == 0) {
current_ai.block_percent -= current_ai.Ai_ease_block_percent;
if (current_ai.randomCheck(100) >= current_ai.block_percent) {
_root.img.boxer.gotoAndPlay(100);
}
}
}
function check_if_maiko_hit_ai() {
if (!(_root.img.boxer._currentframe > 54 && _root.img.boxer._currentframe < 101)) {
current_opponent.current_health -= maiko.melee;
current_ai.attack_percent -= current_ai.Ai_attack_percent_decrease;
current_ai.block_percent += current_ai.Ai_block_percent_increase;
if (_global.efightstyle == 1) {
current_opponent.melee += Math.floor(current_opponent.melee / 20);
}
if (_global.eglove == 3) {
current_opponent.current_health -= Math.floor(maiko.melee / 4);
}
_root.img.boxer.gotoAndPlay('Hit');
if (current_ai.attack_percent <= 0 || current_ai == aggressive) {
current_ai.attack_percent = 20;
} else {
if (current_ai.attack_percent <= 0 || current_ai == balanced) {
current_ai.attack_percent = 30;
} else {
if (current_ai.attack_percent <= 0) {
current_ai.attack_percent = 10;
}
}
}
} else {
if (_global.eglove == 2) {
} else {
if (_global.glove == 4) {
current_opponent.current_health -= Math.floor(maiko.melee / 2);
} else {
current_opponent.current_health -= Math.floor(maiko.melee / 4);
}
}
if (_global.eglove == 3) {
current_opponent.current_endurance += 5;
maiko.current_endurance -= 5;
} else {
if (_global.eglove == 4) {
maiko.current_health -= Math.floor(current_opponent.melee / 10);
}
}
if (_global.efightstyle == 3) {
current_opponent.current_health += Math.floor(current_opponent.health / 1000);
}
}
}
function check_if_maiko_charge_hit_ai() {
if (!(_root.img.boxer._currentframe > 54 && _root.img.boxer._currentframe < 101)) {
current_opponent.current_health -= maiko.melee;
} else {
current_opponent.current_health -= maiko.melee * 2;
}
current_ai.attack_percent -= current_ai.Ai_attack_percent_decrease;
current_ai.block_percent += current_ai.Ai_block_percent_increase;
if (current_ai == aggressive) {
current_opponent.melee += Math.floor(current_opponent.melee / 10);
}
_root.img.boxer.gotoAndPlay('Stun');
}
function opponent_oub_check(ai) {
if (ai.attack_percent > 100) {
ai.attack_percent = 100;
}
if (ai.attack_percent < 0) {
ai.attack_percent = 0;
}
if (ai.block_percent > 100) {
ai.block_percent = 100;
}
if (ai.block_percent < 0) {
ai.block_percent = 0;
}
if (current_opponent.current_health <= 0) {
Key.removeListener(keyListenerX);
Key.removeListener(keyListenerZ);
_root.img.gotoAndStop(3);
_root.gotoAndStop(14);
}
if (maiko.current_health <= 0) {
Key.removeListener(keyListenerX);
Key.removeListener(keyListenerZ);
_root.img.gotoAndStop(4);
_root.gotoAndStop(14);
}
}
var chain_combo = 0;
var ai_chain_combo = 0;
var maiko_is_guarding = 0;
_global.stuncd = 0;
_global.flurrycombo = 0;
var energy_needed_to_punch = 4;
var extra_energy_needed_to_combo = 3;
if (_global.glove == 2) {
extra_energy_needed_to_combo = 1;
}
var energy_recovered_every_active_period = 1;
var balanced = new UMCCAi(0);
var aggressive = new UMCCAi(1);
var defensive = new UMCCAi(2);
_global.temp_fitness = _global.fitness;
_global.temp_melee = _global.melee;
_global.temp_health = _global.health;
delete maiko;
delete david;
var maiko = new UMCCchar('You', _global.fitness, _global.melee, _global.health, 0, 0);
var david = new UMCCchar('Opponent', _global.efitness, _global.emelee, _global.ehealth, 0, 0);
var frame_rate = 30;
var frame_counter = 0;
Key.removeListener(keyListenerZ);
keyListenerZ = new Object();
keyListenerZ.onKeyUp = function () {
if (Key.getCode() == 90) {
maiko_is_guarding = 0;
if (_root.maiko_boxing_arms._currentframe >= 98 && _root.maiko_boxing_arms._currentframe < 116) {
_root.maiko_boxing_arms.gotoAndStop(1);
}
if (_root.maiko_boxing_arms._currentframe > 30 && _root.maiko_boxing_arms._currentframe < 74 && maiko.current_endurance >= energy_needed_to_punch + extra_energy_needed_to_combo && chain_combo == 0) {
chain_combo = 1;
maiko.current_endurance -= energy_needed_to_punch + extra_energy_needed_to_combo;
if (_global.glove == 3) {
maiko.current_endurance -= 1;
}
}
if (_root.maiko_boxing_arms._currentframe < 31 && maiko.current_endurance >= energy_needed_to_punch) {
maiko.current_endurance -= energy_needed_to_punch;
if (_global.glove == 2) {
maiko.current_endurance += 1;
}
if (_global.glove == 3) {
maiko.current_endurance -= 1;
}
_root.maiko_boxing_arms.gotoAndPlay('Punch');
}
}
};
keyListenerZ.onKeyDown = function () {
if (Key.getCode() == 90) {
maiko_is_guarding = 0;
if (_root.maiko_boxing_arms._currentframe < 31) {
_root.maiko_boxing_arms.gotoAndStop(98);
} else {
if (_root.maiko_boxing_arms._currentframe >= 98 && _root.maiko_boxing_arms._currentframe < 116 && _global.stuncd + 98 == _root.maiko_boxing_arms._currentframe) {
_root.maiko_boxing_arms.gotoAndStop(_root.maiko_boxing_arms._currentframe + 1);
++_global.stuncd;
}
}
}
};
Key.addListener(keyListenerZ);
Key.removeListener(keyListenerX);
keyListenerX = new Object();
keyListenerX.onKeyDown = function () {
if (Key.getCode() == 88) {
if (_root.maiko_boxing_arms._currentframe < 31) {
maiko_is_guarding = 1;
_root.maiko_boxing_arms.gotoAndPlay('Guard');
}
}
};
keyListenerX.onKeyUp = function () {
if (Key.getCode() == 88) {
maiko_is_guarding = 0;
}
};
Key.addListener(keyListenerX);
Mouse.removeListener(mouseListenerB);
mouseListenerB = new Object();
mouseListenerB.onMouseDown = function () {};
mouseListenerB.onMouseUp = function () {
maiko_is_guarding = 0;
if (_root.maiko_boxing_arms._currentframe >= 98 && _root.maiko_boxing_arms._currentframe < 116) {
_root.maiko_boxing_arms.gotoAndStop(1);
}
if (_root.maiko_boxing_arms._currentframe > 30 && _root.maiko_boxing_arms._currentframe < 74 && maiko.current_endurance >= energy_needed_to_punch + extra_energy_needed_to_combo && chain_combo == 0) {
chain_combo = 1;
maiko.current_endurance -= energy_needed_to_punch + extra_energy_needed_to_combo;
}
if (_root.maiko_boxing_arms._currentframe < 31 && maiko.current_endurance >= energy_needed_to_punch) {
maiko.current_endurance -= energy_needed_to_punch;
_root.maiko_boxing_arms.gotoAndPlay('Punch');
}
};
mouseListenerB.onMouseMove = function () {};
Mouse.addListener(mouseListenerB);
var current_opponent = david;
var Ai_difficuilty = random(11) + 20;
_root.ai_level = Ai_difficuilty;
_root.ai_type = _global.echarname;
var ai_select = _global.efightstyle;
_global.emelee *= 3;
if (ai_select == 2) {
var Ai_health = _global.ehealth + Math.floor(_global.ehealth / 2);
var Ai_melee = _global.emelee + Math.floor(_global.emelee / 4);
var current_ai = balanced;
}
if (ai_select == 1) {
var Ai_health = _global.ehealth + Math.floor(_global.ehealth / 4);
var Ai_melee = _global.emelee + Math.floor(_global.emelee / 2);
var current_ai = aggressive;
}
if (ai_select == 3) {
var Ai_health = _global.ehealth * 3;
var Ai_melee = _global.emelee;
var current_ai = defensive;
}
var char_select = _global.fightstyle;
if (char_select == 2) {
var char_health = _global.health + Math.floor(_global.health / 2);
var char_melee = _global.melee + Math.floor(_global.melee / 4);
var current_ai = balanced;
}
if (char_select == 1) {
var char_health = _global.health + Math.floor(_global.health / 4);
var char_melee = _global.melee + Math.floor(_global.melee / 2);
var current_ai = aggressive;
}
if (char_select == 3) {
var char_health = _global.health * 3;
var char_melee = _global.melee;
var current_ai = defensive;
}
current_opponent.health = Ai_health;
current_opponent.current_health = Ai_health;
Ai_melee = Math.floor(Ai_melee);
current_opponent.melee = Ai_melee;
current_opponent.endurance = _global.efitness;
maiko.health = char_health;
maiko.current_health = char_health;
maiko.melee = char_melee;
maiko.endurance = _global.fitness;
maiko.current_endurance = maiko.endurance;
delete eval(_root.onEnterFrame());
_root.onEnterFrame = function () {
trace(_global.flurrycombo);
if (!(_root.maiko_boxing_arms._currentframe >= 51 && _root.maiko_boxing_arms._currentframe < 62)) {
_global.flurrycombo = 0;
}
if (!(_root.maiko_boxing_arms._currentframe >= 98 && _root.maiko_boxing_arms._currentframe < 116)) {
if (_global.stuncd > 0) {
--_global.stuncd;
}
if (_global.stuncd < 0) {
_global.stuncd = 0;
}
}
if (_root._currentframe == 10 || _root._currentframe == 13) {
enemy_ai(current_ai, current_opponent, Ai_difficuilty);
endurance_gain(current_opponent);
opponent_oub_check(current_ai);
_root.opponent_endurance = current_opponent.current_endurance;
_root.opponent_health = current_opponent.current_health;
_root.attack_rate = current_ai.attack_percent;
_root.block_rate = current_ai.block_percent;
_root.opponent_damage = current_opponent.melee;
_root.maiko_endurance = maiko.current_endurance;
_root.maiko_health = maiko.current_health;
_root.maiko_damage = maiko.melee;
_root.hairpin_power = _global.HairpinEnergy;
if (Key.isDown(1) == true) {
maiko_is_guarding = 0;
if (_root.maiko_boxing_arms._currentframe < 31) {
_root.maiko_boxing_arms.gotoAndStop(98);
} else {
if (_root.maiko_boxing_arms._currentframe >= 98 && _root.maiko_boxing_arms._currentframe < 116 && _global.stuncd + 98 == _root.maiko_boxing_arms._currentframe) {
++_global.stuncd;
_root.maiko_boxing_arms.gotoAndStop(_root.maiko_boxing_arms._currentframe + 1);
}
}
}
}
};
}