Combined Code
frame 1 {
function faderHit() {
_root.gotoAndStop(_root.fadeTarget);
if (_root.PhaseScene == 1) {
if (_root.penisType == 'panties') {
if (dialogueFired == true) {
Phase = 'transformCock';
_root.Gruntilda.gotoAndPlay(_root.Phase);
}
} else {
_root.cockStyleButtons.gotoAndStop(2);
}
}
}
stop();
var fadeTarget = '';
var percentloaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
var percentloadedDisplay = int(percentloaded);
var loadint = int(percentloaded);
var penisType = 'panties';
var PhaseScene = 0;
var dialogueFired = false;
}
// unknown tag 88 length 68
movieClip 5 {
}
movieClip 7 {
}
movieClip 9 {
}
movieClip 20 {
}
// unknown tag 88 length 63
button 36 {
on (release) {
_root.nextFrame();
}
}
movieClip 37 {
frame 1 {
stop();
}
instance loadingBar of movieClip 5 {
onClipEvent (enterFrame) {
_root.percentloaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
_root.percentloadedDisplay = int(_root.percentloaded);
if (_root.percentloaded == 100) {
_root.preload.play();
}
this._xscale = _root.percentloadedDisplay;
}
}
frame 37 {
stop();
}
}
movieClip 43 {
frame 1 {
stop();
}
frame 20 {
_root.faderHit();
}
}
button 49 {
on (release) {
_root.fader.play();
_root.fadeTarget = 'intro';
}
}
button 51 {
on (release) {
_root.gotoAndStop('about');
}
}
movieClip 52 {
}
movieClip 54 {
}
button 56 {
on (release) {
if (_root.musicPaused == true) {
_root.musicPaused = false;
_root.bgMusic.play();
_root.muteicon.gotoAndStop(1);
} else {
_root.musicPaused = true;
_root.bgMusic.stop();
_root.muteicon.gotoAndStop(2);
}
}
}
movieClip 58 {
}
button 60 {
on (release) {
getURL('http://www.hentai-foundry.com/user/EmmaPresents/profile', '_blank');
}
}
movieClip 63 {
frame 1 {
stop();
}
}
// unknown tag 88 length 73
button 71 {
on (release) {
_root.gotoAndStop('title');
}
}
movieClip 72 {
}
movieClip 76 {
}
movieClip 78 {
}
button 83 {
on (release) {
play();
}
}
movieClip 86 {
}
movieClip 98 {
}
movieClip 105 {
}
movieClip 111 {
}
movieClip 117 {
}
movieClip 141 {
}
movieClip 164 {
frame 27 {
stop();
}
frame 53 {
stop();
}
frame 84 {
stop();
}
frame 85 {
_root.fader.play();
_root.fadeTarget = 'main';
}
}
frame 5 {
function PotionButtons() {
if (!pbfired) {
PhaseScene = 1;
pbfired = true;
_root.potionsMenu1.play();
p = 1;
while (p < 6) {
a = _root.potionsMenu1['potion' + p];
a.onRelease = function () {
_root.potionInfo.gotoAndStop(int((this._name.split(''))[6]) + 1);
};
++p;
}
}
}
function showPotionState() {
if (PhaseScene == 1) {
if (penisType == 'panties') {
potionsMenu1.gotoAndStop('potionState0');
} else {
potionsMenu1.gotoAndStop('potionState1');
}
} else {
if (PhaseScene == 2) {
potionsMenu1.gotoAndStop('potionState2');
}
}
}
function ApplyPotion(pot) {
if (pot == 1) {
if (PhaseScene != 1) {
_root.fader.play();
_root.fadeTarget = 'main';
}
potionsMenu1.gotoAndStop('potionState1');
Phase = 'transformCock';
_root.Gruntilda.gotoAndPlay(_root.Phase);
PhaseScene = 1;
}
if (pot == 2) {
if (PhaseScene != 2) {
_root.fader.play();
_root.fadeTarget = 'fart';
}
PhaseScene = 2;
}
}
function activateFart(type) {
if (FartBusy == false) {
_root.Gruntilda.anus.gotoAndPlay('fart' + type);
_root.Gruntilda.gotoAndPlay('fartStart');
Phase = 'fartIdle';
FartBusy = true;
}
}
function changeCockStyle(type) {
penisType = type;
_root.Gruntilda.gcrotch.gotoAndStop(type);
_root.Gruntilda.gbody.magicpuff.gotoAndPlay(2);
}
function callDialogue(Which) {
_root.textContainer.gotoAndPlay('talk');
dialogueLines[Which][0];
dialogueCurrent[0] = Which;
dialogueCurrent[1] = 0;
dialogue = dialogueLines[dialogueCurrent[0]][dialogueCurrent[1]];
_root.textContainer.play();
}
function nextDialogue() {
if (dialogueLines[dialogueCurrent[0]][dialogueCurrent[1] + 1] != NaN) {
++dialogueCurrent[1];
dialogue = dialogueLines[dialogueCurrent[0]][dialogueCurrent[1]];
_root.textContainer.gotoAndStop('talk');
} else {
dialogue = '';
}
if (dialogueCurrent[0] == 0 && dialogueCurrent[1] == 2) {
PotionButtons();
}
}
stop();
var Phase = 'idle1';
var pbfired = false;
if (PhaseScene != 0) {
PhaseScene = 1;
}
showPotionState();
dialogueLines = new Array(['THE LABELS FELL OFF, I CANNOT SEE\rWHICH OF THESE POTIONS CAN MAKE ME PRETTY.', 'SO I SHALL CONJURE UP THE ONE WHO \'PLAYS\'.\rTHE PLAYER WILL KNOW WHAT EACH ONE SAYS.', 'I KNOW THIS MUST BE AN UNUSUAL NOTION!\rPLEASE PLAY THE GAME AND FIND THE RIGHT POTION!', NaN], [NaN]);
dialogue = '';
dialogueCurrent = new Array(0, 0);
if (!dialogueFired) {
callDialogue(0);
dialogueFired = true;
}
}
movieClip 168 {
}
movieClip 170 {
}
movieClip 173 {
}
movieClip 175 {
}
movieClip 177 {
}
movieClip 179 {
}
movieClip 180 {
frame 1 {
gotoAndStop(_root.penisType);
}
}
movieClip 182 {
}
movieClip 184 {
}
movieClip 201 {
frame 1 {
gotoAndStop('disabled');
}
frame 16 {
stop();
}
}
movieClip 202 {
}
movieClip 204 {
}
movieClip 206 {
}
movieClip 208 {
}
movieClip 210 {
}
movieClip 212 {
}
movieClip 214 {
}
movieClip 216 {
}
movieClip 228 {
}
movieClip 230 {
}
movieClip 232 {
}
movieClip 243 {
}
movieClip 254 {
}
movieClip 260 {
}
movieClip 271 {
}
movieClip 279 {
}
movieClip 288 {
}
movieClip 303 {
}
movieClip 318 {
}
movieClip 335 {
}
movieClip 355 {
}
movieClip 357 {
}
movieClip 363 {
}
movieClip 379 {
}
movieClip 387 {
}
movieClip 395 {
}
movieClip 397 {
}
movieClip 411 {
}
movieClip 412 {
frame 35 {
gotoAndPlay(_root.Phase);
}
frame 122 {
gotoAndPlay(_root.Phase);
}
frame 163 {
_root.penisType = 'cockHuman';
}
frame 181 {
_root.Phase = 'idleTransform';
_root.cockStyleButtons.gotoAndStop(2);
}
frame 207 {
gotoAndPlay(_root.Phase);
}
}
movieClip 421 {
}
movieClip 432 {
}
movieClip 434 {
frame 2 {
stop();
}
frame 55 {
stop();
}
}
movieClip 437 {
}
button 438 {
on (release) {
_root.changeCockStyle('cockFeline');
}
}
movieClip 440 {
}
button 441 {
on (release) {
_root.changeCockStyle('cockHuman');
}
}
movieClip 443 {
}
button 444 {
on (release) {
_root.changeCockStyle('cockHorse');
}
}
movieClip 446 {
}
button 447 {
on (release) {
_root.changeCockStyle('cockDog');
}
}
movieClip 448 {
frame 1 {
stop();
}
}
movieClip 547 {
frame 1 {
stop();
}
}
movieClip 552 {
frame 40 {
stop();
}
}
movieClip 554 {
}
movieClip 555 {
frame 1 {
stop();
}
frame 16 {
stop();
btnFwd.onRelease = function () {
play();
};
GruntildaHead.gotoAndPlay('talking');
}
frame 32 {
_root.nextDialogue();
}
}
movieClip 560 {
}
movieClip 565 {
}
button 571 {
on (release) {
_root.potionInfo.gotoAndStop(1);
}
}
movieClip 575 {
}
movieClip 576 {
frame 1 {
stop();
}
frame 2 {
this.btn_Yes.onRelease = function () {
_root.ApplyPotion(1);
_root.potionInfo.gotoAndStop(1);
};
}
frame 3 {
this.btn_Yes.onRelease = function () {
_root.ApplyPotion(2);
_root.potionInfo.gotoAndStop(1);
};
}
}
frame 6 {
Phase = 'idle';
FartBusy = false;
_root.fartStyleButtons.gotoAndStop(2);
showPotionState();
}
movieClip 579 {
}
movieClip 590 {
frame 1 {
stop();
}
frame 13 {
stop();
}
}
movieClip 593 {
}
movieClip 608 {
frame 35 {
gotoAndPlay('idle');
}
frame 40 {
stop();
}
}
movieClip 610 {
}
movieClip 612 {
}
movieClip 614 {
}
movieClip 616 {
}
movieClip 618 {
}
movieClip 620 {
}
movieClip 622 {
}
movieClip 624 {
}
movieClip 626 {
}
movieClip 628 {
}
movieClip 630 {
}
movieClip 632 {
}
movieClip 634 {
}
movieClip 636 {
}
movieClip 638 {
}
movieClip 639 {
frame 1 {
gotoAndStop(_root.penisType);
}
}
movieClip 641 {
}
movieClip 643 {
}
movieClip 916 {
frame 2 {
_root.FartBusy = false;
}
frame 40 {
gotoAndPlay('idle');
_root.Phase = 'idle';
}
frame 48 {
_root.Gruntilda.eyes.gotoAndPlay('closing');
_root.Gruntilda.head.gotoAndPlay('clenching');
}
frame 80 {
_root.Gruntilda.eyes.gotoAndPlay('opening');
_root.Gruntilda.head.gotoAndPlay('unclench');
}
frame 86 {
gotoAndPlay('idle');
_root.Phase = 'idle';
}
frame 91 {
_root.Gruntilda.eyes.gotoAndPlay('closing');
_root.Gruntilda.head.gotoAndPlay('clenching');
}
frame 115 {
_root.Gruntilda.eyes.gotoAndPlay('opening');
_root.Gruntilda.head.gotoAndPlay('unclench');
}
frame 120 {
gotoAndPlay('idle');
_root.Phase = 'idle';
}
frame 127 {
_root.Gruntilda.eyes.gotoAndPlay('closing');
_root.Gruntilda.head.gotoAndPlay('clenching');
}
frame 153 {
_root.Gruntilda.eyes.gotoAndPlay('opening');
_root.Gruntilda.head.gotoAndPlay('unclench');
}
frame 161 {
gotoAndPlay('idle');
_root.Phase = 'idle';
}
frame 168 {
_root.Gruntilda.eyes.gotoAndPlay('closing');
_root.Gruntilda.head.gotoAndPlay('clenching');
}
frame 189 {
_root.Gruntilda.eyes.gotoAndPlay('opening');
_root.Gruntilda.head.gotoAndPlay('unclench');
}
frame 193 {
gotoAndPlay('idle');
_root.Phase = 'idle';
}
frame 201 {
_root.Gruntilda.eyes.gotoAndPlay('closing');
_root.Gruntilda.head.gotoAndPlay('clenching');
}
frame 254 {
_root.Gruntilda.eyes.gotoAndPlay('opening');
_root.Gruntilda.head.gotoAndPlay('unclench');
}
frame 260 {
gotoAndPlay('idle');
_root.Phase = 'idle';
}
}
movieClip 917 {
frame 56 {
gotoAndPlay(_root.Phase);
}
frame 109 {
gotoAndPlay(_root.Phase);
}
}
// unknown tag 88 length 87
movieClip 923 {
}
button 924 {
on (release) {
_root.activateFart(5);
}
}
movieClip 926 {
}
button 927 {
on (release) {
_root.activateFart(4);
}
}
movieClip 929 {
}
button 930 {
on (release) {
_root.activateFart(3);
}
}
movieClip 932 {
}
button 933 {
on (release) {
_root.activateFart(2);
}
}
movieClip 935 {
}
button 936 {
on (release) {
_root.activateFart(1);
}
}
movieClip 937 {
frame 1 {
stop();
}
}
movieClip 939 {
}
button 940 {
on (release) {
_root.fader.play();
_root.fadeTarget = 'main';
}
}