Section 1
//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 2
//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 3
//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 4
//kelsey_24 (wom_fla.kelsey_24)
package wom_fla {
import flash.display.*;
public dynamic class kelsey_24 extends MovieClip {
public function kelsey_24(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package wom_fla
Section 5
//locCircle_12 (wom_fla.locCircle_12)
package wom_fla {
import flash.display.*;
public dynamic class locCircle_12 extends MovieClip {
public function locCircle_12(){
addFrameScript(0, frame1, 6, frame7, 14, frame15, 20, frame21, 70, frame71, 76, frame77);
}
function frame1(){
stop();
}
function frame7(){
stop();
}
function frame15(){
stop();
}
function frame21(){
stop();
}
function frame71(){
stop();
}
function frame77(){
stop();
}
}
}//package wom_fla
Section 6
//MainTimeline (wom_fla.MainTimeline)
package wom_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 bonus25:MovieClip;
public var bonus16:MovieClip;
public var spriteApple:MovieClip;
public var slice4:MovieClip;
public var exEd:MovieClip;
public var btnVore:MovieClip;
public var btnOnPublicDisplay:MovieClip;
public var bonus26:MovieClip;
public var bonus17:MovieClip;
public var spriteTime:MovieClip;
public var slice5:MovieClip;
public var bonus27:MovieClip;
public var bonus18:MovieClip;
public var txtCash:TextField;
public var slice10:MovieClip;
public var slice6:MovieClip;
public var bonus28:MovieClip;
public var bonus19:MovieClip;
public var spriteSpin:MovieClip;
public var btnLeft:MovieClip;
public var slice20:MovieClip;
public var slice11:MovieClip;
public var slice7:MovieClip;
public var btnAbandoned:MovieClip;
public var labelStart:MovieClip;
public var slice12:MovieClip;
public var slice8:MovieClip;
public var btnLockedAway:MovieClip;
public var wndShop:MovieClip;
public var bonus1:MovieClip;
public var slice13:MovieClip;
public var slice9:MovieClip;
public var txtCode:TextField;
public var fpBlocker:MovieClip;
public var bonus2:MovieClip;
public var txtTime:TextField;
public var slice14:MovieClip;
public var radLocation:MovieClip;
public var wndTimer:MovieClip;
public var bonus3:MovieClip;
public var spriteShop:MovieClip;
public var spritePill:MovieClip;
public var sliceInserter:MovieClip;
public var slice15:MovieClip;
public var loader_mc:movie_mc;
public var loaded_txt:TextField;
public var cover:MovieClip;
public var bonus4:MovieClip;
public var slice16:MovieClip;
public var bonus5:MovieClip;
public var btnOk:MovieClip;
public var slice17:MovieClip;
public var btnSpin:MovieClip;
public var btnShop:MovieClip;
public var bonus6:MovieClip;
public var slice18:MovieClip;
public var bonus10:MovieClip;
public var bonus7:MovieClip;
public var txtLevel:TextField;
public var snakeHead:MovieClip;
public var slice19:MovieClip;
public var maze:MovieClip;
public var btnHorror:MovieClip;
public var btnForSale:MovieClip;
public var bonus20:MovieClip;
public var bonus8:MovieClip;
public var bonus11:MovieClip;
public var spriteBanana:MovieClip;
public var bonus21:MovieClip;
public var bonus9:MovieClip;
public var bonus12:MovieClip;
public var bonus22:MovieClip;
public var bonus13:MovieClip;
public var spritePillSlow:MovieClip;
public var spriteKiwi:MovieClip;
public var btnRight:MovieClip;
public var kelsey:MovieClip;
public var slice1:MovieClip;
public var btnViper:MovieClip;
public var btnTheGreatOutdoors:MovieClip;
public var bonus23:MovieClip;
public var bonus14:MovieClip;
public var arrow:MovieClip;
public var slice2:MovieClip;
public var btnGiantess:MovieClip;
public var bonus24:MovieClip;
public var bonus15:MovieClip;
public var slice3:MovieClip;
public var bDebug;
public var bExclusive;
public var bCode;
public var iStartThemeFrame;
public var iOuterWheelType;
public var arrSliceNr:Array;
public var arrSize:Array;
public var arrTailX:Array;
public var arrTailY:Array;
public var spriteArr:Array;
public var iHeadRotation;
public var iSnakeHeadX;
public var iSnakeHeadY;
public var iLevel;
public var iCash;
public var iTime;
public var arrOuterWheels:Array;
public var arrBgCol;
public var arrBgSprite;
public var arrFgSprite;
public var arrScene;
public var arrSceneCol;
public var arrSceneX;
public var arrSceneXSprite;
public var arrSceneSprite;
public var arrSceneValue;
public var iLocationRadAmount;
public var iLastPage;
public var arrShopButtons:Array;
public var clockInterval:uint;
public var myInterval:uint;
public var snakeInterval:uint;
public var iRotationSpeed;
public var iRotationSpeedB;
public var iRadSlowdownDelay;
public var iDropCounter;
public var iPage;
public var iSlicePos;
public var iCurrentSpeed;
public var iSliceFrame;
public var iSliceSize;
public var bUsedTabs;
public var iLoc;
public var iAction;
public var myTween:Tween;
public var iInserterRotation;
public var iSpinMemory;
public var iKeyBuffer;
public var bGamePaused;
public var bSnakeMoving;
public var bSceneActive;
public var iTailGrow;
public var iTailShrink;
public var iSnakeType;
public var iCounterApple;
public var iCounterBanana;
public var iCounterKiwi;
public var iCounterPill;
public var iCounterPillSlow;
public var iCounterTime;
public var iCounterSpin;
public var iCounterShop;
public var iStartCountDown;
public var bGameOver;
public var tmpPrice;
public var arrSceneChildren:Array;
public var iPremiumBonus;
public var freebeeCountDown;
public var i;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2);
}
public function themeSelect(_arg1:MouseEvent):void{
var _local2:Array;
var _local3:*;
iStartThemeFrame = 0;
if (_arg1.target.name == "btnTheGreatOutdoors"){
iStartThemeFrame = 15;
} else {
if (_arg1.target.name == "btnOnPublicDisplay"){
iStartThemeFrame = 21;
} else {
if (_arg1.target.name == "btnForSale"){
iStartThemeFrame = 1;
} else {
if (_arg1.target.name == "btnHorror"){
iStartThemeFrame = 7;
};
};
};
};
if (iStartThemeFrame != 0){
stage.removeEventListener(MouseEvent.CLICK, themeSelect);
_local2 = ["kelsey", "jen", "amanda", "i", "ant", "na", "with", "from", "for", "ty", "ugh", "to", "love", "snake", "wheel", "of", "misfortune", "fortune"];
_local3 = ((((((((((((_local2[3] + " w") + _local2[4]) + " ") + _local2[11]) + " play ") + _local2[5]) + _local2[10]) + _local2[9]) + " ") + _local2[6]) + " ") + _local2[0]);
if (txtCode.text.toLowerCase() == _local3){
bCode = true;
};
gotoAndStop(2);
};
}
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:* = true;
if (_local2.search("file:") != -1){
_local3 = true;
};
if (_local2.search("deviantart.net") != -1){
_local3 = true;
};
if (_local3 == true){
stage.addEventListener(MouseEvent.CLICK, themeSelect);
};
}
public function startGame(_arg1:MouseEvent):void{
gotoAndStop(2);
}
public function loadLevel():void{
txtLevel.text = ("Level " + iLevel);
if (iLevel == 1){
clearInterval(snakeInterval);
snakeInterval = setInterval(snakeTimer, 200);
iCurrentSpeed = 200;
iSnakeType = 0;
} else {
if (iLevel == 2){
clearInterval(snakeInterval);
snakeInterval = setInterval(snakeTimer, 190);
iCurrentSpeed = 190;
iSnakeType = 10;
} else {
if (iLevel == 3){
clearInterval(snakeInterval);
snakeInterval = setInterval(snakeTimer, 180);
iSnakeType = 20;
iCurrentSpeed = 180;
} else {
if (iLevel == 4){
clearInterval(snakeInterval);
snakeInterval = setInterval(snakeTimer, 170);
iSnakeType = 30;
iCurrentSpeed = 170;
} else {
if (iLevel == 5){
clearInterval(snakeInterval);
snakeInterval = setInterval(snakeTimer, 160);
iSnakeType = 40;
iCurrentSpeed = 160;
} else {
if (iLevel == 6){
clearInterval(snakeInterval);
snakeInterval = setInterval(snakeTimer, 150);
iSnakeType = 50;
iCurrentSpeed = 150;
} else {
if (iLevel == 7){
clearInterval(snakeInterval);
snakeInterval = setInterval(snakeTimer, 140);
iSnakeType = 0;
iCurrentSpeed = 140;
} else {
if (iLevel == 8){
clearInterval(snakeInterval);
snakeInterval = setInterval(snakeTimer, 130);
iSnakeType = 10;
iCurrentSpeed = 130;
} else {
if (iLevel == 9){
clearInterval(snakeInterval);
snakeInterval = setInterval(snakeTimer, 120);
iSnakeType = 20;
iCurrentSpeed = 120;
} else {
if (iLevel == 10){
clearInterval(snakeInterval);
snakeInterval = setInterval(snakeTimer, 110);
iSnakeType = 30;
iCurrentSpeed = 110;
} else {
if (iLevel == 11){
clearInterval(snakeInterval);
snakeInterval = setInterval(snakeTimer, 100);
iSnakeType = 40;
iCurrentSpeed = 100;
} else {
if (iLevel == 12){
clearInterval(snakeInterval);
snakeInterval = setInterval(snakeTimer, 90);
iSnakeType = 50;
iCurrentSpeed = 90;
} else {
if (iLevel >= 13){
clearInterval(snakeInterval);
if (iLevel == 13){
snakeInterval = setInterval(snakeTimer, 80);
iCurrentSpeed = 80;
} else {
if (iLevel == 14){
snakeInterval = setInterval(snakeTimer, 70);
iCurrentSpeed = 70;
} else {
snakeInterval = setInterval(snakeTimer, 60);
iCurrentSpeed = 60;
};
};
iSnakeType = (Math.floor((Math.random() * 6)) * 10);
maze.gotoAndStop((Math.floor((Math.random() * 13)) + 7));
};
};
};
};
};
};
};
};
};
};
};
};
};
if (iLevel < 13){
maze.gotoAndStop(iLevel);
};
if (maze.currentFrame == 17){
iTailGrow = 1000;
iCounterPill = 10000;
iCounterPillSlow = 10000;
iCounterApple = 10000;
iCounterBanana = 10000;
iCounterKiwi = 10000;
findFreeCell(bonus1);
findFreeCell(bonus2);
findFreeCell(bonus3);
findFreeCell(bonus4);
findFreeCell(bonus5);
findFreeCell(bonus6);
findFreeCell(bonus7);
findFreeCell(bonus8);
findFreeCell(bonus9);
findFreeCell(bonus10);
findFreeCell(bonus11);
findFreeCell(bonus12);
findFreeCell(bonus13);
findFreeCell(bonus14);
findFreeCell(bonus15);
findFreeCell(bonus16);
findFreeCell(bonus17);
findFreeCell(bonus18);
findFreeCell(bonus19);
findFreeCell(bonus20);
findFreeCell(bonus21);
findFreeCell(bonus22);
findFreeCell(bonus23);
findFreeCell(bonus24);
findFreeCell(bonus25);
findFreeCell(bonus26);
findFreeCell(bonus27);
findFreeCell(bonus28);
};
snakeHead.rotation = iHeadRotation;
snakeHead.x = (35 + (20 * iSnakeHeadX));
snakeHead.y = (20 + (20 * iSnakeHeadY));
var _local1:* = 0;
while (_local1 < arrTailX.length) {
drawAt(arrTailX[_local1], arrTailY[_local1], "tail");
_local1++;
};
snakeHead.gotoAndStop((iSnakeType + 1));
}
public function updateFruit(_arg1, _arg2):int{
if (maze.currentFrame != 17){
if (_arg2 > 0){
_arg2--;
if (_arg2 == 0){
if (findFreeCell(_arg1) == false){
_arg2 = 10;
};
};
};
return (_arg2);
//unresolved jump
};
return (10);
}
public function myTimer():void{
if (iStartCountDown > 0){
iStartCountDown--;
labelStart.txtNr.text = Math.ceil((iStartCountDown / 10));
if (iStartCountDown == 0){
bSnakeMoving = true;
labelStart.y = -210;
};
};
if (iRotationSpeed > 0){
radLocation.rotation = (radLocation.rotation + (iRotationSpeedB / 2));
slice1.rotation = (slice1.rotation + iRotationSpeed);
slice2.rotation = (slice2.rotation + iRotationSpeed);
slice3.rotation = (slice3.rotation + iRotationSpeed);
slice4.rotation = (slice4.rotation + iRotationSpeed);
slice5.rotation = (slice5.rotation + iRotationSpeed);
slice6.rotation = (slice6.rotation + iRotationSpeed);
slice7.rotation = (slice7.rotation + iRotationSpeed);
slice8.rotation = (slice8.rotation + iRotationSpeed);
slice9.rotation = (slice9.rotation + iRotationSpeed);
slice10.rotation = (slice10.rotation + iRotationSpeed);
slice11.rotation = (slice11.rotation + iRotationSpeed);
slice12.rotation = (slice12.rotation + iRotationSpeed);
slice13.rotation = (slice13.rotation + iRotationSpeed);
slice14.rotation = (slice14.rotation + iRotationSpeed);
slice15.rotation = (slice15.rotation + iRotationSpeed);
slice16.rotation = (slice16.rotation + iRotationSpeed);
slice17.rotation = (slice17.rotation + iRotationSpeed);
slice18.rotation = (slice18.rotation + iRotationSpeed);
slice19.rotation = (slice19.rotation + iRotationSpeed);
slice20.rotation = (slice20.rotation + iRotationSpeed);
kelsey.rotation = (kelsey.rotation + iRotationSpeed);
if (iRadSlowdownDelay > 0){
iRadSlowdownDelay--;
} else {
iRotationSpeed = (iRotationSpeed - 0.5);
if (iRotationSpeed < 0){
iRotationSpeed = 0;
};
iRotationSpeedB = (iRotationSpeedB - 0.5);
if (iRotationSpeedB < 0){
iRotationSpeedB = 0;
};
};
if (iRotationSpeed == 0){
if ((((((((((((((((((((((((((((((((((((((((Math.abs(slice1.rotation) == 0)) || ((Math.abs(slice1.rotation) == 18)))) || ((Math.abs(slice1.rotation) == 36)))) || ((Math.abs(slice1.rotation) == 54)))) || ((Math.abs(slice1.rotation) == 72)))) || ((Math.abs(slice1.rotation) == 90)))) || ((Math.abs(slice1.rotation) == 108)))) || ((Math.abs(slice1.rotation) == 126)))) || ((Math.abs(slice1.rotation) == 144)))) || ((Math.abs(slice1.rotation) == 162)))) || ((Math.abs(slice1.rotation) == 180)))) || ((Math.abs(slice1.rotation) == 198)))) || ((Math.abs(slice1.rotation) == 216)))) || ((Math.abs(slice1.rotation) == 234)))) || ((Math.abs(slice1.rotation) == 252)))) || ((Math.abs(slice1.rotation) == 270)))) || ((Math.abs(slice1.rotation) == 288)))) || ((Math.abs(slice1.rotation) == 306)))) || ((Math.abs(slice1.rotation) == 324)))) || ((Math.abs(slice1.rotation) == 342)))){
iRotationSpeed = 0.5;
trace("spin a LITTLE further!");
} else {
checkPixels();
if (iAction != -1){
iDropCounter = 100;
} else {
btnViper.alpha = 1;
btnShop.alpha = 0.3;
btnSpin.alpha = 0.3;
};
};
};
};
if (iDropCounter > 0){
iDropCounter--;
if (iDropCounter == 75){
kelsey.gotoAndStop(2);
} else {
if (iDropCounter == 70){
myTween = new Tween(kelsey, "y", Strong.easeIn, 290, 750, 1, true);
myTween.FPS = 40;
};
};
if (iDropCounter == 55){
iDropCounter = 0;
showScene();
if (bCode == false){
freebeeCountDown--;
if (freebeeCountDown < 1){
fpBlocker.y = 500;
fpBlocker.alpha = 1;
};
};
};
};
}
public function drawAt(_arg1, _arg2, _arg3):void{
var _local4:Shape;
var _local5:*;
if (_arg3 == "tail"){
_local5 = new snakeTail();
_local5.x = ((20 * _arg1) + 35);
_local5.y = ((20 * _arg2) + 20);
_local5.rotation = iHeadRotation;
_local5.gotoAndStop((iSnakeType + 1));
addChild(_local5);
spriteArr.push(_local5);
} else {
if (_arg3 == "ground"){
removeChild(spriteArr[0]);
spriteArr.splice(0, 1);
} else {
if (_arg3 == "rock"){
_local4 = new Shape();
_local4.graphics.beginFill(0);
_local4.graphics.drawRect(((20 * _arg1) + 26), ((20 * _arg2) + 11), 18, 18);
_local4.graphics.endFill();
addChild(_local4);
};
};
};
}
public function keyPressed(_arg1:KeyboardEvent):void{
if ((((_arg1.keyCode == Keyboard.UP)) || ((_arg1.keyCode == 87)))){
iKeyBuffer = 1;
} else {
if ((((_arg1.keyCode == Keyboard.DOWN)) || ((_arg1.keyCode == 83)))){
iKeyBuffer = 3;
} else {
if ((((_arg1.keyCode == Keyboard.RIGHT)) || ((_arg1.keyCode == 68)))){
iKeyBuffer = 2;
} else {
if ((((_arg1.keyCode == Keyboard.LEFT)) || ((_arg1.keyCode == 65)))){
iKeyBuffer = 4;
};
};
};
};
}
public function snakeTimer():void{
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:BitmapData;
var _local6:Matrix;
if (bGamePaused == false){
if (bSnakeMoving == true){
iCounterApple = updateFruit(spriteApple, iCounterApple);
iCounterBanana = updateFruit(spriteBanana, iCounterBanana);
iCounterKiwi = updateFruit(spriteKiwi, iCounterKiwi);
iCounterPill = updateFruit(spritePill, iCounterPill);
iCounterPillSlow = updateFruit(spritePillSlow, iCounterPillSlow);
iCounterTime = updateFruit(spriteTime, iCounterTime);
iCounterSpin = updateFruit(spriteSpin, iCounterSpin);
iCounterShop = updateFruit(spriteShop, iCounterShop);
_local1 = 0;
if (iKeyBuffer != 0){
if ((((((iKeyBuffer == 1)) && (!((iHeadRotation == 0))))) && (!((iHeadRotation == 180))))){
if (iHeadRotation == 270){
_local1 = 2;
} else {
_local1 = 1;
};
iHeadRotation = 0;
iKeyBuffer = 0;
} else {
if ((((((iKeyBuffer == 3)) && (!((iHeadRotation == 0))))) && (!((iHeadRotation == 180))))){
if (iHeadRotation == 270){
_local1 = 1;
} else {
_local1 = 2;
};
iHeadRotation = 180;
iKeyBuffer = 0;
} else {
if ((((((iKeyBuffer == 2)) && (!((iHeadRotation == 90))))) && (!((iHeadRotation == 270))))){
if (iHeadRotation == 0){
_local1 = 2;
} else {
_local1 = 1;
};
iHeadRotation = 90;
iKeyBuffer = 0;
} else {
if ((((((iKeyBuffer == 4)) && (!((iHeadRotation == 90))))) && (!((iHeadRotation == 270))))){
if (iHeadRotation == 0){
_local1 = 1;
} else {
_local1 = 2;
};
iHeadRotation = 270;
iKeyBuffer = 0;
};
};
};
};
};
arrTailX.push(iSnakeHeadX);
arrTailY.push(iSnakeHeadY);
drawAt(iSnakeHeadX, iSnakeHeadY, "tail");
if (_local1 == 1){
spriteArr[(spriteArr.length - 1)].gotoAndStop((iSnakeType + 2));
} else {
if (_local1 == 2){
spriteArr[(spriteArr.length - 1)].gotoAndStop((iSnakeType + 3));
};
};
if (iTailGrow == 0){
if (iTailShrink > 0){
if (arrTailX.length > 5){
drawAt(arrTailX[0], arrTailY[0], "ground");
arrTailX.splice(0, 1);
arrTailY.splice(0, 1);
};
iTailShrink--;
};
drawAt(arrTailX[0], arrTailY[0], "ground");
arrTailX.splice(0, 1);
arrTailY.splice(0, 1);
spriteArr[0].gotoAndStop((iSnakeType + 4));
} else {
iTailGrow--;
};
if (iHeadRotation == 0){
iSnakeHeadY = (iSnakeHeadY - 1);
} else {
if (iHeadRotation == 180){
iSnakeHeadY = (iSnakeHeadY + 1);
} else {
if (iHeadRotation == 90){
iSnakeHeadX = (iSnakeHeadX + 1);
} else {
if (iHeadRotation == 270){
iSnakeHeadX = (iSnakeHeadX - 1);
};
};
};
};
_local2 = (35 + (20 * iSnakeHeadX));
_local3 = (20 + (20 * iSnakeHeadY));
_local4 = 0;
_local5 = new BitmapData(1, 1, false, 0);
_local6 = new Matrix();
_local6.translate(-(_local2), -(_local3));
_local5.draw(stage, _local6);
_local4 = _local5.getPixel(0, 0);
if ((((((((((((((_local4 == 52275)) || ((_local4 == 0)))) || ((_local4 == 16751001)))) || ((_local4 == 0x990000)))) || ((_local4 == 11833868)))) || ((_local4 == 4135937)))) || ((_local4 == 0xFFFFFF)))){
bSnakeMoving = false;
bGameOver = true;
snakeHead.gotoAndStop((iSnakeType + 3));
iLevel++;
iTailGrow = 16;
btnViper.alpha = 1;
if (maze.currentFrame != 17){
iTime = 5;
if (bCode == true){
iTime = 15;
};
updateTimeGathered();
};
} else {
if (_local4 == 0xFF0000){
spriteApple.y = -1000;
snakeHead.gotoAndStop((iSnakeType + 2));
iTailGrow = (iTailGrow + 10);
iCash = (iCash + (25 + (2 * iPremiumBonus)));
iCounterApple = (40 + Math.floor((Math.random() * 30)));
txtCash.text = ("£ " + iCash);
} else {
if (_local4 == 0xFFFF00){
spriteBanana.y = -1000;
snakeHead.gotoAndStop((iSnakeType + 2));
iTailGrow = (iTailGrow + 7);
iCash = (iCash + (10 + (2 * iPremiumBonus)));
iCounterBanana = (20 + Math.floor((Math.random() * 20)));
txtCash.text = ("£ " + iCash);
} else {
if (_local4 == 0x9900){
spriteKiwi.y = -1000;
snakeHead.gotoAndStop((iSnakeType + 2));
iTailGrow = (iTailGrow + 5);
iCash = (iCash + (5 + (2 * iPremiumBonus)));
iCounterKiwi = (10 + Math.floor((Math.random() * 10)));
txtCash.text = ("£ " + iCash);
} else {
if (_local4 == 3368652){
spritePill.y = -1000;
snakeHead.gotoAndStop((iSnakeType + 2));
iTailShrink = (iTailShrink + (10 + (2 * iPremiumBonus)));
iCounterPill = (200 + Math.floor((Math.random() * 100)));
} else {
if (_local4 == 14662739){
spriteTime.y = -1000;
snakeHead.gotoAndStop((iSnakeType + 2));
iTime = (iTime + (5 + iPremiumBonus));
updateTimeGathered();
iTailGrow = (iTailGrow + 2);
iCounterTime = (40 + Math.floor((Math.random() * 20)));
} else {
if (_local4 == 0x333333){
spritePillSlow.y = -1000;
snakeHead.gotoAndStop((iSnakeType + 2));
iCurrentSpeed = (iCurrentSpeed + 50);
clearInterval(snakeInterval);
snakeInterval = setInterval(snakeTimer, iCurrentSpeed);
if (iCurrentSpeed > 200){
iCounterPillSlow = -10;
} else {
iCounterPillSlow = (300 + Math.floor((Math.random() * 50)));
};
} else {
if (_local4 == 0x666666){
bSnakeMoving = false;
spriteSpin.y = -1000;
snakeHead.gotoAndStop((iSnakeType + 2));
btnSpin.alpha = 1;
btnViper.alpha = 1;
iCounterSpin = ((60 + Math.floor((Math.random() * 30))) - (2 * iPremiumBonus));
} else {
if (_local4 == 0x660066){
bSnakeMoving = false;
spriteShop.y = -1000;
snakeHead.gotoAndStop((iSnakeType + 2));
btnShop.alpha = 1;
btnViper.alpha = 1;
iCounterShop = ((60 + Math.floor((Math.random() * 30))) - (2 * iPremiumBonus));
} else {
snakeHead.gotoAndStop((iSnakeType + 1));
};
};
};
};
};
};
};
};
};
snakeHead.rotation = iHeadRotation;
snakeHead.x = (35 + (20 * iSnakeHeadX));
snakeHead.y = (20 + (20 * iSnakeHeadY));
setChildIndex(snakeHead, (numChildren - 1));
};
};
}
public function findFreeCell(_arg1):Boolean{
var _local6:BitmapData;
var _local7:Matrix;
var _local8:*;
var _local2:* = 0;
var _local3:* = 0;
var _local4:* = 30;
var _local5:* = false;
while (_local4 > 0) {
if (_local5 == false){
_local2 = (35 + (20 * Math.floor((Math.random() * 20))));
_local3 = (20 + (20 * Math.floor((Math.random() * 24))));
_local6 = new BitmapData(1, 1, false, 0);
_local7 = new Matrix();
_local7.translate(-(_local2), -(_local3));
_local6.draw(stage, _local7);
_local8 = _local6.getPixel(0, 0);
if (((((((((((((!((_local8 == 52275))) && (!((_local8 == 0))))) && (!((_local8 == 16751001))))) && (!((_local8 == 0x990000))))) && (!((_local8 == 11833868))))) && (!((_local8 == 4135937))))) && (!((_local8 == 0xFFFFFF))))){
if (((((((((((((((!((_local8 == 0xFF0000))) && (!((_local8 == 0xFFFF00))))) && (!((_local8 == 0x9900))))) && (!((_local8 == 3368652))))) && (!((_local8 == 14662739))))) && (!((_local8 == 0x333333))))) && (!((_local8 == 0x666666))))) && (!((_local8 == 0x660066))))){
_local5 = true;
_arg1.x = _local2;
_arg1.y = _local3;
};
};
};
_local4--;
};
return (_local5);
}
public function runClock():void{
if (bSceneActive == true){
iTime--;
updateTimeGathered();
if (iTime < 1){
cancelScene();
};
};
}
public function updateTimeGathered():void{
var _local1:*;
var _local2:*;
_local1 = Math.floor((iTime / 60));
_local2 = (iTime - (60 * _local1));
if (_local2 < 10){
txtTime.text = ((_local1 + ":0") + _local2);
wndTimer.txtTime.text = ((_local1 + ":0") + _local2);
} else {
txtTime.text = ((_local1 + ":") + _local2);
wndTimer.txtTime.text = ((_local1 + ":") + _local2);
};
}
public function checkPixels():void{
var _local8:*;
iLoc = -1;
iAction = -1;
var _local1:* = 0;
var _local2:* = 0;
var _local3:* = 740;
var _local4:* = 8;
var _local5:BitmapData = new BitmapData(1, 1, false, 0);
var _local6:Matrix = new Matrix();
_local6.translate(-(_local3), -(_local4));
_local5.draw(stage, _local6);
_local1 = _local5.getPixel(0, 0);
_local3 = 742;
_local6 = new Matrix();
_local6.translate(-(_local3), -(_local4));
_local5.draw(stage, _local6);
_local2 = _local5.getPixel(0, 0);
var _local7:* = 0;
while (_local7 < arrBgCol.length) {
if ((((_local1 == arrBgCol[_local7])) || ((_local2 == arrBgCol[_local7])))){
if ((((_local1 == 16764108)) || (((_local2 == _local1) == 16764108)))){
_local8 = 0;
_local8 = (Math.floor((Math.random() * (arrBgCol.length - 2))) + 2);
trace(("Random/Any selected, picking a random location: " + _local8));
iLoc = _local8;
} else {
iLoc = _local7;
};
};
_local7++;
};
if (iLoc == -1){
iLoc = 0;
};
_local3 = 740;
_local4 = 45;
_local5 = new BitmapData(1, 1, false, 0);
_local6 = new Matrix();
_local6.translate(-(_local3), -(_local4));
_local5.draw(stage, _local6);
_local1 = _local5.getPixel(0, 0);
_local7 = 0;
while (_local7 < arrSceneCol.length) {
if (_local1 == arrSceneCol[_local7]){
iAction = _local7;
};
_local7++;
};
}
public function tempClickColour():void{
var _local1:* = stage.mouseX;
var _local2:* = stage.mouseY;
var _local3:BitmapData = new BitmapData(1, 1, false, 0);
var _local4:Matrix = new Matrix();
_local4.translate(-(_local1), -(_local2));
_local3.draw(stage, _local4);
trace(("Location clicked colour: " + _local3.getPixel(0, 0)));
}
public function mouseClicked(_arg1:MouseEvent):void{
var _local2:* = "";
if (_arg1.target.name != null){
_local2 = _arg1.target.name;
};
if (_local2 == "txtPrice"){
_local2 = _arg1.target.parent.name;
};
tempClickColour();
if ((((_local2 == "btnSpin")) && ((btnSpin.alpha == 1)))){
bSnakeMoving = false;
sliceInserter.y = -1000;
btnViper.alpha = 0.3;
btnShop.alpha = 0.3;
btnSpin.alpha = 0.3;
wndShop.x = -500;
iSpinMemory = 0.3;
spinWheel();
} else {
if (_local2 == "btnWheels"){
bUsedTabs = true;
wndShop.wndWheels.x = 13;
} else {
if (_local2 == "btnSlices"){
bUsedTabs = true;
wndShop.wndWheels.x = -500;
} else {
if (_local2 == "btnPrev"){
if (wndShop.wndWheels.rad.currentFrame == 1){
wndShop.wndWheels.rad.gotoAndStop(iLocationRadAmount);
} else {
wndShop.wndWheels.rad.gotoAndStop((wndShop.wndWheels.rad.currentFrame - 1));
};
checkWheelPurchase();
} else {
if (_local2 == "btnNext"){
if (wndShop.wndWheels.rad.currentFrame == iLocationRadAmount){
wndShop.wndWheels.rad.gotoAndStop(1);
} else {
wndShop.wndWheels.rad.gotoAndStop((wndShop.wndWheels.rad.currentFrame + 1));
};
checkWheelPurchase();
} else {
if ((((_local2 == "btnPurchase")) && ((wndShop.wndWheels.btnPurchase.alpha == 1)))){
iCash = (iCash - tmpPrice);
txtCash.text = ("£ " + iCash);
iOuterWheelType = wndShop.wndWheels.rad.currentFrame;
radLocation.gotoAndStop(iOuterWheelType);
updateShop();
} else {
if ((((_local2 == "btnReturn")) && ((wndTimer.btnReturn.alpha == 1)))){
cancelScene();
} else {
if (_local2 == "btnShopClose"){
wndShop.x = -500;
btnShop.alpha = 1;
btnViper.alpha = 1;
} else {
if ((((_local2 == "btnPageMin")) && ((wndShop.btnPageMin.alpha == 1)))){
wndShop.txtPageNumber.text = "9";
iPage--;
wndShop.btnPagePlus.alpha = 1;
if (iPage == 1){
wndShop.btnPageMin.alpha = 0.3;
};
wndShop.txtPageNumber.text = iPage;
updateShop();
} else {
if ((((_local2 == "btnPagePlus")) && ((wndShop.btnPagePlus.alpha == 1)))){
wndShop.txtPageNumber.text = "6";
iPage++;
wndShop.btnPageMin.alpha = 1;
if (iPage == iLastPage){
wndShop.btnPageMin.alpha = 0.3;
};
wndShop.txtPageNumber.text = iPage;
updateShop();
} else {
if ((((_local2 == "btnShop")) && ((btnShop.alpha == 1)))){
bSnakeMoving = false;
btnShop.alpha = 0.3;
btnViper.alpha = 0.3;
iSpinMemory = btnSpin.alpha;
if (bUsedTabs == false){
if (wndShop.wndWheels.x == 13){
wndShop.wndWheels.x = -500;
} else {
wndShop.wndWheels.x = 13;
};
};
setChildIndex(wndShop, (numChildren - 1));
setChildIndex(cover, (numChildren - 1));
wndShop.x = 5;
updateShop();
} else {
if ((((_local2 == "btnLeft")) && ((btnLeft.alpha == 1)))){
if (sliceInserter.rotation < 340){
sliceInserter.rotation = (sliceInserter.rotation + 18);
} else {
sliceInserter.rotation = 0;
};
iSlicePos++;
if (iSlicePos > 19){
iSlicePos = 0;
};
} else {
if ((((_local2 == "btnRight")) && ((btnRight.alpha == 1)))){
if ((((sliceInserter.rotation > 0)) && ((sliceInserter.rotation < 15)))){
sliceInserter.rotation = 342;
} else {
sliceInserter.rotation = (sliceInserter.rotation - 18);
};
iSlicePos--;
if (iSlicePos < 0){
iSlicePos = 19;
};
} else {
if ((((_local2 == "btnOk")) && ((btnOk.alpha == 1)))){
sliceInserter.y = -1000;
btnOk.alpha = 0.3;
btnLeft.alpha = 0.3;
btnRight.alpha = 0.3;
btnViper.alpha = 1;
btnShop.alpha = 1;
btnSpin.alpha = iSpinMemory;
insertSliceToWheel();
} else {
if ((((_local2 == "btnBuy1")) && ((wndShop.btnBuy1.alpha == 1)))){
buyItem(0, 1, wndShop.btnBuy1.txtPrice);
} else {
if ((((_local2 == "btnBuy2")) && ((wndShop.btnBuy2.alpha == 1)))){
buyItem(0, 2, wndShop.btnBuy2.txtPrice);
} else {
if ((((_local2 == "btnBuy3")) && ((wndShop.btnBuy3.alpha == 1)))){
buyItem(0, 3, wndShop.btnBuy3.txtPrice);
} else {
if ((((_local2 == "btnBuy4")) && ((wndShop.btnBuy4.alpha == 1)))){
buyItem(1, 1, wndShop.btnBuy4.txtPrice);
} else {
if ((((_local2 == "btnBuy5")) && ((wndShop.btnBuy5.alpha == 1)))){
buyItem(1, 2, wndShop.btnBuy5.txtPrice);
} else {
if ((((_local2 == "btnBuy6")) && ((wndShop.btnBuy6.alpha == 1)))){
buyItem(1, 3, wndShop.btnBuy6.txtPrice);
} else {
if ((((_local2 == "btnBuy7")) && ((wndShop.btnBuy7.alpha == 1)))){
buyItem(2, 1, wndShop.btnBuy7.txtPrice);
} else {
if ((((_local2 == "btnBuy8")) && ((wndShop.btnBuy8.alpha == 1)))){
buyItem(2, 2, wndShop.btnBuy8.txtPrice);
} else {
if ((((_local2 == "btnBuy9")) && ((wndShop.btnBuy9.alpha == 1)))){
buyItem(2, 3, wndShop.btnBuy9.txtPrice);
} else {
if ((((_local2 == "btnBuy10")) && ((wndShop.btnBuy10.alpha == 1)))){
buyItem(3, 1, wndShop.btnBuy10.txtPrice);
} else {
if ((((_local2 == "btnBuy11")) && ((wndShop.btnBuy11.alpha == 1)))){
buyItem(3, 2, wndShop.btnBuy11.txtPrice);
} else {
if ((((_local2 == "btnBuy12")) && ((wndShop.btnBuy12.alpha == 1)))){
buyItem(3, 3, wndShop.btnBuy12.txtPrice);
} else {
if ((((_local2 == "btnBuy13")) && ((wndShop.btnBuy13.alpha == 1)))){
buyItem(4, 1, wndShop.btnBuy13.txtPrice);
} else {
if ((((_local2 == "btnBuy14")) && ((wndShop.btnBuy14.alpha == 1)))){
buyItem(4, 2, wndShop.btnBuy14.txtPrice);
} else {
if ((((_local2 == "btnBuy15")) && ((wndShop.btnBuy15.alpha == 1)))){
buyItem(4, 3, wndShop.btnBuy15.txtPrice);
} else {
if ((((_local2 == "btnBuy16")) && ((wndShop.btnBuy16.alpha == 1)))){
buyItem(5, 1, wndShop.btnBuy16.txtPrice);
} else {
if ((((_local2 == "btnBuy17")) && ((wndShop.btnBuy17.alpha == 1)))){
buyItem(5, 2, wndShop.btnBuy17.txtPrice);
} else {
if ((((_local2 == "btnBuy18")) && ((wndShop.btnBuy18.alpha == 1)))){
buyItem(5, 3, wndShop.btnBuy18.txtPrice);
} else {
if ((((_local2 == "btnViper")) && ((btnViper.alpha == 1)))){
if (bGameOver == true){
bGameOver = false;
iKeyBuffer = 0;
iCounterApple = (80 + Math.floor((Math.random() * 20)));
iCounterBanana = (40 + Math.floor((Math.random() * 10)));
iCounterKiwi = (10 + Math.floor((Math.random() * 20)));
iCounterPill = (200 + Math.floor((Math.random() * 20)));
iCounterPillSlow = (300 + Math.floor((Math.random() * 20)));
iCounterTime = (50 + Math.floor((Math.random() * 20)));
iCounterSpin = (70 + Math.floor((Math.random() * 20)));
iCounterShop = (70 + Math.floor((Math.random() * 20)));
spriteApple.y = -1000;
spriteBanana.y = -1000;
spriteKiwi.y = -1000;
spritePill.y = -1000;
spritePillSlow.y = -1000;
spriteTime.y = -1000;
spriteSpin.y = -1000;
spriteShop.y = -1000;
bonus1.y = -1000;
bonus2.y = -1000;
bonus3.y = -1000;
bonus4.y = -1000;
bonus5.y = -1000;
bonus6.y = -1000;
bonus7.y = -1000;
bonus8.y = -1000;
bonus9.y = -1000;
bonus10.y = -1000;
bonus11.y = -1000;
bonus12.y = -1000;
bonus13.y = -1000;
bonus14.y = -1000;
bonus15.y = -1000;
bonus16.y = -1000;
bonus17.y = -1000;
bonus18.y = -1000;
bonus19.y = -1000;
bonus20.y = -1000;
bonus21.y = -1000;
bonus22.y = -1000;
bonus23.y = -1000;
bonus24.y = -1000;
bonus25.y = -1000;
bonus26.y = -1000;
bonus27.y = -1000;
bonus28.y = -1000;
while (arrTailX.length > 0) {
drawAt(arrTailX[0], arrTailY[0], "ground");
arrTailX.splice(0, 1);
arrTailY.splice(0, 1);
};
iHeadRotation = 90;
iSnakeHeadX = 0;
iSnakeHeadY = 0;
loadLevel();
};
btnShop.alpha = 0.3;
btnSpin.alpha = 0.3;
btnViper.alpha = 0.3;
setChildIndex(labelStart, (numChildren - 1));
setChildIndex(cover, (numChildren - 1));
iStartCountDown = 30;
labelStart.y = 170;
labelStart.txtNr.text = Math.ceil((iStartCountDown / 10));
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
}
public function showInserter(_arg1):void{
iSlicePos = 0;
txtCash.text = ("£ " + iCash);
wndShop.x = -500;
initAllSlices();
sliceInserter.gotoAndStop(_arg1);
sliceInserter.x = 740;
sliceInserter.y = 290;
sliceInserter.rotation = 0;
var _local2:GlowFilter = new GlowFilter();
_local2.alpha = 0.75;
_local2.quality = 3;
_local2.blurX = 40;
_local2.blurY = 40;
_local2.color = 0xFFFFFF;
_local2.strength = 5;
_local2.knockout = true;
sliceInserter.filters = [_local2];
iInserterRotation = 0;
btnOk.alpha = 1;
btnLeft.alpha = 1;
btnRight.alpha = 1;
btnViper.alpha = 0.3;
btnShop.alpha = 0.3;
btnSpin.alpha = 0.3;
}
public function initAllSlices():void{
initSlice(slice1, 0);
initSlice(slice2, 18);
initSlice(slice3, 36);
initSlice(slice4, 54);
initSlice(slice5, 72);
initSlice(slice6, 90);
initSlice(slice7, 108);
initSlice(slice8, 126);
initSlice(slice9, 144);
initSlice(slice10, 162);
initSlice(slice11, 180);
initSlice(slice12, 198);
initSlice(slice13, 216);
initSlice(slice14, 234);
initSlice(slice15, 252);
initSlice(slice16, 270);
initSlice(slice17, 288);
initSlice(slice18, 306);
initSlice(slice19, 324);
initSlice(slice20, 342);
kelsey.rotation = 0;
}
public function initSlice(_arg1, _arg2):void{
_arg1.x = 740;
_arg1.y = 290;
_arg1.rotation = _arg2;
}
public function spinWheel():void{
iRotationSpeed = 30;
iRotationSpeedB = (Math.floor((Math.random() * 24)) + 12);
iRadSlowdownDelay = (Math.floor((Math.random() * 24)) + 12);
}
public function updateShop():void{
wndShop.wndWheels.rad.gotoAndStop(radLocation.currentFrame);
checkWheelPurchase();
wndShop.txtPageNumber.text = iPage;
if (iPage == 1){
wndShop.btnPageMin.alpha = 0.3;
} else {
wndShop.btnPageMin.alpha = 1;
};
if (iPage == iLastPage){
wndShop.btnPagePlus.alpha = 0.3;
} else {
wndShop.btnPagePlus.alpha = 1;
};
if ((((iPage - 1) * 6) + 0) < arrScene.length){
wndShop.shopTxt1.text = arrScene[(((iPage - 1) * 6) + 0)];
wndShop.btnBuy1.txtPrice.text = arrSceneValue[(((iPage - 1) * 6) + 0)];
wndShop.btnBuy2.txtPrice.text = (arrSceneValue[(((iPage - 1) * 6) + 0)] + (arrSceneValue[(((iPage - 1) * 6) + 0)] * 0.75));
wndShop.btnBuy3.txtPrice.text = ((2 * arrSceneValue[(((iPage - 1) * 6) + 0)]) + (arrSceneValue[(((iPage - 1) * 6) + 0)] / 4));
if (bCode == false){
if (arrSliceNr.indexOf((((iPage - 1) * 6) + 0)) < 0){
wndShop.wndBlock0.x = -500;
} else {
wndShop.wndBlock0.x = 195;
};
};
} else {
wndShop.shopTxt1.text = "";
wndShop.btnBuy1.txtPrice.text = "---";
wndShop.btnBuy2.txtPrice.text = "---";
wndShop.btnBuy3.txtPrice.text = "---";
wndShop.wndBlock0.x = -500;
};
if ((((iPage - 1) * 6) + 1) < arrScene.length){
wndShop.shopTxt2.text = arrScene[(((iPage - 1) * 6) + 1)];
wndShop.btnBuy4.txtPrice.text = arrSceneValue[(((iPage - 1) * 6) + 1)];
wndShop.btnBuy5.txtPrice.text = (arrSceneValue[(((iPage - 1) * 6) + 1)] + (arrSceneValue[(((iPage - 1) * 6) + 1)] * 0.75));
wndShop.btnBuy6.txtPrice.text = ((2 * arrSceneValue[(((iPage - 1) * 6) + 1)]) + (arrSceneValue[(((iPage - 1) * 6) + 1)] / 4));
if (bCode == false){
if (arrSliceNr.indexOf((((iPage - 1) * 6) + 1)) < 0){
wndShop.wndBlock1.x = -500;
} else {
wndShop.wndBlock1.x = 195;
};
};
} else {
wndShop.shopTxt2.text = "";
wndShop.btnBuy4.txtPrice.text = "---";
wndShop.btnBuy5.txtPrice.text = "---";
wndShop.btnBuy6.txtPrice.text = "---";
wndShop.wndBlock1.x = -500;
};
if ((((iPage - 1) * 6) + 2) < arrScene.length){
wndShop.shopTxt3.text = arrScene[(((iPage - 1) * 6) + 2)];
wndShop.btnBuy7.txtPrice.text = arrSceneValue[(((iPage - 1) * 6) + 2)];
wndShop.btnBuy8.txtPrice.text = (arrSceneValue[(((iPage - 1) * 6) + 2)] + (arrSceneValue[(((iPage - 1) * 6) + 2)] * 0.75));
wndShop.btnBuy9.txtPrice.text = ((2 * arrSceneValue[(((iPage - 1) * 6) + 2)]) + (arrSceneValue[(((iPage - 1) * 6) + 2)] / 4));
if (bCode == false){
if (arrSliceNr.indexOf((((iPage - 1) * 6) + 2)) < 0){
wndShop.wndBlock2.x = -500;
} else {
wndShop.wndBlock2.x = 195;
};
};
} else {
wndShop.shopTxt3.text = "";
wndShop.btnBuy7.txtPrice.text = "---";
wndShop.btnBuy8.txtPrice.text = "---";
wndShop.btnBuy9.txtPrice.text = "---";
wndShop.wndBlock2.x = -500;
};
if ((((iPage - 1) * 6) + 3) < arrScene.length){
wndShop.shopTxt4.text = arrScene[(((iPage - 1) * 6) + 3)];
wndShop.btnBuy10.txtPrice.text = arrSceneValue[(((iPage - 1) * 6) + 3)];
wndShop.btnBuy11.txtPrice.text = (arrSceneValue[(((iPage - 1) * 6) + 3)] + (arrSceneValue[(((iPage - 1) * 6) + 3)] * 0.75));
wndShop.btnBuy12.txtPrice.text = ((2 * arrSceneValue[(((iPage - 1) * 6) + 3)]) + (arrSceneValue[(((iPage - 1) * 6) + 3)] / 4));
if (bCode == false){
if (arrSliceNr.indexOf((((iPage - 1) * 6) + 3)) < 0){
wndShop.wndBlock3.x = -500;
} else {
wndShop.wndBlock3.x = 195;
};
};
} else {
wndShop.shopTxt4.text = "";
wndShop.btnBuy10.txtPrice.text = "---";
wndShop.btnBuy11.txtPrice.text = "---";
wndShop.btnBuy12.txtPrice.text = "---";
wndShop.wndBlock3.x = -500;
};
if ((((iPage - 1) * 6) + 4) < arrScene.length){
wndShop.shopTxt5.text = arrScene[(((iPage - 1) * 6) + 4)];
wndShop.btnBuy13.txtPrice.text = arrSceneValue[(((iPage - 1) * 6) + 4)];
wndShop.btnBuy14.txtPrice.text = (arrSceneValue[(((iPage - 1) * 6) + 4)] + (arrSceneValue[(((iPage - 1) * 6) + 4)] * 0.75));
wndShop.btnBuy15.txtPrice.text = ((2 * arrSceneValue[(((iPage - 1) * 6) + 4)]) + (arrSceneValue[(((iPage - 1) * 6) + 4)] / 4));
if (bCode == false){
if (arrSliceNr.indexOf((((iPage - 1) * 6) + 4)) < 0){
wndShop.wndBlock4.x = -500;
} else {
wndShop.wndBlock4.x = 195;
};
};
} else {
wndShop.shopTxt5.text = "";
wndShop.btnBuy13.txtPrice.text = "---";
wndShop.btnBuy14.txtPrice.text = "---";
wndShop.btnBuy15.txtPrice.text = "---";
wndShop.wndBlock4.x = -500;
};
if ((((iPage - 1) * 6) + 5) < arrScene.length){
wndShop.shopTxt6.text = arrScene[(((iPage - 1) * 6) + 5)];
wndShop.btnBuy16.txtPrice.text = arrSceneValue[(((iPage - 1) * 6) + 5)];
wndShop.btnBuy17.txtPrice.text = (arrSceneValue[(((iPage - 1) * 6) + 5)] + (arrSceneValue[(((iPage - 1) * 6) + 5)] * 0.75));
wndShop.btnBuy18.txtPrice.text = ((2 * arrSceneValue[(((iPage - 1) * 6) + 5)]) + (arrSceneValue[(((iPage - 1) * 6) + 5)] / 4));
if (bCode == false){
if (arrSliceNr.indexOf((((iPage - 1) * 6) + 5)) < 0){
wndShop.wndBlock5.x = -500;
} else {
wndShop.wndBlock5.x = 195;
};
};
} else {
wndShop.shopTxt6.text = "";
wndShop.btnBuy16.txtPrice.text = "---";
wndShop.btnBuy17.txtPrice.text = "---";
wndShop.btnBuy18.txtPrice.text = "---";
wndShop.wndBlock5.x = -500;
};
var _local1:* = 0;
while (_local1 < arrShopButtons.length) {
if (arrShopButtons[_local1].txtPrice.text == "---"){
arrShopButtons[_local1].alpha = 0;
} else {
if (Number(arrShopButtons[_local1].txtPrice.text) > iCash){
arrShopButtons[_local1].alpha = 0.3;
} else {
arrShopButtons[_local1].alpha = 1;
};
};
_local1++;
};
}
public function checkWheelPurchase():void{
var _local1:* = wndShop.wndWheels.rad.currentFrame;
if (radLocation.currentFrame == _local1){
wndShop.wndWheels.btnPurchase.alpha = 0.3;
wndShop.wndWheels.txtWheelPrice.text = "(Current wheel)";
} else {
wndShop.wndWheels.txtWheelPrice.text = ("Price: £ " + arrOuterWheels[(_local1 - 1)]);
tmpPrice = arrOuterWheels[(_local1 - 1)];
if (iCash < tmpPrice){
wndShop.wndWheels.btnPurchase.alpha = 0.3;
} else {
wndShop.wndWheels.btnPurchase.alpha = 1;
};
};
}
public function insertSliceToWheel():void{
var _local7:*;
var _local1:* = -1;
var _local2:* = -1;
var _local3:* = -1;
var _local4:* = -1;
var _local5:* = -1;
var _local6:* = -1;
_local3 = iSlicePos;
_local4 = (iSlicePos + 1);
if (_local4 > 19){
_local4 = (_local4 - 20);
};
_local5 = (iSlicePos + 2);
if (_local5 > 19){
_local5 = (_local5 - 20);
};
_local6 = (iSlicePos + 3);
if (_local6 > 19){
_local6 = (_local6 - 20);
};
_local2 = (iSlicePos - 1);
if (_local2 < 0){
_local2 = (_local2 + 20);
};
_local1 = (iSlicePos - 2);
if (_local1 < 0){
_local1 = (_local1 + 20);
};
if (arrSize[_local1] == 3){
arrSize[_local1] = 2;
};
if (arrSize[_local2] == 3){
if (iSliceSize > 1){
arrSize[_local2] = 1;
} else {
arrSize[_local2] = 1;
_local7 = (_local2 + 2);
if (_local7 > 19){
_local7 = (_local7 - 20);
};
arrSize[_local7] = 1;
arrSliceNr[_local7] = arrSliceNr[_local2];
};
};
if (arrSize[_local2] == 2){
arrSize[_local2] = 1;
};
if (arrSize[_local3] > 1){
arrSize[_local4] = (arrSize[_local3] - 1);
arrSliceNr[_local4] = arrSliceNr[_local3];
arrSize[_local3] = 0;
arrSliceNr[_local3] = -1;
};
if (iSliceSize > 1){
if (arrSize[_local4] > 1){
arrSize[_local5] = (arrSize[_local4] - 1);
arrSliceNr[_local5] = arrSliceNr[_local4];
};
arrSize[_local4] = 0;
arrSliceNr[_local3] = -1;
};
if (iSliceSize > 2){
if (arrSize[_local5] > 1){
arrSize[_local6] = (arrSize[_local5] - 1);
arrSliceNr[_local6] = arrSliceNr[_local5];
};
arrSize[_local5] = 0;
arrSliceNr[_local3] = -1;
};
arrSize[_local3] = iSliceSize;
arrSliceNr[_local3] = iSliceFrame;
updateWheelAll();
}
public function updateWheelAll():void{
radLocation.gotoAndStop(iOuterWheelType);
updateWheel(slice1, 0);
updateWheel(slice2, 1);
updateWheel(slice3, 2);
updateWheel(slice4, 3);
updateWheel(slice5, 4);
updateWheel(slice6, 5);
updateWheel(slice7, 6);
updateWheel(slice8, 7);
updateWheel(slice9, 8);
updateWheel(slice10, 9);
updateWheel(slice11, 10);
updateWheel(slice12, 11);
updateWheel(slice13, 12);
updateWheel(slice14, 13);
updateWheel(slice15, 14);
updateWheel(slice16, 15);
updateWheel(slice17, 16);
updateWheel(slice18, 17);
updateWheel(slice19, 18);
updateWheel(slice20, 19);
}
public function updateWheel(_arg1, _arg2):void{
var _local3:*;
var _local4:ColorTransform;
var _local5:*;
var _local6:*;
var _local7:*;
if (arrSliceNr[_arg2] > -1){
_local3 = arrScene[arrSliceNr[_arg2]];
_local5 = ((arrSceneCol[arrSliceNr[_arg2]] >> 16) & 0xFF);
_local6 = ((arrSceneCol[arrSliceNr[_arg2]] >> 8) & 0xFF);
_local7 = (arrSceneCol[arrSliceNr[_arg2]] & 0xFF);
_local4 = new ColorTransform(0, 0, 0, 1, _local5, _local6, _local7, 0);
_local3 = _local3.split(" (")[0];
_arg1.fg1.txt.text = _local3;
_arg1.fg2.txt.text = _local3;
_arg1.fg3.txt.text = _local3;
_arg1.bg1.transform.colorTransform = _local4;
_arg1.bg2.transform.colorTransform = _local4;
_arg1.bg3.transform.colorTransform = _local4;
};
if (arrSize[_arg2] == 0){
_arg1.fg1.alpha = 0;
_arg1.bg1.alpha = 0;
_arg1.fg2.alpha = 0;
_arg1.bg2.alpha = 0;
_arg1.fg3.alpha = 0;
_arg1.bg3.alpha = 0;
} else {
if (arrSize[_arg2] == 1){
_arg1.fg1.alpha = 1;
_arg1.bg1.alpha = 1;
_arg1.fg2.alpha = 0;
_arg1.bg2.alpha = 0;
_arg1.fg3.alpha = 0;
_arg1.bg3.alpha = 0;
} else {
if (arrSize[_arg2] == 2){
_arg1.fg1.alpha = 0;
_arg1.bg1.alpha = 0;
_arg1.fg2.alpha = 1;
_arg1.bg2.alpha = 1;
_arg1.fg3.alpha = 0;
_arg1.bg3.alpha = 0;
} else {
if (arrSize[_arg2] == 3){
_arg1.fg1.alpha = 0;
_arg1.bg1.alpha = 0;
_arg1.fg2.alpha = 0;
_arg1.bg2.alpha = 0;
_arg1.fg3.alpha = 1;
_arg1.bg3.alpha = 1;
};
};
};
};
}
public function showScene():void{
var _local5:*;
bGamePaused = true;
var _local1:* = null;
if (iLoc > -1){
_local1 = arrBgSprite[iLoc];
};
if (_local1 != null){
_local1.x = 0;
_local1.y = 0;
addChild(_local1);
arrSceneChildren.push(_local1);
if (bExclusive == true){
_local1.gotoAndStop(2);
};
};
var _local2:* = null;
if (iAction > -1){
_local2 = arrSceneSprite[iAction];
};
if (_local2 != null){
_local2.x = 0;
_local2.y = 0;
addChild(_local2);
arrSceneChildren.push(_local2);
};
if ((((bExclusive == true)) && ((arrSceneX[iAction] == true)))){
_local5 = null;
if (iAction > -1){
_local5 = arrSceneXSprite[iAction];
};
if (_local5 != null){
_local5.x = 0;
_local5.y = 0;
addChild(_local5);
arrSceneChildren.push(_local5);
};
};
var _local3:* = null;
if (iLoc > -1){
_local3 = arrFgSprite[iLoc];
};
if (_local3 != null){
_local3.x = 0;
_local3.y = 0;
addChild(_local3);
arrSceneChildren.push(_local3);
};
var _local4:* = new borderFrame();
_local4.x = 0;
_local4.y = 0;
addChild(_local4);
arrSceneChildren.push(_local4);
wndTimer.y = 30;
wndTimer.alpha = 1;
setChildIndex(wndTimer, (numChildren - 1));
bSceneActive = true;
}
public function cancelScene():void{
var _local1:* = arrSceneChildren.length;
bSceneActive = false;
wndTimer.alpha = 0;
wndTimer.y = -100;
var _local2:* = 0;
while (_local2 < _local1) {
removeChild(arrSceneChildren[0]);
arrSceneChildren.splice(0, 1);
_local2++;
};
kelsey.x = 740;
kelsey.y = 290;
kelsey.gotoAndStop(1);
btnViper.alpha = 1;
bGamePaused = false;
if (iTime < 5){
iTime = 5;
updateTimeGathered();
};
if ((((bCode == true)) && ((iTime < 15)))){
iTime = 15;
updateTimeGathered();
};
if (bDebug == true){
btnSpin.alpha = 1;
btnShop.alpha = 1;
};
}
public function buyItem(_arg1, _arg2, _arg3):void{
iCash = (iCash - Number(_arg3.text));
iSliceFrame = (_arg1 + (6 * (iPage - 1)));
iSliceSize = _arg2;
showInserter(iSliceSize);
}
function frame1(){
stop();
bDebug = false;
bExclusive = false;
bCode = false;
iStartThemeFrame = 1;
iOuterWheelType = 1;
arrSliceNr = [0, -1, -1, -1, -1, 1, -1, -1, -1, -1, 2, -1, -1, -1, -1, 1, 0, 2, -1, -1];
arrSize = [3, 0, 0, 0, 0, 3, 0, 0, 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, 0, 0];
arrTailX = [];
arrTailY = [];
spriteArr = [];
iHeadRotation = 90;
iSnakeHeadX = 0;
iSnakeHeadY = 0;
iLevel = 1;
iCash = 0;
iTime = 5;
if (bExclusive == true){
exEd.alpha = 1;
};
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);
this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);
}
function frame2(){
stop();
arrOuterWheels = [25, 50, 100, 150, 200, 250, 25, 50, 100, 150, 200, 250, 100, 250, 25, 50, 100, 150, 200, 250, 25, 50, 100, 150, 200, 250, 100, 250];
arrBgCol = [0x333333, 16764108, 16777113, 13382553, 13395609, 6710835, 16724838, 10053375, 0x666666, 0x993300, 6737151, 6736998, 0xCC0000, 26367];
arrBgSprite = [new bgDark(), new bgDark(), new bgBeach(), new bgAuction(), new bgLiveTv(), new bgDungeon(), new bgShopBoxes(), new bgGiftShoppe(), new bgGy(), new bgCrypt(), new bgSkiPiste(), new bgForest(), new bgTheater(), new bgComputer()];
arrFgSprite = [new dummy(), new dummy(), new dummy(), new dummy(), new fgLiveTv(), new dummy(), new fgShopBoxes(), new fgGiftShoppe(), new dummy(), new dummy(), new dummy(), new dummy(), new dummy(), new fgComputer()];
arrScene = ["Beach chair (R)", "Comphy chair (R)", "Sleeping in bed (R)", "Bath of DOTs (T)", "Self-fart portal (GT)", "Cleaning robot (T)", "Wedg-O-Matic (K)", "Pit suspension (T)", "Tickle plant (T)", "Rodeo horse (K)", "Spider web (T)", "Double bat (S)", "Drowning (G)", "Belly inflator (O)", "Coal roasting (G)", "Venus flytrap (V)", "Self-slapper (S)", "Snake food (V)"];
arrSceneCol = [0xFFFF00, 15178245, 13148162, 0xCC00, 8940436, 0xCCCC, 0x660066, 6737100, 0x33CC00, 0x660099, 6750105, 0xEE0000, 3381708, 16764159, 26316, 16737843, 16724787, 16750899];
arrSceneX = [false, false, false, false, true, true, false, false, true, false, true, false, false, false, false, true, true, false];
arrSceneXSprite = [null, null, null, null, new xSelfFartPortal(), new xCleaningRobot(), null, null, new xTicklePlant(), null, new xWeb(), null, null, null, null, new xVenusTrap(), new xSelfSlap(), null];
arrSceneSprite = [new kelseyRelaxChair(), new kelseyComphyChair(), new kelseySleeping(), new kelseyBathOfDots(), new kelseySelfFartPortal(), new kelseyCleaningRobot(), new kelseyWedgOMatic(), new kelseyBlackPitSuspension(), new kelseyTicklePlant(), new kelseyRodeoHorse(), new kelseyWeb(), new kelseyDoubleSpank(), new kelseyDrowning(), new kelseyExpansion(), new kelseyRoasting(), new kelseyVenusTrap(), new kelseySelfSlap(), new kelseySnakeVore()];
arrSceneValue = [40, 40, 40, 60, 80, 60, 60, 60, 80, 80, 100, 100, 80, 60, 100, 40, 80, 60];
iLocationRadAmount = arrOuterWheels.length;
iLastPage = Math.ceil((arrScene.length / 6));
arrShopButtons = [wndShop.btnBuy1, wndShop.btnBuy2, wndShop.btnBuy3, wndShop.btnBuy4, wndShop.btnBuy5, wndShop.btnBuy6, wndShop.btnBuy7, wndShop.btnBuy8, wndShop.btnBuy9, wndShop.btnBuy10, wndShop.btnBuy11, wndShop.btnBuy12, wndShop.btnBuy13, wndShop.btnBuy14, wndShop.btnBuy15, wndShop.btnBuy16, wndShop.btnBuy17, wndShop.btnBuy18];
clockInterval = setInterval(runClock, 1000);
myInterval = setInterval(myTimer, 100);
snakeInterval = setInterval(snakeTimer, 200);
iRotationSpeed = 0;
iRotationSpeedB = 0;
iRadSlowdownDelay = 0;
iDropCounter = 0;
iPage = 1;
iSlicePos = 0;
iCurrentSpeed = 200;
iSliceFrame = 1;
iSliceSize = 1;
bUsedTabs = false;
iLoc = -1;
iAction = -1;
iInserterRotation = 0;
iSpinMemory = 0.3;
iKeyBuffer = 0;
bGamePaused = false;
bSnakeMoving = false;
bSceneActive = false;
iTailGrow = 16;
iTailShrink = 0;
iSnakeType = 0;
iCounterApple = (80 + Math.floor((Math.random() * 20)));
iCounterBanana = (40 + Math.floor((Math.random() * 10)));
iCounterKiwi = (10 + Math.floor((Math.random() * 20)));
iCounterPill = (200 + Math.floor((Math.random() * 20)));
iCounterPillSlow = (300 + Math.floor((Math.random() * 20)));
iCounterTime = (50 + Math.floor((Math.random() * 20)));
iCounterSpin = (70 + Math.floor((Math.random() * 20)));
iCounterShop = (70 + Math.floor((Math.random() * 20)));
iStartCountDown = 0;
bGameOver = false;
tmpPrice = 0;
arrSceneChildren = [];
iPremiumBonus = 0;
freebeeCountDown = 5;
initAllSlices();
btnViper.alpha = 1;
btnSpin.alpha = 0.3;
btnShop.alpha = 0.3;
wndTimer.alpha = 0;
fpBlocker.alpha = 0;
updateWheelAll();
if (bExclusive == true){
wndTimer.gotoAndStop(2);
};
if (bCode == true){
iPremiumBonus = 5;
} else {
wndTimer.btnReturn.alpha = 0.3;
};
if (bCode == true){
iTime = 15;
txtTime.text = "0:15";
};
snakeHead.rotation = iHeadRotation;
snakeHead.x = (35 + (20 * iSnakeHeadX));
snakeHead.y = (20 + (20 * iSnakeHeadY));
i = 0;
while (i < arrTailX.length) {
drawAt(arrTailX[i], arrTailY[i], "tail");
i++;
};
if (bDebug == true){
iCash = 2000;
btnShop.alpha = 1;
btnSpin.alpha = 1;
};
radLocation.gotoAndStop(iStartThemeFrame);
iOuterWheelType = iStartThemeFrame;
wndShop.wndWheels.rad.gotoAndStop(iStartThemeFrame);
loadLevel();
stage.addEventListener(MouseEvent.CLICK, mouseClicked);
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyPressed);
}
}
}//package wom_fla
Section 7
//maze_11 (wom_fla.maze_11)
package wom_fla {
import flash.display.*;
public dynamic class maze_11 extends MovieClip {
public function maze_11(){
addFrameScript(0, frame1, 6, frame7, 16, frame17);
}
function frame1(){
stop();
}
function frame7(){
stop();
}
function frame17(){
}
}
}//package wom_fla
Section 8
//selfFartFart_92 (wom_fla.selfFartFart_92)
package wom_fla {
import flash.display.*;
public dynamic class selfFartFart_92 extends MovieClip {
public function selfFartFart_92(){
addFrameScript(41, frame42);
}
function frame42(){
stop();
}
}
}//package wom_fla
Section 9
//slice_inserter_25 (wom_fla.slice_inserter_25)
package wom_fla {
import flash.display.*;
public dynamic class slice_inserter_25 extends MovieClip {
public function slice_inserter_25(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package wom_fla
Section 10
//snakeHead_29 (wom_fla.snakeHead_29)
package wom_fla {
import flash.display.*;
public dynamic class snakeHead_29 extends MovieClip {
public function snakeHead_29(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package wom_fla
Section 11
//wndTimer_51 (wom_fla.wndTimer_51)
package wom_fla {
import flash.display.*;
import flash.text.*;
public dynamic class wndTimer_51 extends MovieClip {
public var txtTime:TextField;
public var btnReturn:MovieClip;
public var btnExclusive:MovieClip;
public function wndTimer_51(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package wom_fla
Section 12
//bgAuction (bgAuction)
package {
import flash.display.*;
public dynamic class bgAuction extends MovieClip {
}
}//package
Section 13
//bgBeach (bgBeach)
package {
import flash.display.*;
public dynamic class bgBeach extends MovieClip {
public function bgBeach(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 14
//bgComputer (bgComputer)
package {
import flash.display.*;
public dynamic class bgComputer extends MovieClip {
}
}//package
Section 15
//bgCrypt (bgCrypt)
package {
import flash.display.*;
public dynamic class bgCrypt extends MovieClip {
}
}//package
Section 16
//bgDark (bgDark)
package {
import flash.display.*;
public dynamic class bgDark extends MovieClip {
}
}//package
Section 17
//bgDungeon (bgDungeon)
package {
import flash.display.*;
public dynamic class bgDungeon extends MovieClip {
}
}//package
Section 18
//bgForest (bgForest)
package {
import flash.display.*;
public dynamic class bgForest extends MovieClip {
}
}//package
Section 19
//bgGiftShoppe (bgGiftShoppe)
package {
import flash.display.*;
public dynamic class bgGiftShoppe extends MovieClip {
}
}//package
Section 20
//bgGy (bgGy)
package {
import flash.display.*;
public dynamic class bgGy extends MovieClip {
}
}//package
Section 21
//bgLiveTv (bgLiveTv)
package {
import flash.display.*;
public dynamic class bgLiveTv extends MovieClip {
}
}//package
Section 22
//bgShopBoxes (bgShopBoxes)
package {
import flash.display.*;
public dynamic class bgShopBoxes extends MovieClip {
}
}//package
Section 23
//bgSkiPiste (bgSkiPiste)
package {
import flash.display.*;
public dynamic class bgSkiPiste extends MovieClip {
public function bgSkiPiste(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 24
//bgTheater (bgTheater)
package {
import flash.display.*;
public dynamic class bgTheater extends MovieClip {
}
}//package
Section 25
//borderFrame (borderFrame)
package {
import flash.display.*;
public dynamic class borderFrame extends MovieClip {
public function borderFrame(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 26
//dummy (dummy)
package {
import flash.display.*;
public dynamic class dummy extends MovieClip {
}
}//package
Section 27
//fgComputer (fgComputer)
package {
import flash.display.*;
public dynamic class fgComputer extends MovieClip {
}
}//package
Section 28
//fgGiftShoppe (fgGiftShoppe)
package {
import flash.display.*;
public dynamic class fgGiftShoppe extends MovieClip {
}
}//package
Section 29
//fgLiveTv (fgLiveTv)
package {
import flash.display.*;
public dynamic class fgLiveTv extends MovieClip {
}
}//package
Section 30
//fgShopBoxes (fgShopBoxes)
package {
import flash.display.*;
public dynamic class fgShopBoxes extends MovieClip {
}
}//package
Section 31
//introStartButton (introStartButton)
package {
import flash.display.*;
public dynamic class introStartButton extends MovieClip {
}
}//package
Section 32
//kelseyBathOfDots (kelseyBathOfDots)
package {
import flash.display.*;
public dynamic class kelseyBathOfDots extends MovieClip {
}
}//package
Section 33
//kelseyBlackPitSuspension (kelseyBlackPitSuspension)
package {
import flash.display.*;
public dynamic class kelseyBlackPitSuspension extends MovieClip {
}
}//package
Section 34
//kelseyCleaningRobot (kelseyCleaningRobot)
package {
import flash.display.*;
public dynamic class kelseyCleaningRobot extends MovieClip {
}
}//package
Section 35
//kelseyComphyChair (kelseyComphyChair)
package {
import flash.display.*;
public dynamic class kelseyComphyChair extends MovieClip {
}
}//package
Section 36
//kelseyDoubleSpank (kelseyDoubleSpank)
package {
import flash.display.*;
public dynamic class kelseyDoubleSpank extends MovieClip {
}
}//package
Section 37
//kelseyDrowning (kelseyDrowning)
package {
import flash.display.*;
public dynamic class kelseyDrowning extends MovieClip {
}
}//package
Section 38
//kelseyExpansion (kelseyExpansion)
package {
import flash.display.*;
public dynamic class kelseyExpansion extends MovieClip {
}
}//package
Section 39
//kelseyRelaxChair (kelseyRelaxChair)
package {
import flash.display.*;
public dynamic class kelseyRelaxChair extends MovieClip {
}
}//package
Section 40
//kelseyRoasting (kelseyRoasting)
package {
import flash.display.*;
public dynamic class kelseyRoasting extends MovieClip {
}
}//package
Section 41
//kelseyRodeoHorse (kelseyRodeoHorse)
package {
import flash.display.*;
public dynamic class kelseyRodeoHorse extends MovieClip {
}
}//package
Section 42
//kelseySelfFartPortal (kelseySelfFartPortal)
package {
import flash.display.*;
public dynamic class kelseySelfFartPortal extends MovieClip {
}
}//package
Section 43
//kelseySelfSlap (kelseySelfSlap)
package {
import flash.display.*;
public dynamic class kelseySelfSlap extends MovieClip {
}
}//package
Section 44
//kelseySleeping (kelseySleeping)
package {
import flash.display.*;
public dynamic class kelseySleeping extends MovieClip {
}
}//package
Section 45
//kelseySnakeVore (kelseySnakeVore)
package {
import flash.display.*;
public dynamic class kelseySnakeVore extends MovieClip {
}
}//package
Section 46
//kelseyTicklePlant (kelseyTicklePlant)
package {
import flash.display.*;
public dynamic class kelseyTicklePlant extends MovieClip {
}
}//package
Section 47
//kelseyWeb (kelseyWeb)
package {
import flash.display.*;
public dynamic class kelseyWeb extends MovieClip {
}
}//package
Section 48
//kelseyWedgOMatic (kelseyWedgOMatic)
package {
import flash.display.*;
public dynamic class kelseyWedgOMatic extends MovieClip {
}
}//package
Section 49
//kelseyVenusTrap (kelseyVenusTrap)
package {
import flash.display.*;
public dynamic class kelseyVenusTrap extends MovieClip {
}
}//package
Section 50
//movie_mc (movie_mc)
package {
import flash.display.*;
public dynamic class movie_mc extends MovieClip {
}
}//package
Section 51
//snakeTail (snakeTail)
package {
import flash.display.*;
public dynamic class snakeTail extends MovieClip {
public function snakeTail(){
addFrameScript(0, frame1, 10, frame11);
}
function frame1(){
stop();
}
function frame11(){
stop();
}
}
}//package
Section 52
//xCleaningRobot (xCleaningRobot)
package {
import flash.display.*;
public dynamic class xCleaningRobot extends MovieClip {
}
}//package
Section 53
//xSelfFartPortal (xSelfFartPortal)
package {
import flash.display.*;
public dynamic class xSelfFartPortal extends MovieClip {
}
}//package
Section 54
//xSelfSlap (xSelfSlap)
package {
import flash.display.*;
public dynamic class xSelfSlap extends MovieClip {
}
}//package
Section 55
//xTicklePlant (xTicklePlant)
package {
import flash.display.*;
public dynamic class xTicklePlant extends MovieClip {
}
}//package
Section 56
//xWeb (xWeb)
package {
import flash.display.*;
public dynamic class xWeb extends MovieClip {
}
}//package
Section 57
//xVenusTrap (xVenusTrap)
package {
import flash.display.*;
public dynamic class xVenusTrap extends MovieClip {
}
}//package