Frame 1
function grow() {
if (pregnancy < renamon.pregnant._totalframes) {
pregnancy++;
renamon.pregnant.gotoAndStop(pregnancy);
} else {
growth = 0;
}
}
function revert() {
if (pregnancy > 1) {
pregnancy--;
renamon.pregnant.gotoAndStop(pregnancy);
} else {
growth = 0;
}
}
function timeout_fn() {
if (!timer) {
condition = "";
setState(curState.state);
delete _root.onEnterFrame;
}
timer--;
}
function setState(str) {
if (condition != "") {
return(undefined);
}
if (state != str) {
curState.state = str;
state = str;
curState.state = state;
for (var _local2 in states[str]) {
curState[_local2] = states[str][_local2];
}
renamon.fur.gotoAndPlay(curState.front);
renamon.front.gotoAndPlay(curState.front);
renamon.eye1.gotoAndPlay(curState.eye1);
renamon.eye2.gotoAndPlay(curState.eye2);
renamon.mouth.gotoAndPlay(curState.mouth);
if ((curState.frontarm == "bellyrub") || (curState.frontarm == "shaking")) {
if ((renamon.frontarm._currentlabel == "down") || (renamon.frontarm._currentlabel == "movedown")) {
renamon.frontarm.gotoAndPlay("moveup");
} else {
renamon.frontarm.gotoAndPlay(curState.frontarm);
}
} else if (curState.frontarm == "up") {
if ((renamon.frontarm._currentlabel == "down") || (renamon.frontarm._currentlabel == "movedown")) {
renamon.frontarm.gotoAndPlay("moveup");
} else {
renamon.frontarm.gotoAndPlay("up");
}
} else if (((curState.frontarm == "down") && (renamon.frontarm._currentlabel != "down")) && (renamon.frontarm._currentlabel != "movedown")) {
renamon.frontarm.gotoAndPlay("movedown");
}
renamon.eye1.pupil._x = p1X + curState.p1X;
renamon.eye1.pupil._y = p1Y + curState.p1Y;
renamon.eye2.pupil._x = p2X + curState.p2X;
renamon.eye2.pupil._y = p2Y + curState.p2Y;
canBlink = curState.canBlink;
}
}
var lcd_stolen = new LocalConnection().domain();
if ((lcd_stolen.indexOf("chan") > -1) || (lcd_stolen.indexOf(".ru") > -1)) {
_root.createTextField("stolen_txt", 10000, 0, 0, 800, 600);
stolen_txt.background = true;
stolen_txt.backgroundColor = 16777215 /* 0xFFFFFF */;
stolen_txt.selectable = false;
var tF = new TextFormat();
tF.size = 32;
tF.color = 16711680 /* 0xFF0000 */;
tF.font = "Arial";
tF.bold = true;
tF.align = "center";
stolen_txt.html = true;
stolen_txt.htmlText = ("This file has been stolen by: \n" + lcd_stolen) + "\n\n see the original at\n<a href='http://doom-the-wolf.deviantart.com'>http://doom-the-wolf.deviantart.com</a>";
stolen_txt.setTextFormat(tF);
getURL ("http://www.youfail.org");
return(undefined);
}
_level0.bgColor = 39168;
_level0.flashWidth = 800;
_level0.flashHeight = 600;
var state = "";
var condition = "";
var states = new Array();
var pregnancy = 1;
var growth = 0;
var curState = new Object();
var canBlink = false;
var blinking = false;
var p1X = renamon.eye1.pupil._x;
var p1Y = renamon.eye1.pupil._y;
var p2X = renamon.eye2.pupil._x;
var p2Y = renamon.eye2.pupil._y;
renamon.pregnant.stop();
states.sleeping = {eye1:"closed", eye2:"closed", mouth:"breathing", frontarm:"down", front:"breathing", p1X:0, p1Y:0, p2X:0, p2Y:0, canBlink:false};
states.awaken = {eye1:"small", eye2:"small", mouth:"closed", frontarm:"down", front:"breathing", p1X:0, p1Y:0, p2X:0, p2Y:0, canBlink:true};
states.realize = {eye1:"open", eye2:"open", mouth:"faster", frontarm:"up", front:"faster", p1X:0, p1Y:0, p2X:0, p2Y:0, canBlink:true};
states.relaxed = {eye1:"open", eye2:"open", mouth:"closed", frontarm:"up", front:"breathing", p1X:7, p1Y:2, p2X:0, p2Y:5, canBlink:true};
states.worried = {eye1:"sad", eye2:"sad", mouth:"sad", frontarm:"bellyrub", front:"faster", p1X:0, p1Y:0, p2X:0, p2Y:0, canBlink:true};
states.nervous = {eye1:"afraid", eye2:"afraid", mouth:"faster", frontarm:"shaking", front:"faster", p1X:0, p1Y:0, p2X:0, p2Y:0, canBlink:true};
states.break = {eye1:"afraid", eye2:"open", mouth:"fast", frontarm:"shaking", front:"fast", p1X:0, p1Y:0, p2X:0, p2Y:0, canBlink:true};
states.shocked = {eye1:"wide", eye2:"wide", mouth:"hard", frontarm:"up", front:"hard", p1X:0, p1Y:-4, p2X:-4, p2Y:0, canBlink:true};
states.tired = {eye1:"small", eye2:"small", mouth:"faster", frontarm:"down", front:"faster", p1X:0, p1Y:-4, p2X:-4, p2Y:0, canBlink:false};
states.over = {eye1:"sad", eye2:"sad", mouth:"closed", frontarm:"bellyrub", front:"breathing", p1X:7, p1Y:2, p2X:0, p2Y:5, canBlink:true};
states.revert = {eye1:"small", eye2:"open", mouth:"smile", frontarm:"up", front:"breathing", p1X:7, p1Y:2, p2X:0, p2Y:5, canBlink:true};
states.smaller = {eye1:"open", eye2:"open", mouth:"happy", frontarm:"bellyrub", front:"faster", p1X:7, p1Y:2, p2X:0, p2Y:5, canBlink:true};
states.almost = {eye1:"closed", eye2:"closed", mouth:"smile", frontarm:"up", front:"faster", p1X:7, p1Y:2, p2X:0, p2Y:5, canBlink:false};
setState("sleeping");
renamon.onEnterFrame = function () {
if (blinking && (renamon.eye1._currentlabel == "endblink")) {
blinking = false;
renamon.eye1.gotoAndPlay(curState.eye1);
renamon.eye2.gotoAndPlay(curState.eye2);
renamon.eye1.pupil._x = p1X + curState.p1X;
renamon.eye1.pupil._y = p1Y + curState.p1Y;
renamon.eye2.pupil._x = p2X + curState.p2X;
renamon.eye2.pupil._y = p2Y + curState.p2Y;
}
if (canBlink && (Math.random() > 0.99)) {
blinking = true;
renamon.eye1.gotoAndPlay("blink");
renamon.eye2.gotoAndPlay("blink");
renamon.eye1.pupil._x = p1X + curState.p1X;
renamon.eye1.pupil._y = p1Y + curState.p1Y;
renamon.eye2.pupil._x = p2X + curState.p2X;
renamon.eye2.pupil._y = p2Y + curState.p2Y;
}
if (growth == 1) {
grow();
switch (true) {
case pregnancy < 50 :
break;
case pregnancy < 150 :
setState("awaken");
break;
case pregnancy < 300 :
setState("realize");
break;
case pregnancy == 300 :
setState("relaxed");
growth = 0;
break;
case pregnancy < 450 :
setState("worried");
break;
case pregnancy < 600 :
setState("nervous");
if (renamon.drop._currentframe == 1) {
renamon.drop.gotoAndPlay(1);
}
break;
case pregnancy == 600 :
setState("break");
growth = 0;
break;
case pregnancy < 750 :
setState("shocked");
break;
case pregnancy < 900 :
setState("tired");
break;
case pregnancy == 900 :
setState("over");
growth = 0;
}
} else if (growth == -1) {
revert();
renamon.drop.gotoAndStop(1);
switch (true) {
case pregnancy == 1 :
setState("sleeping");
break;
case pregnancy < 300 :
setState("almost");
break;
case pregnancy < 600 :
setState("smaller");
break;
case pregnancy < 900 :
setState("revert");
}
}
if (growth != -1) {
if (pregnancy == 300) {
setState("relaxed");
} else if (pregnancy == 600) {
setState("break");
} else if (pregnancy == 900) {
setState("over");
}
}
};
var reset = false;
_panel._plus._txt.text = "+";
_panel._minus._txt.text = "-";
_panel._expand._txt.text = "Expand";
_panel._revert._txt.text = "Revert";
_panel._info.text = "Interactive pregnant Renamon. Drawn and programmed by Doom the wolf (http://doom-the-wolf.deviantart.com). Click 'Expand' or 'Revert' to change the size of her belly. Selecting 'continuous' will make the size change automatically. Move the camera by dragging the mouse across the screen. Zoom in or out by using the '+' and '-' buttons.";
_panel._cont_txt.text = "continuous";
_panel.onEnterFrame = function () {
if (_panel.hitTest(_root._xmouse, _root._ymouse)) {
if (Math.abs(_panel._y - 500) > 1) {
_panel._y = _panel._y + ((500 - _panel._y) * 0.4);
}
} else if (Math.abs(_panel._y - 600) > 1) {
_panel._y = _panel._y + ((600 - _panel._y) * 0.4);
}
if (growth && (_panel._cont._currentframe == 2)) {
_panel._cont_txt.text = "stop";
} else {
_panel._cont_txt.text = "continuous";
}
if (pregnancy < 300) {
_panel._expand._txt.text = "Expand";
} else if (pregnancy < 600) {
_panel._expand._txt.text = "Bigger";
} else if (pregnancy < 900) {
_panel._expand._txt.text = "More!";
} else {
_panel._expand._txt.text = "Reset";
}
};
_panel._cont.onRelease = function () {
if (growth != 0) {
growth = 0;
}
_panel._cont.gotoAndStop(3 - _panel._cont._currentframe);
};
_panel._plus.onPress = function () {
_panel._plus.onEnterFrame = function () {
renamon._xscale = (renamon._yscale = renamon._xscale + 2);
};
};
_panel._minus.onPress = function () {
_panel._minus.onEnterFrame = function () {
if (renamon._xscale > 2) {
renamon._xscale = (renamon._yscale = renamon._xscale - 2);
} else {
delete _panel._minus.onEnterFrame;
}
};
};
_panel.onMouseUp = function () {
delete _panel._plus.onEnterFrame;
delete _panel._minus.onEnterFrame;
if (_panel._cont._currentframe == 1) {
growth = 0;
}
};
_panel._expand.onPress = function () {
if (pregnancy >= renamon.pregnant._totalframes) {
growth = 0;
reset = true;
} else {
growth = 1;
}
};
_panel._expand.onRelease = function () {
if (reset) {
growth = 0;
pregnancy = 1;
renamon.pregnant.gotoAndStop(1);
condition = "";
delete _root.onEnterFrame;
setState("sleeping");
reset = false;
}
};
_panel._expand.onReleaseOutside = function () {
reset = false;
};
_panel._revert.onPress = function () {
growth = -1;
};
renamon.onMouseDown = function () {
if (_panel._y > 550) {
renamon.startDrag();
}
};
renamon.onMouseUp = function () {
renamon.stopDrag();
};
var rub = 0;
renamon.pregnant.onPress = function () {
if ((condition == "") && (pregnancy > 100)) {
condition = "bellypoke";
state = "special";
canBlink = false;
timer = 40;
if (pregnancy < 300) {
renamon.mouth.gotoAndPlay("smiling");
renamon.eye1.gotoAndPlay("closed");
renamon.eye2.gotoAndPlay("closed");
renamon.front.gotoAndPlay("fast");
renamon.fur.gotoAndPlay("fast");
if (renamon.frontarm._currentlabel == "down") {
renamon.frontarm.gotoAndPlay("moveup");
}
} else if (pregnancy < 600) {
renamon.mouth.gotoAndPlay("hard");
renamon.eye1.gotoAndPlay("wide");
renamon.eye2.gotoAndPlay("wide");
renamon.front.gotoAndPlay("hard");
renamon.fur.gotoAndPlay("hard");
if (renamon.frontarm._currentlabel == "down") {
renamon.frontarm.gotoAndPlay("moveup");
}
} else {
renamon.mouth.gotoAndPlay("hard");
renamon.eye1.gotoAndPlay("shut");
renamon.eye2.gotoAndPlay("closed");
renamon.front.gotoAndPlay("hard");
renamon.fur.gotoAndPlay("hard");
if (renamon.frontarm._currentlabel == "down") {
renamon.frontarm.gotoAndPlay("moveup");
}
}
_root.onEnterFrame = timeout_fn;
}
};
renamon.frontleg.onPress = function () {
if ((condition == "") && (pregnancy < 600)) {
this.gotoAndPlay("move");
state = "special";
condition = "tickle";
canBlink = false;
timer = 15;
renamon.mouth.gotoAndPlay("laugh");
renamon.front.gotoAndPlay("fast");
renamon.fur.gotoAndPlay("fast");
renamon.eye1.gotoAndPlay("shut");
renamon.eye2.gotoAndPlay("closed");
_root.onEnterFrame = timeout_fn;
}
};
renamon.backleg.onPress = renamon.frontleg.onPress;
renamon.head.onPress = function () {
if (condition == "") {
condition = "speak";
state = "special";
canBlink = false;
renamon.mouth.gotoAndPlay("open");
renamon.createTextField("speech_txt", 100, 20, -200, 300, 200);
var _local3 = new TextFormat();
renamon.speech_txt.wordWrap = true;
renamon.speech_txt.html = true;
var _local2 = "";
switch (true) {
case curState.state == "revert" :
_local2 = "Oh... I'm returning to normal.";
break;
case curState.state == "smaller" :
_local2 = "Yes... grow smaller... please.";
break;
case curState.state == "almost" :
_local2 = "Mmmmm... I feel nice.";
break;
case pregnancy < 50 :
_local2 = "Zzz...";
break;
case pregnancy < 150 :
_local2 = "Uuhhnn... huh...?";
break;
case pregnancy < 450 :
_local2 = "Aah! What's happening to me?";
break;
case pregnancy <= 600 :
_local2 = "W-why is my b-body so big...?";
break;
case pregnancy < 750 :
_local2 = "!!!";
break;
case pregnancy < 900 :
_local2 = "I... uhh... so...confused... ...am I... ...pregnant?";
break;
case pregnancy == 900 :
renamon.eye1.gotoAndPlay("open");
renamon.eye2.gotoAndPlay("open");
renamon.eye1.pupil._x = p1X - 20;
renamon.eye1.pupil._y = p1Y - 4;
_local2 = "You! I'm so pregnant I can't even move anymore! <u>Now</u> what do you want?";
}
renamon.speech_txt.htmlText = ("<font color='#FF00FF' face='Arial' size='30'><b>" + _local2) + "</b></font>";
timer = 70;
_root.onEnterFrame = function () {
if (!timer) {
renamon.speech_txt.removeTextField();
condition = "";
setState(curState.state);
delete _root.onEnterFrame;
}
timer--;
};
}
};
renamon.fur.onPress = function () {
if ((condition == "") && (pregnancy < 500)) {
condition = "rubfur";
state = "special";
renamon.mouth.gotoAndPlay("laugh");
renamon.eye1.gotoAndPlay("small");
renamon.eye2.gotoAndPlay("small");
renamon.front.gotoAndPlay("breathing");
renamon.fur.gotoAndPlay("breathing");
timer = 30;
_root.onEnterFrame = timeout_fn;
}
};
Symbol 11 MovieClip Frame 1
stop();
Symbol 19 MovieClip Frame 1
stop();
Symbol 32 MovieClip Frame 5
_currentlabel = "breathing";
Symbol 32 MovieClip Frame 66
gotoAndPlay(_currentlabel);
Symbol 32 MovieClip Frame 70
_currentlabel = "faster";
Symbol 32 MovieClip Frame 101
gotoAndPlay(_currentlabel);
Symbol 32 MovieClip Frame 105
_currentlabel = "fast";
Symbol 32 MovieClip Frame 126
gotoAndPlay(_currentlabel);
Symbol 32 MovieClip Frame 130
_currentlabel = "hard";
Symbol 32 MovieClip Frame 150
gotoAndPlay(_currentlabel);
Symbol 58 MovieClip Frame 5
_currentlabel = "breathing";
Symbol 58 MovieClip Frame 66
gotoAndPlay(_currentlabel);
Symbol 58 MovieClip Frame 70
_currentlabel = "faster";
Symbol 58 MovieClip Frame 101
gotoAndPlay(_currentlabel);
Symbol 58 MovieClip Frame 105
_currentlabel = "fast";
Symbol 58 MovieClip Frame 126
gotoAndPlay(_currentlabel);
Symbol 58 MovieClip Frame 130
_currentlabel = "hard";
Symbol 58 MovieClip Frame 150
gotoAndPlay(_currentlabel);
Symbol 78 MovieClip Frame 1
_currentlabel = "down";
Symbol 78 MovieClip Frame 2
gotoAndPlay(_currentlabel);
Symbol 78 MovieClip Frame 5
_currentlabel = "moveup";
Symbol 78 MovieClip Frame 10
_currentlabel = "up";
Symbol 78 MovieClip Frame 11
gotoAndPlay(_currentlabel);
Symbol 78 MovieClip Frame 12
_currentlabel = "movedown";
Symbol 78 MovieClip Frame 16
gotoAndPlay ("down");
Symbol 78 MovieClip Frame 20
_currentlabel = "bellyrub";
Symbol 78 MovieClip Frame 61
gotoAndPlay ("up");
Symbol 78 MovieClip Frame 65
_currentlabel = "shaking";
Symbol 78 MovieClip Frame 68
gotoAndPlay(_currentlabel);
Symbol 97 MovieClip Frame 1
_currentlabel = "open";
Symbol 97 MovieClip Frame 2
gotoAndPlay(_currentlabel);
Symbol 97 MovieClip Frame 3
_currentlabel = "closed";
Symbol 97 MovieClip Frame 4
gotoAndPlay(_currentlabel);
Symbol 97 MovieClip Frame 5
_currentlabel = "small";
Symbol 97 MovieClip Frame 6
gotoAndPlay(_currentlabel);
Symbol 97 MovieClip Frame 7
_currentlabel = "blink";
Symbol 97 MovieClip Frame 11
_currentlabel = "endblink";
Symbol 97 MovieClip Frame 13
_currentlabel = "sad";
Symbol 97 MovieClip Frame 14
gotoAndPlay(_currentlabel);
Symbol 97 MovieClip Frame 15
_currentlabel = "afraid";
Symbol 97 MovieClip Frame 18
gotoAndPlay(_currentlabel);
Symbol 97 MovieClip Frame 19
_currentlabel = "shut";
Symbol 97 MovieClip Frame 20
gotoAndPlay(_currentlabel);
Symbol 97 MovieClip Frame 21
_currentlabel = "wide";
Symbol 97 MovieClip Frame 22
gotoAndPlay(_currentlabel);
Symbol 109 MovieClip Frame 1
_currentlabel = "open";
Symbol 109 MovieClip Frame 2
gotoAndPlay(_currentlabel);
Symbol 109 MovieClip Frame 3
_currentlabel = "closed";
Symbol 109 MovieClip Frame 4
gotoAndPlay(_currentlabel);
Symbol 109 MovieClip Frame 5
_currentlabel = "small";
Symbol 109 MovieClip Frame 6
gotoAndPlay(_currentlabel);
Symbol 109 MovieClip Frame 7
_currentlabel = "blink";
Symbol 109 MovieClip Frame 11
_currentlabel = "endblink";
Symbol 109 MovieClip Frame 13
_currentlabel = "sad";
Symbol 109 MovieClip Frame 14
gotoAndPlay(_currentlabel);
Symbol 109 MovieClip Frame 15
_currentlabel = "afraid";
Symbol 109 MovieClip Frame 18
gotoAndPlay(_currentlabel);
Symbol 109 MovieClip Frame 19
_currentlabel = "wide";
Symbol 109 MovieClip Frame 20
gotoAndPlay(_currentlabel);
Symbol 137 MovieClip Frame 1
_currentlabel = "closed";
Symbol 137 MovieClip Frame 2
gotoAndPlay(_currentlabel);
Symbol 137 MovieClip Frame 3
_currentlabel = "sad";
Symbol 137 MovieClip Frame 4
gotoAndPlay(_currentlabel);
Symbol 137 MovieClip Frame 5
_currentlabel = "open";
Symbol 137 MovieClip Frame 6
gotoAndPlay(_currentlabel);
Symbol 137 MovieClip Frame 7
_currentlabel = "smile";
Symbol 137 MovieClip Frame 8
gotoAndPlay(_currentlabel);
Symbol 137 MovieClip Frame 9
_currentlabel = "happy";
Symbol 137 MovieClip Frame 10
gotoAndPlay(_currentlabel);
Symbol 137 MovieClip Frame 11
_currentlabel = "laugh";
Symbol 137 MovieClip Frame 12
gotoAndPlay(_currentlabel);
Symbol 137 MovieClip Frame 15
_currentlabel = "breathing";
Symbol 137 MovieClip Frame 76
gotoAndPlay(_currentlabel);
Symbol 137 MovieClip Frame 80
_currentlabel = "faster";
Symbol 137 MovieClip Frame 111
gotoAndPlay(_currentlabel);
Symbol 137 MovieClip Frame 115
_currentlabel = "fast";
Symbol 137 MovieClip Frame 136
gotoAndPlay(_currentlabel);
Symbol 137 MovieClip Frame 140
_currentlabel = "hard";
Symbol 137 MovieClip Frame 160
gotoAndPlay(_currentlabel);
Symbol 137 MovieClip Frame 165
_currentlabel = "smiling";
Symbol 137 MovieClip Frame 180
_currentlabel = "endsmile";
Symbol 137 MovieClip Frame 181
gotoAndPlay(_currentlabel);
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 25
stop();
Symbol 149 MovieClip Frame 1
stop();