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

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

Hungry Froggy.swf

This is the info page for
Flash #30518

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


Text
Locked

Stage 6 :
5000 points
to unlock

Stage 6

Stage 4

Stage 4 :
3000 points
to unlock

Stage 3

Stage 3 :
2000 points
to unlock

Stage 1

Stage 5 :
4000 points
to unlock

Stage 5

Stage 2

Stage 2 :
1000 points
to unlock

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

PAUSE

RESUME GAME

SETTING

QUIT TO MENU

SETTING

BACK

Music

Sound

GAME OVER

SUBMIT SCORE

PLAY AGAIN

MORE GAMES

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

W

E

A

S

D

Jump

Eat

Move Left

Move Right

Freeze

Space

M

Throw

Pause Game

Catch | Eat

INSTRUCTIONS

1

3

2

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

Caught object will place here

Eaten object will place here

Health Meter

Flame Meter

Storage Meter

Digestion Meter

Health Meter, show your health

Digestion Meter, time of digestion to
decrease storage meter and increase
flame meter

Storage Meter, you can not eat if this
meter is full

Flame Meter, use your magic power to
spit a fireball when this meter is full

Caught object (you can eat or throw it)

Eaten object (get your points)

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

The objects that can be eat :

Point  = -10
Storage = +5

Point  = +10
Storage = +5

Point  = +10
Storage = +5

Point  = +50
Storage = +10

Point  = +100
Storage = +10

Point  = +150
Storage = +10

Point  = -10
Storage = +10

Point  = +10
Storage = +10
Health = +100

Point  = +10
Storage = +10
Health = +50

Point  = +10
Storage = +5
Health = +10

The opponents that can attack you :

Use

(Freeze) to avoid crab, snake, and bat's attacks

MORE GAMES

HIGH SCORE

HELP

SETTING

PLAY

ABOUT

v.1.0

<p align="justify"><font face="Arial" size="11" color="#0000ff" letterSpacing="0.000000" kerning="0"><a href="http://agungcp.co.nr/games.html" target = "_blank">More Games on my website </a></font></p>

You are a little frog that has a magic power,
whose find a meal (bugs etc.) every day.
Catch, eat, or throw them all!! because not
all of them are delicious. Watch out! some
bugs will attack you! and some other
animals dislike of your existence. Create
fireball when magic power is full to burn
them out!! Collect point to open a new stage,
and enjoy the game...
Created by Agung Cahyono, 2007
Email : agunginet@yahoo.com

CONTROL

HELP

Caught object (you can eat or throw it)

Eaten object

Health Meter, show your health

Digestion Meter, time of digestion to decrease
storage meter and increase flame meter

Storage Meter, you can not eat if this meter is
full

Flame Meter, use your magic power to spit a
fireball when this meter is full

Point  = -10
Storage = +5

Point  = +10
Storage = +5

Point  = +10
Storage = +5

Point  = +50
Storage = +10

Point  = +100
Storage = +10

Point  = +150
Storage = +10

Point  = -10
Storage = +10

Point  = +10
Storage = +10
Health = +100

Point  = +10
Storage = +10
Health = +50

Point  = +10
Storage = +5
Health = +10

NamE FOR HIGHSCORE LIST

SUBMIT

CANCEL

score :

ActionScript [AS1/AS2]

