Instance of Symbol 233 MovieClip [Flash Ad (NewgroundsAPI)] in Frame 1
//component parameters
onClipEvent (construct) {
show_background = true;
}
Frame 3
function ResetSave() {
Save.data.Version = VersionName;
Save.data.KnownThings = [];
Save.data.TilesPos = "";
Save.data.Things = ThingsI;
KnownThings = [];
i = 0;
while (i < TileN) {
removeMovieClip(Tiles[i]);
i = i + 1;
}
Tiles = [];
TileN = 0;
i = 0;
while (i < 8) {
if ((i % 4) == 0) {
NewTile = CreateTile(0, 0, 0);
}
if ((i % 4) == 1) {
NewTile = CreateTile(0, 0, 1);
}
if ((i % 4) == 2) {
NewTile = CreateTile(0, 0, 2);
}
if ((i % 4) == 3) {
NewTile = CreateTile(0, 0, 3);
}
AddKnown(NewTile.Index);
NewTile._xd = Math.sin(((i / 8) * Math.PI) * 2) * 10;
NewTile._yd = Math.cos(((i / 8) * Math.PI) * 2) * 10;
NewTile.AngleD = (FRandom(2) - 1) * 10;
NewTile.Angle = random(360);
NewTile._x = Stage.width / 2;
NewTile._y = Stage.height / 2;
NewTile.BumpDelay = 30;
NewTile.T = 500;
i = i + 1;
}
SaveGame();
}
function SaveGame() {
TilesPos = "";
i = 0;
while (i < TileN) {
if ((Tiles[i] != undefined) && (Tiles[i] != -1)) {
TilesPos = TilesPos + (((((Tiles[i]._x + ",") + Tiles[i]._y) + ",") + Tiles[i].Index) + ";");
}
i = i + 1;
}
Save.data.TilesPos = TilesPos;
Save.data.KnownThings = KnownThings;
}
function LoadGame() {
TilesPos = Save.data.TilesPos;
if ((TilesPos != "") && (TilesPos != undefined)) {
TilesPos = TilesPos.split(";");
i = 0;
while (i < TilesPos.length) {
ThisTile = TilesPos[i].split(",");
if (ThisTile.length > 1) {
NewTile = CreateTile(ThisTile[0], ThisTile[1], ThisTile[2]);
NewTile.T = 500;
NewTile.Angle = random(360);
}
i = i + 1;
}
}
KnownThings = Save.data.KnownThings;
Library.Recompile = true;
}
function getFPS() {
if (signal == true) {
time = getTimer();
} else {
tempo = int(1000 / (getTimer() - time));
}
signal = !signal;
return(tempo);
}
function Choose(choices) {
return(choices[random(choices.length)]);
}
function Random(Max) {
return(Math.floor(Math.random() * Max));
}
function FRandom(Max) {
return(Math.random() * Max);
}
function FindList(inList, toFind) {
var _local1 = 0;
var _local3 = false;
_local1 = 0;
while (_local1 < inList.length) {
if (inList[_local1] == toFind) {
_local3 = true;
}
_local1 = _local1 + 1;
}
return(_local3);
}
function PointDistance(x1, y1, x2, y2) {
return(Math.sqrt(Math.pow(x2 - x1, 2) + Math.pow(y2 - y1, 2)));
}
function PointDirection(x1, y1, x2, y2) {
return(57.2957795130823 * Math.atan2(y1 - y2, x2 - x1));
}
function Burst(toX, toY, toSpiral) {
NewHalo = _root.createEmptyMovieClip("NewHalo-" + (T % 300), 5000 + (T % 300));
NewHalo._x = toX;
NewHalo._y = toY;
NewHalo._alpha = 0;
NewHalo.spiral = toSpiral;
i = 0;
i = 0;
while (i < 20) {
HaloSprite = NewHalo.attachMovie("HaloSprite", "Halo-" + i, i);
HaloSprite.blendMode = 8;
HaloSprite._alpha = 50;
HaloSprite._xd = (FRandom(2) - 1) * 3;
HaloSprite._yd = (FRandom(2) - 1) * 3;
HaloSprite.T = random(20);
HaloSprite._width = 0;
HaloSprite._height = 0;
HaloSprite.onEnterFrame = function () {
this._alpha = 50 * (1 - (this.T / 60));
this._width = (1 - (this.T / 60)) * 20;
this._height = (1 - (this.T / 60)) * 20;
this._x = this._x + this._xd;
this._y = this._y + this._yd;
this._xd = this._xd * 0.95;
this._yd = this._yd * 0.95;
this.T = this.T + 1;
};
NewHalo._alpha = 100;
NewHalo.T = 0;
NewHalo.onEnterFrame = function () {
this._rotation = this._rotation + 2;
this.T = this.T + 1;
if (this.T >= 60) {
removeMovieClip(this);
}
};
i = i + 1;
}
}
function NewRecipe(Ing1, Ing2, Outcome) {
Ingredient1[RecipeN] = Ing1;
Ingredient2[RecipeN] = Ing2;
Reaction[RecipeN] = Outcome;
RecipeN = RecipeN + 1;
}
function React(Ing1, Ing2) {
ThisRecipe = -1;
i = 0;
while (i < RecipeN) {
if (((Ingredient1[i] == Ing1) && (Ingredient2[i] == Ing2)) || ((Ingredient2[i] == Ing1) && (Ingredient1[i] == Ing2))) {
ThisRecipe = i;
}
i = i + 1;
}
if (ThisRecipe != -1) {
return(Reaction[ThisRecipe]);
}
return(-1);
}
function AddKnown(knowWhat) {
if (FindList(KnownThings, knowWhat) == false) {
Library.Recompile = true;
KnownThings.push(knowWhat);
}
}
function ThingIndex(thingName) {
var _local1 = 0;
var _local2 = -1;
_local1 = 0;
while (_local1 < ThingsI) {
if (Thing[_local1] == thingName) {
_local2 = _local1;
}
_local1 = _local1 + 1;
}
return(_local2);
}
function CreateTile(toX, toY, type) {
NewTile = Game.createEmptyMovieClip("Tile-" + TileN, Game.getNextHighestDepth());
NewTile.attachMovie("Pebble", "Graphic", 1);
NewTile.Graphic.gotoAndStop(Choose([1, 2, 3]));
NewTile.attachMovie("Tile", "Square", -1);
NewTile.Square._alpha = 0;
NewTile.Graphic.filters = [];
NewTile.createTextField("Text", 2, -100, -32, 200, 30);
NewTile.Text.selectable = false;
NewTile.TextAlpha = 10;
NewTile.TextAlphaGoal = 0;
NewTile._x = toX;
NewTile._y = toY;
NewTile._xd = 0;
NewTile._yd = 0;
NewTile.id = TileN;
NewTile.Mix = -1;
NewTile.Angle = 0;
NewTile.AngleD = 0;
NewTile.T = 0;
NewTile.BumpDelay = 5;
NewTile.Bump = false;
NewTile.Index = type;
NewTile.createEmptyMovieClip("Picture", 5);
NewTile.Picture._x = -16;
NewTile.Picture._y = -16;
NewTile.Picture.bitmap = flash.display.BitmapData.loadBitmap(ThingPic[NewTile.Index]);
NewTile.Picture.attachBitmap(NewTile.Picture.bitmap, 1);
Tiles[TileN] = NewTile;
NewTile.onEnterFrame = function () {
Filters = new Array();
Filters = [];
PicFilters = [];
PicFilters.push(new flash.filters.GlowFilter(0, 1, 2, 2, 2, 1, false, false));
if (((CanReactTo[0] != "none") && (this.Index != -1)) && (Selected != -1)) {
if ((FindList(CanReactTo, this.Index) == true) && (Selected != this.id)) {
Filters.push(BlueGlow);
}
}
if (this.Shine == true) {
Filters.push(InGlow, WhiteGlow);
this.Shine = false;
}
SpawnGlow = 150;
if (this.T < SpawnGlow) {
this.MyInnerGlow = new flash.filters.GlowFilter(16777215, 1, 20 * (1 - (this.T / SpawnGlow)), 20 * (1 - (this.T / SpawnGlow)), 3, 1, true, false);
this.MyGlow = new flash.filters.GlowFilter(16777215, 1, 20 * (1 - (this.T / SpawnGlow)), 20 * (1 - (this.T / SpawnGlow)), 3, 1, false, false);
PicFilters.push(this.MyGlow, this.MyInnerGlow);
this.MyGlow = new flash.filters.GlowFilter(16777215, 1, (20 * ((Math.sin((T * 0.5) + this.id) * 0.1) + 0.9)) * (1 - (this.T / SpawnGlow)), (20 * ((Math.cos((T * 0.5) + this.id) * 0.1) + 0.9)) * (1 - (this.T / SpawnGlow)), 4, 1, false, false);
this.MyInnerGlow = new flash.filters.GlowFilter(16777215, 1, (20 * ((Math.sin((T * 0.5) + this.id) * 0.1) + 0.9)) * (1 - (this.T / SpawnGlow)), (20 * ((Math.cos((T * 0.5) + this.id) * 0.1) + 0.9)) * (1 - (this.T / SpawnGlow)), 4, 1, true, false);
Filters.push(this.MyGlow, this.MyInnerGlow);
} else {
this.Picture._alpha = 100;
}
Filters.push(Shadow);
if ((ToSelect == this.id) && (Selected != this.id)) {
if ((HoldingControl == true) && (HoldingShift == false)) {
Filters.push(RedGlow);
Hint("Click to delete this tile.");
}
if (((HoldingControl == true) && (Click == true)) && (HoldingShift == false)) {
SoundMarble1.start();
Burst(this._x, this._y);
Tiles[this.id] = -1;
this.removeMovieClip();
}
}
if ((((HoldingControl == true) && (HoldingShift == true)) && (MouseOnInterface == false)) && (Selected == -1)) {
Filters.push(RedGlow);
if (Click == true) {
Tiles[this.id] = -1;
this.removeMovieClip();
}
}
this.Graphic.filters = Filters;
this.Picture.filters = PicFilters;
if (this.Index == -1) {
this.Text.text = "Unknown";
} else {
this.Text.text = Thing[this.Index];
}
this.Text._alpha = this.TextAlpha * 100;
this.Text.setTextFormat(FormatCenter);
this.Text.filters = [Outline];
this.TextAlpha = this.TextAlpha + ((this.TextAlphaGoal - this.TextAlpha) * 0.05);
if ((Selected != this.id) && (Selected != -1)) {
this.TextAlphaGoal = 0;
}
if ((CanReactTo[0] == "none") && (Selected == this.id)) {
CanReactTo = [];
i = 0;
while (i < RecipeN) {
if (Ingredient1[i] == this.Index) {
CanReactTo.push(Ingredient2[i]);
}
if (Ingredient2[i] == this.Index) {
CanReactTo.push(Ingredient1[i]);
}
i = i + 1;
}
}
if ((Selected == this.id) && (Clicking == false)) {
this.Drop();
}
if ((((Selected != this.id) && (this.Mix != -1)) && (XDmouse == 0)) && (YDmouse == 0)) {
Result = React(this.Index, this.Mix.Index);
if (Result != -1) {
Burst(this._x, this._y);
i = 0;
while (i < Result.length) {
if (Result[i] == -1) {
} else {
NewTile = CreateTile(this._x, this._y, Result[i]);
NewTile._xd = (FRandom(2) - 1) * 15;
NewTile._yd = (FRandom(2) - 1) * 15;
NewTile.AngleD = (FRandom(2) - 1) * 20;
if (FindList(KnownThings, Result[i]) == false) {
SoundInvent.start();
} else {
SoundRaise.start();
}
AddKnown(Result[i]);
}
i = i + 1;
}
}
this.Mix = -1;
}
if (Selected == this.id) {
this.swapDepths(Game.getNextHighestDepth());
TopOther = -1;
i = 0;
i = 0;
while (i < TileN) {
Other = _root.Game["Tile-" + i];
if (this.Square.hitTest(Other.Square) && (Other.id != this.id)) {
TopOther = Other;
}
i = i + 1;
}
if (TopOther != -1) {
TopOther.Shine = true;
TopOther.TextAlphaGoal = 5;
Hint("Drop this tile on the other\nto make them react !");
}
this.Mix = TopOther;
}
if ((this._xd != 0) || (this._yd != 0)) {
i = 0;
i = 0;
while (i < TileN) {
Other = _root.Game["Tile-" + i];
if ((((this.BumpDelay == 0) && (PointDistance(this._x + this._xd, this._y + this._yd, Other._x + Other._xd, Other._y + Other._yd) < 32)) && (Selected != Other.id)) && (Other.id != this.id)) {
this.BumpDelay = 5;
Other.BumpDelay = 5;
Other.AngleD = Other.AngleD + ((0.03 * Choose([1, -1])) * (Math.pow(this._xd, 2) + Math.pow(this._yd, 2)));
Other.Bump = true;
this.Bump = true;
Other._xd = Other._xd + (this._xd / 2);
Other._yd = Other._yd + (this._yd / 2);
this._xd = (-this._xd) / 2;
this._yd = (-this._yd) / 2;
}
i = i + 1;
}
}
if ((this._x + this._xd) > (Stage.width - 16)) {
this._xd = -Math.abs(this._xd);
this.Bump = true;
}
if ((this._x + this._xd) < 16) {
this._xd = Math.abs(this._xd);
this.Bump = true;
}
if ((this._y + this._yd) > (Stage.height - 16)) {
this._yd = -Math.abs(this._yd);
this.Bump = true;
}
if ((this._y + this._yd) < 16) {
this._yd = Math.abs(this._yd);
this.Bump = true;
}
if (this.Bump == true) {
Choose([SoundMarble1, SoundMarble2, SoundMarble3]).start();
this.AngleD = -this.AngleD;
this.Bump = false;
}
if (this.BumpDelay > 0) {
this.BumpDelay = this.BumpDelay - 1;
}
if (this.id != Selected) {
this._x = this._x + this._xd;
this._y = this._y + this._yd;
}
this._xd = this._xd * 0.9;
this._yd = this._yd * 0.9;
if (Math.abs(this._xd) < 0.2) {
this._xd = 0;
}
if (Math.abs(this._yd) < 0.2) {
this._yd = 0;
}
if ((this.BumpDelay <= 5) && false) {
this._xd = this._xd + Math.sin((Math.PI/180) * (155 + PointDirection(this._x, this._y, _xmouse, _ymouse)));
this._yd = this._yd + Math.cos((Math.PI/180) * (155 + PointDirection(this._x, this._y, _xmouse, _ymouse)));
}
this._x = Math.max(16, Math.min(Stage.width - 16, this._x));
this._y = Math.max(16, Math.min(Stage.height - 16, this._y));
this.Angle = this.Angle + this.AngleD;
this.AngleD = this.AngleD * 0.92;
this.Graphic._rotation = this.Angle;
if (FPS <= 20) {
this.T = this.T + 1;
}
if (FPS <= 10) {
this.T = this.T + 1;
}
this.T = this.T + 1;
};
NewTile.Square.onPress = function () {
if (HoldingControl == false) {
this._parent.startDrag();
Selected = this._parent.id;
SoundSelect.start();
}
};
NewTile.Square.onRollOver = function () {
this._parent.TextAlphaGoal = 5;
ToSelect = this._parent.id;
};
NewTile.Square.onRollOut = function () {
this._parent.TextAlphaGoal = 0;
ToSelect = -1;
};
NewTile.Drop = function () {
this.stopDrag();
this._xd = Math.max(-50, Math.min(50, XDmouse));
this._yd = Math.max(-50, Math.min(50, YDmouse));
this.AngleD = (0.01 * Choose([-1, 1])) * (Math.pow(this._xd, 2) + Math.pow(this._yd, 2));
Selected = -1;
SoundUnselect.start();
};
NewTile.Square.onRelease = function () {
this._parent.Drop();
};
TileN = TileN + 1;
return(NewTile);
}
function CreateDragTile(toX, toY, type) {
NewTile = _root.createEmptyMovieClip("TileDrag", 10000);
NewTile.attachMovie("Pebble", "Graphic", 1);
NewTile.Graphic.gotoAndStop(Choose([1, 2, 3]));
NewTile.attachMovie("Tile", "Square", -1);
NewTile.Square._alpha = 0;
NewTile.Graphic.filters = [];
NewTile._alpha = 0;
NewTile._x = toX;
NewTile._y = toY;
NewTile.id = TileN;
NewTile.Mix = -1;
NewTile.Angle = 0;
NewTile.T = 0;
NewTile.Index = type;
NewTile.createEmptyMovieClip("Picture", 5);
NewTile.Picture._x = -16;
NewTile.Picture._y = -16;
NewTile.Picture.bitmap = flash.display.BitmapData.loadBitmap(ThingPic[NewTile.Index]);
NewTile.Picture.attachBitmap(NewTile.Picture.bitmap, 1);
NewTile.startDrag();
NewTile.onEnterFrame = function () {
Filters = new Array();
Filters = [];
PicFilters = [];
PicFilters.push(new flash.filters.GlowFilter(0, 1, 2, 2, 2, 1, false, false));
this.Graphic.filters = Filters;
this.Picture.filters = PicFilters;
this.Graphic._rotation = this.Angle;
if (MouseOnInterface == true) {
this._alpha = 50;
} else {
this._alpha = 100;
}
if (Clicking == false) {
if (MouseOnInterface == false) {
NewTile = CreateTile(this._x, this._y, this.Index);
NewTile._xd = XDmouse;
NewTile._yd = YDmouse;
NewTile.BumpDelay = 0;
SoundUnselect.start();
}
removeMovieClip(this);
}
};
return(NewTile);
}
function Hint(whatHint) {
MouseText.Text = whatHint;
MouseTextAlphaGoal = 0;
MouseTextAlpha = 2;
}
function Search(searchFor) {
searchFor = searchFor.toLowerCase();
if ((searchFor == "search") || (searchFor == " ")) {
searchFor = "";
}
SearchList = new Array();
i = 0;
while (i < KnownThings.length) {
if (((Thing[KnownThings[i]].indexOf(searchFor) != -1) || ((ThingAlt[KnownThings[i]].indexOf(searchFor) != -1) && (searchFor.length >= 3))) || (searchFor == "")) {
SearchList.push(KnownThings[i]);
}
i = i + 1;
}
}
VersionName = 1.4;
Save = SharedObject.getLocal("Genesis");
NewGame = false;
QuickStart = false;
_root.stop();
if (Save.data.Version == undefined) {
NewGame = true;
}
Bevel = new flash.filters.BevelFilter(4);
Outline = new flash.filters.GlowFilter(0, 1, 3, 3, 5, 1, false, false);
WhiteOutline = new flash.filters.GlowFilter(16777215, 1, 3, 3, 5, 1, false, false);
BigOutline = new flash.filters.GlowFilter(0, 1, 10, 10, 3, 1, false, false);
Inine = new flash.filters.GlowFilter(0, 1, 5, 5, 3, 1, true, false);
WhiteGlow = new flash.filters.GlowFilter(16777215, 1, 10, 10, 3, 1, false, false);
BlueGlow = new flash.filters.GlowFilter(50943, 1, 10, 10, 4, 1, false, false);
RedGlow = new flash.filters.GlowFilter(15872256, 1, 10, 10, 4, 1, false, false);
InGlow = new flash.filters.GlowFilter(16777215, 1, 10, 10, 2, 1, true, false);
Shadow = new flash.filters.DropShadowFilter(2, 45, 0, 1, 5, 5, 2, 1);
BigShadow = new flash.filters.DropShadowFilter(5, 45, 0, 1, 30, 30, 2, 1);
RecipeN = 0;
Ingredient1 = new Array();
Ingredient2 = new Array();
Reaction = new Array();
TextThings = "water,WATER,aqua;fire,FIRE,burn;earth,EARTH,soil ground;air,AIR,aero;mud,MUD;clay,CLAY;rock,ROCK,stone pebble;smoke,SMOKE;steam,STEAM,vapor;dualism,DUALISM;cloud,CLOUD;rain,RAIN;dust,DUST,dirt;wind,WIND;ocean,OCEAN,sea;energy,ENERGY;swamp,SWAMP,marsh;lava,LAVA,magma;plasma,PLASMA;void,VOID,space nothing empty;sun,SUN,star;black hole,BLACKHOLE;sand,SAND,silica silicium;desert,DESERT;mountain,MOUNTAIN;volcano,VOLCANO;basalt,BASALT;beach,BEACH;glass,GLASS;salt,SALT;oasis,OASIS;cave,CAVE;storm,STORM;electricity,ELECTRICITY,lightning bolt;snow,SNOW;river,RIVER;tundra,TUNDRA;ice,ICE,freeze;fjord,FJORD;abyss,ABYSS,deep;hydrothermal vent,HYDROVENT,smoker geyser;supernova,SUPERNOVA,explosion;wormhole,WORMHOLE;iron,IRON,metal;gold,GOLD;silver,SILVER;platinum,PLATINUM;crystal,CRYSTAL,quartz;gem,GEM;diamond,DIAMOND;bacteria,BACTERIA,microbe;phytoplankton,PHYTOPLANKTON;zooplankton,ZOOPLANKTON;seaweed,SEAWEED,alga algae kelp;weed,WEED;grass,GRASS;grassland,GRASSLAND;fern,FERN;mold,MOLD,rot fungus;mushroom,MUSHROOM,fungus;flower,FLOWER;tree,TREE;forest,FOREST;fir tree,FIRTREE,pine;palm tree,PALMTREE;jungle,JUNGLE,rainforest;leaf,LEAF,leaves;coal,COAL;coral,CORAL;sponge,SPONGE;worm,WORM,nematode;jellyfish,JELLYFISH;starfish,STARFISH,patrick;clam,CLAM,shell;tube worm,TUBEWORM;sea cucumber,SEACUCUMBER,holothurian;nautilus,NAUTILUS,ammonite;squid,SQUID,calmar squidward;snail,SNAIL;slug,SLUG;shrimp,SHRIMP,prawn pron;trilobite,TRILOBITE;crab,CRAB,krab;bug,BUG,insect;spider,SPIDER,arachnid tarantula;scorpion,SCORPION;fly,FLY;butterfly,BUTTERFLY;lamprey,LAMPREY,hagfish;fish,FISH;shark,SHARK;wasp,WASP,hornet;rainbow,RAINBOW;double rainbow,DOUBLERAINBOW;exocet,EXOCET,flying fish;";
ThingsI = 0;
Thing = new Array();
ThingPic = new Array();
ThingAlt = new Array();
Things = TextThings.split(";");
i = 0;
while (i < Things.length) {
ThisThing = Things[i].split(",");
if (ThisThing.length > 1) {
Thing[ThingsI] = ThisThing[0];
ThingPic[ThingsI] = ThisThing[1];
if (ThisThing.length > 2) {
ThingAlt[ThingsI] = ThisThing[2];
} else {
ThingAlt[ThingsI] = "";
}
ThingsI = ThingsI + 1;
}
i = i + 1;
}
ThisThing = 0;
Things = 0;
TextThings = 0;
KnownThings = [];
TextReactions = "water+earth=mud;fire+earth=rock;fire+mud=clay;fire+water=dualism,steam;steam+air=cloud;cloud+cloud=rain;air+earth=dust;dust+water=mud;dust+fire=smoke;air+water=cloud;air+fire=smoke;air+air=wind;water+water=ocean;water+dualism=fire;fire+dualism=water;earth+dualism=air;air+dualism=earth;dualism+dualism=energy;mud+earth=swamp;fire+rock=lava;fire+energy=plasma;plasma+dualism=void;void+dualism=plasma;plasma+void=sun;void+void=black hole;sun+earth=sand;sand+earth=desert;earth+ocean=sand;sand+sand=desert;earth+rock=mountain;rock+rock=mountain;lava+sand=glass;lava+mountain=volcano;volcano+rain=basalt,steam,mountain;volcano+water=basalt,steam,mountain;volcano+snow=basalt,steam,mountain;sand+ocean=beach;sun+ocean=salt,cloud;desert+water=oasis;desert+rain=oasis;mountain+ocean=cave;energy+wind=storm;energy+cloud=storm;storm+plasma=electricity;storm+water=rain;rain+mountain=snow,river;rain+void=snow;snow+earth=tundra;snow+water=ice;water+void=ice;ice+mountain=fjord;cloud+mountain=river,rain;ocean+ocean=abyss;volcano+abyss=hydrothermal vent;fire+ice=water;lava+ice=water;snow+fire=water;snow+lava=water;fire+rain=steam;lava+rain=basalt,steam;snow+sun=water;ice+sun=water;earth+rain=mud;electricity+earth=basalt;electricity+sand=glass;sun+sun=supernova;black hole+black hole=wormhole;supernova+void=black hole;sun+rain=rainbow;rainbow+rainbow=double rainbow;double rainbow+double rainbow=dualism;water+lava=basalt,steam;basalt+energy=iron;iron+energy=silver;silver+energy=gold;gold+plasma=platinum;glass+plasma=crystal;crystal+energy=gem;gem+energy=diamond;swamp+electricity=bacteria;bacteria+ocean=phytoplankton,zooplankton;phytoplankton+ocean=seaweed;seaweed+earth=weed;weed+rain=grass;grass+earth=grassland;fire+grassland=earth,smoke;grass+mud=fern;grass+swamp=fern;weed+swamp=mold;mold+cave=mushroom;grass+sun=flower;flower+energy=tree;flower+rain=tree;tree+tree=forest;tree+oasis=palm tree;tree+beach=palm tree;palm tree+palm tree=forest;tree+mountain=fir tree;tree+tundra=fir tree;fir tree+fir tree=forest;forest+rain=jungle;wind+tree=leaf;storm+tree=leaf;tree+fire=coal,smoke;fir tree+fire=coal,smoke;palm tree+fire=coal,smoke;forest+fire=coal,smoke;jungle+fire=coal,smoke;zooplankton+energy=worm;sponge+rock=coral;zooplankton+abyss=sponge;sponge+ocean=jellyfish;worm+abyss=starfish;worm+worm=sea cucumber;sea cucumber+ocean=nautilus;nautilus+ocean=squid;sea cucumber+abyss=clam;nautilus+earth=snail;snail+rain=slug;snail+grass=slug;snail+grassland=slug;worm+hydrothermal vent=tube worm;worm+ocean=shrimp;shrimp+abyss=trilobite;trilobite+beach=crab;trilobite+earth=bug;bug+cave=spider;spider+fire=scorpion;bug+air=fly;fly+flower=butterfly;fly+fly=wasp;wasp+flower=bee;wasp+earth=ant;trilobite+ocean=lamprey;lamprey+lamprey=fish;fish+lamprey=shark;fish+air=exocet;fish+swamp=frog;frog+forest=snake;snake+earth=lizard;lizard+swamp=crocodile;lizard+fire=salamander;lizard+lizard=dinosaur;dinosaur+air=bird;lizard+air=bird;lizard+beach=turtle;lizard+river=platypus;lizard+forest=platypus;platypus+earth=ferret;ferret+grassland=marsupial;ferret+cave=bat;ferret+forest=boar;boar+marsupial=wolf;wolf+ferret=cat;wolf+mountain=bear;wolf+cave=bear;boar+grassland=horse;horse+forest=giraffe;horse+river=hippopotamus;hippopotamus+ocean=dolphin;dolphin+zooplankton=whale;dolphin+phytoplankton=whale;cat+jungle=tiger;cat+desert=lion;marsupial+ant=anteater;marsupial+forest=opossum;opossum+forest=monkey;monkey+jungle=gorilla;gorilla+dualism=human;human+human=family;family+family=tribe;human+energy=wizard;human+dualism=sage;sage+fire=tool;sage+rock=tool;human+sun=shaman;shaman+sage=priest;human+cave=troglodyte;";
Reactions = TextReactions.split(";");
i = 0;
while (i < Reactions.length) {
ThisReaction = Reactions[i].split("=");
Ings = ThisReaction[0].split("+");
Ing1 = ThingIndex(Ings[0]);
Ing2 = ThingIndex(Ings[1]);
Product = ThisReaction[1].split(",");
i2 = 0;
while (i2 < Product.length) {
if (ThingIndex(Product[i2]) == -1) {
}
Product[i2] = ThingIndex(Product[i2]);
i2 = i2 + 1;
}
if (ThisReaction.length > 1) {
NewRecipe(Ing1, Ing2, Product);
}
i = i + 1;
}
ThisReaction = 0;
Ings = 0;
Ing1 = 0;
Ing2 = 0;
TextReaction = 0;
Product = 0;
CanReactTo = new Array();
CanReactTo = ["none"];
Format = new TextFormat();
Format.size = 11;
Format.color = 16777215 /* 0xFFFFFF */;
Format.font = "Arial";
FormatCenter = new TextFormat();
FormatCenter.size = 11;
FormatCenter.color = 16777215 /* 0xFFFFFF */;
FormatCenter.font = "Arial";
FormatCenter.align = "center";
Tiles = new Array();
TileN = 0;
Game = _root.createEmptyMovieClip("Game", 10);
_x2mouse = _xmouse;
_y2mouse = _ymouse;
Selected = -1;
ToSelect = -1;
Clicking = false;
Click = false;
MouseText = _root.createTextField("MouseText", 9001, -100, 0, 200, 30);
MouseText.selectable = false;
MouseTextAlpha = 0;
MouseTextAlphaGoal = 0;
FPStext = _root.createTextField("FPStext", 9002, 10, 10, 100, 30);
FPStext.selectable = false;
VersionText = _root.createTextField("VersionText", 9003, 10, 20, 100, 30);
VersionText.selectable = false;
VersionText.text = "Version " + VersionName;
VersionText.setTextFormat(Format);
VersionText.filters = [Outline];
CopyText = _root.createTextField("CopyText", 9004, 10, Stage.height - 20, 100, 30);
CopyText.selectable = false;
CopyText.text = "(c) Orteil 2010";
CopyText.setTextFormat(Format);
CopyText.filters = [Outline];
HelpText = _root.createTextField("HelpText", 9005, 40, Stage.height - 120, 500, 110);
HelpText.selectable = false;
HelpText.text = "-Drag a tile onto another to mix them into something else.\nExample : water+earth=mud. (Note : not everything can be mixed !)\n-Control-click a tile to delete it. Shift-click to delete all the tiles !\n-In the library, you can find all the tiles you've unlocked so far.\n-If a reaction seems to work but nothing appears, it hasn't been implemented yet.\n-The game saves automatically, but you can reset it with the button at the top-left !\nThis game was inspired by Doodle God.\n";
HelpText.multiline = true;
HelpText.setTextFormat(Format);
HelpText.filters = [Outline, BigOutline];
HelpText._alphaGoal = 0;
HelpText._alpha = 0;
HelpButton = _root.createEmptyMovieClip("HelpButton", 9006);
HelpButton.bitmap = flash.display.BitmapData.loadBitmap("HelpPic");
HelpButton.attachBitmap(HelpButton.bitmap, 1);
HelpButton._x = 10;
HelpButton._y = Stage.height - 50;
HelpButton.filters = [Outline];
HelpButton._alpha = 50;
HelpButton.onEnterFrame = function () {
if ((((_xmouse >= this._x) && (_xmouse < (this._x + 23))) && (_ymouse >= this._y)) && (_ymouse < (this._y + 23))) {
this.filters = [Outline, WhiteGlow];
HelpText._alphaGoal = 100;
} else {
this.filters = [Outline];
HelpText._alphaGoal = 0;
}
HelpText._alpha = HelpText._alpha + Math.max(-10, (HelpText._alphaGoal - HelpText._alpha) * 0.5);
this._alpha = (Math.min(100, HelpText._alpha) / 2) + 50;
};
ResetButton = _root.createTextField("ResetButton", 9007, 0, 0, 100, 50);
ResetButton.selectable = false;
ResetButton._x = 10;
ResetButton._y = 40;
ResetButton.text = "[Reset !]";
ResetButton.filters = [Outline];
ResetButton.setTextFormat(Format);
Library = _root.createEmptyMovieClip("Library", 100);
Library._x = 0;
Library._y = 0;
Library._yd = 0;
Library.Size = 0;
Library.OldSize = 0;
Library._x = 256;
Library._xGoal = 256;
Library.Background = Library.createEmptyMovieClip("Background", 1);
Library.Background.bitmap = flash.display.BitmapData.loadBitmap("BGlibrary");
Library.Background.attachBitmap(Library.Background.bitmap, 1);
Library.Background.filters = [BigShadow];
Library.Icon = Library.createEmptyMovieClip("Icon", 30);
Library.Icon.bitmap = flash.display.BitmapData.loadBitmap("LibraryIcon");
Library.Icon.attachBitmap(Library.Icon.bitmap, 1);
Library.Icon._x = ((Stage.width - 128) - 32) - 16;
Library.Icon._y = (Stage.height / 2) - 38.5;
Library.Text1 = Library.createTextField("Text1", 11, Stage.width - 32, 20, 100, 30);
Library.Text1.selectable = false;
Library.Text1._x = (Stage.width - 128) - 8;
Library.Text1._y = (Stage.height - 30) - 16;
Library.Info = Library.createEmptyMovieClip("Info", 100);
Library.Info._x = (Stage.width - 64) - 150;
Library.Info._y = 40;
Library.Info.OldBitmap = "";
Library.Info.createTextField("Text", 5, -40, 64, 150, 100);
Library.Info.Text.selectable = false;
Library.Info.Text.text = "";
Library.Info.Text.setTextFormat(FormatCenter);
Library.Info.Text.filters = [Outline];
Library.Info.Update = function (updateTo) {
this.Picture = Library.Info.createEmptyMovieClip("Picture", 2);
this.Picture2 = Library.Info.createEmptyMovieClip("Picture2", 1);
this.Picture2.bitmap = flash.display.BitmapData.loadBitmap(this.OldBitmap);
this.Picture2.attachBitmap(this.Picture2.bitmap, 1);
this.Picture2._width = 64;
this.Picture2._height = 64;
this.Picture2.filters = [WhiteOutline, BigOutline];
this.Picture2._alpha = 100;
this.Picture.bitmap = flash.display.BitmapData.loadBitmap(ThingPic[updateTo]);
this.Picture.attachBitmap(this.Picture.bitmap, 1);
this.Picture._width = 64;
this.Picture._height = 64;
this.Picture.filters = [WhiteOutline, BigOutline];
this.Picture._alpha = 0;
if ((updateTo >= 0) && (updateTo < ThingsI)) {
this.Text.text = Thing[updateTo];
} else {
this.Text.text = "";
}
this.Text.setTextFormat(FormatCenter);
this.Text.filters = [Outline, BigOutline];
this.OldBitmap = ThingPic[updateTo];
this.Alpha = 0;
};
Library.Info.onEnterFrame = function () {
this.Picture._alpha = (this.Alpha / 10) * 100;
this.Picture2._alpha = (1 - (this.Alpha / 10)) * 100;
if (this.Alpha < 10) {
this.Alpha = this.Alpha + 1;
}
};
Library.Input = Library.createTextField("Input", 12, (Stage.width - 64) - 150, 20, 150, 20);
Library.Input.selectable = true;
Library.Input.type = "input";
Library.Input.maxChars = 32;
Library.Input.text = "";
Library.Input.setTextFormat(Format);
Library.Input.textColor = 0;
Library.Input.filters = [BigOutline];
Library.Input.background = true;
Library.Input.backgroundColor = 14601626 /* 0xDECD9A */;
Library.InputLabel = Library.createTextField("InputLabel", 13, (Stage.width - 64) - 150, 5, 100, 20);
Library.InputLabel.selectable = false;
Library.InputLabel.text = "Search :";
Library.InputLabel.setTextFormat(Format);
Library.InputLabel.filters = [Outline];
SearchList = new Array();
Library.Input.onChanged = function () {
if (this.text == "almighty") {
i = 0;
while (i < ThingsI) {
AddKnown(i);
i = i + 1;
}
this.text = "";
}
this.setTextFormat(Format);
this.textColor = 0;
Search(this.text);
Library.Recompile = true;
};
Library.Open = false;
Library.Inv = Library.createEmptyMovieClip("Inv", 20);
Library.onEnterFrame = function () {
this.Text1.text = (KnownThings.length + "/") + ThingsI;
this.Text1.setTextFormat(FormatCenter);
this.Text1.filters = [Outline];
this.Input._y = ((1 - (this._x / 128)) * 60) - 40;
this.InputLabel._y = this.Input._y - 15;
this._x = this._x + ((this._xGoal - this._x) * 0.2);
this.Background._alpha = (1 - (this._x / 128)) * 100;
if (this.Recompile == true) {
Search(this.Input.text);
this.Size = SearchList.length;
i = 0;
while (i < KnownThings.length) {
removeMovieClip(this.Inv["Tile-" + i]);
this.Inv["Text-" + i].removeTextField();
i = i + 1;
}
i = 0;
while (i < SearchList.length) {
NewTile = this.Inv.createEmptyMovieClip("Tile-" + i, 100 + (i * 2));
NewTile._x = Stage.width - 32;
NewTile._y = 16 + (i * 48);
NewTile.createEmptyMovieClip("Picture", 5);
NewTile.Picture._x = -16;
NewTile.Picture._y = -16;
NewTile.Picture.bitmap = flash.display.BitmapData.loadBitmap(ThingPic[SearchList[i]]);
NewTile.Picture.attachBitmap(NewTile.Picture.bitmap, 1);
NewTile.T = 0;
NewTile.id = i;
if (i < this.OldSize) {
NewTile.T = 60;
}
Text = this.Inv.createTextField("Text-" + i, (100 + (i * 2)) + 1, (Stage.width - 32) - 100, (16 + (i * 48)) + 8, 200, 30);
Text.selectable = false;
Text.text = Thing[SearchList[i]];
Text.setTextFormat(FormatCenter);
Text.filters = [Outline];
NewTile.onEnterFrame = function () {
if (((Library._x > 64) || (this._y < (-Library.Inv._y))) || ((this._y - Stage.height) > (-Library.Inv._y))) {
this._visible = false;
_root.Library.Inv["Text-" + this.id]._visible = false;
} else {
this._visible = true;
_root.Library.Inv["Text-" + this.id]._visible = true;
}
Filters = [];
Filters.push(Outline);
if (this.T < 60) {
Filters.push(new flash.filters.GlowFilter(16777215, 1, 50 * (1 - (this.T / 60)), 50 * (1 - (this.T / 60)), 3, 1, false, false));
}
if (this.id == SelectLibrary) {
Filters.push(BlueGlow);
}
this.filters = Filters;
this.T = this.T + 1;
};
i = i + 1;
}
this.OldSize = this.Size;
this.Recompile = false;
}
this.Inv._y = this.Inv._y + this._yd;
this._yd = Math.max(-10, Math.min(10, this._yd));
this.Inv._y = Math.max(((-this.Size) * 48) + Stage.height, Math.min(16, this.Inv._y));
};
LoadGame();
_root.onMouseDown = function () {
Clicking = true;
Click = true;
};
_root.onMouseUp = function () {
Clicking = false;
};
if (NewGame == true) {
ResetSave();
HelpText._alpha = 2000;
}
Search("");
SoundSelect = new Sound();
SoundSelect.attachSound("PickMarble");
SoundUnselect = new Sound();
SoundUnselect.attachSound("DropMarble");
SoundRaise = new Sound();
SoundRaise.attachSound("GodMixSmall");
SoundInvent = new Sound();
SoundInvent.attachSound("GodSent2");
SoundMarble1 = new Sound();
SoundMarble1.attachSound("Marble1");
SoundMarble2 = new Sound();
SoundMarble2.attachSound("Marble2");
SoundMarble3 = new Sound();
SoundMarble3.attachSound("Marble3");
SoundPage = new Sound();
SoundPage.attachSound("PageTurn");
SoundSelect.setVolume(50);
if (QuickStart == true) {
i = 0;
while (i < ThingsI) {
AddKnown(i);
i = i + 1;
}
}
T = 0;
FPS = 30;
_root.onEnterFrame = function () {
MouseOnInterface = false;
if (((((Library.Open == false) && (_xmouse >= (Library._x + Library.Icon._x))) && (_xmouse < ((Library._x + Library.Icon._x) + 32))) && (_ymouse > (Library._y + Library.Icon._y))) && (_ymouse < ((Library._y + Library.Icon._y) + 77))) {
Library.Icon.filters = [WhiteGlow];
MouseOnInterface = true;
if (Click == true) {
Library.Open = true;
Library.Icon.bitmap = flash.display.BitmapData.loadBitmap("LibraryIcon2");
Library.Icon.attachBitmap(Library.Icon.bitmap, 1);
SoundPage.start();
}
} else if (((((Library.Open == true) && (_xmouse >= (Library._x + Library.Icon._x))) && (_xmouse < ((Library._x + Library.Icon._x) + 32))) && (_ymouse > (Library._y + Library.Icon._y))) && (_ymouse < ((Library._y + Library.Icon._y) + 77))) {
Library.Icon.filters = [WhiteGlow];
MouseOnInterface = true;
if (Click == true) {
Library.Open = false;
Library.Icon.bitmap = flash.display.BitmapData.loadBitmap("LibraryIcon");
Library.Icon.attachBitmap(Library.Icon.bitmap, 1);
SoundPage.start();
}
} else {
Library.Icon.filters = [];
}
if (Library.Open == false) {
Library._xGoal = 128;
} else {
Library._xGoal = 0;
}
if ((_xmouse > ((Stage.width - 128) + Library._x)) && (Library.Open == true)) {
MouseOnInterface = true;
if (_ymouse < 64) {
Library._yd = Library._yd + 2;
} else if (_ymouse > (Stage.height - 64)) {
Library._yd = Library._yd - 2;
} else {
Library._yd = Library._yd * 0.75;
}
LastSelectLibrary = SelectLibrary;
if (_xmouse > (Stage.width - 64)) {
SelectLibrary = Math.floor(((_ymouse - Library.Inv._y) + 8) / 48);
} else {
SelectLibrary = -1;
}
if (SelectLibrary != LastSelectLibrary) {
Library.Info.Update(SearchList[SelectLibrary]);
}
if (((Click == true) && (SelectLibrary >= 0)) && (SelectLibrary < SearchList.length)) {
SoundSelect.start();
NewTile = CreateDragTile(Library.Inv["Tile-" + SelectLibrary]._x, Library.Inv["Tile-" + SelectLibrary]._y + Library.Inv._y, SearchList[SelectLibrary]);
}
} else {
SelectLibrary = -1;
Library._yd = Library._yd * 0.75;
}
if ((Selected != -1) && (Clicking == true)) {
Library._xGoal = Math.max(Library._xGoal, (_xmouse - Stage.width) + 128);
}
if ((((HoldingControl == true) && (HoldingShift == true)) && (MouseOnInterface == false)) && (Selected == -1)) {
Hint("Click to delete all the tiles !");
if (Click == true) {
SoundMarble1.start();
}
}
if ((((_xmouse >= ResetButton._x) && (_xmouse < (ResetButton._x + 42))) && (_ymouse >= ResetButton._y)) && (_ymouse < (ResetButton._y + 15))) {
ResetButton.filters = [Outline, WhiteGlow];
if (Click == true) {
SoundRaise.start();
ResetSave();
NewGame = true;
}
} else {
ResetButton.filters = [Outline];
}
if (Selected == -1) {
CanReactTo = ["none"];
}
XDmouse = _xmouse - _x2mouse;
YDmouse = _ymouse - _y2mouse;
_x2mouse = _xmouse;
_y2mouse = _ymouse;
this.MouseText._x = _xmouse - 100;
this.MouseText._y = _ymouse - 32;
this.MouseText.text = this.MouseText.Text;
this.MouseText._alpha = this.MouseTextAlpha * 100;
this.MouseText.setTextFormat(FormatCenter);
this.MouseText.filters = [Outline, BigOutline];
this.MouseTextAlpha = this.MouseTextAlpha + ((this.MouseTextAlphaGoal - this.MouseTextAlpha) * 0.2);
FPS = getFPS();
this.FPStext.text = "FPS : " + FPS;
this.FPStext.setTextFormat(Format);
this.FPStext.filters = [Outline];
if ((T % 30) == 0) {
SaveGame();
}
Click = false;
T = T + 1;
};
HoldingShift = false;
HoldingControl = false;
keylistener = new Object();
keylistener.onKeyDown = function () {
if (Key.getCode() == 16) {
HoldingShift = true;
}
if (Key.getCode() == 17) {
HoldingControl = true;
}
};
keylistener.onKeyUp = function () {
if (Key.getCode() == 16) {
HoldingShift = false;
}
if (Key.getCode() == 17) {
HoldingControl = false;
}
};
Key.addListener(keylistener);
Symbol 133 MovieClip Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (2892 % 511) * true);
return(\x03);
}
var \x01 = (-160 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 135 MovieClip Frame 10
stop();
Symbol 137 MovieClip Frame 37
_parent.setGotoFrame("done");
stop();
Symbol 149 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (737 % 511) * true);
return(\x03);
}
var \x01 = (9 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 149 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 2
medal.attachIcon(icon);
Symbol 149 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 10
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (2142 % 511) * true);
return(\x03);
}
var \x01 = (78 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 149 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 155 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (2309 % 511) * true);
return(\x03);
}
var \x01 = (253 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 155 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 10
stop();
Symbol 155 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 158 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 1
!!!ERROR
Symbol 158 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 10
stop();
Symbol 158 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 179 MovieClip [NewgroundsAPIAsset_big_popup_background] Frame 1
!!!ERROR
Symbol 183 Button
on (release) {
!!!ERROR
Symbol 189 Button
on (release) {
getURL (official_version_url, "_blank");
}
Symbol 191 MovieClip [NewgroundsAsset_New_Version_Available] Frame 1
!!!ERROR
Symbol 192 Button
on (release) {
getURL (official_version_url, "_blank");
}
Symbol 196 MovieClip [NewgroundsAsset_Illegal_Host] Frame 1
!!!ERROR
Symbol 197 MovieClip [API Connector (NewgroundsAPI)] Frame 1
#initclip 23
Object.registerClass("API Connector (NewgroundsAPI)", com.newgrounds.components.APIConnector);
#endinitclip
Symbol 197 MovieClip [API Connector (NewgroundsAPI)] Frame 20
_visible = false;
Symbol 226 Button
on (release) {
com.newgrounds.API.loadNewgrounds();
}
Symbol 231 MovieClip Frame 1
!!!ERROR
Symbol 232 MovieClip Frame 11
gotoAndPlay (1);
Symbol 233 MovieClip [Flash Ad (NewgroundsAPI)] Frame 1
#initclip 24
Object.registerClass("Flash Ad (NewgroundsAPI)", com.newgrounds.components.FlashAd);
#endinitclip
Symbol 280 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 289 Button
on (release) {
startMovie();
}
Symbol 291 MovieClip Frame 1
function timerHandler() {
if (!loadingComplete) {
var _local4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * _local4;
if (_local4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop ("loaded");
}
return(undefined);
}
}
dt = getTimer() - time;
time = time + dt;
frameAccum = frameAccum + dt;
var _local3 = 0;
while ((frameAccum >= FRAME_TIME) && (_local3 < MAX_FRAME_SKIP)) {
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
(frameAccum = frameAccum - FRAME_TIME);
_local3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return(undefined);
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof(clip[childName]) == "movieclip") {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.3333333333333;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
Symbol 291 MovieClip Frame 2
stop();
Symbol 125 MovieClip [__Packages.com.newgrounds.components.APIConnector] Frame 0
!!!ERROR
Symbol 198 MovieClip [__Packages.com.newgrounds.APIError] Frame 0
!!!ERROR
Symbol 199 MovieClip [__Packages.com.newgrounds.API] Frame 0
!!!ERROR
Symbol 200 MovieClip [__Packages.com.newgrounds.Bridge] Frame 0
!!!ERROR
Symbol 201 MovieClip [__Packages.com.newgrounds.SaveFile] Frame 0
!!!ERROR
Symbol 202 MovieClip [__Packages.com.newgrounds.SaveGroup] Frame 0
!!!ERROR
Symbol 203 MovieClip [__Packages.com.newgrounds.ValidationTools] Frame 0
!!!ERROR
Symbol 204 MovieClip [__Packages.com.newgrounds.APIEvent] Frame 0
!!!ERROR
Symbol 205 MovieClip [__Packages.com.newgrounds.SaveGroupQuery] Frame 0
!!!ERROR
Symbol 206 MovieClip [__Packages.com.newgrounds.encoders.BaseN] Frame 0
!!!ERROR
Symbol 207 MovieClip [__Packages.com.newgrounds.encoders.ImageScanner] Frame 0
!!!ERROR
Symbol 208 MovieClip [__Packages.com.newgrounds.encoders.SerialXML] Frame 0
!!!ERROR
Symbol 209 MovieClip [__Packages.com.newgrounds.encoders.LZW2] Frame 0
!!!ERROR
Symbol 210 MovieClip [__Packages.com.newgrounds.encoders.LZW] Frame 0
!!!ERROR
Symbol 211 MovieClip [__Packages.com.newgrounds.Medal] Frame 0
!!!ERROR
Symbol 212 MovieClip [__Packages.com.newgrounds.ScoreBoard] Frame 0
!!!ERROR
Symbol 213 MovieClip [__Packages.com.newgrounds.Score] Frame 0
!!!ERROR
Symbol 214 MovieClip [__Packages.com.newgrounds.encoders.RC4] Frame 0
!!!ERROR
Symbol 215 MovieClip [__Packages.com.newgrounds.encoders.JSON] Frame 0
!!!ERROR
Symbol 216 MovieClip [__Packages.com.newgrounds.APIEventDispatcher] Frame 0
!!!ERROR
Symbol 217 MovieClip [__Packages.com.newgrounds.encoders.MD5] Frame 0
!!!ERROR
Symbol 221 MovieClip [__Packages.com.newgrounds.components.FlashAd] Frame 0
!!!ERROR