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

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

The Island of Dr. Moron.swf

This is the info page for
Flash #121880

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


Text
Time:

Time:

SCORE:

SCORE:

CARROT LABS

Oh no!  Now Bugs is trapped in Dr. Moron's lab with Gossamer and
the carnivorous carrot hot on his tail.  Can you help him collect
enought carrots and survive long enough
to advance to the next level?
• Use your Left and Right arrow keys to move Bugs
• Use the Space Bar to jump
• Use the Up and Down arrow keys to change
floors when you are at the edge of the board
• Use the 'A' key to plant the Anvil Trap
• Use the 'M' key to plant the Monstoids Trap

Monstoids

Anvil

Speed Boost

Carrot

Bugs must collect 7000 points
to clear each level

Carrots earn 100 points each

Successful use of a trap earn
200 points each

ActionScript [AS1/AS2]

Frame 1
_root.gVersionNum = "1.0"; fscommand ("showmenu", "false"); gHS_bypass = 1; gHSTrackLoad = 1; pLoadInit = false; pTrackLoadCalled = false; if (/:gGameID eq "") { Set("/:gGameID", "lt_moron"); } if (/:gHSRoot_swf eq "") { Set("/:gHSRoot_swf", "/games/med/"); } if (/:gHSRoot_jsp eq "") { Set("/:gHSRoot_jsp", "/web/load_variables/games/"); } if (/:gHSRoot_top100 eq "") { Set("/:gHSRoot_top100", "/web/games/"); } function cTimer() { this.startTime = getTimer(); } cTimer.prototype.restartTimer = function () { this.startTime = getTimer(); }; cTimer.prototype.milliseconds = function () { return(getTimer() - this.startTime); }; cTimer.prototype.seconds = function () { return(int((getTimer() - this.startTime) / 1000)); }; iLevelPauseTimer = new cTimer(); var ERROR_STRING = "illegal"; var LEVEL_GAMETIME = 120; var LEVEL_GAMETIMEMIN = 30; var LEVEL_GAMETIMEDELTA = 15; var LEVEL_MINSCORE = 7000; var FLOOR_TOP = 0; var FLOOR_BOTTOM = 1; var FLOOR_HEIGHT = 190; var FLOOR_TOPDIST = -5; var FLOOR_WIDTH = 500; var FLOOR_SIDEDIST = 0; var FLOOR_PWRUPDIST = 20; var HERO_MOVERATE = 18; var POWERUP_SPEED = 12; var SPEED_TIME = 10000; var GOSSAMER_MOVERATE = 10; var GOSSAMER_MOVERATEDELTA = 2; var GOSSAMER_HURTRATE = 20; var GOSSAMER_HURTRATEDELTA = 10; var CARROTGUY_MOVERATE = 10; var CARROTGUY_M0VERATEDELTA = 2; var CARROTGUY_HURTRATE = 20; var CARROTGUY_HURTRATEDELTA = 10; var MOVE_LEFT = -1; var MOVE_RIGHT = 1; var MINIMAP_STARTX = 100; var MINIMAP_STARTY = 110; var MINIMAP_SWAPY = 88; var MINIMAP_OBJSCALEX = 20; var MINIMAP_OBJSCALEY = 20; var MINIMAP_OBJSCALER = 0.2; var HEALTHBAR_STARTX = 250; var HEALTHBAR_STARTY = 20; var HEALTHBAR_FILLRATE = 0.18; var MSTDSDECAL_STARTX = 360; var MSTDSDECAL_STARTY = 20; var ANVILDECAL_STARTX = 390; var ANVILDECAL_STARTY = 20; var LIVESCONT_STARTX = 150; var LIVESCONT_STARTY = 20; var LIVES_STARTX = 0; var LIVES_STARTY = 0; var LIVES_INCX = -22; var LIVES_INCY = 0; var LIVES_NUMSTART = 3; var SCORE_STARTX = 452; var SCORE_STARTY = 10; var TIMER_STARTX = 48; var TIMER_STARTY = 10; var ENEMYTYPE_GOSSAMER = 0; var ENEMYTYPE_CARROTGUY = 1; var PWRUPTYPE_MNSTDS = 0; var PWRUPTYPE_MNSTDSTRAP = 1; var PWRUPTYPE_ANVIL = 2; var PWRUPTYPE_ANVILTRAP = 3; var PWRUPTYPE_SPEED = 4; var PWRUPTYPE_CARROT = 5; var GAMETIMER_MINUTES = 5; var CARROTTIMER_RESPAWN = 600000; var CARROTS_PER_LEVEL = 10; var TRAP_RADII = 15; var TRAP_RADII_SQR = (TRAP_RADII * TRAP_RADII); var POINTS_GOTCARROT = 100; var POINTS_TRAPSPRUNG = 200; var HEALTH_GOTCARROT = 5; var HEALTH_LEVELSTART = 100; var HEALTH_HURTTIMEOUT = 2000; var HEALTH_HURTPUSHBACK = 4; var PWRUPIDX_MNSTDS = 0; var PWRUPIDX_MNSTDSTRAP = 1; var PWRUPIDX_ANVIL = 2; var PWRUPIDX_ANVILTRAP = 3; var PWRUPIDX_SPEED = 4; var PWRUPIDX_CARROTS = 5; var CHARACTER_LAYER = 1000; var HUD_LAYER = 9000; var POWERUPS_LAYER = 2000; var FLOOR_LEFT = "Background Left"; var FLOOR_MIDDLE = "Background Middle"; var FLOOR_RIGHT = "Background Right"; var GOSSAMER_CLIP = "gossamer"; var GOSSAMER_INST = "Gossamer"; var GOSSAMER_LAYER = CHARACTER_LAYER; var GOSSAMER_IDLE = "GossamerIdle"; var GOSSAMER_RUN = "GossamerRun"; var GOSSAMER_STUN = "GossamerStunned"; var GOSSAMER_ANVIL = "GossamerSmashed"; var GOSSAMER_LEFTDIR = 100; var GOSSAMER_RIGHTDIR = -100; var CARROTGUY_CLIP = "carrot guy"; var CARROTGUY_INST = "Carrot"; var CARROTGUY_LAYER = (GOSSAMER_LAYER + 1); var CARROTGUY_IDLE = "CarrotGuyIdle"; var CARROTGUY_RUN = "CarrotGuyRunCycle"; var CARROTGUY_STUN = "CarrotGuyStunnedCycle"; var CARROTGUY_ANVIL = "CarrotGuySmashed"; var CARROTGUY_LEFTDIR = 100; var CARROTGUY_RIGHTDIR = -100; var HERO_CLIP = "Bugs"; var HERO_INSTANCE = "Bugs Clip"; var HERO_LAYER = (CARROTGUY_LAYER + 1); var HERO_IDLE = "BugsIdle"; var HERO_RUN = "BugsRunCycle"; var HERO_JUMP = "BugsJumpCycle"; var HERO_LEFTDIR = 100; var HERO_RIGHTDIR = -100; var HEALTH_FINEA = 100; var HEALTH_HURTA = 50; var MINIMAP_CLIP = "Mini Map"; var MINIMAP_INST = "MiniMap"; var MINIMAP_LAYER = HUD_LAYER; var HEALTHBAR_CLIP = "Health Bar"; var HEALTHBAR_INST = "HealthBar"; var HEALTHBAR_LAYER = (MINIMAP_LAYER + 1); var MSTDSDECAL_CLIP = "monstoids decal"; var MSTDSDECAL_INST = "MonstoidsItem"; var MSTDSDECAL_LAYER = (HEALTHBAR_LAYER + 1); var MSTDSDECAL_STARTA = 30; var MSTDSDECAL_OWNA = 100; var ANVILDECAL_CLIP = "anvildecal"; var ANVILDECAL_INST = "AnvilItem"; var ANVILDECAL_LAYER = (MSTDSDECAL_LAYER + 1); var ANVILDECAL_STARTA = 30; var ANVILDECAL_OWNA = 100; var SCORE_LAYER = (ANVILDECAL_LAYER + 1); var TIMER_LAYER = (SCORE_LAYER + 1); var LIVESCONT_CLIP = "bugs life container"; var LIVESCONT_INST = "livescont"; var LIVESCONT_LAYER = (TIMER_LAYER + 1); var LIVES_CLIP = "bugslife"; var LIVES_INST = "bugslife"; var SCORE_CLIP = "Score"; var SCORE_INST = "Score"; var SCORE_LAYER = (LIVESCONT_LAYER + 1); var TIMER_CLIP = "Game Timer"; var TIMER_INST = "Time"; var TIMER_LAYER = (SCORE_LAYER + 1); var ANVIL_CLIP = "Anvil"; var ANVIL_INST = "Anvil"; var ANVIL_LAYER = POWERUPS_LAYER; var ANVILTRAP_CLIP = "Anvil Trap"; var ANVILTRAP_INST = "AnvilTrap"; var ANVILTRAP_LAYER = (ANVIL_LAYER + 1); var MONSTDS_CLIP = "monstoidscan"; var MONSTDS_INST = "monstoidscan"; var MONSTDS_LAYER = (ANVILTRAP_LAYER + 1); var MNSTDSTRAP_CLIP = "Monstoids Trap"; var MNSTDSTRAP_INST = "MonstTrap"; var MNSTDSTRAP_LAYER = (MONSTDS_LAYER + 1); var SPEED_CLIP = "Speed Boost"; var SPEED_INST = "SpeedBoost"; var SPEED_LAYER = (MNSTDSTRAP_LAYER + 1); var CARROT_CLIP = "Golden Carrot"; var CARROT_INST = "GoldenCarrot"; var CARROT_LAYER = (SPEED_LAYER + 1); var CARROT_STARTANIM = "Carrot"; var CARROT_STARTA = 100; var CARROT_MAXA = 100; var CARROT_INCA = 5; var AISTATE_IDLE = 0; var AISTATE_RUN = 1; var AISTATE_STUNNED = 2; var AISTATE_ANVILLED = 3; var AI_MINIDLE = 2000; var AI_MAXEXTRAIDLE = 3000; var AI_PERLEVELDECIDLE = 250; var AI_MINRUN = 1500; var AI_MAXEXTRARUN = 1500; var AI_PERLEVELDECRUN = 100; var AI_MINSTUN = 5000; var AI_MAXEXTRASTUN = 3000; var AI_PERLEVELDECSTUN = 500; var AI_MINANVIL = 6000; var AI_MAXEXTRAANVIL = 4000; var AI_PERLEVELDECANVIL = 750; var AIOPT_IDLEMIN = 2; var AIOPT_IDLEMAXEXTRA = 10; var AIOPT_IDLEDELTA = -1; var AIOPT_RUNMIN = 36; var AIOPT_RUNMAXEXTRA = 0; var AIOPT_RUNDELTA = 2; var VK_LEFT = 37; var VK_UP = 38; var VK_RIGHT = 39; var VK_DOWN = 40; var VK_SPACE = 32; var VK_A = 65; var VK_M = 77; var VK_Q = 81; var SND_LOOPFOREVER = 2147483647; var SNDIDX_THEME = 0; var SNDIDX_MSTDS = 1; var SNDIDX_ANVIL = 2; var SNDIDX_TRAPSET = 3; var SNDIDX_GOSSGRWL = 4; var SNDIDX_CARRGRWL = 5; var SNDIDX_EVILTNT = 6; var SNDIDX_BUGSHURT = 7; var SNDIDX_GETITEM = 8; var SNDIDX_LOSELEVEL = 9; var SNDIDX_WINLEVEL = 10; var SNDIDX_JUMP = 11; var SND_CONTAINER = "Sound Clip"; var SND_CONTLAYER = 5000; var SND_BKGRND = "Theme"; var SND_BKGRNDVOL = 65; var SND_ANVILBASH = "Anvil Bash"; var SND_ANVILBVOL = 70; var SND_MNSTDSBOOM = "Monstoids Boom"; var SND_MNSTDSBVOL = 65; var SND_CARROTGROWL = "Carrot Grunt"; var SND_CARROTGVOL = 70; var SND_GOSSGROWL = "Gossamer Grunt"; var SND_GOSSGVOL = 70; var SND_EVILTAUNT = "Evil Taunt"; var SND_EVILTVOL = 80; var SND_TRAPSET = "Trap Set"; var SND_TRAPSETVOL = 65; var SND_GETITEM = "GetItem"; var SND_GETITEMVOL = 65; var SND_BUGSHURT = "Hurt"; var SND_BUGSHURTVOL = 70; var SND_LOSELEVEL = "level lose"; var SND_LOSELEVOL = 70; var SND_WINLEVEL = "level win"; var SND_WINLEVOL = 70; var SND_JUMP = "jump"; var SND_JUMPVOL = 70; cSoundMan = function () { this.m_stageSoundProps = new Sound(); this.m_soundLayer = SND_CONTLAYER; this.m_sound = new Array(); this.m_sound[SNDIDX_THEME] = this.m_fnCreateSound(SND_BKGRND, SND_BKGRNDVOL); this.m_sound[SNDIDX_ANVIL] = this.m_fnCreateSound(SND_ANVILBASH, SND_ANVILBVOL); this.m_sound[SNDIDX_MSTDS] = this.m_fnCreateSound(SND_MNSTDSBOOM, SND_MNSTDSBVOL); this.m_sound[SNDIDX_CARRGRWL] = this.m_fnCreateSound(SND_CARROTGROWL, SND_CARROTGVOL); this.m_sound[SNDIDX_GOSSGRWL] = this.m_fnCreateSound(SND_GOSSGROWL, SND_GOSSGVOL); this.m_sound[SNDIDX_TRAPSET] = this.m_fnCreateSound(SND_TRAPSET, SND_TRAPSETVOL); this.m_sound[SNDIDX_EVILTNT] = this.m_fnCreateSound(SND_EVILTAUNT, SND_EVILTVOL); this.m_sound[SNDIDX_GETITEM] = this.m_fnCreateSound(SND_GETITEM, SND_GETITEMVOL); this.m_sound[SNDIDX_BUGSHURT] = this.m_fnCreateSound(SND_BUGSHURT, SND_BUGSHURTVOL); this.m_sound[SNDIDX_LOSELEVEL] = this.m_fnCreateSound(SND_LOSELEVEL, SND_LOSELEVOL); this.m_sound[SNDIDX_WINLEVEL] = this.m_fnCreateSound(SND_WINLEVEL, SND_WINLEVOL); this.m_sound[SNDIDX_JUMP] = this.m_fnCreateSound(SND_JUMP, SND_JUMPVOL); }; cSoundMan.prototype.m_fnCreateSound = function (linkage, volume) { _root.attachMovie(SND_CONTAINER, linkage, this.m_soundLayer++); var sound = new Sound(_root[linkage]); sound.attachSound(linkage); sound.setVolume(volume); sound.setPan(0); return(sound); }; cSoundMan.prototype.m_fnPlayAsBkgrnd = function (idx) { this.m_sound[idx].start(0, SND_LOOPFOREVER); }; cSoundMan.prototype.m_fnPlaySFX = function (idx, xLoc) { var pan = (((200 * xLoc) / FLOOR_WIDTH) - 100); this.m_sound[idx].setPan(pan); this.m_sound[idx].start(); }; cSoundMan.prototype.m_fnStopAllSounds = function () { var loop = 0; while (loop < this.m_sound.length) { this.m_sound[loop].stop(); loop++; } }; fnChangeBackground = function (which) { _root[which]._visible = true; if (which != FLOOR_LEFT) { _root[FLOOR_LEFT]._visible = false; } if (which != FLOOR_MIDDLE) { _root[FLOOR_MIDDLE]._visible = false; } if (which != FLOOR_RIGHT) { _root[FLOOR_RIGHT]._visible = false; } _root.gActiveBack = which; }; fnSetupLevel = function (levelNum) { var loop; _root.gAITree = new cAITree(levelNum); _root.gHUD.m_fnClear(); fnChangeBackground(FLOOR_MIDDLE); _root.gHero.m_fnSetHealth(HEALTH_LEVELSTART); _root.gHero.m_fnSetLocation(FLOOR_TOP, 0.5); _root.gHero.m_moveRate = HERO_MOVERATE; _root.gHUD.m_fnMoveMiniMap(FLOOR_BOTTOM); _root.gHUD.m_fnAddMiniMapObject(HERO_CLIP, HERO_INSTANCE); _root.gHUD.m_fnUpdateMiniMapObjPos(HERO_INSTANCE, _root.gActiveBack, _root.gHero.m_clip._y, _root.gHero.m_clip._x, _root.gHero.m_clip._currentframe, _root.gHero.m_clip._xscale * MINIMAP_OBJSCALER); loop = 0; while (loop < _root.gEnemy.length) { _root.gEnemy[loop].m_fnRandomizeLocation(); _root.gEnemy[loop].m_fnCheckVisible(); _root.gEnemy[loop].m_fnCalculateRates(levelNum); _root.gHUD.m_fnAddMiniMapObject(_root.gEnemy[loop].m_clipName, _root.gEnemy[loop].m_instName); _root.gHUD.m_fnUpdateMiniMapObjPos(_root.gEnemy[loop].m_instName, _root.gEnemy[loop].m_back, _root.gEnemy[loop].m_clip._x, _root.gEnemy[loop].m_clip._y, _root.gEnemy[loop].m_clip._currentframe, _root.gEnemy[loop].m_clip._xscale * MINIMAP_OBJSCALER); loop++; } _root.gPowerUp[PWRUPTYPE_MNSTDSTRAP].m_fnInactivate(); _root.gPowerUp[PWRUPTYPE_ANVILTRAP].m_fnInactivate(); _root.gPowerUp[PWRUPIDX_MNSTDS].m_fnSpawn(); _root.gPowerUp[PWRUPIDX_ANVIL].m_fnSpawn(); _root.gPowerUp[PWRUPIDX_SPEED].m_fnSpawn(); loop = 0; while (loop < CARROTS_PER_LEVEL) { _root.gPowerUp[loop + PWRUPIDX_CARROTS].m_fnSpawn(); loop++; } _root.gSoundMan.m_fnStopAllSounds(); _root.gSoundMan.m_fnPlayAsBkgrnd(SNDIDX_THEME); _root.gHUD.m_fnSetNumLives(_root.gHero.m_numLives); loop = LEVEL_GAMETIME - (LEVEL_GAMETIMEDELTA * levelNum); if (loop < LEVEL_GAMETIMEMIN) { loop = LEVEL_GAMETIMEMIN; } _root.gHUD.m_fnStartClock(loop); _root.gHUD.m_fnSetScore(_root.gScore); }; fnScrollWorld = function () { var worldRightExtent = (FLOOR_WIDTH + FLOOR_SIDEDIST); var worldLeftExtent = FLOOR_SIDEDIST; var loop; if ((_root.gHero.m_clip._x >= worldRightExtent) && (_root.gActiveBack == FLOOR_RIGHT)) { if ((_root.gHero.m_floor == FLOOR_TOP) && (Key.isDown(VK_DOWN))) { _root.gHero.m_fnSetLocation(FLOOR_BOTTOM, 1); _root.gHUD.m_fnMoveMiniMap(FLOOR_TOP); } else if ((_root.gHero.m_floor == FLOOR_BOTTOM) && (Key.isDown(VK_UP))) { _root.gHero.m_fnSetLocation(FLOOR_TOP, 1); _root.gHUD.m_fnMoveMiniMap(FLOOR_BOTTOM); } else { _root.gHero.m_fnSetLocation(_root.gHero.m_floor, 1); } return(undefined); } if ((worldLeftExtent >= _root.gHero.m_clip._x) && (_root.gActiveBack == FLOOR_LEFT)) { if ((_root.gHero.m_floor == FLOOR_TOP) && (Key.isDown(VK_DOWN))) { _root.gHero.m_fnSetLocation(FLOOR_BOTTOM, 0); _root.gHUD.m_fnMoveMiniMap(FLOOR_TOP); } else if ((_root.gHero.m_floor == FLOOR_BOTTOM) && (Key.isDown(VK_UP))) { _root.gHero.m_fnSetLocation(FLOOR_TOP, 0); _root.gHUD.m_fnMoveMiniMap(FLOOR_BOTTOM); } else { _root.gHero.m_fnSetLocation(_root.gHero.m_floor, 0); } return(undefined); } if (worldRightExtent < _root.gHero.m_clip._x) { if (_root.gActiveBack == FLOOR_LEFT) { fnChangeBackground(FLOOR_MIDDLE); } else { fnChangeBackground(FLOOR_RIGHT); } _root.gHero.m_fnSetLocation(_root.gHero.m_floor, 0); loop = 0; while (loop < _root.gEnemy.length) { _root.gEnemy[loop].m_fnCheckVisible(); loop++; } loop = 0; while (loop < _root.gPowerUp.length) { _root.gPowerUp[loop].m_fnCheckVisible(); loop++; } } else if (_root.gHero.m_clip._x < worldLeftExtent) { if (_root.gActiveBack == FLOOR_RIGHT) { fnChangeBackground(FLOOR_MIDDLE); } else { fnChangeBackground(FLOOR_LEFT); } _root.gHero.m_fnSetLocation(_root.gHero.m_floor, 1); loop = 0; while (loop < _root.gEnemy.length) { _root.gEnemy[loop].m_fnCheckVisible(); loop++; } loop = 0; while (loop < _root.gPowerUp.length) { _root.gPowerUp[loop].m_fnCheckVisible(); loop++; } } }; fnCheckEndLevel = function () { if ((_root.gHUD.m_fnGetGameTime() == "0:00") || (_root.gHero.m_health == 0)) { gotoAndPlay (40); } }; fnCheckVictory = function () { if ((_root.gHUD.m_fnGetGameTime() == "0:00") && (_root.gScore >= (LEVEL_MINSCORE * _root.gLevel))) { gotoAndStop (47); return(undefined); } _root.gHero.m_numLives = _root.gHero.m_numLives - 1; if (_root.gHero.m_numLives == 0) { gotoAndPlay (49); } else { gotoAndStop (48); } }; fnShowAll = function (show) { var loop; _root.gHero.m_clip._visible = show; _root.gHUD.m_fnSetVisible(show); loop = 0; while ((loop < _root.gEnemy.length) && (show == false)) { _root.gEnemy[loop].m_clip._visible = show; loop++; } loop = 0; while ((loop < _root.gPowerUp.length) && (show == false)) { _root.gPowerUp[loop].m_clip._visible = show; loop++; } }; fnResetWorld = function () { _root.gLevel = 0; _root.gScore = 0; _root.gHero.m_fnReset(); }; cHUD = function () { this.m_NumLives = 0; this.m_MiniMap = new cMiniMap(); this.m_HealthBar = new cHealthBar(); this.m_HeroLives = new cHeroLives(); this.m_Score = new cScore(); this.m_Timer = new cClock(); _root.attachMovie(MSTDSDECAL_CLIP, MSTDSDECAL_INST, MSTDSDECAL_LAYER); _root.attachMovie(ANVILDECAL_CLIP, ANVILDECAL_INST, ANVILDECAL_LAYER); this.m_Monstoids = _root[MSTDSDECAL_INST]; this.m_Anvil = _root[ANVILDECAL_INST]; this.m_Monstoids._x = MSTDSDECAL_STARTX; this.m_Monstoids._y = MSTDSDECAL_STARTY; this.m_Anvil._x = ANVILDECAL_STARTX; this.m_Anvil._y = ANVILDECAL_STARTY; }; cHUD.prototype.m_fnMoveMiniMap = function (floor) { this.m_MiniMap.m_fnSwapFloors(floor); }; cHUD.prototype.m_fnUpdateMiniMapObjPos = function (obj, backgrnd, x, y, frame, xscale) { this.m_MiniMap.m_fnUpdateMiniMapObjPos(obj, backgrnd, x, y, frame, xscale); }; cHUD.prototype.m_fnAddMiniMapObject = function (id, newid) { this.m_MiniMap.m_fnAddObject(id, newid); }; cHUD.prototype.m_fnRemoveMiniMapObject = function (id) { this.m_MiniMap.m_fnRemoveObject(id); }; cHUD.prototype.m_fnSetVisible = function (visible) { this.m_MiniMap.m_clip._visible = visible; this.m_HealthBar.m_clip._visible = visible; this.m_HeroLives.m_clip._visible = visible; this.m_Score.m_clip._visible = visible; this.m_Timer.m_clip._visible = visible; this.m_Monstoids._visible = visible; this.m_Anvil._visible = visible; }; cHUD.prototype.m_fnClear = function () { this.m_MiniMap.m_fnClear(); this.m_fnSetNumLives(0); this.m_Monstoids._alpha = MSTDSDECAL_STARTA; this.m_Anvil._alpha = ANVILDECAL_STARTA; this.m_fnSetScore(ERROR_STRING); this.m_fnSetTimer(ERROR_STRING); }; cHUD.prototype.m_fnUpdateHeroLife = function (health) { this.m_HealthBar.m_fnSetBarFillPercent(health); }; cHUD.prototype.m_fnSetOwnMonstoids = function (own) { this.m_Monstoids._alpha = (own ? (MSTDSDECAL_OWNA) : (MSTDSDECAL_STARTA)); }; cHUD.prototype.m_fnSetOwnAnvil = function (own) { this.m_Anvil._alpha = (own ? (ANVILDECAL_OWNA) : (ANVILDECAL_STARTA)); }; cHUD.prototype.m_fnSetNumLives = function (num) { this.m_HeroLives.m_fnSetNumLives(num); }; cHUD.prototype.m_fnSetScore = function (value) { this.m_Score.m_fnSetScore(value); }; cHUD.prototype.m_fnSetTimer = function (value) { this.m_Timer.m_fnSetTimer(value); }; cHUD.prototype.m_fnStartClock = function (seconds) { this.m_Timer.m_fnStartTimer(seconds); }; cHUD.prototype.m_fnUpdateClock = function () { this.m_timer.m_fnUpdateDisplay(); }; cHUD.prototype.m_fnGetGameTime = function () { return(this.m_timer.m_fnGetValue()); }; cScore = function () { _root.attachMovie(SCORE_CLIP, SCORE_INST, SCORE_LAYER); this.m_clip = _root[SCORE_INST]; this.m_clip._x = SCORE_STARTX; this.m_clip._y = SCORE_STARTY; this.m_fnSetScore(ERROR_STRING); }; cScore.prototype.m_fnSetScore = function (value) { this.m_clip.m_text.m_data = value; this.m_clip.m_text.m_shadow = value; }; cClock = function () { _root.attachMovie(TIMER_CLIP, TIMER_INST, TIMER_LAYER); this.m_clip = _root[TIMER_INST]; this.m_clip._x = TIMER_STARTX; this.m_clip._y = TIMER_STARTY; this.m_time = new cTimer(); this.m_countDown = true; this.m_timeDone = 0; this.m_startTime = 0; this.m_fnSetTimer("0:00"); }; cClock.prototype.m_fnSetTimer = function (value) { this.m_clip.m_text.m_data = value; this.m_clip.m_text.m_shadow = value; }; cClock.prototype.m_fnGetValue = function () { return(this.m_clip.m_text.m_data); }; cClock.prototype.m_fnStartTimer = function (seconds) { this.m_countDown = true; this.m_timeDone = this.m_time.milliseconds() + (seconds * 1000); this.m_fnUpdateDisplay(); }; cClock.prototype.m_fnUpdateDisplay = function () { if (this.m_timeDone < this.m_time) { if (this.m_countDown) { this.m_fnSetTimer("0:00"); } else { this.m_fnSetTimer(this.m_fnConvertTime(this.m_timeDone - this.m_startTime)); } return(undefined); } if (this.m_countDown) { this.m_fnSetTimer(this.m_fnConvertTime(this.m_timeDone - this.m_time.milliseconds())); } else { this.m_fnSetTimer(this.m_fnConvertTime(this.m_time.milliseconds() - this.m_startTime)); } }; cClock.prototype.m_fnConvertTime = function (milli) { var secs = Math.floor((milli % 60000) / 1000); if (secs < 10) { secs = "0" + secs; } return((Math.floor(milli / 60000) + ":") + secs); }; cHeroLives = function () { _root.attachMovie(LIVESCONT_CLIP, LIVESCONT_INST, LIVESCONT_LAYER); this.m_clip = _root[LIVESCONT_INST]; this.m_clip._x = LIVESCONT_STARTX; this.m_clip._y = LIVESCONT_STARTY; this.m_NumLives = 0; }; cHeroLives.prototype.m_fnSetNumLives = function (num) { this.m_fnClearLives(); this.m_NumLives = num; var loop = 0; while (loop < this.m_NumLives) { this.m_clip.attachMovie(LIVES_CLIP, loop, loop); this.m_clip[loop]._x = LIVES_STARTX + (LIVES_INCX * loop); this.m_clip[loop]._y = LIVES_STARTY + (LIVES_INCY * loop); loop++; } }; cHeroLives.prototype.m_fnClearLives = function () { var loop = 0; while (loop < this.m_NumLives) { removeMovieClip(this.m_clip[loop]); loop++; } this.m_NumLives = 0; }; cHealthBar = function () { _root.attachMovie(HEALTHBAR_CLIP, HEALTHBAR_INST, HEALTHBAR_LAYER); this.m_clip = _root[HEALTHBAR_INST]; this.m_clip._x = HEALTHBAR_STARTX; this.m_clip._y = HEALTHBAR_STARTY; }; cHealthBar.prototype.m_fnSetBarFillPercent = function (percent) { this.m_clip.gotoAndStop(Math.floor(percent * HEALTHBAR_FILLRATE) + 1); }; cMiniMap = function () { this.m_clipLayer = 0; _root.attachMovie(MINIMAP_CLIP, MINIMAP_INST, MINIMAP_LAYER); this.m_clip = _root[MINIMAP_INST]; this.m_clip._x = MINIMAP_STARTX; this.m_clip._y = MINIMAP_STARTY; }; cMiniMap.prototype.m_fnSwapFloors = function (floor) { this.m_clip._y = MINIMAP_STARTY + (floor * MINIMAP_SWAPY); }; cMiniMap.prototype.m_fnUpdateMiniMapObjPos = function (obj, backgrnd, x, y, frame, xscale) { var backgrndMult = 0; if (backgrnd == FLOOR_MIDDLE) { backgrndMult = 1; } else if (backgrnd == FLOOR_RIGHT) { backgrndMult = 2; } this.m_clip[obj]._x = (x + (backgrndMult * (FLOOR_WIDTH + (2 * FLOOR_SIDEDIST)))) * (MINIMAP_OBJSCALEX / 100); this.m_clip[obj]._y = y * (MINIMAP_OBJSCALEY / 100); this.m_clip[obj].gotoAndStop(frame); this.m_clip[obj]._xscale = xscale; }; cMiniMap.prototype.m_fnAddObject = function (id, newid) { this.m_clip.attachMovie(id, newid, this.m_clipLayer++); this.m_clip[newid]._xscale = MINIMAP_OBJSCALEX; this.m_clip[newid]._yscale = MINIMAP_OBJSCALEY; this.m_clip[newid].stop(); }; cMiniMap.prototype.m_fnRemoveObject = function (id) { removeMovieClip(this.m_clip[id]); }; cMiniMap.prototype.m_fnClear = function () { this.m_clip.removeMovieClip(); this.m_clipLayer = 0; _root.attachMovie(MINIMAP_CLIP, MINIMAP_INST, MINIMAP_LAYER); this.m_clip = _root[MINIMAP_INST]; this.m_clip._x = MINIMAP_STARTX; this.m_clip._y = MINIMAP_STARTY; }; cHero = function () { _root.attachMovie(HERO_CLIP, HERO_INSTANCE, HERO_LAYER); this.m_clip = _root[HERO_INSTANCE]; this.m_clip._visible = false; this.m_state = HERO_IDLE; this.m_moveRate = HERO_MOVERATE; this.m_floor = ERROR_STRING; this.m_health = ERROR_STRING; this.m_invincible = false; this.m_noHurtTimer = new cTimer(); this.m_noHurt = this.m_noHurtTimer.milliseconds(); this.m_numLives = LIVES_NUMSTART; }; cHero.prototype.m_fnSetLocation = function (floor, distNormalizedLeftToRight) { this.m_clip._y = FLOOR_TOPDIST + (FLOOR_HEIGHT * floor); this.m_clip._x = FLOOR_SIDEDIST + (FLOOR_WIDTH * distNormalizedLeftToRight); this.m_floor = floor; }; cHero.prototype.m_fnMove = function (direction) { this.m_clip._x = this.m_clip._x + (this.m_moveRate * direction); if (direction == MOVE_LEFT) { this.m_clip._xscale = HERO_LEFTDIR; } else { this.m_clip._xscale = HERO_RIGHTDIR; } if ((this.m_state != HERO_RUN) && (this.m_state != HERO_JUMP)) { this.m_state = HERO_RUN; this.m_clip.gotoAndPlay(HERO_RUN); } }; cHero.prototype.m_fnJump = function () { if (this.m_state != HERO_JUMP) { this.m_state = HERO_JUMP; this.m_clip.gotoAndPlay(HERO_JUMP); _root.gSoundMan.m_fnPlaySFX(SNDIDX_JUMP, FLOOR_WIDTH / 2); } }; cHero.prototype.m_fnIdle = function () { if ((this.m_state != HERO_IDLE) && (this.m_state != HERO_JUMP)) { this.m_state = HERO_IDLE; this.m_clip.gotoAndPlay(HERO_IDLE); } }; cHero.prototype.m_fnAddHealth = function (wie_viel) { if (wie_viel < 0) { if (this.m_noHurtTimer.milliseconds() < this.m_noHurt) { return(undefined); } this.m_noHurt = this.m_noHurtTimer.milliseconds() + HEALTH_HURTTIMEOUT; if (this.m_clip._xscale == HERO_LEFTDIR) { this.m_clip._x = this.m_clip._x + (this.m_moveRate * HEALTH_HURTPUSHBACK); } else { this.m_clip._x = this.m_clip._x - (this.m_moveRate * HEALTH_HURTPUSHBACK); } _root.gSoundMan.m_fnPlaySFX(SNDIDX_BUGSHURT, FLOOR_WIDTH / 2); } this.m_health = this.m_health + wie_viel; if (this.m_health < 0) { this.m_health = 0; } if (100 < this.m_health) { this.m_health = 100; } _root.gHud.m_fnUpdateHeroLife(this.m_health); }; cHero.prototype.m_fnSetHealth = function (health) { this.m_health = health; _root.gHud.m_fnUpdateHeroLife(this.m_health); }; cHero.prototype.m_fnSetAnvilTrap = function () { if (_root.gHUD.m_Anvil._alpha == ANVILDECAL_OWNA) { _root.gHUD.m_fnSetOwnAnvil(false); _root.gPowerUp[PWRUPIDX_ANVILTRAP].m_fnSpawn(_root.gHero.m_clip._x, _root.gHero.m_clip._y); _root.gSoundMan.m_fnPlaySFX(SNDIDX_TRAPSET, FLOOR_WIDTH / 2); } }; cHero.prototype.m_fnSetMonstoidsTrap = function () { if (_root.gHUD.m_Monstoids._alpha == MSTDSDECAL_OWNA) { _root.gHUD.m_fnSetOwnMonstoids(false); _root.gPowerUp[PWRUPIDX_MNSTDSTRAP].m_fnSpawn(_root.gHero.m_clip._x, _root.gHero.m_clip._y); _root.gSoundMan.m_fnPlaySFX(SNDIDX_TRAPSET, FLOOR_WIDTH / 2); } }; cHero.prototype.m_fnTick = function () { if (this.m_noHurtTimer.milliseconds() < this.m_noHurt) { if (this.m_clip._alpha == HEALTH_FINEA) { this.m_clip._alpha = HEALTH_HURTA; } else { this.m_clip._alpha = HEALTH_FINEA; } } else if (this.m_clip._alpha == HEALTH_HURTA) { this.m_clip._alpha = HEALTH_FINEA; } }; cHero.prototype.m_fnReset = function () { this.m_numLives = LIVES_NUMSTART; this.m_fnSetHealth(HEALTH_LEVELSTART); }; cEnemy = function (type) { var _local1 = ENEMYTYPE_GOSSAMER; switch (type) { case _local1 : this.m_clipName = GOSSAMER_CLIP; this.m_instName = GOSSAMER_INST; this.m_MovLayer = GOSSAMER_LAYER; this.m_idleFrame = GOSSAMER_IDLE; this.m_runFrame = GOSSAMER_RUN; this.m_stunFrame = GOSSAMER_STUN; this.m_anvilFrame = GOSSAMER_ANVIL; this.m_moveRate = GOSSAMER_MOVERATE; this.m_moveRateDelta = GOSSAMER_MOVERATEDELTA; this.m_leftDir = GOSSAMER_LEFTDIR; this.m_rightDir = GOSSAMER_RIGHTDIR; this.m_hurtRate = GOSSAMER_HURTRATE; this.m_hurtRateDelta = GOSSAMER_HURTRATEDELTA; this.m_gruntSndIdx = SNDIDX_GOSSGRWL; break; case ENEMYTYPE_CARROTGUY : this.m_clipName = CARROTGUY_CLIP; this.m_instName = CARROTGUY_INST; this.m_MovLayer = CARROTGUY_LAYER; this.m_idleFrame = CARROTGUY_IDLE; this.m_runFrame = CARROTGUY_RUN; this.m_stunFrame = CARROTGUY_STUN; this.m_anvilFrame = CARROTGUY_ANVIL; this.m_moveRate = CARROTGUY_MOVERATE; this.m_moveRateDelta = CARROTGUY_M0VERATEDELTA; this.m_leftDir = CARROTGUY_LEFTDIR; this.m_rightDir = CARROTGUY_RIGHTDIR; this.m_hurtRate = CARROTGUY_HURTRATE; this.m_hurtRateDelta = CARROTGUY_HURTRATEDELTA; this.m_gruntSndIdx = SNDIDX_CARRGRWL; break; default : trace("Unknown enemy type passed into the cEnemy constructor."); } _root.attachMovie(this.m_clipName, this.m_instName, this.m_MovLayer); this.m_clip = _root[this.m_instName]; this.m_clip._visible = false; this.m_timer = new cTimer(); this.m_back = ERROR_STRING; this.m_nextProcess = ERROR_STRING; this.m_state = ERROR_STRING; this.m_floor = ERROR_STRING; this.m_gameLevel = 0; this.m_fnSetState(AISTATE_IDLE); }; cEnemy.prototype.m_fnCalculateRates = function (levelNum) { var delta = (levelNum - this.m_gameLevel); this.m_gameLevel = levelNum; this.m_moveRate = this.m_moveRate + (delta * this.m_moveRateDelta); this.m_hurtRate = this.m_hurtRate + (delta * this.m_hurtRateDelta); }; cEnemy.prototype.m_fnIdleTime = function () { return(this.m_timer.milliseconds() + _root.gAITree.m_fnIdleTime()); }; cEnemy.prototype.m_fnRunTime = function () { return(this.m_timer.milliseconds() + _root.gAITree.m_fnRunTime()); }; cEnemy.prototype.m_fnStunTime = function () { return(this.m_timer.milliseconds() + _root.gAITree.m_fnStunTime()); }; cEnemy.prototype.m_fnAnvilTime = function () { return(this.m_timer.milliseconds() + _root.gAITree.m_fnAnvilTime()); }; cEnemy.prototype.m_fnRandomizeLocation = function () { var room = random(3); var level = random(2); this.m_back = FLOOR_LEFT; if (room == 1) { this.m_back = FLOOR_MIDDLE; } else if (room == 2) { this.m_back = FLOOR_RIGHT; } if (this.m_back == _root.gActiveBack) { level = !_root.gHero.m_floor; } this.m_fnSetLocation(level, 0.5); }; cEnemy.prototype.m_fnSetLocation = function (floor, distNormalizedLeftToRight) { this.m_clip._y = FLOOR_TOPDIST + (FLOOR_HEIGHT * floor); this.m_clip._x = FLOOR_SIDEDIST + (FLOOR_WIDTH * distNormalizedLeftToRight); this.m_floor = floor; }; cEnemy.prototype.m_fnCheckVisible = function () { if (this.m_back == _root.gActiveBack) { this.m_clip._visible = true; } else { this.m_clip._visible = false; } }; cEnemy.prototype.m_fnTick = function () { this.m_fnCheckVisible(); if (this.m_nextProcess < this.m_timer.milliseconds()) { this.m_fnSetState(_root.gAITree.m_fnRandomizeAction()); } else if (this.m_state == AISTATE_RUN) { if (this.m_clip._xscale == this.m_leftDir) { this.m_clip._x = this.m_clip._x - this.m_moveRate; } else { this.m_clip._x = this.m_clip._x + this.m_moveRate; } this.m_fnCheckOffScreen(); } }; cEnemy.prototype.m_fnCheckOffScreen = function () { var worldRightExtent = (FLOOR_WIDTH + FLOOR_SIDEDIST); var worldLeftExtent = FLOOR_SIDEDIST; var floorSwapLeadDist = (HERO_MOVERATE / FLOOR_WIDTH); var loop; if (worldRightExtent < this.m_clip._x) { if (this.m_back == FLOOR_RIGHT) { if (this.m_floor == FLOOR_TOP) { this.m_fnSetLocation(FLOOR_BOTTOM, 1 - floorSwapLeadDist); } else { this.m_fnSetLocation(FLOOR_TOP, 1 - floorSwapLeadDist); } this.m_clip._xscale = this.m_leftDir; return(undefined); } if (this.m_back == FLOOR_LEFT) { this.m_back = FLOOR_MIDDLE; } else { this.m_back = FLOOR_RIGHT; } this.m_fnSetLocation(this.m_floor, 0); this.m_fnCheckVisible(); } else if (this.m_clip._x < worldLeftExtent) { if (this.m_back == FLOOR_LEFT) { if (this.m_floor == FLOOR_TOP) { this.m_fnSetLocation(FLOOR_BOTTOM, 0 + floorSwapLeadDist); } else { this.m_fnSetLocation(FLOOR_TOP, 0 + floorSwapLeadDist); } this.m_clip._xscale = this.m_rightDir; return(undefined); } if (this.m_back == FLOOR_RIGHT) { this.m_back = FLOOR_MIDDLE; } else { this.m_back = FLOOR_LEFT; } this.m_fnSetLocation(this.m_floor, 1); this.m_fnCheckVisible(); } }; cEnemy.prototype.m_fnSetState = function (state) { this.m_state = state; var _local1 = AISTATE_IDLE; switch (this.m_state) { case _local1 : this.m_clip.gotoAndPlay(this.m_idleFrame); if (this.m_back == _root.gActiveBack) { _root.gSoundMan.m_fnPlaySFX(this.m_gruntSndIdx, this.m_clip._x); } this.m_nextProcess = this.m_fnIdleTime(); return; case AISTATE_STUNNED : this.m_clip.gotoAndPlay(this.m_stunFrame); if (this.m_back == _root.gActiveBack) { _root.gSoundMan.m_fnPlaySFX(SNDIDX_MSTDS, this.m_clip._x); } this.m_nextProcess = this.m_fnStunTime(); return; case AISTATE_ANVILLED : this.m_clip.gotoAndPlay(this.m_anvilFrame); if (this.m_back == _root.gActiveBack) { _root.gSoundMan.m_fnPlaySFX(SNDIDX_ANVIL, this.m_clip._x); } this.m_nextProcess = this.m_fnAnvilTime(); return; case AISTATE_RUN : if (random(2) == 0) { this.m_clip._xscale = this.m_leftDir; } else { this.m_clip._xscale = this.m_rightDir; } this.m_clip.gotoAndPlay(this.m_runFrame); this.m_nextProcess = this.m_fnRunTime(); return; default : trace("Unknown action in cEnemy.m_fnSetState()."); } }; cPowerUp = function (type, objData) { var _local1 = PWRUPTYPE_MNSTDS; switch (type) { case _local1 : this.m_clipName = MONSTDS_CLIP; this.m_instName = MONSTDS_INST; this.m_layerNum = MONSTDS_LAYER; this.m_trapIdx = objData; this.m_fnWaiter = this.m_fnWaitForHeroPickUp; this.m_fnAction = this.m_fnActionMonstoids; this.m_fnIdle = this.m_fnIdleDoNothing; this.m_fnNoAction = this.m_fnIdleDoNothing; this.m_fnSpawn = this.m_fnStdSpawn; break; case PWRUPTYPE_MNSTDSTRAP : this.m_clipName = MNSTDSTRAP_CLIP; this.m_instName = MNSTDSTRAP_INST; this.m_layerNum = MNSTDSTRAP_LAYER; this.m_objIdx = objData; this.m_fnWaiter = this.m_fnWaitForMonsterPickUp; this.m_fnAction = this.m_fnActionMonstoidsTrap; this.m_fnIdle = this.m_fnIdleDoNothing; this.m_fnNoAction = this.m_fnIdleDoNothing; this.m_fnSpawn = this.m_fnTrapSpawn; break; case PWRUPTYPE_ANVIL : this.m_clipName = ANVIL_CLIP; this.m_instName = ANVIL_INST; this.m_layerNum = ANVIL_LAYER; this.m_trapIdx = objData; this.m_fnWaiter = this.m_fnWaitForHeroPickUp; this.m_fnAction = this.m_fnActionAnvil; this.m_fnIdle = this.m_fnIdleDoNothing; this.m_fnNoAction = this.m_fnIdleDoNothing; this.m_fnSpawn = this.m_fnStdSpawn; break; case PWRUPTYPE_ANVILTRAP : this.m_clipName = ANVILTRAP_CLIP; this.m_instName = ANVILTRAP_INST; this.m_layerNum = ANVILTRAP_LAYER; this.m_objIdx = objData; this.m_fnWaiter = this.m_fnWaitForMonsterPickUp; this.m_fnAction = this.m_fnActionAnvilTrap; this.m_fnIdle = this.m_fnIdleDoNothing; this.m_fnNoAction = this.m_fnIdleDoNothing; this.m_fnSpawn = this.m_fnTrapSpawn; break; case PWRUPTYPE_SPEED : this.m_clipName = SPEED_CLIP; this.m_instName = SPEED_INST; this.m_layerNum = SPEED_LAYER; this.m_fnWaiter = this.m_fnWaitForHeroPickUp; this.m_fnAction = this.m_fnActionSpeedBoost; this.m_fnIdle = this.m_fnIdleSpeedBoost; this.m_fnNoAction = this.m_fnIdleDoNothing; this.m_fnSpawn = this.m_fnStdSpawn; this.m_timeUp = ERROR_STRING; this.m_timer = new cTimer(); break; case PWRUPTYPE_CARROT : this.m_clipName = CARROT_CLIP; this.m_instName = CARROT_INST + objData; this.m_layerNum = CARROT_LAYER + objData; this.m_fnWaiter = this.m_fnWaitForHeroPickUp; this.m_fnAction = this.m_fnActionCarrot; this.m_fnIdle = this.m_fnIdleDoNothing; this.m_fnNoAction = this.m_fnIdleDoNothing; this.m_fnSpawn = this.m_fnCarrotSpawn; this.m_existTil = ERROR_STRING; this.m_timer = new cTimer(); break; default : trace("Unknown type passed into the power ups constructor."); } _root.attachMovie(this.m_clipName, this.m_instName, this.m_layerNum); this.m_clip = _root[this.m_instName]; this.m_clip._visible = false; this.m_active = false; this.m_back = ERROR_STRING; }; cPowerUp.prototype.m_fnStdSpawn = function () { var back = random(3); this.m_back = FLOOR_LEFT; if (back == 1) { this.m_back = FLOOR_MIDDLE; } else if (back == 2) { this.m_back = FLOOR_RIGHT; } this.m_clip._x = FLOOR_PWRUPDIST + random(FLOOR_WIDTH - (FLOOR_PWRUPDIST * 2)); this.m_clip._y = FLOOR_TOPDIST + (FLOOR_HEIGHT * random(2)); _root.gHUD.m_fnAddMiniMapObject(this.m_clipName, this.m_instName); _root.gHUD.m_fnUpdateMiniMapObjPos(this.m_instName, this.m_back, this.m_clip._x, this.m_clip._y, this.m_clip._currentframe, this.m_clip._xscale * MINIMAP_OBJSCALER); this.m_active = true; this.m_fnCheckVisible(); }; cPowerUp.prototype.m_fnInactivate = function () { this.m_clip._visible = false; this.m_active = false; _root.gHUD.m_fnRemoveMiniMapObject(this.m_instName); }; cPowerUp.prototype.m_fnCheckVisible = function () { if (this.m_active) { if (this.m_back == _root.gActiveBack) { this.m_clip._visible = true; } else { this.m_clip._visible = false; } } }; cPowerUp.prototype.m_fnWaitForHeroPickUp = function () { if (!this.m_active) { return(this.m_fnIdle()); } if (this.m_clip._visible && (this.m_clip.hitTest(_root.gHero.m_clip))) { this.m_fnAction(); } else { this.m_fnNoAction(); } }; cPowerUp.prototype.m_fnWaitForMonsterPickUp = function () { if (!this.m_active) { return(this.m_fnIdle()); } var loop = 0; while (loop < _root.gEnemy.length) { if ((this.m_back == _root.gEnemy[loop].m_back) && (this.m_clip.hitTest(_root.gEnemy[loop].m_clip))) { return(this.m_fnAction(_root.gEnemy[loop])); } loop++; } this.m_fnNoAction(); }; cPowerUp.prototype.m_fnIdleDoNothing = function () { }; cPowerUp.prototype.m_fnActionMonstoids = function () { this.m_fnInactivate(); _root.gHUD.m_fnSetOwnMonstoids(true); _root.gSoundMan.m_fnPlaySFX(SNDIDX_GETITEM, this.m_clip._x); }; cPowerUp.prototype.m_fnActionMonstoidsTrap = function (enemyHurt) { this.m_fnInactivate(); enemyHurt.m_fnSetState(AISTATE_STUNNED); _root.gScore = _root.gScore + POINTS_TRAPSPRUNG; _root.gHud.m_fnSetScore(_root.gScore); _root.gPowerUp[this.m_objIdx].m_fnSpawn(); }; cPowerUp.prototype.m_fnActionAnvil = function () { this.m_fnInactivate(); _root.gHUD.m_fnSetOwnAnvil(true); _root.gSoundMan.m_fnPlaySFX(SNDIDX_GETITEM, this.m_clip._x); }; cPowerUp.prototype.m_fnActionAnvilTrap = function (enemyHurt) { this.m_fnInactivate(); enemyHurt.m_fnSetState(AISTATE_ANVILLED); _root.gScore = _root.gScore + POINTS_TRAPSPRUNG; _root.gHud.m_fnSetScore(_root.gScore); _root.gPowerUp[this.m_objIdx].m_fnSpawn(); }; cPowerUp.prototype.m_fnActionSpeedBoost = function () { this.m_fnInactivate(); _root.gHero.m_moveRate = _root.gHero.m_moveRate + POWERUP_SPEED; this.m_timeUp = this.m_timer.milliseconds() + SPEED_TIME; _root.gSoundMan.m_fnPlaySFX(SNDIDX_GETITEM, this.m_clip._x); }; cPowerUp.prototype.m_fnIdleSpeedBoost = function () { if (this.m_timeUp < this.m_timer.milliseconds()) { _root.gHero.m_moveRate = _root.gHero.m_moveRate - POWERUP_SPEED; this.m_fnSpawn(); } }; cPowerUp.prototype.m_fnActionCarrot = function () { if (_root.gHero.m_invincible) { _root.gScore = _root.gScore + POINTS_GOTCARROT; _root.gHUD.m_fnSetScore(_root.gScore); _root.gHero.m_fnAddHealth(HEALTH_GOTCARROT); _root.gSoundMan.m_fnPlaySFX(SNDIDX_GETITEM, this.m_clip._x); this.m_fnSpawn(); } }; cPowerUp.prototype.m_fnNoActionCarrot = function () { if (this.m_clip.m_alpha < CARROT_MAXA) { this.m_clip._alpha = this.m_clip._alpha + CARROT_INCA; } if (this.m_existTil < this.m_timer.milliseconds()) { if (CARROT_STARTA < this.m_clip.m_alpha) { this.m_clip._alpha = this.m_clip._alpha - CARROT_INCA; } else { this.m_fnSpawn(); } } }; cPowerUp.prototype.m_fnCarrotSpawn = function () { this.m_existTil = this.m_timer.milliseconds() + CARROTTIMER_RESPAWN; this.m_clip._alpha = CARRAT_STARTA; this.m_clip.gotoAndPlay(CARROT_STARTANIM); this.m_fnInactivate(); this.m_fnStdSpawn(); }; cPowerUp.prototype.m_fnTrapSpawn = function (x, y) { this.m_back = _root.gActiveBack; this.m_clip._x = x; this.m_clip._y = y; _root.gHUD.m_fnAddMiniMapObject(this.m_clipName, this.m_instName); _root.gHUD.m_fnUpdateMiniMapObjPos(this.m_instName, this.m_back, this.m_clip._x, this.m_clip._y, this.m_clip._currentframe, this.m_clip._xscale * MINIMAP_OBJSCALER); this.m_active = true; this.m_fnCheckVisible(); }; cAITree = function (levelNum) { var loop; this.m_AITimerIdleExtra = AI_MAXEXTRAIDLE - (AI_PERLEVELDECIDLE * levelNum); if (this.m_AITimerIdleExtra < 0) { this.m_AITimerIdleExtra = 0; } this.m_AITimerRunExtra = AI_MAXEXTRARUN - (AI_PERLEVELDECRUN * levelNum); if (this.m_AITimerRunExtra < 0) { this.m_AITimerRunExtra = 0; } this.m_AITimerStunExtra = AI_MAXEXTRASTUN - (AI_PERLEVELDECSTUN * levelNum); if (this.m_AITimerStunExtra < 0) { this.m_AITimerStunExtra = 0; } this.m_AITimerAnvilExtra = AI_MAXEXTRAANVIL - (AI_PERLEVELDECANVIL * levelNum); if (this.m_AITimerAnvilExtra < 0) { this.m_AITimerAnvilExtra = 0; } this.m_AIIdleAction = AIOPT_IDLEMAXEXTRA + (AIOPT_IDLEDELTA * levelNum); if (this.m_AIIdleAction < 0) { this.m_AIIdleAction = 0; } this.m_AIIdleAction = this.m_AIIdleAction + AIOPT_IDLEMIN; this.m_AIRunAction = AIOPT_RUNMAXEXTRA + (AIOPT_RUNDELTA * levelNum); if (this.m_AIRunAction < 0) { this.m_AIRunAction = 0; } this.m_AIRunAction = this.m_AIRunAction + AIOPT_RUNMIN; this.m_decisionTree = new Array(); loop = 0; while (loop < this.m_AIIdleAction) { this.m_decisionTree[this.m_decisionTree.length] = AISTATE_IDLE; loop++; } loop = 0; while (loop < this.m_AIRunAction) { this.m_decisionTree[this.m_decisionTree.length] = AISTATE_RUN; loop++; } }; cAITree.prototype.m_fnIdleTime = function () { return(AI_MINIDLE + random(this.m_AITimerIdleExtra)); }; cAITree.prototype.m_fnRunTime = function () { return(AI_MINRUN + random(this.m_AITimerRunExtra)); }; cAITree.prototype.m_fnStunTime = function () { return(AI_MINSTUN + random(this.m_AITimerStunExtra)); }; cAITree.prototype.m_fnAnvilTime = function () { return(AI_MINANVIL + random(this.m_AITimerAnvilExtra)); }; cAITree.prototype.m_fnRandomizeAction = function () { return(this.m_decisionTree[random(this.m_decisionTree.length)]); };
Frame 4
Set("_level0:gWTE_FL", _framesloaded); Set("_level0:gWTE_PL", int((_level0:gWTE_FL / _level0:gWTE_TF) * 100)); Set("_level0:gWTE_PLtxt", _level0:gWTE_PL add "%"); ifFrameLoaded (62) { if ((/hs_scripts/:gLoaded == true) || (/:gHS_bypass == true)) { gotoAndPlay (9); } }
Frame 6
gotoAndPlay (4);
Frame 15
stop(); _root.gLevel = 0; _root.gScore = 0; _root.gSoundMan = new cSoundMan(); _root.gHero = new cHero(); _root.gEnemy = new Array(); _root.gEnemy[0] = new cEnemy(ENEMYTYPE_GOSSAMER); _root.gEnemy[1] = new cEnemy(ENEMYTYPE_CARROTGUY); _root.gHUD = new cHUD(); _root.gHUD.m_fnMoveMiniMap(FLOOR_BOTTOM); _root.gHUD.m_fnSetVisible(false); _root.gPowerUp = new Array(); _root.gPowerUp[PWRUPIDX_MNSTDS] = new cPowerUp(PWRUPTYPE_MNSTDS, PWRUPIDX_MNSTDSTRAP); _root.gPowerUp[PWRUPIDX_ANVIL] = new cPowerUp(PWRUPTYPE_ANVIL, PWRUPIDX_ANVILTRAP); _root.gPowerUp[PWRUPIDX_MNSTDSTRAP] = new cPowerUp(PWRUPTYPE_MNSTDSTRAP, PWRUPIDX_MNSTDS); _root.gPowerUp[PWRUPIDX_ANVILTRAP] = new cPowerUp(PWRUPTYPE_ANVILTRAP, PWRUPIDX_ANVIL); _root.gPowerUp[PWRUPIDX_SPEED] = new cPowerUp(PWRUPTYPE_SPEED, ERROR_STRING); var loop = 0; while (loop < CARROTS_PER_LEVEL) { _root.gPowerUp[PWRUPIDX_CARROTS + loop] = new cPowerUp(PWRUPTYPE_CARROT, loop); loop++; } _root.gSoundMan.m_fnPlayAsBkgrnd(SNDIDX_THEME);
Frame 20
stop();
Frame 25
_root.fnSetupLevel(_root.gLevel); fnShowAll(true); _root.gSoundMan.m_fnPlaySFX(SNDIDX_EVILTNT, FLOOR_WIDTH / 2); _level0.min_high_score._y = 355;
Frame 33
var work; work = 0; while (work < _root.gEnemy.length) { _root.gEnemy[work].m_fnTick(); work++; } _root.gHero.m_fnTick(); work = 0; if (Key.isDown(VK_LEFT)) { work = 1; _root.gHero.m_fnMove(MOVE_LEFT); } if (Key.isDown(VK_RIGHT)) { work = 1; _root.gHero.m_fnMove(MOVE_RIGHT); } if (Key.isDown(VK_SPACE)) { work = 1; _root.gHero.m_fnJump(); } if (Key.isDown(VK_A)) { work = 1; _root.gHero.m_fnSetAnvilTrap(); } if (Key.isDown(VK_M)) { work = 1; _root.gHero.m_fnSetMonstoidsTrap(); } if (!work) { _root.gHero.m_fnIdle(); } if (Key.isDown(VK_Q)) { _root.gotoAndPlay("GameOver"); } _root.gHUD.m_fnUpdateMiniMapObjPos(HERO_INSTANCE, _root.gActiveBack, _root.gHero.m_clip._x, _root.gHero.m_clip._y, _root.gHero.m_clip._currentframe, _root.gHero.m_clip._xscale * MINIMAP_OBJSCALER); work = 0; while (work < _root.gEnemy.length) { _root.gHUD.m_fnUpdateMiniMapObjPos(_root.gEnemy[work].m_instName, _root.gEnemy[work].m_back, _root.gEnemy[work].m_clip._x, _root.gEnemy[work].m_clip._y, _root.gEnemy[work].m_clip._currentframe, _root.gEnemy[work].m_clip._xscale * MINIMAP_OBJSCALER); if (((((_root.gEnemy[work].m_back == _root.gActiveBack) && (!_root.gHero.m_invincible)) && (_root.gEnemy[work].m_state != AISTATE_STUNNED)) && (_root.gEnemy[work].m_state != AISTATE_ANVILLED)) && (_root.gEnemy[work].m_clip.hitTest(_root.gHero.m_clip))) { _root.gHero.m_fnAddHealth(-_root.gEnemy[work].m_hurtRate); } work++; } _root.fnScrollWorld(); work = 0; while (work < _root.gPowerUp.length) { _root.gPowerUp[work].m_fnWaiter(); work++; } _root.gHUD.m_fnUpdateClock(); fnCheckEndLevel();
Frame 34
gotoAndPlay(_currentframe - 1);
Frame 40
fnShowAll(false); fnCheckVictory();
Frame 41
Frame 42
Frame 47
stop(); _root.gLevel++; _root.gSoundMan.m_fnPlaySFX(SNDIDX_WINLEVEL, FLOOR_WIDTH / 2);
Frame 48
stop();
Frame 49
fnShowAll(false); _root.gSoundman.m_fnStopAllSounds(); _root.gSoundMan.m_fnPlaySFX(SNDIDX_LOSELEVEL, FLOOR_WIDTH / 2);
Frame 70
stop();
Symbol 30 MovieClip [carrot guy] Frame 2
gotoAndPlay (1);
Symbol 30 MovieClip [carrot guy] Frame 8
gotoAndPlay (3);
Symbol 30 MovieClip [carrot guy] Frame 18
stop();
Symbol 30 MovieClip [carrot guy] Frame 27
stop();
Symbol 56 MovieClip [gossamer] Frame 54
gotoAndPlay (1);
Symbol 56 MovieClip [gossamer] Frame 62
gotoAndPlay (55);
Symbol 56 MovieClip [gossamer] Frame 75
gotoAndPlay (71);
Symbol 56 MovieClip [gossamer] Frame 84
stop();
Symbol 84 MovieClip [Bugs] Frame 15
gotoAndPlay (1);
Symbol 84 MovieClip [Bugs] Frame 22
gotoAndPlay (16);
Symbol 84 MovieClip [Bugs] Frame 24
_root.gHero.m_invincible = true;
Symbol 84 MovieClip [Bugs] Frame 31
stop(); _root.gHero.m_invincible = false; _root.gHero.m_state = HERO_IDLE;
Symbol 108 MovieClip [Health Bar] Frame 1
stop();
Symbol 108 MovieClip [Health Bar] Frame 2
stop();
Symbol 108 MovieClip [Health Bar] Frame 3
stop();
Symbol 108 MovieClip [Health Bar] Frame 4
stop();
Symbol 108 MovieClip [Health Bar] Frame 5
stop();
Symbol 108 MovieClip [Health Bar] Frame 6
stop();
Symbol 108 MovieClip [Health Bar] Frame 7
stop();
Symbol 108 MovieClip [Health Bar] Frame 8
stop();
Symbol 108 MovieClip [Health Bar] Frame 9
stop();
Symbol 108 MovieClip [Health Bar] Frame 10
stop();
Symbol 108 MovieClip [Health Bar] Frame 11
stop();
Symbol 108 MovieClip [Health Bar] Frame 12
stop();
Symbol 108 MovieClip [Health Bar] Frame 13
stop();
Symbol 108 MovieClip [Health Bar] Frame 14
stop();
Symbol 108 MovieClip [Health Bar] Frame 15
stop();
Symbol 108 MovieClip [Health Bar] Frame 16
stop();
Symbol 108 MovieClip [Health Bar] Frame 17
stop();
Symbol 108 MovieClip [Health Bar] Frame 18
stop();
Symbol 108 MovieClip [Health Bar] Frame 19
stop();
Symbol 183 MovieClip [Golden Carrot] Frame 7
stop();
Symbol 191 Button
on (press) { startDrag (""); } on (release) { stopDrag(); }
Symbol 192 Button
on (release) { Set("/:gDebug", ""); }
Symbol 193 MovieClip Frame 1
if (/:gDebugMode == true) { _x = 50; }
Symbol 193 MovieClip Frame 5
stop();
Symbol 220 Button
on (release) { _root.gotoAndPlay("instructions"); }
Symbol 226 Button
on (release) { _root.gotoAndPlay("play"); } on (keyPress "<Enter>") { _root.gotoAndPlay("play"); }
Symbol 227 MovieClip Frame 28
stop();
Symbol 237 Button
on (release) { gotoAndPlay (15); }
Symbol 255 Button
on (release) { gotoAndPlay (2); }
Symbol 256 MovieClip Frame 10
stop();
Symbol 256 MovieClip Frame 25
stop();
Symbol 261 Button
on (release) { _root.gotoAndPlay("NextLevel"); } on (keyPress "<Enter>") { _root.gotoAndPlay("NextLevel"); }
Symbol 273 Button
on (release) { _root.fnResetWorld(); _root.gotoAndPlay("play"); }
Symbol 275 MovieClip Frame 1
stop();

