STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228075
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2560 · P5120

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/42407790?noj=FRM42407790-30DC" width="1" height="1"></div>

unnatural_selection.swf

This is the info page for
Flash #84885

(Click the ID number above for more basic data on this flash file.)


Text
rathergood.com presents

<p align="center"><font face="1942 report" size="30" color="#ffffff" letterSpacing="0.000000" kerning="1">00</font></p>

<p align="center"></p>

NEW CREATURE DISCOVERED!

Use the mouse to pick up and move
the creatures around - try
experimenting to find all of them!
You can move the view by clicking
and dragging the ground, or by
pressing the arrow keys.

<p align="center"><font face="1942 report" size="35" color="#ffff00" letterSpacing="0.000000" kerning="1">Creatures found: 1/16</font></p>

PAUSED

CONGRATULATIONS!

You found all 16 creatures!
Truly well done!
Thank you for taking the time to
play our game, and remember:
Experts say you're never more than
three feet away from a Bloodworm.
Charity notice:  All the proceeds from
this game are being donated to St. Wriggly's
Home for Abandoned Bloodslugs.

In a moist and filthy corner of a
dark and brutish land, there lives a
unique type of worm.  Unimpressive
to look at, this loathsome creature
nonetheless has one remarkable
skill; when given the right stimuli,
it can spontaneously mutate into a
dazzling array of hungry, vicious
creatures!  Entire terrible
ecosystems have been known to spring
up from just a handful of worms left
unattended.  Nobody knows for
certain the full extent of the
worm's amazing potential - it's up
to you to find out.
Click and drag creatures around in
order to interact with them.  Try
experimenting; some are easy to
find, while some are a great deal
more fiendish!
Click on the ground to move the view
- or if you prefer, you can just use
the arrow keys.

ActionScript [AS3]

