Combined Code
frame 1 {
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
this.menu = my_cm;
}
movieClip 7 {
frame 3 {
if (_global.click_helper[2] > 0) {
_global.clickass(random(3) + 1, _global.click_helper_2_base_damage, _global.click_helper[2]);
}
}
frame 11 {
if (_global.click_helper[2] > 0) {
_global.clickass(random(3) + 1, _global.click_helper_2_base_damage, _global.click_helper[2]);
}
}
frame 15 {
if (_global.click_helper[1] > 0) {
_global.clickass(random(3) + 1, _global.click_helper_1_base_damage, _global.click_helper[1]);
}
}
frame 19 {
if (_global.click_helper[2] > 0) {
_global.clickass(random(3) + 1, _global.click_helper_2_base_damage, _global.click_helper[2]);
}
}
frame 26 {
if (_global.click_helper[2] > 0) {
_global.clickass(random(3) + 1, _global.click_helper_2_base_damage, _global.click_helper[2]);
}
}
frame 30 {
if (_global.click_helper[1] > 0) {
_global.clickass(random(3) + 1, _global.click_helper_1_base_damage, _global.click_helper[1]);
}
}
}
movieClip 16 {
}
movieClip 18 {
}
movieClip 20 {
}
movieClip 21 {
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 {
_root.gotoAndPlay(2);
}
}
frame 2 {
_global.Money = 0;
_global.hud = 1;
_global.click_helper_1_base_damage = 1;
_global.click_helper_2_base_damage = 5;
_global.click_helper_3_base_damage = 20;
_global.senthp = 10;
_global.senthp2 = 10;
_global.realclicks = 0;
_global.playerlvl = 1;
_global.click_damage_bonus = 0;
_global.click_damage = _global.playerlvl + _global.click_damage_bonus;
_global.dps_damage = 0;
_global.total_girls = 3;
_global.current_character = 1;
_global.character_name = _global.current_character;
_global.butts = 0;
_global.area_number = 1;
_global.total_character_health = _global.area_number * 10;
_global.current_character_health = _global.total_character_health;
_global.character_name = new Array();
_global.character_name[0] = null;
_global.character_name[1] = 'Maiko';
_global.character_name[2] = 'Pattie';
_global.character_name[3] = 'Zytra';
_global.panty_1 = new Array();
_global.panty_1[0] = null;
_global.panty_1[1] = 0;
_global.panty_1[2] = 1;
_global.panty_1[3] = 0;
_global.panty_1[4] = 0;
_global.panty_1[5] = 0;
_global.panty_1[6] = 0;
_global.panty_1[7] = 0;
_global.panty_1[8] = 0;
_global.panty_1[9] = 0;
_global.panty_1[10] = 0;
_global.panty_1[11] = 0;
_global.panty_2 = new Array();
_global.panty_2[0] = null;
_global.panty_2[1] = 0;
_global.panty_2[2] = 1;
_global.panty_2[3] = 0;
_global.panty_2[4] = 0;
_global.panty_2[5] = 0;
_global.panty_2[6] = 0;
_global.panty_2[7] = 0;
_global.panty_2[8] = 0;
_global.panty_2[9] = 0;
_global.panty_2[10] = 0;
_global.panty_2[11] = 0;
_global.panty_3 = new Array();
_global.panty_3[0] = null;
_global.panty_3[1] = 0;
_global.panty_3[2] = 1;
_global.panty_3[3] = 0;
_global.panty_3[4] = 0;
_global.panty_3[5] = 0;
_global.panty_3[6] = 0;
_global.panty_3[7] = 0;
_global.panty_3[8] = 0;
_global.panty_3[9] = 0;
_global.panty_3[10] = 0;
_global.panty_3[11] = 0;
_global.panty_queue = new Array();
_global.panty_queue[0] = null;
_global.panty_queue[1] = 0;
_global.panty_queue[2] = 0;
_global.panty_queue[3] = 0;
_global.panty_queue[4] = 0;
_global.panty_queue[5] = 0;
_global.panty_queue[6] = 0;
_global.panty_queue[7] = 0;
_global.panty_queue[8] = 0;
_global.panty_queue[9] = 0;
_global.panty_queue[10] = 0;
_global.panty_queue[11] = 0;
_global.click_helper = new Array();
_global.click_helper[0] = null;
_global.click_helper[1] = 0;
_global.click_helper[2] = 0;
_global.click_helper[3] = 0;
_global.click_helper[4] = 0;
_global.click_helper[5] = 0;
_global.panty_cost = new Array();
_global.panty_cost[0] = null;
_global.panty_cost[1] = 0;
_global.panty_cost[2] = 0;
_global.panty_cost[3] = 20;
_global.panty_cost[4] = 50;
_global.panty_cost[5] = 100;
_global.panty_cost[6] = 250;
_global.panty_cost[7] = 500;
_global.panty_cost[8] = 1000;
_global.panty_cost[9] = 3000;
_global.panty_cost[10] = 4000;
_global.panty_cost[11] = 5000;
_global.maiko_panty_progress = 2;
_global.pattie_panty_progress = 2;
_global.zytra_panty_progress = 2;
var slap1 = new Sound(_root.slapsfx);
slap1.attachSound('slap1');
var slap2 = new Sound(_root.slapsfx);
slap2.attachSound('slap2');
var Decision = new Sound(_root.voicesfx);
Decision.attachSound('Decision');
var voice_slap1 = new Sound(_root.voicesfx);
voice_slap1.attachSound('voice_slap1');
var voice_slap2 = new Sound(_root.voicesfx);
voice_slap2.attachSound('voice_slap2');
var voice_slap3 = new Sound(_root.voicesfx);
voice_slap3.attachSound('voice_slap3');
var voice_slap4 = new Sound(_root.voicesfx);
voice_slap4.attachSound('voice_slap4');
var voice_slap5 = new Sound(_root.voicesfx);
voice_slap5.attachSound('voice_slap5');
var voice_slap6 = new Sound(_root.voicesfx);
voice_slap6.attachSound('voice_slap6');
var voice_slap7 = new Sound(_root.voicesfx);
voice_slap7.attachSound('voice_slap7');
var Maiko_slapped1 = new Sound(_root.voicesfx);
Maiko_slapped1.attachSound('Maiko_slapped1');
var Maiko_slapped2 = new Sound(_root.voicesfx);
Maiko_slapped2.attachSound('Maiko_slapped2');
var Maiko_slapped3 = new Sound(_root.voicesfx);
Maiko_slapped3.attachSound('Maiko_slapped3');
var Maiko_slapped4 = new Sound(_root.voicesfx);
Maiko_slapped4.attachSound('Maiko_slapped4');
var Maiko_slapped5 = new Sound(_root.voicesfx);
Maiko_slapped5.attachSound('Maiko_slapped5');
var Maiko_slapped6 = new Sound(_root.voicesfx);
Maiko_slapped6.attachSound('Maiko_slapped6');
var girl_short = new Sound(_root.mainsong);
girl_short.attachSound('girl_short');
var clank = new Sound(_root.metalsfx);
clank.attachSound('clank');
var nya = new Sound(_root.voicesfx);
nya.attachSound('nya');
slap1.setVolume(20);
slap2.setVolume(20);
clank.setVolume(20);
_root.girl_short.start(0, 99);
_global.girl_slapped = new Array();
_global.girl_slapped[0] = null;
_global.girl_slapped[1] = girl_slapped1;
_global.girl_slapped[2] = girl_slapped2;
_global.girl_slapped[3] = girl_slapped3;
_global.girl_slapped[4] = girl_slapped4;
_global.girl_slapped[5] = girl_slapped5;
_global.girl_slapped[6] = girl_slapped6;
_global.girl_slapped[7] = Maiko_slapped1;
_global.girl_slapped[8] = Maiko_slapped2;
_global.girl_slapped[9] = Maiko_slapped3;
_global.girl_slapped[10] = Maiko_slapped4;
_global.girl_slapped[11] = Maiko_slapped5;
_global.girl_slapped[12] = Maiko_slapped6;
}
movieClip 24 {
}
movieClip 31 {
frame 1 {
stop();
}
}
movieClip 34 {
}
movieClip 39 {
}
button 40 {
on (release) {
if (_global.Money >= _global.playerlvl * 5) {
_global.Money -= _global.playerlvl * 5;
++_global.playerlvl;
_root.Decision.start();
if (random(4) == 0) {
_root.kitty.gotoAndStop(2);
}
}
}
}
movieClip 43 {
}
button 44 {
on (release) {
if (_global.Money >= 50 + _global.click_helper[1] * 50) {
_global.Money -= 50 + _global.click_helper[1] * 50;
++_global.click_helper[1];
_root.Decision.start();
}
}
}
movieClip 47 {
}
button 48 {
on (release) {
if (_global.Money >= _global.panty_cost[_global.maiko_panty_progress + 1] && _global.maiko_panty_progress < 11) {
_global.Money -= _global.panty_cost[_global.maiko_panty_progress + 1];
++_global.maiko_panty_progress;
_global.panty_1[_global.maiko_panty_progress] = 1;
_root.Decision.start();
if (random(4) == 0) {
_root.kitty.gotoAndStop(2);
}
}
if (_global.maiko_panty_progress == 1) {
_global.panty_1[1] = 1;
}
}
}
movieClip 51 {
}
button 52 {
on (release) {
if (_global.Money >= _global.panty_cost[_global.pattie_panty_progress + 1] && _global.pattie_panty_progress < 11) {
_global.Money -= _global.panty_cost[_global.pattie_panty_progress + 1];
++_global.pattie_panty_progress;
_global.panty_2[_global.pattie_panty_progress] = 1;
_root.Decision.start();
if (random(4) == 0) {
_root.kitty.gotoAndStop(2);
}
}
if (_global.pattie_panty_progress == 1) {
_global.panty_2[1] = 1;
}
}
}
movieClip 55 {
}
button 56 {
on (release) {
if (_global.Money >= _global.panty_cost[_global.zytra_panty_progress + 1] && _global.zytra_panty_progress < 11) {
_global.Money -= _global.panty_cost[_global.zytra_panty_progress + 1];
++_global.zytra_panty_progress;
_global.panty_3[_global.zytra_panty_progress] = 1;
_root.Decision.start();
if (random(4) == 0) {
_root.kitty.gotoAndStop(2);
}
}
if (_global.zytra_panty_progress == 1) {
_global.panty_3[1] = 1;
}
}
}
movieClip 59 {
}
button 60 {
on (release) {
if (_global.Money >= 1000 + _global.click_helper[2] * 1000) {
_global.Money -= 1000 + _global.click_helper[2] * 1000;
++_global.click_helper[2];
_root.Decision.start();
}
}
}
movieClip 81 {
frame 1 {
stop();
}
}
movieClip 102 {
frame 1 {
stop();
}
}
movieClip 109 {
frame 1 {
stop();
}
}
movieClip 112 {
}
button 113 {
on (release) {
if (nomusic._currentframe == 2) {
nomusic.gotoAndStop(1);
_root.girl_short.setVolume(100);
} else {
nomusic.gotoAndStop(2);
_root.girl_short.setVolume(0);
}
}
}
movieClip 116 {
}
button 117 {
on (release) {
if (nosound._currentframe == 2) {
nosound.gotoAndStop(1);
_root.slap1.setVolume(20);
_root.clank.setVolume(20);
_root.Decision.setVolume(100);
} else {
nosound.gotoAndStop(2);
_root.slap1.setVolume(0);
_root.clank.setVolume(0);
_root.Decision.setVolume(0);
}
}
}
movieClip 120 {
frame 1 {
stop();
}
}
movieClip 175 {
frame 1 {
stop();
}
}
movieClip 176 {
instance of movieClip 81 {
onClipEvent (enterFrame) {
this.gotoAndStop(_global.maiko_panty_progress + 1);
}
}
instance of movieClip 102 {
onClipEvent (enterFrame) {
this.gotoAndStop(_global.pattie_panty_progress + 1);
}
}
instance complete of movieClip 109 {
onClipEvent (enterFrame) {
if (_global.maiko_panty_progress >= 11 && _global.pattie_panty_progress >= 11 && _global.zytra_panty_progress >= 11) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 175 {
onClipEvent (enterFrame) {
this.gotoAndStop(_global.zytra_panty_progress + 1);
}
}
}
instance hud of movieClip 176 {
onClipEvent (load) {
if (_global.hud == 0) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
_global.click_damage = _global.playerlvl + _global.click_damage_bonus;
this.costtolvldmg = _global.playerlvl * 5;
this.areax = _global.area_number;
this.chestercost = 50 + _global.click_helper[1] * 50;
this.chesterlvl = _global.click_helper[1];
this.acecost = 1000 + _global.click_helper[2] * 1000;
this.acelvl = _global.click_helper[2];
this.davidlvl = _global.maiko_panty_progress - 1;
this.kylelvl = _global.pattie_panty_progress - 1;
this.alfielvl = _global.zytra_panty_progress - 1;
if (_global.maiko_panty_progress < 11) {
this.davidcost = _global.panty_cost[_global.maiko_panty_progress + 1];
} else {
this.davidcost = 'Complete!';
}
if (_global.pattie_panty_progress < 11) {
this.kylecost = _global.panty_cost[_global.pattie_panty_progress + 1];
} else {
this.kylecost = 'Complete!';
}
if (_global.zytra_panty_progress < 11) {
this.alfiecost = _global.panty_cost[_global.zytra_panty_progress + 1];
} else {
this.alfiecost = 'Complete!';
}
this.money = _global.Money;
this.character_name = _global.character_name[_global.current_character];
this.butts = _global.butts;
this.clickdmg = _global.click_damage;
this.dpsdmg = _global.click_helper_1_base_damage * _global.click_helper[1] * 2 + _global.click_helper_2_base_damage * _global.click_helper[2] * 4;
if (_global.current_character_health < 0) {
_global.current_character_health = 0;
}
this.ebar.gotoAndStop(Math.ceil((_global.current_character_health / _global.total_character_health) * 100));
if (_global.current_character_health == 0) {
_global.butterfly = 0;
if (random(30) == 0) {
_root.sent.gotoAndStop(2);
}
if (random(40) == 0) {
_root.sent2.gotoAndStop(2);
}
_global.realclicks = 0;
_global.Money += _global.area_number;
if (_global.click_helper[2] > 0) {
_global.Money += _global.area_number;
}
_root.clicker.play();
_global.girl_slapped[random(12) + 1].start();
if (_global.current_character < _global.total_girls) {
++_global.current_character;
} else {
_global.current_character = 1;
}
if (_global.butts < 10) {
++_global.butts;
} else {
_global.butts = 0;
++_global.area_number;
_root.kitty.gotoAndStop(1);
_root.bg.gotoAndStop(random(15) + 1);
}
_global.total_character_health = _global.area_number * 10;
_global.current_character_health = _global.total_character_health;
}
if (_global.hud == 0) {
this._visible = false;
} else {
this._visible = true;
}
}
}
frame 4 {
_global.clickass = function (num, helper, helperlv) {
if (helper == 0) {
_root.slap1.start();
if (_root.sent._currentframe == 1) {
_global.current_character_health -= _global.click_damage;
} else {
_global.current_character_health -= 1;
}
if (num == 2) {
++_global.realclicks;
if (_global.realclicks >= 10) {
_root.clicker.girl.ass.gotoAndStop(1);
}
}
} else {
if (_root.sent._currentframe == 1) {
_global.current_character_health -= helper * helperlv + _global.click_damage_bonus;
} else {
_global.current_character_health -= 1;
}
}
if (num == 1) {
_root.clicker.girl.gotoAndPlay(9);
} else {
if (num == 2) {
_root.clicker.girl.gotoAndPlay(2);
} else {
if (num == 3) {
_root.clicker.girl.gotoAndPlay(17);
}
}
}
};
_global.panty_select = function () {
_global.panty_count = 0;
_global.panty_total = 0;
_global.panty_result = 0;
_global.panty_queue_position = 1;
_global.panty_queue[1] = 0;
_global.panty_queue[2] = 0;
_global.panty_queue[3] = 0;
_global.panty_queue[4] = 0;
_global.panty_queue[5] = 0;
_global.panty_queue[6] = 0;
_global.panty_queue[7] = 0;
_global.panty_queue[8] = 0;
_global.panty_queue[9] = 0;
_global.panty_queue[10] = 0;
_global.panty_queue[11] = 0;
_global.panty_count = 1;
while (_global.panty_count < 11) {
if (_global['panty_' + _global.current_character][_global.panty_count] == 1) {
++_global.panty_total;
_global.panty_queue[_global.panty_queue_position] = _global.panty_count;
++_global.panty_queue_position;
}
++_global.panty_count;
}
_global.panty_result = _global.panty_queue[random(_global.panty_total) + 1];
_root.clicker.girl.ass.gotoAndStop(_global.panty_result);
};
}
frame 5 {
stop();
}
movieClip 225 {
frame 1 {
_global.butterfly = 0;
}
frame 1 {
stop();
}
frame 2 {
_global.butterfly = 0;
}
frame 3 {
_global.butterfly = 0;
}
frame 4 {
_global.butterfly = 0;
}
frame 5 {
if (_global.click_helper[1] > 0 || _global.click_helper[2] > 0) {
_global.butterfly = 1;
} else {
_global.butterfly = 0;
}
}
frame 6 {
_global.butterfly = 0;
}
frame 7 {
_global.butterfly = 0;
}
frame 8 {
_global.butterfly = 0;
}
frame 9 {
_global.butterfly = 0;
}
frame 10 {
_global.butterfly = 0;
}
frame 11 {
_global.butterfly = 0;
}
frame 12 {
_global.butterfly = 0;
}
frame 13 {
if (_global.click_helper[1] > 0 || _global.click_helper[2] > 0) {
_global.butterfly = 1;
} else {
_global.butterfly = 0;
}
}
frame 14 {
if (_global.click_helper[1] > 0 || _global.click_helper[2] > 0) {
_global.butterfly = 1;
} else {
_global.butterfly = 0;
}
}
frame 15 {
if (_global.click_helper[1] > 0 || _global.click_helper[2] > 0) {
_global.butterfly = 1;
} else {
_global.butterfly = 0;
}
}
}
movieClip 230 {
frame 1 {
stop();
}
}
button 232 {
on (release) {
_global.clickass(2, 0, 0);
}
}
button 233 {
on (release) {
_global.clickass(3, 0, 0);
}
}
button 234 {
on (release) {
_global.clickass(1, 0, 0);
}
}
movieClip 235 {
frame 1 {
stop();
}
frame 8 {
gotoAndStop(1);
}
frame 16 {
gotoAndStop(1);
}
frame 24 {
gotoAndStop(1);
}
}
movieClip 240 {
frame 1 {
stop();
}
}
movieClip 243 {
frame 1 {
stop();
}
frame 8 {
gotoAndStop(1);
}
frame 16 {
gotoAndStop(1);
}
frame 24 {
gotoAndStop(1);
}
}
movieClip 248 {
frame 1 {
stop();
}
}
movieClip 251 {
frame 1 {
stop();
}
frame 8 {
gotoAndStop(1);
}
frame 16 {
gotoAndStop(1);
}
frame 24 {
gotoAndStop(1);
}
}
movieClip 252 {
frame 1 {
_global.panty_select();
}
frame 10 {
stop();
_global.current_character = 1;
}
frame 20 {
_global.panty_select();
}
frame 30 {
stop();
_global.current_character = 2;
}
frame 40 {
_global.panty_select();
}
frame 50 {
stop();
_global.current_character = 3;
}
frame 60 {
gotoAndPlay(1);
}
}
movieClip 255 {
}
button 257 {
on (release) {
_global.Money += 500;
}
}
movieClip 259 {
}
movieClip 262 {
instance cambox of movieClip 259 {
onClipEvent (load) {
this._alpha = 0;
}
}
}
movieClip 263 {
}
instance butterfly of movieClip 263 {
onClipEvent (enterFrame) {
if (_global.butterfly == 1) {
this._visible = true;
} else {
this._visible = false;
}
}
}
button 266 {
on (release) {
--_global.senthp;
_root.clank.start();
if (_global.senthp <= 0) {
_global.senthp = 10;
gotoAndStop(1);
}
}
}
movieClip 267 {
frame 1 {
stop();
}
instance sbar of movieClip 31 {
onClipEvent (enterFrame) {
if (_global.senthp == 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(_global.senthp * 10);
}
}
}
}
button 270 {
on (release) {
--_global.senthp2;
_root.clank.start();
if (_global.senthp2 <= 0) {
_global.playerlvl += 1;
_global.senthp2 = 10;
gotoAndStop(1);
}
}
}
movieClip 271 {
frame 1 {
stop();
}
instance sbar of movieClip 31 {
onClipEvent (enterFrame) {
if (_global.senthp2 == 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(_global.senthp2 * 10);
}
}
}
}
movieClip 277 {
frame 1 {
stop();
_global.click_damage_bonus = 0;
}
frame 2 {
_global.click_damage_bonus = _global.click_damage;
_root.nya.start();
}
}