Library Items

Symbol 1 Sound [GetItem]
Symbol 2 Sound [Hurt]
Symbol 3 Sound [Theme]
Symbol 4 Sound [Trap Set]
Symbol 5 Sound [Evil Taunt]
Symbol 6 Sound [Carrot Grunt]
Symbol 7 Sound [Gossamer Grunt]
Symbol 8 Sound [level win]
Symbol 9 Sound [level lose]
Symbol 10 Sound [Monstoids Boom]
Symbol 11 Sound [jump]
Symbol 12 Sound [Anvil Bash]
Symbol 13 GraphicUsed by:30
Symbol 14 GraphicUsed by:30
Symbol 15 GraphicUsed by:30
Symbol 16 GraphicUsed by:30
Symbol 17 GraphicUsed by:30
Symbol 18 GraphicUsed by:30
Symbol 19 GraphicUsed by:30
Symbol 20 GraphicUsed by:30
Symbol 21 GraphicUsed by:30
Symbol 22 GraphicUsed by:30
Symbol 23 GraphicUsed by:30
Symbol 24 GraphicUsed by:30 56
Symbol 25 GraphicUsed by:30 56 63
Symbol 26 GraphicUsed by:30
Symbol 27 GraphicUsed by:30
Symbol 28 GraphicUsed by:30
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClip [carrot guy]Uses:13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
Symbol 31 GraphicUsed by:56
Symbol 32 GraphicUsed by:56
Symbol 33 GraphicUsed by:56
Symbol 34 GraphicUsed by:56
Symbol 35 GraphicUsed by:56
Symbol 36 GraphicUsed by:56
Symbol 37 GraphicUsed by:56
Symbol 38 GraphicUsed by:56
Symbol 39 GraphicUsed by:56
Symbol 40 GraphicUsed by:56
Symbol 41 GraphicUsed by:56
Symbol 42 GraphicUsed by:56
Symbol 43 GraphicUsed by:56
Symbol 44 GraphicUsed by:56
Symbol 45 GraphicUsed by:56
Symbol 46 GraphicUsed by:56
Symbol 47 GraphicUsed by:56
Symbol 48 GraphicUsed by:56
Symbol 49 GraphicUsed by:56
Symbol 50 GraphicUsed by:56
Symbol 51 GraphicUsed by:56
Symbol 52 GraphicUsed by:56
Symbol 53 GraphicUsed by:56
Symbol 54 GraphicUsed by:56
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClip [gossamer]Uses:31 32 33 34 35 36 37 38 39 40 41 42 43 24 44 45 46 47 48 49 50 25 51 52 53 54 55
Symbol 57 GraphicUsed by:61
Symbol 58 GraphicUsed by:61
Symbol 59 GraphicUsed by:61
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClip [bugslife]Uses:57 58 59 60
Symbol 62 GraphicUsed by:63 67
Symbol 63 MovieClip [anvildecal]Uses:62 25
Symbol 64 GraphicUsed by:65 256
Symbol 65 MovieClip [monstoidscan]Uses:64
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClip [monstoids decal]Uses:62 66
Symbol 68 GraphicUsed by:84
Symbol 69 GraphicUsed by:84
Symbol 70 GraphicUsed by:84
Symbol 71 GraphicUsed by:84
Symbol 72 GraphicUsed by:84
Symbol 73 GraphicUsed by:84
Symbol 74 GraphicUsed by:84
Symbol 75 GraphicUsed by:84
Symbol 76 GraphicUsed by:84
Symbol 77 GraphicUsed by:84
Symbol 78 GraphicUsed by:84
Symbol 79 GraphicUsed by:84
Symbol 80 GraphicUsed by:84
Symbol 81 GraphicUsed by:84
Symbol 82 GraphicUsed by:84
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClip [Bugs]Uses:68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
Symbol 85 Graphic [Mini Map]Used by:89
Symbol 86 Graphic [Mini Map]Used by:89
Symbol 87 BitmapUsed by:88
Symbol 88 GraphicUses:87Used by:89
Symbol 89 MovieClip [Mini Map]Uses:86 88 85
Symbol 90 Graphic [Health Bar]Used by:108
Symbol 91 Graphic [Health Bar]Used by:108
Symbol 92 Graphic [Health Bar]Used by:108
Symbol 93 Graphic [Health Bar]Used by:108
Symbol 94 Graphic [Health Bar]Used by:108
Symbol 95 Graphic [Health Bar]Used by:108
Symbol 96 Graphic [Health Bar]Used by:108
Symbol 97 Graphic [Health Bar]Used by:108
Symbol 98 Graphic [Health Bar]Used by:108
Symbol 99 Graphic [Health Bar]Used by:108
Symbol 100 Graphic [Health Bar]Used by:108
Symbol 101 Graphic [Health Bar]Used by:108
Symbol 102 Graphic [Health Bar]Used by:108
Symbol 103 Graphic [Health Bar]Used by:108
Symbol 104 Graphic [Health Bar]Used by:108
Symbol 105 Graphic [Health Bar]Used by:108
Symbol 106 Graphic [Health Bar]Used by:108
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClip [Health Bar]Uses:107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90
Symbol 109 MovieClip [bugs life container]
Symbol 110 FontUsed by:111 112 114 115 117 118
Symbol 111 EditableTextUses:110Used by:113
Symbol 112 EditableTextUses:110Used by:113
Symbol 113 MovieClipUses:111 112Used by:116 119
Symbol 114 TextUses:110Used by:116
Symbol 115 TextUses:110Used by:116
Symbol 116 MovieClip [Game Timer]Uses:113 114 115
Symbol 117 TextUses:110Used by:119
Symbol 118 TextUses:110Used by:119
Symbol 119 MovieClip [Score]Uses:113 117 118
Symbol 120 GraphicUsed by:121 179 256  Timeline
Symbol 121 MovieClip [Speed Boost]Uses:120
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClip [Monstoids Trap]Uses:122
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClip [Anvil Trap]Uses:124
Symbol 126 MovieClip [Sound Clip]
Symbol 127 GraphicUsed by:142
Symbol 128 GraphicUsed by:142 179 256 275  Timeline
Symbol 129 GraphicUsed by:142
Symbol 130 GraphicUsed by:142
Symbol 131 GraphicUsed by:142
Symbol 132 GraphicUsed by:142
Symbol 133 GraphicUsed by:142
Symbol 134 GraphicUsed by:142
Symbol 135 GraphicUsed by:142
Symbol 136 GraphicUsed by:142 179 227 256 275  Timeline
Symbol 137 GraphicUsed by:142
Symbol 138 GraphicUsed by:142
Symbol 139 GraphicUsed by:142
Symbol 140 GraphicUsed by:142
Symbol 141 GraphicUsed by:142 154 179  Timeline
Symbol 142 MovieClip [Background Middle]Uses:127 128 129 130 131 132 133 134 135 136 137 138 139 140 141Used by:Timeline
Symbol 143 GraphicUsed by:154
Symbol 144 GraphicUsed by:154
Symbol 145 GraphicUsed by:154
Symbol 146 GraphicUsed by:154 256 275
Symbol 147 GraphicUsed by:154 256 275
Symbol 148 GraphicUsed by:154
Symbol 149 GraphicUsed by:154
Symbol 150 GraphicUsed by:154
Symbol 151 GraphicUsed by:154
Symbol 152 BitmapUsed by:153
Symbol 153 GraphicUses:152Used by:154
Symbol 154 MovieClip [Background Right]Uses:143 144 145 146 147 148 149 150 151 153 141Used by:Timeline
Symbol 155 GraphicUsed by:179  Timeline
Symbol 156 GraphicUsed by:179 256 275  Timeline
Symbol 157 GraphicUsed by:179 227 256 275  Timeline
Symbol 158 GraphicUsed by:179  Timeline
Symbol 159 GraphicUsed by:179 256 275  Timeline
Symbol 160 GraphicUsed by:179 227 256 275  Timeline
Symbol 161 GraphicUsed by:179  Timeline
Symbol 162 GraphicUsed by:179 227 256 275  Timeline
Symbol 163 GraphicUsed by:179  Timeline
Symbol 164 GraphicUsed by:179 227 256 275  Timeline
Symbol 165 GraphicUsed by:179 227 256 275  Timeline
Symbol 166 GraphicUsed by:179 227 256 275  Timeline
Symbol 167 GraphicUsed by:179 256 275  Timeline
Symbol 168 GraphicUsed by:179  Timeline
Symbol 169 GraphicUsed by:179  Timeline
Symbol 170 GraphicUsed by:179  Timeline
Symbol 171 GraphicUsed by:179  Timeline
Symbol 172 GraphicUsed by:179  Timeline
Symbol 173 GraphicUsed by:179  Timeline
Symbol 174 GraphicUsed by:179  Timeline
Symbol 175 GraphicUsed by:179  Timeline
Symbol 176 FontUsed by:177 189 232 251
Symbol 177 EditableTextUses:176Used by:179  Timeline
Symbol 178 GraphicUsed by:179  Timeline
Symbol 179 MovieClip [Background Left]Uses:155 156 128 157 158 159 136 160 161 162 163 164 165 166 167 120 168 169 170 171 172 173 174 175 177 178 141Used by:Timeline
Symbol 180 GraphicUsed by:183
Symbol 181 GraphicUsed by:183
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClip [Golden Carrot]Uses:180 181 182Used by:256
Symbol 184 GraphicUsed by:185
Symbol 185 MovieClip [Anvil]Uses:184Used by:256
Symbol 186 GraphicUsed by:256 263 265  Timeline
Symbol 187 GraphicUsed by:188
Symbol 188 MovieClipUses:187Used by:Timeline
Symbol 189 EditableTextUses:176Used by:193
Symbol 190 GraphicUsed by:191 192
Symbol 191 ButtonUses:190Used by:193
Symbol 192 ButtonUses:190Used by:193
Symbol 193 MovieClipUses:189 191 192Used by:Timeline
Symbol 194 GraphicUsed by:227
Symbol 195 GraphicUsed by:202
Symbol 196 GraphicUsed by:197
Symbol 197 MovieClipUses:196Used by:202
Symbol 198 GraphicUsed by:202
Symbol 199 GraphicUsed by:202
Symbol 200 GraphicUsed by:202
Symbol 201 GraphicUsed by:202
Symbol 202 MovieClipUses:195 197 198 199 200 201Used by:227
Symbol 203 GraphicUsed by:227 266
Symbol 204 GraphicUsed by:227 266
Symbol 205 GraphicUsed by:227 266
Symbol 206 GraphicUsed by:227 266
Symbol 207 GraphicUsed by:227 266
Symbol 208 GraphicUsed by:227 266
Symbol 209 GraphicUsed by:227
Symbol 210 GraphicUsed by:227 266
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClipUses:211Used by:227 266
Symbol 213 GraphicUsed by:227 266
Symbol 214 GraphicUsed by:217 220 226 237 255 261 273
Symbol 215 GraphicUsed by:220
Symbol 216 GraphicUsed by:220
Symbol 217 MovieClipUses:214Used by:220 226 237 255 261 273
Symbol 218 GraphicUsed by:220
Symbol 219 GraphicUsed by:220 226 237 273
Symbol 220 ButtonUses:214 215 216 217 218 219Used by:227
Symbol 221 GraphicUsed by:222
Symbol 222 MovieClipUses:221Used by:227
Symbol 223 GraphicUsed by:226
Symbol 224 GraphicUsed by:226
Symbol 225 GraphicUsed by:226
Symbol 226 ButtonUses:214 223 224 217 225 219Used by:227 256
Symbol 227 MovieClipUses:194 157 136 160 162 164 165 166 202 203 204 205 206 207 208 209 210 212 213 220 222 226Used by:Timeline
Symbol 228 GraphicUsed by:256 275
Symbol 229 GraphicUsed by:256 263 265
Symbol 230 GraphicUsed by:256
Symbol 231 FontUsed by:232 247 248 249 250
Symbol 232 TextUses:176 231Used by:256
Symbol 233 GraphicUsed by:256
Symbol 234 GraphicUsed by:237
Symbol 235 GraphicUsed by:237
Symbol 236 GraphicUsed by:237
Symbol 237 ButtonUses:214 234 235 217 236 219Used by:256
Symbol 238 GraphicUsed by:246
Symbol 239 GraphicUsed by:246
Symbol 240 GraphicUsed by:246
Symbol 241 GraphicUsed by:246
Symbol 242 GraphicUsed by:246
Symbol 243 GraphicUsed by:246
Symbol 244 GraphicUsed by:246
Symbol 245 GraphicUsed by:246
Symbol 246 MovieClipUses:238 239 240 241 242 243 244 245Used by:256
Symbol 247 EditableTextUses:231Used by:256
Symbol 248 EditableTextUses:231Used by:256
Symbol 249 EditableTextUses:231Used by:256
Symbol 250 EditableTextUses:231Used by:256
Symbol 251 EditableTextUses:176Used by:256
Symbol 252 GraphicUsed by:255
Symbol 253 GraphicUsed by:255
Symbol 254 GraphicUsed by:255
Symbol 255 ButtonUses:214 252 253 217 254Used by:256
Symbol 256 MovieClipUses:228 156 128 157 159 136 160 162 164 165 166 167 146 147 186 229 230 232 233 237 226 246 64 247 185 248 120 249 183 250 251 255Used by:Timeline
Symbol 257 GraphicUsed by:263 265
Symbol 258 GraphicUsed by:261
Symbol 259 GraphicUsed by:261
Symbol 260 GraphicUsed by:261
Symbol 261 ButtonUses:258 214 259 217 260Used by:263 265
Symbol 262 GraphicUsed by:263
Symbol 263 MovieClipUses:186 229 257 261 262Used by:Timeline
Symbol 264 GraphicUsed by:265
Symbol 265 MovieClipUses:186 229 257 264 261Used by:Timeline
Symbol 266 MovieClipUses:203 204 205 206 207 208 210 212 213Used by:275
Symbol 267 GraphicUsed by:275
Symbol 268 GraphicUsed by:275
Symbol 269 GraphicUsed by:275
Symbol 270 GraphicUsed by:273
Symbol 271 GraphicUsed by:273
Symbol 272 GraphicUsed by:273
Symbol 273 ButtonUses:214 270 271 217 272 219Used by:275
Symbol 274 GraphicUsed by:275
Symbol 275 MovieClipUses:228 156 128 157 159 136 160 162 164 165 166 167 146 147 266 267 268 269 273 274Used by:Timeline

