Combined Code
frame 1 {
function changePantyColor(SET) {
if (SET == undefined) {
++pantyColor;
if (pantyColor > pantyColorTotal) {
pantyColor = 1;
}
} else {
pantyColor = SET;
}
setPantyColor();
}
function setPantyColor() {
_root.Panties.Panties.dark.gotoAndStop(pantyColor);
_root.Panties.Panties.light.gotoAndStop(pantyColor);
_root.Panties.Panties.base.gotoAndStop(pantyColor);
if (Naked) {
_root.Bra1.gotoAndStop('disabled');
_root.Bra2.gotoAndStop('disabled');
_root.Cunt.penis._alpha = 100;
if (CurrentChar == 7) {
_root.Panties.gotoAndStop(4);
} else {
_root.Panties.gotoAndStop(3);
}
} else {
_root.Bra1.gotoAndStop(pantyColor);
_root.Bra2.gotoAndStop(pantyColor);
_root.Cunt.penis._alpha = 0;
}
}
function setCharParts(ROLE, CHAR) {
if (ROLE == 'BODY') {
changePantyColor(defaultPantyColors[CHAR]);
_root.Head.gotoAndStop(CHAR);
_root.Neck.gotoAndStop(CHAR);
_root.Body.gotoAndStop(CHAR);
_root.Arm1.gotoAndStop(CHAR);
_root.Arm2.gotoAndStop(CHAR);
_root.Arm3.gotoAndStop(CHAR);
_root.Hand.gotoAndStop(CHAR);
_root.Butt1.gotoAndStop(CHAR);
_root.Butt2.gotoAndStop(CHAR);
_root.Leg1.gotoAndStop(CHAR);
_root.Leg2.gotoAndStop(CHAR);
_root.Cunt.gotoAndStop(CHAR);
_root.Breasts.gotoAndStop(CHAR);
_root.Ass1.gotoAndStop(CHAR);
_root.Ass2.gotoAndStop(CHAR);
_root.HairBack.gotoAndStop(CHAR);
_root.HairLong.gotoAndStop(CHAR);
_root.Tail.gotoAndStop(CHAR);
}
if (ROLE == 'EXTRA') {
_root.Panties.gotoAndStop(CHAR);
_root.Panties2.gotoAndStop(CHAR);
if (CHAR == 3) {
Naked = true;
} else {
Naked = false;
}
}
if (ROLE == 'FART') {
_root.Fart.gotoAndStop(CHAR);
}
}
function syncAllParts(LABEL) {
_root.gotoAndPlay(LABEL);
_root.Panties.Panties.gotoAndPlay(LABEL);
_root.Panties2.Panties2.gotoAndPlay(LABEL);
_root.Head.Head.gotoAndPlay(LABEL);
}
var CharBody = 1;
var CharExtra = 1;
var FartExtra = 1;
var Naked = false;
var CurrentChar = 1;
var pantyColor = 2;
var pantyColorTotal = 24;
var defaultPantyColors = new Array(NaN, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24);
_root.onEnterFrame = function () {
setPantyColor();
};
setCharParts('BODY', 1);
setCharParts('EXTRA', 1);
i = 0;
while (i < pantyColorTotal) {
if (i < 10) {
digitFill = '0';
} else {
digitFill = '';
}
_root['btnChar' + digitFill + i].UID = i;
_root['btnChar' + digitFill + i].onRelease = function () {
_root.setCharParts('BODY', this.UID);
syncAllParts(_root._currentframe);
CurrentChar = this.UID;
};
++i;
}
_root.btnExtra00.onRelease = function () {
_root.setCharParts('EXTRA', 1);
syncAllParts(_root._currentframe);
};
_root.btnExtra02.onRelease = function () {
_root.setCharParts('EXTRA', 2);
syncAllParts(_root._currentframe);
};
_root.btnExtra03.onRelease = function () {
_root.setCharParts('EXTRA', 3);
syncAllParts(_root._currentframe);
if (CurrentChar == 7) {
_root.Panties.gotoAndStop(4);
} else {
_root.Panties.gotoAndStop(3);
}
};
_root.btnExtra04.onRelease = function () {
_root.setCharParts('EXTRA', 5);
syncAllParts(_root._currentframe);
};
_root.btnExtra01.onRelease = function () {
_root.setCharParts('FART', 2);
syncAllParts(_root._currentframe);
};
_root.btnExtra01x.onRelease = function () {
_root.setCharParts('FART', 1);
syncAllParts(_root._currentframe);
};
}
// unknown tag 88 length 92
movieClip 5 {
}
movieClip 6 {
}
movieClip 18 {
}
movieClip 42 {
}
movieClip 65 {
}
movieClip 87 {
}
movieClip 112 {
}
movieClip 137 {
}
movieClip 143 {
frame 200 {
stop;
}
}
movieClip 144 {
}
movieClip 166 {
}
movieClip 175 {
}
movieClip 192 {
}
movieClip 213 {
}
movieClip 233 {
}
movieClip 255 {
}
movieClip 277 {
}
movieClip 302 {
}
movieClip 324 {
}
movieClip 345 {
}
movieClip 366 {
}
movieClip 540 {
frame 1 {
_root.setPantyColor();
}
frame 2 {
_root.setPantyColor();
}
}
movieClip 752 {
frame 1 {
_root.setPantyColor();
}
frame 2 {
_root.setPantyColor();
}
}
movieClip 756 {
}
movieClip 757 {
}
movieClip 824 {
}
movieClip 889 {
}
movieClip 1016 {
}
movieClip 1018 {
}
movieClip 1039 {
}
movieClip 1043 {
}
movieClip 1062 {
}
movieClip 1069 {
}
movieClip 1124 {
}
movieClip 1140 {
}
movieClip 1154 {
}
movieClip 1156 {
}
movieClip 1173 {
}
movieClip 1187 {
}
movieClip 1188 {
}
movieClip 1191 {
}
movieClip 1208 {
}
movieClip 1225 {
}
movieClip 1227 {
}
movieClip 1242 {
}
movieClip 1244 {
}
movieClip 1247 {
}
movieClip 1249 {
}
movieClip 1250 {
}
movieClip 1265 {
}
movieClip 1268 {
}
movieClip 1270 {
}
movieClip 1276 {
}
movieClip 1285 {
}
movieClip 1287 {
}
movieClip 1289 {
}
movieClip 1298 {
}
movieClip 1308 {
}
movieClip 1310 {
}
movieClip 1330 {
}
movieClip 1332 {
}
movieClip 1334 {
}
movieClip 1369 {
}
movieClip 1381 {
}
movieClip 1492 {
}
movieClip 1508 {
}
movieClip 1521 {
}
movieClip 1523 {
}
movieClip 1539 {
}
movieClip 1548 {
}
movieClip 1550 {
}
movieClip 1565 {
}
movieClip 1581 {
}
movieClip 1584 {
}
movieClip 1593 {
}
movieClip 1603 {
}
movieClip 1605 {
}
movieClip 1619 {
}
movieClip 1621 {
}
movieClip 1628 {
}
movieClip 1630 {
}
movieClip 1638 {
}
movieClip 1639 {
}
movieClip 1659 {
}
movieClip 1677 {
}
movieClip 1694 {
}
movieClip 1696 {
}
movieClip 1703 {
}
movieClip 1705 {
}
movieClip 1706 {
}
movieClip 1730 {
}
movieClip 1942 {
}
movieClip 1943 {
}
movieClip 2014 {
}
movieClip 2016 {
}
movieClip 2051 {
frame 35 {
stop();
}
}
movieClip 2080 {
}
button 2087 {
on (release) {
_root.changePantyColor();
}
}
frame 130 {
syncAllParts('idle1');
}