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
//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 4
//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 5
//bg_5 (Twins_fla.bg_5)
package Twins_fla {
import flash.display.*;
public dynamic class bg_5 extends MovieClip {
public var nameStrip:MovieClip;
public var blueStrip:MovieClip;
public var redStrip:MovieClip;
public var bgDrop:MovieClip;
public function bg_5(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Twins_fla
Section 6
//bgDrop_6 (Twins_fla.bgDrop_6)
package Twins_fla {
import flash.display.*;
public dynamic class bgDrop_6 extends MovieClip {
public function bgDrop_6(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Twins_fla
Section 7
//btnBraids_48 (Twins_fla.btnBraids_48)
package Twins_fla {
import flash.display.*;
public dynamic class btnBraids_48 extends MovieClip {
public function btnBraids_48(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Twins_fla
Section 8
//btnPonytail_47 (Twins_fla.btnPonytail_47)
package Twins_fla {
import flash.display.*;
public dynamic class btnPonytail_47 extends MovieClip {
public function btnPonytail_47(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Twins_fla
Section 9
//frameGameOver_39 (Twins_fla.frameGameOver_39)
package Twins_fla {
import flash.display.*;
import flash.text.*;
public dynamic class frameGameOver_39 extends MovieClip {
public var winLose:MovieClip;
public var pName:TextField;
public function frameGameOver_39(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Twins_fla
Section 10
//MainTimeline (Twins_fla.MainTimeline)
package Twins_fla {
import flash.events.*;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.utils.*;
import flash.display.*;
import flash.text.*;
import flash.geom.*;
import flash.ui.*;
public dynamic class MainTimeline extends MovieClip {
public var cir3:MovieClip;
public var girlHair:MovieClip;
public var cir4:MovieClip;
public var cir5:MovieClip;
public var girlSkin:MovieClip;
public var btnBreasts:MovieClip;
public var btnBelly:MovieClip;
public var cir6:MovieClip;
public var p1n:TextField;
public var btnG1:MovieClip;
public var girlTop:MovieClip;
public var btnIntroStart:introStartButton;
public var btnG2:MovieClip;
public var btnButt:MovieClip;
public var klaffi:MovieClip;
public var img:MovieClip;
public var btnUp:MovieClip;
public var p2n:TextField;
public var btnB1:MovieClip;
public var loader_mc:movie_mc;
public var loaded_txt:TextField;
public var btnB2:MovieClip;
public var btnR1:MovieClip;
public var btnDown:MovieClip;
public var sceneSample:MovieClip;
public var btnR2:MovieClip;
public var btnNeutral:MovieClip;
public var bg:MovieClip;
public var frameGameOver:MovieClip;
public var btnFeet:MovieClip;
public var passerby:MovieClip;
public var btnGameStart:MovieClip;
public var btnConsole:MovieClip;
public var cir1:MovieClip;
public var btnPonyTails:MovieClip;
public var btnSides:MovieClip;
public var console:MovieClip;
public var cir2:MovieClip;
public var btnBraids:MovieClip;
public var btnArmpits:MovieClip;
public var bgTrees:MovieClip;
public var inputCode:TextField;
public var skinColor:ColorTransform;
public var hairColor:ColorTransform;
public var r1;
public var g1;
public var b1;
public var r2;
public var g2;
public var b2;
public var sceneNr;
public var lastBgFrame;
public var char1name;
public var char2name;
public var hairOffset;
public var bConsoleEnabled;
public var a:Array;
public var health;
public var myInterval;
public var secInterval;
public var seconds;
public var phaseFrame;
public var passerByTween:Tween;
public var passerByCountdown;
public var klaffiTween:Tween;
public var endCounter;
public var iRound;
public var klaffiCountdown;
public var mudOffset;
public var actionCountdown;
public var timeOutCountdown;
public var bOppMoving;
public var cpuObj;
public var turn;
public var p1End;
public var p2End;
public var bPaused;
public var bGameOver;
public var memoryPhaseFrame;
public var speedArr:Array;
public var tweenZoomX:Tween;
public var tweenZoomY:Tween;
public var tweenCpuX:Tween;
public var tweenCpuY:Tween;
public var xArr:Array;
public var yArr:Array;
public var myMouse;
public var cpuMouse;
public function MainTimeline(){
addFrameScript(0, this.frame1, 1, this.frame2, 2, this.frame3);
}
public function onProgress(_arg1:ProgressEvent):void{
var _local2:Number = _arg1.target.bytesLoaded;
var _local3:Number = _arg1.target.bytesTotal;
var _local4:Number = (_local2 / _local3);
this.loader_mc.scaleX = _local4;
this.loaded_txt.text = (("Loading... " + Math.round((_local4 * 100))) + "%");
}
public function onComplete(_arg1:Event):void{
this.loaded_txt.text = "Finished loading.";
this.btnIntroStart.alpha = 1;
this.btnIntroStart.addEventListener(MouseEvent.CLICK, this.startGame);
}
public function startGame(_arg1:MouseEvent):void{
this.btnIntroStart.removeEventListener(MouseEvent.CLICK, this.startGame);
this.bConsoleEnabled = true;
gotoAndStop(3);
}
public function secTimer():void{
if ((((this.bGameOver == false)) && ((this.bPaused == false)))){
this.seconds++;
};
}
public function customMouseCursor(_arg1:Event):void{
this.myMouse.x = stage.mouseX;
this.myMouse.y = stage.mouseY;
}
public function mouseClicked(_arg1:MouseEvent):void{
var _local2:* = false;
var _local3:* = "";
if (_arg1.target.name != null){
_local3 = _arg1.target.name;
};
if ((((((_local3 == "btnLeft")) && ((this.console.alpha > 0.5)))) && ((this.phaseFrame > 3)))){
if (this.phaseFrame > 0){
this.phaseFrame = (this.phaseFrame - 2);
};
this.showButton();
} else {
if ((((((_local3 == "btnRight")) && ((this.console.alpha > 0.5)))) && ((this.phaseFrame < 53)))){
this.phaseFrame = (this.phaseFrame + 2);
this.showButton();
} else {
if ((((((_local3 == "btnSkirt1")) && ((this.console.alpha > 0.5)))) && ((this.mudOffset == 0)))){
this.img.skirt1.alpha = (1 - this.img.skirt1.alpha);
} else {
if ((((((_local3 == "btnBra1")) && ((this.console.alpha > 0.5)))) && ((this.mudOffset == 0)))){
this.img.bra1.alpha = (1 - this.img.bra1.alpha);
} else {
if ((((((_local3 == "btnPanties1")) && ((this.console.alpha > 0.5)))) && ((this.mudOffset == 0)))){
this.img.panties1.alpha = (1 - this.img.panties1.alpha);
} else {
if ((((((_local3 == "btnSocks1")) && ((this.console.alpha > 0.5)))) && ((this.mudOffset == 0)))){
this.img.socks1.alpha = (1 - this.img.socks1.alpha);
} else {
if ((((((_local3 == "btnSkirt2")) && ((this.console.alpha > 0.5)))) && ((this.mudOffset == 0)))){
this.img.skirt2.alpha = (1 - this.img.skirt2.alpha);
} else {
if ((((((_local3 == "btnBra2")) && ((this.console.alpha > 0.5)))) && ((this.mudOffset == 0)))){
this.img.bra2.alpha = (1 - this.img.bra2.alpha);
} else {
if ((((((_local3 == "btnPanties2")) && ((this.console.alpha > 0.5)))) && ((this.mudOffset == 0)))){
this.img.panties2.alpha = (1 - this.img.panties2.alpha);
} else {
if ((((((_local3 == "btnSocks2")) && ((this.console.alpha > 0.5)))) && ((this.mudOffset == 0)))){
this.img.socks2.alpha = (1 - this.img.socks2.alpha);
} else {
if ((((_local3 == "btnNewRound")) && ((this.frameGameOver.winLose.btnNewRound.alpha == 1)))){
this.seconds = 0;
this.phaseFrame = 2;
this.endCounter = 10;
this.iRound++;
this.klaffiCountdown = 0;
this.actionCountdown = (Math.floor((Math.random() * 8)) + 4);
this.timeOutCountdown = 0;
this.bOppMoving = false;
this.turn = 1;
this.p1End = this.health;
this.p2End = this.health;
this.speedArr = [20, 20, 20];
this.img.panties1.alpha = 1;
this.img.panties2.alpha = 1;
this.img.bra1.alpha = 1;
this.img.bra2.alpha = 1;
this.img.skirt1.alpha = 1;
this.img.skirt2.alpha = 1;
this.img.socks1.alpha = 1;
this.img.socks2.alpha = 1;
this.showFrame(this.phaseFrame, false);
this.showKlaffi();
this.console.labelFrame.text = (this.phaseFrame / 2);
this.console.alpha = 0;
this.btnConsole.alpha = 0.5;
this.console.x = -65;
this.myMouse.gotoAndStop(2);
this.cpuMouse.alpha = 1;
this.frameGameOver.y = 65306;
this.frameGameOver.alpha = 0;
this.bPaused = false;
this.bGameOver = false;
} else {
if ((((_local3 == "btnSettings")) && ((this.frameGameOver.winLose.btnSettings.alpha == 1)))){
stage.removeEventListener(MouseEvent.CLICK, this.mouseClicked);
clearInterval(this.myInterval);
clearInterval(this.secInterval);
stage.removeEventListener(Event.ENTER_FRAME, this.customMouseCursor);
Mouse.show();
stage.removeChild(this.myMouse);
stage.removeChild(this.cpuMouse);
_local2 = true;
} else {
if ((((_local3 == "btnMudFight")) && ((this.frameGameOver.winLose.btnMudFight.alpha == 1)))){
this.mudOffset = 100;
this.seconds = 0;
this.phaseFrame = 2;
this.endCounter = 10;
this.iRound++;
this.klaffiCountdown = 0;
this.actionCountdown = (Math.floor((Math.random() * 8)) + 4);
this.timeOutCountdown = 0;
this.bOppMoving = false;
this.turn = 1;
this.p1End = this.health;
this.p2End = this.health;
this.speedArr = [20, 20, 20];
this.img.panties1.alpha = 0;
this.img.panties2.alpha = 0;
this.img.bra1.alpha = 0;
this.img.bra2.alpha = 0;
this.img.skirt1.alpha = 0;
this.img.skirt2.alpha = 0;
this.img.socks1.alpha = 0;
this.img.socks2.alpha = 0;
this.enterMudBath();
this.showFrame(this.phaseFrame, false);
this.showKlaffi();
this.console.labelFrame.text = (this.phaseFrame / 2);
this.console.alpha = 0;
this.btnConsole.alpha = 0.5;
this.console.x = -65;
this.myMouse.gotoAndStop(2);
this.cpuMouse.alpha = 1;
if (this.bConsoleEnabled == true){
this.frameGameOver.y = 65306;
this.frameGameOver.alpha = 0;
this.bPaused = false;
this.bGameOver = false;
} else {
this.frameGameOver.winLose.gotoAndStop(3);
};
} else {
if ((((((_local3 == "btnScene")) && ((this.console.alpha > 0.5)))) && ((this.mudOffset == 0)))){
if (this.bg.bgDrop.currentFrame < this.lastBgFrame){
this.bg.bgDrop.gotoAndStop((this.bg.bgDrop.currentFrame + 1));
} else {
this.bg.bgDrop.gotoAndStop(1);
};
} else {
if ((((_local3 == "btnConsole")) && ((this.bConsoleEnabled == true)))){
if (this.console.alpha > 0.5){
this.console.alpha = 0;
this.btnConsole.alpha = 0.5;
this.console.x = -65;
this.myMouse.gotoAndStop(2);
this.cpuMouse.alpha = 1;
this.phaseFrame = this.memoryPhaseFrame;
this.bPaused = false;
this.showButtons(true);
} else {
this.console.alpha = 0.8;
this.console.x = 0;
this.btnConsole.alpha = 1;
this.myMouse.gotoAndStop(1);
this.cpuMouse.alpha = 0;
this.memoryPhaseFrame = this.phaseFrame;
this.showButtons(false);
this.bPaused = true;
};
} else {
if ((((_local3 == "btnGuy")) && ((this.console.alpha > 0.5)))){
this.passerby.alpha = (1 - this.passerby.alpha);
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
this.console.labelFrame.text = (this.phaseFrame / 2);
if ((((_local3 == "btnNeutral")) && (!((this.btnNeutral.alpha == 0))))){
this.speedArr.push(this.seconds);
this.speedArr.splice(0, 1);
this.seconds = 0;
this.btnNeutral.x = -100;
this.checkIfCpuNeedsUpdatedPath(this.btnNeutral);
if (this.turn != 0){
this.animate(true, 0);
};
} else {
if ((((_local3 == "btnBelly")) && (!((this.btnBelly.alpha == 0))))){
this.speedArr.push(this.seconds);
this.speedArr.splice(0, 1);
this.seconds = 0;
this.btnBelly.x = -100;
this.checkIfCpuNeedsUpdatedPath(this.btnBelly);
if (this.turn != 0){
this.animate(true, 1);
};
} else {
if ((((_local3 == "btnFeet")) && (!((this.btnFeet.alpha == 0))))){
this.speedArr.push(this.seconds);
this.speedArr.splice(0, 1);
this.seconds = 0;
this.btnFeet.x = -100;
this.checkIfCpuNeedsUpdatedPath(this.btnFeet);
if (this.turn != 0){
this.animate(true, 2);
};
} else {
if ((((_local3 == "btnSides")) && (!((this.btnSides.alpha == 0))))){
this.speedArr.push(this.seconds);
this.speedArr.splice(0, 1);
this.seconds = 0;
this.btnSides.x = -100;
this.checkIfCpuNeedsUpdatedPath(this.btnSides);
if (this.turn != 0){
this.animate(true, 3);
};
} else {
if ((((_local3 == "btnBreasts")) && (!((this.btnBreasts.alpha == 0))))){
this.speedArr.push(this.seconds);
this.speedArr.splice(0, 1);
this.seconds = 0;
this.btnBreasts.x = -100;
this.checkIfCpuNeedsUpdatedPath(this.btnBreasts);
if (this.turn != 0){
this.animate(true, 4);
};
} else {
if ((((_local3 == "btnArmpits")) && (!((this.btnArmpits.alpha == 0))))){
this.speedArr.push(this.seconds);
this.speedArr.splice(0, 1);
this.seconds = 0;
this.btnArmpits.x = -100;
this.checkIfCpuNeedsUpdatedPath(this.btnArmpits);
if (this.turn != 0){
this.animate(true, 5);
};
} else {
if ((((_local3 == "btnButt")) && (!((this.btnButt.alpha == 0))))){
this.speedArr.push(this.seconds);
this.speedArr.splice(0, 1);
this.seconds = 0;
this.btnButt.x = -100;
this.checkIfCpuNeedsUpdatedPath(this.btnButt);
if (this.turn != 0){
this.animate(true, 6);
};
};
};
};
};
};
};
};
if (_local2 == true){
gotoAndStop(3);
};
}
public function showFrame(_arg1, _arg2):void{
this.img.body.gotoAndStop((_arg1 + this.mudOffset));
this.img.skinShadow.gotoAndStop(_arg1);
this.img.hair.gotoAndStop((_arg1 + this.hairOffset));
this.img.hairShadow.gotoAndStop((_arg1 + this.hairOffset));
this.img.panties1.gotoAndStop(_arg1);
this.img.panties2.gotoAndStop(_arg1);
this.img.bra1.gotoAndStop(_arg1);
this.img.bra2.gotoAndStop(_arg1);
this.img.skirt1.gotoAndStop(_arg1);
this.img.skirt2.gotoAndStop(_arg1);
this.img.socks1.gotoAndStop(_arg1);
this.img.socks2.gotoAndStop(_arg1);
this.img.expression.gotoAndStop(_arg1);
this.applyColour();
if (_arg2 == true){
this.img.scaleX = -1;
} else {
this.img.scaleX = 1;
};
}
public function applyColour():void{
this.img.skinShadow.transform.colorTransform = this.skinColor;
this.img.hairShadow.transform.colorTransform = this.hairColor;
}
public function myTimer():void{
var _local1:*;
if ((((((this.img.body.currentFrame > 51)) && ((this.img.body.currentFrame < 100)))) || ((this.img.body.currentFrame > 151)))){
this.endCounter--;
if (this.endCounter < 1){
this.endCounter = 10;
if (this.img.body.currentFrame == (this.phaseFrame + this.mudOffset)){
this.showFrame((this.phaseFrame + 1), false);
} else {
this.showFrame(this.phaseFrame, false);
};
};
} else {
if (this.img.body.currentFrame == (this.phaseFrame + this.mudOffset)){
this.showFrame((this.phaseFrame + 1), false);
} else {
this.showFrame(this.phaseFrame, false);
};
};
if ((((this.bPaused == false)) && ((this.bGameOver == false)))){
if (this.turn == 2){
this.p1End--;
};
if (this.turn == 0){
this.p2End--;
};
this.bg.blueStrip.scaleX = (this.p1End / this.health);
this.bg.redStrip.scaleX = (this.p2End / this.health);
if (this.p1End == 0){
this.gameOver(false);
};
if (this.p2End == 0){
this.gameOver(true);
};
if (this.passerByCountdown > 0){
this.passerByCountdown--;
if (this.passerByCountdown == 0){
_local1 = 395;
if (Math.floor((Math.random() * 2)) == 0){
_local1 = 505;
};
if (this.passerby.x > 400){
if ((((this.passerby.x > 700)) && ((Math.floor((Math.random() * 3)) == 0)))){
this.passerby.scaleX = 1;
this.passerByTween = new Tween(this.passerby, "x", None.easeNone, this.passerby.x, _local1, 4, true);
this.passerByTween.FPS = 40;
this.passerByTween.addEventListener(TweenEvent.MOTION_FINISH, this.passerByFinished);
} else {
this.passerby.gotoAndPlay(1);
this.passerby.scaleX = 1;
this.passerByTween = new Tween(this.passerby, "x", None.easeNone, this.passerby.x, 200, 6, true);
this.passerByTween.FPS = 40;
this.passerByTween.addEventListener(TweenEvent.MOTION_FINISH, this.passerByFinished);
};
} else {
if ((((this.passerby.x < 230)) && ((Math.floor((Math.random() * 3)) == 0)))){
this.passerby.scaleX = -1;
this.passerByTween = new Tween(this.passerby, "x", None.easeNone, this.passerby.x, _local1, 4, true);
this.passerByTween.FPS = 40;
this.passerByTween.addEventListener(TweenEvent.MOTION_FINISH, this.passerByFinished);
} else {
this.passerby.gotoAndPlay(1);
this.passerby.scaleX = -1;
this.passerByTween = new Tween(this.passerby, "x", None.easeNone, this.passerby.x, 727, 6, true);
this.passerByTween.FPS = 40;
this.passerByTween.addEventListener(TweenEvent.MOTION_FINISH, this.passerByFinished);
};
};
};
};
if ((((this.btnNeutral.x > 0)) && ((this.btnNeutral.scaleX < 0.8)))){
this.btnNeutral.x = -100;
};
if ((((this.btnBelly.x > 0)) && ((this.btnBelly.scaleX < 0.8)))){
this.btnBelly.x = -100;
};
if ((((this.btnFeet.x > 0)) && ((this.btnFeet.scaleX < 0.8)))){
this.btnFeet.x = -100;
};
if ((((this.btnSides.x > 0)) && ((this.btnSides.scaleX < 0.8)))){
this.btnSides.x = -100;
};
if ((((this.btnArmpits.x > 0)) && ((this.btnArmpits.scaleX < 0.8)))){
this.btnArmpits.x = -100;
};
if ((((this.btnButt.x > 0)) && ((this.btnButt.scaleX < 0.8)))){
this.btnButt.x = -100;
};
if ((((this.btnBreasts.x > 0)) && ((this.btnBreasts.scaleX < 0.8)))){
this.btnBreasts.x = -100;
};
if (this.klaffiCountdown > 0){
this.klaffiCountdown--;
if (this.klaffiCountdown == 6){
this.klaffiTween = new Tween(this.klaffi.klaffi1, "rotation", None.easeNone, 0, 9.5, 0.2, true);
this.klaffiTween.FPS = 40;
};
if (this.klaffiCountdown == 2){
this.klaffiTween = new Tween(this.klaffi, "x", None.easeNone, -25, 65036, 0.5, true);
this.klaffiTween.FPS = 40;
};
} else {
if (this.timeOutCountdown > 0){
this.timeOutCountdown--;
} else {
this.actionCountdown--;
if (this.actionCountdown < 1){
this.actionCountdown = (Math.floor((Math.random() * 3)) + 2);
this.showButton();
};
};
};
this.OppFindTarget();
};
}
public function passerByFinished(_arg1:TweenEvent){
if ((((this.passerby.x < 230)) || ((this.passerby.x > 700)))){
this.passerByCountdown = 10;
} else {
this.passerByCountdown = 40;
this.passerby.gotoAndStop(25);
};
}
public function showButton():void{
var _local1:* = 0;
var _local2:* = false;
var _local3:* = 0;
var _local4:* = this.btnNeutral;
var _local5:* = 0;
if (Math.floor((Math.random() * 2)) == 0){
_local5 = 0;
} else {
_local5 = 7;
};
_local3 = Math.floor((Math.random() * 7));
if (_local3 == 1){
_local4 = this.btnButt;
if (Math.floor((Math.random() * 2)) == 0){
_local5 = 6;
} else {
_local5 = 13;
};
} else {
if (_local3 == 2){
_local4 = this.btnBelly;
if (Math.floor((Math.random() * 2)) == 0){
_local5 = 1;
} else {
_local5 = 8;
};
} else {
if (_local3 == 3){
_local4 = this.btnFeet;
if (Math.floor((Math.random() * 2)) == 0){
_local5 = 2;
} else {
_local5 = 9;
};
} else {
if (_local3 == 4){
_local4 = this.btnSides;
if (Math.floor((Math.random() * 2)) == 0){
_local5 = 3;
} else {
_local5 = 10;
};
} else {
if (_local3 == 5){
_local4 = this.btnBreasts;
if (Math.floor((Math.random() * 2)) == 0){
_local5 = 4;
} else {
_local5 = 11;
};
} else {
if (_local3 == 6){
_local4 = this.btnArmpits;
if (Math.floor((Math.random() * 2)) == 0){
_local5 = 5;
} else {
_local5 = 12;
};
};
};
};
};
};
};
if ((((_local4.x < 0)) || ((_local4.x > 770)))){
if (this.phaseFrame == 2){
_local1 = 1;
_local2 = false;
};
if (this.phaseFrame == 4){
_local1 = 2;
_local2 = false;
};
if (this.phaseFrame == 6){
_local1 = 2;
_local2 = true;
};
if (this.phaseFrame == 8){
_local1 = 3;
_local2 = false;
};
if (this.phaseFrame == 10){
_local1 = 3;
_local2 = true;
};
if (this.phaseFrame == 12){
_local1 = 4;
_local2 = false;
};
if (this.phaseFrame == 14){
_local1 = 4;
_local2 = true;
};
if (this.phaseFrame == 16){
_local1 = 5;
_local2 = false;
};
if (this.phaseFrame == 18){
_local1 = 5;
_local2 = true;
};
if (this.phaseFrame == 20){
_local1 = 6;
_local2 = false;
};
if (this.phaseFrame == 22){
_local1 = 6;
_local2 = true;
};
if (this.phaseFrame == 24){
_local1 = 7;
_local2 = false;
};
if (this.phaseFrame == 26){
_local1 = 7;
_local2 = true;
};
if (this.phaseFrame == 28){
_local1 = 8;
_local2 = false;
};
if (this.phaseFrame == 30){
_local1 = 8;
_local2 = true;
};
if (this.phaseFrame == 32){
_local1 = 9;
_local2 = false;
};
if (this.phaseFrame == 34){
_local1 = 9;
_local2 = true;
};
if (this.phaseFrame == 36){
_local1 = 10;
_local2 = false;
};
if (this.phaseFrame == 38){
_local1 = 10;
_local2 = true;
};
if (this.phaseFrame == 40){
_local1 = 11;
_local2 = false;
};
if (this.phaseFrame == 42){
_local1 = 11;
_local2 = true;
};
if (this.phaseFrame == 44){
_local1 = 12;
_local2 = false;
};
if (this.phaseFrame == 46){
_local1 = 12;
_local2 = true;
};
if (this.phaseFrame == 48){
_local1 = 13;
_local2 = false;
};
if (this.phaseFrame == 50){
_local1 = 13;
_local2 = true;
};
if (_local2 == false){
_local4.x = this.xArr[_local1][_local5];
_local4.y = this.yArr[_local1][_local5];
} else {
_local4.x = (770 - this.xArr[_local1][_local5]);
_local4.y = this.yArr[_local1][_local5];
};
this.tweenZoomX = new Tween(_local4, "scaleX", Regular.easeOut, 2.5, 0.75, 3, true);
this.tweenZoomX.FPS = 40;
this.tweenZoomY = new Tween(_local4, "scaleY", Regular.easeOut, 2.5, 0.75, 3, true);
this.tweenZoomY.FPS = 40;
};
}
public function cancelButtons():void{
this.btnNeutral.x = -100;
this.btnBelly.x = -100;
this.btnFeet.x = -100;
this.btnSides.x = -100;
this.btnBreasts.x = -100;
this.btnArmpits.x = -100;
this.btnButt.x = -100;
}
public function enterMudBath():void{
this.bg.bgDrop.gotoAndStop(4);
this.skinColor = new ColorTransform(0, 0, 0, 1, 134, 79, 48, 0);
this.hairColor = new ColorTransform(0, 0, 0, 1, 127, 74, 38, 0);
this.mudOffset = 100;
this.img.skirt1.alpha = 0;
this.img.panties1.alpha = 0;
this.img.bra1.alpha = 0;
this.img.socks1.alpha = 0;
this.img.skirt2.alpha = 0;
this.img.panties2.alpha = 0;
this.img.bra2.alpha = 0;
this.img.socks2.alpha = 0;
}
public function showKlaffi():void{
this.klaffiCountdown = 15;
this.klaffi.x = -25;
this.klaffi.klaffi1.rotation = 0;
this.klaffi.klaffi2.roundNr.text = this.iRound;
this.klaffi.klaffi2.name1.text = this.char1name;
this.klaffi.klaffi2.name2.text = this.char2name;
if (this.bg.bgDrop.currentFrame == 1){
this.klaffi.klaffi2.locName.text = "Hotel Room";
} else {
if (this.bg.bgDrop.currentFrame == 2){
this.klaffi.klaffi2.locName.text = "Resort Arena";
} else {
if (this.bg.bgDrop.currentFrame == 3){
this.klaffi.klaffi2.locName.text = "Beach";
} else {
if (this.bg.bgDrop.currentFrame == 4){
this.klaffi.klaffi2.locName.text = "Mud Arena!";
} else {
this.klaffi.klaffi2.locName.text = "";
};
};
};
};
this.klaffi.alpha = 1;
}
public function OppFindTarget():void{
var _local1:Array;
var _local2:*;
if (this.bOppMoving == false){
_local1 = [];
if ((((this.btnNeutral.x > 0)) && ((this.btnNeutral.x < 770)))){
_local1.push(this.btnNeutral);
};
if ((((this.btnBelly.x > 0)) && ((this.btnBelly.x < 770)))){
_local1.push(this.btnBelly);
};
if ((((this.btnFeet.x > 0)) && ((this.btnFeet.x < 770)))){
_local1.push(this.btnFeet);
};
if ((((this.btnSides.x > 0)) && ((this.btnSides.x < 770)))){
_local1.push(this.btnSides);
};
if ((((this.btnBreasts.x > 0)) && ((this.btnBreasts.x < 770)))){
_local1.push(this.btnBreasts);
};
if ((((this.btnArmpits.x > 0)) && ((this.btnArmpits.x < 770)))){
_local1.push(this.btnArmpits);
};
if ((((this.btnButt.x > 0)) && ((this.btnButt.x < 770)))){
_local1.push(this.btnButt);
};
if (_local1.length > 0){
this.bOppMoving = true;
this.cpuObj = _local1[Math.floor((Math.random() * _local1.length))];
_local2 = ((((this.speedArr[0] + this.speedArr[1]) + this.speedArr[2]) / 3) / 10);
if (_local2 > 1){
_local2 = 1;
};
this.tweenCpuX = new Tween(this.cpuMouse, "x", Regular.easeIn, this.cpuMouse.x, this.cpuObj.x, _local2, true);
this.tweenCpuX.FPS = 40;
this.tweenCpuY = new Tween(this.cpuMouse, "y", Regular.easeIn, this.cpuMouse.y, this.cpuObj.y, _local2, true);
this.tweenCpuY.FPS = 40;
this.tweenCpuY.addEventListener(TweenEvent.MOTION_FINISH, this.cpuReachedTarget);
} else {
this.seconds = 0;
};
};
}
public function cpuReachedTarget(_arg1:TweenEvent):void{
this.bOppMoving = false;
if (this.cpuObj.x > 0){
this.cpuObj.x = -100;
if (this.turn != 2){
if (this.cpuObj == this.btnNeutral){
this.animate(false, 0);
};
if (this.cpuObj == this.btnBelly){
this.animate(false, 1);
};
if (this.cpuObj == this.btnFeet){
this.animate(false, 2);
};
if (this.cpuObj == this.btnSides){
this.animate(false, 3);
};
if (this.cpuObj == this.btnBreasts){
this.animate(false, 4);
};
if (this.cpuObj == this.btnArmpits){
this.animate(false, 5);
};
if (this.cpuObj == this.btnButt){
this.animate(false, 6);
};
};
};
}
public function showButtons(_arg1):void{
var _local2:* = 0;
if (_arg1 == true){
_local2 = 0.5;
};
this.btnNeutral.alpha = _local2;
this.btnBelly.alpha = _local2;
this.btnFeet.alpha = _local2;
this.btnSides.alpha = _local2;
this.btnBreasts.alpha = _local2;
this.btnArmpits.alpha = _local2;
this.btnButt.alpha = _local2;
this.tweenCpuX.stop();
this.tweenCpuY.stop();
this.bOppMoving = false;
}
public function checkIfCpuNeedsUpdatedPath(_arg1):void{
if (_arg1 == this.cpuObj){
this.tweenCpuX.stop();
this.tweenCpuY.stop();
this.bOppMoving = false;
};
}
public function animate(_arg1, _arg2):void{
if (this.phaseFrame == 24){
this.img.bra1.alpha = 0;
};
if (this.phaseFrame == 26){
this.img.bra2.alpha = 0;
};
if (this.phaseFrame == 32){
this.img.skirt1.alpha = 0;
};
if (this.phaseFrame == 34){
this.img.skirt2.alpha = 0;
};
if (this.phaseFrame == 20){
this.img.panties1.alpha = 0;
};
if (this.phaseFrame == 22){
this.img.panties2.alpha = 0;
};
if (this.phaseFrame == 16){
this.img.socks1.alpha = 0;
};
if (this.phaseFrame == 18){
this.img.socks2.alpha = 0;
};
this.timeOutCountdown = 20;
this.cancelButtons();
this.tweenCpuX.stop();
this.tweenCpuY.stop();
this.tweenCpuX = new Tween(this.cpuMouse, "x", Regular.easeIn, this.cpuMouse.x, 770, 1, true);
this.tweenCpuX.FPS = 40;
this.bOppMoving = false;
var _local3:* = Math.floor((Math.random() * 2));
if (_arg1 == true){
this.turn = 0;
if (_arg2 == 0){
this.turn = 1;
this.phaseFrame = 2;
};
if (_arg2 == 1){
if (_local3 == 0){
this.phaseFrame = 6;
} else {
this.phaseFrame = 14;
};
};
if (_arg2 == 2){
if (_local3 == 0){
this.phaseFrame = 18;
} else {
this.phaseFrame = 38;
};
};
if (_arg2 == 3){
if (_local3 == 0){
this.phaseFrame = 10;
} else {
this.phaseFrame = 42;
};
};
if (_arg2 == 4){
if (_local3 == 0){
this.phaseFrame = 26;
} else {
this.phaseFrame = 46;
};
};
if (_arg2 == 5){
if (_local3 == 0){
this.phaseFrame = 30;
} else {
this.phaseFrame = 50;
};
};
if (_arg2 == 6){
if (_local3 == 0){
this.phaseFrame = 22;
} else {
this.phaseFrame = 34;
};
};
} else {
this.turn = 2;
if (_arg2 == 0){
this.turn = 1;
this.phaseFrame = 2;
};
if (_arg2 == 1){
if (_local3 == 0){
this.phaseFrame = 4;
} else {
this.phaseFrame = 12;
};
};
if (_arg2 == 2){
if (_local3 == 0){
this.phaseFrame = 16;
} else {
this.phaseFrame = 36;
};
};
if (_arg2 == 3){
if (_local3 == 0){
this.phaseFrame = 8;
} else {
this.phaseFrame = 40;
};
};
if (_arg2 == 4){
if (_local3 == 0){
this.phaseFrame = 24;
} else {
this.phaseFrame = 44;
};
};
if (_arg2 == 5){
if (_local3 == 0){
this.phaseFrame = 28;
} else {
this.phaseFrame = 48;
};
};
if (_arg2 == 6){
if (_local3 == 0){
this.phaseFrame = 20;
} else {
this.phaseFrame = 32;
};
};
};
this.console.labelFrame.text = (this.phaseFrame / 2);
}
public function gameOver(_arg1):void{
this.bGameOver = true;
this.cancelButtons();
if (_arg1 == true){
this.phaseFrame = 54;
this.frameGameOver.winLose.gotoAndStop(2);
} else {
this.phaseFrame = 52;
this.frameGameOver.winLose.gotoAndStop(1);
};
this.frameGameOver.pName.text = this.char1name;
this.console.labelFrame.text = (this.phaseFrame / 2);
this.frameGameOver.alpha = 1;
this.klaffiTween = new Tween(this.frameGameOver, "y", None.easeNone, 65306, 25, 0.5, true);
this.klaffiTween.FPS = 40;
}
public function charSelecting(_arg1:MouseEvent):void{
var _local2:* = "";
if (_arg1.target.name != null){
_local2 = _arg1.target.name;
};
if (this.bConsoleEnabled == true){
if (_local2 == "btnBraids"){
this.btnPonyTails.gotoAndStop(1);
this.btnBraids.gotoAndStop(2);
this.hairOffset = 100;
} else {
if (_local2 == "btnPonyTails"){
this.btnPonyTails.gotoAndStop(2);
this.btnBraids.gotoAndStop(1);
this.hairOffset = 0;
} else {
if (_local2 == "btnR1"){
this.r1 = (stage.mouseX - 510);
this.skinColor = new ColorTransform(0, 0, 0, 1, this.r1, this.g1, this.b1, 0);
this.girlSkin.transform.colorTransform = this.skinColor;
this.cir1.x = (510 + this.r1);
} else {
if (_local2 == "btnG1"){
this.g1 = (stage.mouseX - 510);
this.skinColor = new ColorTransform(0, 0, 0, 1, this.r1, this.g1, this.b1, 0);
this.girlSkin.transform.colorTransform = this.skinColor;
this.cir2.x = (510 + this.g1);
} else {
if (_local2 == "btnB1"){
this.b1 = (stage.mouseX - 510);
this.skinColor = new ColorTransform(0, 0, 0, 1, this.r1, this.g1, this.b1, 0);
this.girlSkin.transform.colorTransform = this.skinColor;
this.cir3.x = (510 + this.b1);
} else {
if (_local2 == "btnR2"){
this.r2 = (stage.mouseX - 510);
this.hairColor = new ColorTransform(0, 0, 0, 1, this.r2, this.g2, this.b2, 0);
this.girlHair.transform.colorTransform = this.hairColor;
this.cir4.x = (510 + this.r2);
} else {
if (_local2 == "btnG2"){
this.g2 = (stage.mouseX - 510);
this.hairColor = new ColorTransform(0, 0, 0, 1, this.r2, this.g2, this.b2, 0);
this.girlHair.transform.colorTransform = this.hairColor;
this.cir5.x = (510 + this.g2);
} else {
if (_local2 == "btnB2"){
this.b2 = (stage.mouseX - 510);
this.hairColor = new ColorTransform(0, 0, 0, 1, this.r2, this.g2, this.b2, 0);
this.girlHair.transform.colorTransform = this.hairColor;
this.cir6.x = (510 + this.b2);
} else {
if (_local2 == "btnDown"){
if (this.sceneSample.bgDrop.currentFrame < this.lastBgFrame){
this.sceneSample.bgDrop.gotoAndStop((this.sceneSample.bgDrop.currentFrame + 1));
this.sceneNr = this.sceneSample.bgDrop.currentFrame;
} else {
this.sceneSample.bgDrop.gotoAndStop(1);
this.sceneNr = this.sceneSample.bgDrop.currentFrame;
};
} else {
if (_local2 == "btnUp"){
if (this.sceneSample.bgDrop.currentFrame > 1){
this.sceneSample.bgDrop.gotoAndStop((this.sceneSample.bgDrop.currentFrame - 1));
this.sceneNr = this.sceneSample.bgDrop.currentFrame;
} else {
this.sceneSample.bgDrop.gotoAndStop(this.lastBgFrame);
this.sceneNr = this.sceneSample.bgDrop.currentFrame;
};
};
};
};
};
};
};
};
};
};
};
};
if (_local2 == "btnGameStart"){
stage.removeEventListener(MouseEvent.CLICK, this.charSelecting);
if (this.bConsoleEnabled == true){
if (this.p1n.text.length > 1){
this.char1name = this.p1n.text;
} else {
this.char1name = "Katie";
};
if (this.p2n.text.length > 1){
this.char2name = this.p2n.text;
} else {
this.char1name = "Elli";
};
};
gotoAndStop(2);
};
}
function frame1(){
stop();
this.r1 = 0xFF;
this.g1 = 200;
this.b1 = 200;
this.r2 = 0xFF;
this.g2 = 200;
this.b2 = 20;
this.sceneNr = 1;
this.lastBgFrame = 3;
this.char1name = "Katie";
this.char2name = "Elli";
this.hairOffset = 0;
this.bConsoleEnabled = false;
this.a = ["ve", "e", "i", "r", "s", "z", "l", "lo", "he", "is", "t"];
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, this.onProgress);
this.loaderInfo.addEventListener(Event.COMPLETE, this.onComplete);
}
function frame2(){
stop();
this.health = 150;
this.myInterval = setInterval(this.myTimer, 200);
this.secInterval = setInterval(this.secTimer, 100);
this.seconds = 0;
this.phaseFrame = 2;
this.passerByCountdown = 0;
this.endCounter = 10;
this.iRound = 1;
this.klaffiCountdown = 0;
this.mudOffset = 0;
this.actionCountdown = (Math.floor((Math.random() * 8)) + 4);
this.timeOutCountdown = 0;
this.bOppMoving = false;
this.turn = 1;
this.p1End = this.health;
this.p2End = this.health;
this.bPaused = false;
this.bGameOver = false;
this.memoryPhaseFrame = 0;
this.speedArr = [20, 20, 20];
this.xArr = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [-100, 492, 687, 534, 468, 527, 559, -100, 273, 78, 243, 305, 244, 201], [325, 500, 712, 526, 477, 519, 564, 382, 272, 118, 241, 298, 247, 204], [353, -100, 298, 530, 515, 511, 563, 338, -100, 712, 381, 474, 425, 392], [237, 179, 443, 160, 183, 108, 159, 341, 343, -100, 335, 267, 267, 402], [398, 498, 687, 526, 467, 527, 561, 404, 267, 421, 263, 205, 184, 346], [225, 285, -100, 244, 252, 237, 264, 341, -100, -100, 321, 316, 327, 316], [456, 400, 654, 440, 378, 546, 450, 455, -100, 116, 549, 416, -100, 558], [182, 215, 665, 183, 224, 156, 169, 239, 328, 433, 364, 311, 374, 386], [374, 500, 681, 527, 468, 532, 560, 472, 396, 117, 400, -100, 471, 337], [179, 403, 568, 431, 379, 427, 466, 239, -100, 167, 336, -10, -100, 282], [240, 311, 198, 345, 324, 345, -100, 398, -100, 476, -100, 400, 411, -100], [258, 311, 161, 276, 307, 408, 277, 397, 374, 473, 344, 383, -100, 343], [487, 434, 667, 513, 385, 457, 561, 520, -100, 151, -100, 431, 548, 502], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
this.yArr = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [-100, 265, 422, 251, 182, 185, 311, -100, 270, 418, 253, 195, 187, 296], [273, 253, 434, 248, 205, 183, 293, 112, 263, 426, 245, 198, 185, 300], [163, -100, 437, 224, 209, 178, 298, 350, -100, 426, 218, 299, 273, 194], [300, 271, 294, 266, 224, 218, 366, 323, 368, -100, 410, 359, 417, 428], [190, 250, 427, 251, 199, 181, 304, 125, 380, 63, 404, 378, 435, 432], [272, 225, -100, 220, 187, 164, 312, 273, -100, -100, 221, 186, 159, 319], [186, 269, 429, 294, 217, 179, 359, 261, -100, 290, 245, 209, -100, 300], [92, 340, 404, 347, 282, 250, 415, 230, 308, 445, 300, 237, 231, 348], [228, 0x0101, 417, 245, 194, 174, 283, 358, 328, 421, 311, -100, 322, 292], [266, 306, 435, 296, 268, 230, 353, 466, -100, 166, 399, -100, -100, 385], [267, 281, 396, 249, 215, 174, -100, 265, -100, 381, -100, 200, 172, -100], [278, 372, 421, 362, 308, 173, 455, 279, 242, 427, 368, 197, -100, 450], [198, 211, 427, 233, 176, 137, 296, 158, -100, 280, -100, 163, 183, 270], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
this.skinColor = new ColorTransform(0, 0, 0, 1, this.r1, this.g1, this.b1, 0);
this.hairColor = new ColorTransform(0, 0, 0, 1, this.r2, this.g2, this.b2, 0);
this.applyColour();
this.bg.alpha = 1;
this.bg.bgDrop.gotoAndStop(this.sceneNr);
this.bgTrees.alpha = 1;
this.console.alpha = 0;
this.btnConsole.alpha = 0.5;
stage.addEventListener(MouseEvent.CLICK, this.mouseClicked);
this.frameGameOver.alpha = 0;
this.cancelButtons();
this.bg.nameStrip.p1Name.text = this.char1name;
this.bg.nameStrip.p2Name.text = this.char2name;
this.showFrame(this.phaseFrame, false);
this.showKlaffi();
this.console.labelFrame.text = (this.phaseFrame / 2);
this.passerby.scaleX = 1;
this.passerByTween = new Tween(this.passerby, "x", None.easeNone, 727, 200, 6, true);
this.passerByTween.FPS = 40;
this.passerByTween.addEventListener(TweenEvent.MOTION_FINISH, this.passerByFinished);
this.myMouse = new cursorSprite();
this.cpuMouse = new cursorSprite();
this.myMouse.x = 0;
this.myMouse.y = 0;
this.cpuMouse.x = 800;
this.cpuMouse.y = 300;
this.myMouse.gotoAndStop(2);
this.cpuMouse.gotoAndStop(3);
stage.addChild(this.myMouse);
stage.addChild(this.cpuMouse);
this.myMouse.mouseEnabled = false;
this.cpuMouse.mouseEnabled = false;
stage.addEventListener(Event.ENTER_FRAME, this.customMouseCursor);
Mouse.hide();
}
function frame3(){
stop();
this.btnPonyTails.gotoAndStop(2);
this.cir1.mouseEnabled = false;
this.cir2.mouseEnabled = false;
this.cir3.mouseEnabled = false;
this.cir4.mouseEnabled = false;
this.cir5.mouseEnabled = false;
this.cir6.mouseEnabled = false;
this.cir1.x = (510 + this.r1);
this.cir2.x = (510 + this.g1);
this.cir3.x = (510 + this.b1);
this.cir4.x = (510 + this.r2);
this.cir5.x = (510 + this.g2);
this.cir6.x = (510 + this.b2);
stage.addEventListener(MouseEvent.CLICK, this.charSelecting);
}
}
}//package Twins_fla
Section 11
//passerby_4 (Twins_fla.passerby_4)
package Twins_fla {
import flash.display.*;
public dynamic class passerby_4 extends MovieClip {
public function passerby_4(){
addFrameScript(19, frame20);
}
function frame20(){
gotoAndPlay(1);
}
}
}//package Twins_fla
Section 12
//subwindow_40 (Twins_fla.subwindow_40)
package Twins_fla {
import flash.display.*;
public dynamic class subwindow_40 extends MovieClip {
public var btnNewRound:MovieClip;
public var btnMudFight:MovieClip;
public var btnSettings:MovieClip;
public function subwindow_40(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Twins_fla
Section 13
//cursorSprite (cursorSprite)
package {
import flash.display.*;
public dynamic class cursorSprite extends MovieClip {
public function cursorSprite(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 14
//introStartButton (introStartButton)
package {
import flash.display.*;
public dynamic class introStartButton extends MovieClip {
}
}//package
Section 15
//movie_mc (movie_mc)
package {
import flash.display.*;
public dynamic class movie_mc extends MovieClip {
}
}//package