Instance Names

"MASK_type"Frame 1Symbol 188 MovieClip
"Background Left"Frame 24Symbol 179 MovieClip [Background Left]
"Background Right"Frame 24Symbol 154 MovieClip [Background Right]
"Background Middle"Frame 24Symbol 142 MovieClip [Background Middle]
"m_text"Symbol 116 MovieClip [Game Timer] Frame 1Symbol 113 MovieClip
"m_text"Symbol 119 MovieClip [Score] Frame 1Symbol 113 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "GetItem"
ExportAssets (56)Timeline Frame 1Symbol 2 as "Hurt"
ExportAssets (56)Timeline Frame 1Symbol 3 as "Theme"
ExportAssets (56)Timeline Frame 1Symbol 4 as "Trap Set"
ExportAssets (56)Timeline Frame 1Symbol 5 as "Evil Taunt"
ExportAssets (56)Timeline Frame 1Symbol 6 as "Carrot Grunt"
ExportAssets (56)Timeline Frame 1Symbol 7 as "Gossamer Grunt"
ExportAssets (56)Timeline Frame 1Symbol 8 as "level win"
ExportAssets (56)Timeline Frame 1Symbol 9 as "level lose"
ExportAssets (56)Timeline Frame 1Symbol 10 as "Monstoids Boom"
ExportAssets (56)Timeline Frame 1Symbol 11 as "jump"
ExportAssets (56)Timeline Frame 1Symbol 12 as "Anvil Bash"
ExportAssets (56)Timeline Frame 1Symbol 30 as "carrot guy"
ExportAssets (56)Timeline Frame 1Symbol 56 as "gossamer"
ExportAssets (56)Timeline Frame 1Symbol 61 as "bugslife"
ExportAssets (56)Timeline Frame 1Symbol 63 as "anvildecal"
ExportAssets (56)Timeline Frame 1Symbol 65 as "monstoidscan"
ExportAssets (56)Timeline Frame 1Symbol 67 as "monstoids decal"
ExportAssets (56)Timeline Frame 1Symbol 84 as "Bugs"
ExportAssets (56)Timeline Frame 1Symbol 85 as "Mini Map"
ExportAssets (56)Timeline Frame 1Symbol 86 as "Mini Map"
ExportAssets (56)Timeline Frame 1Symbol 86 as "Mini Map"
ExportAssets (56)Timeline Frame 1Symbol 85 as "Mini Map"
ExportAssets (56)Timeline Frame 1Symbol 86 as "Mini Map"
ExportAssets (56)Timeline Frame 1Symbol 89 as "Mini Map"
ExportAssets (56)Timeline Frame 1Symbol 90 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 91 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 92 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 93 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 94 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 65533 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 95 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 96 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 97 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 98 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 99 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 100 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 101 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 102 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 103 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 104 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 105 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 106 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 106 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 105 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 104 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 103 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 102 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 101 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 100 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 99 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 98 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 97 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 96 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 95 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 94 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 94 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 93 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 92 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 91 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 90 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 108 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 109 as "bugs life container"
ExportAssets (56)Timeline Frame 1Symbol 116 as "Game Timer"
ExportAssets (56)Timeline Frame 1Symbol 119 as "Score"
ExportAssets (56)Timeline Frame 1Symbol 121 as "Speed Boost"
ExportAssets (56)Timeline Frame 1Symbol 123 as "Monstoids Trap"
ExportAssets (56)Timeline Frame 1Symbol 125 as "Anvil Trap"
ExportAssets (56)Timeline Frame 1Symbol 126 as "Sound Clip"
ExportAssets (56)Timeline Frame 1Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 1Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 1Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 1Symbol 183 as "Golden Carrot"
ExportAssets (56)Timeline Frame 1Symbol 185 as "Anvil"
ExportAssets (56)Timeline Frame 20Symbol 185 as "Anvil"
ExportAssets (56)Timeline Frame 20Symbol 183 as "Golden Carrot"
ExportAssets (56)Timeline Frame 20Symbol 185 as "Anvil"
ExportAssets (56)Timeline Frame 20Symbol 183 as "Golden Carrot"
ExportAssets (56)Timeline Frame 20Symbol 185 as "Anvil"
ExportAssets (56)Timeline Frame 20Symbol 183 as "Golden Carrot"
ExportAssets (56)Timeline Frame 20Symbol 185 as "Anvil"
ExportAssets (56)Timeline Frame 20Symbol 183 as "Golden Carrot"
ExportAssets (56)Timeline Frame 20Symbol 185 as "Anvil"
ExportAssets (56)Timeline Frame 20Symbol 183 as "Golden Carrot"
ExportAssets (56)Timeline Frame 20Symbol 185 as "Anvil"
ExportAssets (56)Timeline Frame 20Symbol 183 as "Golden Carrot"
ExportAssets (56)Timeline Frame 20Symbol 185 as "Anvil"
ExportAssets (56)Timeline Frame 20Symbol 183 as "Golden Carrot"
ExportAssets (56)Timeline Frame 20Symbol 185 as "Anvil"
ExportAssets (56)Timeline Frame 20Symbol 183 as "Golden Carrot"
ExportAssets (56)Timeline Frame 20Symbol 185 as "Anvil"
ExportAssets (56)Timeline Frame 20Symbol 183 as "Golden Carrot"
ExportAssets (56)Timeline Frame 20Symbol 185 as "Anvil"
ExportAssets (56)Timeline Frame 20Symbol 183 as "Golden Carrot"
ExportAssets (56)Timeline Frame 20Symbol 185 as "Anvil"
ExportAssets (56)Timeline Frame 20Symbol 183 as "Golden Carrot"
ExportAssets (56)Timeline Frame 20Symbol 185 as "Anvil"
ExportAssets (56)Timeline Frame 20Symbol 183 as "Golden Carrot"
ExportAssets (56)Timeline Frame 20Symbol 185 as "Anvil"
ExportAssets (56)Timeline Frame 20Symbol 183 as "Golden Carrot"
ExportAssets (56)Timeline Frame 20Symbol 185 as "Anvil"
ExportAssets (56)Timeline Frame 20Symbol 183 as "Golden Carrot"
ExportAssets (56)Timeline Frame 20Symbol 185 as "Anvil"
ExportAssets (56)Timeline Frame 20Symbol 183 as "Golden Carrot"
ExportAssets (56)Timeline Frame 20Symbol 185 as "Anvil"
ExportAssets (56)Timeline Frame 20Symbol 183 as "Golden Carrot"
ExportAssets (56)Timeline Frame 24Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 24Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 24Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 25Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 25Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 25Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 26Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 26Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 26Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 27Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 27Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 27Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 28Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 28Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 28Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 29Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 29Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 29Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 30Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 30Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 30Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 31Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 31Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 31Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 32Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 32Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 32Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 33Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 33Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 33Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 34Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 34Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 34Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 35Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 35Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 35Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 36Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 36Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 36Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 37Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 37Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 37Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 38Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 38Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 38Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 39Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 39Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 39Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 40Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 40Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 40Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 41Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 41Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 41Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 42Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 42Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 42Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 43Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 43Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 43Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 44Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 44Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 44Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 45Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 45Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 45Symbol 142 as "Background Middle"
ExportAssets (56)Timeline Frame 46Symbol 179 as "Background Left"
ExportAssets (56)Timeline Frame 46Symbol 154 as "Background Right"
ExportAssets (56)Timeline Frame 46Symbol 142 as "Background Middle"

