Frame 1
vHead = "M";
vArms = "M";
vChest = "M";
vHips = "M";
vLegs = "M";
vGenitals = "M";
vTotalPlays = 0;
vRolling = 0;
vInitialSex = "M";
coin = new Sound();
coin.attachSound("CoinSound");
cheer = new Sound();
cheer.attachSound("CheeringSound");
yay = new Sound();
yay.attachSound("YaySound");
setProperty(iHeadF, _alpha , 100);
setProperty(iHeadM, _alpha , 0);
setProperty(iHeadMF, _alpha , 0);
setProperty(iArmsF, _alpha , 100);
setProperty(iArmsM, _alpha , 0);
setProperty(iWaistF, _alpha , 100);
setProperty(iWaistM, _alpha , 0);
setProperty(iWaistMF, _alpha , 0);
setProperty(iWaistFM, _alpha , 0);
setProperty(iHipsF, _alpha , 100);
setProperty(iHipsM, _alpha , 0);
setProperty(iHipsMF, _alpha , 0);
setProperty(iHipsFM, _alpha , 0);
setProperty(iLegsF, _alpha , 100);
setProperty(iLegsM, _alpha , 0);
setProperty(iGenitalsF, _alpha , 100);
setProperty(iGenitalsM, _alpha , 0);
setProperty(iBreasts, _alpha , 100);
gotoAndPlay (1);
Frame 2
gotoAndPlay (1);
Frame 4
if (vRolling == 0) {
gotoAndPlay (3);
}
vAllGirl = (((((vHead == "F") && (vArms == "F")) && (vChest == "F")) && (vHips == "F")) && (vGenitals == "F")) && (vLegs == "F");
if (vAllGirl) {
cheer.start();
gotoAndPlay (9);
}
if (1 < vRolling) {
setProperty(iSwirl1, _alpha , 0);
if (2 < vRolling) {
setProperty(iSwirl2, _alpha , 0);
}
if (3 < vRolling) {
setProperty(iSwirl3, _alpha , 0);
}
if (vRolling == 4) {
if (vFlip == 0) {
}
}
vRolling = vRolling + 1;
if (vRolling == 6) {
if (vFlip != 0) {
yay.start();
}
if (vFlip == 1) {
if (vHead == "F") {
vHead = "M";
} else {
vHead = "F";
}
}
if (vFlip == 2) {
if (vArms == "F") {
vArms = "M";
} else {
vArms = "F";
}
}
if (vFlip == 3) {
if (vChest == "F") {
vChest = "M";
} else {
vChest = "F";
}
}
if (vFlip == 4) {
if (vHips == "F") {
vHips = "M";
} else {
vHips = "F";
}
}
if (vFlip == 5) {
if (vGenitals == "F") {
vGenitals = "M";
} else {
vGenitals = "F";
}
}
if (vFlip == 6) {
if (vLegs == "F") {
vLegs = "M";
} else {
vLegs = "F";
}
}
vFlip = 0;
vRolling = 0;
}
} else {
if (vRolling == 1) {
setProperty(iSwirl1, _alpha , 100);
setProperty(iSwirl2, _alpha , 100);
setProperty(iSwirl3, _alpha , 100);
vRolling = 2;
} else if (vRolling == 0) {
setProperty(iSwirl1, _alpha , 0);
setProperty(iSwirl2, _alpha , 0);
setProperty(iSwirl3, _alpha , 0);
}
setProperty(iHeadFB1, _alpha , 0);
setProperty(iHeadFB2, _alpha , 0);
setProperty(iHeadFB3, _alpha , 0);
setProperty(iHeadMB1, _alpha , 0);
setProperty(iHeadMB2, _alpha , 0);
setProperty(iHeadMB3, _alpha , 0);
setProperty(iArmsFB1, _alpha , 0);
setProperty(iArmsFB2, _alpha , 0);
setProperty(iArmsFB3, _alpha , 0);
setProperty(iArmsMB1, _alpha , 0);
setProperty(iArmsMB2, _alpha , 0);
setProperty(iArmsMB3, _alpha , 0);
setProperty(iBreastsB1, _alpha , 0);
setProperty(iBreastsB2, _alpha , 0);
setProperty(iBreastsB3, _alpha , 0);
setProperty(iChestB1, _alpha , 0);
setProperty(iChestB2, _alpha , 0);
setProperty(iChestB3, _alpha , 0);
setProperty(iGenitalsMB1, _alpha , 0);
setProperty(iGenitalsMB2, _alpha , 0);
setProperty(iGenitalsMB3, _alpha , 0);
setProperty(iGenitalsFB1, _alpha , 0);
setProperty(iGenitalsFB2, _alpha , 0);
setProperty(iGenitalsFB3, _alpha , 0);
setProperty(iLegsMB1, _alpha , 0);
setProperty(iLegsMB2, _alpha , 0);
setProperty(iLegsMB3, _alpha , 0);
setProperty(iLegsFB1, _alpha , 0);
setProperty(iLegsFB2, _alpha , 0);
setProperty(iLegsFB3, _alpha , 0);
setProperty(iHipsFB1, _alpha , 0);
setProperty(iHipsFB2, _alpha , 0);
setProperty(iHipsFB3, _alpha , 0);
setProperty(iHipsMB1, _alpha , 0);
setProperty(iHipsMB2, _alpha , 0);
setProperty(iHipsMB3, _alpha , 0);
if (vHead == "F") {
setProperty(iHeadF, _alpha , 100);
setProperty(iHeadM, _alpha , 0);
setProperty(iHeadMF, _alpha , 0);
setProperty(iHeadFB1, _alpha , 0);
setProperty(iHeadFB2, _alpha , 0);
setProperty(iHeadFB3, _alpha , 0);
if (vDice1 == 1) {
setProperty(iHeadMB1, _alpha , 100);
} else {
setProperty(iHeadMB1, _alpha , 0);
}
if (vDice2 == 1) {
setProperty(iHeadMB2, _alpha , 100);
} else {
setProperty(iHeadMB2, _alpha , 0);
}
if (vDice3 == 1) {
setProperty(iHeadMB3, _alpha , 100);
} else {
setProperty(iHeadMB3, _alpha , 0);
}
vWeird = 1;
} else if (vArms == "F") {
setProperty(iHeadF, _alpha , 0);
setProperty(iHeadM, _alpha , 0);
setProperty(iHeadMF, _alpha , 100);
setProperty(iHeadMB1, _alpha , 0);
setProperty(iHeadMB2, _alpha , 0);
setProperty(iHeadMB3, _alpha , 0);
if (vDice1 == 1) {
setProperty(iHeadFB1, _alpha , 100);
} else {
setProperty(iHeadFB1, _alpha , 0);
}
if (vDice2 == 1) {
setProperty(iHeadFB2, _alpha , 100);
} else {
setProperty(iHeadFB2, _alpha , 0);
}
if (vDice3 == 1) {
setProperty(iHeadFB3, _alpha , 100);
} else {
setProperty(iHeadFB3, _alpha , 0);
}
vWeird = 2;
} else {
setProperty(iHeadF, _alpha , 0);
setProperty(iHeadM, _alpha , 100);
setProperty(iHeadMF, _alpha , 0);
setProperty(iHeadMB1, _alpha , 0);
setProperty(iHeadMB2, _alpha , 0);
setProperty(iHeadMB3, _alpha , 0);
if (vDice1 == 1) {
setProperty(iHeadFB1, _alpha , 100);
} else {
setProperty(iHeadFB1, _alpha , 0);
}
if (vDice2 == 1) {
setProperty(iHeadFB2, _alpha , 100);
} else {
setProperty(iHeadFB2, _alpha , 0);
}
if (vDice3 == 1) {
setProperty(iHeadFB3, _alpha , 100);
} else {
setProperty(iHeadFB3, _alpha , 0);
}
vWeird = 3;
}
if (vArms == "F") {
setProperty(iArmsF, _alpha , 100);
setProperty(iArmsM, _alpha , 0);
setProperty(iArmsFB1, _alpha , 0);
setProperty(iArmsFB2, _alpha , 0);
setProperty(iArmsFB3, _alpha , 0);
if (vDice1 == 2) {
setProperty(iArmsMB1, _alpha , 100);
} else {
setProperty(iArmsMB1, _alpha , 0);
}
if (vDice2 == 2) {
setProperty(iArmsMB2, _alpha , 100);
} else {
setProperty(iArmsMB2, _alpha , 0);
}
if (vDice3 == 2) {
setProperty(iArmsMB3, _alpha , 100);
} else {
setProperty(iArmsMB3, _alpha , 0);
}
if (vHips == "F") {
setProperty(iWaistF, _alpha , 100);
setProperty(iWaistM, _alpha , 0);
setProperty(iWaistMF, _alpha , 0);
setProperty(iWaistFM, _alpha , 0);
setProperty(iHipsFB1, _alpha , 0);
setProperty(iHipsFB2, _alpha , 0);
setProperty(iHipsFB3, _alpha , 0);
if (vDice1 == 4) {
setProperty(iHipsMB1, _alpha , 100);
} else {
setProperty(iHipsMB1, _alpha , 0);
}
if (vDice2 == 4) {
setProperty(iHipsMB2, _alpha , 100);
} else {
setProperty(iHipsMB2, _alpha , 0);
}
if (vDice3 == 4) {
setProperty(iHipsMB3, _alpha , 100);
} else {
setProperty(iHipsMB3, _alpha , 0);
}
} else {
setProperty(iWaistF, _alpha , 0);
setProperty(iWaistM, _alpha , 0);
setProperty(iWaistMF, _alpha , 0);
setProperty(iWaistFM, _alpha , 100);
setProperty(iHipsMB1, _alpha , 0);
setProperty(iHipsMB2, _alpha , 0);
setProperty(iHipsMB3, _alpha , 0);
if (vDice1 == 4) {
setProperty(iHipsFB1, _alpha , 100);
} else {
setProperty(iHipsFB1, _alpha , 0);
}
if (vDice2 == 4) {
setProperty(iHipsFB2, _alpha , 100);
} else {
setProperty(iHipsFB2, _alpha , 0);
}
if (vDice3 == 4) {
setProperty(iHipsFB3, _alpha , 100);
} else {
setProperty(iHipsFB3, _alpha , 0);
}
}
} else {
setProperty(iArmsF, _alpha , 0);
setProperty(iArmsM, _alpha , 100);
setProperty(iArmsMB1, _alpha , 0);
setProperty(iArmsMB2, _alpha , 0);
setProperty(iArmsMB3, _alpha , 0);
if (vDice1 == 2) {
setProperty(iArmsFB1, _alpha , 100);
} else {
setProperty(iArmsFB1, _alpha , 0);
}
if (vDice2 == 2) {
setProperty(iArmsFB2, _alpha , 100);
} else {
setProperty(iArmsFB2, _alpha , 0);
}
if (vDice3 == 2) {
setProperty(iArmsFB3, _alpha , 100);
} else {
setProperty(iArmsFB3, _alpha , 0);
}
if (vHips == "F") {
setProperty(iWaistF, _alpha , 0);
setProperty(iWaistM, _alpha , 0);
setProperty(iWaistMF, _alpha , 100);
setProperty(iWaistFM, _alpha , 0);
setProperty(iHipsFB1, _alpha , 0);
setProperty(iHipsFB2, _alpha , 0);
setProperty(iHipsFB3, _alpha , 0);
if (vDice1 == 4) {
setProperty(iHipsMB1, _alpha , 100);
} else {
setProperty(iHipsMB1, _alpha , 0);
}
if (vDice2 == 4) {
setProperty(iHipsMB2, _alpha , 100);
} else {
setProperty(iHipsMB2, _alpha , 0);
}
if (vDice3 == 4) {
setProperty(iHipsMB3, _alpha , 100);
} else {
setProperty(iHipsMB3, _alpha , 0);
}
} else {
setProperty(iWaistF, _alpha , 0);
setProperty(iWaistM, _alpha , 100);
setProperty(iWaistMF, _alpha , 0);
setProperty(iWaistFM, _alpha , 0);
setProperty(iHipsMB1, _alpha , 0);
setProperty(iHipsMB2, _alpha , 0);
setProperty(iHipsMB3, _alpha , 0);
if (vDice1 == 4) {
setProperty(iHipsFB1, _alpha , 100);
} else {
setProperty(iHipsFB1, _alpha , 0);
}
if (vDice2 == 4) {
setProperty(iHipsFB2, _alpha , 100);
} else {
setProperty(iHipsFB2, _alpha , 0);
}
if (vDice3 == 4) {
setProperty(iHipsFB3, _alpha , 100);
} else {
setProperty(iHipsFB3, _alpha , 0);
}
}
}
if (vChest == "F") {
setProperty(iBreasts, _alpha , 100);
setProperty(iBreastsB1, _alpha , 0);
setProperty(iBreastsB2, _alpha , 0);
setProperty(iBreastsB3, _alpha , 0);
if (vDice1 == 3) {
setProperty(iChestB1, _alpha , 100);
} else {
setProperty(iChestB1, _alpha , 0);
}
if (vDice2 == 3) {
setProperty(iChestB2, _alpha , 100);
} else {
setProperty(iChestB2, _alpha , 0);
}
if (vDice3 == 3) {
setProperty(iChestB3, _alpha , 100);
} else {
setProperty(iChestB3, _alpha , 0);
}
} else {
setProperty(iBreasts, _alpha , 0);
setProperty(iChestB1, _alpha , 0);
setProperty(iChestB2, _alpha , 0);
setProperty(iChestB3, _alpha , 0);
if (vDice1 == 3) {
setProperty(iBreastsB1, _alpha , 100);
} else {
setProperty(iBreastsB1, _alpha , 0);
}
if (vDice2 == 3) {
setProperty(iBreastsB2, _alpha , 100);
} else {
setProperty(iBreastsB2, _alpha , 0);
}
if (vDice3 == 3) {
setProperty(iBreastsB3, _alpha , 100);
} else {
setProperty(iBreastsB3, _alpha , 0);
}
}
if (vGenitals == "F") {
setProperty(iGenitalsF, _alpha , 100);
setProperty(iGenitalsM, _alpha , 0);
setProperty(iGenitalsFB1, _alpha , 0);
setProperty(iGenitalsFB2, _alpha , 0);
setProperty(iGenitalsFB3, _alpha , 0);
if (vDice1 == 5) {
setProperty(iGenitalsMB1, _alpha , 100);
} else {
setProperty(iGenitalsMB1, _alpha , 0);
}
if (vDice2 == 5) {
setProperty(iGenitalsMB2, _alpha , 100);
} else {
setProperty(iGenitalsMB2, _alpha , 0);
}
if (vDice3 == 5) {
setProperty(iGenitalsMB3, _alpha , 100);
} else {
setProperty(iGenitalsMB3, _alpha , 0);
}
} else {
setProperty(iGenitalsF, _alpha , 0);
setProperty(iGenitalsM, _alpha , 100);
setProperty(iGenitalsMB1, _alpha , 0);
setProperty(iGenitalsMB2, _alpha , 0);
setProperty(iGenitalsMB3, _alpha , 0);
if (vDice1 == 5) {
setProperty(iGenitalsFB1, _alpha , 100);
} else {
setProperty(iGenitalsFB1, _alpha , 0);
}
if (vDice2 == 5) {
setProperty(iGenitalsFB2, _alpha , 100);
} else {
setProperty(iGenitalsFB2, _alpha , 0);
}
if (vDice3 == 5) {
setProperty(iGenitalsFB3, _alpha , 100);
} else {
setProperty(iGenitalsFB3, _alpha , 0);
}
}
if (vLegs == "F") {
setProperty(iLegsF, _alpha , 100);
setProperty(iLegsM, _alpha , 0);
setProperty(iLegsFB1, _alpha , 0);
setProperty(iLegsFB2, _alpha , 0);
setProperty(iLegsFB3, _alpha , 0);
if (vDice1 == 6) {
setProperty(iLegsMB1, _alpha , 100);
} else {
setProperty(iLegsMB1, _alpha , 0);
}
if (vDice2 == 6) {
setProperty(iLegsMB2, _alpha , 100);
} else {
setProperty(iLegsMB2, _alpha , 0);
}
if (vDice3 == 6) {
setProperty(iLegsMB3, _alpha , 100);
} else {
setProperty(iLegsMB3, _alpha , 0);
}
if (vHips == "F") {
setProperty(iHipsF, _alpha , 100);
setProperty(iHipsM, _alpha , 0);
setProperty(iHipsMF, _alpha , 0);
setProperty(iHipsFM, _alpha , 0);
} else {
setProperty(iHipsF, _alpha , 0);
setProperty(iHipsM, _alpha , 0);
setProperty(iHipsMF, _alpha , 100);
setProperty(iHipsFM, _alpha , 0);
}
} else {
setProperty(iLegsF, _alpha , 0);
setProperty(iLegsM, _alpha , 100);
setProperty(iLegsMB1, _alpha , 0);
setProperty(iLegsMB2, _alpha , 0);
setProperty(iLegsMB3, _alpha , 0);
if (vDice1 == 6) {
setProperty(iLegsFB1, _alpha , 100);
} else {
setProperty(iLegsFB1, _alpha , 0);
}
if (vDice2 == 6) {
setProperty(iLegsFB2, _alpha , 100);
} else {
setProperty(iLegsFB2, _alpha , 0);
}
if (vDice3 == 6) {
setProperty(iLegsFB3, _alpha , 100);
} else {
setProperty(iLegsFB3, _alpha , 0);
}
if (vHips == "F") {
setProperty(iHipsF, _alpha , 0);
setProperty(iHipsM, _alpha , 0);
setProperty(iHipsMF, _alpha , 0);
setProperty(iHipsFM, _alpha , 100);
} else {
setProperty(iHipsF, _alpha , 0);
setProperty(iHipsM, _alpha , 100);
setProperty(iHipsMF, _alpha , 0);
setProperty(iHipsFM, _alpha , 0);
}
}
if (vHips == "F") {
setProperty(iAssFB3, _alpha , 0);
setProperty(iAssMB3, _alpha , 100);
} else {
setProperty(iAssFB3, _alpha , 100);
setProperty(iAssMB3, _alpha , 0);
}
gotoAndPlay (3);
}
if (vInitialSex != "N") {
if (vInitialSex == "F") {
setProperty(iHeadFBAND, _alpha , 100);
setProperty(iHeadMBAND, _alpha , 0);
setProperty(iArmsFBAND, _alpha , 100);
setProperty(iArmsMBAND, _alpha , 0);
setProperty(iHipsFBAND, _alpha , 100);
setProperty(iHipsMBAND, _alpha , 0);
setProperty(iLegsFBAND, _alpha , 100);
setProperty(iLegsMBAND, _alpha , 0);
setProperty(iGenitalsFBAND, _alpha , 100);
setProperty(iGenitalsMBAND, _alpha , 0);
setProperty(iChestFBAND, _alpha , 100);
setProperty(iChestMBAND, _alpha , 0);
vInitialSex == "N";
} else {
setProperty(iHeadFBAND, _alpha , 0);
setProperty(iHeadMBAND, _alpha , 100);
setProperty(iArmsFBAND, _alpha , 0);
setProperty(iArmsMBAND, _alpha , 100);
setProperty(iHipsFBAND, _alpha , 0);
setProperty(iHipsMBAND, _alpha , 100);
setProperty(iLegsFBAND, _alpha , 0);
setProperty(iLegsMBAND, _alpha , 100);
setProperty(iGenitalsFBAND, _alpha , 0);
setProperty(iGenitalsMBAND, _alpha , 100);
setProperty(iChestFBAND, _alpha , 0);
setProperty(iChestMBAND, _alpha , 100);
vInitialSex == "N";
}
}
Frame 6
gotoAndPlay (4);
Frame 9
stop();
Frame 10
gotoAndPlay (10);
Symbol 5 Button
on (release) {
vFair = 0;
gotoAndPlay (4);
}
Symbol 6 Button
on (release) {
vFair = 1;
gotoAndPlay (4);
}
Symbol 51 Button
on (release) {
vFlip = 0;
vTotalPlays = vTotalPlays + 1;
vDice1 = random(6) + 1;
vDice2 = random(8) + 1;
vDice3 = random(8) + 1;
if (6 < vDice2) {
vDice2 = vDice1;
}
if (6 < vDice3) {
vDice3 = vDice2;
}
if ((vDice1 == vDice2) and (vDice2 == vDice3)) {
vFlip = vDice1;
}
vRolling = 1;
if (vFlip != 0) {
if (vFair != 1) {
if (vFlip == 1) {
if (vHead == "F") {
vDice3 = 2;
vFlip = 0;
}
}
if (vFlip == 2) {
if (vArms == "F") {
vDice3 = 3;
vFlip = 0;
}
}
if (vFlip == 3) {
if (vChest == "F") {
vDice3 = 4;
vFlip = 0;
}
}
if (vFlip == 4) {
if (vHips == "F") {
vDice3 = 5;
vFlip = 0;
}
}
if (vFlip == 5) {
if (vGenitals == "F") {
vDice3 = 6;
vFlip = 0;
}
}
if (vFlip == 6) {
if (vLegs == "F") {
vDice3 = 1;
vFlip = 0;
}
}
}
}
coin.start();
gotoAndPlay (4);
}