Section 1
//None (fl.transitions.easing.None)
package fl.transitions.easing {
public class None {
public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
}
}//package fl.transitions.easing
Section 2
//Regular (fl.transitions.easing.Regular)
package fl.transitions.easing {
public class Regular {
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((_arg3 * _arg1) * _arg1) + _arg2));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2));
};
--_arg1;
return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2));
}
}
}//package fl.transitions.easing
Section 3
//Strong (fl.transitions.easing.Strong)
package fl.transitions.easing {
public class Strong {
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2));
}
}
}//package fl.transitions.easing
Section 4
//Tween (fl.transitions.Tween)
package fl.transitions {
import flash.events.*;
import flash.utils.*;
import flash.display.*;
public class Tween extends EventDispatcher {
public var isPlaying:Boolean;// = false
public var obj:Object;// = null
public var prop:String;// = ""
public var func:Function;
public var begin:Number;// = NAN
public var change:Number;// = NAN
public var useSeconds:Boolean;// = false
public var prevTime:Number;// = NAN
public var prevPos:Number;// = NAN
public var looping:Boolean;// = false
private var _duration:Number;// = NAN
private var _time:Number;// = NAN
private var _fps:Number;// = NAN
private var _position:Number;// = NAN
private var _startTime:Number;// = NAN
private var _intervalID:uint;// = 0
private var _finish:Number;// = NAN
private var _timer:Timer;// = null
protected static var _mc:MovieClip = new MovieClip();
public function Tween(_arg1:Object, _arg2:String, _arg3:Function, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean=false){
this.func = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
};
super();
if (!arguments.length){
return;
};
this.obj = _arg1;
this.prop = _arg2;
this.begin = _arg4;
this.position = _arg4;
this.duration = _arg6;
this.useSeconds = _arg7;
if ((_arg3 is Function)){
this.func = _arg3;
};
this.finish = _arg5;
this._timer = new Timer(100);
this.start();
}
public function get time():Number{
return (this._time);
}
public function set time(_arg1:Number):void{
this.prevTime = this._time;
if (_arg1 > this.duration){
if (this.looping){
this.rewind((_arg1 - this._duration));
this.update();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_LOOP, this._time, this._position));
} else {
if (this.useSeconds){
this._time = this._duration;
this.update();
};
this.stop();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_FINISH, this._time, this._position));
};
} else {
if (_arg1 < 0){
this.rewind();
this.update();
} else {
this._time = _arg1;
this.update();
};
};
}
public function get duration():Number{
return (this._duration);
}
public function set duration(_arg1:Number):void{
this._duration = ((_arg1)<=0) ? Infinity : _arg1;
}
public function get FPS():Number{
return (this._fps);
}
public function set FPS(_arg1:Number):void{
var _local2:Boolean = this.isPlaying;
this.stopEnterFrame();
this._fps = _arg1;
if (_local2){
this.startEnterFrame();
};
}
public function get position():Number{
return (this.getPosition(this._time));
}
public function set position(_arg1:Number):void{
this.setPosition(_arg1);
}
public function getPosition(_arg1:Number=NaN):Number{
if (isNaN(_arg1)){
_arg1 = this._time;
};
return (this.func(_arg1, this.begin, this.change, this._duration));
}
public function setPosition(_arg1:Number):void{
this.prevPos = this._position;
if (this.prop.length){
this.obj[this.prop] = (this._position = _arg1);
};
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_CHANGE, this._time, this._position));
}
public function get finish():Number{
return ((this.begin + this.change));
}
public function set finish(_arg1:Number):void{
this.change = (_arg1 - this.begin);
}
public function continueTo(_arg1:Number, _arg2:Number):void{
this.begin = this.position;
this.finish = _arg1;
if (!isNaN(_arg2)){
this.duration = _arg2;
};
this.start();
}
public function yoyo():void{
this.continueTo(this.begin, this.time);
}
protected function startEnterFrame():void{
var _local1:Number;
if (isNaN(this._fps)){
_mc.addEventListener(Event.ENTER_FRAME, this.onEnterFrame, false, 0, true);
} else {
_local1 = (1000 / this._fps);
this._timer.delay = _local1;
this._timer.addEventListener(TimerEvent.TIMER, this.timerHandler, false, 0, true);
this._timer.start();
};
this.isPlaying = true;
}
protected function stopEnterFrame():void{
if (isNaN(this._fps)){
_mc.removeEventListener(Event.ENTER_FRAME, this.onEnterFrame);
} else {
this._timer.stop();
};
this.isPlaying = false;
}
public function start():void{
this.rewind();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_START, this._time, this._position));
}
public function stop():void{
this.stopEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_STOP, this._time, this._position));
}
public function resume():void{
this.fixTime();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_RESUME, this._time, this._position));
}
public function rewind(_arg1:Number=0):void{
this._time = _arg1;
this.fixTime();
this.update();
}
public function fforward():void{
this.time = this._duration;
this.fixTime();
}
public function nextFrame():void{
if (this.useSeconds){
this.time = ((getTimer() - this._startTime) / 1000);
} else {
this.time = (this._time + 1);
};
}
protected function onEnterFrame(_arg1:Event):void{
this.nextFrame();
}
protected function timerHandler(_arg1:TimerEvent):void{
this.nextFrame();
_arg1.updateAfterEvent();
}
public function prevFrame():void{
if (!this.useSeconds){
this.time = (this._time - 1);
};
}
private function fixTime():void{
if (this.useSeconds){
this._startTime = (getTimer() - (this._time * 1000));
};
}
private function update():void{
this.setPosition(this.getPosition(this._time));
}
}
}//package fl.transitions
Section 5
//TweenEvent (fl.transitions.TweenEvent)
package fl.transitions {
import flash.events.*;
public class TweenEvent extends Event {
public var time:Number;// = NAN
public var position:Number;// = NAN
public static const MOTION_START:String = "motionStart";
public static const MOTION_STOP:String = "motionStop";
public static const MOTION_FINISH:String = "motionFinish";
public static const MOTION_CHANGE:String = "motionChange";
public static const MOTION_RESUME:String = "motionResume";
public static const MOTION_LOOP:String = "motionLoop";
public function TweenEvent(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Boolean=false){
super(_arg1, _arg4, _arg5);
this.time = _arg2;
this.position = _arg3;
}
override public function clone():Event{
return (new TweenEvent(this.type, this.time, this.position, this.bubbles, this.cancelable));
}
}
}//package fl.transitions
Section 6
//btn1_67 (TheWedding_fla.btn1_67)
package TheWedding_fla {
import flash.display.*;
public dynamic class btn1_67 extends MovieClip {
public function btn1_67(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 7
//btn2_68 (TheWedding_fla.btn2_68)
package TheWedding_fla {
import flash.display.*;
public dynamic class btn2_68 extends MovieClip {
public function btn2_68(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 8
//btn3_69 (TheWedding_fla.btn3_69)
package TheWedding_fla {
import flash.display.*;
public dynamic class btn3_69 extends MovieClip {
public function btn3_69(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 9
//btn4_70 (TheWedding_fla.btn4_70)
package TheWedding_fla {
import flash.display.*;
public dynamic class btn4_70 extends MovieClip {
public function btn4_70(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 10
//btnBabynurse_56 (TheWedding_fla.btnBabynurse_56)
package TheWedding_fla {
import flash.display.*;
public dynamic class btnBabynurse_56 extends MovieClip {
public function btnBabynurse_56(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 11
//btnBride_54 (TheWedding_fla.btnBride_54)
package TheWedding_fla {
import flash.display.*;
public dynamic class btnBride_54 extends MovieClip {
public function btnBride_54(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 12
//btnBridesmaid_55 (TheWedding_fla.btnBridesmaid_55)
package TheWedding_fla {
import flash.display.*;
public dynamic class btnBridesmaid_55 extends MovieClip {
public function btnBridesmaid_55(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 13
//btnCook_49 (TheWedding_fla.btnCook_49)
package TheWedding_fla {
import flash.display.*;
public dynamic class btnCook_49 extends MovieClip {
public function btnCook_49(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 14
//btnGardener_50 (TheWedding_fla.btnGardener_50)
package TheWedding_fla {
import flash.display.*;
public dynamic class btnGardener_50 extends MovieClip {
public function btnGardener_50(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 15
//btnGroom_48 (TheWedding_fla.btnGroom_48)
package TheWedding_fla {
import flash.display.*;
public dynamic class btnGroom_48 extends MovieClip {
public function btnGroom_48(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 16
//btnKitchenmaid_58 (TheWedding_fla.btnKitchenmaid_58)
package TheWedding_fla {
import flash.display.*;
public dynamic class btnKitchenmaid_58 extends MovieClip {
public function btnKitchenmaid_58(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 17
//btnMagician_51 (TheWedding_fla.btnMagician_51)
package TheWedding_fla {
import flash.display.*;
public dynamic class btnMagician_51 extends MovieClip {
public function btnMagician_51(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 18
//btnMaid_59 (TheWedding_fla.btnMaid_59)
package TheWedding_fla {
import flash.display.*;
public dynamic class btnMaid_59 extends MovieClip {
public function btnMaid_59(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 19
//btnNotes_63 (TheWedding_fla.btnNotes_63)
package TheWedding_fla {
import flash.display.*;
public dynamic class btnNotes_63 extends MovieClip {
public function btnNotes_63(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 20
//btnPaperboy_53 (TheWedding_fla.btnPaperboy_53)
package TheWedding_fla {
import flash.display.*;
public dynamic class btnPaperboy_53 extends MovieClip {
public function btnPaperboy_53(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 21
//btnProfessor_52 (TheWedding_fla.btnProfessor_52)
package TheWedding_fla {
import flash.display.*;
public dynamic class btnProfessor_52 extends MovieClip {
public function btnProfessor_52(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 22
//btnProfwife_57 (TheWedding_fla.btnProfwife_57)
package TheWedding_fla {
import flash.display.*;
public dynamic class btnProfwife_57 extends MovieClip {
public function btnProfwife_57(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 23
//btnTracker_71 (TheWedding_fla.btnTracker_71)
package TheWedding_fla {
import flash.display.*;
public dynamic class btnTracker_71 extends MovieClip {
public function btnTracker_71(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 24
//charIntroTextBox_4 (TheWedding_fla.charIntroTextBox_4)
package TheWedding_fla {
import flash.display.*;
public dynamic class charIntroTextBox_4 extends MovieClip {
public function charIntroTextBox_4(){
addFrameScript(0, frame1, 6, frame7);
}
function frame1(){
stop();
}
function frame7(){
stop();
}
}
}//package TheWedding_fla
Section 25
//charPolice_34 (TheWedding_fla.charPolice_34)
package TheWedding_fla {
import flash.display.*;
public dynamic class charPolice_34 extends MovieClip {
public function charPolice_34(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 26
//MainTimeline (TheWedding_fla.MainTimeline)
package TheWedding_fla {
import flash.events.*;
import fl.transitions.easing.*;
import fl.transitions.*;
import flash.utils.*;
import flash.display.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var spriteCook:MovieClip;
public var winDialog:MovieClip;
public var btnLeft:MovieClip;
public var btnIntroStart:introStartButton;
public var charIntroTextBox:MovieClip;
public var aargh:MovieClip;
public var btnUp:MovieClip;
public var btnSkipIntroduction:MovieClip;
public var spriteBridesmaid:MovieClip;
public var gameOver:MovieClip;
public var tracker:MovieClip;
public var spriteProfwife:MovieClip;
public var spriteMaid:MovieClip;
public var spritePaperboy:MovieClip;
public var loader_mc:movie_mc;
public var loaded_txt:TextField;
public var chatCloud:MovieClip;
public var spriteBabynurse:MovieClip;
public var btnDown:MovieClip;
public var spriteGroom:MovieClip;
public var spriteProfessor:MovieClip;
public var spriteMagician:MovieClip;
public var bgImage:MovieClip;
public var spriteGardener:MovieClip;
public var spriteBride:MovieClip;
public var spriteKitchenmaid:MovieClip;
public var notes:MovieClip;
public var btnRight:MovieClip;
public var offscreen:MovieClip;
public var wndMurderer:MovieClip;
public var building:MovieClip;
public var myInterval2:uint;
public var charNr;
public var charTimeOut;
public var bMoveAbout;
public var bPageAnimating;
public var playerId;
public var i;
public var j;
public var k;
public var iPhase;
public var secondsCounter;
public var bPlayerOnKillList;
public var bGameOver;
public var lastMurderedId;
public var iCharsMurdered;
public var iChatChar;
public var iCharAccused;
public var bAccusation;
public var iCharsSaved;
public var arrLikeDislike:Array;
public var arrButtons:Array;
public var arrOfficialName:Array;
public var arrCharName:Array;
public var arrClueName:Array;
public var arrCharObj:Array;
public var arrItem:Array;
public var arrConfirmedDead:Array;
public var arrSurvivors:Array;
public var arrItemName:Array;
public var arrItemSwapDelay:Array;
public var arrMotionDelay:Array;
public var arrRoomX:Array;
public var arrRoomY:Array;
public var arrGoalX:Array;
public var arrGoalY:Array;
public var arrGoalXCoord:Array;
public var playerGoalX;
public var playerFloorChange;
public var liftSlide;
public var screamTweenX:Tween;
public var screamTweenY:Tween;
public var screamTweenA:Tween;
public var aarghTween:Tween;
public var arrClues:Array;
public var murdererId;
public var myInterval:uint;
public var secondsInterval:uint;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
public function onProgress(_arg1:ProgressEvent):void{
var _local2:Number = _arg1.target.bytesLoaded;
var _local3:Number = _arg1.target.bytesTotal;
var _local4:Number = (_local2 / _local3);
loader_mc.scaleX = _local4;
loaded_txt.text = (("Loading... " + Math.round((_local4 * 100))) + "%");
}
public function onComplete(_arg1:Event):void{
loaded_txt.text = "Finished loading.";
var _local2:* = this.loaderInfo.url;
var _local3:* = false;
if (_local2.search("file:") != -1){
_local3 = true;
};
if (_local2.search("deviantart.net") != -1){
_local3 = true;
};
if (_local3 == true){
btnIntroStart.alpha = 1;
btnIntroStart.addEventListener(MouseEvent.CLICK, startGame);
};
}
public function startGame(_arg1:MouseEvent):void{
gotoAndStop(2);
}
public function myTimer2():void{
if (bPageAnimating == true){
if (bMoveAbout == false){
doIntroWalks();
} else {
moveSprite(spriteGardener);
moveSprite(spriteCook);
moveSprite(spriteMagician);
moveSprite(spriteProfessor);
moveSprite(spriteGroom);
moveSprite(spritePaperboy);
moveSprite(spriteMaid);
moveSprite(spriteBabynurse);
moveSprite(spriteProfwife);
moveSprite(spriteKitchenmaid);
moveSprite(spriteBride);
moveSprite(spriteBridesmaid);
};
};
}
public function moveSprite(_arg1):void{
if (bPageAnimating == true){
if (_arg1.currentFrame < 4){
_arg1.gotoAndStop((_arg1.currentFrame + 1));
} else {
_arg1.gotoAndStop(1);
};
_arg1.x = (_arg1.x + 20);
if (bMoveAbout == true){
if (_arg1.x > 650){
_arg1.x = -550;
};
};
};
}
public function doIntroWalks():void{
var _local1:* = spriteGardener;
if (charNr == 0){
_local1 = spriteGroom;
};
if (charNr == 1){
_local1 = spriteCook;
};
if (charNr == 2){
_local1 = spriteMagician;
};
if (charNr == 3){
_local1 = spriteProfessor;
};
if (charNr == 4){
_local1 = spriteGardener;
};
if (charNr == 5){
_local1 = spritePaperboy;
};
if (charNr == 6){
_local1 = spriteBride;
};
if (charNr == 7){
_local1 = spriteBridesmaid;
};
if (charNr == 8){
_local1 = spriteBabynurse;
};
if (charNr == 9){
_local1 = spriteProfwife;
};
if (charNr == 10){
_local1 = spriteKitchenmaid;
};
if (charNr == 11){
_local1 = spriteMaid;
};
if ((((_local1.x < 440)) && ((charTimeOut == 0)))){
moveSprite(_local1);
} else {
if (charTimeOut == 0){
_local1.gotoAndStop(2);
charTimeOut = 15;
} else {
if (charTimeOut > 1){
charTimeOut--;
} else {
if (_local1.x < 610){
moveSprite(_local1);
} else {
if (charNr < 11){
charNr++;
charTimeOut = 0;
charIntroTextBox.gotoAndStop((charNr + 1));
} else {
charNr = 0;
charTimeOut = 0;
charIntroTextBox.gotoAndStop((charNr + 1));
spriteGroom.x = -110;
spriteCook.x = -110;
spriteMagician.x = -110;
spriteProfessor.x = -110;
spriteGardener.x = -110;
spritePaperboy.x = -110;
spriteBride.x = -110;
spriteBridesmaid.x = -110;
spriteBabynurse.x = -110;
spriteProfwife.x = -110;
spriteKitchenmaid.x = -110;
spriteMaid.x = -110;
};
};
};
};
};
}
public function mouseClicked2(_arg1:MouseEvent):void{
if ((((_arg1.target.name == "btnSkipIntroduction")) && ((btnSkipIntroduction.alpha == 1)))){
btnSkipIntroduction.alpha = 0;
charIntroTextBox.gotoAndStop(13);
bMoveAbout = true;
spriteGroom.x = 50;
spriteBride.x = -50;
spriteCook.x = -150;
spriteBridesmaid.x = -250;
spriteMagician.x = -350;
spriteBabynurse.x = -450;
spriteProfessor.x = -550;
spriteProfwife.x = -650;
spriteGardener.x = -750;
spriteKitchenmaid.x = -850;
spritePaperboy.x = -950;
spriteMaid.x = -1050;
} else {
if (btnSkipIntroduction.alpha == 0){
if (_arg1.target.name == "spriteGardener"){
playerId = 0;
};
if (_arg1.target.name == "spriteCook"){
playerId = 1;
};
if (_arg1.target.name == "spriteMagician"){
playerId = 2;
};
if (_arg1.target.name == "spriteProfessor"){
playerId = 3;
};
if (_arg1.target.name == "spriteGroom"){
playerId = 4;
};
if (_arg1.target.name == "spritePaperboy"){
playerId = 5;
};
if (_arg1.target.name == "spriteMaid"){
playerId = 6;
};
if (_arg1.target.name == "spriteBabynurse"){
playerId = 7;
};
if (_arg1.target.name == "spriteProfwife"){
playerId = 8;
};
if (_arg1.target.name == "spriteKitchenmaid"){
playerId = 9;
};
if (_arg1.target.name == "spriteBride"){
playerId = 10;
};
if (_arg1.target.name == "spriteBridesmaid"){
playerId = 11;
};
if (playerId != -99){
bPageAnimating = false;
clearInterval(myInterval2);
stage.removeEventListener(MouseEvent.CLICK, mouseClicked2);
gotoAndStop(3);
};
};
};
}
public function doExamine(_arg1):void{
var _local2:* = "No comment";
var _local3:* = arrItemName[arrItem[_arg1]];
chatCloud.portrait.gotoAndStop((_arg1 + 1));
if (arrCharObj[_arg1].body.currentFrame == 5){
chatCloud.questions.questionText.text = "What to do?";
if (_arg1 == 0){
_local2 = (("How terrible! George, the gardener has been brutally murdered with the " + _local3) + "! Who could have done such a terrible thing to such a poor hard worker? Who would be holding a grudge against such a hard-working man?");
};
if (_arg1 == 1){
_local2 = (("Oh my! The cook has been murdered! Someone killed the cook with a " + _local3) + "! Did someone dislike his food, or could there have been stronger emotions against this culinair master?");
};
if (_arg1 == 2){
_local2 = (("The magician is dead! If we exclude the possibility that one of his tricks has gone terribly wrong... we can determine someone must have murdered him... with a " + _local3) + " nonetheless! Who would do such a thing? Did someone prefer a different form of entertainment?");
};
if (_arg1 == 3){
_local2 = (("Uh oh! Samuel the professor is dead! Murdered with a " + _local3) + "! How sad is that? Who might be holding such a strong grudge against such an intelligent person?");
};
if (_arg1 == 4){
_local2 = (("Oh no! One of the most important people on this wedding has been murdered! Someone killed groom Richard himself with a " + _local3) + "! This is awful! Who could have done such a thing on his own wedding!?");
};
if (_arg1 == 5){
_local2 = (("What in the world... who'd kill such a young guy... and with a " + _local3) + " to boot? Poor Bobby bites the dust... but who could have done such a terrible thing? ");
};
if (_arg1 == 6){
_local2 = (("Crud! The maid is dead! Crystal has been killed with the " + _local3) + ". Now who is going to clean the house? And why would someone want to murder her... and who would do such a thing?");
};
if (_arg1 == 7){
_local2 = (("Poor Maggy! She's been violently murdered with a " + _local3) + "! Who wanted to see this woman dead? This is terrible!");
};
if (_arg1 == 8){
_local2 = (("Uh oh! Someone has killed the neighbour woman, Scarlet, with a " + _local3) + "! They say she was a witch... but to blatantly murder her is another thing!");
};
if (_arg1 == 9){
_local2 = (("Oh no! That poor underpaid kitchenmaid is dead! Looks like someone killed her with the " + _local3) + "! What could that poor girl have done wrong to the killer?");
};
if (_arg1 == 10){
_local2 = (("Oh no! Not the bride! Someone killed the bride on her own wedding! This is plain awful! Unthinkable! And they killed her with a " + _local3) + " nonetheless! Who could have such a cold heart!?");
};
if (_arg1 == 11){
_local2 = (("How terrible! Someone had killed the bridesmaid, Petra! With a " + _local3) + "! Who could have done such a terrible thing to such a lovely looking girl?");
};
} else {
if (_arg1 == 0){
_local2 = (("This is the gardener. His name is George. He is walking around with a " + _local3) + ". Who gave this to him? His shoes are dirty from the yard and he is tracking dirt everywhere he goes.");
};
if (_arg1 == 1){
_local2 = (("This is the house cook, who goes by the name of Alfred. He is currently carrying a " + _local3) + ". What's he planning with that? He is leaving traces of tomato ketchup wherever he walks.");
};
if (_arg1 == 2){
_local2 = (("This is Jack the Magician, also known as 'Magic Jack'. In his hand you see a " + _local3) + ". Maybe he wants to use it for his next trick. He doesn't notice a playing card occasionally slips out from his pocket.");
};
if (_arg1 == 3){
_local2 = (("This old man is the neighbour, Samuel. He is a professor. He is strutting around with a " + _local3) + ", for goodness knows why. Inadvertendly he leaves a trail of tobacco where he walks.");
};
if (_arg1 == 4){
_local2 = (("This Richard. He is the groom. Why he is walking around with a " + _local3) + " nobody knows, nor seems to care. He appears to be fond of cookies as he is munching on them all the time.");
};
if (_arg1 == 5){
_local2 = (("This youngling is Bobby. He is the paperboy. Both facts are evident as he wants to touch everything with his dirty hands. Apparently he got a " + _local3) + " from somewhere, which he now carries around.");
};
if (_arg1 == 6){
_local2 = (("You're looking at the maid. Crystal likes to keep everything crystal clean, but isn't very accurate. Besides, you know she's passed through when you find little feathers from the feather duster on the floor. Right now she walks around with a " + _local3) + ".");
};
if (_arg1 == 7){
_local2 = (("Maggy is a good friend of the bride and she is baby nurse by profession. She is always prepared and carries a bottle with baby milk around. Right now she is also carrying a " + _local3) + " around.");
};
if (_arg1 == 8){
_local2 = (("This is the professor's wife, Scarlet. Rumoured to be a 'witch', and arachnaphobic. Wherever she goes, she leaves spiders dead in her trail. Right now she is carrying a " + _local3) + ". Odd woman... and quite drunk, too...");
};
if (_arg1 == 9){
_local2 = (("Sophia is the kitchenmaid and doing a good job keeping the wedding guests hydrated by handing out drinks... but she spills a lot, too. In one hand she holds a " + _local3) + ".");
};
if (_arg1 == 10){
_local2 = (("Natacha is the pretty bride. She did everything to look pretty today... AND smell good, because her strong perfume can be smelled for a while wherever she went. She's carrying around a " + _local3) + " for the time being.");
};
if (_arg1 == 11){
_local2 = (("This is the bridesmaid Petra. She still has a pouch of flower petals with her, from which a couple drop every now and then. In her hands you see a " + _local3) + ", which she swings around dangerously.");
};
if (_arg1 == 12){
_local2 = "This is a police officer. He is guarding the place and making sure this party doesn't get out of hand. He is equipped with a pistol, which he doesn't want to give out of hand.";
};
if (_arg1 < 6){
if (iCharsMurdered == 0){
if (Math.floor((Math.random() * 2)) == 0){
_local2 = (_local2 + " He appears to enjoy himself at this wedding party.");
} else {
_local2 = (_local2 + " He is having a good time, you can easily see that.");
};
} else {
if (iCharsMurdered == 1){
if (Math.floor((Math.random() * 2)) == 0){
_local2 = (_local2 + " He is clearly shocked by what just happened and tries to stay calm.");
} else {
_local2 = (_local2 + " He appears a bit uncomfortable, which isn't strange after what just happened.");
};
} else {
if (iCharsMurdered == 2){
if (Math.floor((Math.random() * 2)) == 0){
_local2 = (_local2 + " He is quite shocked and impatiently looking around if someone wants to kill him next.");
} else {
_local2 = (_local2 + " He is clearly stressed out and it is clear he would like to leave the place.");
};
} else {
if (Math.floor((Math.random() * 2)) == 0){
_local2 = (_local2 + " He is in PANIC! I don't know if he knows what he's doing anymore.");
} else {
_local2 = (_local2 + " He is panicking and gives me a very scared look. Does he think I might be the murderer?");
};
};
};
};
} else {
if (_arg1 < 12){
if (iCharsMurdered == 0){
if (Math.floor((Math.random() * 2)) == 0){
_local2 = (_local2 + " She is clearly enjoying herself at this great wedding party.");
} else {
_local2 = (_local2 + " She is having a good time, you can easily see that.");
};
} else {
if (iCharsMurdered == 1){
if (Math.floor((Math.random() * 2)) == 0){
_local2 = (_local2 + " She walks around with tears in her eyes. Clearly she is still trying to grasp what just happened.");
} else {
_local2 = (_local2 + " She is crying. What just happened... it is unthinkable! At a wedding!");
};
} else {
if (iCharsMurdered == 2){
if (Math.floor((Math.random() * 2)) == 0){
_local2 = (_local2 + " She looks around in fear. Would there be more murders? Is she herself in danger?");
} else {
_local2 = (_local2 + " She looks really upset, stressed out. What in the world is happening here? She's extremely scared.");
};
} else {
if (Math.floor((Math.random() * 2)) == 0){
_local2 = (_local2 + " She is in PANIC! She paces around the place and almost runs into furniture.");
} else {
_local2 = (_local2 + " She is panicking and gives me a very scared look. Does she think I might be the murderer?");
};
};
};
};
};
};
};
chatCloud.cloudText.text = _local2;
}
public function personChosen(_arg1, _arg2, _arg3):void{
var _local5:*;
var _local4:* = "";
if (_arg3 == true){
iPhase = 30;
bGameOver = true;
enableButton(btnRight, false);
arrCharObj[playerId].scaleX = -1;
playerGoalX = 100;
iCharAccused = _arg2;
i = 0;
while (i < 13) {
arrLikeDislike[iCharAccused][i] = 1;
arrLikeDislike[murdererId][i] = 1;
i++;
};
bPlayerOnKillList = false;
hideChat();
} else {
_local5 = arrLikeDislike[_arg1][_arg2];
if (arrConfirmedDead[_arg2]){
if (_arg1 == 0){
if (_local5 == true){
if (_arg2 < 6){
_local4 = "It sucks he is dead, he was a cool guy.";
} else {
_local4 = "It sucks she is dead, she was a nice woman.";
};
} else {
if (_arg2 == 1){
_local4 = "He was a bastard. Did you know he really looked down on me, and on my job? He was really nasty about it. But maybe not so much out in the open, rather than directly in my face.";
};
if (_arg2 == 2){
_local4 = "He set my favourite plants on fire with his silly 'magic tricks'. And he did that on purpose, too! What a bastard! He got what he deserved, in my opinion!";
};
if (_arg2 == 3){
_local4 = "He was a creepy guy. Always spied on me from the neighbour house! I don't know if it's paranoia, but I am sure he was going to do something terrible to me one of these days. At least I can put that fear behind me now.";
};
if (_arg2 == 4){
_local4 = "He was such a Mr Scrooge! I think he deserved what happened to him. Now maybe I get a better employer. This one sucked.";
};
if (_arg2 == 5){
_local4 = "The good thing about him being dead is that he stops stomping on the plants and flowers. He was killing my garden! argh, stupid brat!";
};
if (_arg2 == 6){
_local4 = "I didn't like her in the first place. Good riddance in my opinion!";
};
if (_arg2 == 7){
_local4 = "Can't say I liked her. She was an annoying woman whose mouth NEVER stopped!";
};
if (_arg2 == 8){
_local4 = "She was creepy! She always made me startle when she saw me. yuck. Glad she's not going to do that anymore!";
};
if (_arg2 == 9){
_local4 = "She looked cute, but she was like thin ice. Say one thing wrong and a terrible bitch came out of the shell! I won't miss her. Pff, pretentious thing...";
};
if (_arg2 == 10){
_local4 = "I dislike her so bad, Natacha... she always glared at me, as if I wanted something of her. She even made a couple of threats, which really scared the hell out of me! I'm glad she is gone, to be honest!";
};
if (_arg2 == 11){
_local4 = "She was terrible company! So selfish and rude! At least she was terribly rude to me, 'the lowly gardener'. Besides, she was hiding something... Puh, I won't miss her for a bit!";
};
};
} else {
if (_arg1 == 1){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "I liked him, and he liked my 'grilled sausage dish'. Poor guy.";
};
if (_arg2 == 2){
_local4 = "He was especially fond of my meatballs-in-mustard-sauce. Poor fellow, he was a nice guy.";
};
if (_arg2 == 3){
_local4 = "He was a friendly old man and he enjoyed my snacks. Shouldn't have died.";
};
if (_arg2 == 4){
_local4 = "He was my boss. And a good one, too. I will miss him.";
};
if (_arg2 == 5){
_local4 = "Good kid, came to ask for some candy in my kitchen. Gave him some chocolate.";
};
if (_arg2 == 6){
_local4 = "She was a good maid. Kept everything clean. She didn't deserve this.";
};
if (_arg2 == 7){
_local4 = "I don't know her well, she's Natacha's best friend I hear. Seems like a good person. I don't know why someone would want to kill her.";
};
if (_arg2 == 8){
_local4 = "I think she was a nice old lady. Not a witch like some people claim.";
};
if (_arg2 == 9){
_local4 = "She was helpful to me, especially at times it's busy in the kitchen, like this wedding feast. I'm sad she's gone, and sadder how it happened.";
};
if (_arg2 == 10){
_local4 = "I hear she hasn't had an easy life. But finally she found the love of her life and then THIS happened! It's unbelievable! I can't imagine someone wanting to kill someone like her - on her own wedding, nonetheless!";
};
if (_arg2 == 11){
_local4 = "She was a nice girl. Sister of Natacha. And she liked my pudding. I wish she was still alive, I'd give her some more. Poor girl!";
};
} else {
if (_arg2 == 0){
_local4 = "I don't really want to talk about him. He wasn't my kind of guy.";
};
if (_arg2 == 2){
_local4 = "I don't want to talk about that oaf. He and his silly card tricks.";
};
if (_arg2 == 3){
_local4 = "That man was already rotten from the inside. You don't know half of it!";
};
if (_arg2 == 4){
_local4 = "He was a greedy bastard. I don't know why I kept up with him for this long... I guess time flies when you're busy...";
};
if (_arg2 == 5){
_local4 = "Got what he deserved. Should have learned to listen to people instead of touch everything with his greedy fingers! Stupid brat!";
};
if (_arg2 == 6){
_local4 = "I hated her. She always messed up my kitchen, always complained that I made such a mess with cooking. Heh, like how are you supposed to cook without spilling things and making tools dirty? You tell me!";
};
if (_arg2 == 7){
_local4 = "Baby nurse? Is that what she is? More like a 'baby' herself. She kept whining and crying about all kinds of things, she really made my blood boil. I'm happy it's quiet here again.";
};
if (_arg2 == 8){
_local4 = "I believe she was 'cooking' her own recipes too, those being witches curses. She was bound to throw dirt in the food, as they say, when it comes to this wedding.";
};
if (_arg2 == 9){
_local4 = "She was such a incompetent bitch. And even though I told her so many times that my kitchen is my kitchen and things should be placed at the right place or I can't find them anymore... she ALWAYS messed it up, making it so much harder for me to do my job well!";
};
if (_arg2 == 10){
_local4 = "I hate Natacha for her endless begging and commenting on how I need to make my food differently. Well, I told her many times, I make everything on Richard's orders and to his likings. He's my boss. Can't do both, so that bitch was really causing me a lot of stress!";
};
if (_arg2 == 11){
_local4 = "She was really annoying, that one. I am glad that I don't have to put up with her anymore. Phew!";
};
};
} else {
if (_arg1 == 2){
if (_local5 == true){
if (_arg2 < 6){
_local4 = "I hear he was a good guy... and he seemed to like my 'magic tricks'. Sad to see he had to end this way...";
} else {
_local4 = "I hear she was a good woman... and she seemed to like my 'magic tricks'. Sad to see she had to end this way...";
};
} else {
if (_arg2 < 6){
_local4 = "He got bored at my tricks. I think he hated them. So I don't like him much either. I won't miss him.";
} else {
_local4 = "She got bored at my tricks. I think she hated them. So I don't like her much either. I won't miss her.";
};
};
} else {
if (_arg1 == 3){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "He was cool. Sad that he died.";
};
if (_arg2 == 1){
_local4 = "Made good food. Pity he's dead.";
};
if (_arg2 == 2){
_local4 = "He was funny, pity. No more nice tricks.";
};
if (_arg2 == 4){
_local4 = "Was a cool guy. I liked him. He didn't deserve this.";
};
if (_arg2 == 5){
_local4 = "Poor kid. He was nice. Definitely too nice and too young to die.";
};
if (_arg2 == 6){
_local4 = "She was such a lovely girl. A real shame.";
};
if (_arg2 == 7){
_local4 = "She was a pretty girl. Sad to see what happened to her.";
};
if (_arg2 == 8){
_local4 = "She was a great wife, now she's dead... *sob*";
};
if (_arg2 == 9){
_local4 = "She was a nice girl. Too bad she ended up this way.";
};
if (_arg2 == 10){
_local4 = "She was a friendly woman. I don't understand why anyone would kill her.";
};
if (_arg2 == 11){
_local4 = "She was a nice kid. It's terrible to see what happened to her.";
};
} else {
if (_arg2 == 0){
_local4 = "Smelled bad, but to kill him for that... I don't know.";
};
if (_arg2 == 1){
_local4 = "He always gave me weird looks. Maybe someone else also didn't like that.";
};
if (_arg2 == 2){
_local4 = "Irritating fellow. Good riddance, really.";
};
if (_arg2 == 4){
_local4 = "I thought he was a pushover. Did he get killed because of that?";
};
if (_arg2 == 5){
_local4 = "Annoying brat. I won't miss him.";
};
if (_arg2 == 6){
_local4 = "She was annoying. The world may be better without her.";
};
if (_arg2 == 7){
_local4 = "I didn't like her. It's bad of course but I won't miss her.";
};
if (_arg2 == 8){
_local4 = "My marriage was rough... but now I'm alone. Loneliness isn't everything either...";
};
if (_arg2 == 9){
_local4 = "I didn't trust her. Looks like I'm not the only one. Maybe she got what was coming to her.";
};
if (_arg2 == 10){
_local4 = "I kept having this feeling she was plotting against me... didn't trust her. But now she's dead. Don't know what to think of that.";
};
if (_arg2 == 11){
_local4 = "She wasn't as nice as she looks, you know? Maybe her death was deserved.";
};
};
} else {
if (_arg1 == 4){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "George... dead...? I still can't believe it! He was such a good, hard-working guy! Who would have held a grudge against a gardener?";
};
if (_arg2 == 1){
_local4 = "I can't believe it. He was such a great cook! Why anyone would kill a person like him is beyond me!";
};
if (_arg2 == 2){
_local4 = "I didn't know Natacha's brother that well, but he seemed alright to me... I'm really shocked he got murdered!";
};
if (_arg2 == 3){
_local4 = "He was a nice guy! Why would anyone want to kill such a nice old man? I don't get it.";
};
if (_arg2 == 5){
_local4 = "For all I know, he was a nice, smart kid. I am shocked that he is dead, now!";
};
if (_arg2 == 6){
_local4 = "God, I liked her, she was very hard-working, kept the whole house perfectly clean... I'm sad she is no more!";
};
if (_arg2 == 7){
_local4 = "That was my wife's best friend! How could anyone do something so horrible to her? Maggy wasn't a bad person! This is just terrible!";
};
if (_arg2 == 8){
_local4 = "That was such a nice old lady... It is beyond my comprehension that someone would want to kill her... it is shocking.";
};
if (_arg2 == 9){
_local4 = "I liked having her around the house, she was a nice employee. I can't believe someone just horribly murdered her!";
};
if (_arg2 == 10){
_local4 = "*sob* That was my wife! I married her today! *sob* L-leave me alone, I- I am too sad to talk about her now...!";
};
if (_arg2 == 11){
_local4 = "Tsk tsk, I don't believe what just happened. Petra was my new wife's sister... I can't believe she is dead! This is absolutely terrible!";
};
} else {
if (_arg2 == 0){
_local4 = "To be honest, he wasn't a very good gardener... and he wasn't very friendly either... but I don't know if he deserved this...";
};
if (_arg2 == 1){
_local4 = "To be honest, he wasn't a very good cook... and he wasn't very friendly either... but I don't know if he deserved this...";
};
if (_arg2 == 2){
_local4 = "It's sad that he died, of course, but he was also an annoying prick, with his silly tricks.";
};
if (_arg2 == 3){
_local4 = "I never trusted this guy. He had something to hide, I am certain of it! He probably got what he had coming to him.";
};
if (_arg2 == 5){
_local4 = "He was still a young man, which is sad, but also a very annoying and unfriendly guy. I will not miss him, but that's also because I don't know him that well.";
};
if (_arg2 == 6){
_local4 = "To be honest, she wasn't a very good maid... and she wasn't very friendly either... but I don't know if she deserved this...";
};
if (_arg2 == 7){
_local4 = "Maggy was my new wife's best friend. Maybe it's good she 'left', although the way on which she left isn't um, the best... she was constantly influencing my wife's opinions, even about our relationship matters. That was really annoying, to say it nicely...";
};
if (_arg2 == 8){
_local4 = "I hear she was a witch. And that she was going to put a curse onto our new bond. Probably it's good that she died, if that is true. It's hard, but true.";
};
if (_arg2 == 9){
_local4 = "To be honest, she wasn't a very good kitchenmaid... and she wasn't very friendly either... but I don't know if she deserved this...";
};
if (_arg2 == 10){
_local4 = "Oh man! This sucks, we had only just been married since today! I only married her for her beauty, to be honest - and she was a very very irritating person to live with, but... didn't really plan on losing her quite THIS quickly... boohoo... geez, oh well.";
};
if (_arg2 == 11){
_local4 = "Natacha's sister was an irritating bitch. It may sound hard, but it's the truth; I won't miss her for a bit.";
};
};
} else {
if (_arg1 == 5){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "Not fair. He was cool, man.";
};
if (_arg2 == 1){
_local4 = "Not fair. He was cool, man.";
};
if (_arg2 == 2){
_local4 = "Not fair. He was cool, man.";
};
if (_arg2 == 3){
_local4 = "Not fair. He was cool, man.";
};
if (_arg2 == 4){
_local4 = "Not fair. He was cool, man.";
};
if (_arg2 == 6){
_local4 = "Sucks, man! I was in love with her!";
};
if (_arg2 == 7){
_local4 = "Not fair, I liked her.";
};
if (_arg2 == 8){
_local4 = "Not fair, she was cool, dog.";
};
if (_arg2 == 9){
_local4 = "Sucks bad, man! I was in love with her!";
};
if (_arg2 == 10){
_local4 = "Not fair, she was cool, dog.";
};
if (_arg2 == 11){
_local4 = "Not fair, she was cool, dog.";
};
} else {
if (_arg2 == 0){
_local4 = "Grumpy guy. Got what was comin' to him, man!";
};
if (_arg2 == 1){
_local4 = "Got what was comin' to him, man!";
};
if (_arg2 == 2){
_local4 = "Got what was comin' to him with his silly tricks, man!";
};
if (_arg2 == 3){
_local4 = "Ancient fellow, would have died soon anyway. Deserved it too.";
};
if (_arg2 == 4){
_local4 = "Yo, the gangster is down, man! Deserved it too.";
};
if (_arg2 == 6){
_local4 = "Dirty obsessive bitch. Got what she deserved, dog!";
};
if (_arg2 == 7){
_local4 = "Got what she deserved, man!";
};
if (_arg2 == 8){
_local4 = "The witch is dead! All hail the witch! Yeah!";
};
if (_arg2 == 9){
_local4 = "She was stupid. Got what she deserved, dog!";
};
if (_arg2 == 10){
_local4 = "She was so full of shit... Got what she deserved, dog!";
};
if (_arg2 == 11){
_local4 = "Didn't like her anyhow. She teased me. Got what she deserved, dog!";
};
};
} else {
if (_arg1 == 6){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "That poor fellow died. I still can't believe it! Why would someone do that?";
};
if (_arg2 == 1){
_local4 = "No way. The cook can't be dead. He was such a kind man!";
};
if (_arg2 == 2){
_local4 = "I loved his tricks. Why would anyone do something so horrible to him?";
};
if (_arg2 == 3){
_local4 = "He was a kind and friendly old man. Whoever killed him really has to have themselves checked. It's heartless!";
};
if (_arg2 == 4){
_local4 = "I still can't believe my boss is dead! He was such a nice employer to me! This is really a setback for everyone!";
};
if (_arg2 == 5){
_local4 = "Terrible, that they would go kill such a nice kid!";
};
if (_arg2 == 7){
_local4 = "I can't grasp why anyone would want to do anything back to her...";
};
if (_arg2 == 8){
_local4 = "That old woman so didn't deserve that! I'm really shocked.";
};
if (_arg2 == 9){
_local4 = "Poor poor girl! She still had a whole life before her! It's a real shame she is no more!";
};
if (_arg2 == 10){
_local4 = "This is terrible. Plainly terrible! She didn't deserve to die.";
};
if (_arg2 == 11){
_local4 = "That's so sad... she was a nice girl - and now she is dead... I can't get over it.";
};
} else {
if (_arg2 == 0){
_local4 = "Well, it's sad, of course, but at least he won't be walking dirt into the house anymore with his muddy boots! Saves me some bother.";
};
if (_arg2 == 1){
_local4 = "Too bad he died. Then again, he wasn't such a good cook in my opinion... and maybe now we get a better one.";
};
if (_arg2 == 2){
_local4 = "That's one guest who isn't littering the house anymore. His tricks were really a catastrophy for our fine clean house!";
};
if (_arg2 == 3){
_local4 = "That should end the spilled tobacco all over my floor. Sorry, but all the littering really ticks me off. People should pay more attention to what they're doing.";
};
if (_arg2 == 4){
_local4 = "Ah, of course it's not very nice to say, but I didn't really like Richard in the first place. I'll get another job somewhere else.";
};
if (_arg2 == 5){
_local4 = "I'm happy this stopped him from touching everything in the house with his dirty hands. But, of course not nice he had to die for it.";
};
if (_arg2 == 7){
_local4 = "I won't miss her, didn't like her at all.";
};
if (_arg2 == 8){
_local4 = "The witch is dead. Tomorrow it will be in the newspaper, want to bet?";
};
if (_arg2 == 9){
_local4 = "Good riddance. She only brought me more work by spilling drinks everywhere in the house.";
};
if (_arg2 == 10){
_local4 = "The bitch is dead! heheh, I'm really sorry, but I always wanted to say that.";
};
if (_arg2 == 11){
_local4 = "Finally the brat is quiet. She talked the ears off my head. Very irritating!";
};
};
} else {
if (_arg1 == 7){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "He was nice. Too bad he died.";
};
if (_arg2 == 1){
_local4 = "He was nice. Too bad he died.";
};
if (_arg2 == 2){
_local4 = "He was nice. Too bad he died.";
};
if (_arg2 == 3){
_local4 = "He was nice. Too bad he died.";
};
if (_arg2 == 4){
_local4 = "He was nice. Too bad he died.";
};
if (_arg2 == 5){
_local4 = "He was nice. Too bad he died.";
};
if (_arg2 == 6){
_local4 = "She was nice. Too bad he died.";
};
if (_arg2 == 8){
_local4 = "She was nice. Too bad he died.";
};
if (_arg2 == 9){
_local4 = "She was nice. Too bad he died.";
};
if (_arg2 == 10){
_local4 = "She was nice. Too bad he died.";
};
if (_arg2 == 11){
_local4 = "She was nice. Too bad he died.";
};
} else {
if (_arg2 == 0){
_local4 = "He was naughty. And now he's dead.";
};
if (_arg2 == 1){
_local4 = "He was naughty. And now he's dead.";
};
if (_arg2 == 2){
_local4 = "He was naughty. And now he's dead.";
};
if (_arg2 == 3){
_local4 = "He was naughty. And now he's dead.";
};
if (_arg2 == 4){
_local4 = "He was naughty. And now he's dead.";
};
if (_arg2 == 5){
_local4 = "He was naughty. And now he's dead.";
};
if (_arg2 == 6){
_local4 = "She was naughty. And now she's dead.";
};
if (_arg2 == 8){
_local4 = "She was naughty. And now she's dead.";
};
if (_arg2 == 9){
_local4 = "She was naughty. And now she's dead.";
};
if (_arg2 == 10){
_local4 = "She was naughty. And now she's dead.";
};
if (_arg2 == 11){
_local4 = "She was naughty. And now she's dead.";
};
};
} else {
if (_arg1 == 8){
if (_local5 == true){
_local4 = "ddead... hic. no-nofairs! hic!";
} else {
_local4 = "ddead... hic. hahaha, DEAD! hehe! hic!";
};
} else {
if (_arg1 == 9){
if (_local5 == true){
_local4 = "(When you pronounce the name, Sophia starts to cry uncontrollably. She is really shocked that this person has died, obviously. She tries to talk, but you can't make out much through the sobbing and sniffing, other than that she liked the person.)";
} else {
if (_arg2 == 0){
_local4 = "It's terrible that he died, but personally I won't shed a tear. He was too greedy with his hands.";
};
if (_arg2 == 1){
_local4 = "I'm sorry he is dead, because that's more than he deserved, but at least I won't have to hear his ranting about how 'this is his kitchen' any longer. That's positive.";
};
if (_arg2 == 2){
_local4 = "I think he had MORE up his sleeve than cards... sure didn't trust him... but did he have to die? No, that's too cruel.";
};
if (_arg2 == 3){
_local4 = "He scared the hell out of me with his queer talks. It's maybe bad to say, but I won't miss him.";
};
if (_arg2 == 4){
_local4 = "Sorry, but I can't cry about it. He was such a Scrooge...";
};
if (_arg2 == 5){
_local4 = "Serves him right. Yeah, maybe that sounds harsh, but he tried to assault me, you know!? He was bound to run into trouble like this sooner or later!";
};
if (_arg2 == 6){
_local4 = "She creeped me out. Now she is dead and - whether she deserved THAT or not, it has a side effect that I feel much more at ease now.";
};
if (_arg2 == 7){
_local4 = "I don't know her well, but she was getting on my nerves. Doesn't mean I wanted her dead, but well... I can't really cry about it, I'm sorry.";
};
if (_arg2 == 8){
_local4 = "Are you sure she didn't just DRINK herself to death? She was quite irritating and begging me for more drinks all the time, while she was already really drunk!";
};
if (_arg2 == 10){
_local4 = "Well, I'm not surprised she's dead. Do you know she cheated on poor Richard TWICE since she married him earlier today? TWICE! She was ASKING for trouble, she was! Serves her right!";
};
if (_arg2 == 11){
_local4 = "She was going to murder someone, I swear it. She was acting so strangely all the time, while she was trying to seem nice and friendly. But I saw in her eyes that she had some dark secrets going on. Looks like someone got to her first.";
};
};
} else {
if (_arg1 == 10){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "*sob* I- he was such a kind gardener...";
};
if (_arg2 == 1){
_local4 = "*sniff* No more of his nice meals... I can't believe it!";
};
if (_arg2 == 2){
_local4 = "*sob* Who'd do something terrible like this? He was my brother! *sniff*";
};
if (_arg2 == 3){
_local4 = "*sob* He was a nice neighbour... why would anyone kill a friendly guy like him?";
};
if (_arg2 == 4){
_local4 = "Nooo- *sob* Richard! *waaaaaaaaa* Why? Why? I loved him! *sob* Just married and already a widow! *waaaaaaaa*";
};
if (_arg2 == 5){
_local4 = "*sniff* Poor sod! He didn't deserve to be killed. Who'd do a thing like that?";
};
if (_arg2 == 6){
_local4 = "*sob* She was a good maid, always kept the house crystal clean...";
};
if (_arg2 == 7){
_local4 = "*sniff* She was my best friend! Poor Maggy, why... who would kill a nice person like you?";
};
if (_arg2 == 8){
_local4 = "*sob* Poor old lady... she was kind and didn't deserve this!";
};
if (_arg2 == 9){
_local4 = "*sniff* I'll miss that friendly girl, always made me smile when I felt down...";
};
if (_arg2 == 11){
_local4 = "*sob* My poor sister! Which idiot has such a cold heart to kill such a nice girl!? I can't believe it! Can't believe she is really dead! *sniff*";
};
} else {
if (_arg2 == 0){
_local4 = "Arrgh! My beautiful wedding is DESTROYED! And because of that worthless bastard of a gardener nonetheless! I hate him!";
};
if (_arg2 == 1){
_local4 = "I can't believe it! My beautiful wedding is DESTROYED! And all because of that idiot of a cook who's now dead!";
};
if (_arg2 == 2){
_local4 = "That idiot brother! Why did he have to DIE? He and his stupid irritating 'magic tricks'? My perfect wedding is DESTROYED because of that idiot!";
};
if (_arg2 == 3){
_local4 = "Why the hell did that old fart have to die in my house, on my wedding!? I already disliked him, but now he DESTROYED my wedding as well! Aargh!";
};
if (_arg2 == 4){
_local4 = "Good riddance! He only married me for my looks, I just found out! That idiot chases all the pretty girls, I'm sure! Bah!";
};
if (_arg2 == 5){
_local4 = "I didn't like him, he was an irritating kid, but now I hate him, because my perfect wedding is DESTROYED! Arrgh!";
};
if (_arg2 == 6){
_local4 = "What a bitch! She was supposed to keep the house tidy and clean during my wedding party, not DESTROY my wedding and make a mess by dying to boot!";
};
if (_arg2 == 7){
_local4 = "She was my best friend. Yeah, she WAS, until I found out she betrayed me in every way she could! She was bound to bite the dust for that some day, and I'm glad someone ended her miserable life!";
};
if (_arg2 == 8){
_local4 = "I'm so angry! I already hated that old witch... now she DESTROYED my wedding too, by dying inside my house! Arrgh! She makes me so mad!";
};
if (_arg2 == 9){
_local4 = "I never trusted her. She was a terrible servant. And now she also DESTROYED my wedding! Arrgh! I hate her!";
};
if (_arg2 == 11){
_local4 = "How could she... DIE on my wedding? She knew very well I wanted a perfect wedding! She's always made my life miserable and now she really topped it! Arrgh!";
};
};
} else {
if (_arg1 == 11){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "Can't believe he's dead! He was a nice guy! Who'd do such a thing?";
};
if (_arg2 == 1){
_local4 = "I'm shocked. Who could have killed such a nice cook?";
};
if (_arg2 == 2){
_local4 = "I'm shocked! He was my dear brother! *sob* Who DID this?";
};
if (_arg2 == 3){
_local4 = "I don't understand why someone would kill such a friendly old man...";
};
if (_arg2 == 4){
_local4 = "I'm shocked... Richard meant everything to my sister! Who could have killed him? He seemed such a good guy!";
};
if (_arg2 == 5){
_local4 = "How could this have happened? Why would someone kill a young man like that? And so brutally? He was a nice guy!";
};
if (_arg2 == 6){
_local4 = "I don't understand who would kill the maid? She seemed such a good and hard-working person to me!";
};
if (_arg2 == 7){
_local4 = "Poor Maggy! She didn't deserve this at all!";
};
if (_arg2 == 8){
_local4 = "It's just plain wrong, that someone killed that friendly old neighbour woman! Awful!";
};
if (_arg2 == 9){
_local4 = "I can't believe the kitchenmaid is dead. Earlier today she still told me a few really funny jokes about the kitchen and the cook... She didn't deserve to die, and certainly not like this!";
};
if (_arg2 == 10){
_local4 = "Oh no! *sob* My poor sister! She's-she's dead! I can't... I can't believe it! I loved her... she was my only sister!";
};
} else {
if (_arg2 == 0){
_local4 = "Maybe it sounds cruel, but I can't feel sad about it. He was flirting with me all the time, and I despise people like him!";
};
if (_arg2 == 1){
_local4 = "Maybe it sounds cruel, but I can't feel sad about it. He was flirting with me all the time, and I despise people like him!";
};
if (_arg2 == 2){
_local4 = "*sigh* He was my brother, but to be completely honest, he was also a card-shuffling-oaf. I'm not sorry he left the party early, so to say.";
};
if (_arg2 == 3){
_local4 = "Maybe it sounds cruel, but I can't feel sad about it. He was flirting with me all the time, and I despise people like him!";
};
if (_arg2 == 4){
_local4 = "He's dead, and deserved so. Do you know he cheated on Natacha? Yes, he did. With ME. If that's a standard, he got what he deserved, and I'm sticking with that.";
};
if (_arg2 == 5){
_local4 = "I didn't really like him. Now he's dead, but well... people die. He's so distant family that I really don't care much, either.";
};
if (_arg2 == 6){
_local4 = "I think everyone here knows I didn't like her. Didn't you see that? We were constantly arguing.";
};
if (_arg2 == 7){
_local4 = "My sister's best friend. Probably deserved it. I don't know if my sister ever noticed, but she's so full of crap. She's not been as good a friend as she made believe.";
};
if (_arg2 == 8){
_local4 = "It's probably for the best she died. Many say she's a witch, others say she's not... but I have heard her mutter all kinds of spells during the wedding... No idea what curses she has called out over all of us!";
};
if (_arg2 == 9){
_local4 = "She was getting on pretty much everyone's nerves, I think. At least I couldn't stand her, and I think that's not something that has gone unnoticed in the house. But well, now she's dead...";
};
if (_arg2 == 10){
_local4 = "She was my sister, but I never got to like her. She is always so selfish and she thinks she's the prettiest girl on earth. Well, now she's the deadest. Probably she got what's been coming to her.";
};
};
};
};
};
};
};
};
};
};
};
};
};
};
chatCloud.portrait.gotoAndStop((_arg1 + 1));
chatCloud.cloudText.text = _local4;
showNameButtons(false);
} else {
if (_arg1 == 0){
if (_local5 == true){
if (_arg2 == 1){
_local4 = "Oh, yes, yes, I know the cook. He's a cool guy, very crafty fellow. He's always making the greatest meals for us. I like him a lot.";
};
if (_arg2 == 2){
_local4 = "I'm not very familiar with this magician-guy... isn't he a brother of the bride or something? Seems like a nice guy to me. I have nothing bad to say about him.";
};
if (_arg2 == 3){
_local4 = "Ah, you mean the neighbour? That old guy with the pipe? I sometimes see him outside while I'm working in the garden. Always says 'good morning' or 'good day' friendly. He seems alright to me.";
};
if (_arg2 == 4){
_local4 = "Richard is my boss. He's a good employer and always friendly to me. I think he's a great guy and deserves a lovely wife such as Natacha.";
};
if (_arg2 == 5){
_local4 = "I don't know him that well yet, but seems a good paperboy. I think he's family of the bride, or the groom, not certain which... but he seems an alright kid to me.";
};
if (_arg2 == 6){
_local4 = "Ah, the maid is such a lovely thing! Since Richard is our boss, we are sort of colleagues, aren't we? But I really would love to go out with her sometime! Think she likes me as much as I like her?";
};
if (_arg2 == 7){
_local4 = "She is one of the guests and while I don't know her that well, I don't think she's hiding anything. I mean, if she can be trusted with children she must be alright, eh?";
};
if (_arg2 == 8){
_local4 = "She's living with the professor in the neighbour house. I wonder if they are married though. People say she's a witch but I haven't seen any kind of proof of that. She's probably a nice woman once you get to know her. But Excentric.";
};
if (_arg2 == 9){
_local4 = "Ah, the kitchenhelp is a cutey, isn't she? Not exactly my type, but everyone is different, eh? I think she will find love easily and get happy with a lucky guy.";
};
if (_arg2 == 10){
_local4 = "Natacha looks like the happiest bride I have ever seen! She is a really sweet person, too and I hope she's going to live a happy life!";
};
if (_arg2 == 11){
_local4 = "Petra is a sweet kid. She's the bride's younger sister, isn't she? As I said, really a sweet kid. I wish I had a daughter like her.";
};
} else {
if (_arg2 == 1){
_local4 = "Oh, yes, yes, I know the cook. He's good at his job, but he always follows me around with his knife. I really don't trust this guy. One of these days, I fear I may find that knife in my back.";
};
if (_arg2 == 2){
_local4 = "I'm not very familiar with this magician-guy... I think he's a brother of the bride, but there's something in his... looks, maybe, that unsettles me. He is up to something, I'm certain of it... I'd be careful around him!";
};
if (_arg2 == 3){
_local4 = "That old guy of the neighbours? He's suck a jackass! Always spies on me through his window when I am working in the garden... What the hell is he doing that for? It's upsetting and disturbing.";
};
if (_arg2 == 4){
_local4 = "Richard is my boss. He isn't paying me enough and when I talk about my salary I get sneered at. I wish I had a different boss! I don't like him.";
};
if (_arg2 == 5){
_local4 = "Argh, that stupid kid keeps running over the plants and through the flowers in my garden! I told him off for that several times, but he is a pesky idiot who only does what he wants!";
};
if (_arg2 == 6){
_local4 = "The maid looks like such a lovely thing, but when I asked her out on a date she embarrassed me right in front of the whole staff. She looks so nice, but she's a bitch like there's no tomorrow!";
};
if (_arg2 == 7){
_local4 = "This so called 'baby nurse' is a guest, I believe... but I don't trust her for a bit. I think she's up to something. Something bad. Maybe it's the way she looks, but I really don't like her.";
};
if (_arg2 == 8){
_local4 = "She's living with the professor in the neighbour house. I often hear people say she's a witch, and I think she really is. I can often hear her laugh manically when I'm working in the garden. She's pure evil, I tell you!";
};
if (_arg2 == 9){
_local4 = "The kitchenmaid is a cutey, but don't underestimate her! Behind her looks she hides a gruesome temperament and she keeps offending me on a daily basis! Whether she means it or not, I really dislike her.";
};
if (_arg2 == 10){
_local4 = "Natacha deserves whatever is coming to her, and with that I don't mean a happy marriage to Richard. She's a snake wrapped in the body of an angel. Keep your eye on her, I tell you!";
};
if (_arg2 == 11){
_local4 = "That bridesmaid, Petra, she is more than she appears. I overheard her talking on the phone with someone and the things she said... let me tell you, she is insane! But she's covering it up very well.";
};
};
} else {
if (_arg1 == 1){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "The gardener is a plain guy, clearly a hands-on worker. He clearly hasn't studied, otherwise he would have a better job. But he's a good guy in my book.";
};
if (_arg2 == 2){
_local4 = "He is the brother of the bride, right? I don't usually trust people who like tricks, but this person seems fine to me. He's doing his 'magic tricks' very professionally.";
};
if (_arg2 == 3){
_local4 = "He is the neighbour. I believe his name is Alfred. I don't really know him that well, but I hear good things about him. He's a professor and very intelligent.";
};
if (_arg2 == 4){
_local4 = "My boss is a great guy. Maybe he is so friendly to me because I always prepare great food for him. Yeah, I am very happy with my job here and with him as my boss.";
};
if (_arg2 == 5){
_local4 = "Bobby is a nice kid. Whenever he visits Natacha he also walks into my kitchen to have a chat with me. And of course he gets some sausages from me, haha.";
};
if (_arg2 == 6){
_local4 = "The maid is a nice girl. She's pretty new here, but so far I like her. She's very serious about her job and cleans the whole house in a second.";
};
if (_arg2 == 7){
_local4 = "Maggy is a good friend of Natacha. I have seen her many times and she seems like a decent person to me. Not very exciting, but a good person nonetheless. Yeah, I think she's alright.";
};
if (_arg2 == 8){
_local4 = "Around the professor's wife hang a lot of stories... none of which I really put too much weight on. I really don't believe that she is a bad person, personally.";
};
if (_arg2 == 9){
_local4 = "Sophia is a great colleague, I like her a lot. She always helps me out in the kitchen when I need an extra pair of hands. She's a great girl I think.";
};
if (_arg2 == 10){
_local4 = "Natacha is a nice person. If she is happy, that makes me feel happy, too. I wish her the best in her life.";
};
if (_arg2 == 11){
_local4 = "Nice looking girl, eh? Petra? I wish I had a daughter like that, she's friendly, nice and generally happy.";
};
} else {
if (_arg2 == 0){
_local4 = "That gardener, what a prick. It's clear he didn't study past the basics, that's also why he has to do such a lowly job as he has. I try to be friendly to him, but I don't think he's a nice guy, not inside.";
};
if (_arg2 == 2){
_local4 = "I don't trust people who like to trick others. Something bad happened when I was a child and... I can't help having this strong repulsion against the guy.";
};
if (_arg2 == 3){
_local4 = "Keep him out of the kitchen, will you? I don't want him to spread his germs into my kitchen. I dislike this guy like the disease he is.";
};
if (_arg2 == 4){
_local4 = "Richard acts nice, but he is really a jerk. Poor Natacha doesn't know what she's getting into with this wedding. I really wish he'd get exposed for who he really is!";
};
if (_arg2 == 5){
_local4 = "That boy... he should stay out of my kitchen! I caught him stealing ingredients, not to mention messing with the food! I'm getting the blame if something's wrong with the food! That irritating brat!";
};
if (_arg2 == 6){
_local4 = "Ah, that maid! She's a menace! She keeps telling me not to make such a mess in the kitchen, but I'm not making more dirty than is necessary. Cooking just comes with the necessary mess. The woman needs to pipe down!";
};
if (_arg2 == 7){
_local4 = "Maggy is a good friend of Natacha, the bride. She works on my nerves, however. Maggy is very... um, critical and cynical, and that really ticks me off.";
};
if (_arg2 == 8){
_local4 = "Oh my, that woman needs to learn some respect, I tell you! She keeps complaining on how my food is no good and how she is much better at cooking - she's just plain mean!";
};
if (_arg2 == 9){
_local4 = "This kitchenmaid drives me crazy! I know Richard hired her because he likes her, but she keeps messing up my kitchen! Arrgh! I wish she would stop that!";
};
if (_arg2 == 10){
_local4 = "It's that Richard has hired me, but I really don't like to make food for that wench. Yeah, I make it no secret that I don't like the bride! She acts nice, but below the surface hides a terrible person!";
};
if (_arg2 == 11){
_local4 = "Petra is not my kind of girl. She's so annoying... She is the bride's sister, but I would almost wish she wasn't family, so she wouldn't come visit this place anymore. Ugh.";
};
};
} else {
if (_arg1 == 2){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "I don't know him well, but he greeted me friendly when I arrived at the party. Yeah, I think he's all right.";
};
if (_arg2 == 1){
_local4 = "He makes great food, I can tell you that. If I would be as rich as Richard, I would hire a cook just like him!";
};
if (_arg2 == 3){
_local4 = "Nice old man. I had a chat with him a bit earlier today and he seems all right to me. He seems to like my magic tricks, too. He was interested in them.";
};
if (_arg2 == 4){
_local4 = "My sister sure has chosen a handsome man as her husband. And a rich one, too. What more can you ask for?";
};
if (_arg2 == 5){
_local4 = "I know this kid well, he's a good kid. A bit careless perhaps, but a good kid nonetheless. He's going to have a promising future, too.";
};
if (_arg2 == 6){
_local4 = "She is gorgeous, don't you think? If I weren't married yet, I would ask her out on a date for certain!";
};
if (_arg2 == 7){
_local4 = "She's a friend of Natacha, isn't she? Seems like a nice, fine friend. I'm happy Natacha found such a nice friend.";
};
if (_arg2 == 8){
_local4 = "The professor's wife, right? She's a very strange woman, or maybe I should say 'excentric', yeah, that's better. I like her however. There's a certain kind of magic in 'special persons'.";
};
if (_arg2 == 9){
_local4 = "She's a cute thing. Friendly and very kind, from what I have seen. She has served me drinks several times already today.";
};
if (_arg2 == 10){
_local4 = "My sister is the best person in my life! If I weren't her brother, I might have considered marrying her myself. She's an awesome person!";
};
if (_arg2 == 11){
_local4 = "She's my little sister. She's a great person, almost always happy, despite of the situation. She always knows how to cheer people up when they are down!";
};
} else {
if (_arg2 == 0){
_local4 = "When I arrived at the party he didn't even look at me. I said 'hello', but he simply ignored me! That kind of people can make me so angry...";
};
if (_arg2 == 1){
_local4 = "I don't trust him. His food looks... strange. I don't know what he puts into it, but I have a strong feeling he is set on poisoning a people or two today...";
};
if (_arg2 == 3){
_local4 = "This strange old man... let me say it this way... I know a few tricks as Magician, but this weirdo has a trick or two up his sleeve as well! mark my words!";
};
if (_arg2 == 4){
_local4 = "My sister sure has chosen a handsome man as her husband, but I don't trust it. I feel there is something behind this... let's just hope he isn't going to hurt my sister's heart... or worse!";
};
if (_arg2 == 5){
_local4 = "I know him well, he's family. I think his parents have done something wrong in the way they're raising him, however. He's growing up to be a criminal if they don't keep a shorter leash on him.";
};
if (_arg2 == 6){
_local4 = "Crystal, isn't it? She's beautiful, but I despise her need for cleaning everything. Honestly, she's like this crazy woman who would even kill someone so they can't make the house dirty anymore... Brr, scary girl.";
};
if (_arg2 == 7){
_local4 = "Um, she's Natacha's best friend, but I'm sorry, I think she's after Richard. She is going to destroy both of their lives if nobody stops her.";
};
if (_arg2 == 8){
_local4 = "The professor's wife... what can I say... people tell she is a witch... and I think they are absolutely correct! This woman is so weird, and looking out of her eyes in such a strange way... she is bound to put a curse on someone here any moment!";
};
if (_arg2 == 9){
_local4 = "She keeps spilling drinks. She even spilled a drink on my best suit! Look at my suit! I can never get that clean again! Look at it! This was my BEST suit! I'm so angry about this!";
};
if (_arg2 == 10){
_local4 = "Natacha is my sister, but I wish she wasn't. She killed my gold fish when we were young, it was my only friend. I was so upset then... and I think I will never be able to forgive her for that. Every time I see her, the anger raises again within me.";
};
if (_arg2 == 11){
_local4 = "She's my little sister. Not the brightest in the flock... In fact, she is rather stupid. I get so angry at her when she makes a stupid comment... argh. Beauty and brains don't seem to go together for her.";
};
};
} else {
if (_arg1 == 3){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "He's cool.";
};
if (_arg2 == 1){
_local4 = "Makes good food.";
};
if (_arg2 == 2){
_local4 = "He's funny, nice tricks.";
};
if (_arg2 == 4){
_local4 = "Cool guy.";
};
if (_arg2 == 5){
_local4 = "Nice kid.";
};
if (_arg2 == 6){
_local4 = "Lovely girl.";
};
if (_arg2 == 7){
_local4 = "Pretty girl.";
};
if (_arg2 == 8){
_local4 = "Wonderful woman.";
};
if (_arg2 == 9){
_local4 = "Nice girl.";
};
if (_arg2 == 10){
_local4 = "Friendly woman.";
};
if (_arg2 == 11){
_local4 = "Nice kid.";
};
} else {
if (_arg2 == 0){
_local4 = "Smells bad.";
};
if (_arg2 == 1){
_local4 = "I don't like his looks.";
};
if (_arg2 == 2){
_local4 = "Irritating fellow.";
};
if (_arg2 == 4){
_local4 = "What a pushover.";
};
if (_arg2 == 5){
_local4 = "Annoying brat.";
};
if (_arg2 == 6){
_local4 = "She is annoying.";
};
if (_arg2 == 7){
_local4 = "I don't like her.";
};
if (_arg2 == 8){
_local4 = "I don't know why I ever married this woman. My marriage stinks.";
};
if (_arg2 == 9){
_local4 = "I don't trust her. She is plotting something against me.";
};
if (_arg2 == 10){
_local4 = "I think she is plotting something against me.";
};
if (_arg2 == 11){
_local4 = "Stay out of her way, she's not as nice as she looks.";
};
};
} else {
if (_arg1 == 4){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "He's a hard working guy. I'm blessed to have him in my service.";
};
if (_arg2 == 1){
_local4 = "He's a great cook. He makes us great meals every day.";
};
if (_arg2 == 2){
_local4 = "He's my wife's brother, not very intelligent, I would say, but he's a great entertainer.";
};
if (_arg2 == 3){
_local4 = "Our neighbour is a good man, I believe that with all my heart.";
};
if (_arg2 == 5){
_local4 = "Smart kid. He'll grow up to be a smart man.";
};
if (_arg2 == 6){
_local4 = "Can't have a better maid than Crystal. Honest.";
};
if (_arg2 == 7){
_local4 = "She's a good friend of my wife. I don't have anything bad to say about her.";
};
if (_arg2 == 8){
_local4 = "She's a good neighbour. A bit strange maybe, but I don't believe a word of all the witch-stuff people say about her.";
};
if (_arg2 == 9){
_local4 = "Hard working girl, and cheap too. She's a nice addition to my staff.";
};
if (_arg2 == 10){
_local4 = "I love my new wife! Natacha is beautiful and smart! I'm the happiest man in the world!";
};
if (_arg2 == 11){
_local4 = "Natacha's sister is quite hot, too... like my wife. If I hadn't run into Natacha, I could have chosen her too. The age difference isn't even that big.";
};
} else {
if (_arg2 == 0){
_local4 = "He works hard, but he's not my kind of guy. He's rough and dirty... and although I have no proof of it YET, I think he steals money out of the house when I'm not looking...";
};
if (_arg2 == 1){
_local4 = "I tell everyone I like his food, but I really don't. In fact, I want to get rid of him, but it's pretty hard to find a half-decent cook these days!";
};
if (_arg2 == 2){
_local4 = "My wife's brother is not just a 'magic Jack', he's also a 'jack-ass'. I strongly dislike him and his presence. But he's my wife's brother, you know?";
};
if (_arg2 == 3){
_local4 = "That gray old man gives me the creeps. He's said to be intelligent alright, but he creeps me out. I bet he has a couple of skeletons in his closet. Literally.";
};
if (_arg2 == 5){
_local4 = "I don't know what this kid is doing here. He's only a VERY VERY distant relative to my new wife. Why did she even invite that irritating brat to the wedding? ugh.";
};
if (_arg2 == 6){
_local4 = "What a horrible maid. She's cheap, but even that's too expensive. If she would do her job well, the house would be clean. Here... is THIS clean to you? No. And there's a lot of dirt, too.";
};
if (_arg2 == 7){
_local4 = "Maggy is a menace. I swear she is trying to talk things into my new wife's head... things that are not so good for me. What if she brainwashes Natacha...? I don't want to think of that!";
};
if (_arg2 == 8){
_local4 = "She's a really scary woman, that neighbour of us. A 'witch' they sometimes call her. Well, at night I hear sounds coming from their house that you don't want to know about. She scares the hell out of me.";
};
if (_arg2 == 9){
_local4 = "The kitchen maid is not very clever and I don't trust her guts. Things go missing from the house now and then... and I strongly suspect that she has something to do with that!";
};
if (_arg2 == 10){
_local4 = "Let me say it this way. I married her because she is pretty, but not for her attitude. If personality would kill, my life would be in serious danger. No, in reality, if I'm totally honest, I would be better off without her.";
};
if (_arg2 == 11){
_local4 = "Natacha's younger sister is such a nasty brat. She gets onto my nerves like no tomorrow. Everything is always 'nice' and 'pretty' but underneath her 'mask' she's plotting bad stuff. Best to watch out for that one, you!";
};
};
} else {
if (_arg1 == 5){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "Yo, cool old guy!";
};
if (_arg2 == 1){
_local4 = "Hey, I like!";
};
if (_arg2 == 2){
_local4 = "Funny guy, but I know his tricks already.";
};
if (_arg2 == 3){
_local4 = "Yo, that's an ancient fellow! But friendly.";
};
if (_arg2 == 4){
_local4 = "He's fat rich! I want to get rich, too!";
};
if (_arg2 == 6){
_local4 = "I love her!";
};
if (_arg2 == 7){
_local4 = "Dog, I wish she was MY baby nurse! Haha!";
};
if (_arg2 == 8){
_local4 = "Yo, oldie-goldie!";
};
if (_arg2 == 9){
_local4 = "I'm in love!";
};
if (_arg2 == 10){
_local4 = "Pretty.";
};
if (_arg2 == 11){
_local4 = "Prettier than Natacha.";
};
} else {
if (_arg2 == 0){
_local4 = "Yo, what a grumpy man, man! Disturbs my mood, man!";
};
if (_arg2 == 1){
_local4 = "Yo, he's bad, man. Like a killer bad, with his knife!";
};
if (_arg2 == 2){
_local4 = "Hey, he needs to keep his irritating tricks away from me, man!";
};
if (_arg2 == 3){
_local4 = "Hey, old, man! Old and dirty, smells-out-of-his-mouth-dirty! Disgusts me!";
};
if (_arg2 == 4){
_local4 = "Yo, he's like a gangster, man! Richard is rich, but his money is dirty money!";
};
if (_arg2 == 6){
_local4 = "Stupid woman! She yells at me all the time, tells me not to go here, go there, because the house gets dirty! Bitch!";
};
if (_arg2 == 7){
_local4 = "She's a bitch, man.";
};
if (_arg2 == 8){
_local4 = "Yo, she's a witch, man! Like witch-riding-broom-brewing-foul-stew!";
};
if (_arg2 == 9){
_local4 = "Stupid girl! Girls like her are stupid, man!";
};
if (_arg2 == 10){
_local4 = "She's full of shit, man! Yo! Keep her away from me, man!";
};
if (_arg2 == 11){
_local4 = "Dog, she's a bitch! She teases me, man! Yo! She needs to stop that shit!";
};
};
} else {
if (_arg1 == 6){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "He's a friendly man. I don't have anything bad to say about him.";
};
if (_arg2 == 1){
_local4 = "Awesome man... in fact, don't tell him, but I really fancy him.";
};
if (_arg2 == 2){
_local4 = "Kind fellow, has nice tricks. He even showed me how one of his tricks works, nice, eh?";
};
if (_arg2 == 3){
_local4 = "What a friendly old gentleman! Everyone could wish for a neighbour like him!";
};
if (_arg2 == 4){
_local4 = "He's the man of dreams, isn't he? Handsome, nice and incredibly rich! This gigantic house, it's all his!";
};
if (_arg2 == 5){
_local4 = "Friendly and kind. A smart kid, too, I hear. Reminds me a little of my own son.";
};
if (_arg2 == 7){
_local4 = "She's the child-friendly nursey type. What's not to like about that?";
};
if (_arg2 == 8){
_local4 = "She is nice. You know she asked me if I had time to clean her house too... offered me a nice salary to boot! I really need to think if I will stay with Richard or switch employer, heehee.";
};
if (_arg2 == 9){
_local4 = "She is also in Richard's service. A nice girl and a hard worker. I always look forward to our common breaks, so we can chat about stuff. Women stuff, you know?";
};
if (_arg2 == 10){
_local4 = "I like Natacha. She's nice and friendly.";
};
if (_arg2 == 11){
_local4 = "She is actually prettier than the bride. Really, haven't you taken a good look at her? Everyone says Natacha is the prettiest today, but I still think Petra beats her looks any day. Go her!";
};
} else {
if (_arg2 == 0){
_local4 = "Oh that man! If he walks one more time with his muddy boots in the house I will kill him!";
};
if (_arg2 == 1){
_local4 = "He may look nice, but I don't trust him with that big butcher's knife of his!";
};
if (_arg2 == 2){
_local4 = "That idiot is only making the house dirty with his tricks! I tell you, he's littering the house! I wish he was out of here!";
};
if (_arg2 == 3){
_local4 = "Don't speak to me of the professor! He wanders through the whole house, losing tobacco everywhere he goes! He's a menace!";
};
if (_arg2 == 4){
_local4 = "That man thinks he can buy ANYTHING, and anyone for that matter! Can you imagine that he even tried to woo me? A day before the wedding? This man is bad news, that's what he is! What an idiot!";
};
if (_arg2 == 5){
_local4 = "Can't that kid wash his hands, for goodness sake? And of course he has to touch everything and everything in the house! He drives me totally insane!";
};
if (_arg2 == 7){
_local4 = "I can't put my finger on it, ... yet... but there's something that really disturbs me about that woman!";
};
if (_arg2 == 8){
_local4 = "What an arrogant bitch! It's clear that she IS a witch. I can't stand her. I hope she leaves soon.";
};
if (_arg2 == 9){
_local4 = "Damn that girl! She's not unkind or anything, but she ALWAYS spills drinks! And who has to clean it up? ME. I really hate that girl!";
};
if (_arg2 == 10){
_local4 = "I can't stand her morning moods. She's like a tyrant in the mornings. Always have to get out of the way or she kicks me out of the way. Has a lot of mood-swings at other times too, the way I see it. I never know what's coming to me with that woman.";
};
if (_arg2 == 11){
_local4 = "She's not very likeable, is she? Oh, you like her? I really don't. Nope. I'd wish this day was over so I wouldn't have to look at her parading through the house any longer.";
};
};
} else {
if (_arg1 == 7){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "Nice";
};
if (_arg2 == 1){
_local4 = "Nice";
};
if (_arg2 == 2){
_local4 = "Nice";
};
if (_arg2 == 3){
_local4 = "Nice";
};
if (_arg2 == 4){
_local4 = "Nice";
};
if (_arg2 == 5){
_local4 = "Nice";
};
if (_arg2 == 6){
_local4 = "Nice";
};
if (_arg2 == 8){
_local4 = "Nice";
};
if (_arg2 == 9){
_local4 = "Nice";
};
if (_arg2 == 10){
_local4 = "Nice";
};
if (_arg2 == 11){
_local4 = "Nice";
};
} else {
if (_arg2 == 0){
_local4 = "Naughty";
};
if (_arg2 == 1){
_local4 = "Naughty";
};
if (_arg2 == 2){
_local4 = "Naughty";
};
if (_arg2 == 3){
_local4 = "Naughty";
};
if (_arg2 == 4){
_local4 = "Naughty";
};
if (_arg2 == 5){
_local4 = "Naughty";
};
if (_arg2 == 6){
_local4 = "Naughty";
};
if (_arg2 == 8){
_local4 = "Naughty";
};
if (_arg2 == 9){
_local4 = "Naughty";
};
if (_arg2 == 10){
_local4 = "Naughty";
};
if (_arg2 == 11){
_local4 = "Naughty";
};
};
} else {
if (_arg1 == 8){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "bleeehhh-hehehe- I like! mhehhheheh...";
};
if (_arg2 == 1){
_local4 = "hooooot hooot! cool guyyyyeeesh! hahar!";
};
if (_arg2 == 2){
_local4 = "mmoooooogician! hahaha, nicje happy trickks! heheh!";
};
if (_arg2 == 3){
_local4 = "beeeeh ma man hahaha, he's mine! Hands offfhahahaha!";
};
if (_arg2 == 4){
_local4 = "groom broom broom - coool broom! beeheheheheh";
};
if (_arg2 == 5){
_local4 = "Watchacallit? hahaha... koolkit! haha... coolhaha!";
};
if (_arg2 == 6){
_local4 = "maiden-in-zhe-zhree... hic - nice maiden in zhe zhree...!";
};
if (_arg2 == 7){
_local4 = "I wanna baby nurse hahaa heeee";
};
if (_arg2 == 9){
_local4 = "hooo hooot! hahaha kitchen hazh a nice meeet! haha..";
};
if (_arg2 == 10){
_local4 = "Lick the bride lick the bride, I licke the brite, hee! hic.";
};
if (_arg2 == 11){
_local4 = "Maid maid pretty hiiheee, bridiemaidieheehee";
};
} else {
if (_arg2 == 0){
_local4 = "boo! garternerboo!";
};
if (_arg2 == 1){
_local4 = "Cookie-BOO! boo! hic.";
};
if (_arg2 == 2){
_local4 = "Sjtupitman... BOO!";
};
if (_arg2 == 3){
_local4 = "booman! boo-man! boo! hahaha-hic";
};
if (_arg2 == 4){
_local4 = "boom-groom! hahaha-hic!";
};
if (_arg2 == 5){
_local4 = "paperboyt-boo! boo!";
};
if (_arg2 == 6){
_local4 = "No lick-boo! boo!";
};
if (_arg2 == 7){
_local4 = "boo!";
};
if (_arg2 == 9){
_local4 = "she shtup... shtup... she boo! hic.";
};
if (_arg2 == 10){
_local4 = "booooooooooo! hic!";
};
if (_arg2 == 11){
_local4 = "Omgomgboo! boo! hic!";
};
};
} else {
if (_arg1 == 9){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "He is such a handsome guy! A bit rough, but I like rough men! Heehee.";
};
if (_arg2 == 1){
_local4 = "He's not a bad cook. I think Richard did well to hire him. Not unfriendly either.";
};
if (_arg2 == 2){
_local4 = "I can't get enough of his magic tricks! I love hanging around to watch them, between serving drinks.";
};
if (_arg2 == 3){
_local4 = "I think he's a nice, charming old man. And intelligent too!";
};
if (_arg2 == 4){
_local4 = "He is my boss. I think he's a nice guy and I was happy for him that he finally found himself a wife!";
};
if (_arg2 == 5){
_local4 = "Funny kid. He delivers newspapers, I hear. Other than that I don't know much about him, really.";
};
if (_arg2 == 6){
_local4 = "She's in charge of cleaning the house. I think she's an alright person.";
};
if (_arg2 == 7){
_local4 = "I don't know her at all, haven't had the time to chat with her. But I was told she's a nice person.";
};
if (_arg2 == 8){
_local4 = "She sure likes my drinks! She keeps coming back for more! I think she's a nice lady, really. Not a witch at all, like so many say!";
};
if (_arg2 == 10){
_local4 = "Natacha is my big example. I like her a lot. I want to become just like her! Pretty, smart and marry a rich guy like Richard!";
};
if (_arg2 == 11){
_local4 = "Natacha's sister is cute and friendly. You can see that the two are sisters, but Petra is the prettiest of the two, in my opinion.";
};
} else {
if (_arg2 == 0){
_local4 = "He is really handsome in my opinion, but he is such a rough guy! And he wants to touch me all the time, I really despise that kind of behaviour! He needs to stop that!";
};
if (_arg2 == 1){
_local4 = "The cook is getting on my nerves. He is acting like the kitchen belongs to him and him alone... while I can't do my job without visiting the kitchen either! But no, if I move something, he gets upset!";
};
if (_arg2 == 2){
_local4 = "I don't trust this guy. Those 'magic tricks' he performs aren't the only tricks he performs I think! There's something dark and shady going on behind all this. I think he will make a move very soon, probably on me!";
};
if (_arg2 == 3){
_local4 = "What a queer old man! He keeps talking talk to me that really scares me... he needs to stop that!";
};
if (_arg2 == 4){
_local4 = "That dirty bastard isn't paying me enough! The maid gets more than twice as much salary as me. He probably thinks I am dumb, but I won't leave it at that!";
};
if (_arg2 == 5){
_local4 = "I think he is a brat. Keeps trying to lift up my skirt, the bastard! He better stop doing that!";
};
if (_arg2 == 6){
_local4 = "The maid? Or do you mean 'the maid from hell'? If someone gets under my skin it's her! I don't even want to talk about it!";
};
if (_arg2 == 7){
_local4 = "She's rather annoying, to say the least! Luckily I don't know her very well, but I hope I can manage to stay clear of her as much as possible during the party... for both our sakes...";
};
if (_arg2 == 8){
_local4 = "I wish she'd go home, you know? She's absolutely drunk! And she keeps asking more drinks of me the whole time - I really hate people like that, they upset me.";
};
if (_arg2 == 10){
_local4 = "Natacha is such a bitch! Do you know what I just found out? She only just married and ALREADY has cheated on Richard twice! With two guests on this party! Can you imagine that? I really hate her for that!";
};
if ((((_arg2 == 11)) && ((iCharsMurdered == 0)))){
_local4 = "Petra is plotting something terrible. I can see it in her eyes. Mark my words, before the day is over a lot of people here are really upset!";
};
if ((((_arg2 == 11)) && ((iCharsMurdered > 0)))){
_local4 = "Petra is the murderer, I am certain of it! She acts all nice, but I can see it in her eyes, that girl is plotting dark things! I have always thought it!";
};
};
} else {
if (_arg1 == 10){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "Our gardener is doing a good job, he makes our garden look really great. He's a good employee.";
};
if (_arg2 == 1){
_local4 = "Alfred is of course in service because he's my husband's half brother, but he is also a good cook. He prepares good dishes.";
};
if (_arg2 == 2){
_local4 = "My brother is maybe a bit a strange fellow, but he's close to my heart.";
};
if (_arg2 == 3){
_local4 = "Our neighbour seems like a good guy. I don't see him very often because he doesn't come out of his house that much.";
};
if (_arg2 == 4){
_local4 = "Richard is my husband! Since today! I am so excited! I love him with all my heart!";
};
if (_arg2 == 5){
_local4 = "Bobby is a cool kid. He's some far relative from me, I don't know him very well, but looks like he grew up to be a nice guy.";
};
if (_arg2 == 6){
_local4 = "She's a good maid. Keeps the house clynical clean... but of course with so many guests in the house today she probably can't keep up, poor girl.";
};
if (_arg2 == 7){
_local4 = "She's my best friend! We've known each other from pre-school. We can talk about anything and everything with each other and have no secrets for each other!";
};
if (_arg2 == 8){
_local4 = "Her name is Scarlet, isn't it? She's the neighbour... I hear all kinds of rumours about her, being a witch and all, but honestly I don't believe anything of that. I think she's quite nice.";
};
if (_arg2 == 9){
_local4 = "She's great at preparing drinks and small snacks. I don't have anything bad to say about her! Glad she is in our service.";
};
if (_arg2 == 11){
_local4 = "Petra is my little sister. Well, she's not that little anymore, but you know, younger than me. She's a nice girl and I like her a lot.";
};
} else {
if (_arg2 == 0){
_local4 = "He's an ignorant fool. I don't understand why my husband has hired him. I would rather see him go.";
};
if (_arg2 == 1){
_local4 = "He never makes my favourite dishes! He only listens to his 'boss', my husband Richard. And when I beg him to make something that I love to eat he is all synical and makes jokes about me. Arrgh, that guy!";
};
if (_arg2 == 2){
_local4 = "My brother is a fool. He's a stain on our good family name, with his simple 'magic tricks', he's making a fool out of all of us! I hate him.";
};
if (_arg2 == 3){
_local4 = "He may be intelligent, but he is also scaring me. Like he's some kind of mastermind in um... cleaning up things around him. You know what I mean? I don't feel safe with him around.";
};
if (_arg2 == 4){
_local4 = "Don't tell him, but I don't really love him. I only married him for the money. Richard is bloody rich... and when he is dead, I am extremely rich! Heheh... but shh! Don't tell anyone!";
};
if (_arg2 == 5){
_local4 = "He's family and that's why he's here... but I don't like 'that' part of my family and I really don't like him, either.";
};
if (_arg2 == 6){
_local4 = "Ugh, I can't stand her. The way she's always looking at my husband, Richard... didn't you see that? I tell you, he means to steal him from me!";
};
if (_arg2 == 7){
_local4 = "I don't know what to think of her anymore. She used to be my best friend... but I think she is in love with my Richard as well... she kind of... let that slip earlier today. Is she going to try to go after my husband? I really don't know if I can trust her anymore! I thought we had no secrets between us!";
};
if (_arg2 == 8){
_local4 = "She's quite a scary woman! They say she's a witch and if only half of the stories are true... brr... Do I really dare to live next to such a creep?";
};
if (_arg2 == 9){
_local4 = "I strongly believe she's in love with my husband... if I'm not paying attention for a moment, I'll find her in bed with him, I swear! The slut! Yeah, that's what she is, a kitchen-slut!";
};
if (_arg2 == 11){
_local4 = "My younger sister... she has a thing for Richard, too! And knowing her, she'll do everything to get him... and take him from me! I need to prevent that from happening somehow, although I don't yet know how.";
};
};
} else {
if (_arg1 == 11){
if (_local5 == true){
if (_arg2 == 0){
_local4 = "He's cool.";
};
if (_arg2 == 1){
_local4 = "I like him, he is a nice fellow.";
};
if (_arg2 == 2){
_local4 = "My brother is the best, although I'm not so fond of his card tricks. But he's really a good guy.";
};
if (_arg2 == 3){
_local4 = "Seems like a nice person. Not my type obviously, but a nice and friendly old man.";
};
if (_arg2 == 4){
_local4 = "He is bloody rich. But he's also a good person, my sister chose him well.";
};
if (_arg2 == 5){
_local4 = "He's a lovely guy. Too bad he's family, so I can't marry him.";
};
if (_arg2 == 6){
_local4 = "I like clean houses and she really does her job well, I like her and would like to have a maid like that myself!";
};
if (_arg2 == 7){
_local4 = "She's my sister's best friend. I think she is a nice person.";
};
if (_arg2 == 8){
_local4 = "Such a friendly old woman! I don't understand why people accuse her of being a witch... old women aren't all witches!";
};
if (_arg2 == 9){
_local4 = "She's a nice person, told me a few very funny jokes earlier today, about the kitchen and the cook. Heehee...";
};
if (_arg2 == 10){
_local4 = "She's my older sister, nice, eh? I want to find a nice rich guy like she did. My big sis is so lucky, and cool at the same time!";
};
} else {
if (_arg2 == 0){
_local4 = "He's always looking at me like I'm a piece of delicious candy... I dislike him, because he's a smelly, dirty gardener! Not my type! Not at all!";
};
if (_arg2 == 1){
_local4 = "EEw, that guy, he's always flirting with me! I hate that, he is a doob! Keep him away from me, please!";
};
if (_arg2 == 2){
_local4 = "I think he's an idiot. Sure, he's my brother, but an idiot brother. Who in their right mind becomes a 'magician'?";
};
if (_arg2 == 3){
_local4 = "That dirty old man is always looking at me. I think he want to dive in bed with me. Ughh! I don't want to even THINK of it, that's disgusting! Disgusting old man!";
};
if (_arg2 == 4){
_local4 = "I think Richard has an eye for me. He married my sister, however. I hate him for that. I would have liked to marry him. For his money, of course, but you know... Now I hate him. I hope he gets what he deserves! Puh.";
};
if (_arg2 == 5){
_local4 = "Everyone keeps saying he's a smart kid, but I think he is S.T.U.P.I.D. There, I said it.";
};
if (_arg2 == 6){
_local4 = "She's a work-a-holic. That's clear. But she's also an unfriendly bitch. I really dislike her.";
};
if (_arg2 == 7){
_local4 = "Maggy is my sister's best friend. Ugh... I can't STAND her. She is SO annoying! Blech!";
};
if (_arg2 == 8){
_local4 = "She's a smelly drunk! And a witch. And probably a murderer. She should be put - you know. Technically.";
};
if (_arg2 == 9){
_local4 = "I don't trust her, she is up to something. She is up to something bad, I tell you! Beware of her!";
};
if (_arg2 == 10){
_local4 = "Everyone knows Natacha sleeps around, didn't you know that? My older sister really is such a bitch! I wish she stopped doing all that nasty stuff!";
};
};
};
};
};
};
};
};
};
};
};
};
};
};
chatCloud.portrait.gotoAndStop((_arg1 + 1));
chatCloud.cloudText.text = _local4;
showNameButtons(false);
};
};
}
public function checkForClues():void{
var _local1:* = getRoomNumber(arrRoomX[playerId], arrRoomY[playerId]);
var _local2:* = createClueString(arrClues[_local1]);
_local2 = (("Near the body, you find the following clues: " + _local2) + ".");
chatCloud.cloudText.text = _local2;
showButtons(false);
}
public function createClueString(_arg1):String{
var _local2:Array = [];
_local2.push(_arg1[0]);
_local2.push(_arg1[1]);
_local2.push(_arg1[2]);
_local2.push(_arg1[3]);
_local2.push(_arg1[4]);
_local2.push(_arg1[5]);
var _local3:* = (arrClueName[_local2.splice(Math.floor((Math.random() * _local2.length)), 1)] + ", ");
var _local4:* = (arrClueName[_local2.splice(Math.floor((Math.random() * _local2.length)), 1)] + ", ");
var _local5:* = (arrClueName[_local2.splice(Math.floor((Math.random() * _local2.length)), 1)] + ", ");
var _local6:* = (arrClueName[_local2.splice(Math.floor((Math.random() * _local2.length)), 1)] + ", ");
var _local7:* = (arrClueName[_local2.splice(Math.floor((Math.random() * _local2.length)), 1)] + ", ");
var _local8:* = ("and " + arrClueName[_local2[0]]);
if (_local8.search(_local3) == -1){
_local8 = (_local3 + _local8);
};
if (_local8.search(_local4) == -1){
_local8 = (_local4 + _local8);
};
if (_local8.search(_local5) == -1){
_local8 = (_local5 + _local8);
};
if (_local8.search(_local6) == -1){
_local8 = (_local6 + _local8);
};
if (_local8.search(_local7) == -1){
_local8 = (_local7 + _local8);
};
return (_local8);
}
public function secondTimer():void{
secondsCounter++;
}
public function enablePlayerKilling():void{
arrLikeDislike[murdererId][playerId] = 0;
bPlayerOnKillList = true;
}
public function myTimer():void{
var _local3:*;
var _local4:*;
checkPhase();
if (liftSlide != 0){
if (liftSlide < 0){
liftSlide++;
building.y = (building.y - 50);
};
if (liftSlide > 0){
liftSlide--;
building.y = (building.y + 50);
};
if (liftSlide == 0){
arrCharObj[playerId].alpha = 1;
updateUIbuttons(arrRoomX[playerId], arrRoomY[playerId]);
};
};
if (iPhase > 29){
doEndScene();
};
var _local1:* = 0;
while (_local1 < 12) {
if (_local1 != playerId){
if (iPhase < 30){
if (arrItemSwapDelay[_local1] > 0){
var _local5 = arrItemSwapDelay;
var _local6 = _local1;
var _local7 = (_local5[_local6] - 1);
_local5[_local6] = _local7;
};
moveChar(_local1);
leaveClue(_local1);
};
} else {
if (bGameOver == false){
_local3 = 0;
if (arrCharObj[playerId].x < playerGoalX){
_local3 = (playerGoalX - arrCharObj[playerId].x);
if (_local3 > 100){
arrCharObj[playerId].x = (arrCharObj[playerId].x + 35);
} else {
arrCharObj[playerId].x = (arrCharObj[playerId].x + 20);
};
if (arrCharObj[playerId].x > playerGoalX){
arrCharObj[playerId].x = playerGoalX;
};
arrCharObj[playerId].scaleX = 1;
animatePlayer();
} else {
if (arrCharObj[playerId].x > playerGoalX){
_local3 = (arrCharObj[playerId].x - playerGoalX);
if (_local3 > 100){
arrCharObj[playerId].x = (arrCharObj[playerId].x - 35);
} else {
arrCharObj[playerId].x = (arrCharObj[playerId].x - 20);
};
if (arrCharObj[playerId].x < playerGoalX){
arrCharObj[playerId].x = playerGoalX;
};
arrCharObj[playerId].scaleX = -1;
animatePlayer();
} else {
stopChar(playerId);
if (playerFloorChange != 0){
if (playerFloorChange == -1){
arrCharObj[playerId].y = (arrCharObj[playerId].y + 250);
arrRoomY[playerId] = (arrRoomY[playerId] + 1);
enableButton(btnDown, false);
enableButton(btnUp, false);
enableButton(btnLeft, false);
enableButton(btnRight, false);
arrCharObj[playerId].alpha = 0;
liftSlide = -5;
} else {
arrCharObj[playerId].y = (arrCharObj[playerId].y - 250);
arrRoomY[playerId] = (arrRoomY[playerId] - 1);
enableButton(btnUp, false);
enableButton(btnDown, false);
enableButton(btnLeft, false);
enableButton(btnRight, false);
arrCharObj[playerId].alpha = 0;
liftSlide = 5;
};
playerFloorChange = 0;
};
};
};
};
};
_local1++;
};
var _local2:* = 0;
while (_local2 < 11) {
if (((!((_local2 == playerId))) && (!((arrCharObj[_local2].body.currentFrame == 5))))){
_local4 = (_local2 + 1);
while (_local4 < 12) {
if (((!((_local4 == playerId))) && (!((arrCharObj[_local4].body.currentFrame == 5))))){
if ((((arrRoomY[_local2] == arrRoomY[_local4])) && ((Math.abs((arrCharObj[_local2].x - arrCharObj[_local4].x)) < 100)))){
checkMurder(_local2, _local4);
if ((((arrItemSwapDelay[_local2] == 0)) && ((arrItemSwapDelay[_local4] == 0)))){
swapItems(_local2, _local4);
};
};
};
_local4++;
};
};
_local2++;
};
if (bPlayerOnKillList == true){
checkMurder(playerId, murdererId);
};
if ((((chatCloud.alpha == 1)) && ((chatCloud.cloudText.text == "")))){
if (((!((arrRoomX[iChatChar] == arrRoomX[playerId]))) || (!((arrRoomY[iChatChar] == arrRoomY[playerId]))))){
hideChat();
};
};
}
public function animatePlayer():void{
var _local1:*;
var _local2:*;
if ((((liftSlide == 0)) && ((bGameOver == false)))){
_local1 = (5 * arrItem[playerId]);
if (arrCharObj[playerId].body.currentFrame != 5){
if (arrCharObj[playerId].body.currentFrame < 4){
arrCharObj[playerId].body.gotoAndStop((arrCharObj[playerId].body.currentFrame + 1));
arrCharObj[playerId].item.gotoAndStop((_local1 + arrCharObj[playerId].body.currentFrame));
} else {
arrCharObj[playerId].body.gotoAndStop(1);
arrCharObj[playerId].item.gotoAndStop((_local1 + 1));
};
};
_local2 = 6;
if (arrCharObj[playerId].x < 3600){
_local2 = 5;
};
if (arrCharObj[playerId].x < 3000){
_local2 = 4;
};
if (arrCharObj[playerId].x < 2400){
_local2 = 3;
};
if (arrCharObj[playerId].x < 1800){
_local2 = 2;
};
if (arrCharObj[playerId].x < 1200){
_local2 = 1;
};
if (arrCharObj[playerId].x < 600){
_local2 = 0;
};
if (_local2 != arrRoomX[playerId]){
if (_local2 > arrRoomX[playerId]){
building.x = (building.x - 600);
} else {
building.x = (building.x + 600);
};
arrRoomX[playerId] = _local2;
updateUIbuttons(arrRoomX[playerId], arrRoomY[playerId]);
};
};
}
public function updateUIbuttons(_arg1, _arg2){
if ((((_arg1 == 1)) || ((_arg1 == 5)))){
if (_arg2 != 0){
enableButton(btnUp, true);
} else {
enableButton(btnUp, false);
};
if (_arg2 != 3){
enableButton(btnDown, true);
} else {
enableButton(btnDown, false);
};
} else {
enableButton(btnUp, false);
enableButton(btnDown, false);
};
if ((((_arg2 == 0)) || ((_arg2 == 1)))){
if (_arg1 != 1){
enableButton(btnLeft, true);
} else {
enableButton(btnLeft, false);
};
if (_arg1 != 5){
enableButton(btnRight, true);
} else {
enableButton(btnRight, false);
};
};
if (_arg2 == 2){
if (_arg1 != 0){
enableButton(btnLeft, true);
} else {
enableButton(btnLeft, false);
};
if (_arg1 != 5){
enableButton(btnRight, true);
} else {
enableButton(btnRight, false);
};
};
if (_arg2 == 3){
if (_arg1 != 0){
enableButton(btnLeft, true);
} else {
enableButton(btnLeft, false);
};
if (_arg1 != 6){
enableButton(btnRight, true);
} else {
enableButton(btnRight, false);
};
};
}
public function moveChar(_arg1):void{
var _local2:* = arrCharObj[_arg1];
var _local3:* = (5 * arrItem[_arg1]);
if (_local2.body.currentFrame == 5){
_local2.item.gotoAndStop((_local3 + 5));
} else {
if (arrMotionDelay[_arg1] == 0){
if (_local2.body.currentFrame < 4){
_local2.body.gotoAndStop((_local2.body.currentFrame + 1));
_local2.item.gotoAndStop((_local3 + _local2.body.currentFrame));
} else {
_local2.body.gotoAndStop(1);
_local2.item.gotoAndStop((_local3 + 1));
};
if (_local2.scaleX > 0){
_local2.x = (_local2.x + (17 + Math.floor((Math.random() * 6))));
if (_local2.x > 4100){
_local2.scaleX = -1;
};
if ((((arrRoomY[_arg1] < 3)) && ((_local2.x > 3500)))){
_local2.scaleX = -1;
};
} else {
_local2.x = (_local2.x - (17 + Math.floor((Math.random() * 6))));
if (_local2.x < 100){
_local2.scaleX = 1;
};
if ((((arrRoomY[_arg1] < 2)) && ((_local2.x < 700)))){
_local2.scaleX = 1;
};
};
verifyCharacterDestination(_arg1);
} else {
var _local4 = arrMotionDelay;
var _local5 = _arg1;
var _local6 = (_local4[_local5] - 1);
_local4[_local5] = _local6;
if (arrMotionDelay[_arg1] == 0){
arrCharObj[_arg1].alpha = 1;
};
};
};
}
public function stopChar(_arg1):void{
var _local2:* = arrCharObj[_arg1];
var _local3:* = (5 * arrItem[_arg1]);
_local2.body.gotoAndStop(2);
_local2.item.gotoAndStop((_local3 + 2));
}
public function mouseClicked(_arg1:MouseEvent):void{
var _local3:*;
var _local4:*;
var _local5:*;
var _local2:* = "";
if (_arg1.target.name != null){
_local2 = _arg1.target.name;
};
if (bGameOver == false){
playerFloorChange = 0;
if (_local2 == "btnRight"){
playerGoalX = ((600 * arrRoomX[playerId]) + 650);
hideChat();
closeNotesTracker();
} else {
if (_local2 == "btnLeft"){
playerGoalX = ((600 * arrRoomX[playerId]) - 50);
hideChat();
closeNotesTracker();
} else {
if (_local2 == "btnUp"){
playerFloorChange = 1;
playerGoalX = ((600 * arrRoomX[playerId]) + 300);
hideChat();
closeNotesTracker();
} else {
if (_local2 == "btnDown"){
playerFloorChange = -1;
playerGoalX = ((600 * arrRoomX[playerId]) + 300);
hideChat();
closeNotesTracker();
} else {
if (_local2 == "btnNotes"){
if (notes.btnNotes.currentFrame == 1){
notes.btnNotes.gotoAndStop(2);
notes.paper.y = 20;
notes.paper.alpha = 0.9;
} else {
notes.btnNotes.gotoAndStop(1);
notes.paper.alpha = 0;
notes.paper.y = 520;
};
} else {
if (_local2 == "btnTracker"){
if (tracker.btnTracker.currentFrame == 1){
tracker.btnTracker.gotoAndStop(2);
tracker.paper.y = 20;
tracker.paper.alpha = 0.9;
} else {
tracker.btnTracker.gotoAndStop(1);
tracker.paper.alpha = 0;
tracker.paper.y = 520;
};
} else {
if (_local2 == "btn1"){
_arg1.target.gotoAndStop((3 - _arg1.target.currentFrame));
_arg1.target.parent.btn2.gotoAndStop(1);
_arg1.target.parent.btn3.gotoAndStop(1);
} else {
if (_local2 == "btn2"){
_arg1.target.gotoAndStop((3 - _arg1.target.currentFrame));
_arg1.target.parent.btn1.gotoAndStop(1);
_arg1.target.parent.btn3.gotoAndStop(1);
} else {
if (_local2 == "btn3"){
_arg1.target.gotoAndStop((3 - _arg1.target.currentFrame));
_arg1.target.parent.btn1.gotoAndStop(1);
_arg1.target.parent.btn2.gotoAndStop(1);
} else {
if (_local2 == "btn4"){
_arg1.target.gotoAndStop((3 - _arg1.target.currentFrame));
} else {
if (_local2 == "building"){
if (liftSlide == 0){
_local3 = stage.mouseX;
if ((((arrRoomX[playerId] == 0)) && ((_local3 < 150)))){
_local3 = 150;
};
if ((((((arrRoomX[playerId] == 1)) && ((arrRoomY[playerId] < 2)))) && ((_local3 < 100)))){
_local3 = 100;
};
if ((((((arrRoomX[playerId] == 5)) && ((arrRoomY[playerId] < 3)))) && ((_local3 > 500)))){
_local3 = 500;
};
if ((((arrRoomX[playerId] == 6)) && ((_local3 > 500)))){
_local3 = 500;
};
playerGoalX = ((600 * arrRoomX[playerId]) + _local3);
closeNotesTracker();
};
hideChat();
} else {
if ((((_local2 == "btnExamine")) && ((chatCloud.questions.btnExamine.alpha == 1)))){
showButtons(false);
showNameButtons(false);
doExamine(iChatChar);
closeNotesTracker();
} else {
if ((((_local2 == "btnWhat")) && ((chatCloud.questions.btnWhat.alpha == 1)))){
showButtons(false);
chatCloud.nameButtons.buttonsText.text = "What do you think of...";
setNameButtons(false);
showNameButtons(true);
arrMotionDelay[iChatChar] = 15;
stopChar(iChatChar);
closeNotesTracker();
} else {
if ((((_local2 == "btnLook")) && ((chatCloud.questions.btnLook.alpha == 1)))){
showButtons(false);
showNameButtons(false);
closeNotesTracker();
checkForClues();
} else {
if ((((_local2 == "btnAccuse")) && ((chatCloud.questions.btnAccuse.alpha == 1)))){
showButtons(false);
chatCloud.nameButtons.buttonsText.text = "I found out who the killer is! It is...";
setNameButtons(true);
showNameButtons(true);
closeNotesTracker();
} else {
if ((((_local2 == "btnGardener")) && ((chatCloud.nameButtons.btnGardener.alpha == 1)))){
personChosen(iChatChar, 0, bAccusation);
} else {
if ((((_local2 == "btnCook")) && ((chatCloud.nameButtons.btnCook.alpha == 1)))){
personChosen(iChatChar, 1, bAccusation);
} else {
if ((((_local2 == "btnMagician")) && ((chatCloud.nameButtons.btnMagician.alpha == 1)))){
personChosen(iChatChar, 2, bAccusation);
} else {
if ((((_local2 == "btnProfessor")) && ((chatCloud.nameButtons.btnProfessor.alpha == 1)))){
personChosen(iChatChar, 3, bAccusation);
} else {
if ((((_local2 == "btnGroom")) && ((chatCloud.nameButtons.btnGroom.alpha == 1)))){
personChosen(iChatChar, 4, bAccusation);
} else {
if ((((_local2 == "btnPaperboy")) && ((chatCloud.nameButtons.btnPaperboy.alpha == 1)))){
personChosen(iChatChar, 5, bAccusation);
} else {
if ((((_local2 == "btnMaid")) && ((chatCloud.nameButtons.btnMaid.alpha == 1)))){
personChosen(iChatChar, 6, bAccusation);
} else {
if ((((_local2 == "btnBabynurse")) && ((chatCloud.nameButtons.btnBabynurse.alpha == 1)))){
personChosen(iChatChar, 7, bAccusation);
} else {
if ((((_local2 == "btnProfwife")) && ((chatCloud.nameButtons.btnProfwife.alpha == 1)))){
personChosen(iChatChar, 8, bAccusation);
} else {
if ((((_local2 == "btnKitchenmaid")) && ((chatCloud.nameButtons.btnKitchenmaid.alpha == 1)))){
personChosen(iChatChar, 9, bAccusation);
} else {
if ((((_local2 == "btnBride")) && ((chatCloud.nameButtons.btnBride.alpha == 1)))){
personChosen(iChatChar, 10, bAccusation);
} else {
if ((((_local2 == "btnBridesmaid")) && ((chatCloud.nameButtons.btnBridesmaid.alpha == 1)))){
personChosen(iChatChar, 11, bAccusation);
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
if (_local2 == "btnRestart"){
stage.removeEventListener(MouseEvent.CLICK, mouseClicked);
clearInterval(myInterval);
clearInterval(secondsInterval);
gotoAndStop(2);
};
if ((((((_local2 == "body")) || ((_local2 == "item")))) && ((bGameOver == false)))){
_local4 = true;
_local2 = _arg1.target.parent.name;
iChatChar = 99;
closeNotesTracker();
if (_local2 == "charGardener"){
iChatChar = 0;
};
if (_local2 == "charCook"){
iChatChar = 1;
};
if (_local2 == "charMagician"){
iChatChar = 2;
};
if (_local2 == "charProfessor"){
iChatChar = 3;
};
if (_local2 == "charGroom"){
iChatChar = 4;
};
if (_local2 == "charPaperboy"){
iChatChar = 5;
};
if (_local2 == "charMaid"){
iChatChar = 6;
};
if (_local2 == "charBabynurse"){
iChatChar = 7;
};
if (_local2 == "charProfwife"){
iChatChar = 8;
};
if (_local2 == "charKitchenmaid"){
iChatChar = 9;
};
if (_local2 == "charBride"){
iChatChar = 10;
};
if (_local2 == "charBridesmaid"){
iChatChar = 11;
};
if (_local2 == "charPolice"){
iChatChar = 12;
};
if (iChatChar != playerId){
chatCloud.y = 65;
chatCloud.portrait.gotoAndStop((playerId + 1));
chatCloud.cloudText.text = "";
chatCloud.alpha = 1;
if (arrCharObj[iChatChar].body.currentFrame != 5){
arrMotionDelay[iChatChar] = 10;
stopChar(iChatChar);
_local4 = false;
};
playerGoalX = arrCharObj[playerId].x;
_local5 = Math.floor((Math.random() * 8));
if (_local5 == 0){
chatCloud.questions.questionText.text = (("Oh, eh, " + arrOfficialName[iChatChar]) + ", can I ask you something?");
} else {
if (_local5 == 1){
chatCloud.questions.questionText.text = (("Hey, " + arrOfficialName[iChatChar]) + ", I have a question for you...");
} else {
if (_local5 == 2){
chatCloud.questions.questionText.text = (("Hey there, " + arrOfficialName[iChatChar]) + ", I need to ask you something.");
} else {
if (_local5 == 3){
chatCloud.questions.questionText.text = (("Good that I see you here, " + arrOfficialName[iChatChar]) + ", I was wondering...");
} else {
if (_local5 == 4){
chatCloud.questions.questionText.text = (("Hello " + arrOfficialName[iChatChar]) + ", do you mind if I ask you a question?");
} else {
if (_local5 == 5){
chatCloud.questions.questionText.text = (("Um, " + arrOfficialName[iChatChar]) + ", I'd like to discuss something with you.");
} else {
if (_local5 == 6){
chatCloud.questions.questionText.text = (("Hey, do you have a moment, " + arrOfficialName[iChatChar]) + "?");
} else {
if (_local5 == 7){
chatCloud.questions.questionText.text = (("Can I borrow a moment of your time, " + arrOfficialName[iChatChar]) + "?");
};
};
};
};
};
};
};
};
if (arrCharObj[iChatChar].body.currentFrame == 5){
chatCloud.questions.questionText.text = "What to do?";
};
if (arrCharObj[iChatChar].body.currentFrame == 5){
chatCloud.questions.btnAccuse.alpha = 0;
chatCloud.questions.btnLook.alpha = 1;
chatCloud.questions.btnExamine.alpha = 1;
chatCloud.questions.btnWhat.alpha = 0;
} else {
if (iChatChar == 12){
chatCloud.questions.btnLook.alpha = 0;
chatCloud.questions.btnExamine.alpha = 1;
if ((((iCharsMurdered > 0)) && (!((iPhase == 2))))){
chatCloud.questions.btnAccuse.alpha = 1;
} else {
chatCloud.questions.btnAccuse.alpha = 0;
};
chatCloud.questions.btnWhat.alpha = 0;
} else {
chatCloud.questions.btnAccuse.alpha = 0;
chatCloud.questions.btnLook.alpha = 0;
chatCloud.questions.btnExamine.alpha = 1;
chatCloud.questions.btnWhat.alpha = 1;
};
};
showButtons(true);
showNameButtons(false);
};
};
}
public function killChar(_arg1):void{
if (iPhase < 30){
iPhase = 2;
};
lastMurderedId = _arg1;
iCharsMurdered++;
if (arrCharObj[_arg1].body.currentFrame < 5){
arrCharObj[_arg1].body.gotoAndStop(5);
};
var _local2:* = 0;
var _local3:* = 0;
while (_local3 < 7) {
if ((((arrRoomX[_arg1] == _local3)) && ((arrCharObj[_arg1].x < (_local2 + 80))))){
arrCharObj[_arg1].x = (_local2 + 80);
};
if ((((arrRoomX[_arg1] == _local3)) && ((arrCharObj[_arg1].x > (_local2 + 520))))){
arrCharObj[_arg1].x = (_local2 + 520);
};
_local2 = (_local2 + 600);
_local3++;
};
building.screamCircle.x = arrCharObj[_arg1].x;
building.screamCircle.y = (arrCharObj[_arg1].y + 65);
screamTweenX = new Tween(building.screamCircle, "scaleX", Strong.easeOut, 0.1, 2, 2, true);
screamTweenX.FPS = 40;
screamTweenY = new Tween(building.screamCircle, "scaleY", Strong.easeOut, 0.1, 2, 2, true);
screamTweenY.FPS = 40;
screamTweenA = new Tween(building.screamCircle, "alpha", None.easeNone, 0.5, 0, 2, true);
screamTweenA.FPS = 40;
if (arrRoomY[_arg1] < arrRoomY[playerId]){
aargh.y = 40;
} else {
if (arrRoomY[_arg1] > arrRoomY[playerId]){
aargh.y = 220;
} else {
aargh.y = 130;
};
};
if (arrRoomX[_arg1] < arrRoomX[playerId]){
aargh.x = 147;
} else {
if (arrRoomX[_arg1] > arrRoomX[playerId]){
aargh.x = 458;
} else {
aargh.x = 300;
};
};
aarghTween = new Tween(aargh, "alpha", Regular.easeOut, 1, 0, 3, true);
aarghTween.FPS = 40;
hideChat();
}
public function swapItems(_arg1, _arg2):void{
var _local3:* = 0;
_local3 = arrItem[_arg1];
arrItem[_arg1] = arrItem[_arg2];
arrItem[_arg2] = _local3;
arrItemSwapDelay[_arg1] = 30;
arrItemSwapDelay[_arg2] = 30;
arrCharObj[_arg1].item.gotoAndStop(((5 * arrItem[_arg1]) + arrCharObj[_arg1].body.currentFrame));
arrCharObj[_arg2].item.gotoAndStop(((5 * arrItem[_arg2]) + arrCharObj[_arg2].body.currentFrame));
}
public function setNewGoalFor(_arg1):void{
var _local2:* = Math.floor((Math.random() * 14));
if (_local2 == 0){
arrGoalX[_arg1] = 2;
arrGoalY[_arg1] = 0;
};
if (_local2 == 1){
arrGoalX[_arg1] = 3;
arrGoalY[_arg1] = 0;
};
if (_local2 == 2){
arrGoalX[_arg1] = 4;
arrGoalY[_arg1] = 0;
};
if (_local2 == 3){
arrGoalX[_arg1] = 2;
arrGoalY[_arg1] = 1;
};
if (_local2 == 4){
arrGoalX[_arg1] = 3;
arrGoalY[_arg1] = 1;
};
if (_local2 == 5){
arrGoalX[_arg1] = 4;
arrGoalY[_arg1] = 1;
};
if (_local2 == 6){
arrGoalX[_arg1] = 0;
arrGoalY[_arg1] = 2;
};
if (_local2 == 7){
arrGoalX[_arg1] = 2;
arrGoalY[_arg1] = 2;
};
if (_local2 == 8){
arrGoalX[_arg1] = 3;
arrGoalY[_arg1] = 2;
};
if (_local2 == 9){
arrGoalX[_arg1] = 4;
arrGoalY[_arg1] = 2;
};
if (_local2 == 10){
arrGoalX[_arg1] = 2;
arrGoalY[_arg1] = 3;
};
if (_local2 == 11){
arrGoalX[_arg1] = 3;
arrGoalY[_arg1] = 3;
};
if (_local2 == 12){
arrGoalX[_arg1] = 4;
arrGoalY[_arg1] = 3;
};
if (_local2 == 13){
arrGoalX[_arg1] = 6;
arrGoalY[_arg1] = 3;
};
arrGoalXCoord[_arg1] = ((600 * arrGoalX[_arg1]) + (150 + Math.floor((Math.random() * 300))));
correctDirection(_arg1);
}
public function correctDirection(_arg1):void{
if ((((((((((arrGoalY[_arg1] == 0)) && (!((arrCharObj[_arg1].y == 110))))) || ((((arrGoalY[_arg1] == 1)) && (!((arrCharObj[_arg1].y == 360))))))) || ((((arrGoalY[_arg1] == 2)) && (!((arrCharObj[_arg1].y == 610))))))) || ((((arrGoalY[_arg1] == 3)) && (!((arrCharObj[_arg1].y == 860))))))){
if (arrRoomX[_arg1] == 0){
arrCharObj[_arg1].scaleX = 1;
} else {
if (arrRoomX[_arg1] == 2){
if (arrGoalX[_arg1] < 4){
arrCharObj[_arg1].scaleX = -1;
} else {
arrCharObj[_arg1].scaleX = 1;
};
} else {
if (arrRoomX[_arg1] == 3){
if (arrGoalX[_arg1] > 3){
arrCharObj[_arg1].scaleX = 1;
} else {
if (arrGoalX[_arg1] < 3){
arrCharObj[_arg1].scaleX = -1;
} else {
if (Math.floor((Math.random() * 2)) == 0){
arrCharObj[_arg1].scaleX = 1;
} else {
arrCharObj[_arg1].scaleX = -1;
};
};
};
} else {
if (arrRoomX[_arg1] == 4){
if (arrGoalX[_arg1] > 2){
arrCharObj[_arg1].scaleX = 1;
} else {
arrCharObj[_arg1].scaleX = -1;
};
} else {
if (arrRoomX[_arg1] == 6){
arrCharObj[_arg1].scaleX = -1;
};
};
};
};
};
} else {
if (arrGoalXCoord[_arg1] > arrCharObj[_arg1].x){
arrCharObj[_arg1].scaleX = 1;
} else {
arrCharObj[_arg1].scaleX = -1;
};
};
}
public function verifyCharacterDestination(_arg1):void{
var _local2:* = 6;
if (arrCharObj[_arg1].x < 3600){
_local2 = 5;
};
if (arrCharObj[_arg1].x < 3000){
_local2 = 4;
};
if (arrCharObj[_arg1].x < 2400){
_local2 = 3;
};
if (arrCharObj[_arg1].x < 1800){
_local2 = 2;
};
if (arrCharObj[_arg1].x < 1200){
_local2 = 1;
};
if (arrCharObj[_arg1].x < 600){
_local2 = 0;
};
if (_local2 != arrRoomX[_arg1]){
arrRoomX[_arg1] = _local2;
};
if ((((((((((arrGoalY[_arg1] == 0)) && (!((arrCharObj[_arg1].y == 110))))) || ((((arrGoalY[_arg1] == 1)) && (!((arrCharObj[_arg1].y == 360))))))) || ((((arrGoalY[_arg1] == 2)) && (!((arrCharObj[_arg1].y == 610))))))) || ((((arrGoalY[_arg1] == 3)) && (!((arrCharObj[_arg1].y == 860))))))){
if ((((((arrCharObj[_arg1].x > 887)) && ((arrCharObj[_arg1].x < 913)))) || ((((arrCharObj[_arg1].x > 3287)) && ((arrCharObj[_arg1].x < 3313)))))){
arrRoomY[_arg1] = arrGoalY[_arg1];
if (arrRoomY[_arg1] == 0){
arrCharObj[_arg1].y = 110;
} else {
if (arrRoomY[_arg1] == 1){
arrCharObj[_arg1].y = 360;
} else {
if (arrRoomY[_arg1] == 2){
arrCharObj[_arg1].y = 610;
} else {
if (arrRoomY[_arg1] == 3){
arrCharObj[_arg1].y = 860;
};
};
};
};
arrMotionDelay[_arg1] = 9;
arrCharObj[_arg1].alpha = 0;
correctDirection(_arg1);
};
} else {
if ((((arrCharObj[_arg1].x > (arrGoalXCoord[_arg1] - 13))) && ((arrCharObj[_arg1].x < (arrGoalXCoord[_arg1] + 13))))){
arrMotionDelay[_arg1] = (Math.floor((Math.random() * 10)) + 10);
stopChar(_arg1);
setNewGoalFor(_arg1);
};
};
}
public function enableButton(_arg1, _arg2):void{
if (_arg2 == true){
_arg1.alpha = 0.6;
_arg1.mouseEnabled = true;
} else {
_arg1.alpha = 0;
_arg1.mouseEnabled = false;
};
}
public function checkMurder(_arg1, _arg2):void{
var _local3:* = 99;
var _local4:* = 99;
if ((((iPhase == 1)) || ((bPlayerOnKillList == true)))){
if (((((((!((arrCharObj[_arg1].body.currentFrame == 5))) && (!((arrCharObj[_arg2].body.currentFrame == 5))))) && ((arrCharObj[_arg1].alpha == 1)))) && ((arrCharObj[_arg2].alpha == 1)))){
if (_arg1 == murdererId){
_local3 = _arg1;
_local4 = _arg2;
};
if (_arg2 == murdererId){
_local3 = _arg2;
_local4 = _arg1;
};
if (_local3 != 99){
if ((((arrRoomY[_local3] == arrRoomY[_local4])) && ((Math.abs((arrCharObj[_arg1].x - arrCharObj[_arg2].x)) < 100)))){
if (arrLikeDislike[_local3][_local4] == 0){
if (_local4 == playerId){
enableButton(btnLeft, false);
enableButton(btnRight, false);
enableButton(btnUp, false);
enableButton(btnDown, false);
playerGoalX = arrCharObj[playerId].x;
swapItems(_arg1, _arg2);
killChar(_local4);
bGameOver = true;
notes.btnNotes.alpha = 0;
notes.btnNotes.y = 520;
notes.paper.alpha = 0;
notes.paper.y = 520;
tracker.btnTracker.alpha = 0;
tracker.btnTracker.y = 520;
tracker.paper.alpha = 0;
tracker.paper.y = 520;
arrCharObj[playerId].body.gotoAndStop(5);
arrCharObj[playerId].item.gotoAndStop(((5 * arrItem[playerId]) + 5));
gameOver.x = 300;
gameOver.y = 40;
gameOver.murderText.text = ("You have been murdered by the " + arrCharName[murdererId]);
gameOver.alpha = 1;
} else {
if (iPhase == 1){
if (checkMinimumRoomDistance() == true){
swapItems(_arg1, _arg2);
killChar(_local4);
};
};
};
};
};
};
};
};
}
public function checkMinimumRoomDistance():Boolean{
var _local1:* = true;
if ((((arrRoomX[murdererId] == 1)) && ((arrRoomX[playerId] == 1)))){
_local1 = false;
};
if ((((arrRoomX[murdererId] == 5)) && ((arrRoomX[playerId] == 5)))){
_local1 = false;
};
if (arrRoomY[murdererId] == arrRoomY[playerId]){
if (Math.abs((arrRoomX[murdererId] - arrRoomX[playerId])) < 2){
_local1 = false;
};
};
return (_local1);
}
public function checkPhase():void{
if (iPhase == 0){
if (secondsCounter > 120){
iPhase = 1;
};
} else {
if (iPhase == 1){
} else {
if (iPhase == 2){
if ((((arrRoomX[lastMurderedId] == arrRoomX[playerId])) && ((arrRoomY[lastMurderedId] == arrRoomY[playerId])))){
secondsCounter = 0;
iPhase = 3;
arrConfirmedDead[lastMurderedId] = 1;
tracker.y = 0;
tracker.alpha = 1;
};
} else {
if (iPhase == 3){
if (secondsCounter == 200){
arrCharObj[lastMurderedId].alpha = 0.9;
};
if (secondsCounter == 201){
arrCharObj[lastMurderedId].alpha = 0.8;
};
if (secondsCounter == 202){
arrCharObj[lastMurderedId].alpha = 0.7;
};
if (secondsCounter == 203){
arrCharObj[lastMurderedId].alpha = 0.6;
};
if (secondsCounter == 204){
arrCharObj[lastMurderedId].alpha = 0.5;
};
if (secondsCounter == 205){
arrCharObj[lastMurderedId].alpha = 0.4;
};
if (secondsCounter == 206){
arrCharObj[lastMurderedId].alpha = 0.3;
};
if (secondsCounter == 207){
arrCharObj[lastMurderedId].alpha = 0.2;
};
if (secondsCounter == 208){
arrCharObj[lastMurderedId].alpha = 0.1;
};
if (secondsCounter > 208){
arrCharObj[lastMurderedId].alpha = 0;
arrCharObj[lastMurderedId].x = -500;
};
if (secondsCounter > 240){
secondsCounter = 0;
if (iCharsMurdered == 3){
enablePlayerKilling();
};
iPhase = 1;
};
};
};
};
};
}
public function hideChat():void{
chatCloud.alpha = 0;
chatCloud.y = 370;
}
public function showButtons(_arg1):void{
if (_arg1 == true){
chatCloud.questions.y = -14;
chatCloud.questions.alpha = 1;
} else {
chatCloud.questions.alpha = 0;
chatCloud.questions.y = 500;
};
}
public function showNameButtons(_arg1):void{
if (_arg1 == true){
chatCloud.nameButtons.y = 26;
chatCloud.nameButtons.alpha = 1;
} else {
chatCloud.nameButtons.alpha = 0;
chatCloud.nameButtons.y = 500;
};
}
public function setNameButtons(_arg1):void{
var _local2:* = 0;
while (_local2 < 12) {
arrButtons[_local2].alpha = 1;
if ((((arrCharObj[_local2].body.currentFrame == 5)) && (!((_local2 == iCharAccused))))){
if (arrConfirmedDead[lastMurderedId] == 1){
arrButtons[_local2].gotoAndStop(2);
};
};
if (_arg1 == true){
if ((((arrCharObj[_local2].body.currentFrame == 5)) && (!((_local2 == iCharAccused))))){
arrButtons[_local2].alpha = 0.25;
};
};
_local2++;
};
arrButtons[playerId].alpha = 0.25;
if (iChatChar != 12){
arrButtons[iChatChar].alpha = 0.25;
};
bAccusation = _arg1;
}
public function closeNotesTracker():void{
notes.btnNotes.gotoAndStop(1);
notes.paper.alpha = 0;
notes.paper.y = 520;
tracker.btnTracker.gotoAndStop(1);
tracker.paper.alpha = 0;
tracker.paper.y = 520;
}
public function getRoomNumber(_arg1, _arg2):uint{
if ((((_arg1 == 1)) && ((_arg2 == 0)))){
return (0);
};
if ((((_arg1 == 2)) && ((_arg2 == 0)))){
return (1);
};
if ((((_arg1 == 3)) && ((_arg2 == 0)))){
return (2);
};
if ((((_arg1 == 4)) && ((_arg2 == 0)))){
return (3);
};
if ((((_arg1 == 5)) && ((_arg2 == 0)))){
return (4);
};
if ((((_arg1 == 1)) && ((_arg2 == 1)))){
return (5);
};
if ((((_arg1 == 2)) && ((_arg2 == 1)))){
return (6);
};
if ((((_arg1 == 3)) && ((_arg2 == 1)))){
return (7);
};
if ((((_arg1 == 4)) && ((_arg2 == 1)))){
return (8);
};
if ((((_arg1 == 5)) && ((_arg2 == 1)))){
return (9);
};
if ((((_arg1 == 0)) && ((_arg2 == 2)))){
return (10);
};
if ((((_arg1 == 1)) && ((_arg2 == 2)))){
return (11);
};
if ((((_arg1 == 2)) && ((_arg2 == 2)))){
return (12);
};
if ((((_arg1 == 3)) && ((_arg2 == 2)))){
return (13);
};
if ((((_arg1 == 4)) && ((_arg2 == 2)))){
return (14);
};
if ((((_arg1 == 5)) && ((_arg2 == 2)))){
return (15);
};
if ((((_arg1 == 0)) && ((_arg2 == 3)))){
return (16);
};
if ((((_arg1 == 1)) && ((_arg2 == 3)))){
return (17);
};
if ((((_arg1 == 2)) && ((_arg2 == 3)))){
return (18);
};
if ((((_arg1 == 3)) && ((_arg2 == 3)))){
return (19);
};
if ((((_arg1 == 4)) && ((_arg2 == 3)))){
return (20);
};
if ((((_arg1 == 5)) && ((_arg2 == 3)))){
return (21);
};
if ((((_arg1 == 6)) && ((_arg2 == 3)))){
return (22);
};
return (99);
}
public function leaveClue(_arg1):void{
var _local2:*;
var _local3:*;
if (((!((_arg1 == playerId))) && (!((arrCharObj[_arg1].body.currentFrame == 5))))){
_local2 = getRoomNumber(arrRoomX[_arg1], arrRoomY[_arg1]);
_local3 = arrClues[_local2].indexOf(_arg1);
if (_local3 == -1){
arrClues[_local2].splice(0, 1);
} else {
arrClues[_local2].splice(_local3, 1);
};
arrClues[_local2].push(_arg1);
};
}
public function randomizeClues():void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local1:* = 0;
while (_local1 < 23) {
_local2 = Math.floor((Math.random() * 11));
_local3 = Math.floor((Math.random() * 11));
_local4 = Math.floor((Math.random() * 11));
_local5 = Math.floor((Math.random() * 11));
_local6 = Math.floor((Math.random() * 11));
_local7 = Math.floor((Math.random() * 11));
if (_local2 == playerId){
_local2 = 11;
};
if (_local3 == playerId){
_local3 = 11;
};
if (_local4 == playerId){
_local4 = 11;
};
if (_local5 == playerId){
_local5 = 11;
};
if (_local6 == playerId){
_local6 = 11;
};
if (_local7 == playerId){
_local7 = 11;
};
arrClues[_local1][0] = _local2;
arrClues[_local1][1] = _local3;
arrClues[_local1][2] = _local4;
arrClues[_local1][3] = _local5;
arrClues[_local1][4] = _local6;
arrClues[_local1][5] = _local7;
_local1++;
};
}
public function doEndScene():void{
var _local1:*;
if (iPhase == 30){
_local1 = building.charPolice;
_local1.x = (_local1.x + 22);
pace(12);
if (_local1.x > 700){
_local1.scaleX = -1;
iPhase = 31;
playerGoalX = 350;
arrCharObj[playerId].scaleX = 1;
_local1 = arrCharObj[iCharAccused];
_local1.x = (building.charPolice.x - 70);
_local1.y = building.charPolice.y;
_local1.scaleX = -1;
arrItem[iCharAccused] = 12;
};
movePlayerSpecial();
} else {
if (iPhase == 31){
arrCharObj[iCharAccused].x = (arrCharObj[iCharAccused].x - 22);
pace(iCharAccused);
building.charPolice.x = (building.charPolice.x - 22);
pace(12);
if (building.charPolice.x < -60){
arrLikeDislike[murdererId][playerId] = 0;
bPlayerOnKillList = true;
iPhase = 32;
};
movePlayerSpecial();
} else {
if (iPhase == 32){
lineUpSurvivors();
iPhase = 33;
} else {
if (iPhase == 33){
if (arrSurvivors.length > 0){
arrCharObj[arrSurvivors[0]].x = (arrCharObj[arrSurvivors[0]].x - 35);
pace(arrSurvivors[0]);
saySomething(arrSurvivors[0]);
if (arrCharObj[arrSurvivors[0]].x < -60){
arrSurvivors.splice(0, 1);
};
checkMurder(playerId, murdererId);
if (arrCharObj[playerId].body.currentFrame == 5){
iPhase = 35;
};
} else {
iPhase = 34;
};
} else {
if (iPhase == 34){
winDialog.portrait.gotoAndStop((murdererId + 1));
winDialog.myText = (("Congratulations! You found the murderer and saved " + iCharsSaved) + " innocent people!");
winDialog.y = 5;
winDialog.alpha = 1;
} else {
if (iPhase == 35){
wndMurderer.y = 100;
wndMurderer.portrait.gotoAndStop((murdererId + 1));
wndMurderer.alpha = 1;
};
};
};
};
};
};
}
public function pace(_arg1):void{
var _local2:* = arrCharObj[_arg1];
var _local3:* = (5 * arrItem[_arg1]);
if (_local2.body.currentFrame < 4){
_local2.body.gotoAndStop((_local2.body.currentFrame + 1));
_local2.item.gotoAndStop((_local3 + arrCharObj[_arg1].body.currentFrame));
} else {
_local2.body.gotoAndStop(1);
_local2.item.gotoAndStop((_local3 + 1));
};
}
public function movePlayerSpecial():void{
var _local1:* = (5 * arrItem[playerId]);
if (arrCharObj[playerId].x < playerGoalX){
arrCharObj[playerId].x = (arrCharObj[playerId].x + 35);
if (arrCharObj[playerId].x > playerGoalX){
arrCharObj[playerId].x = playerGoalX;
};
arrCharObj[playerId].scaleX = 1;
if (arrCharObj[playerId].body.currentFrame != 5){
if (arrCharObj[playerId].body.currentFrame < 4){
arrCharObj[playerId].body.gotoAndStop((arrCharObj[playerId].body.currentFrame + 1));
arrCharObj[playerId].item.gotoAndStop((_local1 + arrCharObj[playerId].body.currentFrame));
} else {
arrCharObj[playerId].body.gotoAndStop(1);
arrCharObj[playerId].item.gotoAndStop((_local1 + 1));
};
};
} else {
if (arrCharObj[playerId].x > playerGoalX){
arrCharObj[playerId].x = (arrCharObj[playerId].x - 35);
if (arrCharObj[playerId].x < playerGoalX){
arrCharObj[playerId].x = playerGoalX;
};
arrCharObj[playerId].scaleX = -1;
if (arrCharObj[playerId].body.currentFrame != 5){
if (arrCharObj[playerId].body.currentFrame < 4){
arrCharObj[playerId].body.gotoAndStop((arrCharObj[playerId].body.currentFrame + 1));
arrCharObj[playerId].item.gotoAndStop((_local1 + arrCharObj[playerId].body.currentFrame));
} else {
arrCharObj[playerId].body.gotoAndStop(1);
arrCharObj[playerId].item.gotoAndStop((_local1 + 1));
};
};
} else {
stopChar(playerId);
};
};
}
public function lineUpSurvivors():void{
var _local1:Array = [];
i = 0;
while (i < 12) {
if (i != playerId){
arrCharObj[i].x = 680;
arrCharObj[i].y = 860;
arrCharObj[i].scaleX = -1;
};
arrCharObj[i].alpha = 1;
arrRoomY[i] = 3;
arrRoomX[i] = 0;
if (((((!((i == playerId))) && (!((i == iCharAccused))))) && ((arrConfirmedDead[i] == 0)))){
_local1.push(i);
};
i++;
};
var _local2:* = _local1.length;
i = 0;
while (i < _local2) {
j = Math.floor((Math.random() * _local1.length));
arrSurvivors.push(_local1[j]);
_local1.splice(j, 1);
i++;
};
iCharsSaved = arrSurvivors.length;
}
public function saySomething(_arg1):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
if (arrCharObj[_arg1].x < 0){
hideChat();
} else {
if ((((arrCharObj[_arg1].x < 400)) && ((chatCloud.alpha == 0)))){
_local2 = "Thank you!";
_local3 = "she";
_local4 = "her";
_local5 = "her";
if (iCharAccused < 6){
_local3 = "he";
_local4 = "him";
};
if (_arg1 == 0){
_local2 = (("Good work! I never expected " + _local3) + " was behind this!");
} else {
if (_arg1 == 1){
_local2 = (("Thanks for saving us! I never suspected " + _local4) + "!");
} else {
if (_arg1 == 2){
_local2 = (("Thank-god you found the murderer! I still can't believe " + _local3) + " did this!");
} else {
if (_arg1 == 3){
_local2 = (("Good job! You saved us all from " + _local5) + " wrath!");
} else {
if (_arg1 == 4){
_local2 = "I can't thank you enough for this! This was awful!";
} else {
if (_arg1 == 5){
_local2 = (("Yo! Good job, man! I didn't think it was " + _local4) + "!");
} else {
if (_arg1 == 6){
_local2 = (((("Good that you put " + _local4) + " behind bars, where ") + _local3) + " belongs!");
} else {
if (_arg1 == 7){
_local2 = (("I'm glad that this is over! I hope " + _local3) + " gets a long detention!");
} else {
if (_arg1 == 8){
_local2 = "You saved us! You are my hero!";
} else {
if (_arg1 == 9){
_local2 = (("I was so scared! Luckily you found the murderer and put " + _local4) + " away!");
} else {
if (_arg1 == 10){
_local2 = "My wedding is destroyed, but I'm glad I live and you caught the murderer!";
} else {
if (_arg1 == 11){
_local2 = "Thanks for saving us all from that murderer! I feel much safer now!";
};
};
};
};
};
};
};
};
};
};
};
};
showNameButtons(false);
showButtons(false);
chatCloud.portrait.gotoAndStop((_arg1 + 1));
chatCloud.cloudText.text = _local2;
chatCloud.y = 65;
chatCloud.alpha = 1;
};
};
}
function frame1(){
stop();
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);
this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);
}
function frame2(){
stop();
myInterval2 = setInterval(myTimer2, 300);
charNr = 0;
charTimeOut = 0;
bMoveAbout = false;
bPageAnimating = true;
playerId = -99;
charIntroTextBox.gotoAndStop(1);
stage.addEventListener(MouseEvent.CLICK, mouseClicked2);
}
function frame3(){
iPhase = 0;
secondsCounter = 0;
bPlayerOnKillList = false;
bGameOver = false;
lastMurderedId = 99;
iCharsMurdered = 0;
iChatChar = 99;
iCharAccused = 99;
bAccusation = false;
iCharsSaved = 0;
building.charPolice.gotoAndStop(2);
arrLikeDislike = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
i = 0;
while (i < 12) {
j = 0;
while (j < 5) {
k = Math.floor((Math.random() * 12));
arrLikeDislike[i][k] = 1;
j++;
};
i++;
};
arrButtons = [chatCloud.nameButtons.btnGardener, chatCloud.nameButtons.btnCook, chatCloud.nameButtons.btnMagician, chatCloud.nameButtons.btnProfessor, chatCloud.nameButtons.btnGroom, chatCloud.nameButtons.btnPaperboy, chatCloud.nameButtons.btnMaid, chatCloud.nameButtons.btnBabynurse, chatCloud.nameButtons.btnProfwife, chatCloud.nameButtons.btnKitchenmaid, chatCloud.nameButtons.btnBride, chatCloud.nameButtons.btnBridesmaid];
arrOfficialName = ["gardener", "cook", "magician", "sir", "Richard", "paperboy", "maid", "Maggie", "ma'am", "kitchenmaid", "Natacha", "Petra", "Police officer"];
arrCharName = ["gardener", "cook", "magician", "professor", "groom", "paperboy", "maid", "baby nurse", "professor's wife", "kitchenmaid", "bride", "bridesmaid", "Police officer"];
arrClueName = ["mud prints", "ketchup traces", "playing cards", "tobacco", "cookie crumbs", "dirty handprints", "small feathers", "milk drops", "dead spiders", "spilled drinks", "strong perfume smell", "flower petals", "gunpowder"];
arrCharObj = [building.charGardener, building.charCook, building.charMagician, building.charProfessor, building.charGroom, building.charPaperboy, building.charMaid, building.charBabynurse, building.charProfwife, building.charKitchenmaid, building.charBride, building.charBridesmaid, building.charPolice];
arrItem = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 100];
arrConfirmedDead = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
arrSurvivors = [];
arrItemName = ["shovel", "knife", "magic wand", "hammer", "cane", "rope", "feather duster", "diaper", "parasol", "bottle", "bouquet", "heart stick", "pistol"];
arrItemSwapDelay = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
arrMotionDelay = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
arrRoomX = [0, 4, 2, 2, 4, 0, 2, 3, 4, 3, 4, 3, 0];
arrRoomY = [3, 3, 2, 2, 0, 2, 3, 0, 2, 3, 0, 1, 3];
arrGoalX = [0, 4, 2, 3, 4, 0, 2, 3, 4, 3, 4, 2, 0];
arrGoalY = [3, 3, 2, 1, 0, 2, 3, 0, 1, 3, 0, 1, 3];
arrGoalXCoord = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
playerGoalX = 0;
playerFloorChange = 0;
liftSlide = 0;
arrClues = [[99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99], [99, 99, 99, 99, 99, 99]];
i = 0;
while (i < 12) {
setNewGoalFor(i);
i++;
};
stopChar(playerId);
arrCharObj[playerId].mouseEnabled = false;
arrCharObj[playerId].body.mouseEnabled = false;
arrCharObj[playerId].item.mouseEnabled = false;
building.darkRoom.mouseEnabled = false;
playerGoalX = arrCharObj[playerId].x;
updateUIbuttons(arrRoomX[playerId], arrRoomY[playerId]);
murdererId = playerId;
while (murdererId == playerId) {
murdererId = Math.floor((Math.random() * 12));
};
arrLikeDislike[murdererId][playerId] = 1;
randomizeClues();
building.x = (-600 * arrRoomX[playerId]);
building.y = (-250 * arrRoomY[playerId]);
building.screamCircle.mouseEnabled = false;
building.screamCircle.alpha = 0;
aargh.alpha = 0;
aargh.mouseEnabled = false;
gameOver.alpha = 0;
tracker.alpha = 0;
building.charPolice.body.gotoAndStop(2);
myInterval = setInterval(myTimer, 300);
secondsInterval = setInterval(secondTimer, 1000);
stage.addEventListener(MouseEvent.CLICK, mouseClicked);
}
}
}//package TheWedding_fla
Section 27
//portrait_41 (TheWedding_fla.portrait_41)
package TheWedding_fla {
import flash.display.*;
public dynamic class portrait_41 extends MovieClip {
public function portrait_41(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 28
//spriteBabynurse_12 (TheWedding_fla.spriteBabynurse_12)
package TheWedding_fla {
import flash.display.*;
public dynamic class spriteBabynurse_12 extends MovieClip {
public function spriteBabynurse_12(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 29
//spriteBride_15 (TheWedding_fla.spriteBride_15)
package TheWedding_fla {
import flash.display.*;
public dynamic class spriteBride_15 extends MovieClip {
public function spriteBride_15(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 30
//spriteBridesmaid_16 (TheWedding_fla.spriteBridesmaid_16)
package TheWedding_fla {
import flash.display.*;
public dynamic class spriteBridesmaid_16 extends MovieClip {
public function spriteBridesmaid_16(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 31
//spriteCook_6 (TheWedding_fla.spriteCook_6)
package TheWedding_fla {
import flash.display.*;
public dynamic class spriteCook_6 extends MovieClip {
public function spriteCook_6(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 32
//spriteGardener_5 (TheWedding_fla.spriteGardener_5)
package TheWedding_fla {
import flash.display.*;
public dynamic class spriteGardener_5 extends MovieClip {
public function spriteGardener_5(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 33
//spriteGroom_9 (TheWedding_fla.spriteGroom_9)
package TheWedding_fla {
import flash.display.*;
public dynamic class spriteGroom_9 extends MovieClip {
public function spriteGroom_9(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 34
//spriteItems_20 (TheWedding_fla.spriteItems_20)
package TheWedding_fla {
import flash.display.*;
public dynamic class spriteItems_20 extends MovieClip {
public function spriteItems_20(){
addFrameScript(0, frame1, 5, frame6, 10, frame11, 15, frame16, 20, frame21, 25, frame26, 30, frame31, 35, frame36, 40, frame41, 45, frame46, 50, frame51, 55, frame56);
}
function frame1(){
stop();
}
function frame6(){
stop();
}
function frame11(){
stop();
}
function frame16(){
stop();
}
function frame21(){
stop();
}
function frame26(){
stop();
}
function frame31(){
stop();
}
function frame36(){
stop();
}
function frame41(){
stop();
}
function frame46(){
stop();
}
function frame51(){
stop();
}
function frame56(){
stop();
}
}
}//package TheWedding_fla
Section 35
//spriteKitchenmaid_14 (TheWedding_fla.spriteKitchenmaid_14)
package TheWedding_fla {
import flash.display.*;
public dynamic class spriteKitchenmaid_14 extends MovieClip {
public function spriteKitchenmaid_14(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 36
//spriteMagician_7 (TheWedding_fla.spriteMagician_7)
package TheWedding_fla {
import flash.display.*;
public dynamic class spriteMagician_7 extends MovieClip {
public function spriteMagician_7(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 37
//spriteMaid_11 (TheWedding_fla.spriteMaid_11)
package TheWedding_fla {
import flash.display.*;
public dynamic class spriteMaid_11 extends MovieClip {
public function spriteMaid_11(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 38
//spritePaperboy_10 (TheWedding_fla.spritePaperboy_10)
package TheWedding_fla {
import flash.display.*;
public dynamic class spritePaperboy_10 extends MovieClip {
public function spritePaperboy_10(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 39
//spriteProfessor_8 (TheWedding_fla.spriteProfessor_8)
package TheWedding_fla {
import flash.display.*;
public dynamic class spriteProfessor_8 extends MovieClip {
public function spriteProfessor_8(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 40
//spriteProfwife_13 (TheWedding_fla.spriteProfwife_13)
package TheWedding_fla {
import flash.display.*;
public dynamic class spriteProfwife_13 extends MovieClip {
public function spriteProfwife_13(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TheWedding_fla
Section 41
//introStartButton (introStartButton)
package {
import flash.display.*;
public dynamic class introStartButton extends MovieClip {
}
}//package
Section 42
//movie_mc (movie_mc)
package {
import flash.display.*;
public dynamic class movie_mc extends MovieClip {
}
}//package