Combined Code
frame 1 {
function finishPunishment() {
gotoAndPlay('spankingOver');
}
var sonidito = new Sound();
sonidito.attachSound('bgS');
var spankingOver = false;
var spankee = new String();
var MiMenu = new ContextMenu();
var nalgadasN = 0;
var nalgadasL = 0;
var op1 = new ContextMenuItem();
var op2 = new ContextMenuItem();
var op3 = new ContextMenuItem();
var op4 = new ContextMenuItem();
op1.caption = 'random spankee';
op2.caption = 'spank only Nobu (Calico Cat)';
op3.caption = 'spank Only Ly (Wolf)';
op4.caption = 'End Punishment';
op1.onSelect = function () {
spankee = 'random';
};
op2.onSelect = function () {
spankee = 'Nobu';
trace('Nobu necesita más las Nalgadas');
};
op3.onSelect = function () {
spankee = 'Ly';
trace('Ly necesita más las Nalgadas');
};
op4.onSelect = function () {
if (spankingOver != true) {
if (nalgadasN >= 30 && nalgadasL >= 30) {
spankingOver = true;
trace('Estos niños Malos han tenido suficiente Castigo');
} else {
trace('estos niños Malos aun no han tenido suficiente, son necesarias más nalgadas');
}
}
if (restart == true) {
trace('al parecer estos niños necesitan más nalgadas');
restart = false;
spankingOver = false;
letreroL.gotoAndPlay(1);
letreroN.gotoAndPlay(1);
gotoAndPlay(2);
op4.caption = 'End Punishment';
}
};
MiMenu.hideBuiltInItems();
MiMenu.customItems.push(op1, op2, op3, op4);
this.menu = MiMenu;
sonidito.start();
sonidito.onSoundComplete = function () {
sonidito.start();
};
letreroL.lS = 0;
letreroN.nS = 0;
this._quality = 'medium';
randnum = Math.floor(Math.random() * 100);
if (randnum % 2 == 0) {
gotoAndPlay(2);
} else {
gotoAndPlay(27);
}
}
movieClip 5 {
}
movieClip 8 {
}
movieClip 10 {
}
movieClip 17 {
}
movieClip 21 {
}
movieClip 30 {
}
movieClip 33 {
}
movieClip 34 {
}
movieClip 39 {
}
movieClip 41 {
}
movieClip 43 {
}
movieClip 45 {
}
movieClip 47 {
}
movieClip 49 {
}
movieClip 51 {
}
movieClip 53 {
}
movieClip 56 {
}
movieClip 64 {
}
movieClip 66 {
frame 1 {
stop();
}
}
movieClip 71 {
frame 1 {
stop();
}
}
movieClip 73 {
}
// unknown tag 88 length 73
movieClip 80 {
}
movieClip 82 {
}
// unknown tag 88 length 148
movieClip 93 {
frame 10 {
stop();
}
frame 22 {
gotoAndStop(10);
}
}
movieClip 95 {
}
movieClip 105 {
frame 10 {
stop();
}
frame 21 {
gotoAndStop(10);
}
}
movieClip 108 {
}
frame 13 {
letreroN.nS += 1;
nalgadasN += 1;
letreroN.gotoAndPlay('nalgada');
pompisNobu.nextFrame();
}
movieClip 110 {
}
movieClip 112 {
}
movieClip 114 {
}
frame 26 {
if (!spankingOver) {
switch (spankee) {
case 'Nobu':
gotoAndPlay(2);
break;
break;
case 'Ly':
default:
randnum = Math.floor(Math.random() * 100);
if (randnum % 2 == 0) {
gotoAndPlay(2);
}
}
} else {
this.stop();
finishPunishment();
}
}
frame 37 {
letreroL.lS += 1;
nalgadasL += 1;
letreroL.gotoAndPlay('nalgada');
pompisLy.nextFrame();
}
movieClip 116 {
}
frame 51 {
if (!spankingOver) {
switch (spankee) {
case 'Nobu':
gotoAndPlay(2);
break;
case 'Ly':
gotoAndPlay(27);
break;
default:
randnum = Math.floor(Math.random() * 100);
if (randnum % 2 == 0) {
gotoAndPlay(27);
} else {
gotoAndPlay(2);
}
}
} else {
this.stop();
finishPunishment();
}
}
frame 102 {
stop();
restart = true;
op4.caption = 'restart Punishment';
}