Frame 1
function setSize() {
renamon.breast1.gotoAndStop(Math.floor(size));
renamon.breast2.gotoAndStop(Math.floor(size));
renamon.fur1.gotoAndStop(Math.floor(size));
}
function grow() {
if (size < renamon.breast1._totalframes) {
size = size + growthSpeed;
if (size > renamon.breast1._totalframes) {
size = renamon.breast1._totalframes;
}
setSize();
} else {
growth = 0;
}
}
function revert() {
if (size > 1) {
size = size - growthSpeed;
if (size < 1) {
size = 1;
}
setSize();
} 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.eye.gotoAndPlay(curState.eye);
renamon.mouth.gotoAndPlay(curState.mouth);
renamon.eye.pupil._x = pX + curState.pX;
renamon.eye.pupil._y = pY + curState.pY;
if (renamon.arm1._currentlabel != curState.arm1) {
renamon.arm1.gotoAndPlay("move" + curState.arm1);
}
canBlink = curState.canBlink;
}
}
function writePhrase(str) {
if (speech_mc.toSay == str) {
return(undefined);
}
speech_mc._visible = true;
speech_mc.toSay = str;
speech_mc.speechState = 0;
speech_mc.charPos = 0;
speech_mc._txt.text = "";
speech_mc.gotoAndPlay(1);
speech_mc.onEnterFrame = function () {
if (this._currentframe == 8) {
switch (this.speechState) {
case 0 :
if (this.charPos == this.toSay.length) {
this.speechState++;
} else {
this._txt.text = this._txt.text + this.toSay.charAt(this.charPos++);
this._txt.scroll = this._txt.maxscroll;
}
break;
case 1 :
if (!((this.charPos--) + 5)) {
this.speechState++;
}
break;
case 2 :
this.toSay = "";
this.play();
}
} else if (this._currentframe == this._totalframes) {
this.gotoAndStop(1);
this._txt.text = "";
this.speechState = 0;
this._visible = false;
} else {
this.play();
}
};
}
_level0.bgColor = 52224;
_level0.flashWidth = 800;
_level0.flashHeight = 600;
var state = "";
var condition = "";
var states = new Array();
var size = 1;
var growthSpeed = 1;
var growth = 0;
var curState = new Object();
var canBlink = false;
var blinking = false;
var timer = 0;
var pX = renamon.eye.pupil._x;
var pY = renamon.eye.pupil._y;
var lastPhrase = 0;
setSize();
states.resting = {mouth:"smile", eye:"closed", arm1:"down", pX:0, pY:0, canBlink:false};
states.curious = {mouth:"small", eye:"open", arm1:"down", pX:-6, pY:5, canBlink:true};
states.realize = {mouth:"happy", eye:"wide", arm1:"up", pX:-7, pY:7, canBlink:true};
states.relaxed = {mouth:"smile", eye:"small", arm1:"down", pX:-4, pY:3, canBlink:true};
states.nervous = {mouth:"happy", eye:"sad", arm1:"down", pX:-6, pY:5, canBlink:true};
states.worried = {mouth:"small", eye:"sad", arm1:"up", pX:-7, pY:7, canBlink:true};
states.confused = {mouth:"confused", eye:"open", arm1:"up", pX:0, pY:0, canBlink:true};
states.tired = {mouth:"small", eye:"medium", arm1:"down", pX:0, pY:0, canBlink:true};
states.happy = {mouth:"happy", eye:"small", arm1:"down", pX:-10, pY:8, canBlink:true};
states.over = {mouth:"smile", eye:"open", arm1:"down", pX:0, pY:0, canBlink:true};
states.revert = {mouth:"closed", eye:"sad", arm1:"down", pX:-5, pY:5, canBlink:true};
states.smaller = {mouth:"happy", eye:"closed", arm1:"down", pX:-5, pY:5, canBlink:false};
states.almost = {mouth:"closed", eye:"small", arm1:"down", pX:-10, pY:5, canBlink:true};
setState("resting");
speech_mc._visible = false;
speech_mc.stop();
writePhrase("Zzzz...");
renamon.onEnterFrame = function () {
if ((canBlink && (Math.random() > 0.99)) && (condition == "")) {
renamon.eye.gotoAndPlay("blink");
renamon.eye.pupil._x = pX + curState.pX;
renamon.eye.pupil._y = pY + curState.pY;
blinking = true;
}
if (blinking && (renamon.eye._currentlabel == "endblink")) {
renamon.eye.gotoAndPlay(curState.eye);
renamon.eye.pupil._x = pX + curState.pX;
renamon.eye.pupil._y = pY + curState.pY;
blinking = false;
}
if (growth == 1) {
grow();
switch (true) {
case size < 30 :
break;
case size < 100 :
setState("curious");
if (lastPhrase == 0) {
writePhrase("Huh...? Is there something ontop of me?");
lastPhrase++;
}
break;
case size < 200 :
setState("realize");
if (lastPhrase == 1) {
writePhrase("Uhhh... ...Oh! My breasts! They're... bigger!");
lastPhrase++;
}
break;
case (size > 200) && ((size - growthSpeed) < 200) :
if (!(_panel._nonstop._currentframe - 1)) {
size = 200;
setSize();
}
case size == 200 :
if (!(_panel._nonstop._currentframe - 1)) {
growth = 0;
setState("relaxed");
if (lastPhrase == 2) {
writePhrase("Oh, this could be nice!");
lastPhrase++;
}
}
break;
case size < 300 :
if (size == 201) {
renamon.drop.gotoAndPlay(2);
renamon.blush.gotoAndPlay(2);
}
setState("nervous");
if (lastPhrase <= 3) {
writePhrase("Oh... Ah, my breasts are getting even bigger...");
lastPhrase = 4;
}
break;
case size < 400 :
setState("worried");
if (lastPhrase == 4) {
writePhrase("I-i-is this going to stop...?");
lastPhrase++;
}
break;
case (size > 400) && ((size - growthSpeed) < 400) :
if (!(_panel._nonstop._currentframe - 1)) {
size = 400;
setSize();
}
case size == 400 :
if (!(_panel._nonstop._currentframe - 1)) {
growth = 0;
setState("confused");
if (lastPhrase == 5) {
writePhrase("This is weird. ");
lastPhrase++;
}
}
break;
case size < 500 :
setState("tired");
if (lastPhrase <= 6) {
writePhrase("This is too much. How... heavy.");
lastPhrase = 7;
}
break;
case size < 600 :
setState("happy");
if (lastPhrase == 7) {
writePhrase("Mmmmmm... I think I'll just relax until it's over.");
lastPhrase++;
}
break;
case size >= 600 :
size = 600;
growth = 0;
setState("over");
if (lastPhrase != 8) {
break;
}
writePhrase("I don't think I can get up anymore... Can someone help me?");
lastPhrase++;
}
} else if (growth == -1) {
revert();
renamon.drop.gotoAndStop(1);
switch (true) {
case size == 1 :
setState("resting");
break;
case size < 200 :
setState("almost");
if (lastPhrase == 11) {
writePhrase("Oh... Hey, my breasts actually could be a bit bigger.");
lastPhrase++;
}
break;
case size < 400 :
setState("smaller");
if (lastPhrase == 10) {
writePhrase("Aaahhh, that takes a load off my chest.");
lastPhrase++;
}
break;
case size < 600 :
setState("revert");
if (lastPhrase != 9) {
break;
}
writePhrase("Now what? I was just getting used to this. I could probably even get up!");
lastPhrase++;
}
} else if (state == 200) {
} else if (state == 400) {
} else if (state == 600) {
}
};
var reset = false;
_panel._plus._txt.text = "+";
_panel._minus._txt.text = "-";
_panel._expand._txt.text = "Expand";
_panel._revert._txt.text = "Revert";
_panel._nonstop_txt.text = "non-stop";
_panel._info.text = "Renamon breast expansion. Drawn and programmed by Doom the wolf (http://doom-the-wolf.deviantart.com). Click 'Expand' or 'Revert' to change the size of her breasts. 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._speed_txt.text = "1";
_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 (size < 200) {
_panel._expand._txt.text = "Expand";
} else if (size < 400) {
_panel._expand._txt.text = "Bigger";
} else if (size < 600) {
_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._nonstop.onRelease = function () {
this.gotoAndStop(3 - this._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 > 15) {
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 (size >= renamon.breast1._totalframes) {
growth = 0;
reset = true;
} else {
growth = 1;
}
};
_panel._expand.onRelease = function () {
if (reset) {
lastPhrase = 0;
growth = 0;
size = 1;
broken = 0;
setSize();
condition = "";
delete _root.onEnterFrame;
setState("resting");
reset = false;
}
};
_panel._expand.onReleaseOutside = function () {
reset = false;
};
_panel._revert.onPress = function () {
growth = -1;
};
var kDown = new Object();
Key.addListener(kDown);
_panel._speed_txt.maxChars = 2;
_panel._speed_txt.restrict = "0123456789.";
_panel._speed_txt.background = true;
_panel._speed_txt.backgroundColor = 16777215 /* 0xFFFFFF */;
_panel._speed_txt.border = true;
kDown.onKeyDown = function (K) {
if ((Key.getCode() == 13) || (K != undefined)) {
if ((_panel._speed_txt.text.length == 0) || (_panel._speed_txt.text == "..")) {
_panel._speed_txt.text = "1";
} else if (_panel._speed_txt.text == "0") {
_panel._speed_txt.text = "1";
} else if (Number(_panel._speed_txt.text) > 50) {
_panel._speed_txt.text = "50";
}
growthSpeed = Number(_panel._speed_txt.text);
_panel._speed_txt.backgroundColor = 16777215 /* 0xFFFFFF */;
}
};
_panel._speed_txt.onChanged = function () {
_panel._speed_txt.backgroundColor = 16746632 /* 0xFF8888 */;
};
_panel._speed_txt.onSetFocus = function () {
_panel._speed_txt.backgroundColor = 16746632 /* 0xFF8888 */;
};
_panel._speed_txt.onKillFocus = function () {
kDown.onKeyDown(true);
};
var tF = new TextFormat();
tF.size = 12;
_panel._ok._txt.setNewTextFormat(tF);
_panel._ok._txt.text = "ok";
_panel._ok.onPress = function () {
kDown.onKeyDown(true);
};
renamon.onMouseDown = function () {
renamon.startDrag();
};
renamon.onMouseUp = function () {
renamon.stopDrag();
};
renamon.breast1.onPress = function () {
if (condition == "") {
timer = 30;
if (size < 200) {
renamon.eye.gotoAndPlay("medium");
renamon.mouth.gotoAndPlay("happy");
writePhrase("Oh, you're very daring.");
} else if (size < 400) {
renamon.eye.gotoAndPlay("mad");
renamon.mouth.gotoAndPlay("closed");
writePhrase("Hey, there's something wrong with my breasts! Leave them alone.");
} else {
if (renamon.arm1._currentlabel != "up") {
renamon.arm1._currentlabel = "moveup";
}
renamon.eye.gotoAndPlay("wide");
renamon.mouth.gotoAndPlay("open");
writePhrase("Ah!");
timer = 15;
}
canBlink = false;
condition = "breastpoke";
state = "special";
_root.onEnterFrame = timeout_fn;
}
};
renamon.breast2.onPress = renamon.breast1.onPress;
renamon.front.onPress = function () {
if (condition == "") {
renamon.eye.gotoAndPlay("shut");
renamon.mouth.gotoAndPlay("happy");
timer = 15;
canBlink = false;
condition = "bellypoke";
state = "special";
_root.onEnterFrame = timeout_fn;
}
};
Symbol 22 MovieClip Frame 1
_currentlabel = "down";
Symbol 22 MovieClip Frame 2
gotoAndPlay(_currentlabel);
Symbol 22 MovieClip Frame 5
_currentlabel = "up";
Symbol 22 MovieClip Frame 10
_currentlabel = "up";
Symbol 22 MovieClip Frame 11
gotoAndPlay(_currentlabel);
Symbol 22 MovieClip Frame 12
_currentlabel = "down";
Symbol 22 MovieClip Frame 17
gotoAndPlay(_currentlabel);
Symbol 41 MovieClip Frame 1
_currentlabel = "smile";
Symbol 41 MovieClip Frame 2
gotoAndPlay(_currentlabel);
Symbol 41 MovieClip Frame 3
_currentlabel = "closed";
Symbol 41 MovieClip Frame 4
gotoAndPlay(_currentlabel);
Symbol 41 MovieClip Frame 5
_currentlabel = "small";
Symbol 41 MovieClip Frame 23
gotoAndPlay(_currentlabel);
Symbol 41 MovieClip Frame 24
_currentlabel = "happy";
Symbol 41 MovieClip Frame 47
gotoAndPlay(_currentlabel);
Symbol 41 MovieClip Frame 48
_currentlabel = "confused";
Symbol 41 MovieClip Frame 49
gotoAndPlay(_currentlabel);
Symbol 41 MovieClip Frame 50
_currentlabel = "open";
Symbol 41 MovieClip Frame 67
gotoAndPlay(_currentlabel);
Symbol 41 MovieClip Frame 68
_currentlabel = "teeth";
Symbol 41 MovieClip Frame 69
gotoAndPlay(_currentlabel);
Symbol 54 MovieClip Frame 1
_currentlabel = "open";
Symbol 54 MovieClip Frame 2
gotoAndPlay(_currentlabel);
Symbol 54 MovieClip Frame 3
_currentlabel = "closed";
Symbol 54 MovieClip Frame 4
gotoAndPlay(_currentlabel);
Symbol 54 MovieClip Frame 5
_currentlabel = "small";
Symbol 54 MovieClip Frame 6
gotoAndPlay(_currentlabel);
Symbol 54 MovieClip Frame 7
_currentlabel = "blink";
Symbol 54 MovieClip Frame 11
_currentlabel = "endblink";
Symbol 54 MovieClip Frame 12
gotoAndPlay(_currentlabel);
Symbol 54 MovieClip Frame 13
_currentlabel = "sad";
Symbol 54 MovieClip Frame 14
gotoAndPlay(_currentlabel);
Symbol 54 MovieClip Frame 15
_currentlabel = "medium";
Symbol 54 MovieClip Frame 16
gotoAndPlay(_currentlabel);
Symbol 54 MovieClip Frame 17
_currentlabel = "shut";
Symbol 54 MovieClip Frame 18
gotoAndPlay(_currentlabel);
Symbol 54 MovieClip Frame 20
_currentlabel = "wide";
Symbol 54 MovieClip Frame 21
gotoAndPlay(_currentlabel);
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 35
stop();
Symbol 73 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 8
stop();