Section 1
//Creature (classes.Creature) package classes { import flash.display.*; import flash.geom.*; public class Creature extends Sprite { public var bioMass:int; public var turnState;// = 0 public var turnCounter;// = 0 public var clip; public var angle; public var type:String; public var pos; public var life:int; public function Creature(_arg1, _arg2){ pos = new Point(); super(); type = _arg1; life = _arg2; } } }//package classes
Section 2
//CreatureType (classes.CreatureType) package classes { import flash.display.*; public class CreatureType extends Sprite { public var speed; public var attack:int; public var turnSpeed; public var defense:int; public var earth; public var clip; public var nest; public var territory; public var water; public var slimeType; public var lifeSpan:int; public var corpse; public function CreatureType(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11, _arg12){ speed = _arg1; turnSpeed = _arg2; attack = _arg3; defense = _arg4; lifeSpan = _arg5; clip = _arg6; slimeType = _arg7; territory = _arg8; corpse = _arg9; water = _arg10; earth = _arg11; nest = _arg12; } } }//package classes
Section 3
//instructions_35 (unnaturalselection03_fla.instructions_35) package unnaturalselection03_fla { import flash.display.*; public dynamic class instructions_35 extends MovieClip { public function instructions_35(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package unnaturalselection03_fla
Section 4
//BlackBeetleMC (BlackBeetleMC) package { import flash.display.*; public dynamic class BlackBeetleMC extends MovieClip { public var state; public var grab; public function BlackBeetleMC(){ addFrameScript(0, frame1, 3, frame4, 19, frame20, 147, frame148); } function frame1(){ grab = true; state = "idle"; gotoAndPlay(20); } function frame4(){ state = "dead"; } function frame20(){ grab = true; } function frame148(){ gotoAndPlay(20); } } }//package
Section 5
//BlackslugMC (BlackslugMC) package { import flash.display.*; public dynamic class BlackslugMC extends MovieClip { public var state; public var grab; public function BlackslugMC(){ addFrameScript(0, frame1, 1, frame2, 3, frame4, 4, frame5, 9, frame10, 19, frame20, 99, frame100, 135, frame136, 136, frame137, 149, frame150, 190, frame191, 191, frame192, 198, frame199, 199, frame200, 219, frame220, 264, frame265, 279, frame280, 338, frame339, 339, frame340); } function frame220(){ grab = false; } function frame1(){ grab = true; state = "idle"; gotoAndPlay(20); } function frame2(){ gotoAndPlay(220); } function frame199(){ state = "dying"; } function frame4(){ gotoAndPlay(280); } function frame5(){ state = "mutating"; gotoAndPlay(150); } function frame340(){ stop(); state = "dead"; } function frame265(){ stop(); state = "mutate: tank"; } function frame100(){ gotoAndPlay(20); } function frame10(){ state = "attacking"; trace("Attacking!"); gotoAndPlay(110); } function frame136(){ state = "eating"; } function frame137(){ state = "idle"; gotoAndPlay(20); } function frame20(){ grab = true; } function frame200(){ stop(); state = "dead"; } function frame280(){ grab = false; state = "dead"; } function frame339(){ state = "dying"; } function frame191(){ state = "beetleSpawnBlack"; } function frame192(){ state = "dead"; } function frame150(){ grab = false; } } }//package
Section 6
//BloodfishMC (BloodfishMC) package { import flash.display.*; public dynamic class BloodfishMC extends MovieClip { public var grab; public var state; public function BloodfishMC(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 19, frame20, 31, frame32, 39, frame40, 73, frame74, 74, frame75, 79, frame80, 136, frame137, 137, frame138, 167, frame168); } function frame138(){ stop(); state = "dead"; } function frame1(){ grab = true; state = "idle"; gotoAndPlay(20); } function frame2(){ gotoAndPlay(80); } function frame3(){ gotoAndPlay(40); } function frame4(){ gotoAndPlay(80); } function frame5(){ state = "mutating"; gotoAndPlay(110); } function frame6(){ } function frame7(){ } function frame8(){ } function frame168(){ gotoAndPlay(20); } function frame32(){ gotoAndPlay(20); } function frame137(){ state = "dying"; } function frame40(){ state = "dead"; grab = false; } function frame20(){ grab = true; state = "idle"; } function frame9(){ } function frame80(){ state = "dead"; grab = false; } function frame74(){ state = "dying"; } function frame75(){ stop(); state = "dead"; } function frame10(){ state = "attacking"; gotoAndPlay(150); } } }//package
Section 7
//BloodSlugMC (BloodSlugMC) package { import flash.display.*; public dynamic class BloodSlugMC extends MovieClip { public var state; public var grab; public function BloodSlugMC(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 9, frame10, 19, frame20, 99, frame100, 135, frame136, 136, frame137, 149, frame150, 190, frame191, 191, frame192, 198, frame199, 199, frame200, 219, frame220, 264, frame265, 279, frame280, 338, frame339, 339, frame340, 349, frame350, 377, frame378); } function frame350(){ grab = false; state = "mutating"; } function frame199(){ state = "dying"; } function frame100(){ gotoAndPlay(20); } function frame136(){ state = "eating"; } function frame137(){ state = "idle"; gotoAndPlay(20); } function frame10(){ state = "attacking"; gotoAndPlay(110); } function frame378(){ stop(); state = "mutate: blackSlug"; } function frame339(){ state = "dying"; } function frame280(){ grab = false; state = "dead"; } function frame220(){ grab = false; } function frame1(){ grab = true; state = "idle"; gotoAndPlay(20); } function frame2(){ gotoAndPlay(220); } function frame3(){ gotoAndPlay(350); } function frame4(){ gotoAndPlay(280); } function frame5(){ state = "mutating"; gotoAndPlay(150); } function frame340(){ stop(); state = "dead"; } function frame20(){ grab = true; } function frame200(){ stop(); state = "dead"; } function frame265(){ stop(); state = "mutate: tank"; } function frame191(){ state = "beetleSpawnBlack"; } function frame192(){ state = "dead"; } function frame150(){ grab = false; } } }//package
Section 8
//BloodwormMC (BloodwormMC) package { import flash.display.*; public dynamic class BloodwormMC extends MovieClip { public var grab; public var state; public function BloodwormMC(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 19, frame20, 62, frame63, 101, frame102, 102, frame103, 109, frame110, 174, frame175, 189, frame190, 273, frame274, 274, frame275, 289, frame290, 309, frame310); } function frame274(){ state = "dying"; } function frame110(){ grab = false; } function frame310(){ stop(); state = "mutate: bloodFish"; } function frame175(){ stop(); state = "mutate: bloodSlug"; } function frame275(){ stop(); state = "dead"; } function frame10(){ state = "attacking"; gotoAndPlay(80); } function frame1(){ grab = true; state = "idle"; gotoAndPlay(20); } function frame2(){ gotoAndPlay(190); } function frame3(){ } function frame4(){ gotoAndPlay(190); } function frame5(){ state = "mutating"; gotoAndPlay(110); } function frame6(){ } function frame7(){ gotoAndPlay(290); } function frame8(){ } function frame9(){ } function frame102(){ state = "eating"; } function frame103(){ state = "idle"; gotoAndPlay(20); } function frame63(){ gotoAndPlay(20); } function frame20(){ grab = true; } function frame190(){ grab = false; state = "dead"; } function frame290(){ grab = false; state = "mutating"; } } }//package
Section 9
//BorderMC (BorderMC) package { import flash.display.*; public dynamic class BorderMC extends MovieClip { } }//package
Section 10
//CentipedeMC (CentipedeMC) package { import flash.display.*; public dynamic class CentipedeMC extends MovieClip { public var grab; public var state; public function CentipedeMC(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 19, frame20, 43, frame44, 49, frame50, 71, frame72, 72, frame73, 79, frame80, 108, frame109, 109, frame110, 119, frame120, 149, frame150); } function frame110(){ stop(); state = "dead"; } function frame50(){ grab = false; state = "dead"; } function frame73(){ stop(); state = "dead"; } function frame72(){ state = "dying"; } function frame10(){ } function frame1(){ state = "idle"; grab = true; gotoAndPlay(20); } function frame2(){ gotoAndPlay(120); } function frame3(){ gotoAndPlay(80); } function frame4(){ gotoAndPlay(50); } function frame5(){ } function frame6(){ state = "mutating"; gotoAndPlay(330); } function frame7(){ state = "mutating"; gotoAndPlay(490); } function frame8(){ } function frame9(){ } function frame44(){ gotoAndPlay(20); } function frame120(){ grab = false; state = "mutating"; } function frame20(){ grab = true; } function frame80(){ grab = false; state = "dead"; } function frame109(){ state = "dying"; } function frame150(){ stop(); state = "mutate: scorpion"; } } }//package
Section 11
//ContinuebuttonMC (ContinuebuttonMC) package { import flash.display.*; public dynamic class ContinuebuttonMC extends SimpleButton { } }//package
Section 12
//EelMC (EelMC) package { import flash.display.*; public dynamic class EelMC extends MovieClip { public var grab; public var state; public function EelMC(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 19, frame20, 35, frame36, 49, frame50, 88, frame89, 89, frame90, 99, frame100, 238, frame239, 239, frame240, 272, frame273, 273, frame274, 299, frame300, 339, frame340, 437, frame438, 438, frame439, 477, frame478); } function frame273(){ state = "eating"; } function frame274(){ state = "idle"; gotoAndPlay(20); } function frame90(){ stop(); state = "dead"; } function frame50(){ grab = false; state = "dead"; } function frame239(){ state = "dying"; } function frame439(){ state = "mutating"; } function frame478(){ stop(); state = "mutate: bloodWorm"; } function frame36(){ gotoAndPlay(20); } function frame10(){ gotoAndPlay(250); state = "attacking"; } function frame438(){ state = "spin"; } function frame240(){ stop(); state = "dead"; } function frame1(){ state = "idle"; grab = true; gotoAndPlay(20); } function frame2(){ gotoAndPlay(50); } function frame3(){ } function frame4(){ gotoAndPlay(100); } function frame5(){ gotoAndPlay(300); } function frame6(){ } function frame7(){ } function frame8(){ } function frame9(){ } function frame300(){ state = "mutating"; } function frame89(){ state = "dying"; } function frame340(){ stop(); state = "mutate: newt"; } function frame20(){ grab = true; } function frame100(){ grab = false; state = "dead"; } } }//package
Section 13
//GrubMC (GrubMC) package { import flash.display.*; public dynamic class GrubMC extends MovieClip { public var grab; public var state; public function GrubMC(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 19, frame20, 63, frame64, 79, frame80, 104, frame105, 105, frame106, 119, frame120, 152, frame153, 153, frame154, 169, frame170, 205, frame206); } function frame153(){ state = "dying"; } function frame154(){ stop(); state = "dead"; } function frame64(){ gotoAndPlay(20); } function frame10(){ } function frame1(){ state = "idle"; grab = false; gotoAndPlay(20); } function frame2(){ gotoAndPlay(80); } function frame3(){ gotoAndPlay(120); } function frame4(){ gotoAndPlay(170); } function frame5(){ } function frame6(){ } function frame7(){ gotoAndPlay(170); } function frame8(){ } function frame9(){ } function frame105(){ state = "dying"; } function frame120(){ grab = false; state = "dead"; } function frame206(){ stop(); state = "mutate: seaSlug"; } function frame80(){ grab = false; state = "dead"; } function frame106(){ stop(); state = "dead"; } function frame20(){ grab = true; state = "idle"; } function frame170(){ grab = "false"; state = "mutating"; } } }//package
Section 14
//HelpbuttonMC (HelpbuttonMC) package { import flash.display.*; public dynamic class HelpbuttonMC extends SimpleButton { } }//package
Section 15
//HelpscreenMC (HelpscreenMC) package { import flash.display.*; import flash.text.*; public dynamic class HelpscreenMC extends MovieClip { public var closeHelp:ContinuebuttonMC; public var getCounter:TextField; } }//package
Section 16
//LizardMC (LizardMC) package { import flash.display.*; public dynamic class LizardMC extends MovieClip { public var grab; public var state; public function LizardMC(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 19, frame20, 29, frame30, 39, frame40, 64, frame65, 65, frame66, 178, frame179, 189, frame190, 272, frame273, 273, frame274, 289, frame290, 304, frame305, 305, frame306, 329, frame330, 437, frame438, 438, frame439, 477, frame478, 489, frame490, 531, frame532, 539, frame540, 644, frame645, 645, frame646, 670, frame671); } function frame273(){ state = "dying"; } function frame274(){ stop(); state = "dead"; } function frame330(){ grab = false; } function frame306(){ stop(); state = "dead"; } function frame179(){ gotoAndPlay(20); } function frame532(){ stop(); state = "mutate: eel"; } function frame478(){ stop(); state = "mutate: bloodWorm"; } function frame30(){ gotoAndPlay(20); } function frame439(){ state = "mutating"; } function frame671(){ stop(); state = "mutate: centipede"; } function frame10(){ } function frame438(){ state = "spin"; } function frame540(){ grab = false; state = "mutating"; } function frame1(){ state = "idle"; grab = true; gotoAndPlay(20); } function frame2(){ gotoAndPlay(40); } function frame3(){ gotoAndPlay(40); } function frame4(){ gotoAndPlay(40); } function frame5(){ } function frame6(){ } function frame7(){ } function frame305(){ state = "dying"; } function frame65(){ state = "dying"; } function frame66(){ stop(); state = "dead"; } function frame40(){ state = "dead"; } function frame645(){ state = "spin"; } function frame8(){ } function frame9(){ } function frame20(){ grab = true; } function frame190(){ grab = false; state = "dead"; } function frame290(){ grab = false; state = "dead"; } function frame490(){ grab = false; } function frame646(){ state = "mutating"; } } }//package
Section 17
//maggotMC (maggotMC) package { import flash.display.*; public dynamic class maggotMC extends MovieClip { public var grab; public var state; public function maggotMC(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 19, frame20, 79, frame80, 89, frame90, 149, frame150, 169, frame170, 229, frame230, 239, frame240, 253, frame254, 254, frame255, 269, frame270, 425, frame426); } function frame230(){ state = "mutate: worm"; } function frame254(){ state = "dying"; } function frame255(){ stop(); state = "dead"; } function frame90(){ grab = false; } function frame10(){ } function frame240(){ grab = false; state = "dead"; } function frame1(){ state = "idle"; grab = false; gotoAndPlay(90); } function frame2(){ } function frame3(){ gotoAndPlay(240); } function frame4(){ } function frame5(){ } function frame6(){ } function frame7(){ } function frame426(){ stop(); state = "mutate: grub"; } function frame9(){ gotoAndPlay(170); } function frame8(){ gotoAndPlay(270); } function frame80(){ gotoAndPlay(20); } function frame20(){ grab = true; state = "idle"; } function frame170(){ state = "mutating"; } function frame270(){ grab = false; state = "mutating"; } function frame150(){ state = "idle"; gotoAndPlay(20); } } }//package
Section 18
//musicSND (musicSND) package { import flash.media.*; public dynamic class musicSND extends Sound { } }//package
Section 19
//NewcreatureMC (NewcreatureMC) package { import flash.display.*; import flash.text.*; public dynamic class NewcreatureMC extends MovieClip { public var counter:TextField; public function NewcreatureMC(){ addFrameScript(0, frame1, 88, frame89); } function frame1(){ stop(); } function frame89(){ counter.text = ""; } } }//package
Section 20
//NewtMC (NewtMC) package { import flash.display.*; public dynamic class NewtMC extends MovieClip { public var grab; public var state; public function NewtMC(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 19, frame20, 51, frame52, 59, frame60, 88, frame89, 89, frame90, 99, frame100, 122, frame123, 123, frame124, 139, frame140, 146, frame147, 196, frame197, 272, frame273, 273, frame274, 289, frame290, 304, frame305, 305, frame306, 329, frame330, 437, frame438, 438, frame439, 477, frame478, 489, frame490, 531, frame532); } function frame273(){ state = "dying"; } function frame197(){ stop(); state = "mutate: lizard"; } function frame330(){ grab = false; } function frame90(){ stop(); state = "dead"; } function frame532(){ stop(); state = "mutate: eel"; } function frame478(){ stop(); state = "mutate: bloodWorm"; } function frame274(){ stop(); state = "dead"; } function frame52(){ gotoAndPlay(20); } function frame439(){ state = "mutating"; } function frame10(){ } function frame438(){ state = "spin"; } function frame140(){ state = "mutating"; } function frame1(){ state = "idle"; grab = true; gotoAndPlay(20); } function frame2(){ gotoAndPlay(60); } function frame3(){ gotoAndPlay(100); } function frame4(){ } function frame5(){ } function frame6(){ } function frame7(){ } function frame8(){ } function frame9(){ } function frame124(){ stop(); state = "dead"; } function frame60(){ grab = false; state = "dead"; } function frame20(){ grab = true; } function frame100(){ grab = false; state = "dead"; } function frame123(){ state = "dying"; } function frame89(){ state = "dying"; } function frame147(){ grab = false; } function frame305(){ state = "dying"; } function frame306(){ stop(); state = "dead"; } function frame290(){ grab = false; state = "dead"; } function frame490(){ grab = false; } } }//package
Section 21
//re (re) package { import flash.events.*; import flash.media.*; import flash.display.*; import classes.*; import flash.text.*; import flash.geom.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class re extends MovieClip { public const c_FRAME_MASS = 5; public const c_FRAME_DEATH = 3; public const c_FRAME_CORPSE = 6; public const c_black = 11; public const defaultMatrix; public const c_FRAME_NEST = 9; public const c_FRAME_TIMEOUT = 2; public const worldRect; public const c_FRAME_WATER = 7; public const c_red = 1; public const creatureNum = 25; public const c_FRAME_DROWN = 4; public const zeroPoint; public const c_pink = 6; public const c_FRAME_ATTACK = 10; public const c_FRAME_EARTH = 8; public const c_FRAME_IDLE = 1; public const accel = 2; public const fadeCT; public const topSpeed = 20; public var bkgBD; public var slimeLayerBuffer; public var helpScreen; public var waterClip; public var slimeObj; public var slimeBD; public var ripplePos; public var water; public var roomObj; public var mouseOverObj; public var musicChannel; public var loaderBKG:MovieClip; public var music; public var ripple; public var creatures; public var newObj; public var targetMarker; public var bkg; public var beginButton:SimpleButton; public var border; public var pauseState; public var beginButton2:SimpleButton; public var roomBD; public var filterObj; public var a; public var winScreen; public var i; public var slimeLayerBD; public var mousePos; public var filter; public var creatureTypes; public var moveVector; public var turn; public var viewPos; public var instructionsCrawl:MovieClip; public var loadingText:TextField; public var splats; public var splatClip; public var dragCreature; public var waterBD; public var newRoom; public var creatureGet; public var viewSpeed; public var oldMousePos; public var creatureGetCount; public var dragScreen; public var filterBD; public var update; public var helpButton; public var slime; public var newWorm; public var keys; public function re(){ zeroPoint = new Point(0, 0); worldRect = new Rectangle(0, 0, 0x0400, 0x0400); defaultMatrix = new Matrix(); fadeCT = new ColorTransform(); super(); addFrameScript(0, frame1, 5, frame6, 8, frame9, 9, frame10, 10, frame11); } public function mouseButtonPressed(_arg1:MouseEvent):void{ var _local2:* = creatureAtPoint(((mousePos.x + viewPos.x) - 50), ((mousePos.y + viewPos.y) - 50), 32); if (_local2 == null){ dragScreen = true; } else { dragCreature = _local2; stage.removeChild(creatures[_local2].clip); stage.addChildAt(creatures[_local2].clip, (stage.numChildren - 4)); if (creatures[_local2].type == "newt"){ creatures[_local2].clip.gotoAndPlay(140); }; }; } public function loaded(_arg1:Event):void{ this.loaderInfo.removeEventListener(ProgressEvent.PROGRESS, loading); this.loaderInfo.removeEventListener(Event.COMPLETE, loaded); beginButton.y = 344; loaderBKG.y = 50; } public function beginButton2Press(_arg1:MouseEvent):void{ stage.removeEventListener("enterFrame", instructions); beginButton2.removeEventListener(MouseEvent.CLICK, beginButton2Press); play(); } public function vag(_arg1:MouseEvent):void{ helpScreen.closeHelp.removeEventListener(MouseEvent.CLICK, vag); stage.removeChild(helpScreen); pauseState = false; } public function loading(_arg1:ProgressEvent):void{ var _local2:Number = _arg1.target.bytesLoaded; var _local3:Number = _arg1.target.bytesTotal; var _local4:Number = (_local2 / _local3); loadingText.text = (("LOADING: " + Math.floor((_local4 * 100))) + "%"); } public function mouseInput(){ targetMarker.rotation = (targetMarker.rotation + 5); mouseOverObj = null; if ((((dragCreature == null)) && ((dragScreen == false)))){ mouseOverObj = creatureAtPoint(((mousePos.x + viewPos.x) - 50), ((mousePos.y + viewPos.y) - 50), 32); }; if (mouseOverObj != null){ targetMarker.gotoAndStop(1); targetMarker.x = ((creatures[mouseOverObj].pos.x - viewPos.x) + 50); targetMarker.y = ((creatures[mouseOverObj].pos.y - viewPos.y) + 50); } else { if (dragScreen){ targetMarker.gotoAndStop(10); targetMarker.rotation = 0; } else { targetMarker.gotoAndStop(2); }; targetMarker.x = mousePos.x; targetMarker.y = mousePos.y; }; if (dragCreature != null){ creatures[dragCreature].pos.x = Math.max(Math.min(850, ((mousePos.x + viewPos.x) - 50)), 200); creatures[dragCreature].pos.y = Math.max(Math.min(850, ((mousePos.y + viewPos.y) - 50)), 150); targetMarker.x = ((creatures[dragCreature].pos.x - viewPos.x) + 50); targetMarker.y = ((creatures[dragCreature].pos.y - viewPos.y) + 50); if (!creatures[dragCreature].clip.grab){ dragCreature = null; }; }; } function frame10(){ i = 0; while (i < 25) { creatures[i] = createCreature("worm"); creatures[i].pos = new Point(0, 0); newObj = new creatureTypes[creatures[i].type].clip(); creatures[i].clip = stage.addChildAt(newObj, 4); creatures[i].pos.x = ((Math.random() * 100) + 250); creatures[i].pos.y = ((Math.random() * 100) + 750); creatures[i].clip.rotation = (Math.random() * 360); creatures[i].angle = creatures[i].clip.rotation; creatures[i].life = (creatures[i].life + (Math.random() * 100)); trace(creatures[i].clip.currentFrame); i++; }; creatureGet = new Array(); creatureGet["worm"] = true; creatureGetCount = 1; pauseState = false; } function frame11(){ stop(); stage.addEventListener("enterFrame", mainLoop); stage.addEventListener(KeyboardEvent.KEY_DOWN, keyPressed); stage.addEventListener(KeyboardEvent.KEY_UP, keyReleased); stage.addEventListener(MouseEvent.MOUSE_MOVE, updateMouse); stage.addEventListener(MouseEvent.MOUSE_DOWN, mouseButtonPressed); stage.addEventListener(MouseEvent.MOUSE_UP, mouseButtonReleased); helpButton.addEventListener(MouseEvent.CLICK, bum); mousePos.x = 300; mousePos.y = 300; } public function carryOn(_arg1:MouseEvent):void{ trace("Well cup my balls and call me a Frenchman"); winScreen.playAgain.removeEventListener(MouseEvent.CLICK, carryOn); winScreen.gotoRathergood.removeEventListener(MouseEvent.CLICK, rathergood); pauseState = false; stage.removeChild(winScreen); } public function createCreature(_arg1){ return (new Creature(_arg1, creatureTypes[_arg1].lifeSpan)); } public function updateMouse(_arg1:MouseEvent):void{ mousePos.x = _arg1.stageX; mousePos.y = _arg1.stageY; if (dragScreen){ viewPos.x = (viewPos.x - (mousePos.x - oldMousePos.x)); viewPos.y = (viewPos.y - (mousePos.y - oldMousePos.y)); }; oldMousePos.x = mousePos.x; oldMousePos.y = mousePos.y; } function frame1(){ stop(); this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, loading); this.loaderInfo.addEventListener(Event.COMPLETE, loaded); beginButton.addEventListener(MouseEvent.CLICK, beginButtonPress); } public function bum(_arg1:MouseEvent):void{ pauseState = true; stage.addChild(helpScreen); helpScreen.getCounter.text = (("CREATURES FOUND: " + creatureGetCount) + "/16"); helpScreen.closeHelp.addEventListener(MouseEvent.CLICK, vag); } function frame9(){ fadeCT.alphaMultiplier = 0.9; keys = new Array(); mousePos = new Point(); oldMousePos = new Point(); roomBD = new BitmapData(0x0400, 0x0400, false, 0); bkgBD = new BitmapData(500, 500, false, 0); bkg = new Bitmap(bkgBD); filterBD = new BitmapData(500, 500, true, 536870912); filter = new Bitmap(filterBD); slimeLayerBD = new BitmapData(0x0400, 0x0400, true, 0); slimeLayerBuffer = new BitmapData(0x0400, 0x0400, true, 0); slimeBD = new BitmapData(500, 500, true, 0); slime = new Bitmap(slimeBD); waterClip = new waterMC(); waterBD = new BitmapData(243, 276, true, 0); waterBD.draw(waterClip); water = new Bitmap(waterBD); splats = new Array(); splatClip = new SplatMC(); creatureTypes = new Array(); creatures = new Array(); dragScreen = false; dragCreature = null; mouseOverObj = -1; viewPos = new Point(0, 524); viewSpeed = new Point(0, 0); moveVector = new Point(0, 0); turn = 0; creatureGet = new Array(); creatureGetCount = 0; a = 0; while (a < 16) { splatClip.gotoAndStop((a + 1)); splats[a] = new BitmapData(48, 48, true, 0); splats[a].draw(splatClip); a++; }; newRoom = new Room(); roomBD.draw(newRoom); splatClip = null; newRoom = null; targetMarker = new targetMC(); roomObj = stage.addChildAt(bkg, 1); slimeObj = stage.addChildAt(slime, 2); stage.addChildAt(targetMarker, 3); stage.addChildAt(water, 4); filterObj = stage.addChildAt(filter, 5); border = new BorderMC(); stage.addChildAt(border, 6); ripplePos = new Point(-100, -100); ripple = new RippleMC(); stage.addChild(ripple); targetMarker.alpha = 0.5; helpButton = new HelpbuttonMC(); stage.addChildAt(helpButton, 7); helpButton.x = 10; helpButton.y = 10; helpScreen = new HelpscreenMC(); update = new NewcreatureMC(); winScreen = new WinscreenMC(); stage.addChildAt(update, 8); update.x = 0; update.y = 500; roomObj.x = 50; roomObj.y = 50; filterObj.x = 50; filterObj.y = 50; slimeObj.x = 50; slimeObj.y = 50; slimeObj.alpha = 0.7; creatureTypes["worm"] = new CreatureType(0.5, 1, 0, 1, 5000, WormMC, c_pink, "land", true, true, true, false); creatureTypes["blackBeetle"] = new CreatureType(4, 10, 0, 99, 500, BlackBeetleMC, null, "land", false, false, false, false); creatureTypes["redBeetle"] = new CreatureType(4, 10, 0, 99, 500, RedBeetleMC, null, "land", false, false, false, false); creatureTypes["bloodWorm"] = new CreatureType(1, 1, 6, 6, 1500, BloodwormMC, c_red, "land", false, true, false, false); creatureTypes["bloodSlug"] = new CreatureType(1, 1, 6, 6, 800, BloodSlugMC, c_red, "land", false, false, false, false); creatureTypes["blackSlug"] = new CreatureType(1, 1, 6, 10, 800, BlackslugMC, c_red, "land", false, false, false, false); creatureTypes["tank"] = new CreatureType(1, 1, 0, 99, 800, TankMC, null, "land", false, false, false, false); creatureTypes["maggot"] = new CreatureType(0.5, 4, 0, 1, -1, maggotMC, null, "both", false, false, true, true); creatureTypes["grub"] = new CreatureType(1, 4, 0, 1, 1000, GrubMC, null, "land", false, false, false, false); creatureTypes["seaSlug"] = new CreatureType(2, 4, 0, 1, 1000, SeaslugMC, c_black, "both", false, false, false, false); creatureTypes["eel"] = new CreatureType(1, 1, 6, 5, 1200, EelMC, null, "water", false, false, false, false); creatureTypes["bloodFish"] = new CreatureType(2.5, 1, 6, 6, 800, BloodfishMC, null, "water", false, false, false, false); creatureTypes["newt"] = new CreatureType(10, 10, 0, 1, 800, NewtMC, c_black, "both", false, false, false, false); creatureTypes["centipede"] = new CreatureType(6, 5, 0, 1, 1000, CentipedeMC, null, "land", false, false, false, false); creatureTypes["scorpion"] = new CreatureType(6, 5, 10, 9, 800, ScorpionMC, null, "land", false, false, false, false); creatureTypes["lizard"] = new CreatureType(6, 6, 0, 10, 800, LizardMC, null, "both", false, false, false, false); } public function updateGame(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; moveScreen(); mouseInput(); if (dragCreature != null){ creatures[dragCreature].pos.x = Math.max(Math.min(850, creatures[dragCreature].pos.x), 200); }; _local1 = 0; while (_local1 < creatures.length) { creatures[_local1].clip.x = ((creatures[_local1].pos.x - viewPos.x) + 50); creatures[_local1].clip.y = ((creatures[_local1].pos.y - viewPos.y) + 50); _local2 = creatures[_local1].clip.state.slice(0, 7); switch (_local2){ case "idle": if (creatures[_local1].life > 0){ creatures[_local1].life--; if (creatures[_local1].life == 0){ creatures[_local1].clip.gotoAndPlay(c_FRAME_TIMEOUT); }; }; if (dragCreature != _local1){ creatures[_local1].turnCounter--; if (creatures[_local1].turnCounter < 0){ if (Math.random() < 0.5){ creatures[_local1].turnState = 0; } else { if (Math.random() > 0.5){ creatures[_local1].turnState = 1; } else { creatures[_local1].turnState = -1; }; }; creatures[_local1].turnCounter = Math.floor((Math.random() * 50)); }; creatures[_local1].angle = (creatures[_local1].angle + ((creatures[_local1].turnState * creatureTypes[creatures[_local1].type].turnSpeed) * Math.random())); creatures[_local1].clip.rotation = creatures[_local1].angle; moveVector.x = (Math.cos((creatures[_local1].angle * (Math.PI / 180))) * creatureTypes[creatures[_local1].type].speed); moveVector.y = (Math.sin((creatures[_local1].angle * (Math.PI / 180))) * creatureTypes[creatures[_local1].type].speed); }; turn = 0; if (((((moveVector.x + creatures[_local1].pos.x) > 850)) || ((((((creatureTypes[creatures[_local1].type].territory == "land")) && ((creatures[_local1].pos.y < 470)))) && (((moveVector.x + creatures[_local1].pos.x) > 580)))))){ if (creatures[_local1].angle > 180){ turn = -2; } else { turn = 2; }; } else { if (((((moveVector.x + creatures[_local1].pos.x) < 200)) || ((((((creatureTypes[creatures[_local1].type].territory == "water")) && ((creatures[_local1].pos.y < 400)))) && (((moveVector.x + creatures[_local1].pos.x) < 649)))))){ if (creatures[_local1].angle > 180){ turn = 2; } else { turn = -2; }; } else { creatures[_local1].pos.x = (creatures[_local1].pos.x + moveVector.x); }; }; if (((((moveVector.y + creatures[_local1].pos.y) > 850)) || ((((((creatureTypes[creatures[_local1].type].territory == "land")) && ((creatures[_local1].pos.x > 580)))) && (((moveVector.y + creatures[_local1].pos.y) < 470)))))){ if (creatures[_local1].angle > 90){ turn = 2; } else { turn = -2; }; } else { if (((((moveVector.y + creatures[_local1].pos.y) < 150)) || ((((((creatureTypes[creatures[_local1].type].territory == "water")) && ((creatures[_local1].pos.x > 449)))) && (((moveVector.y + creatures[_local1].pos.y) > 400)))))){ if (creatures[_local1].angle > 270){ turn = 2; } else { turn = -2; }; } else { creatures[_local1].pos.y = (creatures[_local1].pos.y + moveVector.y); }; }; creatures[_local1].angle = (creatures[_local1].angle + turn); if (creatures[_local1].angle < 0){ creatures[_local1].angle = (creatures[_local1].angle + 360); }; if (creatures[_local1].angle > 360){ creatures[_local1].angle = (creatures[_local1].angle - 360); }; if (dragCreature != _local1){ if (creatureTypes[creatures[_local1].type].corpse){ if ((((creatures[_local1].pos.x < 420)) && ((creatures[_local1].pos.y < 360)))){ creatures[_local1].clip.gotoAndPlay(6); }; }; if (creatureTypes[creatures[_local1].type].nest){ if ((((creatures[_local1].pos.x < 330)) && ((creatures[_local1].pos.y > 720)))){ creatures[_local1].clip.gotoAndPlay(9); }; }; if (creatureTypes[creatures[_local1].type].earth){ if ((((creatures[_local1].pos.x > 650)) && ((creatures[_local1].pos.y > 720)))){ creatures[_local1].clip.gotoAndPlay(8); }; }; if (creatureTypes[creatures[_local1].type].water){ if ((((creatures[_local1].pos.x > 649)) && ((creatures[_local1].pos.y < 400)))){ creatures[_local1].clip.gotoAndPlay(7); }; } else { if (creatureTypes[creatures[_local1].type].territory == "land"){ if ((((creatures[_local1].pos.x > 649)) && ((creatures[_local1].pos.y < 400)))){ creatures[_local1].clip.gotoAndPlay(4); }; }; }; if (creatureTypes[creatures[_local1].type].territory == "water"){ if ((((creatures[_local1].pos.x < 649)) || ((creatures[_local1].pos.y > 400)))){ creatures[_local1].clip.gotoAndPlay(4); }; }; }; if (((((((Math.random() * 100) > 50)) && (!((creatureTypes[creatures[_local1].type].slimeType == null))))) && (!((_local1 == dragCreature))))){ slimeLayerBD.copyPixels(splats[(Math.floor((Math.random() * 5)) + creatureTypes[creatures[_local1].type].slimeType)], new Rectangle(0, 0, 48, 48), new Point((creatures[_local1].pos.x - (Math.random() * 24)), (creatures[_local1].pos.y - (Math.random() * 24))), null, null, true); }; break; case "eating": creatures[_local1].bioMass++; if (creatures[_local1].bioMass == 5){ creatures[_local1].clip.gotoAndPlay(c_FRAME_MASS); }; break; case "mutate:": _local3 = creatures[_local1].clip.state.slice(8, 100); newObj = new creatureTypes[_local3].clip(); i = creatures.length; creatures[i] = new Creature(_local3, creatureTypes[_local3].lifeSpan); creatures[i].pos.x = creatures[_local1].pos.x; creatures[i].pos.y = creatures[_local1].pos.y; creatures[i].clip = stage.addChildAt(newObj, (stage.numChildren - 8)); creatures[i].clip.rotation = creatures[_local1].clip.rotation; creatures[i].angle = creatures[i].clip.rotation; creatures[i].clip.play(); creatures[i].clip.state = "idle"; creatures[i].bioMass = 0; stage.removeChild(creatures[_local1].clip); if (dragCreature > _local1){ dragCreature--; }; creatures.splice(_local1, 1); getCreature(_local3); break; case "beetleS": _local4 = 0; while (_local4 < 4) { if (creatures[_local1].type == "bloodSlug"){ _local5 = "redBeetle"; } else { _local5 = "blackBeetle"; }; getCreature(_local5); newObj = new creatureTypes[_local5].clip(); _local6 = creatures.length; creatures[_local6] = new Creature(_local5, creatureTypes[_local5].lifeSpan); creatures[_local6].pos.x = creatures[_local1].pos.x; creatures[_local6].pos.y = creatures[_local1].pos.y; creatures[_local6].clip = stage.addChildAt(newObj, (stage.numChildren - 7)); creatures[_local6].clip.rotation = (Math.random() * 360); creatures[_local6].angle = creatures[_local6].clip.rotation; creatures[_local6].clip.play(); creatures[_local6].clip.state = "idle"; creatures[_local6].bioMass = 0; _local4++; }; break; case "dying": stage.removeChild(creatures[_local1].clip); stage.addChildAt(creatures[_local1].clip, 3); break; case "dead": creatures[_local1].clip.alpha = (creatures[_local1].clip.alpha - 0.0001); if (creatures[_local1].clip.alpha == 0){ stage.removeChild(creatures[_local1].clip); if (dragCreature > _local1){ dragCreature--; }; creatures.splice(_local1, 1); }; break; case "spin": creatures[_local1].angle = (creatures[_local1].angle + 180); if (creatures.angle > 360){ creatures.angle = (creatures.angle - 360); }; creatures[_local1].clip.rotation = creatures[_local1].angle; break; }; if (creatureTypes[creatures[_local1].type].attack > 0){ _local7 = creatureAtPoint((creatures[_local1].pos.x + (Math.cos((creatures[_local1].angle * (Math.PI / 180))) * 64)), (creatures[_local1].pos.y + (Math.sin((creatures[_local1].angle * (Math.PI / 180))) * 64)), 32); if (((((((!((_local7 == null))) && ((creatures[_local1].clip.state == "idle")))) && ((creatureTypes[creatures[_local7].type].defense < creatureTypes[creatures[_local1].type].attack)))) && ((creatures[_local7].clip.state == "idle")))){ if ((((((creatureTypes[creatures[_local1].type].territory == "both")) || ((((creatureTypes[creatures[_local1].type].territory == "water")) && (!((creatureTypes[creatures[_local7].type].territory == "land"))))))) || ((((creatureTypes[creatures[_local1].type].territory == "land")) && (!((creatureTypes[creatures[_local7].type].territory == "water"))))))){ creatures[_local1].clip.gotoAndPlay(c_FRAME_ATTACK); creatures[_local7].clip.gotoAndPlay(c_FRAME_DEATH); }; }; }; _local1++; }; _local6 = creatures.length; if (_local6 < creatureNum){ getCreature("maggot"); creatures[_local6] = new Creature("maggot", creatureTypes["maggot"].lifeSpan); creatures[_local6] = createCreature("maggot"); creatures[_local6].pos = new Point(0, 0); newObj = new creatureTypes[creatures[_local6].type].clip(); creatures[_local6].clip = stage.addChildAt(newObj, 3); creatures[_local6].pos.x = ((Math.random() * 200) + 200); creatures[_local6].pos.y = ((Math.random() * 200) + 150); creatures[_local6].clip.rotation = (Math.random() * 360); creatures[_local6].angle = creatures[_local6].clip.rotation; }; bkgBD.copyPixels(roomBD, new Rectangle(viewPos.x, viewPos.y, 500, 500), new Point(0, 0)); slimeBD.copyPixels(slimeLayerBD, new Rectangle(viewPos.x, viewPos.y, 500, 500), new Point(0, 0)); filter.alpha = Math.random(); ripple.x = (ripplePos.x - viewPos.x); ripple.y = (ripplePos.y - viewPos.y); if (Math.random() > 0.99){ slimeLayerBuffer.fillRect(worldRect, 0); slimeLayerBuffer.draw(slimeLayerBD, defaultMatrix, fadeCT); slimeLayerBD.fillRect(worldRect, 0); slimeLayerBD.copyPixels(slimeLayerBuffer, worldRect, zeroPoint); }; } function frame6(){ stop(); musicChannel = new SoundChannel(); music = new musicSND(); musicChannel = music.play(0, 100); stage.addEventListener("enterFrame", instructions); beginButton2.addEventListener(MouseEvent.CLICK, beginButton2Press); } public function rathergood(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest("http://rathergood.com"); navigateToURL(_local2, "blank"); } public function moveScreen(){ if (((keys["up"]) || (((!((dragCreature == null))) && ((mousePos.y < 75)))))){ viewSpeed.y = Math.max((viewSpeed.y - accel), -(topSpeed)); }; if (((keys["down"]) || (((!((dragCreature == null))) && ((mousePos.y > 525)))))){ viewSpeed.y = Math.min((viewSpeed.y + accel), topSpeed); }; if (((keys["left"]) || (((!((dragCreature == null))) && ((mousePos.x < 75)))))){ viewSpeed.x = Math.max((viewSpeed.x - accel), -(topSpeed)); }; if (((keys["right"]) || (((!((dragCreature == null))) && ((mousePos.x > 525)))))){ viewSpeed.x = Math.min((viewSpeed.x + accel), topSpeed); }; if (((((!(keys["up"])) && (!(keys["down"])))) && (((((((!((dragCreature == null))) && ((mousePos.y > 75)))) && ((mousePos.y < 525)))) || ((dragCreature == null)))))){ if (viewSpeed.y < 0){ viewSpeed.y = Math.min((viewSpeed.y + accel), 0); } else { viewSpeed.y = Math.max((viewSpeed.y - accel), 0); }; }; if (((((!(keys["left"])) && (!(keys["right"])))) && (((((((!((dragCreature == null))) && ((mousePos.x > 75)))) && ((mousePos.x < 525)))) || ((dragCreature == null)))))){ if (viewSpeed.x < 0){ viewSpeed.x = Math.min((viewSpeed.x + accel), 0); } else { viewSpeed.x = Math.max((viewSpeed.x - accel), 0); }; }; viewPos.x = (viewPos.x + viewSpeed.x); viewPos.y = (viewPos.y + viewSpeed.y); if (viewPos.x > 524){ viewSpeed.x = 0; viewPos.x = 524; }; if (viewPos.x < 0){ viewSpeed.x = 0; viewPos.x = 0; }; if (viewPos.y > 524){ viewSpeed.y = 0; viewPos.y = 524; }; if (viewPos.y < 0){ viewSpeed.y = 0; viewPos.y = 0; }; water.x = (665 - viewPos.x); water.y = (205 - viewPos.y); } public function mouseButtonReleased(_arg1:MouseEvent):void{ dragScreen = false; if (dragCreature != null){ if ((((creatures[dragCreature].pos.x > 580)) && ((creatures[dragCreature].pos.y < 470)))){ ripplePos.x = (creatures[dragCreature].pos.x + 50); ripplePos.y = (creatures[dragCreature].pos.y + 50); ripple.gotoAndPlay(2); if (creatures[dragCreature].pos.x < 615){ creatures[dragCreature].pos.x = 579; } else { if (creatures[dragCreature].pos.x < 650){ creatures[dragCreature].pos.x = 650; }; }; if (creatures[dragCreature].pos.y > 435){ creatures[dragCreature].pos.y = 471; } else { if (creatures[dragCreature].pos.y > 400){ creatures[dragCreature].pos.y = 399; }; }; }; if ((((((creatures[dragCreature].pos.x > 580)) && ((creatures[dragCreature].pos.x < 615)))) && ((creatures[dragCreature].pos.y < 470)))){ creatures[dragCreature].pos.x = 579; }; stage.removeChild(creatures[dragCreature].clip); stage.addChildAt(creatures[dragCreature].clip, (stage.numChildren - 8)); dragCreature = null; }; } public function instructions(_arg1:Event){ instructionsCrawl.y--; } public function keyReleased(_arg1:KeyboardEvent):void{ if ((((_arg1.keyCode == 38)) || ((_arg1.keyCode == 87)))){ keys["up"] = false; }; if ((((_arg1.keyCode == 40)) || ((_arg1.keyCode == 83)))){ keys["down"] = false; }; if ((((_arg1.keyCode == 37)) || ((_arg1.keyCode == 65)))){ keys["left"] = false; }; if ((((_arg1.keyCode == 39)) || ((_arg1.keyCode == 68)))){ keys["right"] = false; }; } public function keyPressed(_arg1:KeyboardEvent):void{ if ((((_arg1.keyCode == 38)) || ((_arg1.keyCode == 87)))){ keys["up"] = true; }; if ((((_arg1.keyCode == 40)) || ((_arg1.keyCode == 83)))){ keys["down"] = true; }; if ((((_arg1.keyCode == 37)) || ((_arg1.keyCode == 65)))){ keys["left"] = true; }; if ((((_arg1.keyCode == 39)) || ((_arg1.keyCode == 68)))){ keys["right"] = true; }; } public function beginButtonPress(_arg1:MouseEvent):void{ beginButton.removeEventListener(MouseEvent.CLICK, beginButtonPress); gotoAndPlay(3); } public function getCreature(_arg1){ if (creatureGet[_arg1] != true){ creatureGet[_arg1] = true; creatureGetCount++; trace((((("Creature get! (" + _arg1) + ") ") + creatureGetCount) + " / 15")); update.play(); trace(update.counter); update.counter.text = (("CREATURES FOUND: " + creatureGetCount) + "/16"); if (creatureGetCount == 16){ stage.addChild(winScreen); pauseState = true; winScreen.playAgain.addEventListener(MouseEvent.CLICK, carryOn); winScreen.gotoRathergood.addEventListener(MouseEvent.CLICK, rathergood); }; }; } public function creatureAtPoint(_arg1, _arg2, _arg3){ var _local7:*; var _local4:* = null; var _local5:* = 999; var _local6:* = 0; while (_local6 < creatures.length) { _local7 = Point.distance(creatures[_local6].pos, new Point(_arg1, _arg2)); if ((((_local7 < _local5)) && (creatures[_local6].clip.grab))){ _local5 = _local7; _local4 = _local6; }; _local6++; }; if (_local5 < _arg3){ return (_local4); }; return (null); } public function mainLoop(_arg1:Event){ if (pauseState != true){ updateGame(); }; } } }//package
Section 22
//RedBeetleMC (RedBeetleMC) package { import flash.display.*; public dynamic class RedBeetleMC extends MovieClip { public var grab; public var state; public function RedBeetleMC(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 19, frame20, 147, frame148, 159, frame160, 178, frame179, 179, frame180); } function frame1(){ grab = true; state = "idle"; gotoAndPlay(20); } function frame2(){ gotoAndPlay(160); } function frame3(){ state = "dead"; } function frame4(){ gotoAndPlay(160); } function frame148(){ gotoAndPlay(20); } function frame20(){ grab = true; } function frame179(){ state = "dying"; } function frame180(){ stop(); state = "dead"; } function frame160(){ state = "dead"; grab = false; } } }//package
Section 23
//RippleMC (RippleMC) package { import flash.display.*; public dynamic class RippleMC extends MovieClip { public function RippleMC(){ addFrameScript(0, frame1, 20, frame21); } function frame21(){ stop(); } function frame1(){ stop(); } } }//package
Section 24
//Room (Room) package { import flash.display.*; public dynamic class Room extends MovieClip { } }//package
Section 25
//ScorpionMC (ScorpionMC) package { import flash.display.*; public dynamic class ScorpionMC extends MovieClip { public var grab; public var state; public function ScorpionMC(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 19, frame20, 43, frame44, 49, frame50, 71, frame72, 72, frame73, 79, frame80, 108, frame109, 109, frame110, 119, frame120, 135, frame136); } function frame110(){ stop(); state = "dead"; } function frame136(){ state = "idle"; gotoAndPlay(20); } function frame50(){ grab = false; state = "dead"; } function frame73(){ stop(); state = "dead"; } function frame72(){ state = "dying"; } function frame10(){ gotoAndPlay(120); } function frame1(){ state = "idle"; grab = true; gotoAndPlay(20); } function frame2(){ gotoAndPlay(50); } function frame3(){ gotoAndPlay(80); } function frame4(){ gotoAndPlay(50); } function frame5(){ } function frame6(){ } function frame7(){ } function frame8(){ } function frame9(){ } function frame44(){ gotoAndPlay(20); } function frame120(){ state = "attacking"; } function frame20(){ grab = true; } function frame80(){ grab = false; state = "dead"; } function frame109(){ state = "dying"; } } }//package
Section 26
//SeaslugMC (SeaslugMC) package { import flash.display.*; public dynamic class SeaslugMC extends MovieClip { public var grab; public var state; public function SeaslugMC(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 19, frame20, 43, frame44, 59, frame60, 83, frame84, 84, frame85, 99, frame100, 131, frame132, 132, frame133); } function frame132(){ state = "dying"; } function frame1(){ state = "idle"; grab = false; gotoAndPlay(20); } function frame2(){ gotoAndPlay(60); } function frame3(){ gotoAndPlay(100); } function frame4(){ } function frame5(){ } function frame6(){ } function frame7(){ } function frame8(){ } function frame44(){ gotoAndPlay(20); } function frame60(){ grab = false; state = "dead"; } function frame84(){ state = "dying"; } function frame20(){ grab = true; state = "idle"; } function frame9(){ } function frame85(){ stop(); state = "dead"; } function frame10(){ } function frame100(){ grab = false; state = "dead"; } function frame133(){ stop(); state = "dead"; } } }//package
Section 27
//SplatMC (SplatMC) package { import flash.display.*; public dynamic class SplatMC extends MovieClip { } }//package
Section 28
//TankMC (TankMC) package { import flash.display.*; public dynamic class TankMC extends MovieClip { public var state; public var grab; public function TankMC(){ addFrameScript(0, frame1, 1, frame2, 3, frame4, 4, frame5, 9, frame10, 19, frame20, 59, frame60, 99, frame100, 168, frame169, 169, frame170); } function frame1(){ grab = true; state = "idle"; gotoAndPlay(20); } function frame2(){ gotoAndPlay(100); } function frame4(){ gotoAndPlay(100); } function frame5(){ } function frame100(){ grab = false; state = "dead"; } function frame10(){ } function frame60(){ gotoAndPlay(20); } function frame20(){ grab = true; } function frame169(){ state = "dying"; } function frame170(){ stop(); state = "dead"; } } }//package
Section 29
//targetMC (targetMC) package { import flash.display.*; public dynamic class targetMC extends MovieClip { } }//package
Section 30
//waterMC (waterMC) package { import flash.display.*; public dynamic class waterMC extends MovieClip { } }//package
Section 31
//WinscreenMC (WinscreenMC) package { import flash.display.*; public dynamic class WinscreenMC extends MovieClip { public var gotoRathergood:SimpleButton; public var playAgain:ContinuebuttonMC; } }//package
Section 32
//WormMC (WormMC) package { import flash.display.*; public dynamic class WormMC extends MovieClip { public var grab; public var state; public function WormMC(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 19, frame20, 178, frame179, 189, frame190, 272, frame273, 273, frame274, 289, frame290, 304, frame305, 305, frame306, 329, frame330, 437, frame438, 438, frame439, 477, frame478, 489, frame490, 531, frame532, 539, frame540, 644, frame645, 645, frame646, 670, frame671); } function frame273(){ state = "dying"; } function frame274(){ stop(); state = "dead"; } function frame330(){ grab = false; } function frame179(){ gotoAndPlay(20); } function frame532(){ stop(); state = "mutate: eel"; } function frame478(){ stop(); state = "mutate: bloodWorm"; } function frame671(){ stop(); state = "mutate: centipede"; } function frame439(){ state = "mutating"; } function frame438(){ state = "spin"; } function frame10(){ } function frame540(){ grab = false; state = "mutating"; } function frame1(){ state = "idle"; grab = true; gotoAndPlay((20 + Math.floor((Math.random() * 160)))); } function frame2(){ gotoAndPlay(190); } function frame3(){ gotoAndPlay(290); } function frame4(){ gotoAndPlay(190); } function frame5(){ } function frame6(){ state = "mutating"; gotoAndPlay(330); } function frame7(){ state = "mutating"; gotoAndPlay(490); } function frame305(){ state = "dying"; } function frame306(){ stop(); state = "dead"; } function frame645(){ state = "spin"; } function frame8(){ gotoAndPlay(540); } function frame9(){ } function frame20(){ grab = true; } function frame190(){ grab = false; state = "dead"; } function frame290(){ grab = false; state = "dead"; } function frame490(){ grab = false; } function frame646(){ state = "mutating"; } } }//package