Labels

"loading"Frame 4
"loaded"Frame 9
"title"Frame 15
"instructions"Frame 20
"play"Frame 24
"NextLevel"Frame 25
"MainLoop"Frame 33
"LevelComplete"Frame 40
"success"Frame 47
"failure"Frame 48
"GameOver"Frame 49
"GameLoaded"Frame 62
"CarrotGuyIdle"Symbol 30 MovieClip [carrot guy] Frame 1
"CarrotGuyRunCycle"Symbol 30 MovieClip [carrot guy] Frame 3
"CarrotGuyStunnedCycle"Symbol 30 MovieClip [carrot guy] Frame 9
"CarrotGuySmashed"Symbol 30 MovieClip [carrot guy] Frame 19
"GossamerIdle"Symbol 56 MovieClip [gossamer] Frame 1
"GossamerRun"Symbol 56 MovieClip [gossamer] Frame 55
"GossamerStunned"Symbol 56 MovieClip [gossamer] Frame 63
"GossamerSmashed"Symbol 56 MovieClip [gossamer] Frame 76
"BugsIdle"Symbol 84 MovieClip [Bugs] Frame 1
"BugsRunCycle"Symbol 84 MovieClip [Bugs] Frame 16
"BugsJumpCycle"Symbol 84 MovieClip [Bugs] Frame 23
"0"Symbol 108 MovieClip [Health Bar] Frame 1
"1"Symbol 108 MovieClip [Health Bar] Frame 2
"2"Symbol 108 MovieClip [Health Bar] Frame 3
"3"Symbol 108 MovieClip [Health Bar] Frame 4
"4"Symbol 108 MovieClip [Health Bar] Frame 5
"5"Symbol 108 MovieClip [Health Bar] Frame 6
"6"Symbol 108 MovieClip [Health Bar] Frame 7
"7"Symbol 108 MovieClip [Health Bar] Frame 8
"8"Symbol 108 MovieClip [Health Bar] Frame 9
"9"Symbol 108 MovieClip [Health Bar] Frame 10
"10"Symbol 108 MovieClip [Health Bar] Frame 11
"11"Symbol 108 MovieClip [Health Bar] Frame 12
"12"Symbol 108 MovieClip [Health Bar] Frame 13
"13"Symbol 108 MovieClip [Health Bar] Frame 14
"14"Symbol 108 MovieClip [Health Bar] Frame 15
"15"Symbol 108 MovieClip [Health Bar] Frame 16
"16"Symbol 108 MovieClip [Health Bar] Frame 17
"17"Symbol 108 MovieClip [Health Bar] Frame 18
"18"Symbol 108 MovieClip [Health Bar] Frame 19
"SpeedBoost"Symbol 121 MovieClip [Speed Boost] Frame 1
"Monstoids"Symbol 123 MovieClip [Monstoids Trap] Frame 1
"AnvilTrap"Symbol 125 MovieClip [Anvil Trap] Frame 1
"hall"Symbol 142 MovieClip [Background Middle] Frame 1
"carrotland"Symbol 154 MovieClip [Background Right] Frame 1
"lab"Symbol 179 MovieClip [Background Left] Frame 1
"Carrot"Symbol 183 MovieClip [Golden Carrot] Frame 1
"page1"Symbol 256 MovieClip Frame 2
"page2"Symbol 256 MovieClip Frame 15

Dynamic Text Variables

m_dataSymbol 111 EditableText""
m_dataSymbol 112 EditableText""
/:gDebugSymbol 189 EditableText""




http://swfchan.com/25/121880/info.shtml
Created: 4/3 -2019 06:05:15 Last modified: 4/3 -2019 06:05:15 Server time: 26/04 -2024 20:45:27