Frame 1
stop(); fscommand ("allowscale", true); fscommand ("showmenu", false); fscommand ("trapallkeys", true); System.security.allowDomain("*"); var newMenu = new ContextMenu(); newMenu.hideBuiltInItems(); this.menu = newMenu; var needle = "http://agungcp.co.nr"; var haystack = _url.toLowerCase().split("/"); var validDomain; var localFile; if (haystack[2].indexOf(needle.toLowerCase()) > -1) { validDomain = true; localFile = false; } else if (haystack[0] == "file:") { validDomain = false; localFile = true; } else { validDomain = false; localFile = false; }
Frame 6
stop();
Frame 7
Frame 8
function tongueIn() { clearInterval(timerShoot); tongue.inside._xscale = 1; tongue.outer._x = tongue.inside._width; tongue._visible = false; if (objInMouth == true) { frog.head.gotoAndStop(2); } else { frog.head.gotoAndStop(1); } timerShoot = setInterval(tongueOut, 100); } function tongueOut() { movBg1.count = 0; clearInterval(timerShoot); shoot = false; } function spitOut() { clearInterval(timerSpit); keylock = false; frog.gotoAndStop("standby"); frog.eyes.gotoAndStop("watch" + anglePos); } function back() { clearInterval(timerBack); frog.head.gotoAndStop(1); frog.eyes.gotoAndStop("watch" + anglePos); frogHit = false; } function spitObj(obj, rotValue) { gravity = 0.5; vo = 8; obj.fall = false; obj.vx = ((Math.cos(Math.atan2(difY, difX)) * vo) * 1.5) / vo; obj.vy = ((Math.sin(Math.atan2(difY, difX)) * vo) * 1.5) / vo; obj.onEnterFrame = function () { if ((gamePause == false) && (this.fall == false)) { this.vy = this.vy + (gravity / vo); this._rotation = this._rotation + rotValue; if (flame == true) { this._rotation = (Math.atan2(obj.vy, obj.vx) * 180) / 3.141593; } i = 0; while (i < 16) { this._x = this._x + this.vx; this._y = this._y + this.vy; if (this._y > 355) { this.fall = true; this.gotoAndPlay(2); break; } i++; } } }; } function defecation() { if (movInfo.SM.meter._xscale > 0) { movInfo.DM.meter._xscale = movInfo.DM.meter._xscale + countDef; ctrlDef++; } if (ctrlDef == 60) { attachMovie("feces", "feces", 9999); feces._x = frog._x; feces._y = 340; if (frogSplash == true) { feces.pic.gotoAndStop(2); } ctrlDef = 0; movInfo.DM.effect._xscale = movInfo.DM.meter._xscale; movInfo.DM.meter._xscale = 0; movInfo.DM.effect.gotoAndPlay(1); totQty = totQty + lossQty; if (totQty < 0) { totQty = 0; } stomachFull = false; mouthFull = false; movInfo.SM.meter._xscale = movInfo.SM.meter._xscale + (lossQty / 2); movInfo.SM.effect.gotoAndPlay(1); movInfo.SM.effect2._visible = false; if (flame == false) { movInfo.FM.meter._xscale = movInfo.FM.meter._xscale + 25; } } } function throwFlame() { movInfo.FM.effect._xscale = movInfo.FM.effect._xscale - 1; if (movInfo.FM.effect._xscale < 0) { flame = false; movInfo.FM.effect._visible = false; movInfo.FM.effect._xscale = 100; clearInterval(flameTimer); } } function writeData() { mySo.data.sound = fOptSound; mySo.data.music = fOptMusic; mySo.data.score = recScore; mySo.flush(); } function playMusic(soundID) { musicObject = new Sound(); musicObject.attachSound(soundID); musicObject.start(0, 100); } function playSound(soundID) { soundObject = new Sound(); soundObject.attachSound(soundID); soundObject.start(); } function sendScore() { now = new Date(); _root.diff = 0; _root.username = userName.text; _root.score = totScore; _root.game_id = 3; _root.chs = ((_root.score * now.getUTCHours()) * now.getUTCDate()) + (now.getUTCFullYear() * 77); loadVariablesNum ("http://scores.funny-games.biz/scores.php", 0, "POST"); } var difX; var difY; var difYMagnitude; var xSquared; var ySquared; var hypSquared; var hyp; var hypSquared; var counter; var part1; var part2; var part2Squared; var part3; var sine; var arcsine; var angle; var rotate; var rotateValue; var anglePos; var timerShoot; var shoot = false; var spit = false; var frogSplash = false; var keylock = false; var leftBound = false; var rightBound = false; var frogHit = false; var frogDeath; var jumpTimer = 0; var xMove = 0; var yMove = 0; var c = 0; var time; var stopLeftBg = false; var stopRightBg = false; var keyhold = false; var flame = false; var onRange; var freeze = false; var frogXMove; var j = 0; var timerSpit; var timerBack; var frmObjBeEaten; var objInMouth = false; var objInStomach = false; var stomachFull = false; var mouthFull = false; var defecateTimer; var flameTimer; var ctrlDef = 0; var countDef = 1.666666667; var lossQty = -100; var totQty = 0; var objQty = 0; var objScore = 0; var gamePause = false; var scrTarget1; var scrTarget2; var xPos = 275; var yPos = 330; var control = new Object(); var stageOpen1; var stageOpen2; var scrTarget1 = 1000; var scrTarget4 = 4000; var scrTarget2 = 2000; var scrTarget5 = 5000; var scrTarget3 = 3000; var gameStage; var gameLevel; var hP; var totScore = 0; var musicObject; var soundObject; var fOptSound; var fOptMusic; var recScore; var mySo = SharedObject.getLocal("userData"); fOptSound = mySo.data.sound; fOptMusic = mySo.data.music; recScore = mySo.data.score; if ((fOptSound == undefined) && (fOptMusic == undefined)) { fOptSound = true; fOptMusic = true; recScore = 0; } if (fOptMusic == true) { playMusic("music0.wav"); } attachMovie("movPause", "movPause", 10050);
Frame 9
butPlay._focusrect = false; butPlay.onPress = function () { if (fOptSound == true) { playSound("click.wav"); } }; butPlay.onRelease = function () { if (fOptMusic == true) { musicObject.stop(); } gotoAndStop ("wait"); movPause.gotoAndPlay("waitplay"); }; butSetting._focusrect = false; butSetting.onPress = function () { if (fOptSound == true) { playSound("click.wav"); } }; butSetting.onRelease = function () { gotoAndStop ("setting"); }; butHelp._focusrect = false; butHelp.onPress = function () { if (fOptSound == true) { playSound("click.wav"); } }; butHelp.onRelease = function () { gotoAndStop ("help"); }; butHighScore._focusrect = false; butHighScore.onPress = function () { if (fOptSound == true) { playSound("click.wav"); } }; butHighScore.onRelease = function () { getURL ("http://scores.funny-games.biz/show.php?game_id=3&difficulty=0", "_blank"); }; butMoreGames._focusrect = false; butMoreGames.onPress = function () { if (fOptSound == true) { playSound("click.wav"); } }; butMoreGames.onRelease = function () { getURL ("http://www.funny-games.biz/main.html", "_blank"); }; stop();
Frame 10
optSound.gotoAndStop(Number(fOptSound) + 1); optMusic.gotoAndStop(Number(fOptMusic) + 1); optSound.onPress = function () { if (this._currentframe == 2) { fOptSound = false; } else { fOptSound = true; } this.gotoAndStop(Number(fOptSound) + 1); if (fOptSound == true) { playSound("click.wav"); } writeData(); }; optMusic.onPress = function () { if (this._currentframe == 2) { fOptMusic = false; musicObject.stop(); } else { fOptMusic = true; } this.gotoAndStop(Number(fOptMusic) + 1); if (fOptMusic == true) { playMusic("music0.wav"); } if (fOptSound == true) { playSound("click.wav"); } writeData(); }; butBack._focusrect = false; butBack.onPress = function () { if (fOptSound == true) { playSound("click.wav"); } }; butBack.onRelease = function () { gotoAndStop ("menu"); };
Frame 12
userName.text = ""; sc.text = totScore; var char = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; var testChar = false; butSubmit._focusrect = false; butSubmit.onPress = function () { if (fOptSound == true) { playSound("click.wav"); } }; butSubmit.onRelease = function () { i = 0; while (i < char.length) { if (userName.text.charAt(0) == char.charAt(i)) { testChar = true; break; } i++; } if (testChar == true) { sendScore(); gotoAndStop ("menu"); } }; butCancel._focusrect = false; butCancel.onPress = function () { if (fOptSound == true) { playSound("click.wav"); } }; butCancel.onRelease = function () { gotoAndStop ("menu"); };
Frame 14
gameStage = 1; gameLevel = 1; gamePause = false; frogDeath = false; leftBound = false; stopLeftBg = false; rightBound = false; stopRightBg = false; flame = false; hP = 100; totScore = 0; if (fOptMusic == true) { playMusic(("music" + gameStage) + ".wav"); } attachMovie("frog", "frog", 10000); attachMovie("cursor", "cursor", 10010); attachMovie("tongue", "tongue", 10020); attachMovie("movBg3", "movBg3", 10030); attachMovie("infoboard", "movInfo", 10040); frog._xscale = 45; frog._yscale = 45; frog._x = xPos; frog._y = yPos; frog.body.gotoAndStop("body0"); tongue._visible = false; movBg3._x = -600; movBg3.bg._x = 0; movBg3._y = 400; movInfo._x = 0; movInfo._y = 0; movInfo.score.text = 0; movInfo.HM.meter._xscale = 100; movInfo.HM.effect._xscale = 100; movInfo.FM.meter._xscale = 0; movInfo.FM.effect._xscale = 100; movInfo.FM.effect._visible = false; movInfo.SM.meter._xscale = 0; movInfo.SM.effect._xscale = 0; movInfo.SM.effect2._visible = false; movInfo.DM.meter._xscale = 0; movInfo.DM.effect._xscale = 0; gotoAndStop("stage" + gameStage); movBg3.gotoAndStop(gameStage);
Frame 15
defecateTimer = setInterval(defecation, 1000); if (totScore >= scrTarget1) { gameLevel = 2; } if (totScore >= scrTarget2) { gameLevel = 3; } if (totScore >= scrTarget3) { gameLevel = 4; } if (totScore >= scrTarget4) { gameLevel = 5; } if (totScore >= scrTarget5) { gameLevel = 6; } movBg3.setMask(movMask); frogSplash = false; control.onMouseDown = function () { if (((((((shoot == false) && (onRange == true)) && (frogHit == false)) && (mouthFull == false)) && (freeze == false)) && (frogDeath == false)) && (gamePause == false)) { Mouse.hide(); shoot = true; if (fOptSound == true) { playSound("catch.wav"); } if (objInMouth == false) { movInfo.frogStat.gotoAndStop(1); } else if (stomachFull == false) { movInfo.frogStat.gotoAndPlay("instomach"); if ((frmObjBeEaten == 13) && (hP < 100)) { hP = hP + 10; movInfo.HM.meter._xscale = hP; } else if (frmObjBeEaten == 14) { if (hP < 100) { hP = hP + 50; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } } else if (frmObjBeEaten == 15) { if (hP < 100) { hP = hP + 100; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } if (flame == false) { movInfo.FM.meter._xscale = movInfo.FM.meter._xscale + 100; } } totScore = totScore + objScore; if (totScore >= scrTarget1) { movBg1.stageInfo1.gotoAndStop(3); stageOpen1 = true; } if (totScore >= scrTarget2) { movBg1.stageInfo2.gotoAndStop(3); stageOpen2 = true; } movInfo.score.text = totScore; if (totQty < 200) { totQty = totQty + objQty; } movInfo.SM.meter._xscale = movInfo.SM.meter._xscale + (objQty / 2); movInfo.SM.effect._xscale = movInfo.SM.meter._xscale; } objInMouth = false; tongue._visible = true; tongue.inside._xscale = hyp * 100; tongue.outer._x = tongue.inside._width; frog.head.gotoAndStop("shoot"); timerShoot = setInterval(tongueIn, 100); } }; control.onMouseMove = function () { if (((frogHit == false) && (frogDeath == false)) && (gamePause == false)) { frog.eyes.gotoAndStop("watch" + anglePos); } }; control.onKeyDown = function () { if (((((Key.getCode() == 32) && (keylock == false)) && (objInMouth == true)) && (frogDeath == false)) && (gamePause == false)) { keylock = true; freeze = false; j++; if (j > 5) { j = 1; } attachMovie("objspit", "objSpit" + j, 10001 + j); eval ("objSpit" + j).setMask(movLayer); eval ("objSpit" + j)._x = frog._x; eval ("objSpit" + j)._y = frog._y; if (flame) { eval ("objSpit" + j).obj.gotoAndStop("flame"); spitObj(eval ("objSpit" + j), 0); } else { eval ("objSpit" + j).obj.gotoAndStop(frmObjBeEaten); spitObj(eval ("objSpit" + j), 45); } objInMouth = false; movInfo.frogStat.gotoAndPlay("spitup"); objQty = 0; frog.gotoAndStop("spit" + anglePos); timerSpit = setInterval(spitOut, 250); } else if (((((((Key.getCode() == 65) && (keylock == false)) && (leftBound == false)) && (stopLeftBg == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 5; frogXMove = 0; yMove = -10; frog.gotoAndPlay("jump1"); } else if (((((((Key.getCode() == 65) && (keylock == false)) && (leftBound == false)) && (stopLeftBg == true)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 0; frogXMove = -5; yMove = -10; movBg1.frogPos = movBg1.frogPos - 50; frog.gotoAndPlay("jump1"); } else if (((((((Key.getCode() == 68) && (keylock == false)) && (rightBound == false)) && (stopRightBg == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = -5; frogXMove = 0; yMove = -10; frog.gotoAndPlay("jump2"); } else if (((((((Key.getCode() == 68) && (keylock == false)) && (rightBound == false)) && (stopRightBg == true)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 0; frogXMove = 5; yMove = -10; movBg1.frogPos = movBg1.frogPos + 50; frog.gotoAndPlay("jump2"); } else if (((((Key.getCode() == 87) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 0; yMove = -10; frog.gotoAndPlay("jump3"); } else if (((((Key.getCode() == 83) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { freeze = true; frog.gotoAndStop("freeze"); } else if ((((((Key.getCode() == 69) && (keylock == false)) && (objInMouth == true)) && (stomachFull == false)) && (frogDeath == false)) && (gamePause == false)) { frog.head.gotoAndStop(1); objInMouth = false; movInfo.frogStat.gotoAndPlay("instomach"); if (fOptSound == true) { playSound("eat.wav"); } if ((frmObjBeEaten == 13) && (hP < 100)) { hP = hP + 10; movInfo.HM.meter._xscale = hP; } else if (frmObjBeEaten == 14) { if (hP < 100) { hP = hP + 50; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } } else if (frmObjBeEaten == 15) { if (hP < 100) { hP = hP + 100; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } if (flame == false) { movInfo.FM.meter._xscale = movInfo.FM.meter._xscale + 100; } } totScore = totScore + objScore; if (totScore >= scrTarget1) { movBg1.stageInfo1.gotoAndStop(3); stageOpen1 = true; } if (totScore >= scrTarget2) { movBg1.stageInfo2.gotoAndStop(3); stageOpen2 = true; } movInfo.score.text = totScore; if (totQty < 200) { totQty = totQty + objQty; } movInfo.SM.meter._xscale = movInfo.SM.meter._xscale + (objQty / 2); movInfo.SM.effect._xscale = movInfo.SM.meter._xscale; } else if ((((Key.getCode() == 65) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) { if ((leftBound == true) && (stageOpen1 == true)) { keylock = true; gameStage = 2; movLayer.gotoAndPlay(2); } } else if ((((Key.getCode() == 68) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) { if ((rightBound == true) && (stageOpen2 == true)) { keylock = true; gameStage = 3; movLayer.gotoAndPlay(2); } } else if (((Key.getCode() == 77) && (frogDeath == false)) && (keylock == false)) { if (gamePause == false) { gamePause = true; movPause.gotoAndStop(2); cursor._visible = false; Mouse.show(); clearInterval(defecateTimer); if (fOptMusic == true) { musicObject.stop(); } } else { gamePause = false; movPause.gotoAndStop(1); cursor._visible = true; Mouse.hide(); defecateTimer = setInterval(defecation, 1000); if (flame == true) { flameTimer = setInterval(throwFlame, 500); } if (fOptMusic == true) { playMusic(("music" + gameStage) + ".wav"); } } } }; control.onKeyUp = function () { if (Key.getCode() == 65) { keyhold = false; } else if (Key.getCode() == 68) { keyhold = false; } else if (Key.getCode() == 87) { keyhold = false; } else if (((((Key.getCode() == 83) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { freeze = false; frog.gotoAndStop("standby"); } }; Mouse.addListener(control); Key.addListener(control); frog.onEnterFrame = function () { jumpTimer = jumpTimer + c; if (jumpTimer == ((50 * power) + 5)) { keylock = false; c = 0; yMove = 0; xMove = 0; frogXMove = 0; jumpTimer = 0; this.gotoAndPlay(1); } if (jumpTimer == (((50 * power) / 2) + 5)) { yMove = 10; this.gotoAndPlay(this._currentframe + 1); } this._y = this._y + yMove; this._x = this._x + frogXMove; i = 1; while (i <= 5) { eval ("objSpit" + i)._x = eval ("objSpit" + i)._x + xMove; i++; } feces._x = feces._x + xMove; movBg1._x = movBg1._x + xMove; movBg2._x = movBg2._x + (xMove / 8); movBg3._x = movBg3._x + xMove; movBg1.frogPos = movBg1.frogPos - xMove; if (movBg1._x == -50) { stopLeftBg = true; } else if (movBg1._x == -100) { stopLeftBg = false; } if ((this._x == 225) && (movBg1._x == -50)) { stopRightBg = true; if (stageOpen1 == false) { movBg1.stageInfo1.gotoAndStop(2); } } else if ((this._x == 275) && (movBg1._x == -50)) { stopRightBg = false; if (stageOpen1 == false) { movBg1.stageInfo1.gotoAndStop(1); } } if (this._x == 75) { leftBound = true; } else if (this._x == 125) { leftBound = false; } if (movBg1._x == -1150) { stopRightBg = true; } else if (movBg1._x == -1100) { stopRightBg = false; } if ((this._x == 325) && (movBg1._x == -1150)) { stopLeftBg = true; if (stageOpen2 == false) { movBg1.stageInfo2.gotoAndStop(2); } } else if ((this._x == 275) && (movBg1._x == -1150)) { stopLeftBg = false; if (stageOpen2 == false) { movBg1.stageInfo2.gotoAndStop(1); } } if (this._x == 475) { rightBound = true; } else if (this._x == 425) { rightBound = false; } tongue._x = this._x; tongue._y = this._y; cursor._x = _xmouse; cursor._y = _ymouse; if (((hyp <= 200) && (mouthFull == false)) && (freeze == false)) { cursor.gotoAndStop(1); onRange = true; } else { cursor.gotoAndStop(2); onRange = false; } difX = _xmouse - this._x; difY = _ymouse - this._y; xSquared = difX * difX; ySquared = difY * difY; hypSquared = Number(xSquared) + Number(ySquared); hyp = 1; counter = 0; while (Number(counter) < 15) { hyp = hyp - (((hyp * hyp) - hypSquared) / (2 * hyp)); counter++; } if (Number(difY) < 0) { difYMagnitude = difY * -1; } else { difYMagnitude = difY; } sine = difYMagnitude / hyp; part1 = (Math.PI/2); part2Squared = 1 - sine; part2 = 1; counter = 0; while (Number(counter) < 15) { part2 = part2 - (((part2 * part2) - part2Squared) / (2 * part2)); counter = Number(counter) + 1; } part3 = Number(Number(Number(1.5707288) + Number(-0.2121144 * sine)) + Number(0.074261 * (sine * sine))) + Number(-0.0187293 * ((sine * sine) * sine)); arcsine = part1 - (part2 * part3); angle = arcsine / 0.01745329; if ((Number(difX) <= 0) and (Number(difY) > 0)) { rotate = 90 + Number(90 - angle); } else if ((Number(difX) > 0) and (Number(difY) > 0)) { rotate = angle; } else if ((Number(difX) > 0) and (Number(difY) < 0)) { rotate = -angle; } else if ((Number(difX) <= 0) and (Number(difY) < 0)) { rotate = -(90 + Number(90 - angle)); } tongue._rotation = rotate; rotateValue = rotate + 180; if ((rotateValue >= 247.5) && (rotateValue <= 292.5)) { anglePos = 1; } else if ((rotateValue >= 292.5) && (rotateValue <= 337.5)) { anglePos = 2; } else if ((rotateValue >= 337.5) || (rotateValue <= 22.5)) { anglePos = 3; } else if ((rotateValue >= 22.5) && (rotateValue <= 67.5)) { anglePos = 4; } else if ((rotateValue >= 67.5) && (rotateValue <= 112.5)) { anglePos = 5; } else if ((rotateValue >= 112.5) && (rotateValue <= 157.5)) { anglePos = 6; } else if ((rotateValue >= 157.5) && (rotateValue <= 202.5)) { anglePos = 7; } else if ((rotateValue >= 202.5) && (rotateValue <= 247.5)) { anglePos = 8; } }; movInfo.onEnterFrame = function () { if (this.SM.meter._xscale > 100) { this.SM.meter._xscale = 100; } else if (this.SM.meter._xscale < 0) { this.SM.meter._xscale = 0; } if (totQty < 0) { totQty = 0; } else if (totQty < 50) { frog.body.gotoAndStop("body0"); } else if (totQty < 100) { frog.body.gotoAndStop("body1"); } else if (totQty < 150) { frog.body.gotoAndStop("body2"); } else if (totQty < 200) { frog.body.gotoAndStop("body3"); } else if (totQty >= 200) { totQty = 200; this.SM.effect2._visible = true; stomachFull = true; mouthFull = true; } if (objInMouth == false) { mouthFull = false; } if (this.HM.meter._xscale <= 0) { this.HM.meter._xscale = 0; clearInterval(defecateTimer); if (flame == true) { clearInterval(flameTimer); } removeMovieClip(cursor); Mouse.show(); frog.gotoAndStop("death"); frogDeath = true; movPause.gotoAndStop("gameover"); } else if (this.HM.meter._xscale <= 20) { frog.head.bump.gotoAndStop("bump3"); } else if (this.HM.meter._xscale <= 50) { frog.head.bump.gotoAndStop("bump2"); } else if (this.HM.meter._xscale <= 80) { frog.head.bump.gotoAndStop("bump1"); } else if (this.HM.meter._xscale <= 100) { frog.head.bump.gotoAndStop("bump0"); } if (this.FM.meter._xscale >= 100) { flame = true; if (fOptSound == true) { playSound("magicpower.wav"); } this.FM.meter._xscale = 0; this.FM.effect._visible = true; flameTimer = setInterval(throwFlame, 500); } }; Mouse.hide(); stop();
Frame 16
defecateTimer = setInterval(defecation, 1000); if (totScore >= scrTarget1) { gameLevel = 2; } if (totScore >= scrTarget2) { gameLevel = 3; } if (totScore >= scrTarget3) { gameLevel = 4; } if (totScore >= scrTarget4) { gameLevel = 5; } if (totScore >= scrTarget5) { gameLevel = 6; } movBg3.setMask(movMask); control.onMouseDown = function () { if (((((((shoot == false) && (onRange == true)) && (frogHit == false)) && (mouthFull == false)) && (freeze == false)) && (frogDeath == false)) && (gamePause == false)) { Mouse.hide(); shoot = true; if (fOptSound == true) { playSound("catch.wav"); } if (objInMouth == false) { movInfo.frogStat.gotoAndStop(1); } else if (stomachFull == false) { movInfo.frogStat.gotoAndPlay("instomach"); if ((frmObjBeEaten == 13) && (hP < 100)) { hP = hP + 10; movInfo.HM.meter._xscale = hP; } else if (frmObjBeEaten == 14) { if (hP < 100) { hP = hP + 50; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } } else if (frmObjBeEaten == 15) { if (hP < 100) { hP = hP + 100; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } if (flame == false) { movInfo.FM.meter._xscale = movInfo.FM.meter._xscale + 100; } } totScore = totScore + objScore; if (totScore >= scrTarget5) { movBg1.stageInfo1.gotoAndStop(3); stageOpen1 = true; } movInfo.score.text = totScore; if (totQty < 200) { totQty = totQty + objQty; } movInfo.SM.meter._xscale = movInfo.SM.meter._xscale + (objQty / 2); movInfo.SM.effect._xscale = movInfo.SM.meter._xscale; } objInMouth = false; tongue._visible = true; tongue.inside._xscale = hyp * 100; tongue.outer._x = tongue.inside._width; frog.head.gotoAndStop("shoot"); timerShoot = setInterval(tongueIn, 100); } }; control.onMouseMove = function () { if (((frogHit == false) && (frogDeath == false)) && (gamePause == false)) { frog.eyes.gotoAndStop("watch" + anglePos); } }; control.onKeyDown = function () { if (((((Key.getCode() == 32) && (keylock == false)) && (objInMouth == true)) && (frogDeath == false)) && (gamePause == false)) { keylock = true; freeze = false; j++; if (j > 5) { j = 1; } attachMovie("objspit", "objSpit" + j, 10001 + j); eval ("objSpit" + j).setMask(movLayer); eval ("objSpit" + j)._x = frog._x; eval ("objSpit" + j)._y = frog._y; if (flame) { eval ("objSpit" + j).obj.gotoAndStop("flame"); spitObj(eval ("objSpit" + j), 0); } else { eval ("objSpit" + j).obj.gotoAndStop(frmObjBeEaten); spitObj(eval ("objSpit" + j), 45); } objInMouth = false; movInfo.frogStat.gotoAndPlay("spitup"); objQty = 0; frog.gotoAndStop("spit" + anglePos); timerSpit = setInterval(spitOut, 250); } else if (((((((Key.getCode() == 65) && (keylock == false)) && (leftBound == false)) && (stopLeftBg == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 5; frogXMove = 0; yMove = -10; frog.gotoAndPlay("jump1"); } else if (((((((Key.getCode() == 65) && (keylock == false)) && (leftBound == false)) && (stopLeftBg == true)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 0; frogXMove = -5; yMove = -10; movBg1.frogPos = movBg1.frogPos - 50; frog.gotoAndPlay("jump1"); } else if (((((((Key.getCode() == 68) && (keylock == false)) && (rightBound == false)) && (stopRightBg == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = -5; frogXMove = 0; yMove = -10; frog.gotoAndPlay("jump2"); } else if (((((((Key.getCode() == 68) && (keylock == false)) && (rightBound == false)) && (stopRightBg == true)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 0; frogXMove = 5; yMove = -10; movBg1.frogPos = movBg1.frogPos + 50; frog.gotoAndPlay("jump2"); } else if (((((Key.getCode() == 87) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 0; yMove = -10; frog.gotoAndPlay("jump3"); } else if (((((Key.getCode() == 83) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { freeze = true; frog.gotoAndStop("freeze"); } else if ((((((Key.getCode() == 69) && (keylock == false)) && (objInMouth == true)) && (stomachFull == false)) && (frogDeath == false)) && (gamePause == false)) { frog.head.gotoAndStop(1); objInMouth = false; movInfo.frogStat.gotoAndPlay("instomach"); if (fOptSound == true) { playSound("eat.wav"); } if ((frmObjBeEaten == 13) && (hP < 100)) { hP = hP + 10; movInfo.HM.meter._xscale = hP; } else if (frmObjBeEaten == 14) { if (hP < 100) { hP = hP + 50; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } } else if (frmObjBeEaten == 15) { if (hP < 100) { hP = hP + 100; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } if (flame == false) { movInfo.FM.meter._xscale = movInfo.FM.meter._xscale + 100; } } totScore = totScore + objScore; if (totScore >= scrTarget5) { movBg1.stageInfo1.gotoAndStop(3); stageOpen1 = true; } movInfo.score.text = totScore; if (totQty < 200) { totQty = totQty + objQty; } movInfo.SM.meter._xscale = movInfo.SM.meter._xscale + (objQty / 2); movInfo.SM.effect._xscale = movInfo.SM.meter._xscale; } else if ((((Key.getCode() == 65) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) { if ((leftBound == true) && (stageOpen1 == true)) { keylock = true; gameStage = 5; movLayer.gotoAndPlay(2); } } else if ((((Key.getCode() == 68) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) { if (rightBound == true) { keylock = true; gameStage = 1; movLayer.gotoAndPlay(2); } } else if ((Key.getCode() == 77) && (frogDeath == false)) { if (gamePause == false) { gamePause = true; movPause.gotoAndStop(2); cursor._visible = false; Mouse.show(); clearInterval(defecateTimer); if (fOptMusic == true) { musicObject.stop(); } } else { gamePause = false; movPause.gotoAndStop(1); cursor._visible = true; Mouse.hide(); defecateTimer = setInterval(defecation, 1000); if (flame == true) { flameTimer = setInterval(throwFlame, 500); } if (fOptMusic == true) { playMusic(("music" + gameStage) + ".wav"); } } } }; control.onKeyUp = function () { if (Key.getCode() == 65) { keyhold = false; } else if (Key.getCode() == 68) { keyhold = false; } else if (Key.getCode() == 87) { keyhold = false; } else if (((((Key.getCode() == 83) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { freeze = false; frog.gotoAndStop("standby"); } }; Mouse.addListener(control); Key.addListener(control); frog.onEnterFrame = function () { jumpTimer = jumpTimer + c; if (jumpTimer == ((50 * power) + 5)) { keylock = false; c = 0; yMove = 0; xMove = 0; frogXMove = 0; jumpTimer = 0; this.gotoAndPlay(1); } if (jumpTimer == (((50 * power) / 2) + 5)) { yMove = 10; this.gotoAndPlay(this._currentframe + 1); } this._y = this._y + yMove; this._x = this._x + frogXMove; i = 1; while (i <= 5) { eval ("objSpit" + i)._x = eval ("objSpit" + i)._x + xMove; i++; } feces._x = feces._x + xMove; movBg1._x = movBg1._x + xMove; movBg2._x = movBg2._x + (xMove / 8); movBg3._x = movBg3._x + xMove; movBg1.frogPos = movBg1.frogPos - xMove; if (movBg1._x == -50) { stopLeftBg = true; } else if (movBg1._x == -100) { stopLeftBg = false; } if ((this._x == 225) && (movBg1._x == -50)) { stopRightBg = true; if (stageOpen1 == false) { movBg1.stageInfo1.gotoAndStop(2); } } else if ((this._x == 275) && (movBg1._x == -50)) { stopRightBg = false; if (stageOpen1 == false) { movBg1.stageInfo1.gotoAndStop(1); } } if (this._x == 75) { leftBound = true; } else if (this._x == 125) { leftBound = false; } if (movBg1._x == -1150) { stopRightBg = true; } else if (movBg1._x == -1100) { stopRightBg = false; } if ((this._x == 325) && (movBg1._x == -1150)) { stopLeftBg = true; } else if ((this._x == 275) && (movBg1._x == -1150)) { stopLeftBg = false; } if (this._x == 475) { rightBound = true; } else if (this._x == 425) { rightBound = false; } tongue._x = this._x; tongue._y = this._y; cursor._x = _xmouse; cursor._y = _ymouse; if (((hyp <= 200) && (mouthFull == false)) && (freeze == false)) { cursor.gotoAndStop(1); onRange = true; } else { cursor.gotoAndStop(2); onRange = false; } difX = _xmouse - this._x; difY = _ymouse - this._y; xSquared = difX * difX; ySquared = difY * difY; hypSquared = Number(xSquared) + Number(ySquared); hyp = 1; counter = 0; while (Number(counter) < 15) { hyp = hyp - (((hyp * hyp) - hypSquared) / (2 * hyp)); counter++; } if (Number(difY) < 0) { difYMagnitude = difY * -1; } else { difYMagnitude = difY; } sine = difYMagnitude / hyp; part1 = (Math.PI/2); part2Squared = 1 - sine; part2 = 1; counter = 0; while (Number(counter) < 15) { part2 = part2 - (((part2 * part2) - part2Squared) / (2 * part2)); counter = Number(counter) + 1; } part3 = Number(Number(Number(1.5707288) + Number(-0.2121144 * sine)) + Number(0.074261 * (sine * sine))) + Number(-0.0187293 * ((sine * sine) * sine)); arcsine = part1 - (part2 * part3); angle = arcsine / 0.01745329; if ((Number(difX) <= 0) and (Number(difY) > 0)) { rotate = 90 + Number(90 - angle); } else if ((Number(difX) > 0) and (Number(difY) > 0)) { rotate = angle; } else if ((Number(difX) > 0) and (Number(difY) < 0)) { rotate = -angle; } else if ((Number(difX) <= 0) and (Number(difY) < 0)) { rotate = -(90 + Number(90 - angle)); } tongue._rotation = rotate; rotateValue = rotate + 180; if ((rotateValue >= 247.5) && (rotateValue <= 292.5)) { anglePos = 1; } else if ((rotateValue >= 292.5) && (rotateValue <= 337.5)) { anglePos = 2; } else if ((rotateValue >= 337.5) || (rotateValue <= 22.5)) { anglePos = 3; } else if ((rotateValue >= 22.5) && (rotateValue <= 67.5)) { anglePos = 4; } else if ((rotateValue >= 67.5) && (rotateValue <= 112.5)) { anglePos = 5; } else if ((rotateValue >= 112.5) && (rotateValue <= 157.5)) { anglePos = 6; } else if ((rotateValue >= 157.5) && (rotateValue <= 202.5)) { anglePos = 7; } else if ((rotateValue >= 202.5) && (rotateValue <= 247.5)) { anglePos = 8; } }; movInfo.onEnterFrame = function () { if (this.SM.meter._xscale > 100) { this.SM.meter._xscale = 100; } else if (this.SM.meter._xscale < 0) { this.SM.meter._xscale = 0; } if (totQty < 0) { totQty = 0; } else if (totQty < 50) { frog.body.gotoAndStop("body0"); } else if (totQty < 100) { frog.body.gotoAndStop("body1"); } else if (totQty < 150) { frog.body.gotoAndStop("body2"); } else if (totQty < 200) { frog.body.gotoAndStop("body3"); } else if (totQty >= 200) { totQty = 200; this.SM.effect2._visible = true; stomachFull = true; mouthFull = true; } if (objInMouth == false) { mouthFull = false; } if (this.HM.meter._xscale <= 0) { this.HM.meter._xscale = 0; clearInterval(defecateTimer); if (flame == true) { clearInterval(flameTimer); } removeMovieClip(cursor); Mouse.show(); frog.gotoAndStop("death"); frogDeath = true; movPause.gotoAndStop("gameover"); } else if (this.HM.meter._xscale <= 20) { frog.head.bump.gotoAndStop("bump3"); } else if (this.HM.meter._xscale <= 50) { frog.head.bump.gotoAndStop("bump2"); } else if (this.HM.meter._xscale <= 80) { frog.head.bump.gotoAndStop("bump1"); } else if (this.HM.meter._xscale <= 100) { frog.head.bump.gotoAndStop("bump0"); } if (this.FM.meter._xscale >= 100) { flame = true; if (fOptSound == true) { playSound("magicpower.wav"); } this.FM.meter._xscale = 0; this.FM.effect._visible = true; flameTimer = setInterval(throwFlame, 500); } }; Mouse.hide(); stop();
Frame 17
defecateTimer = setInterval(defecation, 1000); if (totScore >= scrTarget1) { gameLevel = 2; } if (totScore >= scrTarget2) { gameLevel = 3; } if (totScore >= scrTarget3) { gameLevel = 4; } if (totScore >= scrTarget4) { gameLevel = 5; } if (totScore >= scrTarget5) { gameLevel = 6; } movBg3.setMask(movMask); control.onMouseDown = function () { if (((((((shoot == false) && (onRange == true)) && (frogHit == false)) && (mouthFull == false)) && (freeze == false)) && (frogDeath == false)) && (gamePause == false)) { Mouse.hide(); shoot = true; if (fOptSound == true) { playSound("catch.wav"); } if (objInMouth == false) { movInfo.frogStat.gotoAndStop(1); } else if (stomachFull == false) { movInfo.frogStat.gotoAndPlay("instomach"); if ((frmObjBeEaten == 13) && (hP < 100)) { hP = hP + 10; movInfo.HM.meter._xscale = hP; } else if (frmObjBeEaten == 14) { if (hP < 100) { hP = hP + 50; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } } else if (frmObjBeEaten == 15) { if (hP < 100) { hP = hP + 100; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } if (flame == false) { movInfo.FM.meter._xscale = movInfo.FM.meter._xscale + 100; } } totScore = totScore + objScore; if (totScore >= scrTarget3) { movBg1.stageInfo2.gotoAndStop(3); stageOpen2 = true; } movInfo.score.text = totScore; if (totQty < 200) { totQty = totQty + objQty; } movInfo.SM.meter._xscale = movInfo.SM.meter._xscale + (objQty / 2); movInfo.SM.effect._xscale = movInfo.SM.meter._xscale; } objInMouth = false; tongue._visible = true; tongue.inside._xscale = hyp * 100; tongue.outer._x = tongue.inside._width; frog.head.gotoAndStop("shoot"); timerShoot = setInterval(tongueIn, 100); } }; control.onMouseMove = function () { if (((frogHit == false) && (frogDeath == false)) && (gamePause == false)) { frog.eyes.gotoAndStop("watch" + anglePos); } }; control.onKeyDown = function () { if (((((Key.getCode() == 32) && (keylock == false)) && (objInMouth == true)) && (frogDeath == false)) && (gamePause == false)) { keylock = true; freeze = false; j++; if (j > 5) { j = 1; } attachMovie("objspit", "objSpit" + j, 10001 + j); eval ("objSpit" + j).setMask(movLayer); eval ("objSpit" + j)._x = frog._x; eval ("objSpit" + j)._y = frog._y; if (flame) { eval ("objSpit" + j).obj.gotoAndStop("flame"); spitObj(eval ("objSpit" + j), 0); } else { eval ("objSpit" + j).obj.gotoAndStop(frmObjBeEaten); spitObj(eval ("objSpit" + j), 45); } objInMouth = false; movInfo.frogStat.gotoAndPlay("spitup"); objQty = 0; frog.gotoAndStop("spit" + anglePos); timerSpit = setInterval(spitOut, 250); } else if (((((((Key.getCode() == 65) && (keylock == false)) && (leftBound == false)) && (stopLeftBg == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 5; frogXMove = 0; yMove = -10; frog.gotoAndPlay("jump1"); } else if (((((((Key.getCode() == 65) && (keylock == false)) && (leftBound == false)) && (stopLeftBg == true)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 0; frogXMove = -5; yMove = -10; movBg1.frogPos = movBg1.frogPos - 50; frog.gotoAndPlay("jump1"); } else if (((((((Key.getCode() == 68) && (keylock == false)) && (rightBound == false)) && (stopRightBg == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = -5; frogXMove = 0; yMove = -10; frog.gotoAndPlay("jump2"); } else if (((((((Key.getCode() == 68) && (keylock == false)) && (rightBound == false)) && (stopRightBg == true)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 0; frogXMove = 5; yMove = -10; movBg1.frogPos = movBg1.frogPos + 50; frog.gotoAndPlay("jump2"); } else if (((((Key.getCode() == 87) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 0; yMove = -10; frog.gotoAndPlay("jump3"); } else if (((((Key.getCode() == 83) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { freeze = true; frog.gotoAndStop("freeze"); } else if ((((((Key.getCode() == 69) && (keylock == false)) && (objInMouth == true)) && (stomachFull == false)) && (frogDeath == false)) && (gamePause == false)) { frog.head.gotoAndStop(1); objInMouth = false; movInfo.frogStat.gotoAndPlay("instomach"); if (fOptSound == true) { playSound("eat.wav"); } if ((frmObjBeEaten == 13) && (hP < 100)) { hP = hP + 10; movInfo.HM.meter._xscale = hP; } else if (frmObjBeEaten == 14) { if (hP < 100) { hP = hP + 50; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } } else if (frmObjBeEaten == 15) { if (hP < 100) { hP = hP + 100; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } if (flame == false) { movInfo.FM.meter._xscale = movInfo.FM.meter._xscale + 100; } } totScore = totScore + objScore; if (totScore >= scrTarget3) { movBg1.stageInfo2.gotoAndStop(3); stageOpen2 = true; } movInfo.score.text = totScore; if (totQty < 200) { totQty = totQty + objQty; } movInfo.SM.meter._xscale = movInfo.SM.meter._xscale + (objQty / 2); movInfo.SM.effect._xscale = movInfo.SM.meter._xscale; } else if ((((Key.getCode() == 65) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) { if (leftBound == true) { keylock = true; gameStage = 1; movLayer.gotoAndPlay(2); } } else if ((((Key.getCode() == 68) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) { if ((rightBound == true) && (stageOpen2 == true)) { keylock = true; gameStage = 4; movLayer.gotoAndPlay(2); } } else if ((Key.getCode() == 77) && (frogDeath == false)) { if (gamePause == false) { gamePause = true; movPause.gotoAndStop(2); cursor._visible = false; Mouse.show(); clearInterval(defecateTimer); if (fOptMusic == true) { musicObject.stop(); } } else { gamePause = false; movPause.gotoAndStop(1); cursor._visible = true; Mouse.hide(); defecateTimer = setInterval(defecation, 1000); if (flame == true) { flameTimer = setInterval(throwFlame, 500); } if (fOptMusic == true) { playMusic(("music" + gameStage) + ".wav"); } } } }; control.onKeyUp = function () { if (Key.getCode() == 65) { keyhold = false; } else if (Key.getCode() == 68) { keyhold = false; } else if (Key.getCode() == 87) { keyhold = false; } else if (((((Key.getCode() == 83) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { freeze = false; frog.gotoAndStop("standby"); } }; Mouse.addListener(control); Key.addListener(control); frog.onEnterFrame = function () { if (movBg1._x == -100) { frogSplashFrame = "rl"; frogSplash = true; } else if ((movBg1._x <= -150) && (movBg1._x >= -1050)) { frogSplashFrame = "rc"; frogSplash = true; } else if (movBg1._x == -1100) { frogSplashFrame = "rr"; frogSplash = true; } else { frogSplash = false; } jumpTimer = jumpTimer + c; if (jumpTimer == ((50 * power) + 5)) { keylock = false; c = 0; yMove = 0; xMove = 0; frogXMove = 0; jumpTimer = 0; this.gotoAndPlay(1); } if (jumpTimer == (((50 * power) / 2) + 5)) { yMove = 10; this.gotoAndPlay(this._currentframe + 1); } this._y = this._y + yMove; this._x = this._x + frogXMove; i = 1; while (i <= 5) { eval ("objSpit" + i)._x = eval ("objSpit" + i)._x + xMove; i++; } feces._x = feces._x + xMove; movBg1._x = movBg1._x + xMove; movBg2._x = movBg2._x + (xMove / 8); movBg3._x = movBg3._x + xMove; movBg1.frogPos = movBg1.frogPos - xMove; if (movBg1._x == -50) { stopLeftBg = true; } else if (movBg1._x == -100) { stopLeftBg = false; } if ((this._x == 225) && (movBg1._x == -50)) { stopRightBg = true; } else if ((this._x == 275) && (movBg1._x == -50)) { stopRightBg = false; } if (this._x == 75) { leftBound = true; } else if (this._x == 125) { leftBound = false; } if (movBg1._x == -1150) { stopRightBg = true; } else if (movBg1._x == -1100) { stopRightBg = false; } if ((this._x == 325) && (movBg1._x == -1150)) { stopLeftBg = true; if (stageOpen2 == false) { movBg1.stageInfo2.gotoAndStop(2); } } else if ((this._x == 275) && (movBg1._x == -1150)) { stopLeftBg = false; if (stageOpen2 == false) { movBg1.stageInfo2.gotoAndStop(1); } } if (this._x == 475) { rightBound = true; } else if (this._x == 425) { rightBound = false; } tongue._x = this._x; tongue._y = this._y; cursor._x = _xmouse; cursor._y = _ymouse; if (((hyp <= 200) && (mouthFull == false)) && (freeze == false)) { cursor.gotoAndStop(1); onRange = true; } else { cursor.gotoAndStop(2); onRange = false; } difX = _xmouse - this._x; difY = _ymouse - this._y; xSquared = difX * difX; ySquared = difY * difY; hypSquared = Number(xSquared) + Number(ySquared); hyp = 1; counter = 0; while (Number(counter) < 15) { hyp = hyp - (((hyp * hyp) - hypSquared) / (2 * hyp)); counter++; } if (Number(difY) < 0) { difYMagnitude = difY * -1; } else { difYMagnitude = difY; } sine = difYMagnitude / hyp; part1 = (Math.PI/2); part2Squared = 1 - sine; part2 = 1; counter = 0; while (Number(counter) < 15) { part2 = part2 - (((part2 * part2) - part2Squared) / (2 * part2)); counter = Number(counter) + 1; } part3 = Number(Number(Number(1.5707288) + Number(-0.2121144 * sine)) + Number(0.074261 * (sine * sine))) + Number(-0.0187293 * ((sine * sine) * sine)); arcsine = part1 - (part2 * part3); angle = arcsine / 0.01745329; if ((Number(difX) <= 0) and (Number(difY) > 0)) { rotate = 90 + Number(90 - angle); } else if ((Number(difX) > 0) and (Number(difY) > 0)) { rotate = angle; } else if ((Number(difX) > 0) and (Number(difY) < 0)) { rotate = -angle; } else if ((Number(difX) <= 0) and (Number(difY) < 0)) { rotate = -(90 + Number(90 - angle)); } tongue._rotation = rotate; rotateValue = rotate + 180; if ((rotateValue >= 247.5) && (rotateValue <= 292.5)) { anglePos = 1; } else if ((rotateValue >= 292.5) && (rotateValue <= 337.5)) { anglePos = 2; } else if ((rotateValue >= 337.5) || (rotateValue <= 22.5)) { anglePos = 3; } else if ((rotateValue >= 22.5) && (rotateValue <= 67.5)) { anglePos = 4; } else if ((rotateValue >= 67.5) && (rotateValue <= 112.5)) { anglePos = 5; } else if ((rotateValue >= 112.5) && (rotateValue <= 157.5)) { anglePos = 6; } else if ((rotateValue >= 157.5) && (rotateValue <= 202.5)) { anglePos = 7; } else if ((rotateValue >= 202.5) && (rotateValue <= 247.5)) { anglePos = 8; } }; movInfo.onEnterFrame = function () { if (this.SM.meter._xscale > 100) { this.SM.meter._xscale = 100; } else if (this.SM.meter._xscale < 0) { this.SM.meter._xscale = 0; } if (totQty < 0) { totQty = 0; } else if (totQty < 50) { frog.body.gotoAndStop("body0"); } else if (totQty < 100) { frog.body.gotoAndStop("body1"); } else if (totQty < 150) { frog.body.gotoAndStop("body2"); } else if (totQty < 200) { frog.body.gotoAndStop("body3"); } else if (totQty >= 200) { totQty = 200; this.SM.effect2._visible = true; stomachFull = true; mouthFull = true; } if (objInMouth == false) { mouthFull = false; } if (this.HM.meter._xscale <= 0) { this.HM.meter._xscale = 0; clearInterval(defecateTimer); if (flame == true) { clearInterval(flameTimer); } removeMovieClip(cursor); Mouse.show(); if (frogSplash == true) { movSplash.gotoAndStop(frogSplashFrame); frog.gotoAndStop("death2"); } else { movSplash.gotoAndStop("empty"); frog.gotoAndStop("death"); } frogDeath = true; movPause.gotoAndStop("gameover"); } else if (this.HM.meter._xscale <= 20) { frog.head.bump.gotoAndStop("bump3"); } else if (this.HM.meter._xscale <= 50) { frog.head.bump.gotoAndStop("bump2"); } else if (this.HM.meter._xscale <= 80) { frog.head.bump.gotoAndStop("bump1"); } else if (this.HM.meter._xscale <= 100) { frog.head.bump.gotoAndStop("bump0"); } if (this.FM.meter._xscale >= 100) { flame = true; if (fOptSound == true) { playSound("magicpower.wav"); } this.FM.meter._xscale = 0; this.FM.effect._visible = true; flameTimer = setInterval(throwFlame, 500); } }; Mouse.hide(); stop();
Frame 18
defecateTimer = setInterval(defecation, 1000); if (totScore >= scrTarget1) { gameLevel = 2; } if (totScore >= scrTarget2) { gameLevel = 3; } if (totScore >= scrTarget3) { gameLevel = 4; } if (totScore >= scrTarget4) { gameLevel = 5; } if (totScore >= scrTarget5) { gameLevel = 6; } movBg3.setMask(movMask); frogSplash = false; control.onMouseDown = function () { if (((((((shoot == false) && (onRange == true)) && (frogHit == false)) && (mouthFull == false)) && (freeze == false)) && (frogDeath == false)) && (gamePause == false)) { Mouse.hide(); shoot = true; if (fOptSound == true) { playSound("catch.wav"); } if (objInMouth == false) { movInfo.frogStat.gotoAndStop(1); } else if (stomachFull == false) { movInfo.frogStat.gotoAndPlay("instomach"); if ((frmObjBeEaten == 13) && (hP < 100)) { hP = hP + 10; movInfo.HM.meter._xscale = hP; } else if (frmObjBeEaten == 14) { if (hP < 100) { hP = hP + 50; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } } else if (frmObjBeEaten == 15) { if (hP < 100) { hP = hP + 100; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } if (flame == false) { movInfo.FM.meter._xscale = movInfo.FM.meter._xscale + 100; } } totScore = totScore + objScore; if (totScore >= scrTarget4) { movBg1.stageInfo2.gotoAndStop(3); stageOpen2 = true; } movInfo.score.text = totScore; if (totQty < 200) { totQty = totQty + objQty; } movInfo.SM.meter._xscale = movInfo.SM.meter._xscale + (objQty / 2); movInfo.SM.effect._xscale = movInfo.SM.meter._xscale; } objInMouth = false; tongue._visible = true; tongue.inside._xscale = hyp * 100; tongue.outer._x = tongue.inside._width; frog.head.gotoAndStop("shoot"); timerShoot = setInterval(tongueIn, 100); } }; control.onMouseMove = function () { if (((frogHit == false) && (frogDeath == false)) && (gamePause == false)) { frog.eyes.gotoAndStop("watch" + anglePos); } }; control.onKeyDown = function () { if (((((Key.getCode() == 32) && (keylock == false)) && (objInMouth == true)) && (frogDeath == false)) && (gamePause == false)) { keylock = true; freeze = false; j++; if (j > 5) { j = 1; } attachMovie("objspit", "objSpit" + j, 10001 + j); eval ("objSpit" + j).setMask(movLayer); eval ("objSpit" + j)._x = frog._x; eval ("objSpit" + j)._y = frog._y; if (flame) { eval ("objSpit" + j).obj.gotoAndStop("flame"); spitObj(eval ("objSpit" + j), 0); } else { eval ("objSpit" + j).obj.gotoAndStop(frmObjBeEaten); spitObj(eval ("objSpit" + j), 45); } objInMouth = false; movInfo.frogStat.gotoAndPlay("spitup"); objQty = 0; frog.gotoAndStop("spit" + anglePos); timerSpit = setInterval(spitOut, 250); } else if (((((((Key.getCode() == 65) && (keylock == false)) && (leftBound == false)) && (stopLeftBg == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 5; frogXMove = 0; yMove = -10; frog.gotoAndPlay("jump1"); } else if (((((((Key.getCode() == 65) && (keylock == false)) && (leftBound == false)) && (stopLeftBg == true)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 0; frogXMove = -5; yMove = -10; movBg1.frogPos = movBg1.frogPos - 50; frog.gotoAndPlay("jump1"); } else if (((((((Key.getCode() == 68) && (keylock == false)) && (rightBound == false)) && (stopRightBg == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = -5; frogXMove = 0; yMove = -10; frog.gotoAndPlay("jump2"); } else if (((((((Key.getCode() == 68) && (keylock == false)) && (rightBound == false)) && (stopRightBg == true)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 0; frogXMove = 5; yMove = -10; movBg1.frogPos = movBg1.frogPos + 50; frog.gotoAndPlay("jump2"); } else if (((((Key.getCode() == 87) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 0; yMove = -10; frog.gotoAndPlay("jump3"); } else if (((((Key.getCode() == 83) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { freeze = true; frog.gotoAndStop("freeze"); } else if ((((((Key.getCode() == 69) && (keylock == false)) && (objInMouth == true)) && (stomachFull == false)) && (frogDeath == false)) && (gamePause == false)) { frog.head.gotoAndStop(1); objInMouth = false; movInfo.frogStat.gotoAndPlay("instomach"); if (fOptSound == true) { playSound("eat.wav"); } if ((frmObjBeEaten == 13) && (hP < 100)) { hP = hP + 10; movInfo.HM.meter._xscale = hP; } else if (frmObjBeEaten == 14) { if (hP < 100) { hP = hP + 50; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } } else if (frmObjBeEaten == 15) { if (hP < 100) { hP = hP + 100; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } if (flame == false) { movInfo.FM.meter._xscale = movInfo.FM.meter._xscale + 100; } } totScore = totScore + objScore; if (totScore >= scrTarget4) { movBg1.stageInfo2.gotoAndStop(3); stageOpen2 = true; } movInfo.score.text = totScore; if (totQty < 200) { totQty = totQty + objQty; } movInfo.SM.meter._xscale = movInfo.SM.meter._xscale + (objQty / 2); movInfo.SM.effect._xscale = movInfo.SM.meter._xscale; } else if ((((Key.getCode() == 65) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) { if (leftBound == true) { keylock = true; gameStage = 3; movLayer.gotoAndPlay(2); } } else if ((((Key.getCode() == 68) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) { if ((rightBound == true) && (stageOpen2 == true)) { keylock = true; gameStage = 6; movLayer.gotoAndPlay(2); } } else if ((Key.getCode() == 77) && (frogDeath == false)) { if (gamePause == false) { gamePause = true; movPause.gotoAndStop(2); cursor._visible = false; Mouse.show(); clearInterval(defecateTimer); if (fOptMusic == true) { musicObject.stop(); } } else { gamePause = false; movPause.gotoAndStop(1); cursor._visible = true; Mouse.hide(); defecateTimer = setInterval(defecation, 1000); if (flame == true) { flameTimer = setInterval(throwFlame, 500); } if (fOptMusic == true) { playMusic(("music" + gameStage) + ".wav"); } } } }; control.onKeyUp = function () { if (Key.getCode() == 65) { keyhold = false; } else if (Key.getCode() == 68) { keyhold = false; } else if (Key.getCode() == 87) { keyhold = false; } else if (((((Key.getCode() == 83) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { freeze = false; frog.gotoAndStop("standby"); } }; Mouse.addListener(control); Key.addListener(control); frog.onEnterFrame = function () { jumpTimer = jumpTimer + c; if (jumpTimer == ((50 * power) + 5)) { keylock = false; c = 0; yMove = 0; xMove = 0; frogXMove = 0; jumpTimer = 0; this.gotoAndPlay(1); } if (jumpTimer == (((50 * power) / 2) + 5)) { yMove = 10; this.gotoAndPlay(this._currentframe + 1); } this._y = this._y + yMove; this._x = this._x + frogXMove; i = 1; while (i <= 5) { eval ("objSpit" + i)._x = eval ("objSpit" + i)._x + xMove; i++; } feces._x = feces._x + xMove; movBg1._x = movBg1._x + xMove; movBg2._x = movBg2._x + (xMove / 8); movBg3._x = movBg3._x + xMove; movBg1.frogPos = movBg1.frogPos - xMove; if (movBg1._x == -50) { stopLeftBg = true; } else if (movBg1._x == -100) { stopLeftBg = false; } if ((this._x == 225) && (movBg1._x == -50)) { stopRightBg = true; } else if ((this._x == 275) && (movBg1._x == -50)) { stopRightBg = false; } if (this._x == 75) { leftBound = true; } else if (this._x == 125) { leftBound = false; } if (movBg1._x == -1150) { stopRightBg = true; } else if (movBg1._x == -1100) { stopRightBg = false; } if ((this._x == 325) && (movBg1._x == -1150)) { stopLeftBg = true; if (stageOpen2 == false) { movBg1.stageInfo2.gotoAndStop(2); } } else if ((this._x == 275) && (movBg1._x == -1150)) { stopLeftBg = false; if (stageOpen2 == false) { movBg1.stageInfo2.gotoAndStop(1); } } if (this._x == 475) { rightBound = true; } else if (this._x == 425) { rightBound = false; } tongue._x = this._x; tongue._y = this._y; cursor._x = _xmouse; cursor._y = _ymouse; if (((hyp <= 200) && (mouthFull == false)) && (freeze == false)) { cursor.gotoAndStop(1); onRange = true; } else { cursor.gotoAndStop(2); onRange = false; } difX = _xmouse - this._x; difY = _ymouse - this._y; xSquared = difX * difX; ySquared = difY * difY; hypSquared = Number(xSquared) + Number(ySquared); hyp = 1; counter = 0; while (Number(counter) < 15) { hyp = hyp - (((hyp * hyp) - hypSquared) / (2 * hyp)); counter++; } if (Number(difY) < 0) { difYMagnitude = difY * -1; } else { difYMagnitude = difY; } sine = difYMagnitude / hyp; part1 = (Math.PI/2); part2Squared = 1 - sine; part2 = 1; counter = 0; while (Number(counter) < 15) { part2 = part2 - (((part2 * part2) - part2Squared) / (2 * part2)); counter = Number(counter) + 1; } part3 = Number(Number(Number(1.5707288) + Number(-0.2121144 * sine)) + Number(0.074261 * (sine * sine))) + Number(-0.0187293 * ((sine * sine) * sine)); arcsine = part1 - (part2 * part3); angle = arcsine / 0.01745329; if ((Number(difX) <= 0) and (Number(difY) > 0)) { rotate = 90 + Number(90 - angle); } else if ((Number(difX) > 0) and (Number(difY) > 0)) { rotate = angle; } else if ((Number(difX) > 0) and (Number(difY) < 0)) { rotate = -angle; } else if ((Number(difX) <= 0) and (Number(difY) < 0)) { rotate = -(90 + Number(90 - angle)); } tongue._rotation = rotate; rotateValue = rotate + 180; if ((rotateValue >= 247.5) && (rotateValue <= 292.5)) { anglePos = 1; } else if ((rotateValue >= 292.5) && (rotateValue <= 337.5)) { anglePos = 2; } else if ((rotateValue >= 337.5) || (rotateValue <= 22.5)) { anglePos = 3; } else if ((rotateValue >= 22.5) && (rotateValue <= 67.5)) { anglePos = 4; } else if ((rotateValue >= 67.5) && (rotateValue <= 112.5)) { anglePos = 5; } else if ((rotateValue >= 112.5) && (rotateValue <= 157.5)) { anglePos = 6; } else if ((rotateValue >= 157.5) && (rotateValue <= 202.5)) { anglePos = 7; } else if ((rotateValue >= 202.5) && (rotateValue <= 247.5)) { anglePos = 8; } }; movInfo.onEnterFrame = function () { if (this.SM.meter._xscale > 100) { this.SM.meter._xscale = 100; } else if (this.SM.meter._xscale < 0) { this.SM.meter._xscale = 0; } if (totQty < 0) { totQty = 0; } else if (totQty < 50) { frog.body.gotoAndStop("body0"); } else if (totQty < 100) { frog.body.gotoAndStop("body1"); } else if (totQty < 150) { frog.body.gotoAndStop("body2"); } else if (totQty < 200) { frog.body.gotoAndStop("body3"); } else if (totQty >= 200) { totQty = 200; this.SM.effect2._visible = true; stomachFull = true; mouthFull = true; } if (objInMouth == false) { mouthFull = false; } if (this.HM.meter._xscale <= 0) { this.HM.meter._xscale = 0; clearInterval(defecateTimer); if (flame == true) { clearInterval(flameTimer); } removeMovieClip(cursor); Mouse.show(); frog.gotoAndStop("death"); frogDeath = true; movPause.gotoAndStop("gameover"); } else if (this.HM.meter._xscale <= 20) { frog.head.bump.gotoAndStop("bump3"); } else if (this.HM.meter._xscale <= 50) { frog.head.bump.gotoAndStop("bump2"); } else if (this.HM.meter._xscale <= 80) { frog.head.bump.gotoAndStop("bump1"); } else if (this.HM.meter._xscale <= 100) { frog.head.bump.gotoAndStop("bump0"); } if (this.FM.meter._xscale >= 100) { flame = true; if (fOptSound == true) { playSound("magicpower.wav"); } this.FM.meter._xscale = 0; this.FM.effect._visible = true; flameTimer = setInterval(throwFlame, 500); } }; Mouse.hide(); stop();
Frame 19
defecateTimer = setInterval(defecation, 1000); if (totScore >= scrTarget1) { gameLevel = 2; } if (totScore >= scrTarget2) { gameLevel = 3; } if (totScore >= scrTarget3) { gameLevel = 4; } if (totScore >= scrTarget4) { gameLevel = 5; } if (totScore >= scrTarget5) { gameLevel = 6; } movBg3.setMask(movMask); control.onMouseDown = function () { if (((((((shoot == false) && (onRange == true)) && (frogHit == false)) && (mouthFull == false)) && (freeze == false)) && (frogDeath == false)) && (gamePause == false)) { Mouse.hide(); shoot = true; if (fOptSound == true) { playSound("catch.wav"); } if (objInMouth == false) { movInfo.frogStat.gotoAndStop(1); } else if (stomachFull == false) { movInfo.frogStat.gotoAndPlay("instomach"); if ((frmObjBeEaten == 13) && (hP < 100)) { hP = hP + 10; movInfo.HM.meter._xscale = hP; } else if (frmObjBeEaten == 14) { if (hP < 100) { hP = hP + 50; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } } else if (frmObjBeEaten == 15) { if (hP < 100) { hP = hP + 100; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } if (flame == false) { movInfo.FM.meter._xscale = movInfo.FM.meter._xscale + 100; } } totScore = totScore + objScore; movInfo.score.text = totScore; if (totQty < 200) { totQty = totQty + objQty; } movInfo.SM.meter._xscale = movInfo.SM.meter._xscale + (objQty / 2); movInfo.SM.effect._xscale = movInfo.SM.meter._xscale; } objInMouth = false; tongue._visible = true; tongue.inside._xscale = hyp * 100; tongue.outer._x = tongue.inside._width; frog.head.gotoAndStop("shoot"); timerShoot = setInterval(tongueIn, 100); } }; control.onMouseMove = function () { if (((frogHit == false) && (frogDeath == false)) && (gamePause == false)) { frog.eyes.gotoAndStop("watch" + anglePos); } }; control.onKeyDown = function () { if (((((Key.getCode() == 32) && (keylock == false)) && (objInMouth == true)) && (frogDeath == false)) && (gamePause == false)) { keylock = true; freeze = false; j++; if (j > 5) { j = 1; } attachMovie("objspit", "objSpit" + j, 10001 + j); eval ("objSpit" + j).setMask(movLayer); eval ("objSpit" + j)._x = frog._x; eval ("objSpit" + j)._y = frog._y; if (flame) { eval ("objSpit" + j).obj.gotoAndStop("flame"); spitObj(eval ("objSpit" + j), 0); } else { eval ("objSpit" + j).obj.gotoAndStop(frmObjBeEaten); spitObj(eval ("objSpit" + j), 45); } objInMouth = false; movInfo.frogStat.gotoAndPlay("spitup"); objQty = 0; frog.gotoAndStop("spit" + anglePos); timerSpit = setInterval(spitOut, 250); } else if (((((((Key.getCode() == 65) && (keylock == false)) && (leftBound == false)) && (stopLeftBg == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 5; frogXMove = 0; yMove = -10; frog.gotoAndPlay("jump1"); } else if (((((((Key.getCode() == 65) && (keylock == false)) && (leftBound == false)) && (stopLeftBg == true)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 0; frogXMove = -5; yMove = -10; movBg1.frogPos = movBg1.frogPos - 50; frog.gotoAndPlay("jump1"); } else if (((((((Key.getCode() == 68) && (keylock == false)) && (rightBound == false)) && (stopRightBg == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = -5; frogXMove = 0; yMove = -10; frog.gotoAndPlay("jump2"); } else if (((((((Key.getCode() == 68) && (keylock == false)) && (rightBound == false)) && (stopRightBg == true)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 0; frogXMove = 5; yMove = -10; movBg1.frogPos = movBg1.frogPos + 50; frog.gotoAndPlay("jump2"); } else if (((((Key.getCode() == 87) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 0; yMove = -10; frog.gotoAndPlay("jump3"); } else if (((((Key.getCode() == 83) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { freeze = true; frog.gotoAndStop("freeze"); } else if ((((((Key.getCode() == 69) && (keylock == false)) && (objInMouth == true)) && (stomachFull == false)) && (frogDeath == false)) && (gamePause == false)) { frog.head.gotoAndStop(1); objInMouth = false; movInfo.frogStat.gotoAndPlay("instomach"); if (fOptSound == true) { playSound("eat.wav"); } if ((frmObjBeEaten == 13) && (hP < 100)) { hP = hP + 10; movInfo.HM.meter._xscale = hP; } else if (frmObjBeEaten == 14) { if (hP < 100) { hP = hP + 50; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } } else if (frmObjBeEaten == 15) { if (hP < 100) { hP = hP + 100; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } if (flame == false) { movInfo.FM.meter._xscale = movInfo.FM.meter._xscale + 100; } } totScore = totScore + objScore; movInfo.score.text = totScore; if (totQty < 200) { totQty = totQty + objQty; } movInfo.SM.meter._xscale = movInfo.SM.meter._xscale + (objQty / 2); movInfo.SM.effect._xscale = movInfo.SM.meter._xscale; } else if ((((Key.getCode() == 68) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) { if (rightBound == true) { keylock = true; gameStage = 2; movLayer.gotoAndPlay(2); } } else if ((Key.getCode() == 77) && (frogDeath == false)) { if (gamePause == false) { gamePause = true; movPause.gotoAndStop(2); cursor._visible = false; Mouse.show(); clearInterval(defecateTimer); if (fOptMusic == true) { musicObject.stop(); } } else { gamePause = false; movPause.gotoAndStop(1); cursor._visible = true; Mouse.hide(); defecateTimer = setInterval(defecation, 1000); if (flame == true) { flameTimer = setInterval(throwFlame, 500); } if (fOptMusic == true) { playMusic(("music" + gameStage) + ".wav"); } } } }; control.onKeyUp = function () { if (Key.getCode() == 65) { keyhold = false; } else if (Key.getCode() == 68) { keyhold = false; } else if (Key.getCode() == 87) { keyhold = false; } else if (((((Key.getCode() == 83) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { freeze = false; frog.gotoAndStop("standby"); } }; Mouse.addListener(control); Key.addListener(control); frog.onEnterFrame = function () { jumpTimer = jumpTimer + c; if (jumpTimer == ((50 * power) + 5)) { keylock = false; c = 0; yMove = 0; xMove = 0; frogXMove = 0; jumpTimer = 0; this.gotoAndPlay(1); } if (jumpTimer == (((50 * power) / 2) + 5)) { yMove = 10; this.gotoAndPlay(this._currentframe + 1); } this._y = this._y + yMove; this._x = this._x + frogXMove; i = 1; while (i <= 5) { eval ("objSpit" + i)._x = eval ("objSpit" + i)._x + xMove; i++; } feces._x = feces._x + xMove; movBg1._x = movBg1._x + xMove; movBg2._x = movBg2._x + (xMove / 8); movBg3._x = movBg3._x + xMove; movBg1.frogPos = movBg1.frogPos - xMove; if (movBg1._x == -50) { stopLeftBg = true; } else if (movBg1._x == -100) { stopLeftBg = false; } if ((this._x == 225) && (movBg1._x == -50)) { stopRightBg = true; } else if ((this._x == 275) && (movBg1._x == -50)) { stopRightBg = false; } if (this._x == 75) { leftBound = true; } else if (this._x == 125) { leftBound = false; } if (movBg1._x == -1150) { stopRightBg = true; } else if (movBg1._x == -1100) { stopRightBg = false; } if ((this._x == 325) && (movBg1._x == -1150)) { stopLeftBg = true; } else if ((this._x == 275) && (movBg1._x == -1150)) { stopLeftBg = false; } if (this._x == 475) { rightBound = true; } else if (this._x == 425) { rightBound = false; } tongue._x = this._x; tongue._y = this._y; cursor._x = _xmouse; cursor._y = _ymouse; if (((hyp <= 200) && (mouthFull == false)) && (freeze == false)) { cursor.gotoAndStop(1); onRange = true; } else { cursor.gotoAndStop(2); onRange = false; } difX = _xmouse - this._x; difY = _ymouse - this._y; xSquared = difX * difX; ySquared = difY * difY; hypSquared = Number(xSquared) + Number(ySquared); hyp = 1; counter = 0; while (Number(counter) < 15) { hyp = hyp - (((hyp * hyp) - hypSquared) / (2 * hyp)); counter++; } if (Number(difY) < 0) { difYMagnitude = difY * -1; } else { difYMagnitude = difY; } sine = difYMagnitude / hyp; part1 = (Math.PI/2); part2Squared = 1 - sine; part2 = 1; counter = 0; while (Number(counter) < 15) { part2 = part2 - (((part2 * part2) - part2Squared) / (2 * part2)); counter = Number(counter) + 1; } part3 = Number(Number(Number(1.5707288) + Number(-0.2121144 * sine)) + Number(0.074261 * (sine * sine))) + Number(-0.0187293 * ((sine * sine) * sine)); arcsine = part1 - (part2 * part3); angle = arcsine / 0.01745329; if ((Number(difX) <= 0) and (Number(difY) > 0)) { rotate = 90 + Number(90 - angle); } else if ((Number(difX) > 0) and (Number(difY) > 0)) { rotate = angle; } else if ((Number(difX) > 0) and (Number(difY) < 0)) { rotate = -angle; } else if ((Number(difX) <= 0) and (Number(difY) < 0)) { rotate = -(90 + Number(90 - angle)); } tongue._rotation = rotate; rotateValue = rotate + 180; if ((rotateValue >= 247.5) && (rotateValue <= 292.5)) { anglePos = 1; } else if ((rotateValue >= 292.5) && (rotateValue <= 337.5)) { anglePos = 2; } else if ((rotateValue >= 337.5) || (rotateValue <= 22.5)) { anglePos = 3; } else if ((rotateValue >= 22.5) && (rotateValue <= 67.5)) { anglePos = 4; } else if ((rotateValue >= 67.5) && (rotateValue <= 112.5)) { anglePos = 5; } else if ((rotateValue >= 112.5) && (rotateValue <= 157.5)) { anglePos = 6; } else if ((rotateValue >= 157.5) && (rotateValue <= 202.5)) { anglePos = 7; } else if ((rotateValue >= 202.5) && (rotateValue <= 247.5)) { anglePos = 8; } }; movInfo.onEnterFrame = function () { if (this.SM.meter._xscale > 100) { this.SM.meter._xscale = 100; } else if (this.SM.meter._xscale < 0) { this.SM.meter._xscale = 0; } if (totQty < 0) { totQty = 0; } else if (totQty < 50) { frog.body.gotoAndStop("body0"); } else if (totQty < 100) { frog.body.gotoAndStop("body1"); } else if (totQty < 150) { frog.body.gotoAndStop("body2"); } else if (totQty < 200) { frog.body.gotoAndStop("body3"); } else if (totQty >= 200) { totQty = 200; this.SM.effect2._visible = true; stomachFull = true; mouthFull = true; } if (objInMouth == false) { mouthFull = false; } if (this.HM.meter._xscale <= 0) { this.HM.meter._xscale = 0; clearInterval(defecateTimer); if (flame == true) { clearInterval(flameTimer); } removeMovieClip(cursor); Mouse.show(); frog.gotoAndStop("death"); frogDeath = true; movPause.gotoAndStop("gameover"); } else if (this.HM.meter._xscale <= 20) { frog.head.bump.gotoAndStop("bump3"); } else if (this.HM.meter._xscale <= 50) { frog.head.bump.gotoAndStop("bump2"); } else if (this.HM.meter._xscale <= 80) { frog.head.bump.gotoAndStop("bump1"); } else if (this.HM.meter._xscale <= 100) { frog.head.bump.gotoAndStop("bump0"); } if (this.FM.meter._xscale >= 100) { flame = true; if (fOptSound == true) { playSound("magicpower.wav"); } this.FM.meter._xscale = 0; this.FM.effect._visible = true; flameTimer = setInterval(throwFlame, 500); } }; Mouse.hide(); stop();
Frame 20
defecateTimer = setInterval(defecation, 1000); if (totScore >= scrTarget1) { gameLevel = 2; } if (totScore >= scrTarget2) { gameLevel = 3; } if (totScore >= scrTarget3) { gameLevel = 4; } if (totScore >= scrTarget4) { gameLevel = 5; } if (totScore >= scrTarget5) { gameLevel = 6; } movBg3.setMask(movMask); control.onMouseDown = function () { if (((((((shoot == false) && (onRange == true)) && (frogHit == false)) && (mouthFull == false)) && (freeze == false)) && (frogDeath == false)) && (gamePause == false)) { Mouse.hide(); shoot = true; if (fOptSound == true) { playSound("catch.wav"); } if (objInMouth == false) { movInfo.frogStat.gotoAndStop(1); } else if (stomachFull == false) { movInfo.frogStat.gotoAndPlay("instomach"); if ((frmObjBeEaten == 13) && (hP < 100)) { hP = hP + 10; movInfo.HM.meter._xscale = hP; } else if (frmObjBeEaten == 14) { if (hP < 100) { hP = hP + 50; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } } else if (frmObjBeEaten == 15) { if (hP < 100) { hP = hP + 100; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } if (flame == false) { movInfo.FM.meter._xscale = movInfo.FM.meter._xscale + 100; } } totScore = totScore + objScore; movInfo.score.text = totScore; if (totQty < 200) { totQty = totQty + objQty; } movInfo.SM.meter._xscale = movInfo.SM.meter._xscale + (objQty / 2); movInfo.SM.effect._xscale = movInfo.SM.meter._xscale; } objInMouth = false; tongue._visible = true; tongue.inside._xscale = hyp * 100; tongue.outer._x = tongue.inside._width; frog.head.gotoAndStop("shoot"); timerShoot = setInterval(tongueIn, 100); } }; control.onMouseMove = function () { if (((frogHit == false) && (frogDeath == false)) && (gamePause == false)) { frog.eyes.gotoAndStop("watch" + anglePos); } }; control.onKeyDown = function () { if (((((Key.getCode() == 32) && (keylock == false)) && (objInMouth == true)) && (frogDeath == false)) && (gamePause == false)) { keylock = true; freeze = false; j++; if (j > 5) { j = 1; } attachMovie("objspit", "objSpit" + j, 10001 + j); eval ("objSpit" + j).setMask(movLayer); eval ("objSpit" + j)._x = frog._x; eval ("objSpit" + j)._y = frog._y; if (flame) { eval ("objSpit" + j).obj.gotoAndStop("flame"); spitObj(eval ("objSpit" + j), 0); } else { eval ("objSpit" + j).obj.gotoAndStop(frmObjBeEaten); spitObj(eval ("objSpit" + j), 45); } objInMouth = false; movInfo.frogStat.gotoAndPlay("spitup"); objQty = 0; frog.gotoAndStop("spit" + anglePos); timerSpit = setInterval(spitOut, 250); } else if (((((((Key.getCode() == 65) && (keylock == false)) && (leftBound == false)) && (stopLeftBg == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 5; frogXMove = 0; yMove = -10; frog.gotoAndPlay("jump1"); } else if (((((((Key.getCode() == 65) && (keylock == false)) && (leftBound == false)) && (stopLeftBg == true)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 0; frogXMove = -5; yMove = -10; movBg1.frogPos = movBg1.frogPos - 50; frog.gotoAndPlay("jump1"); } else if (((((((Key.getCode() == 68) && (keylock == false)) && (rightBound == false)) && (stopRightBg == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = -5; frogXMove = 0; yMove = -10; frog.gotoAndPlay("jump2"); } else if (((((((Key.getCode() == 68) && (keylock == false)) && (rightBound == false)) && (stopRightBg == true)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 0; frogXMove = 5; yMove = -10; movBg1.frogPos = movBg1.frogPos + 50; frog.gotoAndPlay("jump2"); } else if (((((Key.getCode() == 87) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { keylock = true; keyhold = true; freeze = false; c = 5; power = 1; xMove = 0; yMove = -10; frog.gotoAndPlay("jump3"); } else if (((((Key.getCode() == 83) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { freeze = true; frog.gotoAndStop("freeze"); } else if ((((((Key.getCode() == 69) && (keylock == false)) && (objInMouth == true)) && (stomachFull == false)) && (frogDeath == false)) && (gamePause == false)) { frog.head.gotoAndStop(1); objInMouth = false; movInfo.frogStat.gotoAndPlay("instomach"); if (fOptSound == true) { playSound("eat.wav"); } if ((frmObjBeEaten == 13) && (hP < 100)) { hP = hP + 10; movInfo.HM.meter._xscale = hP; } else if (frmObjBeEaten == 14) { if (hP < 100) { hP = hP + 50; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } } else if (frmObjBeEaten == 15) { if (hP < 100) { hP = hP + 100; } if (hP > 100) { hP = 100; movInfo.HM.meter._xscale = hP; } else { movInfo.HM.meter._xscale = hP; } if (flame == false) { movInfo.FM.meter._xscale = movInfo.FM.meter._xscale + 100; } } totScore = totScore + objScore; movInfo.score.text = totScore; if (totQty < 200) { totQty = totQty + objQty; } movInfo.SM.meter._xscale = movInfo.SM.meter._xscale + (objQty / 2); movInfo.SM.effect._xscale = movInfo.SM.meter._xscale; } else if ((((Key.getCode() == 65) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) { if (leftBound == true) { keylock = true; gameStage = 4; movLayer.gotoAndPlay(2); } } else if ((Key.getCode() == 77) && (frogDeath == false)) { if (gamePause == false) { gamePause = true; movPause.gotoAndStop(2); cursor._visible = false; Mouse.show(); clearInterval(defecateTimer); if (fOptMusic == true) { musicObject.stop(); } } else { gamePause = false; movPause.gotoAndStop(1); cursor._visible = true; Mouse.hide(); defecateTimer = setInterval(defecation, 1000); if (flame == true) { flameTimer = setInterval(throwFlame, 500); } if (fOptMusic == true) { playMusic(("music" + gameStage) + ".wav"); } } } }; control.onKeyUp = function () { if (Key.getCode() == 65) { keyhold = false; } else if (Key.getCode() == 68) { keyhold = false; } else if (Key.getCode() == 87) { keyhold = false; } else if (((((Key.getCode() == 83) && (keylock == false)) && (frogDeath == false)) && (gamePause == false)) && (keyhold == false)) { freeze = false; frog.gotoAndStop("standby"); } }; Mouse.addListener(control); Key.addListener(control); frog.onEnterFrame = function () { jumpTimer = jumpTimer + c; if (jumpTimer == ((50 * power) + 5)) { keylock = false; c = 0; yMove = 0; xMove = 0; frogXMove = 0; jumpTimer = 0; this.gotoAndPlay(1); } if (jumpTimer == (((50 * power) / 2) + 5)) { yMove = 10; this.gotoAndPlay(this._currentframe + 1); } this._y = this._y + yMove; this._x = this._x + frogXMove; i = 1; while (i <= 5) { eval ("objSpit" + i)._x = eval ("objSpit" + i)._x + xMove; i++; } feces._x = feces._x + xMove; movBg1._x = movBg1._x + xMove; movBg2._x = movBg2._x + (xMove / 8); movBg3._x = movBg3._x + xMove; movBg1.frogPos = movBg1.frogPos - xMove; if (movBg1._x == -50) { stopLeftBg = true; } else if (movBg1._x == -100) { stopLeftBg = false; } if ((this._x == 225) && (movBg1._x == -50)) { stopRightBg = true; } else if ((this._x == 275) && (movBg1._x == -50)) { stopRightBg = false; } if (this._x == 75) { leftBound = true; } else if (this._x == 125) { leftBound = false; } if (movBg1._x == -1150) { stopRightBg = true; } else if (movBg1._x == -1100) { stopRightBg = false; } if ((this._x == 325) && (movBg1._x == -1150)) { stopLeftBg = true; } else if ((this._x == 275) && (movBg1._x == -1150)) { stopLeftBg = false; } if (this._x == 475) { rightBound = true; } else if (this._x == 425) { rightBound = false; } tongue._x = this._x; tongue._y = this._y; cursor._x = _xmouse; cursor._y = _ymouse; if (((hyp <= 200) && (mouthFull == false)) && (freeze == false)) { cursor.gotoAndStop(1); onRange = true; } else { cursor.gotoAndStop(2); onRange = false; } difX = _xmouse - this._x; difY = _ymouse - this._y; xSquared = difX * difX; ySquared = difY * difY; hypSquared = Number(xSquared) + Number(ySquared); hyp = 1; counter = 0; while (Number(counter) < 15) { hyp = hyp - (((hyp * hyp) - hypSquared) / (2 * hyp)); counter++; } if (Number(difY) < 0) { difYMagnitude = difY * -1; } else { difYMagnitude = difY; } sine = difYMagnitude / hyp; part1 = (Math.PI/2); part2Squared = 1 - sine; part2 = 1; counter = 0; while (Number(counter) < 15) { part2 = part2 - (((part2 * part2) - part2Squared) / (2 * part2)); counter = Number(counter) + 1; } part3 = Number(Number(Number(1.5707288) + Number(-0.2121144 * sine)) + Number(0.074261 * (sine * sine))) + Number(-0.0187293 * ((sine * sine) * sine)); arcsine = part1 - (part2 * part3); angle = arcsine / 0.01745329; if ((Number(difX) <= 0) and (Number(difY) > 0)) { rotate = 90 + Number(90 - angle); } else if ((Number(difX) > 0) and (Number(difY) > 0)) { rotate = angle; } else if ((Number(difX) > 0) and (Number(difY) < 0)) { rotate = -angle; } else if ((Number(difX) <= 0) and (Number(difY) < 0)) { rotate = -(90 + Number(90 - angle)); } tongue._rotation = rotate; rotateValue = rotate + 180; if ((rotateValue >= 247.5) && (rotateValue <= 292.5)) { anglePos = 1; } else if ((rotateValue >= 292.5) && (rotateValue <= 337.5)) { anglePos = 2; } else if ((rotateValue >= 337.5) || (rotateValue <= 22.5)) { anglePos = 3; } else if ((rotateValue >= 22.5) && (rotateValue <= 67.5)) { anglePos = 4; } else if ((rotateValue >= 67.5) && (rotateValue <= 112.5)) { anglePos = 5; } else if ((rotateValue >= 112.5) && (rotateValue <= 157.5)) { anglePos = 6; } else if ((rotateValue >= 157.5) && (rotateValue <= 202.5)) { anglePos = 7; } else if ((rotateValue >= 202.5) && (rotateValue <= 247.5)) { anglePos = 8; } }; movInfo.onEnterFrame = function () { if (this.SM.meter._xscale > 100) { this.SM.meter._xscale = 100; } else if (this.SM.meter._xscale < 0) { this.SM.meter._xscale = 0; } if (totQty < 0) { totQty = 0; } else if (totQty < 50) { frog.body.gotoAndStop("body0"); } else if (totQty < 100) { frog.body.gotoAndStop("body1"); } else if (totQty < 150) { frog.body.gotoAndStop("body2"); } else if (totQty < 200) { frog.body.gotoAndStop("body3"); } else if (totQty >= 200) { totQty = 200; this.SM.effect2._visible = true; stomachFull = true; mouthFull = true; } if (objInMouth == false) { mouthFull = false; } if (this.HM.meter._xscale <= 0) { this.HM.meter._xscale = 0; clearInterval(defecateTimer); if (flame == true) { clearInterval(flameTimer); } removeMovieClip(cursor); Mouse.show(); frog.gotoAndStop("death"); frogDeath = true; movPause.gotoAndStop("gameover"); } else if (this.HM.meter._xscale <= 20) { frog.head.bump.gotoAndStop("bump3"); } else if (this.HM.meter._xscale <= 50) { frog.head.bump.gotoAndStop("bump2"); } else if (this.HM.meter._xscale <= 80) { frog.head.bump.gotoAndStop("bump1"); } else if (this.HM.meter._xscale <= 100) { frog.head.bump.gotoAndStop("bump0"); } if (this.FM.meter._xscale >= 100) { flame = true; if (fOptSound == true) { playSound("magicpower.wav"); } this.FM.meter._xscale = 0; this.FM.effect._visible = true; flameTimer = setInterval(throwFlame, 500); } }; Mouse.hide(); stop();
Symbol 34 MovieClip Frame 5
if (_root.fOptSound == true) { _root.playSound("fall.wav"); }
Symbol 34 MovieClip Frame 40
_parent.gotoAndPlay(3);
Symbol 34 MovieClip Frame 65
_parent.gotoAndPlay(3);
Symbol 35 MovieClip [coconut] Frame 1
stop();
Symbol 35 MovieClip [coconut] Frame 4
_parent.startObj5(this); this.hit = false; gotoAndStop (1);
Symbol 35 MovieClip [coconut] Frame 10
_parent.startObj5(this); this.hit = false;
Symbol 38 MovieClip Frame 30
gotoAndPlay (2);
Symbol 39 MovieClip [cursor] Frame 1
stop();
Symbol 59 MovieClip [bee] Frame 1
function changeStat() { GRA = random(2); if (GRA == 1) { alert._visible = true; stat = 1; } else { alert._visible = false; stat = 0; } } stop(); var timerStat; if (stat == 0) { alert._visible = false; } else { alert._visible = true; } timerStat = setInterval(changeStat, 10000);
Symbol 59 MovieClip [bee] Frame 2
if (_root.fOptSound == true) { _root.playSound("bee.wav"); }
Symbol 59 MovieClip [bee] Frame 5
clearInterval(timerStat); stat = 0; if (_root.fOptSound == true) { _root.playSound("hitobject.wav"); }
Symbol 59 MovieClip [bee] Frame 65
gotoAndPlay ("startover");
Symbol 59 MovieClip [bee] Frame 70
clearInterval(timerStat); stat = 0; if (_root.fOptSound == true) { _root.playSound("burn.wav"); }
Symbol 59 MovieClip [bee] Frame 110
this._x = _parent.setXPosition(_parent.frogPos); this._y = random(151) + 100; this.hit = false; this.stayPos = random(551) + 600; this.xTarget = random(551) + 600; this.yTarget = random(151) + 100; this.speed = random(6) + 2;
Symbol 69 MovieClip [fly] Frame 1
stop();
Symbol 69 MovieClip [fly] Frame 5
if (_root.fOptSound == true) { _root.playSound("hitobject.wav"); }
Symbol 69 MovieClip [fly] Frame 65
gotoAndPlay ("startover");
Symbol 69 MovieClip [fly] Frame 70
if (_root.fOptSound == true) { _root.playSound("burn.wav"); }
Symbol 69 MovieClip [fly] Frame 110
this._x = _parent.setXPosition(_parent.frogPos); this._y = random(151) + 100; this.hit = false; this.stayPos = random(551) + 600; this.xTarget = random(551) + 600; this.yTarget = random(151) + 100; this.speed = random(6) + 5;
Symbol 87 MovieClip [dragonfly] Frame 1
stop();
Symbol 87 MovieClip [dragonfly] Frame 5
if (_root.fOptSound == true) { _root.playSound("hitobject.wav"); }
Symbol 87 MovieClip [dragonfly] Frame 65
gotoAndPlay ("startover");
Symbol 87 MovieClip [dragonfly] Frame 70
if (_root.fOptSound == true) { _root.playSound("burn.wav"); }
Symbol 87 MovieClip [dragonfly] Frame 110
this._x = _parent.setXPosition(_parent.frogPos); this._y = random(101) + 50; rnd = random(3) + 1; body.gotoAndStop(rnd); this.frm = 1 + rnd; this.hit = false; this.stayPos = random(551) + 600; this.xTarget = random(551) + 600; this.yTarget = random(101) + 50; this.speed = random(6) + 10;
Symbol 114 MovieClip [butterfly] Frame 1
stop();
Symbol 114 MovieClip [butterfly] Frame 5
wings._visible = false; if (_root.fOptSound == true) { _root.playSound("hitobject.wav"); }
Symbol 114 MovieClip [butterfly] Frame 65
gotoAndPlay ("startover");
Symbol 114 MovieClip [butterfly] Frame 70
wings._visible = false; if (_root.fOptSound == true) { _root.playSound("burn.wav"); }
Symbol 114 MovieClip [butterfly] Frame 110
this._x = _parent.setXPosition(_parent.frogPos); this._y = random(151) + 100; wings.gotoAndStop(random(6) + 1); wings._visible = true; this.hit = false; this.stayPos = random(551) + 600; this.xTarget = random(551) + 600; this.yTarget = random(151) + 100; this.speed = random(6) + 5;
Symbol 120 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 4
if (_root.fOptSound == true) { _root.playSound("hit.wav"); }
Symbol 141 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 1
stop();
Symbol 198 MovieClip [frog] Frame 1
if (_root.fOptSound == true) { if (_root.frogSplash == false) { _root.playSound("down.wav"); } else { _root.playSound("splash.wav"); } } if (_root.frogSplash == true) { movSplash.gotoAndStop("sc1"); } else { movSplash.gotoAndStop("empty"); }
Symbol 198 MovieClip [frog] Frame 2
stop(); if (_root.frogSplash == true) { movSplash.gotoAndStop(_root.frogSplashFrame); } else { movSplash.gotoAndStop("empty"); }
Symbol 198 MovieClip [frog] Frame 11
if (_root.fOptSound == true) { _root.playSound("frog.wav"); } movSplash.gotoAndStop("empty");
Symbol 198 MovieClip [frog] Frame 12
if (_root.frogSplash == true) { movSplash.gotoAndStop("sl"); }
Symbol 198 MovieClip [frog] Frame 13
stop(); movSplash.gotoAndStop("empty");
Symbol 198 MovieClip [frog] Frame 15
stop();
Symbol 198 MovieClip [frog] Frame 16
if (_root.fOptSound == true) { _root.playSound("frog.wav"); } movSplash.gotoAndStop("empty");
Symbol 198 MovieClip [frog] Frame 17
if (_root.frogSplash == true) { movSplash.gotoAndStop("sr"); }
Symbol 198 MovieClip [frog] Frame 18
stop(); movSplash.gotoAndStop("empty");
Symbol 198 MovieClip [frog] Frame 20
stop();
Symbol 198 MovieClip [frog] Frame 21
if (_root.fOptSound == true) { _root.playSound("frog.wav"); } movSplash.gotoAndStop("empty");
Symbol 198 MovieClip [frog] Frame 22
if (_root.frogSplash == true) { movSplash.gotoAndStop("sc2"); }
Symbol 198 MovieClip [frog] Frame 23
stop(); movSplash.gotoAndStop("empty");
Symbol 198 MovieClip [frog] Frame 25
stop();
Symbol 198 MovieClip [frog] Frame 26
if (_root.fOptSound == true) { _root.playSound("freeze.wav"); }
Symbol 198 MovieClip [frog] Frame 33
if (_root.fOptSound == true) { if (_root.flame == false) { _root.playSound("throw.wav"); } else { _root.playSound("fire.wav"); } } if (_root.frogSplash == true) { movSplash.gotoAndStop(_root.frogSplashFrame); } else { movSplash.gotoAndStop("empty"); }
Symbol 198 MovieClip [frog] Frame 34
if (_root.fOptSound == true) { if (_root.flame == false) { _root.playSound("throw.wav"); } else { _root.playSound("fire.wav"); } }
Symbol 198 MovieClip [frog] Frame 35
if (_root.fOptSound == true) { if (_root.flame == false) { _root.playSound("throw.wav"); } else { _root.playSound("fire.wav"); } }
Symbol 198 MovieClip [frog] Frame 36
if (_root.fOptSound == true) { if (_root.flame == false) { _root.playSound("throw.wav"); } else { _root.playSound("fire.wav"); } }
Symbol 198 MovieClip [frog] Frame 37
if (_root.fOptSound == true) { if (_root.flame == false) { _root.playSound("throw.wav"); } else { _root.playSound("fire.wav"); } }
Symbol 198 MovieClip [frog] Frame 38
if (_root.fOptSound == true) { if (_root.flame == false) { _root.playSound("throw.wav"); } else { _root.playSound("fire.wav"); } }
Symbol 198 MovieClip [frog] Frame 39
if (_root.fOptSound == true) { if (_root.flame == false) { _root.playSound("throw.wav"); } else { _root.playSound("fire.wav"); } }
Symbol 198 MovieClip [frog] Frame 40
if (_root.fOptSound == true) { if (_root.flame == false) { _root.playSound("throw.wav"); } else { _root.playSound("fire.wav"); } }
Symbol 198 MovieClip [frog] Frame 45
if (_root.fOptMusic == true) { _root.musicObject.stop(); } if (_root.fOptSound == true) { _root.playSound("gameover.wav"); }
Symbol 198 MovieClip [frog] Frame 48
if (_root.fOptMusic == true) { _root.musicObject.stop(); } if (_root.fOptSound == true) { _root.playSound("gameover.wav"); }
Symbol 214 MovieClip [mosquito] Frame 1
function changeStat() { GRA = random(2); if (GRA == 1) { alert._visible = true; stat = 1; } else { alert._visible = false; stat = 0; } } stop(); var timerStat; timerStat = setInterval(changeStat, 10000);
Symbol 214 MovieClip [mosquito] Frame 2
if (_root.fOptSound == true) { _root.playSound("mosquito.wav"); }
Symbol 214 MovieClip [mosquito] Frame 5
clearInterval(timerStat); if (_root.fOptSound == true) { _root.playSound("hitobject.wav"); }
Symbol 214 MovieClip [mosquito] Frame 65
gotoAndPlay ("startover");
Symbol 214 MovieClip [mosquito] Frame 70
clearInterval(timerStat); if (_root.fOptSound == true) { _root.playSound("burn.wav"); }
Symbol 214 MovieClip [mosquito] Frame 110
this._x = _parent.setXPosition(_parent.frogPos); this._y = random(151) + 100; this.hit = false; this.stayPos = random(551) + 600; this.xTarget = random(551) + 600; this.yTarget = random(151) + 100; this.speed = random(6) + 2;
Symbol 234 MovieClip [ladybug] Frame 1
stop();
Symbol 234 MovieClip [ladybug] Frame 5
wings.gotoAndStop(wings._currentframe + 3); if (_root.fOptSound == true) { _root.playSound("hitobject.wav"); }
Symbol 234 MovieClip [ladybug] Frame 65
gotoAndPlay ("startover");
Symbol 234 MovieClip [ladybug] Frame 66
Symbol 234 MovieClip [ladybug] Frame 70
wings.gotoAndPlay(this.frm + 2); if (_root.fOptSound == true) { _root.playSound("burn.wav"); }
Symbol 234 MovieClip [ladybug] Frame 71
wings._visible = false;
Symbol 234 MovieClip [ladybug] Frame 110
this._x = _parent.setXPosition(_parent.frogPos); this._y = random(151) + 100; rnd = random(3) + 1; wings.gotoAndStop(rnd); this.frm = 8 + rnd; wings._visible = true; this.hit = false; this.stayPos = random(551) + 600; this.xTarget = random(551) + 600; this.yTarget = random(151) + 100; this.speed = random(6) + 1;
Symbol 251 MovieClip [prayingmantis] Frame 1
stop();
Symbol 251 MovieClip [prayingmantis] Frame 5
if (_root.fOptSound == true) { _root.playSound("hitobject.wav"); }
Symbol 251 MovieClip [prayingmantis] Frame 65
gotoAndPlay ("startover");
Symbol 251 MovieClip [prayingmantis] Frame 70
if (_root.fOptSound == true) { _root.playSound("burn.wav"); }
Symbol 251 MovieClip [prayingmantis] Frame 110
this._x = _parent.setXPosition(_parent.frogPos); this._y = random(101) + 50; this.hit = false; this.stayPos = random(551) + 600; this.xTarget = random(551) + 600; this.yTarget = random(101) + 50; this.speed = random(6) + 10;
Symbol 324 MovieClip [crab] Frame 1
stop();
Symbol 324 MovieClip [crab] Frame 2
this.X = 0;
Symbol 324 MovieClip [crab] Frame 3
if (this.stat == 1) { this.X = 3; this._xscale = 100; } else { this.X = -3; this._xscale = -100; } gotoAndStop (1);
Symbol 324 MovieClip [crab] Frame 6
if (_root.fOptSound == true) { _root.playSound("crab.wav"); }
Symbol 324 MovieClip [crab] Frame 10
stop();
Symbol 324 MovieClip [crab] Frame 15
if (_root.fOptSound == true) { _root.playSound("burn.wav"); }
Symbol 324 MovieClip [crab] Frame 40
_parent.startObj3(this); this.hit = false;
Symbol 332 MovieClip [bat] Frame 1
function changeStat() { GRA = random(2); if (GRA == 1) { alert._visible = true; stat = 1; } else { alert._visible = false; stat = 0; } } stop(); var timerStat; if (stat == 0) { alert._visible = false; } else { alert._visible = true; } timerStat = setInterval(changeStat, 10000);
Symbol 332 MovieClip [bat] Frame 2
if (_root.fOptSound == true) { _root.playSound("bat.wav"); }
Symbol 332 MovieClip [bat] Frame 5
clearInterval(timerStat); stat = 0; if (_root.fOptSound == true) { _root.playSound("burn.wav"); }
Symbol 332 MovieClip [bat] Frame 25
this._x = _parent.setXPosition(_parent.frogPos); this._y = random(101) + 50; this.hit = false; this.stayPos = random(551) + 600; this.xTarget = random(551) + 600; this.yTarget = random(101) + 50; this.speed = random(6) + 10;
Symbol 338 MovieClip [mushroom] Frame 1
stop();
Symbol 341 MovieClip Frame 1
stop();
Symbol 342 MovieClip [feces] Frame 1
if (_root.fOptSound == true) { _root.playSound("feces.wav"); }
Symbol 342 MovieClip [feces] Frame 100
removeMovieClip(this);
Symbol 350 MovieClip [cavelocked] Frame 1
stop();
Symbol 353 MovieClip [forestunlocked] Frame 1
stop();
Symbol 355 MovieClip [forestlocked] Frame 1
stop();
Symbol 357 MovieClip [swampunlocked] Frame 1
stop();
Symbol 359 MovieClip [swamplocked] Frame 1
stop();
Symbol 361 MovieClip [parkunlocked2] Frame 1
stop();
Symbol 362 MovieClip [parkunlocked1] Frame 1
stop();
Symbol 366 MovieClip [courtyardlocked] Frame 1
stop();
Symbol 368 MovieClip [beachunlocked] Frame 1
stop();
Symbol 370 MovieClip [beachlocked] Frame 1
stop();
Symbol 392 MovieClip [snake] Frame 1
stop();
Symbol 392 MovieClip [snake] Frame 2
this.X = 0;
Symbol 392 MovieClip [snake] Frame 5
if (this.stat == 1) { this.X = 3; this._xscale = 100; } else { this.X = -3; this._xscale = -100; } gotoAndStop (1);
Symbol 392 MovieClip [snake] Frame 7
if (_root.fOptSound == true) { _root.playSound("snake.wav"); }
Symbol 392 MovieClip [snake] Frame 12
gotoAndStop (1);
Symbol 392 MovieClip [snake] Frame 20
if (_root.fOptSound == true) { _root.playSound("burn.wav"); }
Symbol 392 MovieClip [snake] Frame 40
_parent.startObj3(this); this.hit = false;
Symbol 394 MovieClip [HOP10] Frame 10
stop(); _parent.countHit--; removeMovieClip(this);
Symbol 396 MovieClip [HOP50] Frame 10
stop(); _parent.countHit--; removeMovieClip(this);
Symbol 424 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 1
stop();
Symbol 426 MovieClip [objspit] Frame 1
stop();
Symbol 426 MovieClip [objspit] Frame 4
removeMovieClip(this);
Symbol 435 MovieClip [cricket] Frame 1
stop();
Symbol 435 MovieClip [cricket] Frame 5
stop();
Symbol 435 MovieClip [cricket] Frame 9
if (_root.fOptSound == true) { _root.playSound("hitobject.wav"); }
Symbol 435 MovieClip [cricket] Frame 69
gotoAndPlay ("startover");
Symbol 435 MovieClip [cricket] Frame 74
if (_root.fOptSound == true) { _root.playSound("burn.wav"); }
Symbol 435 MovieClip [cricket] Frame 104
_parent.startObj2(this); this.hit = false; this.fall = false;
Symbol 454 MovieClip Frame 1
stop();
Symbol 456 MovieClip Frame 7
stop();
Symbol 457 MovieClip Frame 7
stop();
Symbol 458 MovieClip Frame 7
stop();
Symbol 460 MovieClip Frame 7
stop();
Symbol 462 MovieClip Frame 7
stop();
Symbol 464 MovieClip Frame 7
stop();
Symbol 465 MovieClip Frame 1
stop();
Symbol 466 MovieClip Frame 1
stop(); _root.objInStomach = false; obj1._visible = false; obj2._visible = false;
Symbol 466 MovieClip Frame 2
obj1.gotoAndStop(_root.frmObjBeEaten); obj1._visible = true; obj2._visible = false;
Symbol 466 MovieClip Frame 3
stop(); _root.objInStomach = true; obj2.gotoAndStop(_root.frmObjBeEaten); scrFr1 = String("fr" + _root.objScore);
Symbol 466 MovieClip Frame 4
obj1._visible = false; obj2._visible = true;
Symbol 466 MovieClip Frame 8
obj2._visible = false; score.gotoAndStop("fr" + _root.objScore);
Symbol 466 MovieClip Frame 14
gotoAndStop (1);
Symbol 466 MovieClip Frame 17
obj1.gotoAndStop(_root.frmObjBeEaten); obj1._visible = false; obj2._visible = true;
Symbol 466 MovieClip Frame 20
obj1._visible = true;
Symbol 466 MovieClip Frame 21
obj2.gotoAndStop(_root.frmObjBeEaten); obj2._visible = false; score.gotoAndStop(scrFr1);
Symbol 466 MovieClip Frame 27
gotoAndStop ("inmouth2");
Symbol 466 MovieClip Frame 30
gotoAndStop (1);
Symbol 472 MovieClip Frame 5
stop(); this._xscale = _root.meter._xscale;
Symbol 487 MovieClip Frame 10
if (_root.fOptSound == true) { _root.playSound("spider.wav"); }
Symbol 487 MovieClip Frame 60
_parent.gotoAndPlay(3);
Symbol 493 MovieClip [spider] Frame 1
stop();
Symbol 493 MovieClip [spider] Frame 4
_parent.startObj5(this); this.hit = false; gotoAndStop (1);
Symbol 493 MovieClip [spider] Frame 5
if (_root.fOptSound == true) { _root.playSound("hitobject.wav"); }
Symbol 493 MovieClip [spider] Frame 65
gotoAndPlay ("startover");
Symbol 493 MovieClip [spider] Frame 70
if (_root.fOptSound == true) { _root.playSound("burn.wav"); }
Symbol 493 MovieClip [spider] Frame 110
_parent.startObj5(this); this.hit = false;
Symbol 509 MovieClip [movbg3] Frame 1
stop();
Symbol 528 MovieClip Frame 1
stop();
Symbol 569 MovieClip Frame 1
stop();
Symbol 571 MovieClip Frame 1
stop();
Symbol 573 MovieClip Frame 1
stop();
Symbol 625 MovieClip Frame 20
gotoAndPlay (1);
Symbol 626 MovieClip [movPause] Frame 1
stop();
Symbol 626 MovieClip [movPause] Frame 2
butRsme._focusrect = false; butRsme.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } }; butRsme.onRelease = function () { _root.gamePause = false; gotoAndStop (1); _root.cursor._visible = true; Mouse.hide(); _root.defecateTimer = setInterval(_root.defecation, 1000); if (_root.flame == true) { _root.flameTimer = setInterval(_root.throwFlame, 500); } if (_root.fOptMusic == true) { _root.playMusic(("music" + _root.gameStage) + ".wav"); } }; butSett._focusrect = false; butSett.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } }; butSett.onRelease = function () { gotoAndStop ("sett"); }; butCtrl._focusrect = false; butCtrl.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } }; butCtrl.onRelease = function () { gotoAndStop ("ctrl"); }; butQuit._focusrect = false; butQuit.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } }; butQuit.onRelease = function () { if (_root.totScore > _root.recScore) { _root.recScore = _root.totScore; } _root.writeData(); _root.frogDeath = true; if (_root.fOptMusic == true) { _root.musicObject.stop(); } if (_root.totScore > 0) { gotoAndPlay ("waitinput"); } else { gotoAndPlay ("waitmenu"); } _root.gotoAndStop("wait"); };
Symbol 626 MovieClip [movPause] Frame 3
optSound.gotoAndStop(Number(_root.fOptSound) + 1); optMusic.gotoAndStop(Number(_root.fOptMusic) + 1); optSound.onPress = function () { if (this._currentframe == 2) { _root.fOptSound = false; } else { _root.fOptSound = true; } this.gotoAndStop(Number(_root.fOptSound) + 1); if (_root.fOptSound == true) { _root.playSound("click.wav"); } _root.writeData(); }; optMusic.onPress = function () { if (this._currentframe == 2) { _root.fOptMusic = false; _root.musicObject.stop(); } else { _root.fOptMusic = true; } this.gotoAndStop(Number(_root.fOptMusic) + 1); if (_root.fOptSound == true) { _root.playSound("click.wav"); } _root.writeData(); }; butBack._focusrect = false; butBack.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } }; butBack.onRelease = function () { gotoAndStop ("pause"); };
Symbol 626 MovieClip [movPause] Frame 4
butPlay._focusrect = false; butPlay.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } }; butPlay.onRelease = function () { if (_root.totScore > _root.recScore) { _root.recScore = _root.totScore; } _root.writeData(); if (_root.fOptMusic == true) { _root.musicObject.stop(); } gotoAndPlay ("waitplay"); _root.gotoAndStop("wait"); }; butSbmt._focusrect = false; if (_root.totScore <= 0) { butSbmt.enabled = false; } else { butSbmt.enabled = true; } butSbmt.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } }; butSbmt.onRelease = function () { if (_root.totScore > _root.recScore) { _root.recScore = _root.totScore; } _root.writeData(); if (_root.fOptMusic == true) { _root.musicObject.stop(); } gotoAndPlay ("waitinput"); _root.gotoAndStop("wait"); }; butMoreGames._focusrect = false; butMoreGames.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } }; butMoreGames.onRelease = function () { getURL ("http://www.funny-games.biz/main.html", "_blank"); };
Symbol 626 MovieClip [movPause] Frame 5
removeMovieClip(_root.frog); removeMovieClip(_root.cursor); removeMovieClip(_root.tongue); removeMovieClip(_root.movBg3); removeMovieClip(_root.movInfo); _root.movBg1.removeObjects(); var i = 1; while (i <= 5) { removeMovieClip(eval ("_root.objSpit" + i)); i++; } removeMovieClip(_root.feces); clearInterval(_root.defecateTimer);
Symbol 626 MovieClip [movPause] Frame 6
stop(); optSound.gotoAndStop(Number(_root.fOptSound) + 1); optMusic.gotoAndStop(Number(_root.fOptMusic) + 1); inst1.gotoAndStop(2); inst2.gotoAndStop(1); inst3.gotoAndStop(1); inst2.onRollOver = function () { this.gotoAndStop(2); }; inst2.onRollOut = function () { this.gotoAndStop(1); }; inst2.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } gotoAndStop ("i2"); }; inst3.onRollOver = function () { this.gotoAndStop(2); }; inst3.onRollOut = function () { this.gotoAndStop(1); }; inst3.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } gotoAndStop ("i3"); }; butSkip.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } gotoAndPlay ("go"); };
Symbol 626 MovieClip [movPause] Frame 7
optSound.gotoAndStop(Number(_root.fOptSound) + 1); optMusic.gotoAndStop(Number(_root.fOptMusic) + 1); inst1.gotoAndStop(1); inst2.gotoAndStop(2); inst3.gotoAndStop(1); inst1.onRollOver = function () { this.gotoAndStop(2); }; inst1.onRollOut = function () { this.gotoAndStop(1); }; inst1.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } gotoAndStop ("i1"); }; inst3.onRollOver = function () { this.gotoAndStop(2); }; inst3.onRollOut = function () { this.gotoAndStop(1); }; inst3.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } gotoAndStop ("i3"); }; butSkip.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } gotoAndPlay ("go"); };
Symbol 626 MovieClip [movPause] Frame 8
optSound.gotoAndStop(Number(_root.fOptSound) + 1); optMusic.gotoAndStop(Number(_root.fOptMusic) + 1); inst1.gotoAndStop(1); inst2.gotoAndStop(1); inst3.gotoAndStop(2); inst1.onRollOver = function () { this.gotoAndStop(2); }; inst1.onRollOut = function () { this.gotoAndStop(1); }; inst1.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } gotoAndStop ("i1"); }; inst2.onRollOver = function () { this.gotoAndStop(2); }; inst2.onRollOut = function () { this.gotoAndStop(1); }; inst2.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } gotoAndStop ("i2"); }; butSkip.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } gotoAndPlay ("go"); };
Symbol 626 MovieClip [movPause] Frame 24
_root.gotoAndStop("play"); gotoAndStop (1);
Symbol 626 MovieClip [movPause] Frame 25
removeMovieClip(_root.frog); removeMovieClip(_root.cursor); removeMovieClip(_root.tongue); removeMovieClip(_root.movBg3); removeMovieClip(_root.movInfo); _root.movBg1.removeObjects(); var i = 1; while (i <= 5) { removeMovieClip(eval ("_root.objSpit" + i)); i++; } removeMovieClip(_root.feces); clearInterval(_root.defecateTimer);
Symbol 626 MovieClip [movPause] Frame 39
_root.gotoAndStop("menu"); if (_root.fOptMusic == true) { _root.playMusic("music0.wav"); } gotoAndStop (1);
Symbol 626 MovieClip [movPause] Frame 40
removeMovieClip(_root.frog); removeMovieClip(_root.cursor); removeMovieClip(_root.tongue); removeMovieClip(_root.movBg3); removeMovieClip(_root.movInfo); _root.movBg1.removeObjects(); var i = 1; while (i <= 5) { removeMovieClip(eval ("_root.objSpit" + i)); i++; } removeMovieClip(_root.feces); clearInterval(_root.defecateTimer);
Symbol 626 MovieClip [movPause] Frame 55
_root.gotoAndStop("inputname"); if (_root.fOptMusic == true) { _root.playMusic("music0.wav"); } gotoAndStop (1);
Symbol 662 MovieClip Frame 87
stop();
Symbol 666 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { setProperty(bar, _xscale , PercentLoaded); } else { gotoAndStop ("loaded"); }
Symbol 666 MovieClip Frame 2
gotoAndPlay (1);
Symbol 666 MovieClip Frame 3
_root.play();
Symbol 669 MovieClip Frame 20
gotoAndPlay (2);
Symbol 671 Button
on (release) { gotoAndPlay ("loadvar"); }
Symbol 680 MovieClip Frame 1
var totalSize; var downloadSize; var percent; totalSize = Math.round(_root.getBytesTotal() / 1024); movLoader.onEnterFrame = function () { percent = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); this.info_percent.text = ("loading " + percent) + " %"; this.bar._xscale = percent; downloadSize = Math.round(_root.getBytesLoaded() / 1024); if (downloadSize == totalSize) { _root.gotoAndPlay("loadvar"); } };
Symbol 736 MovieClip Frame 1
stop(); butBackToMenu._focusrect = false; butBackToMenu.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } }; butBackToMenu.onRelease = function () { _root.gotoAndStop("menu"); }; butPrev.onRelease = function () { }; butNext._focusrect = false; butNext.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } }; butNext.onRelease = function () { nextFrame(); }; butNext.enabled = true; butPrev.enabled = false; butPrev._alpha = 50;
Symbol 736 MovieClip Frame 2
butBackToMenu._focusrect = false; butBackToMenu.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } }; butBackToMenu.onRelease = function () { _root.gotoAndStop("menu"); }; butPrev._focusrect = false; butPrev.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } }; butPrev.onRelease = function () { prevFrame(); }; butNext._focusrect = false; butNext.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } }; butNext.onRelease = function () { nextFrame(); }; butPrev.enabled = true; butPrev._alpha = 100;
Symbol 736 MovieClip Frame 3
butBackToMenu._focusrect = false; butBackToMenu.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } }; butBackToMenu.onRelease = function () { _root.gotoAndStop("menu"); }; butPrev._focusrect = false; butPrev.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } }; butPrev.onRelease = function () { prevFrame(); }; butNext._focusrect = false; butNext.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } }; butNext.onRelease = function () { nextFrame(); this.enabled = false; }; butNext.enabled = true; butNext._alpha = 100;
Symbol 736 MovieClip Frame 4
butBackToMenu._focusrect = false; butBackToMenu.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } }; butBackToMenu.onRelease = function () { _root.gotoAndStop("menu"); }; butPrev._focusrect = false; butPrev.onPress = function () { if (_root.fOptSound == true) { _root.playSound("click.wav"); } }; butPrev.onRelease = function () { prevFrame(); }; butNext.onRelease = function () { }; butNext.enabled = false; butNext._alpha = 50;
Symbol 748 MovieClip Frame 1
function createObjects() { var i = 0; while (i < nDF) { attachMovie("dragonfly", "dragonfly" + i, 100 + i); rnd = random(3) + 1; eval ("dragonfly" + i).body.gotoAndStop(rnd); eval ("dragonfly" + i).frm = 1 + rnd; eval ("dragonfly" + i).scr = 100; eval ("dragonfly" + i).qty = 10; eval ("dragonfly" + i).hit = false; startObj(eval ("dragonfly" + i), 101, 50, 10); runObj(eval ("dragonfly" + i), 101, 50, 10, "dragonfly"); i++; } var i = 0; while (i < nBF) { attachMovie("butterfly", "butterfly" + i, 200 + i); eval ("butterfly" + i).wings.gotoAndStop(random(6) + 1); eval ("butterfly" + i).frm = 5; eval ("butterfly" + i).scr = 50; eval ("butterfly" + i).qty = 10; eval ("butterfly" + i).hit = false; startObj(eval ("butterfly" + i), 151, 100, 5); runObj(eval ("butterfly" + i), 151, 100, 5, "butterfly"); i++; } var i = 0; while (i < nBe) { attachMovie("bee", "bee" + i, 300 + i); eval ("bee" + i).frm = 8; eval ("bee" + i).scr = -10; eval ("bee" + i).qty = 5; eval ("bee" + i).hit = false; startObj(eval ("bee" + i), 151, 100, 2); runObj(eval ("bee" + i), 151, 100, 2, "bee"); i++; } var i = 0; while (i < nLB) { attachMovie("ladybug", "ladybug" + i, 400 + i); rnd = random(3) + 1; eval ("ladybug" + i).wings.gotoAndStop(rnd); eval ("ladybug" + i).frm = 8 + rnd; eval ("ladybug" + i).scr = -10; eval ("ladybug" + i).qty = 5; eval ("ladybug" + i).hit = false; startObj(eval ("ladybug" + i), 151, 100, 1); runObj(eval ("ladybug" + i), 151, 100, 1, "ladybug"); i++; } var i = 0; while (i < nPM) { attachMovie("prayingmantis", "prayingmantis" + i, 500 + i); eval ("prayingmantis" + i).frm = 1; eval ("prayingmantis" + i).scr = 150; eval ("prayingmantis" + i).qty = 10; eval ("prayingmantis" + i).hit = false; startObj(eval ("prayingmantis" + i), 101, 50, 10); runObj(eval ("prayingmantis" + i), 101, 50, 10, "prayingmantis"); i++; } var i = 0; while (i < nMo) { attachMovie("mosquito", "mosquito" + i, 600 + i); eval ("mosquito" + i).frm = 7; eval ("mosquito" + i).scr = 10; eval ("mosquito" + i).qty = 5; eval ("mosquito" + i).hit = false; startObj(eval ("mosquito" + i), 151, 100, 2); runObj(eval ("mosquito" + i), 151, 100, 2, "mosquito"); i++; } var i = 0; while (i < nMR) { attachMovie("mushroom", "mushroom" + i, 700 + i); eval ("mushroom" + i).frm = 13; eval ("mushroom" + i).scr = 10; eval ("mushroom" + i).qty = 5; eval ("mushroom" + i)._x = (CMR[i] * 50) + 200; eval ("mushroom" + i)._y = random(5) + 340; runObj4(eval ("mushroom" + i)); i++; } var i = 0; while (i < nCr) { attachMovie("cricket", "cricket" + i, 800 + i); eval ("cricket" + i).frm = 16; eval ("cricket" + i).scr = 100; eval ("cricket" + i).qty = 10; eval ("cricket" + i).hit = false; startObj2(eval ("cricket" + i)); runObj2(eval ("cricket" + i)); i++; } var i = 0; while (i < nSn) { attachMovie("snake", "snake", 900 + i); snake.scr = 100; snake.hit = false; snake.alert._visible = false; startObj3(snake); runObj3(snake); i++; } attachMovie("beachlocked", "stageInfo1", 911); attachMovie("swamplocked", "stageInfo2", 912); stageInfo1._x = 80; stageInfo1._y = 320; stageInfo2._x = 1670; stageInfo2._y = 320; if (_root.totScore > _root.recScore) { _root.recScore = _root.totScore; } if (_root.recScore >= _root.scrTarget1) { stageInfo1.gotoAndStop(3); _root.stageOpen1 = true; } else { _root.stageOpen1 = false; } if (_root.recScore >= _root.scrTarget2) { stageInfo2.gotoAndStop(3); _root.stageOpen2 = true; } else { _root.stageOpen2 = false; } } function removeObjects() { var i = 0; while (i < nDF) { removeMovieClip(eval ("dragonfly" + i)); i++; } var i = 0; while (i < nBF) { removeMovieClip(eval ("butterfly" + i)); i++; } var i = 0; while (i < nBe) { removeMovieClip(eval ("bee" + i)); i++; } var i = 0; while (i < nLB) { removeMovieClip(eval ("ladybug" + i)); i++; } var i = 0; while (i < nPM) { removeMovieClip(eval ("prayingmantis" + i)); i++; } var i = 0; while (i < nMo) { removeMovieClip(eval ("mosquito" + i)); i++; } var i = 0; while (i < nMR) { removeMovieClip(eval ("mushroom" + i)); i++; } var i = 0; while (i < nCr) { removeMovieClip(eval ("cricket" + i)); i++; } var i = 0; while (i < nSn) { removeMovieClip(snake); i++; } removeMovieClip(stageInfo1); removeMovieClip(stageInfo2); } function setXPosition(area) { var _local1; if (area <= 575) { _local1 = random(551) + 1700; objElsePos = true; } else if ((area > 575) && (area < 1175)) { if (random(2) == 1) { _local1 = random(551) + -500; objElsePos = false; } else { _local1 = random(551) + 1700; objElsePos = true; } } else if (area >= 1175) { _local1 = random(551) + -500; objElsePos = false; } return(_local1); } function startObj(obj, downLim, upLim, spRange) { obj._x = setXPosition(frogPos); obj._y = random(downLim) + upLim; obj.stayPos = random(551) + 600; obj.xTarget = random(551) + 600; obj.yTarget = random(downLim) + upLim; obj.speed = random(6) + spRange; } function runObj(obj, downLim, upLim, spRange, type) { obj.attack = false; obj.stat = 0; obj.onEnterFrame = function () { if (_root.gamePause == false) { if ((((this._x >= (this.xTarget - 15)) && (this._x <= (this.xTarget + 15))) && ((this._y >= (this.yTarget - 15)) && (this._y <= (this.yTarget + 15)))) && (this.hit == false)) { if ((type == "bee") || (type == "mosquito")) { this.gotoAndStop(1); this.attack = false; } this.speed = random(6) + spRange; this.GR = random(10); if (this.GR == 0) { this.stayPos = random(551) + -500; this.xTarget = random(551) + -500; this.yTarget = random(downLim) + upLim; } else if (this.GR == 1) { this.stayPos = random(551) + 50; this.xTarget = random(551) + 50; this.yTarget = random(downLim) + upLim; } else if (this.GR == 3) { this.stayPos = random(551) + 600; this.xTarget = random(551) + 600; this.yTarget = random(downLim) + upLim; } else if (this.GR == 4) { this.stayPos = random(551) + 1150; this.xTarget = random(551) + 1150; this.yTarget = random(downLim) + upLim; } else if (this.GR == 5) { this.stayPos = random(551) + 1700; this.xTarget = random(551) + 1700; this.yTarget = random(downLim) + upLim; } else { this.xTarget = this.stayPos; this.yTarget = random(downLim) + upLim; } } if ((((((this._x >= (frogPos - 50)) && (this._x <= (frogPos + 50))) && ((type == "bee") || (type == "mosquito"))) && (this.stat == 1)) && (this.attack == false)) && (_root.frogDeath == false)) { this.stat = 0; clearInterval(this.timerStat); this.attack = true; this.gotoAndStop(2); this.speed = 10; this.xTarget = frogPos; this.yTarget = 330; } if (this.sting.hitTest(_root.frog.hitPoint) && (_root.frogHit == false)) { if ((type == "bee") || (type == "mosquito")) { this.stat = 0; this.gotoAndStop(1); this.xTarget = random(551) + 600; this.yTarget = random(downLim) + upLim; _root.hP = _root.hP + -10; _root.movInfo.HM.effect._xscale = _root.movInfo.HM.meter._xscale; _root.movInfo.HM.meter._xscale = _root.hP; _root.movInfo.HM.effect.play(); _root.frogHit = true; _root.objInMouth = false; _root.movInfo.frogStat.gotoAndStop(1); _root.frog.eyes.gotoAndStop("hit"); _root.frog.head.gotoAndStop("hit"); _root.timerBack = setInterval(_root.back, 250); } } if (this.hitPoint.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } this.gotoAndPlay("startover"); } } i = 1; while (i <= 5) { if ((this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (this.hit == false)) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); this.xTarget = this._x; this.yTarget = 340; this.speed = 10; this.stat = 0; } else if ((this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (this.hit == false)) && (_root.flame == false)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; this.gotoAndPlay("hit"); this.xTarget = this._x; this.yTarget = 340; this.speed = 10; this.stat = 0; } i++; } if (this.xTarget < this._x) { this._xscale = 100; } else if (this.xTarget > this._x) { this._xscale = -100; } this.deltaX = this._x - this.xTarget; this.deltaY = this._y - this.yTarget; this.rotation = (-Math.atan2(this.deltaX, this.deltaY)) / (Math.PI/180); if (Math.sqrt((this.deltaX * this.deltaX) + (this.deltaY * this.deltaY)) > this.speed) { this._y = this._y - (this.speed * Math.cos(this.rotation * (Math.PI/180))); this._x = this._x + (this.speed * Math.sin(this.rotation * (Math.PI/180))); } } }; } function startObj2(obj) { obj._x = setXPosition(frogPos); obj._y = 310; obj.difY = -15; if ((obj._x >= -500) && (obj._x <= 50)) { obj.difX = 15; obj._xscale = -100; } else if ((obj._x >= 1700) && (obj._x <= 2250)) { obj.difX = -15; obj._xscale = 100; } obj.vx = ((Math.cos(Math.atan2(obj.difY, obj.difX)) * vo) * 1.5) / vo; } function runObj2(obj) { gravity = 0.5; vo = random(5) + 5; obj.fall = false; obj.vx = ((Math.cos(Math.atan2(obj.difY, obj.difX)) * vo) * 1.5) / vo; obj.vy = ((Math.sin(Math.atan2(obj.difY, obj.difX)) * vo) * 1.5) / vo; obj.onEnterFrame = function () { if ((_root.gamePause == false) && (this.fall == false)) { this.vy = this.vy + (gravity / vo); i = 0; while (i < 16) { this._x = this._x + this.vx; this._y = this._y + this.vy; if ((this._y > 340) && (this.hit == false)) { GR = random(3); if (GR == 1) { this.difX = this.difX * -1; this._xscale = this._xscale * -1; } vo = random(5) + 5; this.vx = ((Math.cos(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; this.vy = ((Math.sin(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; this.gotoAndPlay(2); } else if ((this._y > 340) && (this.hit == true)) { this.fall = true; } i++; } if ((this._x < -550) || (this._x > 2250)) { this.difY = -15; this.difX = this.difX * -1; this._xscale = this._xscale * -1; vo = random(5) + 5; this.vx = ((Math.cos(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; this.vy = ((Math.sin(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; } i = 1; while (i <= 5) { if (this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); this.vx = 0; this.vy = 0.5; } else if (this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (_root.flame == false)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; this.gotoAndPlay("hit"); this.vx = 0; this.vy = 0.5; } i++; } } if (this.hitPoint.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } this.gotoAndPlay("startover"); } } }; } function startObj3(obj) { obj._x = setXPosition(frogPos); obj._y = 310; obj.attack = false; if ((obj._x >= -500) && (obj._x <= 50)) { obj.stat = 1; obj.X = 3; obj._xscale = 100; } else if ((obj._x >= 1700) && (obj._x <= 2250)) { obj.stat = 0; obj.X = -3; obj._xscale = -100; } } function runObj3(obj) { obj.onEnterFrame = function () { if (_root.gamePause == false) { if (((((((this._x >= frogPos) && (this._x <= (frogPos + 100))) && (_root.freeze == false)) && (this.attack == false)) && (this.stat == 1)) && (this.hit == false)) && (_root.frogDeath == false)) { this.gotoAndPlay("turn"); this.stat = 0; } else if (((((((this._x >= (frogPos - 100)) && (this._x <= frogPos)) && (_root.freeze == false)) && (this.attack == false)) && (obj.stat == 0)) && (this.hit == false)) && (_root.frogDeath == false)) { this.gotoAndPlay("turn"); this.stat = 1; } else if ((((((this._x >= (frogPos - 10)) && (this._x <= (frogPos + 10))) && (_root.freeze == false)) && (this.attack == false)) && (this.hit == false)) && (_root.frogDeath == false)) { if (this.stat == 1) { this.X = 5; this._xscale = 100; } else { this.X = -5; this._xscale = -100; } this.gotoAndPlay("attack"); this.attack = true; } if (((((this._x >= (frogPos - 100)) && (this._x <= (frogPos + 100))) && (this.attack == false)) && (this.hit == false)) && (_root.frogDeath == false)) { this.alert._visible = true; } else { this.alert._visible = false; } if (this.weapon.hitTest(_root.frog) && (_root.frogHit == false)) { _root.hP = _root.hP + -10; _root.movInfo.HM.effect._xscale = _root.movInfo.HM.meter._xscale; _root.movInfo.HM.meter._xscale = _root.hP; _root.movInfo.HM.effect.play(); _root.frogHit = true; _root.objInMouth = false; _root.movInfo.frogStat.gotoAndStop(1); _root.frog.eyes.gotoAndStop("hit"); _root.frog.head.gotoAndStop("hit"); _root.timerBack = setInterval(_root.back, 250); } i = 1; while (i <= 5) { if (this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 50; _root.movInfo.score.text = _root.totScore; attachMovie("HOP50", "HOP50" + countHit, 950 + countHit); eval ("HOP50" + countHit)._x = this._x; eval ("HOP50" + countHit)._y = this._y - 10; this.X = 0; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); } i++; } if ((this._x <= -150) || (this._x >= 1800)) { startObj3(this); } this._x = this._x + this.X; } }; } function runObj4(obj) { obj.onEnterFrame = function () { if (this.hitPoint.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } removeMovieClip(this); } } }; } var frogPos = 875; var rnd; var count = 0; var objElsePos; var countHit = 0; var nCr; var nPM; var nDF; var nBF; var nBe; var nLB; var nMo; var nSn; var nMR; if (_root.gameLevel == 1) { nCr = 0; nPM = 0; nDF = 2; nBF = 3; nBe = 6; nLB = 2; nMo = 0; nSn = 0; nMR = 5; } else if (_root.gameLevel == 2) { nCr = 0; nPM = 1; nDF = 3; nBF = 4; nBe = 5; nLB = 2; nMo = 0; nSn = 1; nMR = 4; } else if (_root.gameLevel == 3) { nCr = 1; nPM = 1; nDF = 3; nBF = 3; nBe = 6; nLB = 2; nMo = 0; nSn = 1; nMR = 4; } else if (_root.gameLevel == 4) { nCr = 1; nPM = 1; nDF = 3; nBF = 3; nBe = 6; nLB = 1; nMo = 3; nSn = 1; nMR = 3; } else if (_root.gameLevel == 5) { nCr = 2; nPM = 1; nDF = 2; nBF = 3; nBe = 6; nLB = 1; nMo = 4; nSn = 1; nMR = 3; } else { nCr = 2; nPM = 1; nDF = 2; nBF = 3; nBe = 7; nLB = 1; nMo = 5; nSn = 1; nMR = 2; } var CMR = new Array(); CMR[0] = random(28); i = 1; while (i < nMR) { do { cntCMR = 0; CMR[i] = random(28); j = 0; while (j < i) { if (CMR[i] != CMR[j]) { cntCMR = cntCMR + 1; } j++; } } while (cntCMR != i); i++; } createObjects(); stop();
Symbol 749 MovieClip Frame 1
stop();
Symbol 749 MovieClip Frame 2
if (_root.fOptSound == true) { _root.playSound("enterstage.wav"); } _root.movBg1.removeObjects(); var i = 1; while (i <= 5) { removeMovieClip(eval ("_root.objSpit" + i)); i++; } removeMovieClip(_root.feces); clearInterval(_root.defecateTimer);
Symbol 749 MovieClip Frame 5
if (_root.fOptMusic == true) { _root.musicObject.stop(); } _root.gotoAndStop("stage" + _root.gameStage); _root.movBg3.gotoAndStop(_root.gameStage); _root.frog._visible = false; _root.movBg3._visible = false;
Symbol 749 MovieClip Frame 10
if (_root.fOptMusic == true) { _root.playMusic(("music" + _root.gameStage) + ".wav"); } _root.keylock = false; _root.frog._visible = true; _root.movBg3._visible = true; if (_root.rightBound == true) { _root.rightBound = false; _root.movBg1.frogPos = 125; _root.movBg1._x = -50; _root.movBg2._x = -28.5; _root.movBg3._x = -50; _root.frog._x = 75; } else if (_root.leftBound == true) { _root.leftBound = false; _root.movBg1.frogPos = 1625; _root.movBg1._x = -1150; _root.movBg2._x = -166; _root.movBg3._x = -1150; _root.frog._x = 475; } else { _root.movBg1.frogPos = 875; _root.movBg1._x = -600; _root.movBg2._x = -100; _root.movBg3._x = -600; _root.frog._x = 275; }
Symbol 756 MovieClip Frame 1
function createObjects() { var i = 0; while (i < nDF) { attachMovie("dragonfly", "dragonfly" + i, 100 + i); rnd = random(3) + 1; eval ("dragonfly" + i).body.gotoAndStop(rnd); eval ("dragonfly" + i).frm = 1 + rnd; eval ("dragonfly" + i).scr = 100; eval ("dragonfly" + i).qty = 10; eval ("dragonfly" + i).hit = false; startObj(eval ("dragonfly" + i), 101, 50, 10); runObj(eval ("dragonfly" + i), 101, 50, 10, "dragonfly"); i++; } var i = 0; while (i < nBF) { attachMovie("butterfly", "butterfly" + i, 200 + i); eval ("butterfly" + i).wings.gotoAndStop(random(6) + 1); eval ("butterfly" + i).frm = 5; eval ("butterfly" + i).scr = 50; eval ("butterfly" + i).qty = 10; eval ("butterfly" + i).hit = false; startObj(eval ("butterfly" + i), 151, 100, 5); runObj(eval ("butterfly" + i), 151, 100, 5, "butterfly"); i++; } var i = 0; while (i < nBe) { attachMovie("bee", "bee" + i, 300 + i); eval ("bee" + i).frm = 8; eval ("bee" + i).scr = -10; eval ("bee" + i).qty = 5; eval ("bee" + i).hit = false; startObj(eval ("bee" + i), 151, 100, 2); runObj(eval ("bee" + i), 151, 100, 2, "bee"); i++; } var i = 0; while (i < nLB) { attachMovie("ladybug", "ladybug" + i, 400 + i); rnd = random(3) + 1; eval ("ladybug" + i).wings.gotoAndStop(rnd); eval ("ladybug" + i).frm = 8 + rnd; eval ("ladybug" + i).scr = -10; eval ("ladybug" + i).qty = 5; eval ("ladybug" + i).hit = false; startObj(eval ("ladybug" + i), 151, 100, 1); runObj(eval ("ladybug" + i), 151, 100, 1, "ladybug"); i++; } var i = 0; while (i < nPM) { attachMovie("prayingmantis", "prayingmantis" + i, 500 + i); eval ("prayingmantis" + i).frm = 1; eval ("prayingmantis" + i).scr = 150; eval ("prayingmantis" + i).qty = 10; eval ("prayingmantis" + i).hit = false; startObj(eval ("prayingmantis" + i), 101, 50, 10); runObj(eval ("prayingmantis" + i), 101, 50, 10, "prayingmantis"); i++; } var i = 0; while (i < nMo) { attachMovie("mosquito", "mosquito" + i, 600 + i); eval ("mosquito" + i).frm = 7; eval ("mosquito" + i).scr = 10; eval ("mosquito" + i).qty = 5; eval ("mosquito" + i).hit = false; startObj(eval ("mosquito" + i), 151, 100, 2); runObj(eval ("mosquito" + i), 151, 100, 2, "mosquito"); i++; } var i = 0; while (i < nCr) { attachMovie("cricket", "cricket" + i, 800 + i); eval ("cricket" + i).frm = 16; eval ("cricket" + i).scr = 100; eval ("cricket" + i).qty = 10; eval ("cricket" + i).hit = false; startObj2(eval ("cricket" + i)); runObj2(eval ("cricket" + i)); i++; } var i = 0; while (i < nCo) { attachMovie("coconut", "coconut" + i, 850 + i); eval ("coconut" + i).frm = 12; eval ("coconut" + i).scr = -10; eval ("coconut" + i).qty = 10; eval ("coconut" + i).hit = false; eval ("coconut" + i)._x = (CCo[i] * 50) + 225; eval ("coconut" + i)._y = -20; if (random(2) == 1) { eval ("coconut" + i)._xscale = 100; } else { eval ("coconut" + i)._xscale = -100; } runObj5(eval ("coconut" + i)); i++; } var i = 0; while (i < nCb) { attachMovie("crab", "crab", 900 + i); crab.scr = 100; crab.hit = false; crab.alert._visible = false; startObj3(crab); runObj3(crab); i++; } attachMovie("courtyardlocked", "stageInfo1", 911); attachMovie("parkunlocked1", "stageInfo2", 912); stageInfo1._x = 80; stageInfo1._y = 320; stageInfo2._x = 1670; stageInfo2._y = 320; if (_root.totScore > _root.recScore) { _root.recScore = _root.totScore; } if (_root.recScore >= _root.scrTarget5) { stageInfo1.gotoAndStop(3); _root.stageOpen1 = true; } else { _root.stageOpen1 = false; } } function removeObjects() { var i = 0; while (i < nDF) { removeMovieClip(eval ("dragonfly" + i)); i++; } var i = 0; while (i < nBF) { removeMovieClip(eval ("butterfly" + i)); i++; } var i = 0; while (i < nBe) { removeMovieClip(eval ("bee" + i)); i++; } var i = 0; while (i < nLB) { removeMovieClip(eval ("ladybug" + i)); i++; } var i = 0; while (i < nPM) { removeMovieClip(eval ("prayingmantis" + i)); i++; } var i = 0; while (i < nMo) { removeMovieClip(eval ("mosquito" + i)); i++; } var i = 0; while (i < nCr) { removeMovieClip(eval ("cricket" + i)); i++; } var i = 0; while (i < nCo) { removeMovieClip(eval ("coconut" + i)); i++; } var i = 0; while (i < nCb) { removeMovieClip(crab); i++; } removeMovieClip(stageInfo1); removeMovieClip(stageInfo2); } function setXPosition(area) { var _local1; if (area <= 575) { _local1 = random(551) + 1700; objElsePos = true; } else if ((area > 575) && (area < 1175)) { if (random(2) == 1) { _local1 = random(551) + -500; objElsePos = false; } else { _local1 = random(551) + 1700; objElsePos = true; } } else if (area >= 1175) { _local1 = random(551) + -500; objElsePos = false; } return(_local1); } function startObj(obj, downLim, upLim, spRange) { obj._x = setXPosition(frogPos); obj._y = random(downLim) + upLim; obj.stayPos = random(551) + 600; obj.xTarget = random(551) + 600; obj.yTarget = random(downLim) + upLim; obj.speed = random(6) + spRange; } function runObj(obj, downLim, upLim, spRange, type) { obj.attack = false; obj.stat = 0; obj.onEnterFrame = function () { if (_root.gamePause == false) { if ((((this._x >= (this.xTarget - 15)) && (this._x <= (this.xTarget + 15))) && ((this._y >= (this.yTarget - 15)) && (this._y <= (this.yTarget + 15)))) && (this.hit == false)) { if ((type == "bee") || (type == "mosquito")) { this.gotoAndStop(1); this.attack = false; } this.speed = random(6) + spRange; this.GR = random(10); if (this.GR == 0) { this.stayPos = random(551) + -500; this.xTarget = random(551) + -500; this.yTarget = random(downLim) + upLim; } else if (this.GR == 1) { this.stayPos = random(551) + 50; this.xTarget = random(551) + 50; this.yTarget = random(downLim) + upLim; } else if (this.GR == 3) { this.stayPos = random(551) + 600; this.xTarget = random(551) + 600; this.yTarget = random(downLim) + upLim; } else if (this.GR == 4) { this.stayPos = random(551) + 1150; this.xTarget = random(551) + 1150; this.yTarget = random(downLim) + upLim; } else if (this.GR == 5) { this.stayPos = random(551) + 1700; this.xTarget = random(551) + 1700; this.yTarget = random(downLim) + upLim; } else { this.xTarget = this.stayPos; this.yTarget = random(downLim) + upLim; } } if ((((((this._x >= (frogPos - 50)) && (this._x <= (frogPos + 50))) && ((type == "bee") || (type == "mosquito"))) && (this.stat == 1)) && (this.attack == false)) && (_root.frogDeath == false)) { this.stat = 0; clearInterval(this.timerStat); this.attack = true; this.gotoAndStop(2); this.speed = 10; this.xTarget = frogPos; this.yTarget = 330; } if (this.sting.hitTest(_root.frog.hitPoint) && (_root.frogHit == false)) { if ((type == "bee") || (type == "mosquito")) { this.stat = 0; this.gotoAndStop(1); this.xTarget = random(551) + 600; this.yTarget = random(downLim) + upLim; _root.hP = _root.hP + -10; _root.movInfo.HM.effect._xscale = _root.movInfo.HM.meter._xscale; _root.movInfo.HM.meter._xscale = _root.hP; _root.movInfo.HM.effect.play(); _root.frogHit = true; _root.objInMouth = false; _root.movInfo.frogStat.gotoAndStop(1); _root.frog.eyes.gotoAndStop("hit"); _root.frog.head.gotoAndStop("hit"); _root.timerBack = setInterval(_root.back, 250); } } if (this.hitPoint.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } this.gotoAndPlay("startover"); } } i = 1; while (i <= 5) { if ((this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (this.hit == false)) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); this.xTarget = this._x; this.yTarget = 340; this.speed = 10; this.stat = 0; } else if ((this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (this.hit == false)) && (_root.flame == false)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; this.gotoAndPlay("hit"); this.xTarget = this._x; this.yTarget = 340; this.speed = 10; this.stat = 0; } i++; } if (this.xTarget < this._x) { this._xscale = 100; } else if (this.xTarget > this._x) { this._xscale = -100; } this.deltaX = this._x - this.xTarget; this.deltaY = this._y - this.yTarget; this.rotation = (-Math.atan2(this.deltaX, this.deltaY)) / (Math.PI/180); if (Math.sqrt((this.deltaX * this.deltaX) + (this.deltaY * this.deltaY)) > this.speed) { this._y = this._y - (this.speed * Math.cos(this.rotation * (Math.PI/180))); this._x = this._x + (this.speed * Math.sin(this.rotation * (Math.PI/180))); } } }; } function startObj2(obj) { obj._x = setXPosition(frogPos); obj._y = 310; obj.difY = -15; if ((obj._x >= -500) && (obj._x <= 50)) { obj.difX = 15; obj._xscale = -100; } else if ((obj._x >= 1700) && (obj._x <= 2250)) { obj.difX = -15; obj._xscale = 100; } obj.vx = ((Math.cos(Math.atan2(obj.difY, obj.difX)) * vo) * 1.5) / vo; } function runObj2(obj) { gravity = 0.5; vo = random(5) + 5; obj.fall = false; obj.vx = ((Math.cos(Math.atan2(obj.difY, obj.difX)) * vo) * 1.5) / vo; obj.vy = ((Math.sin(Math.atan2(obj.difY, obj.difX)) * vo) * 1.5) / vo; obj.onEnterFrame = function () { if ((_root.gamePause == false) && (this.fall == false)) { this.vy = this.vy + (gravity / vo); i = 0; while (i < 16) { this._x = this._x + this.vx; this._y = this._y + this.vy; if ((this._y > 340) && (this.hit == false)) { GR = random(3); if (GR == 1) { this.difX = this.difX * -1; this._xscale = this._xscale * -1; } vo = random(5) + 5; this.vx = ((Math.cos(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; this.vy = ((Math.sin(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; this.gotoAndPlay(2); } else if ((this._y > 340) && (this.hit == true)) { this.fall = true; } i++; } if ((this._x < -550) || (this._x > 2250)) { this.difY = -15; this.difX = this.difX * -1; this._xscale = this._xscale * -1; vo = random(5) + 5; this.vx = ((Math.cos(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; this.vy = ((Math.sin(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; } i = 1; while (i <= 5) { if (this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); this.vx = 0; this.vy = 0.5; } else if (this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (_root.flame == false)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; this.gotoAndPlay("hit"); this.vx = 0; this.vy = 0.5; } i++; } } if (this.hitPoint.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } this.gotoAndPlay("startover"); } } }; } function startObj3(obj) { obj._x = setXPosition(frogPos); obj._y = 310; obj.attack = false; if ((obj._x >= -500) && (obj._x <= 50)) { obj.stat = 1; obj.X = 3; obj._xscale = 100; } else if ((obj._x >= 1700) && (obj._x <= 2250)) { obj.stat = 0; obj.X = -3; obj._xscale = -100; } } function runObj3(obj) { obj.onEnterFrame = function () { if (_root.gamePause == false) { if (((((((this._x >= frogPos) && (this._x <= (frogPos + 100))) && (_root.freeze == false)) && (this.attack == false)) && (this.stat == 1)) && (this.hit == false)) && (_root.frogDeath == false)) { this.gotoAndPlay("turn"); this.stat = 0; } else if (((((((this._x >= (frogPos - 100)) && (this._x <= frogPos)) && (_root.freeze == false)) && (this.attack == false)) && (obj.stat == 0)) && (this.hit == false)) && (_root.frogDeath == false)) { this.gotoAndPlay("turn"); this.stat = 1; } else if ((((((this._x >= (frogPos - 10)) && (this._x <= (frogPos + 10))) && (_root.freeze == false)) && (this.attack == false)) && (this.hit == false)) && (_root.frogDeath == false)) { if (this.stat == 1) { this.X = 5; this._xscale = 100; } else { this.X = -5; this._xscale = -100; } this.gotoAndPlay("attack"); this.attack = true; } if (((((this._x >= (frogPos - 100)) && (this._x <= (frogPos + 100))) && (this.attack == false)) && (this.hit == false)) && (_root.frogDeath == false)) { this.alert._visible = true; } else { this.alert._visible = false; } if (this.weapon.hitTest(_root.frog) && (_root.frogHit == false)) { _root.hP = _root.hP + -10; _root.movInfo.HM.effect._xscale = _root.movInfo.HM.meter._xscale; _root.movInfo.HM.meter._xscale = _root.hP; _root.movInfo.HM.effect.play(); _root.frogHit = true; _root.objInMouth = false; _root.movInfo.frogStat.gotoAndStop(1); _root.frog.eyes.gotoAndStop("hit"); _root.frog.head.gotoAndStop("hit"); _root.timerBack = setInterval(_root.back, 250); } i = 1; while (i <= 5) { if (this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 50; _root.movInfo.score.text = _root.totScore; attachMovie("HOP50", "HOP50" + countHit, 950 + countHit); eval ("HOP50" + countHit)._x = this._x; eval ("HOP50" + countHit)._y = this._y - 10; this.X = 0; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); } i++; } if ((this._x <= -150) || (this._x >= 1800)) { this.gotoAndStop(1); startObj3(this); } this._x = this._x + this.X; } }; } function runObj4(obj) { obj.onEnterFrame = function () { if (this.hitPoint.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } removeMovieClip(this); } } }; } function startObj5(obj) { i = 0; while (i < nCo) { do { cntCCo = 0; obj.GR = random(27); j = 0; while (j < i) { if (obj.GR != CCo[j]) { cntCCo = cntCCo + 1; } j++; } } while (cntCCo != i); CCo[Number(obj._name.substr(6, 1))] = obj.GR; i++; } obj._x = (obj.GR * 50) + 225; obj._y = -20; if (random(2) == 1) { obj._xscale = 100; } else { obj._xscale = -100; } obj.attack = false; obj.Y = 0; } function runObj5(obj) { obj.attack = false; obj.Y = 0; obj.onEnterFrame = function () { if (_root.gamePause == true) { this.cocoAtt.stop(); } if (_root.gamePause == false) { this.cocoAtt.play(); if ((((this._x >= (frogPos - 20)) && (this._x <= (frogPos + 20))) && (this.attack == false)) && (_root.frogDeath == false)) { this.attack = true; this.gotoAndStop(2); } if (this.cocoAtt.hitPoint.hitTest(_root.frog.hitPoint) && (_root.frogHit == false)) { _root.hP = _root.hP + -10; _root.movInfo.HM.effect._xscale = _root.movInfo.HM.meter._xscale; _root.movInfo.HM.meter._xscale = _root.hP; _root.movInfo.HM.effect.play(); _root.frogHit = true; this.cocoAtt.gotoAndPlay("hit"); _root.objInMouth = false; _root.movInfo.frogStat.gotoAndStop(1); _root.frog.eyes.gotoAndStop("hit"); _root.frog.head.gotoAndStop("hit"); _root.timerBack = setInterval(_root.back, 250); } } }; } var frogPos = 875; var rnd; var count = 0; var objElsePos; var countHit = 0; var nCr; var nPM; var nDF; var nBF; var nBe; var nLB; var nMo; var nCb; var nCo; if (_root.gameLevel == 1) { nCr = 0; nPM = 0; nDF = 3; nBF = 3; nBe = 6; nLB = 2; nMo = 0; nCb = 0; nCo = 0; } else if (_root.gameLevel == 2) { nCr = 0; nPM = 0; nDF = 4; nBF = 3; nBe = 6; nLB = 2; nMo = 0; nCb = 1; nCo = 0; } else if (_root.gameLevel == 3) { nCr = 0; nPM = 1; nDF = 4; nBF = 3; nBe = 6; nLB = 2; nMo = 0; nCb = 1; nCo = 2; } else if (_root.gameLevel == 4) { nCr = 1; nPM = 1; nDF = 4; nBF = 2; nBe = 5; nLB = 1; nMo = 3; nCb = 1; nCo = 3; } else if (_root.gameLevel == 5) { nCr = 1; nPM = 1; nDF = 4; nBF = 2; nBe = 5; nLB = 1; nMo = 4; nCb = 1; nCo = 3; } else { nCr = 1; nPM = 1; nDF = 3; nBF = 2; nBe = 5; nLB = 1; nMo = 5; nCb = 1; nCo = 4; } var CCo = new Array(); CCo[0] = random(27); i = 1; while (i < nCo) { do { cntCCo = 0; CCo[i] = random(27); j = 0; while (j < i) { if (CCo[i] != CCo[j]) { cntCCo = cntCCo + 1; } j++; } } while (cntCCo != i); i++; } createObjects(); stop();
Symbol 760 MovieClip Frame 1
function createObjects() { var i = 0; while (i < nDF) { attachMovie("dragonfly", "dragonfly" + i, 100 + i); rnd = random(3) + 1; eval ("dragonfly" + i).body.gotoAndStop(rnd); eval ("dragonfly" + i).frm = 1 + rnd; eval ("dragonfly" + i).scr = 100; eval ("dragonfly" + i).qty = 10; eval ("dragonfly" + i).hit = false; startObj(eval ("dragonfly" + i), 101, 50, 10); runObj(eval ("dragonfly" + i), 101, 50, 10, "dragonfly"); i++; } var i = 0; while (i < nBF) { attachMovie("butterfly", "butterfly" + i, 200 + i); eval ("butterfly" + i).wings.gotoAndStop(random(6) + 1); eval ("butterfly" + i).frm = 5; eval ("butterfly" + i).scr = 50; eval ("butterfly" + i).qty = 10; eval ("butterfly" + i).hit = false; startObj(eval ("butterfly" + i), 151, 100, 5); runObj(eval ("butterfly" + i), 151, 100, 5, "butterfly"); i++; } var i = 0; while (i < nBe) { attachMovie("bee", "bee" + i, 300 + i); eval ("bee" + i).frm = 8; eval ("bee" + i).scr = -10; eval ("bee" + i).qty = 5; eval ("bee" + i).hit = false; startObj(eval ("bee" + i), 151, 100, 2); runObj(eval ("bee" + i), 151, 100, 2, "bee"); i++; } var i = 0; while (i < nLB) { attachMovie("ladybug", "ladybug" + i, 400 + i); rnd = random(3) + 1; eval ("ladybug" + i).wings.gotoAndStop(rnd); eval ("ladybug" + i).frm = 8 + rnd; eval ("ladybug" + i).scr = -10; eval ("ladybug" + i).qty = 5; eval ("ladybug" + i).hit = false; startObj(eval ("ladybug" + i), 151, 100, 1); runObj(eval ("ladybug" + i), 151, 100, 1, "ladybug"); i++; } var i = 0; while (i < nPM) { attachMovie("prayingmantis", "prayingmantis" + i, 500 + i); eval ("prayingmantis" + i).frm = 1; eval ("prayingmantis" + i).scr = 150; eval ("prayingmantis" + i).qty = 10; eval ("prayingmantis" + i).hit = false; startObj(eval ("prayingmantis" + i), 101, 50, 10); runObj(eval ("prayingmantis" + i), 101, 50, 10, "prayingmantis"); i++; } var i = 0; while (i < nMo) { attachMovie("mosquito", "mosquito" + i, 600 + i); eval ("mosquito" + i).frm = 7; eval ("mosquito" + i).scr = 10; eval ("mosquito" + i).qty = 5; eval ("mosquito" + i).hit = false; startObj(eval ("mosquito" + i), 151, 100, 2); runObj(eval ("mosquito" + i), 151, 100, 2, "mosquito"); i++; } var i = 0; while (i < nMR) { attachMovie("mushroom", "mushroom" + i, 700 + i); eval ("mushroom" + i).frm = 13; eval ("mushroom" + i).scr = 10; eval ("mushroom" + i).qty = 5; eval ("mushroom" + i)._x = (CMR[i] * 50) + 200; eval ("mushroom" + i)._y = random(5) + 340; runObj4(eval ("mushroom" + i)); i++; } var i = 0; while (i < nCr) { attachMovie("cricket", "cricket" + i, 800 + i); eval ("cricket" + i).frm = 16; eval ("cricket" + i).scr = 100; eval ("cricket" + i).qty = 10; eval ("cricket" + i).hit = false; startObj2(eval ("cricket" + i)); runObj2(eval ("cricket" + i)); i++; } attachMovie("parkunlocked2", "stageInfo1", 911); attachMovie("forestlocked", "stageInfo2", 912); stageInfo1._x = 80; stageInfo1._y = 320; stageInfo2._x = 1670; stageInfo2._y = 320; if (_root.totScore > _root.recScore) { _root.recScore = _root.totScore; } if (_root.recScore >= _root.scrTarget3) { stageInfo2.gotoAndStop(3); _root.stageOpen2 = true; } else { _root.stageOpen2 = false; } } function removeObjects() { var i = 0; while (i < nDF) { removeMovieClip(eval ("dragonfly" + i)); i++; } var i = 0; while (i < nBF) { removeMovieClip(eval ("butterfly" + i)); i++; } var i = 0; while (i < nBe) { removeMovieClip(eval ("bee" + i)); i++; } var i = 0; while (i < nLB) { removeMovieClip(eval ("ladybug" + i)); i++; } var i = 0; while (i < nPM) { removeMovieClip(eval ("prayingmantis" + i)); i++; } var i = 0; while (i < nMo) { removeMovieClip(eval ("mosquito" + i)); i++; } var i = 0; while (i < nMR) { removeMovieClip(eval ("mushroom" + i)); i++; } var i = 0; while (i < nCr) { removeMovieClip(eval ("cricket" + i)); i++; } removeMovieClip(stageInfo1); removeMovieClip(stageInfo2); } function setXPosition(area) { var _local1; if (area <= 575) { _local1 = random(551) + 1700; objElsePos = true; } else if ((area > 575) && (area < 1175)) { if (random(2) == 1) { _local1 = random(551) + -500; objElsePos = false; } else { _local1 = random(551) + 1700; objElsePos = true; } } else if (area >= 1175) { _local1 = random(551) + -500; objElsePos = false; } return(_local1); } function startObj(obj, downLim, upLim, spRange) { obj._x = setXPosition(frogPos); obj._y = random(downLim) + upLim; obj.stayPos = random(551) + 600; obj.xTarget = random(551) + 600; obj.yTarget = random(downLim) + upLim; obj.speed = random(6) + spRange; } function runObj(obj, downLim, upLim, spRange, type) { obj.attack = false; obj.stat = 0; obj.onEnterFrame = function () { if (_root.gamePause == false) { if ((((this._x >= (this.xTarget - 15)) && (this._x <= (this.xTarget + 15))) && ((this._y >= (this.yTarget - 15)) && (this._y <= (this.yTarget + 15)))) && (this.hit == false)) { if ((type == "bee") || (type == "mosquito")) { this.gotoAndStop(1); this.attack = false; } this.speed = random(6) + spRange; this.GR = random(10); if (this.GR == 0) { this.stayPos = random(551) + -500; this.xTarget = random(551) + -500; this.yTarget = random(downLim) + upLim; } else if (this.GR == 1) { this.stayPos = random(551) + 50; this.xTarget = random(551) + 50; this.yTarget = random(downLim) + upLim; } else if (this.GR == 3) { this.stayPos = random(551) + 600; this.xTarget = random(551) + 600; this.yTarget = random(downLim) + upLim; } else if (this.GR == 4) { this.stayPos = random(551) + 1150; this.xTarget = random(551) + 1150; this.yTarget = random(downLim) + upLim; } else if (this.GR == 5) { this.stayPos = random(551) + 1700; this.xTarget = random(551) + 1700; this.yTarget = random(downLim) + upLim; } else { this.xTarget = this.stayPos; this.yTarget = random(downLim) + upLim; } } if ((((((this._x >= (frogPos - 50)) && (this._x <= (frogPos + 50))) && ((type == "bee") || (type == "mosquito"))) && (this.stat == 1)) && (this.attack == false)) && (_root.frogDeath == false)) { this.stat = 0; clearInterval(this.timerStat); this.attack = true; this.gotoAndStop(2); this.speed = 10; this.xTarget = frogPos; this.yTarget = 330; } if (this.sting.hitTest(_root.frog.hitPoint) && (_root.frogHit == false)) { if ((type == "bee") || (type == "mosquito")) { this.stat = 0; this.gotoAndStop(1); this.xTarget = random(551) + 600; this.yTarget = random(downLim) + upLim; _root.hP = _root.hP + -10; _root.movInfo.HM.effect._xscale = _root.movInfo.HM.meter._xscale; _root.movInfo.HM.meter._xscale = _root.hP; _root.movInfo.HM.effect.play(); _root.frogHit = true; _root.objInMouth = false; _root.movInfo.frogStat.gotoAndStop(1); _root.frog.eyes.gotoAndStop("hit"); _root.frog.head.gotoAndStop("hit"); _root.timerBack = setInterval(_root.back, 250); } } if (this.hitPoint.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } this.gotoAndPlay("startover"); } } i = 1; while (i <= 5) { if ((this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (this.hit == false)) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); this.xTarget = this._x; this.yTarget = 340; this.speed = 10; this.stat = 0; } else if ((this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (this.hit == false)) && (_root.flame == false)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; this.gotoAndPlay("hit"); this.xTarget = this._x; this.yTarget = 340; this.speed = 10; this.stat = 0; } i++; } if (this.xTarget < this._x) { this._xscale = 100; } else if (this.xTarget > this._x) { this._xscale = -100; } this.deltaX = this._x - this.xTarget; this.deltaY = this._y - this.yTarget; this.rotation = (-Math.atan2(this.deltaX, this.deltaY)) / (Math.PI/180); if (Math.sqrt((this.deltaX * this.deltaX) + (this.deltaY * this.deltaY)) > this.speed) { this._y = this._y - (this.speed * Math.cos(this.rotation * (Math.PI/180))); this._x = this._x + (this.speed * Math.sin(this.rotation * (Math.PI/180))); } } }; } function startObj2(obj) { obj._x = setXPosition(frogPos); obj._y = 310; obj.difY = -15; if ((obj._x >= -500) && (obj._x <= 50)) { obj.difX = 15; obj._xscale = -100; } else if ((obj._x >= 1700) && (obj._x <= 2250)) { obj.difX = -15; obj._xscale = 100; } obj.vx = ((Math.cos(Math.atan2(obj.difY, obj.difX)) * vo) * 1.5) / vo; } function runObj2(obj) { gravity = 0.5; vo = random(5) + 5; obj.fall = false; obj.vx = ((Math.cos(Math.atan2(obj.difY, obj.difX)) * vo) * 1.5) / vo; obj.vy = ((Math.sin(Math.atan2(obj.difY, obj.difX)) * vo) * 1.5) / vo; obj.onEnterFrame = function () { if ((_root.gamePause == false) && (this.fall == false)) { this.vy = this.vy + (gravity / vo); i = 0; while (i < 16) { this._x = this._x + this.vx; this._y = this._y + this.vy; if ((this._y > 340) && (this.hit == false)) { GR = random(3); if (GR == 1) { this.difX = this.difX * -1; this._xscale = this._xscale * -1; } vo = random(5) + 5; this.vx = ((Math.cos(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; this.vy = ((Math.sin(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; this.gotoAndPlay(2); } else if ((this._y > 340) && (this.hit == true)) { this.fall = true; } i++; } if ((this._x < -550) || (this._x > 2250)) { this.difY = -15; this.difX = this.difX * -1; this._xscale = this._xscale * -1; vo = random(5) + 5; this.vx = ((Math.cos(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; this.vy = ((Math.sin(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; } i = 1; while (i <= 5) { if (this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); this.vx = 0; this.vy = 0.5; } else if (this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (_root.flame == false)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; this.gotoAndPlay("hit"); this.vx = 0; this.vy = 0.5; } i++; } } if (this.hitPoint.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } this.gotoAndPlay("startover"); } } }; } function startObj3(obj) { obj._x = setXPosition(frogPos); obj._y = 310; obj.attack = false; if ((obj._x >= -500) && (obj._x <= 50)) { obj.stat = 1; obj.X = 3; obj._xscale = 100; } else if ((obj._x >= 1700) && (obj._x <= 2250)) { obj.stat = 0; obj.X = -3; obj._xscale = -100; } } function runObj3(obj) { obj.onEnterFrame = function () { if (_root.gamePause == false) { if (((((((this._x >= frogPos) && (this._x <= (frogPos + 100))) && (_root.freeze == false)) && (this.attack == false)) && (this.stat == 1)) && (this.hit == false)) && (_root.frogDeath == false)) { this.gotoAndPlay("turn"); this.stat = 0; } else if (((((((this._x >= (frogPos - 100)) && (this._x <= frogPos)) && (_root.freeze == false)) && (this.attack == false)) && (obj.stat == 0)) && (this.hit == false)) && (_root.frogDeath == false)) { this.gotoAndPlay("turn"); this.stat = 1; } else if ((((((this._x >= (frogPos - 10)) && (this._x <= (frogPos + 10))) && (_root.freeze == false)) && (this.attack == false)) && (this.hit == false)) && (_root.frogDeath == false)) { if (this.stat == 1) { this.X = 5; } else { this.X = -5; } this.gotoAndPlay("attack"); this.attack = true; } if (((((this._x >= (frogPos - 100)) && (this._x <= (frogPos + 100))) && (this.attack == false)) && (this.hit == false)) && (_root.frogDeath == false)) { this.alert._visible = true; } else { this.alert._visible = false; } if (this.weapon.hitTest(_root.frog) && (_root.frogHit == false)) { _root.hP = _root.hP + -10; _root.movInfo.HM.effect._xscale = _root.movInfo.HM.meter._xscale; _root.movInfo.HM.meter._xscale = _root.hP; _root.movInfo.HM.effect.play(); _root.frogHit = true; _root.objInMouth = false; _root.movInfo.frogStat.gotoAndStop(1); _root.frog.eyes.gotoAndStop("hit"); _root.frog.head.gotoAndStop("hit"); _root.timerBack = setInterval(_root.back, 250); } i = 1; while (i <= 5) { if (this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 50; _root.movInfo.score.text = _root.totScore; attachMovie("HOP50", "HOP50" + countHit, 950 + countHit); eval ("HOP50" + countHit)._x = this._x; eval ("HOP50" + countHit)._y = this._y - 10; this.X = 0; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); } i++; } if ((this._x <= -150) || (this._x >= 1800)) { startObj3(this); } this._x = this._x + this.X; } }; } function runObj4(obj) { obj.onEnterFrame = function () { if (this.hitPoint.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } removeMovieClip(this); } } }; } var frogPos = 875; var rnd; var count = 0; var objElsePos; var countHit = 0; var nPM; var nDF; var nBF; var nBe; var nLB; var nMo; var nMR; if (_root.gameLevel == 1) { nPM = 0; nDF = 3; nBF = 2; nBe = 1; nLB = 1; nMo = 5; nMR = 5; } else if (_root.gameLevel == 2) { nPM = 0; nDF = 3; nBF = 2; nBe = 2; nLB = 1; nMo = 6; nMR = 4; } else if (_root.gameLevel == 3) { nPM = 0; nDF = 3; nBF = 2; nBe = 3; nLB = 1; nMo = 7; nMR = 4; } else if (_root.gameLevel == 4) { nPM = 1; nDF = 3; nBF = 2; nBe = 4; nLB = 1; nMo = 8; nMR = 3; } else if (_root.gameLevel == 5) { nPM = 1; nDF = 3; nBF = 2; nBe = 5; nLB = 1; nMo = 9; nMR = 3; } else { nPM = 1; nDF = 3; nBF = 2; nBe = 6; nLB = 1; nMo = 10; nMR = 2; } var CMR = new Array(); var posCMR = new Array(0, 1, 2, 24, 25, 26); CMR[0] = posCMR[random(posCMR.length)]; i = 1; while (i < nMR) { do { cntCMR = 0; CMR[i] = posCMR[random(posCMR.length)]; j = 0; while (j < i) { if (CMR[i] != CMR[j]) { cntCMR = cntCMR + 1; } j++; } } while (cntCMR != i); i++; } createObjects(); stop();
Symbol 762 MovieClip Frame 1
function createObjects() { var i = 0; while (i < nDF) { attachMovie("dragonfly", "dragonfly" + i, 100 + i); rnd = random(3) + 1; eval ("dragonfly" + i).body.gotoAndStop(rnd); eval ("dragonfly" + i).frm = 1 + rnd; eval ("dragonfly" + i).scr = 100; eval ("dragonfly" + i).qty = 10; eval ("dragonfly" + i).hit = false; startObj(eval ("dragonfly" + i), 101, 50, 10); runObj(eval ("dragonfly" + i), 101, 50, 10, "dragonfly"); i++; } var i = 0; while (i < nBF) { attachMovie("butterfly", "butterfly" + i, 200 + i); eval ("butterfly" + i).wings.gotoAndStop(random(6) + 1); eval ("butterfly" + i).frm = 5; eval ("butterfly" + i).scr = 50; eval ("butterfly" + i).qty = 10; eval ("butterfly" + i).hit = false; startObj(eval ("butterfly" + i), 151, 100, 5); runObj(eval ("butterfly" + i), 151, 100, 5, "butterfly"); i++; } var i = 0; while (i < nBe) { attachMovie("bee", "bee" + i, 300 + i); eval ("bee" + i).frm = 8; eval ("bee" + i).scr = -10; eval ("bee" + i).qty = 5; eval ("bee" + i).hit = false; startObj(eval ("bee" + i), 151, 100, 2); runObj(eval ("bee" + i), 151, 100, 2, "bee"); i++; } var i = 0; while (i < nPM) { attachMovie("prayingmantis", "prayingmantis" + i, 500 + i); eval ("prayingmantis" + i).frm = 1; eval ("prayingmantis" + i).scr = 150; eval ("prayingmantis" + i).qty = 10; eval ("prayingmantis" + i).hit = false; startObj(eval ("prayingmantis" + i), 101, 50, 10); runObj(eval ("prayingmantis" + i), 101, 50, 10, "prayingmantis"); i++; } var i = 0; while (i < nMo) { attachMovie("mosquito", "mosquito" + i, 600 + i); eval ("mosquito" + i).frm = 7; eval ("mosquito" + i).scr = 10; eval ("mosquito" + i).qty = 5; eval ("mosquito" + i).hit = false; startObj(eval ("mosquito" + i), 151, 100, 2); runObj(eval ("mosquito" + i), 151, 100, 2, "mosquito"); i++; } var i = 0; while (i < nMR) { attachMovie("mushroom", "mushroom" + i, 700 + i); eval ("mushroom" + i).frm = 14; eval ("mushroom" + i).scr = 10; eval ("mushroom" + i).qty = 10; eval ("mushroom" + i).gotoAndStop(2); eval ("mushroom" + i)._x = (CMR[i] * 50) + 200; eval ("mushroom" + i)._y = random(5) + 340; runObj4(eval ("mushroom" + i)); i++; } var i = 0; while (i < nCr) { attachMovie("cricket", "cricket" + i, 800 + i); eval ("cricket" + i).frm = 16; eval ("cricket" + i).scr = 100; eval ("cricket" + i).qty = 10; eval ("cricket" + i).hit = false; startObj2(eval ("cricket" + i)); runObj2(eval ("cricket" + i)); i++; } var i = 0; while (i < nSp) { attachMovie("spider", "spider" + i, 850 + i); eval ("spider" + i).frm = 12; eval ("spider" + i).scr = -10; eval ("spider" + i).qty = 10; eval ("spider" + i).hit = false; eval ("spider" + i)._x = (CSp[i] * 50) + 225; eval ("spider" + i)._y = -20; if (random(2) == 1) { eval ("spider" + i)._xscale = 100; } else { eval ("spider" + i)._xscale = -100; } runObj5(eval ("spider" + i)); i++; } var i = 0; while (i < nSn) { attachMovie("snake", "snake", 900 + i); snake.scr = 100; snake.hit = false; snake.alert._visible = false; startObj3(snake); runObj3(snake); i++; } attachMovie("swampunlocked", "stageInfo1", 911); attachMovie("cavelocked", "stageInfo2", 912); stageInfo1._x = 80; stageInfo1._y = 320; stageInfo2._x = 1670; stageInfo2._y = 320; if (_root.totScore > _root.recScore) { _root.recScore = _root.totScore; } if (_root.recScore >= _root.scrTarget4) { stageInfo2.gotoAndStop(3); _root.stageOpen2 = true; } else { _root.stageOpen2 = false; } } function removeObjects() { var i = 0; while (i < nDF) { removeMovieClip(eval ("dragonfly" + i)); i++; } var i = 0; while (i < nBF) { removeMovieClip(eval ("butterfly" + i)); i++; } var i = 0; while (i < nBe) { removeMovieClip(eval ("bee" + i)); i++; } var i = 0; while (i < nPM) { removeMovieClip(eval ("prayingmantis" + i)); i++; } var i = 0; while (i < nMo) { removeMovieClip(eval ("mosquito" + i)); i++; } var i = 0; while (i < nMR) { removeMovieClip(eval ("mushroom" + i)); i++; } var i = 0; while (i < nCr) { removeMovieClip(eval ("cricket" + i)); i++; } var i = 0; while (i < nSp) { removeMovieClip(eval ("spider" + i)); i++; } var i = 0; while (i < nSn) { removeMovieClip(snake); i++; } removeMovieClip(stageInfo1); removeMovieClip(stageInfo2); } function setXPosition(area) { var _local1; if (area <= 575) { _local1 = random(551) + 1700; objElsePos = true; } else if ((area > 575) && (area < 1175)) { if (random(2) == 1) { _local1 = random(551) + -500; objElsePos = false; } else { _local1 = random(551) + 1700; objElsePos = true; } } else if (area >= 1175) { _local1 = random(551) + -500; objElsePos = false; } return(_local1); } function startObj(obj, downLim, upLim, spRange) { obj._x = setXPosition(frogPos); obj._y = random(downLim) + upLim; obj.stayPos = random(551) + 600; obj.xTarget = random(551) + 600; obj.yTarget = random(downLim) + upLim; obj.speed = random(6) + spRange; } function runObj(obj, downLim, upLim, spRange, type) { obj.attack = false; obj.stat = 0; obj.onEnterFrame = function () { if (_root.gamePause == false) { if ((((this._x >= (this.xTarget - 15)) && (this._x <= (this.xTarget + 15))) && ((this._y >= (this.yTarget - 15)) && (this._y <= (this.yTarget + 15)))) && (this.hit == false)) { if ((type == "bee") || (type == "mosquito")) { this.gotoAndStop(1); this.attack = false; } this.speed = random(6) + spRange; this.GR = random(10); if (this.GR == 0) { this.stayPos = random(551) + -500; this.xTarget = random(551) + -500; this.yTarget = random(downLim) + upLim; } else if (this.GR == 1) { this.stayPos = random(551) + 50; this.xTarget = random(551) + 50; this.yTarget = random(downLim) + upLim; } else if (this.GR == 3) { this.stayPos = random(551) + 600; this.xTarget = random(551) + 600; this.yTarget = random(downLim) + upLim; } else if (this.GR == 4) { this.stayPos = random(551) + 1150; this.xTarget = random(551) + 1150; this.yTarget = random(downLim) + upLim; } else if (this.GR == 5) { this.stayPos = random(551) + 1700; this.xTarget = random(551) + 1700; this.yTarget = random(downLim) + upLim; } else { this.xTarget = this.stayPos; this.yTarget = random(downLim) + upLim; } } if ((((((this._x >= (frogPos - 50)) && (this._x <= (frogPos + 50))) && ((type == "bee") || (type == "mosquito"))) && (this.stat == 1)) && (this.attack == false)) && (_root.frogDeath == false)) { this.stat = 0; clearInterval(this.timerStat); this.attack = true; this.gotoAndStop(2); this.speed = 10; this.xTarget = frogPos; this.yTarget = 330; } if (this.sting.hitTest(_root.frog.hitPoint) && (_root.frogHit == false)) { if ((type == "bee") || (type == "mosquito")) { this.stat = 0; this.gotoAndStop(1); this.xTarget = random(551) + 600; this.yTarget = random(downLim) + upLim; _root.hP = _root.hP + -10; _root.movInfo.HM.effect._xscale = _root.movInfo.HM.meter._xscale; _root.movInfo.HM.meter._xscale = _root.hP; _root.movInfo.HM.effect.play(); _root.frogHit = true; _root.objInMouth = false; _root.movInfo.frogStat.gotoAndStop(1); _root.frog.eyes.gotoAndStop("hit"); _root.frog.head.gotoAndStop("hit"); _root.timerBack = setInterval(_root.back, 250); } } if (this.hitPoint.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } this.gotoAndPlay("startover"); } } i = 1; while (i <= 5) { if ((this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (this.hit == false)) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); this.xTarget = this._x; this.yTarget = 340; this.speed = 10; this.stat = 0; } else if ((this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (this.hit == false)) && (_root.flame == false)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; this.gotoAndPlay("hit"); this.xTarget = this._x; this.yTarget = 340; this.speed = 10; this.stat = 0; } i++; } if (this.xTarget < this._x) { this._xscale = 100; } else if (this.xTarget > this._x) { this._xscale = -100; } this.deltaX = this._x - this.xTarget; this.deltaY = this._y - this.yTarget; this.rotation = (-Math.atan2(this.deltaX, this.deltaY)) / (Math.PI/180); if (Math.sqrt((this.deltaX * this.deltaX) + (this.deltaY * this.deltaY)) > this.speed) { this._y = this._y - (this.speed * Math.cos(this.rotation * (Math.PI/180))); this._x = this._x + (this.speed * Math.sin(this.rotation * (Math.PI/180))); } } }; } function startObj2(obj) { obj._x = setXPosition(frogPos); obj._y = 310; obj.difY = -15; if ((obj._x >= -500) && (obj._x <= 50)) { obj.difX = 15; obj._xscale = -100; } else if ((obj._x >= 1700) && (obj._x <= 2250)) { obj.difX = -15; obj._xscale = 100; } obj.vx = ((Math.cos(Math.atan2(obj.difY, obj.difX)) * vo) * 1.5) / vo; } function runObj2(obj) { gravity = 0.5; vo = random(5) + 5; obj.fall = false; obj.vx = ((Math.cos(Math.atan2(obj.difY, obj.difX)) * vo) * 1.5) / vo; obj.vy = ((Math.sin(Math.atan2(obj.difY, obj.difX)) * vo) * 1.5) / vo; obj.onEnterFrame = function () { if ((_root.gamePause == false) && (this.fall == false)) { this.vy = this.vy + (gravity / vo); i = 0; while (i < 16) { this._x = this._x + this.vx; this._y = this._y + this.vy; if ((this._y > 340) && (this.hit == false)) { GR = random(3); if (GR == 1) { this.difX = this.difX * -1; this._xscale = this._xscale * -1; } vo = random(5) + 5; this.vx = ((Math.cos(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; this.vy = ((Math.sin(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; this.gotoAndPlay(2); } else if ((this._y > 340) && (this.hit == true)) { this.fall = true; } i++; } if ((this._x < -550) || (this._x > 2250)) { this.difY = -15; this.difX = this.difX * -1; this._xscale = this._xscale * -1; vo = random(5) + 5; this.vx = ((Math.cos(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; this.vy = ((Math.sin(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; } i = 1; while (i <= 5) { if (this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); this.vx = 0; this.vy = 0.5; } else if (this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (_root.flame == false)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; this.gotoAndPlay("hit"); this.vx = 0; this.vy = 0.5; } i++; } } if (this.hitPoint.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } this.gotoAndPlay("startover"); } } }; } function startObj3(obj) { obj._x = setXPosition(frogPos); obj._y = 310; obj.attack = false; if ((obj._x >= -500) && (obj._x <= 50)) { obj.stat = 1; obj.X = 3; obj._xscale = 100; } else if ((obj._x >= 1700) && (obj._x <= 2250)) { obj.stat = 0; obj.X = -3; obj._xscale = -100; } } function runObj3(obj) { obj.onEnterFrame = function () { if (_root.gamePause == false) { if (((((((this._x >= frogPos) && (this._x <= (frogPos + 100))) && (_root.freeze == false)) && (this.attack == false)) && (this.stat == 1)) && (this.hit == false)) && (_root.frogDeath == false)) { this.gotoAndPlay("turn"); this.stat = 0; } else if (((((((this._x >= (frogPos - 100)) && (this._x <= frogPos)) && (_root.freeze == false)) && (this.attack == false)) && (obj.stat == 0)) && (this.hit == false)) && (_root.frogDeath == false)) { this.gotoAndPlay("turn"); this.stat = 1; } else if ((((((this._x >= (frogPos - 10)) && (this._x <= (frogPos + 10))) && (_root.freeze == false)) && (this.attack == false)) && (this.hit == false)) && (_root.frogDeath == false)) { if (this.stat == 1) { this.X = 5; this._xscale = 100; } else { this.X = -5; this._xscale = -100; } this.gotoAndPlay("attack"); this.attack = true; } if (((((this._x >= (frogPos - 100)) && (this._x <= (frogPos + 100))) && (this.attack == false)) && (this.hit == false)) && (_root.frogDeath == false)) { this.alert._visible = true; } else { this.alert._visible = false; } if (this.weapon.hitTest(_root.frog) && (_root.frogHit == false)) { _root.hP = _root.hP + -10; _root.movInfo.HM.effect._xscale = _root.movInfo.HM.meter._xscale; _root.movInfo.HM.meter._xscale = _root.hP; _root.movInfo.HM.effect.play(); _root.frogHit = true; _root.objInMouth = false; _root.movInfo.frogStat.gotoAndStop(1); _root.frog.eyes.gotoAndStop("hit"); _root.frog.head.gotoAndStop("hit"); _root.timerBack = setInterval(_root.back, 250); } i = 1; while (i <= 5) { if (this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 50; _root.movInfo.score.text = _root.totScore; attachMovie("HOP50", "HOP50" + countHit, 950 + countHit); eval ("HOP50" + countHit)._x = this._x; eval ("HOP50" + countHit)._y = this._y - 10; this.X = 0; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); } i++; } if ((this._x <= -150) || (this._x >= 1800)) { startObj3(this); } this._x = this._x + this.X; } }; } function runObj4(obj) { obj.onEnterFrame = function () { if (this.hitPoint.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } removeMovieClip(this); } } }; } function startObj5(obj) { i = 0; while (i < nSp) { do { cntCSp = 0; obj.GR = posCSp[random(posCSp.length)]; j = 0; while (j < i) { if (obj.GR != CSp[j]) { cntCSp = cntCSp + 1; } j++; } } while (cntCSp != i); CSp[Number(obj._name.substr(6, 1))] = obj.GR; i++; } obj._x = (obj.GR * 50) + 225; obj._y = -20; if (random(2) == 1) { obj._xscale = 100; } else { obj._xscale = -100; } obj.attack = false; obj.Y = 0; } function runObj5(obj) { obj.attack = false; obj.Y = 0; obj.onEnterFrame = function () { if (_root.gamePause == true) { this.spiderAtt.stop(); } if (_root.gamePause == false) { this.spiderAtt.play(); if ((((this._x >= (frogPos - 20)) && (this._x <= (frogPos + 20))) && (this.attack == false)) && (_root.frogDeath == false)) { this.attack = true; this.gotoAndStop(2); } if (this.spiderAtt.hitPoint.hitTest(_root.frog.hitPoint) && (_root.frogHit == false)) { _root.hP = _root.hP + -10; _root.movInfo.HM.effect._xscale = _root.movInfo.HM.meter._xscale; _root.movInfo.HM.meter._xscale = _root.hP; _root.movInfo.HM.effect.play(); _root.frogHit = true; _root.objInMouth = false; _root.movInfo.frogStat.gotoAndStop(1); _root.frog.eyes.gotoAndStop("hit"); _root.frog.head.gotoAndStop("hit"); _root.timerBack = setInterval(_root.back, 250); } if (this.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } this.gotoAndPlay("startover"); } } i = 1; while (i <= 5) { if ((this.hitTest(eval ("_root.objSpit" + i).hitPoint) && (this.hit == false)) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); this._y = eval ("_root.objSpit" + i)._y; eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); this.Y = 10; } else if ((this.hitTest(eval ("_root.objSpit" + i).hitPoint) && (this.hit == false)) && (_root.flame == false)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); this._y = eval ("_root.objSpit" + i)._y; eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; this.gotoAndPlay("hit"); this.Y = 10; } i++; } if (this._y > 340) { this.Y = 0; } this._y = this._y + this.Y; } }; } var frogPos = 875; var rnd; var count = 0; var objElsePos; var countHit = 0; var nCr; var nPM; var nDF; var nBF; var nBe; var nMo; var nSn; var nSp; var nMR; if (_root.gameLevel == 1) { nCr = 0; nPM = 0; nDF = 2; nBF = 2; nBe = 3; nMo = 5; nSn = 0; nSp = 0; nMR = 4; } else if (_root.gameLevel == 2) { nCr = 0; nPM = 0; nDF = 2; nBF = 2; nBe = 4; nMo = 6; nSn = 0; nSp = 0; nMR = 4; } else if (_root.gameLevel == 3) { nCr = 0; nPM = 0; nDF = 2; nBF = 2; nBe = 4; nMo = 7; nSn = 0; nSp = 3; nMR = 3; } else if (_root.gameLevel == 4) { nCr = 1; nPM = 0; nDF = 2; nBF = 2; nBe = 4; nMo = 8; nSn = 0; nSp = 4; nMR = 3; } else if (_root.gameLevel == 5) { nCr = 1; nPM = 1; nDF = 2; nBF = 2; nBe = 4; nMo = 9; nSn = 1; nSp = 4; nMR = 2; } else { nCr = 1; nPM = 1; nDF = 2; nBF = 2; nBe = 4; nMo = 10; nSn = 1; nSp = 5; nMR = 2; } var CSp = new Array(); var posCSp = new Array(0, 1, 2, 5, 6, 7, 8, 11, 12, 13, 14, 15, 16, 19, 20, 21, 24, 25, 26); CSp[0] = posCSp[random(posCSp.length)]; i = 1; while (i < nSp) { do { cntCSp = 0; CSp[i] = posCSp[random(posCSp.length)]; j = 0; while (j < i) { if (CSp[i] != CSp[j]) { cntCSp = cntCSp + 1; } j++; } } while (cntCSp != i); i++; } var CMR = new Array(); var posCMR = new Array(0, 1, 2, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 23, 24, 25, 26, 27); CMR[0] = posCMR[random(posCMR.length)]; i = 1; while (i < nMR) { do { cntCMR = 0; CMR[i] = posCMR[random(posCMR.length)]; j = 0; while (j < i) { if (CMR[i] != CMR[j]) { cntCMR = cntCMR + 1; } j++; } } while (cntCMR != i); i++; } createObjects(); stop();
Symbol 764 MovieClip Frame 1
function createObjects() { var i = 0; while (i < nDF) { attachMovie("dragonfly", "dragonfly" + i, 100 + i); rnd = random(3) + 1; eval ("dragonfly" + i).body.gotoAndStop(rnd); eval ("dragonfly" + i).frm = 1 + rnd; eval ("dragonfly" + i).scr = 100; eval ("dragonfly" + i).qty = 10; eval ("dragonfly" + i).hit = false; startObj(eval ("dragonfly" + i), 101, 50, 10); runObj(eval ("dragonfly" + i), 101, 50, 10, "dragonfly"); i++; } var i = 0; while (i < nBF) { attachMovie("butterfly", "butterfly" + i, 200 + i); eval ("butterfly" + i).wings.gotoAndStop(random(6) + 1); eval ("butterfly" + i).frm = 5; eval ("butterfly" + i).scr = 50; eval ("butterfly" + i).qty = 10; eval ("butterfly" + i).hit = false; startObj(eval ("butterfly" + i), 151, 100, 5); runObj(eval ("butterfly" + i), 151, 100, 5, "butterfly"); i++; } var i = 0; while (i < nBe) { attachMovie("bee", "bee" + i, 300 + i); eval ("bee" + i).frm = 8; eval ("bee" + i).scr = -10; eval ("bee" + i).qty = 5; eval ("bee" + i).hit = false; startObj(eval ("bee" + i), 151, 100, 2); runObj(eval ("bee" + i), 151, 100, 2, "bee"); i++; } var i = 0; while (i < nFl) { attachMovie("fly", "fly" + i, 400 + i); eval ("fly" + i).frm = 6; eval ("fly" + i).scr = 10; eval ("fly" + i).qty = 5; eval ("fly" + i).hit = false; startObj(eval ("fly" + i), 151, 100, 2); runObj(eval ("fly" + i), 151, 100, 2, "fly"); i++; } var i = 0; while (i < nPM) { attachMovie("prayingmantis", "prayingmantis" + i, 500 + i); eval ("prayingmantis" + i).frm = 1; eval ("prayingmantis" + i).scr = 150; eval ("prayingmantis" + i).qty = 10; eval ("prayingmantis" + i).hit = false; startObj(eval ("prayingmantis" + i), 101, 50, 10); runObj(eval ("prayingmantis" + i), 101, 50, 10, "prayingmantis"); i++; } var i = 0; while (i < nMo) { attachMovie("mosquito", "mosquito" + i, 600 + i); eval ("mosquito" + i).frm = 7; eval ("mosquito" + i).scr = 10; eval ("mosquito" + i).qty = 5; eval ("mosquito" + i).hit = false; startObj(eval ("mosquito" + i), 151, 100, 2); runObj(eval ("mosquito" + i), 151, 100, 2, "mosquito"); i++; } var i = 0; while (i < nMR) { attachMovie("mushroom", "mushroom" + i, 700 + i); eval ("mushroom" + i).frm = 14; eval ("mushroom" + i).scr = 10; eval ("mushroom" + i).qty = 10; eval ("mushroom" + i).gotoAndStop(2); eval ("mushroom" + i)._x = (CMR[i] * 50) + 100; eval ("mushroom" + i)._y = random(5) + 340; runObj4(eval ("mushroom" + i)); i++; } var i = 0; while (i < nCr) { attachMovie("cricket", "cricket" + i, 800 + i); eval ("cricket" + i).frm = 16; eval ("cricket" + i).scr = 100; eval ("cricket" + i).qty = 10; eval ("cricket" + i).hit = false; startObj2(eval ("cricket" + i)); runObj2(eval ("cricket" + i)); i++; } var i = 0; while (i < nSp) { attachMovie("spider", "spider" + i, 850 + i); eval ("spider" + i).frm = 12; eval ("spider" + i).scr = -10; eval ("spider" + i).qty = 10; eval ("spider" + i).hit = false; eval ("spider" + i)._x = (CSp[i] * 50) + 125; eval ("spider" + i)._y = -20; if (random(2) == 1) { eval ("spider" + i)._xscale = 100; } else { eval ("spider" + i)._xscale = -100; } runObj5(eval ("spider" + i)); i++; } attachMovie("beachunlocked", "stageInfo2", 912); stageInfo2._x = 1670; stageInfo2._y = 320; } function removeObjects() { var i = 0; while (i < nDF) { removeMovieClip(eval ("dragonfly" + i)); i++; } var i = 0; while (i < nBF) { removeMovieClip(eval ("butterfly" + i)); i++; } var i = 0; while (i < nBe) { removeMovieClip(eval ("bee" + i)); i++; } var i = 0; while (i < nFl) { removeMovieClip(eval ("fly" + i)); i++; } var i = 0; while (i < nPM) { removeMovieClip(eval ("prayingmantis" + i)); i++; } var i = 0; while (i < nMo) { removeMovieClip(eval ("mosquito" + i)); i++; } var i = 0; while (i < nMR) { removeMovieClip(eval ("mushroom" + i)); i++; } var i = 0; while (i < nCr) { removeMovieClip(eval ("cricket" + i)); i++; } var i = 0; while (i < nSp) { removeMovieClip(eval ("spider" + i)); i++; } removeMovieClip(stageInfo2); } function setXPosition(area) { var _local1; if (area <= 575) { _local1 = random(551) + 1700; objElsePos = true; } else if ((area > 575) && (area < 1175)) { if (random(2) == 1) { _local1 = random(551) + -500; objElsePos = false; } else { _local1 = random(551) + 1700; objElsePos = true; } } else if (area >= 1175) { _local1 = random(551) + -500; objElsePos = false; } return(_local1); } function startObj(obj, downLim, upLim, spRange) { obj._x = setXPosition(frogPos); obj._y = random(downLim) + upLim; obj.stayPos = random(551) + 600; obj.xTarget = random(551) + 600; obj.yTarget = random(downLim) + upLim; obj.speed = random(6) + spRange; } function runObj(obj, downLim, upLim, spRange, type) { obj.attack = false; obj.stat = 0; obj.onEnterFrame = function () { if (_root.gamePause == false) { if ((((this._x >= (this.xTarget - 15)) && (this._x <= (this.xTarget + 15))) && ((this._y >= (this.yTarget - 15)) && (this._y <= (this.yTarget + 15)))) && (this.hit == false)) { if ((type == "bee") || (type == "mosquito")) { this.gotoAndStop(1); this.attack = false; } this.speed = random(6) + spRange; this.GR = random(10); if (this.GR == 0) { this.stayPos = random(551) + -500; this.xTarget = random(551) + -500; this.yTarget = random(downLim) + upLim; } else if (this.GR == 1) { this.stayPos = random(551) + 50; this.xTarget = random(551) + 50; this.yTarget = random(downLim) + upLim; } else if (this.GR == 3) { this.stayPos = random(551) + 600; this.xTarget = random(551) + 600; this.yTarget = random(downLim) + upLim; } else if (this.GR == 4) { this.stayPos = random(551) + 1150; this.xTarget = random(551) + 1150; this.yTarget = random(downLim) + upLim; } else if (this.GR == 5) { this.stayPos = random(551) + 1700; this.xTarget = random(551) + 1700; this.yTarget = random(downLim) + upLim; } else { this.xTarget = this.stayPos; this.yTarget = random(downLim) + upLim; } } if ((((((this._x >= (frogPos - 50)) && (this._x <= (frogPos + 50))) && ((type == "bee") || (type == "mosquito"))) && (this.stat == 1)) && (this.attack == false)) && (_root.frogDeath == false)) { this.stat = 0; clearInterval(this.timerStat); this.attack = true; this.gotoAndStop(2); this.speed = 10; this.xTarget = frogPos; this.yTarget = 330; } if (this.sting.hitTest(_root.frog.hitPoint) && (_root.frogHit == false)) { if ((type == "bee") || (type == "mosquito")) { this.stat = 0; this.gotoAndStop(1); this.xTarget = random(551) + 600; this.yTarget = random(downLim) + upLim; _root.hP = _root.hP + -10; _root.movInfo.HM.effect._xscale = _root.movInfo.HM.meter._xscale; _root.movInfo.HM.meter._xscale = _root.hP; _root.movInfo.HM.effect.play(); _root.frogHit = true; _root.objInMouth = false; _root.movInfo.frogStat.gotoAndStop(1); _root.frog.eyes.gotoAndStop("hit"); _root.frog.head.gotoAndStop("hit"); _root.timerBack = setInterval(_root.back, 250); } } if (this.hitPoint.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } this.gotoAndPlay("startover"); } } i = 1; while (i <= 5) { if ((this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (this.hit == false)) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); this.xTarget = this._x; this.yTarget = 340; this.speed = 10; this.stat = 0; } else if ((this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (this.hit == false)) && (_root.flame == false)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; this.gotoAndPlay("hit"); this.xTarget = this._x; this.yTarget = 340; this.speed = 10; this.stat = 0; } i++; } if (this.xTarget < this._x) { this._xscale = 100; } else if (this.xTarget > this._x) { this._xscale = -100; } this.deltaX = this._x - this.xTarget; this.deltaY = this._y - this.yTarget; this.rotation = (-Math.atan2(this.deltaX, this.deltaY)) / (Math.PI/180); if (Math.sqrt((this.deltaX * this.deltaX) + (this.deltaY * this.deltaY)) > this.speed) { this._y = this._y - (this.speed * Math.cos(this.rotation * (Math.PI/180))); this._x = this._x + (this.speed * Math.sin(this.rotation * (Math.PI/180))); } } }; } function startObj2(obj) { obj._x = setXPosition(frogPos); obj._y = 310; obj.difY = -15; if ((obj._x >= -500) && (obj._x <= 50)) { obj.difX = 15; obj._xscale = -100; } else if ((obj._x >= 1700) && (obj._x <= 2250)) { obj.difX = -15; obj._xscale = 100; } obj.vx = ((Math.cos(Math.atan2(obj.difY, obj.difX)) * vo) * 1.5) / vo; } function runObj2(obj) { gravity = 0.5; vo = random(5) + 5; obj.fall = false; obj.vx = ((Math.cos(Math.atan2(obj.difY, obj.difX)) * vo) * 1.5) / vo; obj.vy = ((Math.sin(Math.atan2(obj.difY, obj.difX)) * vo) * 1.5) / vo; obj.onEnterFrame = function () { if ((_root.gamePause == false) && (this.fall == false)) { this.vy = this.vy + (gravity / vo); i = 0; while (i < 16) { this._x = this._x + this.vx; this._y = this._y + this.vy; if ((this._y > 340) && (this.hit == false)) { GR = random(3); if (GR == 1) { this.difX = this.difX * -1; this._xscale = this._xscale * -1; } vo = random(5) + 5; this.vx = ((Math.cos(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; this.vy = ((Math.sin(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; this.gotoAndPlay(2); } else if ((this._y > 340) && (this.hit == true)) { this.fall = true; } i++; } if ((this._x < -550) || (this._x > 2250)) { this.difY = -15; this.difX = this.difX * -1; this._xscale = this._xscale * -1; vo = random(5) + 5; this.vx = ((Math.cos(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; this.vy = ((Math.sin(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; } i = 1; while (i <= 5) { if (this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); this.vx = 0; this.vy = 0.5; } else if (this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (_root.flame == false)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; this.gotoAndPlay("hit"); this.vx = 0; this.vy = 0.5; } i++; } } if (this.hitPoint.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } this.gotoAndPlay("startover"); } } }; } function startObj3(obj) { obj._x = setXPosition(frogPos); obj._y = 310; obj.attack = false; if ((obj._x >= -500) && (obj._x <= 50)) { obj.stat = 1; obj.X = 3; obj._xscale = 100; } else if ((obj._x >= 1700) && (obj._x <= 2250)) { obj.stat = 0; obj.X = -3; obj._xscale = -100; } } function runObj3(obj) { obj.onEnterFrame = function () { if (_root.gamePause == false) { if (((((((this._x >= frogPos) && (this._x <= (frogPos + 100))) && (_root.freeze == false)) && (this.attack == false)) && (this.stat == 1)) && (this.hit == false)) && (_root.frogDeath == false)) { this.gotoAndPlay("turn"); this.stat = 0; } else if (((((((this._x >= (frogPos - 100)) && (this._x <= frogPos)) && (_root.freeze == false)) && (this.attack == false)) && (obj.stat == 0)) && (this.hit == false)) && (_root.frogDeath == false)) { this.gotoAndPlay("turn"); this.stat = 1; } else if ((((((this._x >= (frogPos - 10)) && (this._x <= (frogPos + 10))) && (_root.freeze == false)) && (this.attack == false)) && (this.hit == false)) && (_root.frogDeath == false)) { if (this.stat == 1) { this.X = 5; } else { this.X = -5; } this.gotoAndPlay("attack"); this.attack = true; } if (((((this._x >= (frogPos - 100)) && (this._x <= (frogPos + 100))) && (this.attack == false)) && (this.hit == false)) && (_root.frogDeath == false)) { this.alert._visible = true; } else { this.alert._visible = false; } if (this.weapon.hitTest(_root.frog) && (_root.frogHit == false)) { _root.hP = _root.hP + -10; _root.movInfo.HM.effect._xscale = _root.movInfo.HM.meter._xscale; _root.movInfo.HM.meter._xscale = _root.hP; _root.movInfo.HM.effect.play(); _root.frogHit = true; _root.objInMouth = false; _root.movInfo.frogStat.gotoAndStop(1); _root.frog.eyes.gotoAndStop("hit"); _root.frog.head.gotoAndStop("hit"); _root.timerBack = setInterval(_root.back, 250); } i = 1; while (i <= 5) { if (this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 50; _root.movInfo.score.text = _root.totScore; attachMovie("HOP50", "HOP50" + countHit, 950 + countHit); eval ("HOP50" + countHit)._x = this._x; eval ("HOP50" + countHit)._y = this._y - 10; this.X = 0; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); } i++; } if ((this._x <= -150) || (this._x >= 1800)) { startObj3(this); } this._x = this._x + this.X; } }; } function runObj4(obj) { obj.onEnterFrame = function () { if (this.hitPoint.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } removeMovieClip(this); } } }; } function startObj5(obj) { i = 0; while (i < nSp) { do { cntCSp = 0; obj.GR = posCSp[random(posCSp.length)]; j = 0; while (j < i) { if (obj.GR != CSp[j]) { cntCSp = cntCSp + 1; } j++; } } while (cntCSp != i); CSp[Number(obj._name.substr(6, 1))] = obj.GR; i++; } obj._x = (obj.GR * 50) + 125; obj._y = -20; if (random(2) == 1) { obj._xscale = 100; } else { obj._xscale = -100; } obj.attack = false; obj.Y = 0; } function runObj5(obj) { obj.attack = false; obj.Y = 0; obj.onEnterFrame = function () { if (_root.gamePause == true) { this.spiderAtt.stop(); } if (_root.gamePause == false) { this.spiderAtt.play(); if ((((this._x >= (frogPos - 20)) && (this._x <= (frogPos + 20))) && (this.attack == false)) && (_root.frogDeath == false)) { this.attack = true; this.gotoAndStop(2); } if (this.spiderAtt.hitPoint.hitTest(_root.frog.hitPoint) && (_root.frogHit == false)) { _root.hP = _root.hP + -10; _root.movInfo.HM.effect._xscale = _root.movInfo.HM.meter._xscale; _root.movInfo.HM.meter._xscale = _root.hP; _root.movInfo.HM.effect.play(); _root.frogHit = true; _root.objInMouth = false; _root.movInfo.frogStat.gotoAndStop(1); _root.frog.eyes.gotoAndStop("hit"); _root.frog.head.gotoAndStop("hit"); _root.timerBack = setInterval(_root.back, 250); } if (this.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } this.gotoAndPlay("startover"); } } i = 1; while (i <= 5) { if ((this.hitTest(eval ("_root.objSpit" + i).hitPoint) && (this.hit == false)) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); this._y = eval ("_root.objSpit" + i)._y; eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); this.Y = 10; } else if ((this.hitTest(eval ("_root.objSpit" + i).hitPoint) && (this.hit == false)) && (_root.flame == false)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); this._y = eval ("_root.objSpit" + i)._y; eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; this.gotoAndPlay("hit"); this.Y = 10; } i++; } if (this._y > 340) { this.Y = 0; } this._y = this._y + this.Y; } }; } var frogPos = 875; var rnd; var count = 0; var objElsePos; var countHit = 0; var nCr; var nPM; var nDF; var nBF; var nBe; var nMo; var nSp; var nMR; var nFl; if (_root.gameLevel == 1) { nCr = 0; nPM = 0; nDF = 2; nBF = 2; nBe = 3; nMo = 3; nFl = 3; nSp = 1; nMR = 3; } else if (_root.gameLevel == 2) { nCr = 0; nPM = 0; nDF = 2; nBF = 2; nBe = 4; nMo = 3; nFl = 4; nSp = 1; nMR = 3; } else if (_root.gameLevel == 3) { nCr = 1; nPM = 0; nDF = 2; nBF = 2; nBe = 4; nMo = 3; nFl = 4; nSp = 1; nMR = 2; } else if (_root.gameLevel == 4) { nCr = 0; nPM = 0; nDF = 2; nBF = 2; nBe = 4; nMo = 4; nFl = 4; nSp = 1; nMR = 2; } else if (_root.gameLevel == 5) { nCr = 1; nPM = 0; nDF = 2; nBF = 2; nBe = 5; nMo = 4; nFl = 4; nSp = 1; nMR = 1; } else { nCr = 1; nPM = 1; nDF = 2; nBF = 2; nBe = 6; nMo = 4; nFl = 4; nSp = 1; nMR = 1; } var CSp = new Array(); var posCSp = new Array(0, 1, 2, 3, 4); CSp[0] = posCSp[random(posCSp.length)]; i = 1; while (i < nSp) { do { cntCSp = 0; CSp[i] = posCSp[random(posCSp.length)]; j = 0; while (j < i) { if (CSp[i] != CSp[j]) { cntCSp = cntCSp + 1; } j++; } } while (cntCSp != i); i++; } var CMR = new Array(); var posCMR = new Array(0, 1, 2, 3, 4); CMR[0] = posCMR[random(posCMR.length)]; i = 1; while (i < nMR) { do { cntCMR = 0; CMR[i] = posCMR[random(posCMR.length)]; j = 0; while (j < i) { if (CMR[i] != CMR[j]) { cntCMR = cntCMR + 1; } j++; } } while (cntCMR != i); i++; } createObjects(); stop();
Symbol 766 MovieClip Frame 1
function createObjects() { var i = 0; while (i < nBa) { attachMovie("bat", "bat" + i, 300 + i); eval ("bat" + i).hit = false; startObj(eval ("bat" + i), 101, 50, 10); runObj(eval ("bat" + i), 101, 50, 10, "bat"); i++; } var i = 0; while (i < nMo) { attachMovie("mosquito", "mosquito" + i, 600 + i); eval ("mosquito" + i).frm = 7; eval ("mosquito" + i).scr = 10; eval ("mosquito" + i).qty = 5; eval ("mosquito" + i).hit = false; startObj(eval ("mosquito" + i), 151, 100, 2); runObj(eval ("mosquito" + i), 151, 100, 2, "mosquito"); i++; } var i = 0; while (i < nMR) { attachMovie("mushroom", "mushroom" + i, 700 + i); eval ("mushroom" + i).frm = 15; eval ("mushroom" + i).scr = 50; eval ("mushroom" + i).qty = 10; eval ("mushroom" + i).gotoAndStop(3); eval ("mushroom" + i)._x = (CMR[i] * 50) + 200; eval ("mushroom" + i)._y = random(5) + 340; runObj4(eval ("mushroom" + i)); i++; } var i = 0; while (i < nCr) { attachMovie("cricket", "cricket" + i, 800 + i); eval ("cricket" + i).frm = 16; eval ("cricket" + i).scr = 100; eval ("cricket" + i).qty = 10; eval ("cricket" + i).hit = false; startObj2(eval ("cricket" + i)); runObj2(eval ("cricket" + i)); i++; } var i = 0; while (i < nSp) { attachMovie("spider", "spider" + i, 850 + i); eval ("spider" + i).frm = 12; eval ("spider" + i).scr = -10; eval ("spider" + i).qty = 10; eval ("spider" + i).hit = false; eval ("spider" + i)._x = (CSp[i] * 50) + 225; eval ("spider" + i)._y = -20; if (random(2) == 1) { eval ("spider" + i)._xscale = 100; } else { eval ("spider" + i)._xscale = -100; } runObj5(eval ("spider" + i)); i++; } var i = 0; while (i < nSn) { attachMovie("snake", "snake", 900 + i); snake.scr = 100; snake.hit = false; snake.alert._visible = false; startObj3(snake); runObj3(snake); i++; } attachMovie("forestunlocked", "stageInfo1", 911); stageInfo1._x = 80; stageInfo1._y = 320; } function removeObjects() { var i = 0; while (i < nBa) { removeMovieClip(eval ("bat" + i)); i++; } var i = 0; while (i < nMo) { removeMovieClip(eval ("mosquito" + i)); i++; } var i = 0; while (i < nMR) { removeMovieClip(eval ("mushroom" + i)); i++; } var i = 0; while (i < nCr) { removeMovieClip(eval ("cricket" + i)); i++; } var i = 0; while (i < nSp) { removeMovieClip(eval ("spider" + i)); i++; } var i = 0; while (i < nSn) { removeMovieClip(snake); i++; } removeMovieClip(stageInfo1); } function setXPosition(area) { var _local1; if (area <= 575) { _local1 = random(551) + 1700; objElsePos = true; } else if ((area > 575) && (area < 1175)) { if (random(2) == 1) { _local1 = random(551) + -500; objElsePos = false; } else { _local1 = random(551) + 1700; objElsePos = true; } } else if (area >= 1175) { _local1 = random(551) + -500; objElsePos = false; } return(_local1); } function startObj(obj, downLim, upLim, spRange) { obj._x = setXPosition(frogPos); obj._y = random(downLim) + upLim; obj.stayPos = random(551) + 600; obj.xTarget = random(551) + 600; obj.yTarget = random(downLim) + upLim; obj.speed = random(6) + spRange; } function runObj(obj, downLim, upLim, spRange, type) { obj.attack = false; obj.stat = 0; obj.onEnterFrame = function () { if (_root.gamePause == false) { if ((((this._x >= (this.xTarget - 20)) && (this._x <= (this.xTarget + 20))) && ((this._y >= (this.yTarget - 20)) && (this._y <= (this.yTarget + 20)))) && (this.hit == false)) { if ((type == "bat") || (type == "mosquito")) { this.gotoAndStop(1); this.attack = false; } this.speed = random(6) + spRange; this.GR = random(10); if (this.GR == 0) { this.stayPos = random(551) + -500; this.xTarget = random(551) + -500; this.yTarget = random(downLim) + upLim; } else if (this.GR == 1) { this.stayPos = random(551) + 50; this.xTarget = random(551) + 50; this.yTarget = random(downLim) + upLim; } else if (this.GR == 3) { this.stayPos = random(551) + 600; this.xTarget = random(551) + 600; this.yTarget = random(downLim) + upLim; } else if (this.GR == 4) { this.stayPos = random(551) + 1150; this.xTarget = random(551) + 1150; this.yTarget = random(downLim) + upLim; } else if (this.GR == 5) { this.stayPos = random(551) + 1700; this.xTarget = random(551) + 1700; this.yTarget = random(downLim) + upLim; } else { this.xTarget = this.stayPos; this.yTarget = random(downLim) + upLim; } } if (((((((this._x >= (frogPos - 50)) && (this._x <= (frogPos + 50))) && (type == "bat")) && (this.stat == 1)) && (this.attack == false)) && (_root.frogDeath == false)) && (_root.freeze == false)) { this.stat = 0; clearInterval(this.timerStat); this.attack = true; this.gotoAndStop(2); this.speed = 20; this.xTarget = frogPos; this.yTarget = 330; } else if ((((((this._x >= (frogPos - 50)) && (this._x <= (frogPos + 50))) && (type == "mosquito")) && (this.stat == 1)) && (this.attack == false)) && (_root.frogDeath == false)) { this.stat = 0; clearInterval(this.timerStat); this.attack = true; this.gotoAndStop(2); this.speed = 10; this.xTarget = frogPos; this.yTarget = 330; } if (this.sting.hitTest(_root.frog.hitPoint) && (_root.frogHit == false)) { if ((type == "bat") || (type == "mosquito")) { this.stat = 0; this.gotoAndStop(1); this.xTarget = random(551) + 600; this.yTarget = random(downLim) + upLim; _root.hP = _root.hP + -10; _root.movInfo.HM.effect._xscale = _root.movInfo.HM.meter._xscale; _root.movInfo.HM.meter._xscale = _root.hP; _root.movInfo.HM.effect.play(); _root.frogHit = true; _root.objInMouth = false; _root.movInfo.frogStat.gotoAndStop(1); _root.frog.eyes.gotoAndStop("hit"); _root.frog.head.gotoAndStop("hit"); _root.timerBack = setInterval(_root.back, 250); } } if ((this.hitPoint.hitTest(_root.tongue.outer) && (_root.shoot == true)) && (type != "bat")) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } this.gotoAndPlay("startover"); } } i = 1; while (i <= 5) { if ((this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (this.hit == false)) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); this.xTarget = this._x; this.yTarget = 340; this.speed = 10; this.stat = 0; } else if (((this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (this.hit == false)) && (_root.flame == false)) && (type != "bat")) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; this.gotoAndPlay("hit"); this.xTarget = this._x; this.yTarget = 340; this.speed = 10; this.stat = 0; } i++; } if (this.xTarget < this._x) { this._xscale = 100; } else if (this.xTarget > this._x) { this._xscale = -100; } this.deltaX = this._x - this.xTarget; this.deltaY = this._y - this.yTarget; this.rotation = (-Math.atan2(this.deltaX, this.deltaY)) / (Math.PI/180); if (Math.sqrt((this.deltaX * this.deltaX) + (this.deltaY * this.deltaY)) > this.speed) { this._y = this._y - (this.speed * Math.cos(this.rotation * (Math.PI/180))); this._x = this._x + (this.speed * Math.sin(this.rotation * (Math.PI/180))); } } }; } function startObj2(obj) { obj._x = setXPosition(frogPos); obj._y = 310; obj.difY = -15; if ((obj._x >= -500) && (obj._x <= 50)) { obj.difX = 15; obj._xscale = -100; } else if ((obj._x >= 1700) && (obj._x <= 2250)) { obj.difX = -15; obj._xscale = 100; } obj.vx = ((Math.cos(Math.atan2(obj.difY, obj.difX)) * vo) * 1.5) / vo; } function runObj2(obj) { gravity = 0.5; vo = random(5) + 5; obj.fall = false; obj.vx = ((Math.cos(Math.atan2(obj.difY, obj.difX)) * vo) * 1.5) / vo; obj.vy = ((Math.sin(Math.atan2(obj.difY, obj.difX)) * vo) * 1.5) / vo; obj.onEnterFrame = function () { if ((_root.gamePause == false) && (this.fall == false)) { this.vy = this.vy + (gravity / vo); i = 0; while (i < 16) { this._x = this._x + this.vx; this._y = this._y + this.vy; if ((this._y > 340) && (this.hit == false)) { GR = random(3); if (GR == 1) { this.difX = this.difX * -1; this._xscale = this._xscale * -1; } vo = random(5) + 5; this.vx = ((Math.cos(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; this.vy = ((Math.sin(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; this.gotoAndPlay(2); } else if ((this._y > 340) && (this.hit == true)) { this.fall = true; } i++; } if ((this._x < -550) || (this._x > 2250)) { this.difY = -15; this.difX = this.difX * -1; this._xscale = this._xscale * -1; vo = random(5) + 5; this.vx = ((Math.cos(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; this.vy = ((Math.sin(Math.atan2(this.difY, this.difX)) * vo) * 1.5) / vo; } i = 1; while (i <= 5) { if (this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); this.vx = 0; this.vy = 0.5; } else if (this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (_root.flame == false)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; this.gotoAndPlay("hit"); this.vx = 0; this.vy = 0.5; } i++; } } if (this.hitPoint.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } this.gotoAndPlay("startover"); } } }; } function startObj3(obj) { obj._x = setXPosition(frogPos); obj._y = 310; obj.attack = false; if ((obj._x >= -500) && (obj._x <= 50)) { obj.stat = 1; obj.X = 3; obj._xscale = 100; } else if ((obj._x >= 1700) && (obj._x <= 2250)) { obj.stat = 0; obj.X = -3; obj._xscale = -100; } } function runObj3(obj) { obj.onEnterFrame = function () { if (_root.gamePause == false) { if (((((((this._x >= frogPos) && (this._x <= (frogPos + 100))) && (_root.freeze == false)) && (this.attack == false)) && (this.stat == 1)) && (this.hit == false)) && (_root.frogDeath == false)) { this.gotoAndPlay("turn"); this.stat = 0; } else if (((((((this._x >= (frogPos - 100)) && (this._x <= frogPos)) && (_root.freeze == false)) && (this.attack == false)) && (obj.stat == 0)) && (this.hit == false)) && (_root.frogDeath == false)) { this.gotoAndPlay("turn"); this.stat = 1; } else if ((((((this._x >= (frogPos - 10)) && (this._x <= (frogPos + 10))) && (_root.freeze == false)) && (this.attack == false)) && (this.hit == false)) && (_root.frogDeath == false)) { if (this.stat == 1) { this.X = 5; this._xscale = 100; } else { this.X = -5; this._xscale = -100; } this.gotoAndPlay("attack"); this.attack = true; } if (((((this._x >= (frogPos - 100)) && (this._x <= (frogPos + 100))) && (this.attack == false)) && (this.hit == false)) && (_root.frogDeath == false)) { this.alert._visible = true; } else { this.alert._visible = false; } if (this.weapon.hitTest(_root.frog) && (_root.frogHit == false)) { _root.hP = _root.hP + -10; _root.movInfo.HM.effect._xscale = _root.movInfo.HM.meter._xscale; _root.movInfo.HM.meter._xscale = _root.hP; _root.movInfo.HM.effect.play(); _root.frogHit = true; _root.objInMouth = false; _root.movInfo.frogStat.gotoAndStop(1); _root.frog.eyes.gotoAndStop("hit"); _root.frog.head.gotoAndStop("hit"); _root.timerBack = setInterval(_root.back, 250); } i = 1; while (i <= 5) { if (this.hitPoint.hitTest(eval ("_root.objSpit" + i).hitPoint) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 50; _root.movInfo.score.text = _root.totScore; attachMovie("HOP50", "HOP50" + countHit, 950 + countHit); eval ("HOP50" + countHit)._x = this._x; eval ("HOP50" + countHit)._y = this._y - 10; this.X = 0; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); } i++; } if ((this._x <= -150) || (this._x >= 1800)) { startObj3(snake); } this._x = this._x + this.X; } }; } function runObj4(obj) { obj.onEnterFrame = function () { if (this.hitPoint.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } removeMovieClip(this); } } }; } function startObj5(obj) { i = 0; while (i < nSp) { do { cntCSp = 0; obj.GR = random(27); j = 0; while (j < i) { if (obj.GR != CSp[j]) { cntCSp = cntCSp + 1; } j++; } } while (cntCSp != i); CSp[Number(obj._name.substr(6, 1))] = obj.GR; i++; } obj._x = (obj.GR * 50) + 225; obj._y = -20; if (random(2) == 1) { obj._xscale = 100; } else { obj._xscale = -100; } obj.attack = false; obj.Y = 0; } function runObj5(obj) { obj.attack = false; obj.Y = 0; obj.onEnterFrame = function () { if (_root.gamePause == true) { this.spiderAtt.stop(); } if (_root.gamePause == false) { this.spiderAtt.play(); if ((((this._x >= (frogPos - 20)) && (this._x <= (frogPos + 20))) && (this.attack == false)) && (_root.frogDeath == false)) { this.attack = true; this.gotoAndStop(2); } if (this.spiderAtt.hitPoint.hitTest(_root.frog.hitPoint) && (_root.frogHit == false)) { _root.hP = _root.hP + -10; _root.movInfo.HM.effect._xscale = _root.movInfo.HM.meter._xscale; _root.movInfo.HM.meter._xscale = _root.hP; _root.movInfo.HM.effect.play(); _root.frogHit = true; _root.objInMouth = false; _root.movInfo.frogStat.gotoAndStop(1); _root.frog.eyes.gotoAndStop("hit"); _root.frog.head.gotoAndStop("hit"); _root.timerBack = setInterval(_root.back, 250); } if (this.hitTest(_root.tongue.outer) && (_root.shoot == true)) { count++; if (count == 1) { _root.objInMouth = true; _root.frmObjBeEaten = this.frm; _root.objScore = this.scr; _root.objQty = this.qty; if ((_root.objInStomach == true) && (_root.stomachFull == false)) { _root.movInfo.frogStat.gotoAndPlay("instomach2"); } else { _root.movInfo.frogStat.gotoAndPlay("inmouth"); } this.gotoAndPlay("startover"); } } i = 1; while (i <= 5) { if ((this.hitTest(eval ("_root.objSpit" + i).hitPoint) && (this.hit == false)) && (_root.flame == true)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); this._y = eval ("_root.objSpit" + i)._y; eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; removeMovieClip(eval ("_root.objSpit" + i)); this.gotoAndPlay("burn"); this.Y = 10; } else if ((this.hitTest(eval ("_root.objSpit" + i).hitPoint) && (this.hit == false)) && (_root.flame == false)) { this.hit = true; countHit++; _root.totScore = _root.totScore + 10; _root.movInfo.score.text = _root.totScore; attachMovie("HOP10", "HOP10" + countHit, 950 + countHit); this._y = eval ("_root.objSpit" + i)._y; eval ("HOP10" + countHit)._x = this._x; eval ("HOP10" + countHit)._y = this._y; this.gotoAndPlay("hit"); this.Y = 10; } i++; } if (this._y > 340) { this.Y = 0; } this._y = this._y + this.Y; } }; } var frogPos = 875; var rnd; var count = 0; var objElsePos; var countHit = 0; var nCr; var nBa; var nMo; var nSp; var nSn; var nMR; if (_root.gameLevel == 1) { nCr = 1; nBa = 2; nMo = 8; nSp = 3; nSn = 1; nMR = 5; } else if (_root.gameLevel == 2) { nCr = 1; nBa = 2; nMo = 8; nSp = 3; nSn = 1; nMR = 5; } else if (_root.gameLevel == 3) { nCr = 1; nBa = 2; nMo = 10; nSp = 3; nSn = 1; nMR = 5; } else if (_root.gameLevel == 4) { nCr = 1; nBa = 2; nMo = 10; nSp = 4; nSn = 1; nMR = 5; } else if (_root.gameLevel == 5) { nCr = 1; nBa = 3; nMo = 12; nSp = 4; nSn = 1; nMR = 5; } else { nCr = 1; nBa = 3; nMo = 12; nSp = 4; nSn = 1; nMR = 5; } var CSp = new Array(); CSp[0] = random(27); i = 1; while (i < nSp) { do { cntCSp = 0; CSp[i] = random(27); j = 0; while (j < i) { if (CSp[i] != CSp[j]) { cntCSp = cntCSp + 1; } j++; } } while (cntCSp != i); i++; } var CMR = new Array(); CMR[0] = random(28); i = 1; while (i < nMR) { do { cntCMR = 0; CMR[i] = random(28); j = 0; while (j < i) { if (CMR[i] != CMR[j]) { cntCMR = cntCMR + 1; } j++; } } while (cntCMR != i); i++; } createObjects(); stop();

Library Items

Symbol 1 Sound [throw.wav]
Symbol 2 Sound [splash.wav]
Symbol 3 Sound [spider.wav]
Symbol 4 Sound [snake.wav]
Symbol 5 Sound [music6.wav]
Symbol 6 Sound [music5.wav]
Symbol 7 Sound [music4.wav]
Symbol 8 Sound [music3.wav]
Symbol 9 Sound [music2.wav]
Symbol 10 Sound [music1.wav]
Symbol 11 Sound [music0.wav]
Symbol 12 Sound [mosquito.wav]
Symbol 13 Sound [magicpower.wav]
Symbol 14 Sound [hitobject.wav]
Symbol 15 Sound [hit.wav]
Symbol 16 Sound [gameover.wav]
Symbol 17 Sound [frog.wav]
Symbol 18 Sound [freeze.wav]
Symbol 19 Sound [fire.wav]
Symbol 20 Sound [feces.wav]
Symbol 21 Sound [fall.wav]
Symbol 22 Sound [enterstage.wav]
Symbol 23 Sound [eat.wav]
Symbol 24 Sound [down.wav]
Symbol 25 Sound [crab.wav]
Symbol 26 Sound [click.wav]
Symbol 27 Sound [catch.wav]
Symbol 28 Sound [burn.wav]
Symbol 29 Sound [bee.wav]
Symbol 30 Sound [bat.wav]
Symbol 31 GraphicUsed by:34 35
Symbol 32 GraphicUsed by:33 39
Symbol 33 MovieClipUses:32Used by:34 59 69 87 114 198 214 234 251 324 332 338 392 426 435 487 493
Symbol 34 MovieClipUses:31 33Used by:35
Symbol 35 MovieClip [coconut]Uses:31 34
Symbol 36 GraphicUsed by:39
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:39
Symbol 39 MovieClip [cursor]Uses:36 38 32
Symbol 40 GraphicUsed by:44
Symbol 41 GraphicUsed by:44
Symbol 42 GraphicUsed by:44
Symbol 43 GraphicUsed by:44 62 217
Symbol 44 MovieClipUses:40 41 42 43Used by:59
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:45Used by:59 214 324 332 392
Symbol 47 GraphicUsed by:49
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:47 48Used by:59
Symbol 50 GraphicUsed by:59
Symbol 51 GraphicUsed by:59
Symbol 52 GraphicUsed by:59
Symbol 53 GraphicUsed by:59
Symbol 54 GraphicUsed by:59
Symbol 55 GraphicUsed by:58
Symbol 56 GraphicUsed by:58
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClipUses:55 56 57Used by:59 69 87 114 214 234 251 324 332 342 392 435 493
Symbol 59 MovieClip [bee]Uses:33 44 46 49 50 51 52 53 54 58
Symbol 60 GraphicUsed by:69
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClipUses:61 43Used by:69
Symbol 63 GraphicUsed by:69
Symbol 64 GraphicUsed by:69
Symbol 65 GraphicUsed by:69
Symbol 66 GraphicUsed by:69
Symbol 67 GraphicUsed by:69
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClip [fly]Uses:33 60 62 63 64 65 66 67 68 58
Symbol 70 GraphicUsed by:72
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:70 71Used by:87
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClipUses:73Used by:79
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:75Used by:79
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:77Used by:79
Symbol 79 MovieClipUses:74 76 78Used by:87
Symbol 80 GraphicUsed by:82
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:80 81Used by:87
Symbol 83 GraphicUsed by:87
Symbol 84 GraphicUsed by:87
Symbol 85 GraphicUsed by:87
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClip [dragonfly]Uses:33 72 79 82 83 84 85 86 58
Symbol 88 GraphicUsed by:114
Symbol 89 GraphicUsed by:91
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClipUses:89 90Used by:107
Symbol 92 GraphicUsed by:94
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:92 93Used by:107
Symbol 95 GraphicUsed by:97
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:95 96Used by:107
Symbol 98 GraphicUsed by:100
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:98 99Used by:107
Symbol 101 GraphicUsed by:103
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:101 102Used by:107
Symbol 104 GraphicUsed by:106
Symbol 105 GraphicUsed by:106
Symbol 106 MovieClipUses:104 105Used by:107
Symbol 107 MovieClipUses:91 94 97 100 103 106Used by:114
Symbol 108 GraphicUsed by:114
Symbol 109 GraphicUsed by:114
Symbol 110 GraphicUsed by:114
Symbol 111 GraphicUsed by:114
Symbol 112 GraphicUsed by:114
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClip [butterfly]Uses:33 88 107 108 109 110 111 112 113 58
Symbol 115 GraphicUsed by:198
Symbol 116 GraphicUsed by:120
Symbol 117 GraphicUsed by:120
Symbol 118 GraphicUsed by:120
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:116 117 118 119Used by:198 466 626
Symbol 121 GraphicUsed by:198
Symbol 122 GraphicUsed by:130
Symbol 123 GraphicUsed by:126
Symbol 124 GraphicUsed by:126
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:123 124 125Used by:130
Symbol 127 GraphicUsed by:130
Symbol 128 GraphicUsed by:130
Symbol 129 GraphicUsed by:130
Symbol 130 MovieClipUses:122 126 127 128 129Used by:198
Symbol 131 GraphicUsed by:141
Symbol 132 GraphicUsed by:141
Symbol 133 GraphicUsed by:141
Symbol 134 GraphicUsed by:141
Symbol 135 GraphicUsed by:141
Symbol 136 GraphicUsed by:141
Symbol 137 GraphicUsed by:141
Symbol 138 GraphicUsed by:141
Symbol 139 GraphicUsed by:141
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClipUses:131 132 133 134 135 136 137 138 139 140Used by:198
Symbol 142 GraphicUsed by:153
Symbol 143 GraphicUsed by:147
Symbol 144 GraphicUsed by:147
Symbol 145 GraphicUsed by:147
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:143 144 145 146Used by:153
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:148Used by:153
Symbol 150 GraphicUsed by:153
Symbol 151 GraphicUsed by:153
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClipUses:142 147 149 150 151 152Used by:198
Symbol 154 GraphicUsed by:198
Symbol 155 GraphicUsed by:198
Symbol 156 GraphicUsed by:198
Symbol 157 GraphicUsed by:198
Symbol 158 GraphicUsed by:198
Symbol 159 GraphicUsed by:198
Symbol 160 GraphicUsed by:198
Symbol 161 GraphicUsed by:198
Symbol 162 GraphicUsed by:198
Symbol 163 GraphicUsed by:198
Symbol 164 GraphicUsed by:198
Symbol 165 GraphicUsed by:198
Symbol 166 GraphicUsed by:198
Symbol 167 GraphicUsed by:198
Symbol 168 GraphicUsed by:198
Symbol 169 GraphicUsed by:198
Symbol 170 GraphicUsed by:198
Symbol 171 GraphicUsed by:198
Symbol 172 GraphicUsed by:198
Symbol 173 GraphicUsed by:198
Symbol 174 GraphicUsed by:198
Symbol 175 GraphicUsed by:198
Symbol 176 GraphicUsed by:198
Symbol 177 GraphicUsed by:198
Symbol 178 GraphicUsed by:198
Symbol 179 GraphicUsed by:198
Symbol 180 GraphicUsed by:198
Symbol 181 GraphicUsed by:198
Symbol 182 GraphicUsed by:198
Symbol 183 GraphicUsed by:198
Symbol 184 GraphicUsed by:198
Symbol 185 GraphicUsed by:198
Symbol 186 GraphicUsed by:198
Symbol 187 GraphicUsed by:198
Symbol 188 GraphicUsed by:198
Symbol 189 GraphicUsed by:198
Symbol 190 GraphicUsed by:198
Symbol 191 GraphicUsed by:198
Symbol 192 GraphicUsed by:198
Symbol 193 GraphicUsed by:198
Symbol 194 GraphicUsed by:198
Symbol 195 GraphicUsed by:198
Symbol 196 GraphicUsed by:198
Symbol 197 GraphicUsed by:198
Symbol 198 MovieClip [frog]Uses:115 120 121 130 141 153 33 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197
Symbol 199 GraphicUsed by:203
Symbol 200 GraphicUsed by:203
Symbol 201 GraphicUsed by:203
Symbol 202 GraphicUsed by:203
Symbol 203 MovieClipUses:199 200 201 202Used by:214
Symbol 204 GraphicUsed by:208
Symbol 205 GraphicUsed by:208
Symbol 206 GraphicUsed by:208
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClipUses:204 205 206 207Used by:214
Symbol 209 GraphicUsed by:214
Symbol 210 GraphicUsed by:214
Symbol 211 GraphicUsed by:214
Symbol 212 GraphicUsed by:214
Symbol 213 GraphicUsed by:214
Symbol 214 MovieClip [mosquito]Uses:33 203 46 208 209 210 211 212 213 58
Symbol 215 GraphicUsed by:234
Symbol 216 GraphicUsed by:217
Symbol 217 MovieClipUses:216 43Used by:234
Symbol 218 GraphicUsed by:219
Symbol 219 MovieClipUses:218Used by:227
Symbol 220 GraphicUsed by:221
Symbol 221 MovieClipUses:220Used by:227
Symbol 222 GraphicUsed by:223
Symbol 223 MovieClipUses:222Used by:227
Symbol 224 GraphicUsed by:227
Symbol 225 GraphicUsed by:227
Symbol 226 GraphicUsed by:227
Symbol 227 MovieClipUses:219 221 223 224 225 226Used by:234
Symbol 228 GraphicUsed by:234
Symbol 229 GraphicUsed by:234
Symbol 230 GraphicUsed by:234
Symbol 231 GraphicUsed by:234
Symbol 232 GraphicUsed by:234
Symbol 233 GraphicUsed by:234
Symbol 234 MovieClip [ladybug]Uses:33 215 217 227 228 229 230 231 232 233 58
Symbol 235 GraphicUsed by:236
Symbol 236 MovieClipUses:235Used by:239
Symbol 237 GraphicUsed by:238
Symbol 238 MovieClipUses:237Used by:239
Symbol 239 MovieClip [tongue]Uses:236 238
Symbol 240 MovieClip [empty]
Symbol 241 GraphicUsed by:251
Symbol 242 GraphicUsed by:244
Symbol 243 GraphicUsed by:244
Symbol 244 MovieClipUses:242 243Used by:251
Symbol 245 GraphicUsed by:251
Symbol 246 GraphicUsed by:251
Symbol 247 GraphicUsed by:251
Symbol 248 GraphicUsed by:251
Symbol 249 GraphicUsed by:251
Symbol 250 GraphicUsed by:251
Symbol 251 MovieClip [prayingmantis]Uses:33 241 244 245 246 247 248 249 250 58
Symbol 252 GraphicUsed by:276
Symbol 253 GraphicUsed by:276
Symbol 254 GraphicUsed by:276
Symbol 255 GraphicUsed by:276
Symbol 256 GraphicUsed by:276
Symbol 257 GraphicUsed by:276
Symbol 258 GraphicUsed by:276
Symbol 259 GraphicUsed by:276
Symbol 260 GraphicUsed by:276
Symbol 261 GraphicUsed by:276
Symbol 262 GraphicUsed by:276
Symbol 263 GraphicUsed by:276
Symbol 264 GraphicUsed by:276
Symbol 265 GraphicUsed by:276
Symbol 266 GraphicUsed by:276
Symbol 267 GraphicUsed by:276
Symbol 268 GraphicUsed by:276
Symbol 269 GraphicUsed by:276
Symbol 270 GraphicUsed by:276
Symbol 271 GraphicUsed by:276
Symbol 272 GraphicUsed by:276
Symbol 273 GraphicUsed by:276
Symbol 274 GraphicUsed by:276
Symbol 275 GraphicUsed by:276
Symbol 276 MovieClipUses:252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275Used by:324
Symbol 277 GraphicUsed by:279
Symbol 278 GraphicUsed by:279
Symbol 279 MovieClipUses:277 278Used by:324
Symbol 280 GraphicUsed by:284
Symbol 281 GraphicUsed by:284
Symbol 282 GraphicUsed by:284
Symbol 283 GraphicUsed by:284
Symbol 284 MovieClipUses:280 281 282 283Used by:324
Symbol 285 GraphicUsed by:293
Symbol 286 GraphicUsed by:293
Symbol 287 GraphicUsed by:293
Symbol 288 GraphicUsed by:293
Symbol 289 GraphicUsed by:293
Symbol 290 GraphicUsed by:293
Symbol 291 GraphicUsed by:293
Symbol 292 GraphicUsed by:293
Symbol 293 MovieClipUses:285 286 287 288 289 290 291 292Used by:324
Symbol 294 GraphicUsed by:324
Symbol 295 GraphicUsed by:324
Symbol 296 GraphicUsed by:324
Symbol 297 GraphicUsed by:324
Symbol 298 GraphicUsed by:324
Symbol 299 GraphicUsed by:324
Symbol 300 GraphicUsed by:324
Symbol 301 GraphicUsed by:315
Symbol 302 GraphicUsed by:315
Symbol 303 GraphicUsed by:315
Symbol 304 GraphicUsed by:315
Symbol 305 GraphicUsed by:315
Symbol 306 GraphicUsed by:315
Symbol 307 GraphicUsed by:315
Symbol 308 GraphicUsed by:315
Symbol 309 GraphicUsed by:315
Symbol 310 GraphicUsed by:315
Symbol 311 GraphicUsed by:315
Symbol 312 GraphicUsed by:315
Symbol 313 GraphicUsed by:315
Symbol 314 GraphicUsed by:315
Symbol 315 MovieClipUses:301 302 303 304 305 306 307 308 309 310 311 312 313 314Used by:324
Symbol 316 GraphicUsed by:324
Symbol 317 GraphicUsed by:324
Symbol 318 GraphicUsed by:324
Symbol 319 GraphicUsed by:324
Symbol 320 GraphicUsed by:324
Symbol 321 GraphicUsed by:324
Symbol 322 GraphicUsed by:324
Symbol 323 GraphicUsed by:324
Symbol 324 MovieClip [crab]Uses:33 276 279 284 293 46 294 295 296 297 298 299 300 315 316 317 318 319 320 321 322 58 323
Symbol 325 GraphicUsed by:327
Symbol 326 GraphicUsed by:327
Symbol 327 MovieClipUses:325 326Used by:332
Symbol 328 GraphicUsed by:332
Symbol 329 GraphicUsed by:332
Symbol 330 GraphicUsed by:332
Symbol 331 GraphicUsed by:332
Symbol 332 MovieClip [bat]Uses:33 327 46 328 329 330 331 58
Symbol 333 GraphicUsed by:338
Symbol 334 GraphicUsed by:338
Symbol 335 GraphicUsed by:337
Symbol 336 GraphicUsed by:337
Symbol 337 MovieClipUses:335 336Used by:338
Symbol 338 MovieClip [mushroom]Uses:33 333 334 337
Symbol 339 GraphicUsed by:341
Symbol 340 GraphicUsed by:341
Symbol 341 MovieClipUses:339 340Used by:342
Symbol 342 MovieClip [feces]Uses:341 58
Symbol 343 GraphicUsed by:350 355 359 362 368
Symbol 344 FontUsed by:345 349 352 356 360 365 367
Symbol 345 TextUses:344Used by:350 355 359 366 370
Symbol 346 GraphicUsed by:350 355 359
Symbol 347 FontUsed by:348 354 358 364 369 701
Symbol 348 TextUses:347Used by:350
Symbol 349 TextUses:344Used by:350
Symbol 350 MovieClip [cavelocked]Uses:343 345 346 348 349
Symbol 351 GraphicUsed by:353 357 361 366 370
Symbol 352 TextUses:344Used by:353 355
Symbol 353 MovieClip [forestunlocked]Uses:351 352
Symbol 354 TextUses:347Used by:355
Symbol 355 MovieClip [forestlocked]Uses:343 345 346 354 352
Symbol 356 TextUses:344Used by:357 359
Symbol 357 MovieClip [swampunlocked]Uses:351 356
Symbol 358 TextUses:347Used by:359
Symbol 359 MovieClip [swamplocked]Uses:343 345 346 358 356
Symbol 360 TextUses:344Used by:361 362
Symbol 361 MovieClip [parkunlocked2]Uses:351 360
Symbol 362 MovieClip [parkunlocked1]Uses:343 360
Symbol 363 GraphicUsed by:366 370
Symbol 364 TextUses:347Used by:366
Symbol 365 TextUses:344Used by:366
Symbol 366 MovieClip [courtyardlocked]Uses:351 345 363 364 365
Symbol 367 TextUses:344Used by:368 370
Symbol 368 MovieClip [beachunlocked]Uses:343 367
Symbol 369 TextUses:347Used by:370
Symbol 370 MovieClip [beachlocked]Uses:351 345 363 369 367
Symbol 371 GraphicUsed by:375
Symbol 372 GraphicUsed by:375
Symbol 373 GraphicUsed by:375
Symbol 374 GraphicUsed by:375
Symbol 375 MovieClipUses:371 372 373 374Used by:392
Symbol 376 GraphicUsed by:392
Symbol 377 GraphicUsed by:392
Symbol 378 GraphicUsed by:392
Symbol 379 GraphicUsed by:392
Symbol 380 GraphicUsed by:392
Symbol 381 GraphicUsed by:392
Symbol 382 GraphicUsed by:392
Symbol 383 GraphicUsed by:392
Symbol 384 GraphicUsed by:392
Symbol 385 GraphicUsed by:392
Symbol 386 GraphicUsed by:392
Symbol 387 GraphicUsed by:392
Symbol 388 GraphicUsed by:392
Symbol 389 GraphicUsed by:392
Symbol 390 GraphicUsed by:392
Symbol 391 GraphicUsed by:392
Symbol 392 MovieClip [snake]Uses:33 375 46 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 58
Symbol 393 GraphicUsed by:394 457
Symbol 394 MovieClip [HOP10]Uses:393
Symbol 395 GraphicUsed by:396 458
Symbol 396 MovieClip [HOP50]Uses:395
Symbol 397 GraphicUsed by:425
Symbol 398 GraphicUsed by:425
Symbol 399 GraphicUsed by:425
Symbol 400 GraphicUsed by:425
Symbol 401 GraphicUsed by:425
Symbol 402 GraphicUsed by:425
Symbol 403 GraphicUsed by:425
Symbol 404 GraphicUsed by:425
Symbol 405 GraphicUsed by:425
Symbol 406 GraphicUsed by:425
Symbol 407 GraphicUsed by:425
Symbol 408 GraphicUsed by:425
Symbol 409 GraphicUsed by:425
Symbol 410 GraphicUsed by:425
Symbol 411 GraphicUsed by:425
Symbol 412 GraphicUsed by:425
Symbol 413 GraphicUsed by:423
Symbol 414 GraphicUsed by:423
Symbol 415 GraphicUsed by:423
Symbol 416 GraphicUsed by:423
Symbol 417 GraphicUsed by:423
Symbol 418 GraphicUsed by:423
Symbol 419 GraphicUsed by:423
Symbol 420 GraphicUsed by:423
Symbol 421 GraphicUsed by:423
Symbol 422 GraphicUsed by:423
Symbol 423 MovieClipUses:413 414 415 416 417 418 419 420 421 422Used by:424
Symbol 424 MovieClipUses:423Used by:425
Symbol 425 MovieClipUses:397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 424Used by:426
Symbol 426 MovieClip [objspit]Uses:33 425
Symbol 427 GraphicUsed by:435
Symbol 428 GraphicUsed by:435
Symbol 429 GraphicUsed by:435
Symbol 430 GraphicUsed by:435
Symbol 431 GraphicUsed by:435
Symbol 432 GraphicUsed by:435
Symbol 433 GraphicUsed by:435
Symbol 434 GraphicUsed by:435
Symbol 435 MovieClip [cricket]Uses:33 427 428 429 430 431 432 433 434 58
Symbol 436 GraphicUsed by:484
Symbol 437 GraphicUsed by:466
Symbol 438 GraphicUsed by:454
Symbol 439 GraphicUsed by:454
Symbol 440 GraphicUsed by:454
Symbol 441 GraphicUsed by:454
Symbol 442 GraphicUsed by:454
Symbol 443 GraphicUsed by:454
Symbol 444 GraphicUsed by:454
Symbol 445 GraphicUsed by:454
Symbol 446 GraphicUsed by:454
Symbol 447 GraphicUsed by:454
Symbol 448 GraphicUsed by:454
Symbol 449 GraphicUsed by:454
Symbol 450 GraphicUsed by:454
Symbol 451 GraphicUsed by:454
Symbol 452 GraphicUsed by:454
Symbol 453 GraphicUsed by:454
Symbol 454 MovieClipUses:438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453Used by:466
Symbol 455 GraphicUsed by:456
Symbol 456 MovieClipUses:455Used by:465
Symbol 457 MovieClipUses:393Used by:465
Symbol 458 MovieClipUses:395Used by:465
Symbol 459 GraphicUsed by:460
Symbol 460 MovieClipUses:459Used by:465
Symbol 461 GraphicUsed by:462
Symbol 462 MovieClipUses:461Used by:465
Symbol 463 GraphicUsed by:464
Symbol 464 MovieClipUses:463Used by:465
Symbol 465 MovieClipUses:456 457 458 460 462 464Used by:466
Symbol 466 MovieClipUses:120 437 454 465Used by:484
Symbol 467 GraphicUsed by:484
Symbol 468 FontUsed by:469 523 524 536 575 591 742 743
Symbol 469 EditableTextUses:468Used by:484
Symbol 470 GraphicUsed by:476 479 481 626
Symbol 471 GraphicUsed by:472 478
Symbol 472 MovieClipUses:471Used by:476 481 626
Symbol 473 GraphicUsed by:474 569 571 573
Symbol 474 MovieClipUses:473Used by:476 479 481 626
Symbol 475 GraphicUsed by:476 479 481
Symbol 476 MovieClipUses:470 472 474 475Used by:484
Symbol 477 GraphicUsed by:484
Symbol 478 MovieClipUses:471Used by:479 481
Symbol 479 MovieClipUses:470 474 478 475Used by:484
Symbol 480 GraphicUsed by:484
Symbol 481 MovieClipUses:470 472 474 478 475Used by:484
Symbol 482 GraphicUsed by:484
Symbol 483 GraphicUsed by:484
Symbol 484 MovieClip [infoboard]Uses:436 466 467 469 476 477 479 480 481 482 483
Symbol 485 GraphicUsed by:486 493
Symbol 486 MovieClipUses:485Used by:487 493
Symbol 487 MovieClipUses:486 33Used by:493
Symbol 488 GraphicUsed by:493
Symbol 489 GraphicUsed by:493
Symbol 490 GraphicUsed by:493
Symbol 491 GraphicUsed by:493
Symbol 492 GraphicUsed by:493
Symbol 493 MovieClip [spider]Uses:485 487 33 488 486 489 490 491 492 58
Symbol 494 GraphicUsed by:495
Symbol 495 MovieClipUses:494Used by:509
Symbol 496 GraphicUsed by:500
Symbol 497 GraphicUsed by:498
Symbol 498 MovieClipUses:497Used by:500 508
Symbol 499 GraphicUsed by:500
Symbol 500 MovieClipUses:496 498 499Used by:509
Symbol 501 GraphicUsed by:505
Symbol 502 GraphicUsed by:505
Symbol 503 GraphicUsed by:505
Symbol 504 GraphicUsed by:505
Symbol 505 MovieClipUses:501 502 503 504Used by:506
Symbol 506 MovieClipUses:505Used by:508
Symbol 507 GraphicUsed by:508
Symbol 508 MovieClipUses:498 506 507Used by:509
Symbol 509 MovieClip [movbg3]Uses:495 500 508
Symbol 510 GraphicUsed by:626
Symbol 511 FontUsed by:512 517 518 519 521 522 530 531 532 533 690 691 692 693 694 738 739 740
Symbol 512 TextUses:511Used by:626
Symbol 513 GraphicUsed by:516
Symbol 514 GraphicUsed by:516
Symbol 515 GraphicUsed by:516
Symbol 516 ButtonUses:513 514 515Used by:626 736  Timeline
Symbol 517 TextUses:511Used by:626
Symbol 518 TextUses:511Used by:626
Symbol 519 TextUses:511Used by:626
Symbol 520 GraphicUsed by:626
Symbol 521 TextUses:511Used by:626  Timeline
Symbol 522 TextUses:511Used by:626 736  Timeline
Symbol 523 TextUses:468Used by:626  Timeline
Symbol 524 TextUses:468Used by:626  Timeline
Symbol 525 GraphicUsed by:528
Symbol 526 GraphicUsed by:528
Symbol 527 GraphicUsed by:528
Symbol 528 MovieClipUses:525 526 527Used by:626  Timeline
Symbol 529 GraphicUsed by:626
Symbol 530 TextUses:511Used by:626
Symbol 531 TextUses:511Used by:626
Symbol 532 TextUses:511Used by:626
Symbol 533 TextUses:511Used by:626
Symbol 534 GraphicUsed by:626
Symbol 535 GraphicUsed by:626
Symbol 536 EditableTextUses:468Used by:626
Symbol 537 GraphicUsed by:626
Symbol 538 FontUsed by:539 541 542 543 544 545 546 547 548 550 552 553 554 555 557 593 616 700 702 704 706
Symbol 539 TextUses:538Used by:626 736
Symbol 540 GraphicUsed by:626 736
Symbol 541 TextUses:538Used by:626 736
Symbol 542 TextUses:538Used by:626 736
Symbol 543 TextUses:538Used by:626 736
Symbol 544 TextUses:538Used by:626 736
Symbol 545 TextUses:538Used by:626 736
Symbol 546 TextUses:538Used by:626 736
Symbol 547 TextUses:538Used by:626 736
Symbol 548 TextUses:538Used by:626 736
Symbol 549 GraphicUsed by:626 736
Symbol 550 TextUses:538Used by:626 736
Symbol 551 GraphicUsed by:626 736
Symbol 552 TextUses:538Used by:626 736
Symbol 553 TextUses:538Used by:626 736
Symbol 554 TextUses:538Used by:626 736
Symbol 555 TextUses:538Used by:626 736
Symbol 556 GraphicUsed by:626 736
Symbol 557 TextUses:538Used by:626 736
Symbol 558 GraphicUsed by:626
Symbol 559 FontUsed by:578 579 584 585 586 587 588 589 595 597 599 602 604 606 608 610 612 614 618 619 678 702 703 708 709 711 712 713 714 715 717 719 721 723 725 727 729 731 733 744
Symbol 560 TextUsed by:626
Symbol 561 FontUsed by:562
Symbol 562 TextUses:561Used by:626
Symbol 563 GraphicUsed by:566
Symbol 564 GraphicUsed by:566
Symbol 565 GraphicUsed by:566 569 571 573
Symbol 566 ButtonUses:563 564 565Used by:626
Symbol 567 FontUsed by:568 570 572
Symbol 568 TextUses:567Used by:569
Symbol 569 MovieClipUses:565 568 473Used by:626
Symbol 570 TextUses:567Used by:571
Symbol 571 MovieClipUses:565 570 473Used by:626
Symbol 572 TextUses:567Used by:573
Symbol 573 MovieClipUses:565 572 473Used by:626
Symbol 574 GraphicUsed by:626
Symbol 575 EditableTextUses:468Used by:626
Symbol 576 GraphicUsed by:626
Symbol 577 FontUsed by:578 579 580 581 582 583 584 585 586 587 588 589 702 711 712 713 714
Symbol 578 TextUses:577 559Used by:626
Symbol 579 TextUses:577 559Used by:626
Symbol 580 TextUses:577Used by:626
Symbol 581 TextUses:577Used by:626
Symbol 582 TextUses:577Used by:626
Symbol 583 TextUses:577Used by:626
Symbol 584 TextUses:577 559Used by:626
Symbol 585 TextUses:577 559Used by:626
Symbol 586 TextUses:577 559Used by:626
Symbol 587 TextUses:577 559Used by:626
Symbol 588 TextUses:577 559Used by:626
Symbol 589 TextUses:577 559Used by:626
Symbol 590 GraphicUsed by:626
Symbol 591 EditableTextUses:468Used by:626
Symbol 592 GraphicUsed by:626
Symbol 593 TextUses:538Used by:626 736
Symbol 594 GraphicUsed by:626 736
Symbol 595 TextUses:559Used by:626
Symbol 596 GraphicUsed by:626
Symbol 597 TextUses:559Used by:626
Symbol 598 GraphicUsed by:626
Symbol 599 TextUses:559Used by:626
Symbol 600 GraphicUsed by:626
Symbol 601 GraphicUsed by:626 736
Symbol 602 TextUses:559Used by:626
Symbol 603 GraphicUsed by:626
Symbol 604 TextUses:559Used by:626
Symbol 605 GraphicUsed by:626
Symbol 606 TextUses:559Used by:626
Symbol 607 GraphicUsed by:626
Symbol 608 TextUses:559Used by:626
Symbol 609 GraphicUsed by:626
Symbol 610 TextUses:559Used by:626
Symbol 611 GraphicUsed by:626
Symbol 612 TextUses:559Used by:626
Symbol 613 GraphicUsed by:626
Symbol 614 TextUses:559Used by:626
Symbol 615 GraphicUsed by:626
Symbol 616 TextUses:538Used by:626 736
Symbol 617 GraphicUsed by:626
Symbol 618 TextUses:559Used by:626
Symbol 619 TextUses:559Used by:626
Symbol 620 GraphicUsed by:626 749 767
Symbol 621 GraphicUsed by:623
Symbol 622 GraphicUsed by:623
Symbol 623 MovieClipUses:621 622Used by:625
Symbol 624 GraphicUsed by:625
Symbol 625 MovieClipUses:623 624Used by:626
Symbol 626 MovieClip [movPause]Uses:510 512 516 517 518 519 520 521 522 523 524 528 529 530 531 532 533 534 120 535 536 470 472 474 537 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 560 562 566 569 571 573 574 575 576 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 625
Symbol 627 GraphicUsed by:628
Symbol 628 MovieClipUses:627Used by:Timeline
Symbol 629 GraphicUsed by:662
Symbol 630 GraphicUsed by:631
Symbol 631 MovieClipUses:630Used by:662
Symbol 632 GraphicUsed by:633
Symbol 633 MovieClipUses:632Used by:637
Symbol 634 GraphicUsed by:635
Symbol 635 MovieClipUses:634Used by:637
Symbol 636 GraphicUsed by:637
Symbol 637 MovieClipUses:633 635 636Used by:662
Symbol 638 GraphicUsed by:639
Symbol 639 MovieClipUses:638Used by:643
Symbol 640 GraphicUsed by:641
Symbol 641 MovieClipUses:640Used by:643
Symbol 642 GraphicUsed by:643
Symbol 643 MovieClipUses:639 641 642Used by:662
Symbol 644 GraphicUsed by:645
Symbol 645 MovieClipUses:644Used by:649 652
Symbol 646 GraphicUsed by:647
Symbol 647 MovieClipUses:646Used by:649
Symbol 648 GraphicUsed by:649 652
Symbol 649 MovieClipUses:645 647 648Used by:662
Symbol 650 GraphicUsed by:651
Symbol 651 MovieClipUses:650Used by:652
Symbol 652 MovieClipUses:645 651 648Used by:662
Symbol 653 GraphicUsed by:654
Symbol 654 MovieClipUses:653Used by:658
Symbol 655 GraphicUsed by:656
Symbol 656 MovieClipUses:655Used by:658
Symbol 657 GraphicUsed by:658
Symbol 658 MovieClipUses:654 656 657Used by:662
Symbol 659 BitmapUsed by:660
Symbol 660 GraphicUses:659Used by:661
Symbol 661 MovieClipUses:660Used by:662
Symbol 662 MovieClipUses:629 631 637 643 649 652 658 661 SS1Used by:Timeline
Symbol 663 GraphicUsed by:664
Symbol 664 MovieClipUses:663Used by:666
Symbol 665 GraphicUsed by:666
Symbol 666 MovieClipUses:664 665Used by:Timeline
Symbol 667 GraphicUsed by:668 671
Symbol 668 MovieClipUses:667Used by:669 671
Symbol 669 MovieClipUses:668Used by:671
Symbol 670 GraphicUsed by:671
Symbol 671 ButtonUses:668 669 670 667Used by:Timeline
Symbol 672 GraphicUsed by:680
Symbol 673 GraphicUsed by:679
Symbol 674 GraphicUsed by:679
Symbol 675 GraphicUsed by:676
Symbol 676 MovieClipUses:675Used by:679
Symbol 677 GraphicUsed by:679
Symbol 678 EditableTextUses:559Used by:679
Symbol 679 MovieClipUses:673 674 676 677 678Used by:680
Symbol 680 MovieClipUses:672 679Used by:Timeline
Symbol 681 GraphicUsed by:Timeline
Symbol 682 GraphicUsed by:683
Symbol 683 MovieClipUses:682Used by:736  Timeline
Symbol 684 BitmapUsed by:685
Symbol 685 GraphicUses:684Used by:Timeline
Symbol 686 GraphicUsed by:689
Symbol 687 GraphicUsed by:689
Symbol 688 GraphicUsed by:689
Symbol 689 ButtonUses:686 687 688Used by:Timeline
Symbol 690 TextUses:511Used by:Timeline
Symbol 691 TextUses:511Used by:Timeline
Symbol 692 TextUses:511Used by:Timeline
Symbol 693 TextUses:511Used by:Timeline
Symbol 694 TextUses:511Used by:Timeline
Symbol 695 GraphicUsed by:Timeline
Symbol 696 GraphicUsed by:Timeline
Symbol 697 GraphicUsed by:736
Symbol 698 GraphicUsed by:736
Symbol 699 GraphicUsed by:736
Symbol 700 TextUses:538Used by:736
Symbol 701 TextUses:347Used by:736
Symbol 702 EditableTextUses:538 559 577Used by:736
Symbol 703 TextUses:559Used by:736
Symbol 704 TextUses:538Used by:736
Symbol 705 GraphicUsed by:736
Symbol 706 TextUses:538Used by:736
Symbol 707 GraphicUsed by:736
Symbol 708 TextUses:559Used by:736
Symbol 709 TextUses:559Used by:736
Symbol 710 GraphicUsed by:736
Symbol 711 TextUses:577 559Used by:736
Symbol 712 TextUses:577 559Used by:736
Symbol 713 TextUses:577 559Used by:736
Symbol 714 TextUses:577 559Used by:736
Symbol 715 TextUses:559Used by:736
Symbol 716 GraphicUsed by:736
Symbol 717 TextUses:559Used by:736
Symbol 718 GraphicUsed by:736
Symbol 719 TextUses:559Used by:736
Symbol 720 GraphicUsed by:736
Symbol 721 TextUses:559Used by:736
Symbol 722 GraphicUsed by:736
Symbol 723 TextUses:559Used by:736
Symbol 724 GraphicUsed by:736
Symbol 725 TextUses:559Used by:736
Symbol 726 GraphicUsed by:736
Symbol 727 TextUses:559Used by:736
Symbol 728 GraphicUsed by:736
Symbol 729 TextUses:559Used by:736
Symbol 730 GraphicUsed by:736
Symbol 731 TextUses:559Used by:736
Symbol 732 GraphicUsed by:736
Symbol 733 TextUses:559Used by:736
Symbol 734 GraphicUsed by:736
Symbol 735 GraphicUsed by:736
Symbol 736 MovieClipUses:697 516 522 698 699 700 683 701 702 703 704 540 539 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 705 706 707 708 709 710 711 712 713 714 593 594 715 716 717 718 719 720 601 721 722 723 724 725 726 727 728 729 730 731 732 733 734 616 735Used by:Timeline
Symbol 737 GraphicUsed by:Timeline
Symbol 738 TextUses:511Used by:Timeline
Symbol 739 TextUses:511Used by:Timeline
Symbol 740 TextUses:511Used by:Timeline
Symbol 741 GraphicUsed by:Timeline
Symbol 742 EditableTextUses:468Used by:Timeline
Symbol 743 TextUses:468Used by:Timeline
Symbol 744 EditableTextUses:559Used by:Timeline
Symbol 745 GraphicUsed by:746
Symbol 746 MovieClipUses:745Used by:Timeline
Symbol 747 GraphicUsed by:748
Symbol 748 MovieClipUses:747Used by:Timeline
Symbol 749 MovieClipUses:620Used by:Timeline
Symbol 750 GraphicUsed by:751
Symbol 751 MovieClipUses:750Used by:Timeline
Symbol 752 GraphicUsed by:756
Symbol 753 GraphicUsed by:754
Symbol 754 MovieClipUses:753Used by:756
Symbol 755 GraphicUsed by:756
Symbol 756 MovieClipUses:752 754 755Used by:Timeline
Symbol 757 GraphicUsed by:758
Symbol 758 MovieClipUses:757Used by:Timeline
Symbol 759 GraphicUsed by:760
Symbol 760 MovieClipUses:759Used by:Timeline
Symbol 761 GraphicUsed by:762
Symbol 762 MovieClipUses:761Used by:Timeline
Symbol 763 GraphicUsed by:764
Symbol 764 MovieClipUses:763Used by:Timeline
Symbol 765 GraphicUsed by:766
Symbol 766 MovieClipUses:765Used by:Timeline
Symbol 767 MovieClipUses:620Used by:Timeline
Streaming Sound 1Used by:Symbol 662 MovieClip

Instance Names

"butMoreGames"Frame 9Symbol 689 Button
"butHighScore"Frame 9Symbol 689 Button
"butHelp"Frame 9Symbol 689 Button
"butSetting"Frame 9Symbol 689 Button
"butPlay"Frame 9Symbol 689 Button
"butBack"Frame 10Symbol 516 Button
"optMusic"Frame 10Symbol 528 MovieClip
"optSound"Frame 10Symbol 528 MovieClip
"butSubmit"Frame 12Symbol 516 Button
"butCancel"Frame 12Symbol 516 Button
"sc"Frame 12Symbol 742 EditableText
"userName"Frame 12Symbol 744 EditableText
"movBg2"Frame 15Symbol 746 MovieClip
"movBg1"Frame 15Symbol 748 MovieClip
"movLayer"Frame 15Symbol 749 MovieClip
"movMask"Frame 15Symbol 628 MovieClip
"movBg2"Frame 16Symbol 751 MovieClip
"movBg1"Frame 16Symbol 756 MovieClip
"movBg2"Frame 17Symbol 758 MovieClip
"movBg1"Frame 17Symbol 760 MovieClip
"movBg1"Frame 18Symbol 762 MovieClip
"movBg1"Frame 19Symbol 764 MovieClip
"movBg1"Frame 20Symbol 766 MovieClip
"movDark"Frame 20Symbol 767 MovieClip
"hitPoint"Symbol 34 MovieClip Frame 15Symbol 33 MovieClip
"cocoAtt"Symbol 35 MovieClip [coconut] Frame 2Symbol 34 MovieClip
"hitPoint"Symbol 59 MovieClip [bee] Frame 1Symbol 33 MovieClip
"alert"Symbol 59 MovieClip [bee] Frame 1Symbol 46 MovieClip
"sting"Symbol 59 MovieClip [bee] Frame 2Symbol 33 MovieClip
"hitPoint"Symbol 59 MovieClip [bee] Frame 5Symbol 33 MovieClip
"hitPoint"Symbol 69 MovieClip [fly] Frame 1Symbol 33 MovieClip
"hitPoint"Symbol 87 MovieClip [dragonfly] Frame 1Symbol 33 MovieClip
"body"Symbol 87 MovieClip [dragonfly] Frame 1Symbol 79 MovieClip
"body"Symbol 87 MovieClip [dragonfly] Frame 70Symbol 79 MovieClip
"hitPoint"Symbol 114 MovieClip [butterfly] Frame 1Symbol 33 MovieClip
"wings"Symbol 114 MovieClip [butterfly] Frame 1Symbol 107 MovieClip
"bump"Symbol 130 MovieClip Frame 1Symbol 126 MovieClip
"body"Symbol 198 MovieClip [frog] Frame 1Symbol 120 MovieClip
"head"Symbol 198 MovieClip [frog] Frame 1Symbol 130 MovieClip
"eyes"Symbol 198 MovieClip [frog] Frame 1Symbol 141 MovieClip
"movSplash"Symbol 198 MovieClip [frog] Frame 1Symbol 153 MovieClip
"hitPoint"Symbol 198 MovieClip [frog] Frame 2Symbol 33 MovieClip
"hitPoint"Symbol 198 MovieClip [frog] Frame 33Symbol 33 MovieClip
"hitPoint"Symbol 214 MovieClip [mosquito] Frame 1Symbol 33 MovieClip
"alert"Symbol 214 MovieClip [mosquito] Frame 1Symbol 46 MovieClip
"sting"Symbol 214 MovieClip [mosquito] Frame 2Symbol 33 MovieClip
"hitPoint"Symbol 214 MovieClip [mosquito] Frame 5Symbol 33 MovieClip
"hitPoint"Symbol 234 MovieClip [ladybug] Frame 1Symbol 33 MovieClip
"wings"Symbol 234 MovieClip [ladybug] Frame 1Symbol 227 MovieClip
"inside"Symbol 239 MovieClip [tongue] Frame 1Symbol 236 MovieClip
"outer"Symbol 239 MovieClip [tongue] Frame 1Symbol 238 MovieClip
"hitPoint"Symbol 251 MovieClip [prayingmantis] Frame 1Symbol 33 MovieClip
"hitPoint"Symbol 324 MovieClip [crab] Frame 1Symbol 33 MovieClip
"alert"Symbol 324 MovieClip [crab] Frame 1Symbol 46 MovieClip
"weapon"Symbol 324 MovieClip [crab] Frame 7Symbol 33 MovieClip
"sting"Symbol 332 MovieClip [bat] Frame 1Symbol 33 MovieClip
"hitPoint"Symbol 332 MovieClip [bat] Frame 1Symbol 33 MovieClip
"alert"Symbol 332 MovieClip [bat] Frame 1Symbol 46 MovieClip
"hitPoint"Symbol 338 MovieClip [mushroom] Frame 1Symbol 33 MovieClip
"pic"Symbol 342 MovieClip [feces] Frame 1Symbol 341 MovieClip
"hitPoint"Symbol 392 MovieClip [snake] Frame 1Symbol 33 MovieClip
"alert"Symbol 392 MovieClip [snake] Frame 1Symbol 46 MovieClip
"weapon"Symbol 392 MovieClip [snake] Frame 8Symbol 33 MovieClip
"hitPoint"Symbol 426 MovieClip [objspit] Frame 1Symbol 33 MovieClip
"obj"Symbol 426 MovieClip [objspit] Frame 1Symbol 425 MovieClip
"hitPoint"Symbol 435 MovieClip [cricket] Frame 1Symbol 33 MovieClip
"obj2"Symbol 466 MovieClip Frame 1Symbol 454 MovieClip
"obj1"Symbol 466 MovieClip Frame 1Symbol 454 MovieClip
"score"Symbol 466 MovieClip Frame 8Symbol 465 MovieClip
"score"Symbol 466 MovieClip Frame 21Symbol 465 MovieClip
"effect"Symbol 476 MovieClip Frame 1Symbol 472 MovieClip
"meter"Symbol 476 MovieClip Frame 1Symbol 474 MovieClip
"meter"Symbol 479 MovieClip Frame 1Symbol 474 MovieClip
"effect"Symbol 479 MovieClip Frame 1Symbol 478 MovieClip
"effect"Symbol 481 MovieClip Frame 1Symbol 472 MovieClip
"meter"Symbol 481 MovieClip Frame 1Symbol 474 MovieClip
"effect2"Symbol 481 MovieClip Frame 1Symbol 478 MovieClip
"frogStat"Symbol 484 MovieClip [infoboard] Frame 1Symbol 466 MovieClip
"score"Symbol 484 MovieClip [infoboard] Frame 1Symbol 469 EditableText
"HM"Symbol 484 MovieClip [infoboard] Frame 1Symbol 476 MovieClip
"FM"Symbol 484 MovieClip [infoboard] Frame 1Symbol 479 MovieClip
"SM"Symbol 484 MovieClip [infoboard] Frame 1Symbol 481 MovieClip
"DM"Symbol 484 MovieClip [infoboard] Frame 1Symbol 476 MovieClip
"hitPoint"Symbol 487 MovieClip Frame 20Symbol 33 MovieClip
"spiderAtt"Symbol 493 MovieClip [spider] Frame 2Symbol 487 MovieClip
"hitPoint"Symbol 493 MovieClip [spider] Frame 5Symbol 33 MovieClip
"bg"Symbol 509 MovieClip [movbg3] Frame 1Symbol 495 MovieClip
"bg"Symbol 509 MovieClip [movbg3] Frame 3Symbol 500 MovieClip
"bg"Symbol 509 MovieClip [movbg3] Frame 4Symbol 508 MovieClip
"butRsme"Symbol 626 MovieClip [movPause] Frame 2Symbol 516 Button
"butSett"Symbol 626 MovieClip [movPause] Frame 2Symbol 516 Button
"butQuit"Symbol 626 MovieClip [movPause] Frame 2Symbol 516 Button
"butBack"Symbol 626 MovieClip [movPause] Frame 3Symbol 516 Button
"optMusic"Symbol 626 MovieClip [movPause] Frame 3Symbol 528 MovieClip
"optSound"Symbol 626 MovieClip [movPause] Frame 3Symbol 528 MovieClip
"butSbmt"Symbol 626 MovieClip [movPause] Frame 4Symbol 516 Button
"butPlay"Symbol 626 MovieClip [movPause] Frame 4Symbol 516 Button
"butMoreGames"Symbol 626 MovieClip [movPause] Frame 4Symbol 516 Button
"effect"Symbol 626 MovieClip [movPause] Frame 6Symbol 472 MovieClip
"meter"Symbol 626 MovieClip [movPause] Frame 6Symbol 474 MovieClip
"butSkip"Symbol 626 MovieClip [movPause] Frame 6Symbol 566 Button
"inst1"Symbol 626 MovieClip [movPause] Frame 6Symbol 569 MovieClip
"inst3"Symbol 626 MovieClip [movPause] Frame 6Symbol 571 MovieClip
"inst2"Symbol 626 MovieClip [movPause] Frame 6Symbol 573 MovieClip
"bar"Symbol 666 MovieClip Frame 1Symbol 664 MovieClip
"bar"Symbol 679 MovieClip Frame 1Symbol 676 MovieClip
"info_percent"Symbol 679 MovieClip Frame 1Symbol 678 EditableText
"movLoader"Symbol 680 MovieClip Frame 1Symbol 679 MovieClip
"butBackToMenu"Symbol 736 MovieClip Frame 1Symbol 516 Button
"butPrev"Symbol 736 MovieClip Frame 1Symbol 516 Button
"butNext"Symbol 736 MovieClip Frame 1Symbol 516 Button

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 131 bytes "..$1$KE$pJjH6J0p.ZMiTQJIvfmMQ.."
ExportAssets (56)Timeline Frame 1Symbol 1 as "throw.wav"
ExportAssets (56)Timeline Frame 1Symbol 2 as "splash.wav"
ExportAssets (56)Timeline Frame 1Symbol 3 as "spider.wav"
ExportAssets (56)Timeline Frame 1Symbol 4 as "snake.wav"
ExportAssets (56)Timeline Frame 1Symbol 5 as "music6.wav"
ExportAssets (56)Timeline Frame 1Symbol 6 as "music5.wav"
ExportAssets (56)Timeline Frame 1Symbol 7 as "music4.wav"
ExportAssets (56)Timeline Frame 1Symbol 8 as "music3.wav"
ExportAssets (56)Timeline Frame 1Symbol 9 as "music2.wav"
ExportAssets (56)Timeline Frame 1Symbol 10 as "music1.wav"
ExportAssets (56)Timeline Frame 1Symbol 11 as "music0.wav"
ExportAssets (56)Timeline Frame 1Symbol 12 as "mosquito.wav"
ExportAssets (56)Timeline Frame 1Symbol 13 as "magicpower.wav"
ExportAssets (56)Timeline Frame 1Symbol 14 as "hitobject.wav"
ExportAssets (56)Timeline Frame 1Symbol 15 as "hit.wav"
ExportAssets (56)Timeline Frame 1Symbol 16 as "gameover.wav"
ExportAssets (56)Timeline Frame 1Symbol 17 as "frog.wav"
ExportAssets (56)Timeline Frame 1Symbol 18 as "freeze.wav"
ExportAssets (56)Timeline Frame 1Symbol 19 as "fire.wav"
ExportAssets (56)Timeline Frame 1Symbol 20 as "feces.wav"
ExportAssets (56)Timeline Frame 1Symbol 21 as "fall.wav"
ExportAssets (56)Timeline Frame 1Symbol 22 as "enterstage.wav"
ExportAssets (56)Timeline Frame 1Symbol 23 as "eat.wav"
ExportAssets (56)Timeline Frame 1Symbol 24 as "down.wav"
ExportAssets (56)Timeline Frame 1Symbol 25 as "crab.wav"
ExportAssets (56)Timeline Frame 1Symbol 26 as "click.wav"
ExportAssets (56)Timeline Frame 1Symbol 27 as "catch.wav"
ExportAssets (56)Timeline Frame 1Symbol 28 as "burn.wav"
ExportAssets (56)Timeline Frame 1Symbol 29 as "bee.wav"
ExportAssets (56)Timeline Frame 1Symbol 30 as "bat.wav"
ExportAssets (56)Timeline Frame 1Symbol 35 as "coconut"
ExportAssets (56)Timeline Frame 1Symbol 39 as "cursor"
ExportAssets (56)Timeline Frame 1Symbol 59 as "bee"
ExportAssets (56)Timeline Frame 1Symbol 69 as "fly"
ExportAssets (56)Timeline Frame 1Symbol 87 as "dragonfly"
ExportAssets (56)Timeline Frame 1Symbol 114 as "butterfly"
ExportAssets (56)Timeline Frame 1Symbol 198 as "frog"
ExportAssets (56)Timeline Frame 1Symbol 214 as "mosquito"
ExportAssets (56)Timeline Frame 1Symbol 234 as "ladybug"
ExportAssets (56)Timeline Frame 1Symbol 239 as "tongue"
ExportAssets (56)Timeline Frame 1Symbol 240 as "empty"
ExportAssets (56)Timeline Frame 1Symbol 251 as "prayingmantis"
ExportAssets (56)Timeline Frame 1Symbol 324 as "crab"
ExportAssets (56)Timeline Frame 1Symbol 332 as "bat"
ExportAssets (56)Timeline Frame 1Symbol 338 as "mushroom"
ExportAssets (56)Timeline Frame 1Symbol 342 as "feces"
ExportAssets (56)Timeline Frame 1Symbol 350 as "cavelocked"
ExportAssets (56)Timeline Frame 1Symbol 353 as "forestunlocked"
ExportAssets (56)Timeline Frame 1Symbol 355 as "forestlocked"
ExportAssets (56)Timeline Frame 1Symbol 357 as "swampunlocked"
ExportAssets (56)Timeline Frame 1Symbol 359 as "swamplocked"
ExportAssets (56)Timeline Frame 1Symbol 361 as "parkunlocked2"
ExportAssets (56)Timeline Frame 1Symbol 362 as "parkunlocked1"
ExportAssets (56)Timeline Frame 1Symbol 366 as "courtyardlocked"
ExportAssets (56)Timeline Frame 1Symbol 368 as "beachunlocked"
ExportAssets (56)Timeline Frame 1Symbol 370 as "beachlocked"
ExportAssets (56)Timeline Frame 1Symbol 392 as "snake"
ExportAssets (56)Timeline Frame 1Symbol 394 as "HOP10"
ExportAssets (56)Timeline Frame 1Symbol 396 as "HOP50"
ExportAssets (56)Timeline Frame 1Symbol 426 as "objspit"
ExportAssets (56)Timeline Frame 1Symbol 435 as "cricket"
ExportAssets (56)Timeline Frame 1Symbol 484 as "infoboard"
ExportAssets (56)Timeline Frame 1Symbol 493 as "spider"
ExportAssets (56)Timeline Frame 1Symbol 509 as "movbg3"
ExportAssets (56)Timeline Frame 1Symbol 626 as "movPause"

Labels

"preloader"Frame 7
"loadvar"Frame 8
"menu"Frame 9
"setting"Frame 10
"help"Frame 11
"inputname"Frame 12
"wait"Frame 13
"play"Frame 14
"stage1"Frame 15
"stage2"Frame 16
"stage3"Frame 17
"stage4"Frame 18
"stage5"Frame 19
"stage6"Frame 20
"hit"Symbol 34 MovieClip Frame 45
"fall"Symbol 35 MovieClip [coconut] Frame 5
"startover"Symbol 35 MovieClip [coconut] Frame 10
"hit"Symbol 59 MovieClip [bee] Frame 5
"burn"Symbol 59 MovieClip [bee] Frame 70
"startover"Symbol 59 MovieClip [bee] Frame 110
"hit"Symbol 69 MovieClip [fly] Frame 5
"burn"Symbol 69 MovieClip [fly] Frame 70
"startover"Symbol 69 MovieClip [fly] Frame 110
"hit"Symbol 87 MovieClip [dragonfly] Frame 5
"burn"Symbol 87 MovieClip [dragonfly] Frame 70
"startover"Symbol 87 MovieClip [dragonfly] Frame 110
"hit"Symbol 114 MovieClip [butterfly] Frame 5
"burn"Symbol 114 MovieClip [butterfly] Frame 70
"startover"Symbol 114 MovieClip [butterfly] Frame 110
"body0"Symbol 120 MovieClip Frame 1
"body1"Symbol 120 MovieClip Frame 2
"body2"Symbol 120 MovieClip Frame 3
"body3"Symbol 120 MovieClip Frame 4
"bump0"Symbol 126 MovieClip Frame 1
"bump1"Symbol 126 MovieClip Frame 2
"bump2"Symbol 126 MovieClip Frame 3
"bump3"Symbol 126 MovieClip Frame 4
"shoot"Symbol 130 MovieClip Frame 3
"hit"Symbol 130 MovieClip Frame 4
"watch1"Symbol 141 MovieClip Frame 2
"watch2"Symbol 141 MovieClip Frame 3
"watch3"Symbol 141 MovieClip Frame 4
"watch4"Symbol 141 MovieClip Frame 5
"watch5"Symbol 141 MovieClip Frame 6
"watch6"Symbol 141 MovieClip Frame 7
"watch7"Symbol 141 MovieClip Frame 8
"watch8"Symbol 141 MovieClip Frame 9
"hit"Symbol 141 MovieClip Frame 10
"empty"Symbol 153 MovieClip Frame 1
"sc1"Symbol 153 MovieClip Frame 2
"rc"Symbol 153 MovieClip Frame 3
"rl"Symbol 153 MovieClip Frame 4
"rr"Symbol 153 MovieClip Frame 5
"sl"Symbol 153 MovieClip Frame 6
"sr"Symbol 153 MovieClip Frame 7
"sc2"Symbol 153 MovieClip Frame 8
"standby"Symbol 198 MovieClip [frog] Frame 2
"jump1"Symbol 198 MovieClip [frog] Frame 11
"down1"Symbol 198 MovieClip [frog] Frame 14
"jump2"Symbol 198 MovieClip [frog] Frame 16
"down2"Symbol 198 MovieClip [frog] Frame 19
"jump3"Symbol 198 MovieClip [frog] Frame 21
"down3"Symbol 198 MovieClip [frog] Frame 24
"freeze"Symbol 198 MovieClip [frog] Frame 26
"spit1"Symbol 198 MovieClip [frog] Frame 33
"spit2"Symbol 198 MovieClip [frog] Frame 34
"spit3"Symbol 198 MovieClip [frog] Frame 35
"spit4"Symbol 198 MovieClip [frog] Frame 36
"spit5"Symbol 198 MovieClip [frog] Frame 37
"spit6"Symbol 198 MovieClip [frog] Frame 38
"spit7"Symbol 198 MovieClip [frog] Frame 39
"spit8"Symbol 198 MovieClip [frog] Frame 40
"death"Symbol 198 MovieClip [frog] Frame 45
"death2"Symbol 198 MovieClip [frog] Frame 48
"hit"Symbol 214 MovieClip [mosquito] Frame 5
"burn"Symbol 214 MovieClip [mosquito] Frame 70
"startover"Symbol 214 MovieClip [mosquito] Frame 110
"hit"Symbol 234 MovieClip [ladybug] Frame 5
"burn"Symbol 234 MovieClip [ladybug] Frame 70
"startover"Symbol 234 MovieClip [ladybug] Frame 110
"hit"Symbol 251 MovieClip [prayingmantis] Frame 5
"burn"Symbol 251 MovieClip [prayingmantis] Frame 70
"startover"Symbol 251 MovieClip [prayingmantis] Frame 110
"turn"Symbol 324 MovieClip [crab] Frame 2
"attack"Symbol 324 MovieClip [crab] Frame 5
"burn"Symbol 324 MovieClip [crab] Frame 15
"startover"Symbol 324 MovieClip [crab] Frame 40
"burn"Symbol 332 MovieClip [bat] Frame 5
"startover"Symbol 332 MovieClip [bat] Frame 25
"turn"Symbol 392 MovieClip [snake] Frame 2
"attack"Symbol 392 MovieClip [snake] Frame 6
"burn"Symbol 392 MovieClip [snake] Frame 20
"startover"Symbol 392 MovieClip [snake] Frame 40
"flame"Symbol 425 MovieClip Frame 20
"hit"Symbol 435 MovieClip [cricket] Frame 9
"burn"Symbol 435 MovieClip [cricket] Frame 74
"startover"Symbol 435 MovieClip [cricket] Frame 104
"fr-10"Symbol 465 MovieClip Frame 1
"fr10"Symbol 465 MovieClip Frame 2
"fr50"Symbol 465 MovieClip Frame 3
"fr100"Symbol 465 MovieClip Frame 4
"fr150"Symbol 465 MovieClip Frame 5
"fr200"Symbol 465 MovieClip Frame 6
"inmouth"Symbol 466 MovieClip Frame 2
"inmouth2"Symbol 466 MovieClip Frame 3
"instomach"Symbol 466 MovieClip Frame 4
"instomach2"Symbol 466 MovieClip Frame 17
"spitup"Symbol 466 MovieClip Frame 28
"hit"Symbol 493 MovieClip [spider] Frame 5
"burn"Symbol 493 MovieClip [spider] Frame 70
"startover"Symbol 493 MovieClip [spider] Frame 110
"pause"Symbol 626 MovieClip [movPause] Frame 2
"sett"Symbol 626 MovieClip [movPause] Frame 3
"gameover"Symbol 626 MovieClip [movPause] Frame 4
"waitplay"Symbol 626 MovieClip [movPause] Frame 5
"i1"Symbol 626 MovieClip [movPause] Frame 6
"i2"Symbol 626 MovieClip [movPause] Frame 7
"i3"Symbol 626 MovieClip [movPause] Frame 8
"go"Symbol 626 MovieClip [movPause] Frame 10
"waitmenu"Symbol 626 MovieClip [movPause] Frame 25
"waitinput"Symbol 626 MovieClip [movPause] Frame 40
"loaded"Symbol 666 MovieClip Frame 3




http://swfchan.com/7/30518/info.shtml
Created: 19/5 -2019 07:52:59 Last modified: 19/5 -2019 07:52:59 Server time: 08/05 -2024 10:33:51