Library Items

Symbol 1 GraphicUsed by:14
Symbol 2 BitmapUsed by:3
Symbol 3 GraphicUses:2Used by:14
Symbol 4 BitmapUsed by:5
Symbol 5 GraphicUses:4Used by:14
Symbol 6 BitmapUsed by:7
Symbol 7 GraphicUses:6Used by:14
Symbol 8 BitmapUsed by:9
Symbol 9 GraphicUses:8Used by:14
Symbol 10 BitmapUsed by:11
Symbol 11 GraphicUses:10Used by:14
Symbol 12 BitmapUsed by:13
Symbol 13 GraphicUses:12Used by:14
Symbol 14 MovieClipUses:1 3 5 7 9 11 13Used by:Timeline
Symbol 15 BitmapUsed by:16
Symbol 16 GraphicUses:15Used by:Timeline
Symbol 17 FontUsed by:18 22 161 212 213 214 216 217 225
Symbol 18 TextUses:17Used by:Timeline
Symbol 19 BitmapUsed by:20
Symbol 20 GraphicUses:19Used by:21
Symbol 21 ButtonUses:20Used by:Timeline
Symbol 22 EditableTextUses:17Used by:Timeline
Symbol 23 BitmapUsed by:24
Symbol 24 GraphicUses:23Used by:27 43
Symbol 25 BitmapUsed by:26
Symbol 26 GraphicUses:25Used by:27
Symbol 27 MovieClip {BlackBeetleMC}Uses:24 26Used by:223
Symbol 28 BitmapUsed by:29
Symbol 29 GraphicUses:28Used by:40 91 126 147 197
Symbol 30 BitmapUsed by:31
Symbol 31 GraphicUses:30Used by:40 147
Symbol 32 BitmapUsed by:33
Symbol 33 GraphicUses:32Used by:40 147
Symbol 34 BitmapUsed by:35
Symbol 35 GraphicUses:34Used by:40 91 98 147 154 156
Symbol 36 BitmapUsed by:37
Symbol 37 GraphicUses:36Used by:40 91 98 144 147 204
Symbol 38 BitmapUsed by:39
Symbol 39 GraphicUses:38Used by:40 91 98 144 154 156 203
Symbol 40 MovieClip {BloodfishMC}Uses:29 31 33 35 37 39Used by:223
Symbol 41 BitmapUsed by:42
Symbol 42 GraphicUses:41Used by:43
Symbol 43 MovieClip {RedBeetleMC}Uses:24 42Used by:223
Symbol 44 BitmapUsed by:45
Symbol 45 GraphicUses:44Used by:91 144
Symbol 46 BitmapUsed by:47
Symbol 47 GraphicUses:46Used by:91 144
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:91 144
Symbol 50 BitmapUsed by:51
Symbol 51 GraphicUses:50Used by:91 144
Symbol 52 BitmapUsed by:53
Symbol 53 GraphicUses:52Used by:91 144
Symbol 54 BitmapUsed by:55
Symbol 55 GraphicUses:54Used by:91 144
Symbol 56 BitmapUsed by:57
Symbol 57 GraphicUses:56Used by:91 144
Symbol 58 BitmapUsed by:59
Symbol 59 GraphicUses:58Used by:91 144
Symbol 60 SoundUsed by:91 154 156 196 204
Symbol 61 BitmapUsed by:62
Symbol 62 GraphicUses:61Used by:91 98 144 196 203 204
Symbol 63 SoundUsed by:91 144 176
Symbol 64 BitmapUsed by:65
Symbol 65 GraphicUses:64Used by:91 147
Symbol 66 SoundUsed by:91 126 144 147 197 203
Symbol 67 BitmapUsed by:68
Symbol 68 GraphicUses:67Used by:91 147
Symbol 69 BitmapUsed by:70
Symbol 70 GraphicUses:69Used by:91 147
Symbol 71 SoundUsed by:91 203
Symbol 72 BitmapUsed by:73
Symbol 73 GraphicUses:72Used by:91 147
Symbol 74 BitmapUsed by:75
Symbol 75 GraphicUses:74Used by:91 147
Symbol 76 BitmapUsed by:77
Symbol 77 GraphicUses:76Used by:91 176
Symbol 78 BitmapUsed by:79
Symbol 79 GraphicUses:78Used by:91 176
Symbol 80 BitmapUsed by:81
Symbol 81 GraphicUses:80Used by:91 176
Symbol 82 GraphicUsed by:91
Symbol 83 BitmapUsed by:84
Symbol 84 GraphicUses:83Used by:91 154 156
Symbol 85 BitmapUsed by:86
Symbol 86 GraphicUses:85Used by:91 154 156
Symbol 87 BitmapUsed by:88
Symbol 88 GraphicUses:87Used by:91 154 156
Symbol 89 BitmapUsed by:90
Symbol 90 GraphicUses:89Used by:91 98 144 147 196
Symbol 91 MovieClip {WormMC}Uses:45 47 49 51 53 55 57 59 60 39 62 35 63 29 65 66 68 70 71 73 37 75 77 79 81 82 84 86 88 90Used by:223
Symbol 92 BitmapUsed by:93
Symbol 93 GraphicUses:92Used by:94
Symbol 94 MovieClip {BorderMC}Uses:93Used by:223
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:97
Symbol 97 MovieClip {Room}Uses:96Used by:223
Symbol 98 MovieClip {SplatMC}Uses:39 62 35 90 37Used by:223
Symbol 99 BitmapUsed by:100
Symbol 100 GraphicUses:99Used by:103
Symbol 101 BitmapUsed by:102
Symbol 102 GraphicUses:101Used by:103
Symbol 103 MovieClip {targetMC}Uses:100 102Used by:223
Symbol 104 BitmapUsed by:105
Symbol 105 GraphicUses:104Used by:106
Symbol 106 MovieClip {waterMC}Uses:105Used by:223
Symbol 107 BitmapUsed by:108
Symbol 108 GraphicUses:107Used by:126 147 197
Symbol 109 BitmapUsed by:110
Symbol 110 GraphicUses:109Used by:126 147 197
Symbol 111 BitmapUsed by:112
Symbol 112 GraphicUses:111Used by:126 147 197
Symbol 113 SoundUsed by:126 147 197
Symbol 114 SoundUsed by:126 133 147 154 156 196 197 198
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:126 197
Symbol 117 BitmapUsed by:118
Symbol 118 GraphicUses:117Used by:126 197
Symbol 119 BitmapUsed by:120
Symbol 120 GraphicUses:119Used by:126 133 197
Symbol 121 BitmapUsed by:122
Symbol 122 GraphicUses:121Used by:126 133 197
Symbol 123 BitmapUsed by:124
Symbol 124 GraphicUses:123Used by:126 133 197
Symbol 125 SoundUsed by:126 144
Symbol 126 MovieClip {BloodSlugMC}Uses:108 29 110 112 113 114 116 66 118 120 122 124 125Used by:223
Symbol 127 BitmapUsed by:128
Symbol 128 GraphicUses:127Used by:133
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:133
Symbol 131 BitmapUsed by:132
Symbol 132 GraphicUses:131Used by:133
Symbol 133 MovieClip {TankMC}Uses:120 122 124 128 130 132 114Used by:223
Symbol 134 BitmapUsed by:135
Symbol 135 GraphicUses:134Used by:144
Symbol 136 BitmapUsed by:137
Symbol 137 GraphicUses:136Used by:144
Symbol 138 BitmapUsed by:139
Symbol 139 GraphicUses:138Used by:144
Symbol 140 BitmapUsed by:141
Symbol 141 GraphicUses:140Used by:144 203
Symbol 142 BitmapUsed by:143
Symbol 143 GraphicUses:142Used by:144 203
Symbol 144 MovieClip {maggotMC}Uses:135 137 139 63 37 90 45 47 49 51 53 55 57 59 125 62 39 141 143 66Used by:223
Symbol 145 SoundUsed by:147 154
Symbol 146 SoundUsed by:147 197
Symbol 147 MovieClip {BloodwormMC}Uses:29 75 73 70 68 65 90 37 113 108 110 112 145 146 114 35 66 31 33Used by:223
Symbol 148 BitmapUsed by:149
Symbol 149 GraphicUses:148Used by:154 156
Symbol 150 BitmapUsed by:151
Symbol 151 GraphicUses:150Used by:154 156
Symbol 152 BitmapUsed by:153
Symbol 153 GraphicUses:152Used by:154 156
Symbol 154 MovieClip {CentipedeMC}Uses:84 86 88 60 35 39 114 145 149 151 153Used by:223
Symbol 155 SoundUsed by:156 176
Symbol 156 MovieClip {ScorpionMC}Uses:84 86 88 149 151 153 114 60 35 39 155Used by:223
Symbol 157 FontUsed by:158
Symbol 158 EditableTextUses:157Used by:165
Symbol 159 GraphicUsed by:160
Symbol 160 MovieClipUses:159Used by:165
Symbol 161 TextUses:17Used by:165
Symbol 162 GraphicUsed by:163
Symbol 163 MovieClipUses:162Used by:165
Symbol 164 SoundUsed by:165
Symbol 165 MovieClip {NewcreatureMC}Uses:158 160 161 163 164Used by:223
Symbol 166 BitmapUsed by:167
Symbol 167 GraphicUses:166Used by:176 196
Symbol 168 BitmapUsed by:169
Symbol 169 GraphicUses:168Used by:176 196
Symbol 170 BitmapUsed by:171
Symbol 171 GraphicUses:170Used by:176 196
Symbol 172 BitmapUsed by:173
Symbol 173 GraphicUses:172Used by:176 196
Symbol 174 BitmapUsed by:175
Symbol 175 GraphicUses:174Used by:176 196
Symbol 176 MovieClip {EelMC}Uses:77 79 81 155 63 167 169 171 173 175Used by:223
Symbol 177 BitmapUsed by:178
Symbol 178 GraphicUses:177Used by:179 181
Symbol 179 MovieClipUses:178Used by:223
Symbol 180 SoundUsed by:181
Symbol 181 MovieClip {RippleMC}Uses:178 180Used by:223
Symbol 182 BitmapUsed by:183
Symbol 183 GraphicUses:182Used by:196 198
Symbol 184 BitmapUsed by:185
Symbol 185 GraphicUses:184Used by:196 198
Symbol 186 BitmapUsed by:187
Symbol 187 GraphicUses:186Used by:196 198
Symbol 188 BitmapUsed by:189
Symbol 189 GraphicUses:188Used by:196 198
Symbol 190 BitmapUsed by:191
Symbol 191 GraphicUses:190Used by:196 198
Symbol 192 BitmapUsed by:193
Symbol 193 GraphicUses:192Used by:196 198
Symbol 194 BitmapUsed by:195
Symbol 195 GraphicUses:194Used by:196 198
Symbol 196 MovieClip {NewtMC}Uses:167 169 171 173 175 62 60 90 183 185 187 189 191 193 195 114Used by:223
Symbol 197 MovieClip {BlackslugMC}Uses:108 29 110 112 113 114 116 66 118 120 122 124 146Used by:223
Symbol 198 MovieClip {LizardMC}Uses:183 185 187 189 191 193 195 114Used by:223
Symbol 199 BitmapUsed by:200
Symbol 200 GraphicUses:199Used by:203 204
Symbol 201 BitmapUsed by:202
Symbol 202 GraphicUses:201Used by:203 204
Symbol 203 MovieClip {GrubMC}Uses:141 143 66 62 39 200 202 71Used by:223
Symbol 204 MovieClip {SeaslugMC}Uses:200 202 60 62 37Used by:223
Symbol 205 BitmapUsed by:206
Symbol 206 GraphicUses:205Used by:207
Symbol 207 Button {HelpbuttonMC}Uses:206Used by:223
Symbol 208 BitmapUsed by:209
Symbol 209 GraphicUses:208Used by:210
Symbol 210 Button {ContinuebuttonMC}Uses:209Used by:215 221 223
Symbol 211 GraphicUsed by:215 221
Symbol 212 TextUses:17Used by:215
Symbol 213 EditableTextUses:17Used by:215
Symbol 214 TextUses:17Used by:215
Symbol 215 MovieClip {HelpscreenMC}Uses:211 212 213 210 214Used by:223
Symbol 216 TextUses:17Used by:221
Symbol 217 TextUses:17Used by:221
Symbol 218 BitmapUsed by:219
Symbol 219 GraphicUses:218Used by:220
Symbol 220 ButtonUses:219Used by:221
Symbol 221 MovieClip {WinscreenMC}Uses:211 216 217 210 220Used by:223
Symbol 222 Sound {musicSND}Used by:223
Symbol 223 MovieClipUses:27 40 43 91 94 97 98 103 106 126 133 144 147 154 156 165 176 179 181 196 197 198 203 204 207 210 215 221 222Used by:Timeline
Symbol 224 GraphicUsed by:Timeline
Symbol 225 TextUses:17Used by:226
Symbol 226 MovieClip {unnaturalselection03_fla.instructions_35}Uses:225Used by:Timeline

Instance Names

"loaderBKG"Frame 1Symbol 14 MovieClip
"beginButton"Frame 1Symbol 21 Button
"loadingText"Frame 1Symbol 22 EditableText
"beginButton2"Frame 6Symbol 21 Button
"instructionsCrawl"Frame 6Symbol 226 MovieClip {unnaturalselection03_fla.instructions_35}
"counter"Symbol 165 MovieClip {NewcreatureMC} Frame 1Symbol 158 EditableText
"getCounter"Symbol 215 MovieClip {HelpscreenMC} Frame 1Symbol 213 EditableText
"closeHelp"Symbol 215 MovieClip {HelpscreenMC} Frame 1Symbol 210 Button {ContinuebuttonMC}
"playAgain"Symbol 221 MovieClip {WinscreenMC} Frame 1Symbol 210 Button {ContinuebuttonMC}
"gotoRathergood"Symbol 221 MovieClip {WinscreenMC} Frame 1Symbol 220 Button

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 11278 bytes "<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmln ..."




http://swfchan.com/17/84885/info.shtml
Created: 31/3 -2019 05:41:47 Last modified: 31/3 -2019 05:41:47 Server time: 30/04 -2024 21:25:56