Combined Code
frame 1 {
function setState(str) {
if (state != str) {
statetimer = 35 + Math.floor(speech_b._txt.length * 2.2);
curState.state = str;
stat = str;
for (var v2 in states[str]) {
curState[v2] = states[str][v2];
}
vriska.head.eyes.gotoAndPlay(curState.eyes);
vriska.head.mouth.gotoAndPlay(curState.mouth);
}
}
function speak(n) {
lastspeech = n;
speech_b._alpha = 0;
speech_b._txt.text = lines[n]._line;
moveArm(lines[n]._arm);
speechtimer = 35 + Math.floor(speech_b._txt.length * 2.2);
setState(lines[n]._expression);
if (questioned == true) {
speech_b._txt.text = questions[n]._line;
moveArm(questions[n]._arm);
speechtimer = 35 + Math.floor(speech_b._txt.length * 2.2);
setState(questions[n]._expression);
}
questioned = false;
}
function grow() {
if (size < vriska.belly._totalframes) {
++size;
vriska.belly.gotoAndStop(size);
vriska.breasts.gotoAndStop(size);
} else {
growth = 0;
}
}
function revert() {
if (size > 1) {
--size;
vriska.belly.gotoAndStop(size);
vriska.breasts.gotoAndStop(size);
} else {
growth = 0;
}
}
var speechidle = 0;
var lastspeech = 0;
var ranspeeches = [];
resetSpeeches = function () {
ranspeeches.push(1);
ranspeeches.push(2);
ranspeeches.push(3);
ranspeeches.push(4);
ranspeeches.push(5);
};
var _state = '';
var states = new Object();
var curState = new Object();
var state = '';
var backupState = 'default';
var lines = new Object();
var questions = new Object();
var reactions = new Object();
var helpbit1 = '';
var nextsize = 30;
var PXis = 0;
var BPXis = 1150;
var size = 1;
var growth = 0;
vriska.expand_mc.onPress = function () {
growth = 1;
};
vriska.expand_mc.onMouseUp = function () {
growth = 0;
};
vriska.revert_mc.onPress = function () {
growth = -1;
};
vriska.revert_mc.onMouseUp = function () {
growth = 0;
};
bg.reset_mc.onRelease = function () {
reset();
};
lines[-16] = {'_expression': 'default', '_line': '-16'};
lines[-15] = {'_expression': 'default', '_line': '-15'};
lines[-13] = {'_expression': 'i-dislike', '_line': 'Aww, so soon?'};
lines[-12] = {'_expression': 'blush2', '_line': 'I\'m liking this!'};
lines[-11] = {'_expression': 'blush1', '_line': 'I\'ll let you off... this time...'};
lines[-10] = {'_expression': 'i-dislike', '_line': 'Huh... I cant 8elieve the spell worked!'};
lines[-9] = {'_expression': 'mad', '_line': 'That hurt! Stop that!'};
lines[-8] = {'_expression': 'mad', '_line': 'Do that again and I\'ll 8r8k you.'};
lines[-5] = {'_expression': 'blush1', '_line': 'Did I stay stop????????'};
lines[-4] = {'_expression': 'default', '_line': 'I like that! I\'ll have to keep you around!'};
lines[-3] = {'_expression': 'i-like', '_line': 'Heh... I guess this is alright... for now!'};
lines[-2] = {'_expression': 'i-dislike', '_line': 'Don\'t you have something else to do other than antagonise me?'};
lines[-1] = {'_expression': 'i-dislike', '_line': 'Why?'};
lines[0] = {'_expression': 'default', '_line': '-0'};
lines[0] = {'_expression': 'i-like', '_line': 'Horn-y?'};
lines[1] = {'_expression': 'default', '_line': 'I don\'t usually do these kinds of check-ups, but I\'ve been getting this sharp feeling in my stomach ever since I came back.'};
lines[2] = {'_expression': 'smirk', '_line': 'I\'ve seen many things, doctor. The best thing has to be... the sunset on Tallon IV. It\'s breath-taking!'};
lines[3] = {'_expression': 'smirk', '_line': 'Doctor, do you know of a planet called Aether? The planet has some interesting buildings on it.'};
lines[4] = {'_expression': 'smirk', '_line': 'I\'ve seen many things, doctor. The best thing has to be... the sunset on Tallon IV. It\'s breath-taking!'};
lines[5] = {'_expression': 'smirk', '_line': 'Ah, Zebes, that one takes me back! The Motherbrain was uglier in person, trust me!'};
questions[1] = {'_question': 'Uh, hi?', '_expression': 'i-like', '_line': 'Hey!'};
questions[2] = {'_question': 'Who are you?', '_expression': 'i-dislike', '_line': 'I\'m Vriska Serket, the troll. Who the heck are you?'};
questions[3] = {'_question': 'That dress looks nice!', '_expression': 'i-like', '_line': 'Thanks! Shame a8out your outfit though.'};
questions[4] = {'_question': 'Why am I here again?', '_expression': 'i-dislike', '_line': '8eats me - you just appeared out of nowhere!'};
questions[5] = {'_question': 'Can I feel your belly?', '_expression': 'mad', '_line': 'Touch me and you die.'};
questions[31] = {'_question': 'Oh, uhm... how strange?', '_expression': 'i-dislike', '_line': 'That way you speak reminds me of a pathetic pupa I know...'};
questions[32] = {'_question': 'Wait... are you enjoying this?', '_expression': 'mad', '_line': 'You randomly appear in a poor girls home and critisise her quirks? How rude!!!!!!!!'};
questions[33] = {'_question': 'I think your belly just grew!', '_expression': 'i-like', '_line': 'Well aren\'t you o8servant!'};
questions[34] = {'_question': 'Are you pregnant or just fat?', '_expression': 'i-dislike', '_line': 'Was I like this when you first arrived? No.'};
questions[35] = {'_question': 'Can I feel your belly now?', '_expression': 'i-dislike', '_line': 'At least let me warm up to you first. I 8arely know you!!!!!!!!'};
questions[6] = {'_question': 'Oh... Uhm... Hmm... Are you... okay?', '_expression': 'i-like', '_line': 'Yes, I\'m fine... pupa!!!!!!!! That\'s your new name. I\'m calling you Pupa from now on!!!!!!!!'};
questions[7] = {'_question': 'So what you\'re saying is that you\'ve got a pregnancy fetish?', '_expression': 'i-like', '_line': 'May8e, may8e not! What\'s it to you?'};
questions[8] = {'_question': 'You look nice though. I like your new look!', '_expression': 'blush2', '_line': 'Well- I mean- How kind????????'};
questions[9] = {'_question': 'I thought Trolls sent their DNA to a mother grub. I didn\'t know you could get pregnant!', '_expression': 'default', '_line': 'I wasn\'t expecting this to work either, 8ut here we are!!!!!!!! They sure are wriggling around in there! Hey, wanna feel? :::;)'};
questions[10] = {'_question': 'That belly is beggin\' for a rubbin\'!', '_expression': 'i-like', '_line': 'Fine - I\'ll allow it... for now!!!!!!!! ::::)'};
questions[11] = {'_question': 'Uhm... you look nice, Vriska!', '_expression': 'i-like', '_line': 'How sweet, Pupa!!!!!!!!'};
questions[12] = {'_question': 'I, too, have a thing for pregnant bellies! We have so much in common!', '_expression': 'i-like', '_line': 'Prove it! My 8elly is right here! :::;)'};
questions[13] = {'_question': 'Your dress isn\'t going to last much longer if you keep growing!', '_expression': 'default', '_line': 'It\'s a magic dress so I should 8e fine. Your concern is sweet! ::::)'};
questions[14] = {'_question': 'From what I read about you, you\'re not that bad!', '_expression': 'i-like', '_line': 'Oh really? I can show you a 8ad side!!!!!!!! :::;)'};
questions[15] = {'_question': 'Such a cute belly! May I?', '_expression': 'blush1', '_line': 'Ask and you shall receive!!!!!!!! Ru8 away :::;)'};
questions[16] = {'_question': 'Uhm... you sure look happy!', '_expression': 'i-like', '_line': 'I sure am, Pupa!!!!!!!!'};
questions[17] = {'_question': 'So when did you find out you have a thing for pregnancy?', '_expression': 'default', '_line': 'Hm. I guess it was when Terezi and I were FLARPing and I 8ecame pregnant due to a spell placed to guard some treasure. Acting it out was a fantastic feeling so I continued!'};
questions[18] = {'_question': 'But... why aren\'t your breasts growing?', '_expression': 'i-like', '_line': 'I felt them grow... why dont you try to feel a difference? :::;)'};
questions[19] = {'_question': 'Is it over now?', '_expression': 'i-dislike', '_line': 'I guess so. Darn, I was hoping I\'d get 8igger!!!!!!!!'};
questions[20] = {'_question': 'Belly ru-', '_expression': 'i-like', '_line': 'Do you even need to ask at this point???????? You know I\'m going to say yes!!!!!!!! You feel them wriggling...! :::;)'};
states.default = {'eyes': 'default', 'mouth': 'default'};
states.mad = {'eyes': 'mad', 'mouth': 'mad'};
states.i-like = {'eyes': 'mad', 'mouth': 'default'};
states.i-dislike = {'eyes': 'default', 'mouth': 'mad'};
states.blush1 = {'eyes': 'blush1', 'mouth': 'default'};
states.blush2 = {'eyes': 'blush2', 'mouth': 'default'};
states.m-blush1 = {'eyes': 'blush1', 'mouth': 'mad'};
states.m-blush2 = {'eyes': 'blush2', 'mouth': 'mad'};
smoothAdjust = function (s1, s2, mu) {
if (_root[s1] != _root[s2]) {
if ((_root[s2] - _root[s1]) * mu > 1 || (_root[s2] - _root[s1]) * mu < -1) {
_root[s1] += Math.floor((_root[s2] - _root[s1]) * mu);
} else {
if ((_root[s2] - _root[s1]) * mu < 0) {
_root[s1] -= 1;
} else {
if ((_root[s2] - _root[s1]) * mu > 0) {
_root[s1] += 1;
}
}
}
}
};
superSmoothAdjust = function (s1, s2, mu) {
if (_root[s1] != _root[s2]) {
_root[s1] += (_root[s2] - _root[s1]) * mu;
}
};
circular = function (astart, a, aplus) {
if (_root[a + 'started'] != 8) {
_root[a] = astart;
_root[a + 'started'] = 8;
}
if (_root[a] < 6.283185307179586) {
_root[a] += aplus;
} else {
_root[a] -= 6.283185307179586;
}
};
distance = function (x1, x2, y1, y2) {
return Math.sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
};
chatpanel.onEnterFrame = function () {
if (this.hitTest(_xmouse, _ymouse, true)) {
PXSB = -3;
} else {
PXSB = -200;
}
smoothAdjust('PXis', 'PXSB', 0.2);
this._x = PXis;
};
speech_b._alpha = 0;
speech_b.onPress = function () {
if (speechtimer > 10) {
speechtimer = 10;
}
};
askvriska = function (n) {
questioned = true;
speak(Math.floor(nextsize / 50) * 10 + n);
};
vriska.head.onPress = function () {
speechidle = 1;
};
hint.onPress = function () {
setState('i-like');
speech_b._alpha = 0;
speech_b._txt.text = lines[0]._line;
moveArm(lines[n]._arm);
speechtimer = 35 + Math.floor(speech_b._txt.length * 2.2);
setState(lines[n]._expression);
};
vriska.breasts.onPress = function () {
if (size < 45) {
setState('mad');
speech_b._alpha = 0;
speech_b._txt.text = lines[-8]._line;
moveArm(lines[n]._arm);
speechtimer = 35 + Math.floor(speech_b._txt.length * 2.2);
setState(lines[n]._expression);
}
if (size >= 45) {
setState('mad');
speech_b._alpha = 0;
speech_b._txt.text = lines[-9]._line;
moveArm(lines[n]._arm);
speechtimer = 35 + Math.floor(speech_b._txt.length * 2.2);
setState(lines[n]._expression);
}
if (size >= 80) {
setState('i-dislike');
speech_b._alpha = 0;
speech_b._txt.text = lines[-10]._line;
moveArm(lines[n]._arm);
speechtimer = 35 + Math.floor(speech_b._txt.length * 2.2);
setState(lines[n]._expression);
}
if (size >= 160) {
setState('blush1');
speech_b._alpha = 0;
speech_b._txt.text = lines[-11]._line;
moveArm(lines[n]._arm);
speechtimer = 35 + Math.floor(speech_b._txt.length * 2.2);
setState(lines[n]._expression);
}
if (size >= 250) {
setState('blush2');
statetimer = 35 + Math.floor(speech_b._txt.length * 2.2);
speech_b._alpha = 0;
speech_b._txt.text = lines[-12]._line;
moveArm(lines[n]._arm);
speechtimer = 35 + Math.floor(speech_b._txt.length * 2.2);
setState(lines[n]._expression);
}
if (size >= 320) {
setState('blush2');
speech_b._alpha = 0;
speech_b._txt.text = lines[-13]._line;
moveArm(lines[n]._arm);
speechtimer = 35 + Math.floor(speech_b._txt.length * 2.2);
setState(lines[n]._expression);
}
if (size >= 400) {
setState('blush');
speech_b._alpha = 0;
speech_b._txt.text = lines[-14]._line;
moveArm(lines[n]._arm);
speechtimer = 35 + Math.floor(speech_b._txt.length * 2.2);
setState(lines[n]._expression);
}
};
vriska.belly.onPress = function () {
if (size < 45) {
setState('i-dislike');
speech_b._alpha = 0;
speech_b._txt.text = lines[-1]._line;
moveArm(lines[n]._arm);
speechtimer = 35 + Math.floor(speech_b._txt.length * 2.2);
setState(lines[n]._expression);
}
if (size >= 45) {
setState('i-dislike');
speech_b._alpha = 0;
speech_b._txt.text = lines[-2]._line;
moveArm(lines[n]._arm);
speechtimer = 35 + Math.floor(speech_b._txt.length * 2.2);
setState(lines[n]._expression);
}
if (size >= 80) {
setState('i-like');
speech_b._alpha = 0;
speech_b._txt.text = lines[-3]._line;
moveArm(lines[n]._arm);
speechtimer = 35 + Math.floor(speech_b._txt.length * 2.2);
setState(lines[n]._expression);
}
if (size >= 160) {
setState('default');
speech_b._alpha = 0;
speech_b._txt.text = lines[-4]._line;
moveArm(lines[n]._arm);
speechtimer = 35 + Math.floor(speech_b._txt.length * 2.2);
setState(lines[n]._expression);
}
if (size >= 250) {
setState('blush1');
speech_b._alpha = 0;
speech_b._txt.text = lines[-5]._line;
moveArm(lines[n]._arm);
speechtimer = 35 + Math.floor(speech_b._txt.length * 2.2);
setState(lines[n]._expression);
}
if (size >= 320) {
setState('blush2');
speech_b._alpha = 0;
speech_b._txt.text = lines[-6]._line;
moveArm(lines[n]._arm);
speechtimer = 35 + Math.floor(speech_b._txt.length * 2.2);
setState(lines[n]._expression);
}
if (size >= 400) {
setState('blush');
speech_b._alpha = 0;
speech_b._txt.text = lines[-7]._line;
moveArm(lines[n]._arm);
speechtimer = 35 + Math.floor(speech_b._txt.length * 2.2);
setState(lines[n]._expression);
}
};
onEnterFrame = function () {
statetimer = 35 + Math.floor(speech_b._txt.length * 2.2);
if (speech_b._alpha <= 1) {
speech_b._visible = false;
} else {
speech_b._visible = true;
}
if (speechidle < Math.random()) {
speechidle += 0.0005;
} else {
speechidle = 0;
idlespeak(Math.floor(Math.random() * ranspeeches.length));
}
if (speechtimer > 0) {
speechtimer -= 1;
if (speech_b._alpha < 100) {
speech_b._alpha += 8;
}
speechidle = 0;
} else {
if (speech_b._alpha > 0) {
speech_b._alpha -= 8;
if (statetimer > 0) {
statetimer = 10;
}
}
}
if (size < 45) {
statetimer = 35 + Math.floor(speech_b._txt.length * 2.2);
if (statetimer > 0) {
statetimer -= 1;
} else {
setState('default');
}
chatpanel.question_1._txt.text = questions[1]._question;
chatpanel.question_2._txt.text = questions[2]._question;
chatpanel.question_3._txt.text = questions[3]._question;
chatpanel.question_4._txt.text = questions[4]._question;
chatpanel.question_5._txt.text = questions[5]._question;
chatpanel.question_1.onPress = function () {
askvriska(1);
};
chatpanel.question_2.onPress = function () {
askvriska(2);
};
chatpanel.question_3.onPress = function () {
askvriska(3);
};
chatpanel.question_4.onPress = function () {
askvriska(4);
};
chatpanel.question_5.onPress = function () {
askvriska(5);
};
}
if (size >= 45) {
statetimer = 35 + Math.floor(speech_b._txt.length * 2.2);
if (statetimer > 0) {
statetimer -= 1;
} else {
setState('i-dislike');
}
chatpanel.question_1._txt.text = questions[31]._question;
chatpanel.question_2._txt.text = questions[32]._question;
chatpanel.question_3._txt.text = questions[33]._question;
chatpanel.question_4._txt.text = questions[34]._question;
chatpanel.question_5._txt.text = questions[35]._question;
chatpanel.question_1.onPress = function () {
askvriska(31);
};
chatpanel.question_2.onPress = function () {
askvriska(32);
};
chatpanel.question_3.onPress = function () {
askvriska(33);
};
chatpanel.question_4.onPress = function () {
askvriska(34);
};
chatpanel.question_5.onPress = function () {
askvriska(35);
};
}
if (size >= 80) {
if (statetimer > 0) {
statetimer -= 1;
} else {
setState('i-like');
}
chatpanel.question_1._txt.text = questions[6]._question;
chatpanel.question_2._txt.text = questions[7]._question;
chatpanel.question_3._txt.text = questions[8]._question;
chatpanel.question_4._txt.text = questions[9]._question;
chatpanel.question_5._txt.text = questions[10]._question;
chatpanel.question_1.onPress = function () {
askvriska(6);
};
chatpanel.question_2.onPress = function () {
askvriska(7);
};
chatpanel.question_3.onPress = function () {
askvriska(8);
};
chatpanel.question_4.onPress = function () {
askvriska(9);
};
chatpanel.question_5.onPress = function () {
askvriska(10);
};
}
if (size >= 160) {
if (statetimer > 0) {
statetimer -= 1;
} else {
setState('blush2');
}
chatpanel.question_1._txt.text = questions[11]._question;
chatpanel.question_2._txt.text = questions[12]._question;
chatpanel.question_3._txt.text = questions[13]._question;
chatpanel.question_4._txt.text = questions[14]._question;
chatpanel.question_5._txt.text = questions[15]._question;
chatpanel.question_1.onPress = function () {
askvriska(11);
};
chatpanel.question_2.onPress = function () {
askvriska(12);
};
chatpanel.question_3.onPress = function () {
askvriska(13);
};
chatpanel.question_4.onPress = function () {
askvriska(14);
};
chatpanel.question_5.onPress = function () {
askvriska(15);
};
}
if (size >= 250) {
if (statetimer > 0) {
statetimer -= 1;
} else {
setState('i-like');
}
chatpanel.question_1._txt.text = questions[16]._question;
chatpanel.question_2._txt.text = questions[17]._question;
chatpanel.question_3._txt.text = questions[18]._question;
chatpanel.question_4._txt.text = questions[19]._question;
chatpanel.question_5._txt.text = questions[20]._question;
chatpanel.question_1.onPress = function () {
askvriska(16);
};
chatpanel.question_2.onPress = function () {
askvriska(17);
};
chatpanel.question_3.onPress = function () {
askvriska(18);
};
chatpanel.question_4.onPress = function () {
askvriska(19);
};
chatpanel.question_5.onPress = function () {
askvriska(20);
};
}
if (size >= 250) {
bg.gotoAndPlay(2);
}
};
vriska.belly.onEnterFrame = function () {
if (growth != 1) {
if (growth == -1) {
revert();
if (true !== size < 60) {
} else {
setState('i-dislike');
}
}
} else {
grow();
switch (true) {
case size < 45:
setState('i-dislike');
break;
case size < 80:
setState('i-like');
break;
case size < 160:
setState('default');
break;
case size == 250:
setSate('i-like');
}
}
};
bg.reset_mc.onPress = function () {
statetimer = 5 + Math.floor(speech_b._txt.length * 2.2);
speech_b._alpha = 0;
speech_b._txt.text = lines[-13]._line;
moveArm(lines[n]._arm);
speechtimer = 35 + Math.floor(speech_b._txt.length * 2.2);
setState(lines[n]._expression);
};
reset = function () {
size = 0;
vriska.belly.gotoAndPlay(1);
vriska.breasts.gotoAndPlay(1);
setState('i-dislike');
};
}
// unknown tag 88 length 282
movieClip 6 {
}
movieClip 7 {
frame 1 {
stop();
}
}
movieClip 10 {
}
movieClip 12 {
}
movieClip 13 {
}
// unknown tag 88 length 92
movieClip 18 {
}
movieClip 20 {
}
movieClip 22 {
}
movieClip 24 {
}
movieClip 26 {
}
movieClip 28 {
}
movieClip 37 {
frame 1 {
stop();
}
}
movieClip 39 {
}
movieClip 43 {
frame 1 {
_currentlabel = 'default';
}
frame 2 {
gotoAndPlay(_currentlabel);
}
frame 3 {
_currentlabel = 'mad';
stop();
}
frame 4 {
gotoAndPlay(_currentlabel);
}
}
movieClip 53 {
frame 1 {
_currentlabel = 'default';
}
frame 2 {
gotoAndPlay(_currentlabel);
}
frame 3 {
_currentlabel = 'mad';
stop();
}
frame 4 {
gotoAndPlay(_currentlabel);
}
frame 5 {
_currentlabel = 'horror';
}
frame 6 {
gotoAndPlay(_currentlabel);
}
frame 7 {
_currentlabel = 'horror';
}
frame 8 {
gotoAndPlay(_currentlabel);
}
}
movieClip 54 {
}
movieClip 56 {
}
movieClip 58 {
}
movieClip 59 {
}
movieClip 62 {
frame 1 {
_currentlabel = 'lowerleft';
}
frame 2 {
gotoAndPlay(_currentlabel);
}
}
movieClip 66 {
}
movieClip 68 {
}
movieClip 70 {
}
movieClip 72 {
}
movieClip 74 {
}
movieClip 75 {
}