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

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

Duck Life 2.swf

This is the info page for
Flash #100079

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { myColor = 0; var urlString = _root._url; if (urlString.indexOf('bubblebox.com') == -1) { _root.locker.gotoAndStop(2); } } frame 1 { function Lbar() { loadcheat = Number(loadcheat + 0.25); _root.spinamount = (getBytesLoaded() / getBytesTotal()) * 100; txtx = Math.ceil(((getBytesLoaded() / getBytesTotal()) * 100 + loadcheat) / 2) + '%'; txtxtx.text = Math.ceil(getBytesLoaded() / 1000) + 'KB/' + Math.ceil(getBytesTotal() / 1000) + 'KB loaded'; if (txtx == '100%' or Math.ceil(((getBytesLoaded() / getBytesTotal()) * 100 + loadcheat) / 2) > 99) { txtx = ''; playb._visible = true; clearInterval(LoaderInt); } } stop(); loadcheat = 0; LoaderInt = setInterval(Lbar, 10); } frame 1 { var CPMStarContentSpotID = '2536Q977FBD09'; System.security.allowDomain('server.cpmstar.com'); adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=2598Q2EF11857'); } // unknown tag 88 length 175 movieClip 5 { } // unknown tag 88 length 51 movieClip 9 { } instance playb of movieClip 9 { onClipEvent (load) { _visible = false; } onClipEvent (rollOver) { _alpha = 50; } onClipEvent (rollOut) { _alpha = 100; } onClipEvent (release) { _root.nextFrame(); } } movieClip 12 { } // unknown tag 88 length 106 movieClip 19 { } movieClip 20 { instance of movieClip 19 { onClipEvent (release) { getURL('http://sims5000.newgrounds.com', ''); } } } instance of movieClip 20 { onClipEvent (load) { xspeed = 0; } onClipEvent (enterFrame) { this._rotation += _root.spinamount / 2; } } movieClip 31 { } movieClip 42 { } movieClip 59 { frame 1 { stop(); bb_time = Math.random() * 230 + 60; bb_startTime = 0; this.onEnterFrame = function () { ++bb_startTime; if (bb_startTime > bb_time) { delete this.onEnterFrame; this.gotoAndPlay(2); } }; } } movieClip 60 { frame 1 { this.onRelease = function () { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1840&subid=loadscreen', '_blank'); }; } } instance of movieClip 60 { onClipEvent (rollOver) { _alpha = 50; } onClipEvent (rollOut) { _alpha = 100; } } movieClip 1109 __Packages.mx.behaviors.DepthControl { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.behaviors) { _global.mx.behaviors = new Object(); } if (!_global.mx.behaviors.DepthControl) { var v1 = function () { super(); }; mx.behaviors.DepthControl = v1; mx.behaviors.DepthControl extends Object; var v2 = v1.prototype; v1.sendToBack = function (target) { var v2 = false; while (v2 == false) { mx.behaviors.DepthControl.sendBackward(target); v2 = target == mx.behaviors.DepthControl.getInstanceAtLowest(target._parent); } }; v1.bringToFront = function (target) { var v2 = false; while (v2 == false) { mx.behaviors.DepthControl.bringForward(target); v2 = target == mx.behaviors.DepthControl.getInstanceAtHighest(target._parent); } }; v1.sendBackward = function (target) { var v2 = mx.behaviors.DepthControl.trackDepths(target._parent); if (target != mx.behaviors.DepthControl.getInstanceAtLowest(target._parent)) { target.swapDepths(mx.behaviors.DepthControl.getInstanceLowerThan(target)); } }; v1.bringForward = function (target) { if (target != mx.behaviors.DepthControl.getInstanceAtHighest(target._parent)) { target.swapDepths(mx.behaviors.DepthControl.getInstanceHigherThan(target)); } }; v1.trackDepths = function (mcParent) { var v4 = []; for (var v5 in mcParent) { if (typeof mcParent[v5] == 'movieclip') { v4.push({'mc': mcParent[v5], 'depth': mcParent[v5].getDepth()}); } } v4.sort(mx.behaviors.DepthControl.orderFunc); return v4; }; v1.orderFunc = function (a, b) { var v2 = Number(a.depth); var v1 = Number(b.depth); if (v2 > v1) { return -1; } else { if (v1 > v2) { return 1; } else { return 0; } } }; v1.getInstanceAtLowest = function (targetParent) { var v1 = mx.behaviors.DepthControl.trackDepths(targetParent); return v1[v1.length - 1].mc; }; v1.getInstanceAtHighest = function (targetParent) { var v1 = mx.behaviors.DepthControl.trackDepths(targetParent); return v1[0].mc; }; v1.getInstanceLowerThan = function (target) { var v2 = mx.behaviors.DepthControl.trackDepths(target._parent); var v1 = 0; while (v1 < v2.length) { if (v2[v1].mc == target) { break; } ++v1; } return v2[v1 + 1].mc; }; v1.getInstanceHigherThan = function (target) { var v2 = mx.behaviors.DepthControl.trackDepths(target._parent); var v1 = 0; while (v1 < v2.length) { if (v2[v1].mc == target) { break; } ++v1; } return v2[v1 - 1].mc; }; ASSetPropFlags(mx.behaviors.DepthControl.prototype, null, 1); } #endinitclip } frame 2 { } frame 2 { _root.music = 999; daytime = 1; game = SharedObject.getLocal('mydata'); if (game.data.stalvl == undefined) { stalvl = 0; } else { stalvl = game.data.stalvl; } if (game.data.clilvl == undefined) { clilvl = 0; } else { clilvl = game.data.clilvl; } if (game.data.runlvl == undefined) { runlvl = 0; } else { runlvl = game.data.runlvl; } if (game.data.flylvl == undefined) { flylvl = 0; } else { flylvl = game.data.flylvl; } if (game.data.swilvl == undefined) { swilvl = 0; } else { swilvl = game.data.swilvl; } if (game.data.money == undefined) { money = 0; } else { money = game.data.money; } if (_root.money == 'NaN') { money = 0; } if (game.data.race == undefined) { race = 0; } else { race = game.data.race; } if (game.data.maxi == undefined) { maxi = 20; } else { maxi = game.data.maxi; } if (game.data.maxmaxi == undefined) { maxmaxi = 30; } else { maxmaxi = game.data.maxmaxi; } if (game.data.colour == undefined) { colour = 0; } else { colour = game.data.colour; } if (game.data.hat == undefined) { hat = 0; } else { hat = game.data.hat; } if (game.data.namee == undefined) { } else { namee = game.data.namee; gotoAndStop(83); } if (_root.race == NaN) { _root.race = 0; } } frame 2 { } movieClip 64 { } instance of movieClip 64 { onClipEvent (enterFrame) { if (_root.daytime == 1) { gotoAndStop(1); } if (_root.daytime == 2) { gotoAndStop(2); } if (_root.daytime == 3) { gotoAndStop(3); } } } movieClip 66 { frame 1 { stop(); } } movieClip 68 { frame 1 { stop(); } } instance of movieClip 19 { onClipEvent (release) { getURL('http://sims5000.newgrounds.com', ''); } } movieClip 71 { } movieClip 103 { } movieClip 104 { frame 1 { stop(); } frame 10 { stop(); } } movieClip 105 { } movieClip 106 { frame 1 { this._parent.stop(); this.link.onRelease = function () { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1840&subid=splash', '_blank'); }; } frame 181 { this._parent.stop(); this.link.onRelease = function () { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=XXXX&subid=splash', '_blank'); }; } frame 191 { stop(); this._parent.play(); } } frame 3 { delay = 1500; } frame 3 { _root.race = Number(0); } frame 3 { name = ''; stop(); } movieClip 109 { } instance of movieClip 109 { onClipEvent (load) { num = 0; } onClipEvent (enterFrame) { if (_parent._parent._x < 480 or _parent._parent._currentframe == 2) { num = Math.round(Math.random() * 40); if (num == 5) { _parent.play(); num = 0; } if (_root.corn._x < 640) { _parent.play(); num = 0; } } } } // unknown tag 88 length 87 movieClip 116 { } instance of movieClip 116 { onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.name !== '') { _visible = true; } else { _visible = false; } } onClipEvent (rollOver) { if (_root.name !== '') { _alpha = 50; } } onClipEvent (rollOut) { if (_root.name !== '') { _alpha = 100; } } onClipEvent (release) { if (_root.name !== '') { _root.nextFrame(); } } onClipEvent (keyPress '<Enter>') { if (_root.name !== '') { _root.nextFrame(); } } } movieClip 119 { } instance of movieClip 119 { onClipEvent (load) { delay = 100; } onClipEvent (enterFrame) { if (_root.stalvl > 1500) { _root.stalvl = 1500; } if (_root.runlvl > 1500) { _root.runlvl = 1500; } if (_root.flylvl > 1500) { _root.flylvl = 1500; } if (_root.swilvl > 1500) { _root.swilvl = 1500; } delay -= 1; if (delay <= 0) { game = SharedObject.getLocal('mydata'); game.data.stalvl = _root.stalvl; game.data.runlvl = _root.runlvl; game.data.flylvl = _root.flylvl; game.data.swilvl = _root.swilvl; game.data.seed = _root.seed; game.data.skill = _root.skill; game.data.money = _root.money; game.data.colour = _root.colour; game.data.hat = _root.hat; game.flush(); delay = 100; } } } movieClip 121 { } movieClip 126 { frame 1 { stop(); } instance of movieClip 121 { onClipEvent (enterFrame) { if (_root.music == 0) { stopAllSounds(); _parent.gotoAndStop(1); } } } frame 2 { _root.music = 2; stop(); } frame 3 { _root.music = 3; stop(); } frame 4 { _root.music = 4; stop(); } frame 5 { stop(); _root.music = 1; } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } movieClip 131 { frame 1 { stop(); } } movieClip 132 { frame 1 { this.onRollOver = function () { this.logo_ro.gotoAndStop(2); }; this.onRollOut = function () { this.logo_ro.gotoAndStop(1); }; this.onReleaseOutside = function () { this.logo_ro.gotoAndStop(1); }; } } instance of movieClip 132 { onClipEvent (release) { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1840&subid=enternamescreen', '_blank'); } } movieClip 133 { } instance of movieClip 133 { onClipEvent (load) { delay = 100; } onClipEvent (enterFrame) { if (_root.chick.mode == 2 and _root.chick._currentframe < 22) { _root.chick.play(); } if (_root.chick2.mode == 2 and _root.chick._currentframe < 22) { _root.chick.play(); } if (_root.chick3.mode == 2 and _root.chick._currentframe < 22) { _root.chick.play(); } if (_root.chick4.mode == 2 and _root.chick._currentframe < 22) { _root.chick.play(); } if (_root.race == NaN) { _root.race = 0; } if (_root.clilvl > _root.maxi * 10) { _root.clilvl = _root.maxi * 10; _root.maxwarning.gotoAndStop(2); } if (_root.stalvl > _root.maxi * 10) { _root.stalvl = _root.maxi * 10; _root.maxwarning.gotoAndStop(2); } if (_root.runlvl > _root.maxi * 10) { _root.runlvl = _root.maxi * 10; _root.maxwarning.gotoAndStop(2); } if (_root.flylvl > _root.maxi * 10) { _root.flylvl = _root.maxi * 10; _root.maxwarning.gotoAndStop(2); } if (_root.swilvl > _root.maxi * 10) { _root.swilvl = _root.maxi * 10; _root.maxwarning.gotoAndStop(2); } delay -= 1; if (delay <= 0) { game = SharedObject.getLocal('mydata'); game.data.maxi = _root.maxi; game.data.maxmaxi = _root.maxmaxi; game.data.clilvl = _root.clilvl; game.data.namee = _root.namee; if (game.data.race == NaN) { game.data.race = 0; } game.flush(); delay = 100; } } } movieClip 135 { } button 140 { on (release) { prevFrame(); _root.gotoAndStop(10); } } button 146 { on (release) { prevFrame(); } } movieClip 147 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 135 { onClipEvent (rollOver) { this.useHandCursor = false; } onClipEvent (keyDown) { prevFrame(); } onClipEvent (mouseDown) { prevFrame(); } } } movieClip 149 { } instance of movieClip 149 { onClipEvent (release) { _root.music = 2; _root.nextFrame(); } onClipEvent (rollOver) { _alpha = 50; } onClipEvent (releaseOutside, rollOut) { _alpha = 100; } } movieClip 151 { } instance of movieClip 151 { onClipEvent (release) { _root.music = 0; _root.nextFrame(); } onClipEvent (rollOver) { _alpha = 50; } onClipEvent (releaseOutside, rollOut) { _alpha = 100; } } frame 5 { delay = 1500; } frame 5 { _root.hey = 'Hey ' + _root.name; } button 155 { on (release) { nextFrame(); } } button 158 { on (release) { gotoAndStop(7); } } movieClip 160 { } movieClip 162 { } button 167 { on (release) { prevFrame(); } } movieClip 174 { } frame 8 { name2 = name; } // unknown tag 88 length 51 frame 9 { stop(); xspeed = 0.4; if (_root.money == 'NaN') { money = 0; } info = 'Roll over an object to find out more about it'; } instance of movieClip 66 { onClipEvent (enterFrame) { if (_root.daytime == 1) { gotoAndStop(1); } if (_root.daytime == 2) { gotoAndStop(2); } if (_root.daytime == 3) { gotoAndStop(3); } } } instance of movieClip 68 { onClipEvent (enterFrame) { if (_root.daytime == 1) { gotoAndStop(1); } if (_root.daytime == 2) { gotoAndStop(2); } if (_root.daytime == 3) { gotoAndStop(3); } } } movieClip 182 { } instance of movieClip 182 { onClipEvent (enterFrame) { xspeed = _root.xspeed; _x = _x - xspeed; if (_x < -150) { _x = _x + 940; _y = 10 + Math.random() * 420; } } } instance of movieClip 133 { onClipEvent (load) { _root.total = Number(_root.swimlevel) + Number(_root.staminalevel) + Number(_root.runninglevel) + Number(_root.flyinglevel); if (_root.total > 599) { _root.rank = 'Duck God'; } else { if (_root.total > 499) { _root.rank = 'King of Ducks'; } else { if (_root.total > 399) { _root.rank = 'Professional'; } else { if (_root.total > 299) { _root.rank = 'Speedy Duck'; } else { if (_root.total > 199) { _root.rank = 'Amateur'; } else { if (_root.total > 99) { _root.rank = 'Trainee'; } else { if (_root.total > 49) { _root.rank = 'Beginner'; } else { if (_root.total > 19) { _root.rank = 'Duckling'; } else { _root.rank = 'Baby Duckling'; } } } } } } } } } onClipEvent (enterFrame) { if (_root.staminalevel > 49) { _root.gameShedAchievement.ActivateAchievement(2450399626.0); } _root.total = Number(_root.swimlevel) + Number(_root.staminalevel) + Number(_root.runninglevel) + Number(_root.flyinglevel); if (_root.total > 599) { _root.rank = 'Duck God'; } else { if (_root.total > 499) { _root.rank = 'King of Ducks'; } else { if (_root.total > 399) { _root.rank = 'Professional'; } else { if (_root.total > 299) { _root.rank = 'Speedy Duck'; } else { if (_root.total > 199) { _root.rank = 'Amateur'; } else { if (_root.total > 99) { _root.rank = 'Trainee'; } else { if (_root.total > 49) { _root.rank = 'Beginner'; } else { if (_root.total > 19) { _root.rank = 'Duckling'; } else { _root.rank = 'Baby Duckling'; } } } } } } } } } } movieClip 185 { } instance corn2 of movieClip 185 { onClipEvent (load) { drag = false; yspeed = 0; xspeed = 0; } onClipEvent (enterFrame) { if (_x < -960) { _x = -60; } if (_x == -20 and drag == false) { xspeed = 0; } if (_x < -10) { _y = 400; } if (this.hitTest(_root.chick)) { if (_root.chick._currentframe == 1 and _root.chick.qwe._currentframe > 8) { _root.chick._x += 50; } if (_root.chick._currentframe == 2 and _root.chick.qwe._currentframe > 8) { _root.chick._x -= 50; } _root.chick.skill = 1; if (_x > _root.chick._x) { _root.chick.gotoAndStop(3); } if (_x < _root.chick._x) { _root.chick.gotoAndStop(4); } _x = -860; drag = false; xspeed = 10; } _x = _x + xspeed; _y = _y + yspeed; if (drag == true) { xspeed = -(_x - _root._xmouse) / 2; yspeed = -(_y - _root._ymouse) / 2; } if (drag == false) { yspeed += 1; if (_y > 420) { _y = 420; yspeed = -yspeed / 2; } if (_x > 630) { _x = 630; xspeed = -xspeed / 2; } } } onClipEvent (mouseUp) { if (drag == true) { drag = false; } } onClipEvent (press) { drag = true; } } instance of movieClip 182 { onClipEvent (enterFrame) { xspeed = _root.xspeed; _x = _x - xspeed; if (_x < -150) { _x = _x + 940; _y = 10 + Math.random() * 420; } } } movieClip 189 { } instance of movieClip 189 { onClipEvent (enterFrame) { if (_root.music == 1) { gotoAndStop(1); } if (_root.music == 0) { gotoAndStop(2); } } onClipEvent (release) { if (_root.music == 1) { _root.music = 0; } else { if (_root.music == 0) { _root.music = 2; } } } onClipEvent (rollOver) { _alpha = 50; _root.info = 'This button turns the game music on or off'; } onClipEvent (releaseOutside, rollOut) { _alpha = 100; } } movieClip 193 { } instance of movieClip 193 { onClipEvent (release) { _root.gotoAndStop(79); } onClipEvent (rollOver) { _alpha = 50; _root.info = 'View your ducks statistics'; } onClipEvent (releaseOutside, rollOut) { _alpha = 100; } } instance corn of movieClip 185 { onClipEvent (load) { drag = false; yspeed = 0; xspeed = 0; } onClipEvent (enterFrame) { if (_x > 1600) { _x = 700; } if (_x == 660 and drag == false) { xspeed = 0; } if (_x > 650) { _y = 400; } if (this.hitTest(_root.chick)) { if (_root.chick._currentframe == 1 and _root.chick.qwe._currentframe > 8) { _root.chick._x += 50; } if (_root.chick._currentframe == 2 and _root.chick.qwe._currentframe > 8) { _root.chick._x -= 50; } _root.chick.skill = 0; if (_x > _root.chick._x) { _root.chick.gotoAndStop(3); } if (_x < _root.chick._x) { _root.chick.gotoAndStop(4); } _x = 1500; drag = false; xspeed = -10; } _x = _x + xspeed; _y = _y + yspeed; if (drag == true) { xspeed = -(_x - _root._xmouse) / 2; yspeed = -(_y - _root._ymouse) / 2; } if (drag == false) { yspeed += 1; if (_y > 420) { _y = 420; yspeed = -yspeed / 2; } if (_x < 10) { _x = 10; xspeed = -xspeed / 2; } } } onClipEvent (mouseUp) { if (drag == true) { drag = false; } } onClipEvent (press) { drag = true; } } // unknown tag 88 length 106 // unknown tag 88 length 70 movieClip 200 { } movieClip 202 { } instance of movieClip 202 { onClipEvent (press) { if (_root.corn2._x > -360 and _root.corn2._x < 0 and _root.money > 14 and _root.freeseed == 0) { _root.corn2._x = 67; _root.corn2._y = 325; _root.corn2.xspeed = 0; _root.corn2.yspeed = 5; _root.money = Number(_root.money - 15); } if (_root.corn2._x > -360 and _root.corn2._x < 0 and _root.freeseed == 1) { _root.corn2._x = 67; _root.corn2._y = 325; _root.corn2.xspeed = 0; _root.corn2.yspeed = 5; } } onClipEvent (rollOver) { _root.info = 'Purple Seed - each pile of this high-energy seed will increase your energy level by 3! Click to dispense'; } onClipEvent (enterFrame) { if (_root.freeseed == 1) { gotoAndStop(2); } else { gotoAndStop(1); } } } movieClip 204 { } movieClip 205 { } instance of movieClip 205 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x + _root.chick.qwe._x, _root.chick._y + _root.chick.qwe._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } onClipEvent (enterFrame) { if (_root.daytime == 1) { gotoAndStop(1); } if (_root.daytime == 2) { gotoAndStop(2); } if (_root.daytime == 3) { gotoAndStop(3); } } } movieClip 221 { frame 1 { stop(); } } movieClip 222 { instance of movieClip 221 { onClipEvent (load) { if (_parent._parent._name == 'chick' or _parent._parent._parent._name == 'chick' or _parent._parent._parent._parent._name == 'chick' or _parent._parent._parent._parent._parent._name == 'chick') { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } if (_root.colour == 11) { gotoAndStop(12); } if (_root.colour == 12) { gotoAndStop(13); } if (_root.colour == 13) { gotoAndStop(14); } if (_root.colour == 14) { gotoAndStop(15); } if (_root.colour == 15) { gotoAndStop(16); } } } onClipEvent (enterFrame) { if (_root._currentframe == 10) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } if (_root.colour == 11) { gotoAndStop(12); } if (_root.colour == 12) { gotoAndStop(13); } if (_root.colour == 13) { gotoAndStop(14); } if (_root.colour == 14) { gotoAndStop(15); } if (_root.colour == 15) { gotoAndStop(16); } } } } } movieClip 226 { } movieClip 234 { } movieClip 240 { } movieClip 241 { instance of movieClip 226 { onClipEvent (load) { if (_root.sglasses == 1) { _visible = true; } else { _visible = false; } } onClipEvent (enterFrame) { if (_root.sglasses == 1) { _visible = true; } else { _visible = false; } } } instance of movieClip 240 { onClipEvent (load) { if (_root.bcrown == 1) { gotoAndStop(2); } else { gotoAndStop(1); } } onClipEvent (enterFrame) { if (_root.bcrown == 1) { gotoAndStop(2); } else { gotoAndStop(1); } } } } movieClip 242 { instance of movieClip 241 { onClipEvent (load) { if (_parent._parent._parent._parent._parent._parent._name == 'chick' or _parent._parent._parent._parent._parent._name == 'chick' or _parent._parent._parent._parent._name == 'chick' or _parent._parent._parent._name == 'chick' or _parent._parent._name == 'chick') { if (_root.hat == 0) { gotoAndStop(1); } else { if (_root.hat == 1) { gotoAndStop(2); } else { if (_root.hat == 2) { gotoAndStop(3); } else { if (_root.hat == 3) { gotoAndStop(4); } else { if (_root.hat == 4) { gotoAndStop(5); } else { if (_root.hat == 5) { gotoAndStop(6); } else { if (_root.hat == 6) { gotoAndStop(7); } else { if (_root.hat == 7) { gotoAndStop(8); } else { if (_root.hat == 8) { gotoAndStop(9); } else { if (_root.hat == 9) { gotoAndStop(10); } } } } } } } } } } } else { gotoAndStop(1); } } onClipEvent (enterFrame) { if (_parent._parent._parent._parent._parent._parent._name == 'chick' or _parent._parent._parent._parent._parent._name == 'chick' or _parent._parent._parent._parent._name == 'chick' or _parent._parent._parent._name == 'chick' or _parent._parent._name == 'chick') { if (_root.hat == 0) { gotoAndStop(1); } else { if (_root.hat == 1) { gotoAndStop(2); } else { if (_root.hat == 2) { gotoAndStop(3); } else { if (_root.hat == 3) { gotoAndStop(4); } else { if (_root.hat == 4) { gotoAndStop(5); } else { if (_root.hat == 5) { gotoAndStop(6); } else { if (_root.hat == 6) { gotoAndStop(7); } else { if (_root.hat == 7) { gotoAndStop(8); } else { if (_root.hat == 8) { gotoAndStop(9); } else { if (_root.hat == 9) { gotoAndStop(10); } } } } } } } } } } } else { gotoAndStop(1); } } } } movieClip 243 { instance of movieClip 242 { onClipEvent (load) { if (_parent._parent._currentframe == 1 or _parent._parent._parent._parent._parent._name == 'chick' or _parent._parent._parent._parent._name == 'chick' or _parent._parent._parent._name == 'chick' or _parent._parent._name == 'chick' or _parent._name == 'chick') { if (_root.hat == 0) { gotoAndStop(1); } else { if (_root.hat == 1) { gotoAndStop(2); } else { if (_root.hat == 2) { gotoAndStop(3); } else { if (_root.hat == 3) { gotoAndStop(4); } else { if (_root.hat == 4) { gotoAndStop(5); } else { if (_root.hat == 5) { gotoAndStop(6); } else { if (_root.hat == 6) { gotoAndStop(7); } else { if (_root.hat == 7) { gotoAndStop(8); } else { if (_root.hat == 8) { gotoAndStop(9); } else { if (_root.hat == 9) { gotoAndStop(10); } } } } } } } } } } } else { gotoAndStop(1); } } onClipEvent (enterFrame) { if (_parent._parent._currentframe == 1 or _parent._parent._parent._parent._parent._name == 'chick' or _parent._parent._parent._parent._name == 'chick' or _parent._parent._parent._name == 'chick' or _parent._parent._name == 'chick' or _parent._name == 'chick') { if (_root.hat == 0) { gotoAndStop(1); } else { if (_root.hat == 1) { gotoAndStop(2); } else { if (_root.hat == 2) { gotoAndStop(3); } else { if (_root.hat == 3) { gotoAndStop(4); } else { if (_root.hat == 4) { gotoAndStop(5); } else { if (_root.hat == 5) { gotoAndStop(6); } else { if (_root.hat == 6) { gotoAndStop(7); } else { if (_root.hat == 7) { gotoAndStop(8); } else { if (_root.hat == 8) { gotoAndStop(9); } else { if (_root.hat == 9) { gotoAndStop(10); } } } } } } } } } } } else { gotoAndStop(1); } } } } movieClip 261 { instance of movieClip 222 { onClipEvent (load) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } if (_root.colour == 11) { gotoAndStop(12); } if (_root.colour == 12) { gotoAndStop(13); } if (_root.colour == 13) { gotoAndStop(14); } if (_root.colour == 14) { gotoAndStop(15); } if (_root.colour == 15) { gotoAndStop(16); } } } instance of movieClip 242 { onClipEvent (load) { if (_root.hat == 0) { gotoAndStop(1); } if (_root.hat == 1) { gotoAndStop(2); } if (_root.hat == 2) { gotoAndStop(3); } if (_root.hat == 3) { gotoAndStop(4); } if (_root.hat == 4) { gotoAndStop(5); } } } } movieClip 262 { frame 1 { _parent.timerstop = 1; } frame 50 { _root.nextFrame(); } } movieClip 263 { frame 1 { stop(); } instance of movieClip 222 { onClipEvent (load) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } if (_root.colour == 11) { gotoAndStop(12); } if (_root.colour == 12) { gotoAndStop(13); } if (_root.colour == 13) { gotoAndStop(14); } if (_root.colour == 14) { gotoAndStop(15); } if (_root.colour == 15) { gotoAndStop(16); } } } instance of movieClip 243 { onClipEvent (load) { _rotation = 0; } onClipEvent (enterFrame) { if (_parent._parent._currentframe == 1) { if (_root.corn._x < 640 and _root.corn.drag == false or _root.corn2._x > 0 and _root.corn2.drag == false) { } else { rx = _root._xmouse; ry = _root._ymouse; cx = _parent._parent._x + _parent._x + _x; cy = _parent._parent._y + _parent._y + _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; roto = angle; _rotation = roto; } } if (_parent._parent._currentframe == 2) { if (_root.corn._x < 640 and _root.corn.drag == false) { } else { rx = _root._xmouse; ry = _root._ymouse; cx = _parent._parent._x + _parent._x + _x; cy = _parent._parent._y + _parent._y + _y; angle = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433; _rotation = -angle + 180; } } } } instance of movieClip 109 { onClipEvent (load) { num = 0; } onClipEvent (enterFrame) { if (_parent._parent._x < 530 or _parent._parent._currentframe == 2) { if (_parent._parent._x > 110 or _parent._parent._currentframe == 1) { num = Math.round(Math.random() * 40); if (num == 5) { _parent.play(); num = 0; } if (_root.corn._x < 640) { _parent.play(); num = 0; } if (_root.corn2._x > 0) { _parent.play(); num = 0; } } } } } instance of movieClip 222 { onClipEvent (load) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } if (_root.colour == 11) { gotoAndStop(12); } if (_root.colour == 12) { gotoAndStop(13); } if (_root.colour == 13) { gotoAndStop(14); } if (_root.colour == 14) { gotoAndStop(15); } if (_root.colour == 15) { gotoAndStop(16); } } } instance of movieClip 242 { onClipEvent (load) { if (_root.hat == 0) { gotoAndStop(1); } if (_root.hat == 1) { gotoAndStop(2); } if (_root.hat == 2) { gotoAndStop(3); } if (_root.hat == 3) { gotoAndStop(4); } if (_root.hat == 4) { gotoAndStop(5); } } } frame 12 { if (_root._currentframe == 9) { if (_parent._currentframe == 1) { _parent._x += 50; } if (_parent._currentframe == 2) { _parent._x -= 50; } } else { _x = _x + 50; } gotoAndStop(1); } instance of movieClip 242 { onClipEvent (load) { if (_root.hat == 0) { gotoAndStop(1); } if (_root.hat == 1) { gotoAndStop(2); } if (_root.hat == 2) { gotoAndStop(3); } if (_root.hat == 3) { gotoAndStop(4); } if (_root.hat == 4) { gotoAndStop(5); } } } frame 14 { prevFrame(); } frame 15 { stop(); } } movieClip 265 { } movieClip 267 { instance of movieClip 222 { onClipEvent (load) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } } } instance of movieClip 242 { onClipEvent (load) { if (_root.hat == 0) { gotoAndStop(1); } if (_root.hat == 1) { gotoAndStop(2); } if (_root.hat == 2) { gotoAndStop(3); } if (_root.hat == 3) { gotoAndStop(4); } if (_root.hat == 4) { gotoAndStop(5); } } } } movieClip 270 { } movieClip 273 { } movieClip 274 { instance of movieClip 265 { onClipEvent (load) { if (_parent._parent.skill == 1) { gotoAndStop(2); } else { gotoAndStop(1); } } } frame 10 { if (_parent.skill == 1) { _root.stalvl = Number(_root.stalvl + 8); } _root.stalvl = Number(_root.stalvl + 2); } instance of movieClip 270 { onClipEvent (load) { if (_parent._parent.skill == 1) { gotoAndStop(2); } else { gotoAndStop(1); } } } frame 29 { if (_parent.skill == 1) { _root.stalvl = Number(_root.stalvl + 8); } _root.stalvl = Number(_root.stalvl + 2); } instance of movieClip 273 { onClipEvent (load) { if (_parent._parent.skill == 1) { gotoAndStop(2); } else { gotoAndStop(1); } } } frame 49 { if (_parent.skill == 1) { _root.stalvl = Number(_root.stalvl + 8); } _root.stalvl = Number(_root.stalvl + 2); } frame 60 { if (_root._xmouse > _root.chick._x) { _parent.gotoAndStop(1); } if (_root._xmouse < _root.chick._x) { _parent.gotoAndStop(2); } _root.corn._x = 700; } } movieClip 275 { frame 1 { stop(); } instance qwe of movieClip 263 { onClipEvent (enterFrame) { if (_root.corn._x < 640) { if (_root.corn._x < _parent._x) { if (_currentframe == 1) { _parent.nextFrame(); } } } else { if (_root.corn2._x > 0) { if (_root.corn2._x < _parent._x) { if (_currentframe == 1) { _parent.nextFrame(); } } } else { if (_root._xmouse < _parent._x) { if (_currentframe == 1) { _parent.nextFrame(); } } } } } } frame 2 { stop(); } instance qwe of movieClip 263 { onClipEvent (enterFrame) { if (_root.corn._x < 640) { if (_root.corn._x > _parent._x) { if (_currentframe == 1) { _parent.prevFrame(); } } } else { if (_root.corn2._x > 0) { if (_root.corn2._x > _parent._x) { if (_currentframe == 1) { _parent.prevFrame(); } } } else { if (_root._xmouse > _parent._x) { if (_currentframe == 1) { _parent.prevFrame(); } } } } } } frame 3 { stop(); } frame 4 { stop(); } } instance chick of movieClip 275 { onClipEvent (load) { yspeed = 0; skill = 0; } onClipEvent (enterFrame) { _y = _y + yspeed; yspeed += 1; } } movieClip 280 { } instance of movieClip 280 { onClipEvent (press) { if (_root.corn._x < 1000 and _root.corn._x > 640 and _root.money > 0 and _root.freeseed == 0) { _root.corn._x = 573; _root.corn._y = 325; _root.corn.xspeed = 0; _root.corn.yspeed = 5; _root.money = Number(_root.money - 1); } if (_root.corn._x < 1000 and _root.corn._x > 640 and _root.freeseed == 1) { _root.corn._x = 573; _root.corn._y = 325; _root.corn.xspeed = 0; _root.corn.yspeed = 5; } } onClipEvent (rollOver) { _root.info = 'Seed - this increases your duck\'s energy level. Click to dispense'; } onClipEvent (enterFrame) { if (_root.freeseed == 1) { gotoAndStop(2); } else { gotoAndStop(1); } } } movieClip 287 { } instance of movieClip 287 { onClipEvent (load) { if (_root.race > 13) { gotoAndStop(1); } else { gotoAndStop(2); } } onClipEvent (release) { if (_root.race > 13) { _root.gotoAndStop(81); } } } movieClip 291 { } instance of movieClip 291 { onClipEvent (load) { if (_root.race > 13) { gotoAndStop(1); } else { gotoAndStop(2); } } onClipEvent (release) { if (_root.race > 13) { _root.cam.space = 3; } } } movieClip 293 { frame 1 { function camControl() { parentColor.setTransform(camColor.getTransform()); var v4 = sX / this._width; var v3 = sY / this._height; _parent._x = cX - this._x * v4; _parent._y = cY - this._y * v3; _parent._xscale = 100 * v4; _parent._yscale = 100 * v3; } function resetStage() { var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; parentColor.setTransform(v2); _parent._xscale = 100; _parent._yscale = 100; _parent._x = 0; _parent._y = 0; } this._visible = false; var oldMode = Stage.scaleMode; Stage.scaleMode = 'exactFit'; var cX = Stage.width / 2; var cY = Stage.height / 2; var sX = Stage.width; var sY = Stage.height; Stage.scaleMode = oldMode; var camColor = new Color(this); var parentColor = new Color(_parent); this.onEnterFrame = camControl; camControl(); this.onUnload = resetStage; } } instance cam of movieClip 293 { onClipEvent (load) { space = 1; } onClipEvent (enterFrame) { if (space == 1) { _y = _y + (240 - _y) / 20; _x = _x + (320 - _x) / 20; } if (space == 2) { _y = _y + (240 - _y) / 20; _x = _x + (960 - _x) / 20; } if (space == 3) { _y = _y + (720 - _y) / 20; _x = _x + (320 - _x) / 20; } if (space == 4) { _y = _y + (720 - _y) / 20; _x = _x + (960 - _x) / 20; } } } // unknown tag 88 length 42 button 296 { on (release) { _root.runlvl = Number(_root.runlvl + 10); _root.swilvl = Number(_root.swilvl + 10); _root.clilvl = Number(_root.clilvl + 10); _root.flylvl = Number(_root.flylvl + 10); _root.stalvl = Number(_root.stalvl + 10); } } button 301 { on (release) { gotoAndStop(85); } } // unknown tag 88 length 62 movieClip 309 { } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.stalvl - _root.staminalevel * 10 >= 0) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.stalvl - _root.staminalevel * 10 >= 2) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.stalvl - _root.staminalevel * 10 >= 4) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.stalvl - _root.staminalevel * 10 >= 6) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.stalvl - _root.staminalevel * 10 >= 8) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.flylvl - _root.flyinglevel * 10 >= 0) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.flylvl - _root.flyinglevel * 10 >= 2) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.flylvl - _root.flyinglevel * 10 >= 4) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.flylvl - _root.flyinglevel * 10 >= 6) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.flylvl - _root.flyinglevel * 10 >= 8) { gotoAndStop(2); } else { gotoAndStop(1); } } } button 316 { on (release) { gotoAndStop(12); } on (rollOver) { info = 'Train your duck at flying to make it faster in the air'; } } button 319 { on (release) { nextFrame(); } on (rollOver) { info = 'Duck Shop - Buy accessories for your duck here with your coins'; } } button 323 { on (release) { gotoAndStop(11); } on (rollOver) { info = 'Settings - Change settings such as music or game quality'; } } movieClip 325 { } instance of movieClip 325 { onClipEvent (enterFrame) { this._xscale = _root.runninglevel / 1.5; _root.runninglevel = Math.floor(_root.runlvl / 10); } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.runlvl - _root.runninglevel * 10 >= 0) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.runlvl - _root.runninglevel * 10 >= 2) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.runlvl - _root.runninglevel * 10 >= 4) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.runlvl - _root.runninglevel * 10 >= 6) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.runlvl - _root.runninglevel * 10 >= 8) { gotoAndStop(2); } else { gotoAndStop(1); } } } button 327 { on (release) { gotoAndStop(15); } on (rollOver) { info = 'Train your duck at running to make it faster on land'; } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.swilvl - _root.swimlevel * 10 >= 0) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.swilvl - _root.swimlevel * 10 >= 2) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.swilvl - _root.swimlevel * 10 >= 4) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.swilvl - _root.swimlevel * 10 >= 6) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.swilvl - _root.swimlevel * 10 >= 8) { gotoAndStop(2); } else { gotoAndStop(1); } } } button 329 { on (release) { gotoAndStop(18); } on (rollOver) { info = 'Train your duck at swimming to make it faster in the water'; } } button 331 { on (release) { gotoAndStop(24); } on (rollOver) { info = 'Make sure you\'ve trained your duck before entering'; } } movieClip 334 { } instance of movieClip 334 { onClipEvent (rollOver) { _root.info = 'Energy is needed to complete races. To train it, just feed your duck some seed or skill seed'; } } instance of movieClip 325 { onClipEvent (enterFrame) { this._xscale = _root.climblevel / 1.5; _root.climblevel = Math.floor(_root.clilvl / 10); } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.clilvl - _root.climblevel * 10 >= 0) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.clilvl - _root.climblevel * 10 >= 2) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.clilvl - _root.climblevel * 10 >= 4) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.clilvl - _root.climblevel * 10 >= 6) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.clilvl - _root.climblevel * 10 >= 8) { gotoAndStop(2); } else { gotoAndStop(1); } } } button 336 { on (release) { gotoAndStop(21); } on (rollOver) { info = 'Train your duck at climbing to make it climb faster in races'; } } movieClip 337 { } instance of movieClip 337 { onClipEvent (enterFrame) { this._xscale = _root.staminalevel * 2; _root.staminalevel = Math.floor(_root.stalvl / 10); } } instance of movieClip 325 { onClipEvent (enterFrame) { this._xscale = _root.flyinglevel / 1.5; _root.flyinglevel = Math.floor(_root.flylvl / 10); } } instance of movieClip 325 { onClipEvent (enterFrame) { this._xscale = _root.swimlevel / 1.5; _root.swimlevel = Math.floor(_root.swilvl / 10); } } movieClip 349 { } instance of movieClip 349 { onClipEvent (release) { _root.cam.space = 1; } onClipEvent (rollOver) { _alpha = 50; } onClipEvent (releaseOutside, rollOut) { _alpha = 100; } } movieClip 353 { } instance of movieClip 353 { onClipEvent (load) { if (_root.xtrain == 1) { onn = 1; } else { onn = 0; } } onClipEvent (release) { if (onn == 0) { onn = 1; } else { if (onn == 1) { onn = 0; } } } onClipEvent (enterFrame) { if (onn == 0) { gotoAndStop(1); _root.xtrain = 0; } else { if (onn == 1) { gotoAndStop(2); _root.xtrain = 1; } } } } instance of movieClip 353 { onClipEvent (load) { if (_root.freeseed == 1) { onn = 1; } else { onn = 0; } } onClipEvent (release) { if (onn == 0) { onn = 1; } else { if (onn == 1) { onn = 0; } } } onClipEvent (enterFrame) { if (onn == 0) { gotoAndStop(1); _root.freeseed = 0; } else { if (onn == 1) { gotoAndStop(2); _root.freeseed = 1; } } } } movieClip 357 { } instance of movieClip 357 { onClipEvent (enterFrame) { if (_root.daytime == 1) { _alpha = 100; } else { _alpha = 50; } } onClipEvent (release) { _root.daytime = 1; } } movieClip 359 { } instance of movieClip 359 { onClipEvent (enterFrame) { if (_root.daytime == 2) { _alpha = 100; } else { _alpha = 50; } } onClipEvent (release) { _root.daytime = 2; } } movieClip 361 { } instance of movieClip 361 { onClipEvent (enterFrame) { if (_root.daytime == 3) { _alpha = 100; } else { _alpha = 50; } } onClipEvent (release) { _root.daytime = 3; } } instance of movieClip 353 { onClipEvent (load) { if (_root.bcrown == 1) { onn = 1; } else { onn = 0; } } onClipEvent (release) { if (onn == 0) { onn = 1; } else { if (onn == 1) { onn = 0; } } } onClipEvent (enterFrame) { if (onn == 0) { gotoAndStop(1); _root.bcrown = 0; } else { if (onn == 1) { gotoAndStop(2); _root.bcrown = 1; } } } } instance of movieClip 353 { onClipEvent (load) { if (_root.sglasses == 1) { onn = 1; } else { onn = 0; } } onClipEvent (release) { if (onn == 0) { onn = 1; } else { if (onn == 1) { onn = 0; } } } onClipEvent (enterFrame) { if (onn == 0) { gotoAndStop(1); _root.sglasses = 0; } else { if (onn == 1) { gotoAndStop(2); _root.sglasses = 1; } } } } instance of movieClip 119 { onClipEvent (load) { delay = 100; } onClipEvent (enterFrame) { if (_root.stalvl > 500) { _root.stalvl = 500; } if (_root.runlvl > 1500) { _root.runlvl = 1500; } if (_root.flylvl > 1500) { _root.flylvl = 1500; } if (_root.swilvl > 1500) { _root.swilvl = 1500; } delay -= 1; if (delay <= 0) { game = SharedObject.getLocal('mydata'); game.data.stalvl = _root.stalvl; game.data.runlvl = _root.runlvl; game.data.flylvl = _root.flylvl; game.data.swilvl = _root.swilvl; game.data.seed = _root.seed; game.data.skill = _root.skill; game.data.money = _root.money; game.data.colour = _root.colour; game.data.hat = _root.hat; game.flush(); delay = 100; } } } instance of movieClip 126 { onClipEvent (enterFrame) { if (_root.music !== 1 and _root.music !== 0) { stopAllSounds(); gotoAndStop(5); } } } instance of movieClip 132 { onClipEvent (release) { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1840&subid=menuscreen', '_blank'); } } frame 10 { info = 'Roll over an object to find out more about it'; } instance of movieClip 349 { onClipEvent (release) { _root.prevFrame(); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } onClipEvent (rollOver) { _root.info = 'Back to the main menu'; } } instance of movieClip 222 { onClipEvent (enterFrame) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } } } movieClip 372 { instance of movieClip 222 { onClipEvent (load) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } if (_root.colour == 11) { gotoAndStop(12); } if (_root.colour == 12) { gotoAndStop(13); } if (_root.colour == 13) { gotoAndStop(14); } if (_root.colour == 14) { gotoAndStop(15); } if (_root.colour == 15) { gotoAndStop(16); } } onClipEvent (enterFrame) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } if (_root.colour == 11) { gotoAndStop(12); } if (_root.colour == 12) { gotoAndStop(13); } if (_root.colour == 13) { gotoAndStop(14); } if (_root.colour == 14) { gotoAndStop(15); } if (_root.colour == 15) { gotoAndStop(16); } } } instance of movieClip 243 { } instance of movieClip 109 { onClipEvent (load) { num = 0; } onClipEvent (enterFrame) { if (_parent._parent._x < 530 or _parent._parent._currentframe == 2) { if (_parent._parent._x > 110 or _parent._parent._currentframe == 1) { num = Math.round(Math.random() * 40); if (num == 5) { _parent.play(); num = 0; } if (_root.corn._x < 640) { _parent.play(); num = 0; } if (_root.corn2._x > 0) { _parent.play(); num = 0; } } } } } } movieClip 375 { } instance of movieClip 375 { onClipEvent (rollOver) { _root.info = 'Max level is the highest level that your duck can get in each skill.'; } } button 382 { on (release) { if (_root.money > 49 and _root.maxmaxi > _root.maxi) { _root.money = Number(_root.money - 50); _root.maxi = Number(_root.maxi + 10); } else { if (_root.money < 50) { _root.info = 'You don\'t have enough money! You need ' + Number(50 - _root.money) + ' more coins'; } else { _root.info = 'You can\'t upgrade your max level any more at the moment. Win races to unlock higher max levels'; } } } } movieClip 384 { } instance of movieClip 384 { onClipEvent (release) { if (_root.race == 1) { if (_root.colour < 1) { _root.colour = Number(_root.colour + 1); } } if (_root.race == 2) { if (_root.colour < 2) { _root.colour = Number(_root.colour + 1); } } if (_root.race == 3) { if (_root.colour < 3) { _root.colour = Number(_root.colour + 1); } } if (_root.race == 4) { if (_root.colour < 4) { _root.colour = Number(_root.colour + 1); } } if (_root.race == 5) { if (_root.colour < 5) { _root.colour = Number(_root.colour + 1); } } if (_root.race == 6) { if (_root.colour < 6) { _root.colour = Number(_root.colour + 1); } } if (_root.race == 7) { if (_root.colour < 7) { _root.colour = Number(_root.colour + 1); } } if (_root.race == 8) { if (_root.colour < 8) { _root.colour = Number(_root.colour + 1); } } if (_root.race == 9) { if (_root.colour < 9) { _root.colour = Number(_root.colour + 1); } } if (_root.race == 10) { if (_root.colour < 10) { _root.colour = Number(_root.colour + 1); } } if (_root.race == 11) { if (_root.colour < 11) { _root.colour = Number(_root.colour + 1); } } if (_root.race == 12) { if (_root.colour < 12) { _root.colour = Number(_root.colour + 1); } } if (_root.race == 13) { if (_root.colour < 13) { _root.colour = Number(_root.colour + 1); } } if (_root.race == 14) { if (_root.colour < 14) { _root.colour = Number(_root.colour + 1); } } if (_root.race == 15) { if (_root.colour < 15) { _root.colour = Number(_root.colour + 1); } } } onClipEvent (enterFrame) { if (_root.colour >= _root.race) { _alpha = 50; this.useHandCursor = false; } else { _alpha = 100; this.useHandCursor = true; } } } movieClip 386 { } instance of movieClip 386 { onClipEvent (release) { if (_root.colour > 0) { _root.colour = Number(_root.colour - 1); } } onClipEvent (enterFrame) { if (_root.colour == 0) { _alpha = 50; this.useHandCursor = false; } else { _alpha = 100; this.useHandCursor = true; } } } movieClip 388 { } instance of movieClip 388 { onClipEvent (release) { if (_root.hat > 0) { _root.hat = Number(_root.hat - 1); } } onClipEvent (enterFrame) { if (_root.hat == 0) { _alpha = 50; this.useHandCursor = false; } else { _alpha = 100; this.useHandCursor = true; } } } movieClip 390 { } instance of movieClip 390 { onClipEvent (release) { if (_root.race < 3) { if (_root.hat < 1) { _root.hat = Number(_root.hat + 1); } } else { if (_root.race < 6) { if (_root.hat < 2) { _root.hat = Number(_root.hat + 1); } } else { if (_root.race < 9) { if (_root.hat < 3) { _root.hat = Number(_root.hat + 1); } } else { if (_root.race < 12) { if (_root.hat < 4) { _root.hat = Number(_root.hat + 1); } } else { if (_root.race < 14) { if (_root.hat < 5) { _root.hat = Number(_root.hat + 1); } } else { if (_root.hat < 7) { _root.hat = Number(_root.hat + 1); } } } } } } } onClipEvent (enterFrame) { if (_root.hat - 1 >= _root.race * 3) { _alpha = 50; this.useHandCursor = false; } else { _alpha = 100; this.useHandCursor = true; } } } instance of movieClip 119 { onClipEvent (load) { delay = 100; } onClipEvent (enterFrame) { if (_root.stalvl > 1500) { _root.stalvl = 1500; } if (_root.runlvl > 1500) { _root.runlvl = 1500; } if (_root.flylvl > 1500) { _root.flylvl = 1500; } if (_root.swilvl > 1500) { _root.swilvl = 1500; } delay -= 1; if (delay <= 0) { game = SharedObject.getLocal('mydata'); game.data.stalvl = _root.stalvl; game.data.runlvl = _root.runlvl; game.data.flylvl = _root.flylvl; game.data.swilvl = _root.swilvl; game.data.seed = _root.seed; game.data.skill = _root.skill; game.data.money = _root.money; game.data.colour = _root.colour; game.data.hat = _root.hat; game.flush(); delay = 100; } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } frame 11 { info = 'Roll over an option to find out more about it'; } instance of movieClip 349 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } onClipEvent (rollOver) { _root.info = 'Back to the main menu'; } } movieClip 397 { } instance of movieClip 397 { onClipEvent (enterFrame) { _root.qual = _root._quality; if (_root.music == 1) { _root.musico = 'On'; } else { _root.musico = 'Off'; } } } movieClip 399 { } instance of movieClip 399 { onClipEvent (press) { _root._quality = 'HIGH'; } onClipEvent (enterFrame) { if (_root._quality == 'HIGH') { _alpha = 100; } else { _alpha = 50; } } onClipEvent (rollOver) { if (_root._quality !== 'HIGH') { _rotation = 3; } } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } onClipEvent (rollOver) { _root.info = 'If you have a fairly new computer, keep it on high quality. It should be able to handle it'; } } // unknown tag 88 length 63 movieClip 402 { } instance of movieClip 402 { onClipEvent (press) { _root._quality = 'MEDIUM'; } onClipEvent (enterFrame) { if (_root._quality == 'MEDIUM') { _alpha = 100; } else { _alpha = 50; } } onClipEvent (rollOver) { if (_root._quality !== 'MEDIUM') { _rotation = 3; } } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } onClipEvent (rollOver) { _root.info = 'Medium quality has slightly worse graphics than high quality, but is a lot faster on older or slower computers'; } } movieClip 404 { } instance of movieClip 404 { onClipEvent (press) { _root._quality = 'LOW'; } onClipEvent (enterFrame) { if (_root._quality == 'LOW') { _alpha = 100; } else { _alpha = 50; } } onClipEvent (rollOver) { if (_root._quality !== 'LOW') { _rotation = 3; } } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } onClipEvent (rollOver) { _root.info = 'This mode has very bad graphics. It is only recommended if you are on an ancient computer, a virus-filled slow computer, or are on a phone or something'; } } movieClip 406 { } instance of movieClip 406 { onClipEvent (press) { if (_root.music !== 2) { _root.music = 3; } } onClipEvent (enterFrame) { if (_root.music == 2) { _alpha = 100; } else { _alpha = 50; } } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } onClipEvent (rollOver) { _root.info = 'Turns game music on'; } } movieClip 408 { } instance of movieClip 408 { onClipEvent (press) { _root.music = 0; } onClipEvent (enterFrame) { if (_root.music == 0) { _alpha = 100; } else { _alpha = 50; } } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } onClipEvent (rollOver) { _root.info = 'Turns game music off'; } } movieClip 410 { } instance of movieClip 410 { onClipEvent (rollOver) { _rotation = 3; } onClipEvent (rollOver) { _root.info = 'WARNING - If you press this button, you will lose ALL data. Everything in the shop will be locked again, you will lose all of your money, and your duck will go back to level 0 in all skills'; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } onClipEvent (release) { game = SharedObject.getLocal('mydata'); game.data.race = 0; game.data.stalvl = 0; game.data.runlvl = 0; game.data.flylvl = 0; game.data.swilvl = 0; game.data.clilvl = 0; game.data.seed = 5; game.data.skill = 0; game.data.money = 0; game.data.colour = 0; game.data.hat = 0; game.data.hat2 = 0; game.data.hat3 = 0; game.data.hat4 = 0; game.data.hat5 = 0; game.data.colour2 = 0; game.data.colour3 = 0; game.data.colour4 = 0; game.data.colour5 = 0; game.data.colour6 = 0; game.data.colour7 = 0; game.data.colour8 = 0; game.data.colour9 = 0; game.data.colour10 = 0; game.flush(); _root.hat2 = 0; _root.hat3 = 0; _root.hat4 = 0; _root.hat5 = 0; _root.colour2 = 0; _root.colour3 = 0; _root.colour4 = 0; _root.colour5 = 0; _root.colour6 = 0; _root.colour7 = 0; _root.colour8 = 0; _root.colour9 = 0; _root.colour10 = 0; _root.stalvl = 0; _root.runlvl = 0; _root.flylvl = 0; _root.swilvl = 0; _root.clilvl = 0; _root.seed = 5; _root.skill = 0; _root.money = 0; _root.colour = 0; _root.hat = 0; _root.gotoAndStop(3); } } instance of movieClip 126 { onClipEvent (enterFrame) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } frame 12 { stop(); coins = 0; } instance of movieClip 64 { onClipEvent (enterFrame) { if (_root.daytime == 1) { gotoAndStop(1); } if (_root.daytime == 2) { gotoAndStop(2); } if (_root.daytime == 3) { gotoAndStop(3); } } } instance of movieClip 66 { onClipEvent (enterFrame) { if (_root.daytime == 1) { gotoAndStop(1); } if (_root.daytime == 2) { gotoAndStop(2); } if (_root.daytime == 3) { gotoAndStop(3); } } } instance of movieClip 68 { onClipEvent (enterFrame) { if (_root.daytime == 1) { gotoAndStop(1); } if (_root.daytime == 2) { gotoAndStop(2); } if (_root.daytime == 3) { gotoAndStop(3); } } } movieClip 419 { } movieClip 427 { instance of movieClip 222 { onClipEvent (load) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } if (_root.colour == 11) { gotoAndStop(12); } if (_root.colour == 12) { gotoAndStop(13); } if (_root.colour == 13) { gotoAndStop(14); } if (_root.colour == 14) { gotoAndStop(15); } if (_root.colour == 15) { gotoAndStop(16); } } } instance of movieClip 242 { onClipEvent (load) { if (_root.hat == 0) { gotoAndStop(1); } if (_root.hat == 1) { gotoAndStop(2); } if (_root.hat == 2) { gotoAndStop(3); } if (_root.hat == 3) { gotoAndStop(4); } if (_root.hat == 4) { gotoAndStop(5); } if (_root.hat == 5) { gotoAndStop(6); } } } } movieClip 428 { frame 1 { stop(); } instance of movieClip 222 { onClipEvent (load) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } if (_root.colour == 11) { gotoAndStop(12); } if (_root.colour == 12) { gotoAndStop(13); } if (_root.colour == 13) { gotoAndStop(14); } if (_root.colour == 14) { gotoAndStop(15); } if (_root.colour == 15) { gotoAndStop(16); } } } instance of movieClip 242 { onClipEvent (load) { if (_root.hat == 0) { gotoAndStop(1); } if (_root.hat == 1) { gotoAndStop(2); } if (_root.hat == 2) { gotoAndStop(3); } if (_root.hat == 3) { gotoAndStop(4); } if (_root.hat == 4) { gotoAndStop(5); } if (_root.hat == 5) { gotoAndStop(6); } } } instance of movieClip 419 { onClipEvent (load) { if (_root.xtrain == 1) { _visible = true; } else { _visible = false; } } } frame 40 { _root.nextFrame(); } } instance chick of movieClip 428 { onClipEvent (keyPress '<Space>') { play(); } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } frame 13 { dist = 0; } movieClip 433 { frame 1 { stop(); } } instance of movieClip 433 { onClipEvent (enterFrame) { xspeed = _root.xspeed; _x = _x - xspeed; if (_x < -150) { _x = _x + 940; _y = 10 + Math.random() * 420; } if (this.hitTest(_root.chick)) { play(); _x = _x + 940; _y = 10 + Math.random() * 420; _root.coins = Number(_root.coins + 1); } } } instance of movieClip 433 { onClipEvent (enterFrame) { xspeed = _root.xspeed; _x = _x - xspeed; if (_x < -150) { _x = _x + 940; _y = 10 + Math.random() * 420; } if (this.hitTest(_root.chick)) { play(); _x = _x + 940; _y = 10 + Math.random() * 420; _root.coins = Number(_root.coins + 1); } } } instance of movieClip 182 { onClipEvent (enterFrame) { xspeed = _root.xspeed; _x = _x - xspeed; if (_x < -150) { _x = _x + 940; _y = 10 + Math.random() * 420; } } } movieClip 443 { } movieClip 444 { instance of movieClip 222 { onClipEvent (load) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } if (_root.colour == 11) { gotoAndStop(12); } if (_root.colour == 12) { gotoAndStop(13); } if (_root.colour == 13) { gotoAndStop(14); } if (_root.colour == 14) { gotoAndStop(15); } if (_root.colour == 15) { gotoAndStop(16); } } } instance of movieClip 242 { onClipEvent (load) { if (_root.hat == 0) { gotoAndStop(1); } if (_root.hat == 1) { gotoAndStop(2); } if (_root.hat == 2) { gotoAndStop(3); } if (_root.hat == 3) { gotoAndStop(4); } if (_root.hat == 4) { gotoAndStop(5); } } } frame 30 { stop(); } instance of movieClip 222 { onClipEvent (load) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } } } instance of movieClip 242 { onClipEvent (load) { if (_root.hat == 0) { gotoAndStop(1); } if (_root.hat == 1) { gotoAndStop(2); } if (_root.hat == 2) { gotoAndStop(3); } if (_root.hat == 3) { gotoAndStop(4); } if (_root.hat == 4) { gotoAndStop(5); } } } } instance chick of movieClip 444 { onClipEvent (load) { xspeed = 20 + _root.flylvl / 10; if (_root.xtrain == 1) { xspeed = 20 + _root.flylvl / 5; } yspeed = 0; } onClipEvent (enterFrame) { if (_root.rock.hitTest(_x + 30, _y, true) or _root.rock.hitTest(_x + 30, _y + 15, true) or _root.rock.hitTest(_x + 30, _y - 15, true)) { _x = _x - _root.xspeed; } if (_x < -20) { _root.nextFrame(); } if (_y < 25) { _y = 25; yspeed = 0; } if (_y > 430) { _root.nextFrame(); } if (_rotation < -90) { _rotation = -90; } if (_rotation > 90) { _rotation = 90; } _root.dist = Number(_root.dist + Math.round(xspeed)); xspeed *= 0.999; _y = _y + yspeed; speed = 20 - xspeed; if (speed < 0) { speed = 0; } yspeed += speed / 40; _root.xspeed = xspeed; if (Key.isDown(38)) { yspeed -= 0.5; xspeed -= 0.05; } if (Key.isDown(40)) { yspeed += 0.5; xspeed += 0.05; } angle = Math.atan(yspeed / xspeed) / 0.0174532925199433; if (xspeed < 0) { angle += 180; } _rotation = angle; } } instance of movieClip 182 { onClipEvent (enterFrame) { xspeed = _root.xspeed; _x = _x - xspeed; if (_x < -150) { _x = _x + 940; _y = 10 + Math.random() * 420; } } } movieClip 447 { } movieClip 449 { instance of movieClip 447 { onClipEvent (enterFrame) { if (_root.xspeed > 40) { gotoAndStop(2); } else { gotoAndStop(1); } } } } instance rock of movieClip 449 { onClipEvent (load) { _x = 1000 + (20 + _root.flylvl / 10) * 100; where = Math.round(Math.random()); } onClipEvent (enterFrame) { if (where == 1) { gotoAndStop(1); } else { gotoAndStop(2); } _x = _x - _root.xspeed; if (_x < -100) { _x = Math.random() * 2000 + 640 + _root.xspeed * 100; where = Math.round(Math.random()); } if (_x > 1000 and _x < 640 + _root.xspeed * 50) { _root.warning.play(); } } } movieClip 451 { } movieClip 452 { frame 1 { stop(); } } instance warning of movieClip 452 { onClipEvent (enterFrame) { if (_root.rock.where == 1) { _y = 300; } else { _y = 100; } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 3 and _root.music !== 0) { stopAllSounds(); gotoAndStop(3); } } } frame 14 { xp = Math.round(dist / 1000); flylvl = Number(flylvl + _root.dist / 500); _root.money = Number(_root.coins + _root.money); } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.flylvl - _root.flyinglevel * 10 >= 0) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.flylvl - _root.flyinglevel * 10 >= 2) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.flylvl - _root.flyinglevel * 10 >= 4) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.flylvl - _root.flyinglevel * 10 >= 6) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.flylvl - _root.flyinglevel * 10 >= 8) { gotoAndStop(2); } else { gotoAndStop(1); } } } button 462 { on (release) { gotoAndStop(9); } } button 466 { on (release) { gotoAndStop(12); } on (keyPress '<Space>') { gotoAndStop(12); } } instance of movieClip 325 { onClipEvent (enterFrame) { this._xscale = _root.flyinglevel * 1.16; _root.flyinglevel = Math.floor(_root.flylvl / 10); } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } frame 15 { stop(); dist = 0; xp = 0; coins = 0; } movieClip 480 { } movieClip 481 { } instance of movieClip 481 { onClipEvent (enterFrame) { _x = _x - _root.chick.xspeed; if (_x < 0) { _x = _x + 640; } } onClipEvent (enterFrame) { if (_root.daytime == 1) { gotoAndStop(1); } if (_root.daytime == 2) { gotoAndStop(2); } if (_root.daytime == 3) { gotoAndStop(3); } } } instance of movieClip 182 { onClipEvent (enterFrame) { xspeed = _root.xspeed; _x = _x - xspeed; if (_x < -150) { _x = _x + 940; _y = 10 + Math.random() * 420; } } } instance of movieClip 182 { onClipEvent (enterFrame) { xspeed = _root.xspeed; _x = _x - xspeed; if (_x < -150) { _x = _x + 940; _y = 10 + Math.random() * 420; } } } instance chick of movieClip 263 { onClipEvent (load) { xspeed = 1; } onClipEvent (enterFrame) { _root.xspeed = xspeed; _x = _x - xspeed; if (_x < 100) { play(); } } } button 487 { on (keyPress '<Space>') { nextFrame(); } } instance of movieClip 419 { onClipEvent (load) { if (_root.xtrain == 1) { _visible = true; } else { _visible = false; } } } frame 16 { stop(); } instance of movieClip 481 { onClipEvent (enterFrame) { _x = _x - _root.xspeed; if (_x < 0) { _x = _x + 640; } } onClipEvent (enterFrame) { if (_root.daytime == 1) { gotoAndStop(1); } if (_root.daytime == 2) { gotoAndStop(2); } if (_root.daytime == 3) { gotoAndStop(3); } } } instance of movieClip 433 { onClipEvent (enterFrame) { xspeed = _root.xspeed; _x = _x - xspeed; if (_x < -150) { _x = _x + 940; _y = 150 + Math.random() * 230; } if (this.hitTest(_root.chick)) { play(); _x = _x + 940; _y = 150 + Math.random() * 230; _root.coins = Number(_root.coins + 1); } } } instance of movieClip 433 { onClipEvent (enterFrame) { xspeed = _root.xspeed; _x = _x - xspeed; if (_x < -150) { _x = _x + 940; _y = 150 + Math.random() * 230; } if (this.hitTest(_root.chick)) { play(); _x = _x + 940; _y = 250 + Math.random() * 130; _root.coins = Number(_root.coins + 1); } } } movieClip 494 { frame 1 { stop(); } frame 2 { stop(); } } instance log1 of movieClip 494 { onClipEvent (load) { no = Math.ceil(Math.random() * 7); if (no == 1) { gotoAndStop(1); } if (no == 2) { gotoAndStop(2); } if (no == 3) { gotoAndStop(3); } if (no == 4) { gotoAndStop(4); } if (no == 5) { gotoAndStop(5); } if (no == 6) { gotoAndStop(6); } if (no == 7) { gotoAndStop(7); } } onClipEvent (enterFrame) { _x = _x - _root.xspeed * 4; _rotation = _rotation - _root.xspeed * 8; if (_x < -30) { _x = _x + (640 + Math.random() * 640); no = Math.ceil(Math.random() * 7); if (no == 1) { gotoAndStop(1); } if (no == 2) { gotoAndStop(2); } if (no == 3) { gotoAndStop(3); } if (no == 4) { gotoAndStop(4); } if (no == 5) { gotoAndStop(5); } if (no == 6) { gotoAndStop(6); } if (no == 7) { gotoAndStop(7); } } if (_root.chick.hitTest(_x - 20, _y, true) or _root.chick.hitTest(_x + 20, _y, true) or _root.chick.hitTest(_x, _y - 20, true)) { if (_root.chick._currentframe < 13) { _root.chick._x += Number(_root.chick._currentframe * 5); } _root.chick.gotoAndStop(15); } } } instance chick of movieClip 263 { onClipEvent (load) { xspeed = 1 + _root.runlvl / 500; if (_root.xtrain == 1) { xspeed = 1 + _root.runlvl / 250; } yspeed = 0; } onClipEvent (enterFrame) { _root.xspeed = xspeed; if (timerstop !== 1) { _root.dist = Number(_root.dist + Math.round(xspeed * 2)); } if (_currentframe < 15) { _y = _y + yspeed; yspeed += 0.5; if (_y > 391) { _y = 390; yspeed = 0; gotoAndStop(1); } if (_y > 390) { _y = 390; yspeed = 0; } if (_y < 388) { _x = _x + xspeed; if (_x < 125) { _x = _x + 1; } if (yspeed < 0) { gotoAndStop(2); } if (yspeed > 0) { gotoAndStop(13); } } xspeed += 0.001; _x = _x - xspeed; if (xspeed > 4) { xspeed = 4; } if (_x < 100) { play(); } if (Key.isDown(38)) { if (_y > 388 and _currentframe == 1) { yspeed = -10; } } } else { _y = _y + yspeed; yspeed += 1; } } } instance of movieClip 494 { onClipEvent (enterFrame) { if (this.hitTest(_root.log1)) { _x = _x + 1; } _x = _x - _root.xspeed * 4; _rotation = _rotation - _root.xspeed * 8; if (_x < -30) { _x = _x + (640 + Math.random() * 640); no = Math.ceil(Math.random() * 7); if (no == 1) { gotoAndStop(1); } if (no == 2) { gotoAndStop(2); } if (no == 3) { gotoAndStop(3); } if (no == 4) { gotoAndStop(4); } if (no == 5) { gotoAndStop(5); } if (no == 6) { gotoAndStop(6); } if (no == 7) { gotoAndStop(7); } } if (_root.chick.hitTest(_x - 20, _y, true) or _root.chick.hitTest(_x + 20, _y, true) or _root.chick.hitTest(_x, _y - 20, true)) { if (_root.chick._currentframe < 13) { _root.chick._x += Number(_root.chick._currentframe * 5); } _root.chick.gotoAndStop(15); } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 3 and _root.music !== 0) { stopAllSounds(); gotoAndStop(3); } } } frame 17 { xp = Math.round(dist / 100); runlvl = Number(runlvl + _root.dist / 50); _root.money = Number(_root.coins + _root.money); } instance of movieClip 182 { onClipEvent (enterFrame) { xspeed = _root.xspeed; _x = _x - xspeed; if (_x < -150) { _x = _x + 940; _y = 10 + Math.random() * 420; } } } instance of movieClip 182 { onClipEvent (enterFrame) { xspeed = _root.xspeed; _x = _x - xspeed; if (_x < -150) { _x = _x + 940; _y = 10 + Math.random() * 420; } } } instance of movieClip 433 { onClipEvent (enterFrame) { xspeed = _root.xspeed; _x = _x - xspeed; if (_x < -150) { _x = _x + 940; _y = 10 + Math.random() * 420; } if (this.hitTest(_root.chick)) { _x = _x + 940; _y = 10 + Math.random() * 420; _root.coins = Number(_root.coins + 1); } } } instance of movieClip 433 { onClipEvent (enterFrame) { xspeed = _root.xspeed; _x = _x - xspeed; if (_x < -150) { _x = _x + 940; _y = 10 + Math.random() * 420; } if (this.hitTest(_root.chick)) { _x = _x + 940; _y = 10 + Math.random() * 420; _root.coins = Number(_root.coins + 1); } } } instance of movieClip 494 { onClipEvent (enterFrame) { _x = _x - _root.xspeed * 4; _rotation = _rotation - _root.xspeed * 8; if (_x < -30) { _x = _x + (640 + Math.random() * 640); no = Math.ceil(Math.random() * 3); if (no == 1) { gotoAndStop(1); } if (no == 2) { gotoAndStop(2); } if (no == 3) { gotoAndStop(3); } } if (this.hitTest(_root.chick) and _root.chick._currentframe < 15) { if (_root.chick._currentframe < 13) { _root.chick._x += Number(_root.chick._currentframe * 5); } _root.chick.gotoAndStop(15); } } } button 497 { on (release) { gotoAndStop(15); } on (keyPress '<Space>') { gotoAndStop(15); } } instance of movieClip 325 { onClipEvent (enterFrame) { this._xscale = _root.runninglevel * 1.16; _root.runninglevel = Math.floor(_root.runlvl / 10); } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.runlvl - _root.runninglevel * 10 >= 0) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.runlvl - _root.runninglevel * 10 >= 2) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.runlvl - _root.runninglevel * 10 >= 4) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.runlvl - _root.runninglevel * 10 >= 6) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.runlvl - _root.runninglevel * 10 >= 8) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } frame 18 { stop(); } frame 18 { dist = 0; xspeed = -4; coins = 0; } instance of movieClip 66 { onClipEvent (enterFrame) { if (_x < -760) { _x = _x + 760; } _x = _x + _root.xspeed / 10; } onClipEvent (enterFrame) { if (_root.daytime == 1) { gotoAndStop(1); } if (_root.daytime == 2) { gotoAndStop(2); } if (_root.daytime == 3) { gotoAndStop(3); } } } instance of movieClip 68 { onClipEvent (enterFrame) { if (_x < -760) { _x = _x + 760; } _x = _x + _root.xspeed / 2; } onClipEvent (enterFrame) { if (_root.daytime == 1) { gotoAndStop(1); } if (_root.daytime == 2) { gotoAndStop(2); } if (_root.daytime == 3) { gotoAndStop(3); } } } instance of movieClip 182 { onClipEvent (enterFrame) { xspeed = _root.xspeed; _x = _x + xspeed; if (_x < -150) { _x = _x + 940; _y = Math.random() * 200; } } } instance of movieClip 182 { onClipEvent (enterFrame) { xspeed = _root.xspeed; _x = _x + xspeed; if (_x < -150) { _x = _x + 940; _y = Math.random() * 200; } } } movieClip 513 { } movieClip 514 { instance of movieClip 222 { onClipEvent (load) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } if (_root.colour == 11) { gotoAndStop(12); } if (_root.colour == 12) { gotoAndStop(13); } if (_root.colour == 13) { gotoAndStop(14); } if (_root.colour == 14) { gotoAndStop(15); } if (_root.colour == 15) { gotoAndStop(16); } } } instance of movieClip 243 { onClipEvent (enterFrame) { _rotation = -_parent._rotation; } } } button 519 { on (keyPress '<Space>') { nextFrame(); } } instance of movieClip 419 { onClipEvent (load) { if (_root.xtrain == 1) { _visible = true; } else { _visible = false; } } } frame 19 { stop(); } frame 19 { dist = 0; } instance coin of movieClip 433 { onClipEvent (enterFrame) { xspeed = _root.xspeed; _x = _x + xspeed; if (_x < -150) { _x = _x + 940; _y = 50 + Math.random() * 300; } if (this.hitTest(_root.chick)) { play(); _x = _x + 940; _y = 50 + Math.random() * 300; _root.coins = Number(_root.coins + 1); } } } movieClip 527 { } movieClip 532 { } instance of movieClip 532 { onClipEvent (load) { xspeed = -(3 + _root.swilvl / 100); if (_root.xtrain == 1) { xspeed = -(3 + _root.swilvl / 50); } stop(); } onClipEvent (enterFrame) { _x = _x + xspeed; xspeed -= 0.0025; _root.xspeed = xspeed; _root.dist = Number(_root.dist - Math.round(xspeed / 2)); while (this.hitTest(_root.chick._x, _root.chick._y - _root.chick._height / 2, true)) { _root.chick.yspeed += 1; _root.chick._y += 1; } while (this.hitTest(_root.chick._x + _root.chick._width / 2, _root.chick._y, true)) { _root.chick.xspeed -= 1; _root.chick._x -= 1; } while (this.hitTest(_root.chick._x, _root.chick._y + _root.chick._height / 2, true)) { _root.chick.yspeed -= 1; _root.chick._y -= 1; } while (this.hitTest(_root.chick._x - _root.chick._width / 2, _root.chick._y, true)) { _root.chick.xspeed += 1; _root.chick._x += 1; } if (_x < -250) { _x = _x + 1140; num = Math.ceil(Math.random() * 6); if (num == 1) { gotoAndStop(1); coin._y = 70; } if (num == 2) { gotoAndStop(2); coin._y = 350; } if (num == 3) { gotoAndStop(3); coin._y = 70; } if (num == 4) { gotoAndStop(4); coin._y = 350; } if (num == 5) { gotoAndStop(5); coin._y = 70; } if (num == 6) { gotoAndStop(6); coin._y = 350; } } } } instance chick of movieClip 514 { onClipEvent (load) { targrot = 10; where = 2; xspeed = 0; } onClipEvent (enterFrame) { if (_x < -20) { _root.nextFrame(); } xspeed *= 0.85; _x = _x + xspeed; if (Key.isDown(37)) { if (_x > 70) { xspeed -= 1; } } if (Key.isDown(39)) { if (_x < 580) { xspeed += 1; } } if (where == 1) { targrot = 0; targy = 70; } if (where == 2) { if (_y < 210) { yspeed += 0.5; } else { yspeed -= 0.45; } _y = _y + yspeed; } if (where == 3) { targrot = 100; targy = 350; } if (where == 4) { targrot = 270; targy = 210; } if (where !== 2) { _rotation = _rotation + (targrot - _rotation) / 8; _y = _y + (targy - _y) / 8; } if (_y < 0) { yspeed = 1; } if (_y < 71) { where = 2; } if (_y > 349) { where = 2; } if (_y > 205 and _y < 215) { where = 0; targrot = 10; targy = 210; if (where !== 4) { if (Key.isDown(38)) { where = 1; yspeed = 0; } if (Key.isDown(40)) { where = 3; yspeed = 0; } } } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 3 and _root.music !== 0) { stopAllSounds(); gotoAndStop(3); } } } frame 20 { stop(); } frame 20 { xp = Math.round(dist / 100); swilvl = Number(swilvl + _root.dist / 50); _root.money = Number(_root.coins + _root.money); } instance coin of movieClip 433 { onClipEvent (enterFrame) { xspeed = _root.xspeed; _x = _x + xspeed; if (_x < -150) { _x = _x + 940; _y = 10 + Math.random() * 420; } if (this.hitTest(_root.chick)) { _x = _x + 940; _y = 50 + Math.random() * 350; _root.coins = Number(_root.coins + 1); } } } instance of movieClip 532 { onClipEvent (load) { xspeed = -4; stop(); } onClipEvent (enterFrame) { _x = _x + xspeed; xspeed -= 0.0025; _root.xspeed = xspeed; if (_root._currentframe == 19) { _root.dist = Number(_root.dist + Math.round(xspeed)); } while (this.hitTest(_root.chick._x, _root.chick._y - _root.chick._height / 2, true)) { _root.chick.yspeed += 1; _root.chick._y += 1; } while (this.hitTest(_root.chick._x + _root.chick._width / 2, _root.chick._y, true)) { _root.chick.xspeed -= 1; _root.chick._x -= 1; } while (this.hitTest(_root.chick._x, _root.chick._y + _root.chick._height / 2, true)) { _root.chick.yspeed -= 1; _root.chick._y -= 1; } while (this.hitTest(_root.chick._x - _root.chick._width / 2, _root.chick._y, true)) { _root.chick.xspeed += 1; _root.chick._x += 1; } if (_x < -200) { _x = _x + 1040; num = Math.ceil(Math.random() * 6); if (num == 1) { gotoAndStop(1); coin._y = 70; } if (num == 2) { gotoAndStop(2); coin._y = 350; } if (num == 3) { gotoAndStop(3); coin._y = 70; } if (num == 4) { gotoAndStop(4); coin._y = 350; } if (num == 5) { gotoAndStop(5); coin._y = 70; } if (num == 6) { gotoAndStop(6); coin._y = 350; } } } } instance of movieClip 325 { onClipEvent (enterFrame) { this._xscale = _root.swimlevel * 1.16; _root.swimlevel = Math.floor(_root.swilvl / 10); } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.swilvl - _root.swimlevel * 10 >= 0) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.swilvl - _root.swimlevel * 10 >= 2) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.swilvl - _root.swimlevel * 10 >= 4) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.swilvl - _root.swimlevel * 10 >= 6) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.swilvl - _root.swimlevel * 10 >= 8) { gotoAndStop(2); } else { gotoAndStop(1); } } } button 544 { on (release) { gotoAndStop(18); } on (keyPress '<Space>') { gotoAndStop(18); } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } frame 21 { stop(); } frame 21 { dist = 0; xspeed = -4; coins = 0; } movieClip 545 { } instance bg of movieClip 545 { onClipEvent (enterFrame) { if (_root.daytime == 1) { gotoAndStop(1); } if (_root.daytime == 2) { gotoAndStop(2); } if (_root.daytime == 3) { gotoAndStop(3); } } } movieClip 550 { } movieClip 553 { instance of movieClip 222 { onClipEvent (load) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } if (_root.colour == 11) { gotoAndStop(12); } if (_root.colour == 12) { gotoAndStop(13); } if (_root.colour == 13) { gotoAndStop(14); } if (_root.colour == 14) { gotoAndStop(15); } if (_root.colour == 15) { gotoAndStop(16); } } } instance of movieClip 243 { onClipEvent (load) { timer = 0; up = 1; } onClipEvent (enterFrame) { } } } button 558 { on (keyPress '<Space>') { nextFrame(); } } instance of movieClip 419 { onClipEvent (load) { if (_root.xtrain == 1) { _visible = true; } else { _visible = false; } } } frame 22 { stop(); } frame 22 { dist = 0; yspeed = 3 + climblevel / 20; if (_root.xtrain == 1) { yspeed = 3 + climblevel / 10; } } instance of movieClip 182 { onClipEvent (enterFrame) { xspeed = -4; _x = _x + xspeed; if (_x < -150) { _x = _x + 940; _y = Math.random() * 200; } } } movieClip 563 { instance of movieClip 222 { onClipEvent (load) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } if (_root.colour == 11) { gotoAndStop(12); } if (_root.colour == 12) { gotoAndStop(13); } if (_root.colour == 13) { gotoAndStop(14); } if (_root.colour == 14) { gotoAndStop(15); } if (_root.colour == 15) { gotoAndStop(16); } } } instance of movieClip 243 { onClipEvent (load) { timer = 0; up = 1; } onClipEvent (enterFrame) { } } instance of movieClip 243 { onClipEvent (load) { timer = 0; up = 1; } onClipEvent (enterFrame) { } } } instance chick of movieClip 563 { onClipEvent (load) { targrot = 10; where = 2; xspeed = 0; yspeed = 0; _root.scoreclip.dist = 0; _root.dist = 0; } onClipEvent (enterFrame) { oldx = _x; if (_y > 500) { _root.nextFrame(); } _root.dist = Number(_root.scoreclip.dist + _root.yspeed / 4); _root.scoreclip.dist = Math.round(_root.dist); _root.yspeed = Number(_root.yspeed + 0.002); _root.where = where; _y = _y + yspeed; _x = _x + xspeed; if (_y > 250) { yspeed -= 1; } if (Key.isDown(37)) { if (_root.walls.hitTest(_x - 22, _y, true) or _root.walls.hitTest(_x + 22, _y, true)) { where = 1; } } if (Key.isDown(39)) { if (_root.walls.hitTest(_x - 22, _y, true) or _root.walls.hitTest(_x + 22, _y, true)) { where = 2; } } if (_root.walls.hitTest(_x - 22, _y, true) or _root.walls.hitTest(_x + 22, _y, true)) { yspeed = 0; if (_y > 300) { _y = _y - 4; } } else { yspeed += 1.5; } if (where == 1) { gotoAndStop(2); if (!_root.walls.hitTest(_x - 17, _y, true)) { _x = _x - 10; } while (_root.walls.hitTest(_x - 17, _y, true)) { _x = _x + 1; } if (!_root.walls.hitTest(_x - 25, _y - 20, true)) { _y = _y + yspeed; } } if (where == 2) { gotoAndStop(1); if (!_root.walls.hitTest(_x + 17, _y, true)) { _x = _x + 10; } while (_root.walls.hitTest(_x + 17, _y, true)) { _x = _x - 1; } if (!_root.walls.hitTest(_x + 25, _y - 20, true)) { _y = _y + yspeed; } } while (_root.walls.hitTest(_x, _y - 28, true)) { _y = _y + 1; } newx = _x; _rotation = _rotation + ((newx - oldx) * 10 - _rotation) / 4; } } instance coin of movieClip 433 { onClipEvent (enterFrame) { _y = _y + int(_root.yspeed); if (_y > 500) { _y = _y - (Math.random() * 500 + 600); _x = Math.random() * 640; } while (_root.walls.hitTest(_x, _y, true)) { _x = Math.random() * 1000 - 200; } if (this.hitTest(_root.chick)) { play(); _y = 501; _root.coins = Number(_root.coins + 1); } } } movieClip 584 { } movieClip 585 { frame 1 { lcr = 1; } instance part1 of movieClip 584 { onClipEvent (load) { gotoAndStop(6); } onClipEvent (enterFrame) { _y = _y + int(_root.yspeed); _parent.part2._y += int(_root.yspeed); if (_y > 240) { _y = _y - 960; _root.part = 1; if (_parent.part2._currentframe < 6) { _x = _parent.part2._x + 220; _parent.pose = 1; } else { if (_parent.part2._currentframe > 5 and _parent.part2._currentframe < 16) { _x = _parent.part2._x; _parent.pose = 2; } else { if (_parent.part2._currentframe > 15) { _x = _parent.part2._x - 220; _parent.pose = 3; } } } if (_x < 200) { rand = Math.ceil(random(15)); } else { if (_x > 200) { rand = 5 + Math.ceil(random(15)); } else { rand = Math.ceil(Math.random() * 20); } } if (rand == 1) { gotoAndStop(1); } if (rand == 2) { gotoAndStop(2); } if (rand == 3) { gotoAndStop(3); } if (rand == 4) { gotoAndStop(4); } if (rand == 5) { gotoAndStop(5); } if (rand == 6) { gotoAndStop(6); } if (rand == 7) { gotoAndStop(7); } if (rand == 8) { gotoAndStop(8); } if (rand == 9) { gotoAndStop(9); } if (rand == 10) { gotoAndStop(10); } if (rand == 11) { gotoAndStop(11); } if (rand == 12) { gotoAndStop(12); } if (rand == 13) { gotoAndStop(13); } if (rand == 14) { gotoAndStop(14); } if (rand == 15) { gotoAndStop(15); } if (rand == 16) { gotoAndStop(16); } if (rand == 17) { gotoAndStop(17); } if (rand == 18) { gotoAndStop(18); } if (rand == 19) { gotoAndStop(19); } if (rand == 20) { gotoAndStop(20); } } } } instance part2 of movieClip 584 { onClipEvent (load) { gotoAndStop(1); } onClipEvent (enterFrame) { if (_y > 240) { _y = _y - 960; _root.part = 2; if (_parent.part1._currentframe < 6) { _x = _parent.part1._x + 220; } else { if (_parent.part1._currentframe > 5 and _parent.part1._currentframe < 16) { _x = _parent.part1._x; } else { if (_parent.part1._currentframe > 15) { _x = _parent.part1._x - 220; } } } if (_x < 200) { rand = Math.ceil(random(15)); } else { if (_x > 200) { rand = 5 + Math.ceil(random(15)); } else { rand = Math.ceil(Math.random() * 20); } } if (rand == 1) { gotoAndStop(1); } if (rand == 2) { gotoAndStop(2); } if (rand == 3) { gotoAndStop(3); } if (rand == 4) { gotoAndStop(4); } if (rand == 5) { gotoAndStop(5); } if (rand == 6) { gotoAndStop(6); } if (rand == 7) { gotoAndStop(7); } if (rand == 8) { gotoAndStop(8); } if (rand == 9) { gotoAndStop(9); } if (rand == 10) { gotoAndStop(10); } if (rand == 11) { gotoAndStop(11); } if (rand == 12) { gotoAndStop(12); } if (rand == 13) { gotoAndStop(13); } if (rand == 14) { gotoAndStop(14); } if (rand == 15) { gotoAndStop(15); } if (rand == 16) { gotoAndStop(16); } if (rand == 17) { gotoAndStop(17); } if (rand == 18) { gotoAndStop(18); } if (rand == 19) { gotoAndStop(19); } if (rand == 20) { gotoAndStop(20); } } } } } movieClip 587 { } movieClip 588 { frame 1 { function camControl() { parentColor.setTransform(camColor.getTransform()); var v4 = sX / this._width; var v3 = sY / this._height; _parent._x = cX - this._x * v4; _parent._y = cY - this._y * v3; _parent._xscale = 100 * v4; _parent._yscale = 100 * v3; } function resetStage() { var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; parentColor.setTransform(v2); _parent._xscale = 100; _parent._yscale = 100; _parent._x = 0; _parent._y = 0; } this._visible = false; var oldMode = Stage.scaleMode; Stage.scaleMode = 'exactFit'; var cX = Stage.width / 2; var cY = Stage.height / 2; var sX = Stage.width; var sY = Stage.height; Stage.scaleMode = oldMode; var camColor = new Color(this); var parentColor = new Color(_parent); this.onEnterFrame = camControl; camControl(); this.onUnload = resetStage; } } instance cam of movieClip 588 { onClipEvent (enterFrame) { _x = _x + (_root.chick._x - _x) / 200; _root.shad._x = _x; _root.bg._x = _x; _root.scoreclip._x = _x; _root.energy._x = _x; } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 3 and _root.music !== 0) { stopAllSounds(); gotoAndStop(3); } } } frame 23 { stop(); } frame 23 { xp = Math.round(dist / 100); clilvl = Number(clilvl + _root.dist / 25); dist = Math.round(dist); _root.money = Number(_root.coins + _root.money); walls.part1._x = 0; walls.part2._x = 0; } instance of movieClip 325 { onClipEvent (enterFrame) { this._xscale = _root.climblevel * 2; _root.climblevel = Math.floor(_root.clilvl / 10); } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.clilvl - _root.climblevel * 10 >= 0) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.clilvl - _root.climblevel * 10 >= 2) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.clilvl - _root.climblevel * 10 >= 4) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.clilvl - _root.climblevel * 10 >= 6) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 309 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_root.clilvl - _root.climblevel * 10 >= 8) { gotoAndStop(2); } else { gotoAndStop(1); } } } button 600 { on (release) { gotoAndStop(21); } on (keyPress '<Space>') { gotoAndStop(21); } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } instance of movieClip 64 { onClipEvent (enterFrame) { if (_root.daytime == 1) { gotoAndStop(1); } if (_root.daytime == 2) { gotoAndStop(2); } if (_root.daytime == 3) { gotoAndStop(3); } } } instance of movieClip 66 { onClipEvent (enterFrame) { if (_root.daytime == 1) { gotoAndStop(1); } if (_root.daytime == 2) { gotoAndStop(2); } if (_root.daytime == 3) { gotoAndStop(3); } } } instance of movieClip 68 { onClipEvent (enterFrame) { if (_root.daytime == 1) { gotoAndStop(1); } if (_root.daytime == 2) { gotoAndStop(2); } if (_root.daytime == 3) { gotoAndStop(3); } } } instance of movieClip 349 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } } instance of movieClip 222 { onClipEvent (enterFrame) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } } } button 607 { on (release) { nextFrame(); } } button 610 { on (release) { if (_root.race > 2) { gotoAndStop(32); } } } button 613 { on (release) { if (_root.race > 5) { gotoAndStop(39); } } } movieClip 616 { } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 8) { _visible = true; gotoAndStop(1); } else { if (_root.race < 6) { _visible = true; gotoAndStop(2); } else { _visible = false; } } } } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 2) { _visible = true; gotoAndStop(1); } else { _visible = false; } } } button 619 { on (release) { if (_root.race > 8) { gotoAndStop(46); } } } button 622 { on (release) { if (_root.race > 11) { gotoAndStop(53); } } } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 11) { _visible = true; gotoAndStop(1); } else { if (_root.race < 9) { _visible = true; gotoAndStop(2); } else { _visible = false; } } } } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 5) { _visible = true; gotoAndStop(1); } else { if (_root.race < 3) { _visible = true; gotoAndStop(2); } else { _visible = false; } } } } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 13) { _visible = true; gotoAndStop(1); } else { if (_root.race < 12) { _visible = true; gotoAndStop(2); } else { _visible = false; } } } } // unknown tag 88 length 118 button 639 { on (release) { if (_root.race > 1) { gotoAndStop(30); } } } button 642 { on (release) { if (_root.race > 0) { gotoAndStop(28); } } } button 644 { on (release) { nextFrame(); } } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 0) { _visible = true; gotoAndStop(1); } if (_root.race == 0) { _visible = false; } } } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 1) { _visible = true; gotoAndStop(1); } if (_root.race < 1) { _visible = true; gotoAndStop(2); } if (_root.race == 1) { _visible = false; } } } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 2) { _visible = true; gotoAndStop(1); } if (_root.race < 2) { _visible = true; gotoAndStop(2); } if (_root.race == 2) { _visible = false; } } } frame 26 { stop(); go = 0; enelvl = 70; } movieClip 650 { } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance cam of movieClip 588 { onClipEvent (enterFrame) { _x = _x + (_root.chick._x - _x) / 16; if (_x < -870) { _x = -870; } if (_x > -80) { _x = -80; } _root.energy._x = _x; } } movieClip 651 { frame 1 { gotoAndStop(2); } instance of movieClip 222 { onClipEvent (load) { if (_parent._parent._name == 'chick' or _parent._parent._parent._name == 'chick') { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } } else { gotoAndStop(1); } } } instance of movieClip 109 { onClipEvent (load) { num = 0; } onClipEvent (enterFrame) { if (_parent._parent._x < 480 or _parent._parent._currentframe == 2) { if (_parent._parent._x > 160 or _parent._parent._currentframe == 1) { num = Math.round(Math.random() * 40); if (num == 5) { _parent.play(); num = 0; } if (_root.corn._x < 640) { _parent.play(); num = 0; } if (_root.corn2._x > 0) { _parent.play(); num = 0; } } } } } } movieClip 663 { frame 1 { gotoAndStop(2); } instance of movieClip 222 { onClipEvent (load) { if (_parent._parent._parent._name == 'chick' or _parent._parent._parent._parent._name == 'chick' or _parent._parent._parent._parent._parent._name == 'chick') { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } } else { gotoAndStop(1); } } } instance of movieClip 109 { onClipEvent (load) { num = 0; } onClipEvent (enterFrame) { if (_parent._parent._x < 480 or _parent._parent._currentframe == 2) { if (_parent._parent._x > 160 or _parent._parent._currentframe == 1) { num = Math.round(Math.random() * 40); if (num == 5) { _parent.play(); num = 0; } if (_root.corn._x < 640) { _parent.play(); num = 0; } if (_root.corn2._x > 0) { _parent.play(); num = 0; } } } } } } movieClip 664 { } movieClip 665 { frame 20 { stop(); } } movieClip 699 { frame 1 { stop(); } frame 2 { if (_name == 'chick') { _x = _x - _root.runlvl / 150; } else { _x = _x - level / 150; } } instance of movieClip 222 { onClipEvent (load) { if (_parent._parent._name == 'chick' or _parent._name == 'chick') { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } } else { gotoAndStop(1); } } } instance of movieClip 242 { onClipEvent (load) { if (_parent._parent._parent._parent._name == 'chick' or _parent._parent._parent._name == 'chick' or _parent._parent._name == 'chick' or _parent._name == 'chick') { if (_root.hat == 0) { gotoAndStop(1); } else { if (_root.hat == 1) { gotoAndStop(2); } else { if (_root.hat == 2) { gotoAndStop(3); } else { if (_root.hat == 3) { gotoAndStop(4); } else { if (_root.hat == 4) { gotoAndStop(5); } } } } } } else { gotoAndStop(1); } } } frame 3 { if (_name == 'chick') { _x = _x - _root.runlvl / 150; } else { _x = _x - level / 150; } } frame 4 { if (_name == 'chick') { _x = _x - _root.runlvl / 150; } else { _x = _x - level / 150; } } frame 5 { if (_name == 'chick') { _x = _x - _root.runlvl / 150; } else { _x = _x - level / 150; } } frame 6 { if (_name == 'chick') { _x = _x - _root.runlvl / 150; } else { _x = _x - level / 150; } } frame 7 { if (_name == 'chick') { _x = _x - _root.runlvl / 150; } else { _x = _x - level / 150; } } frame 8 { if (_name == 'chick') { _x = _x - _root.runlvl / 150; } else { _x = _x - level / 150; } } frame 9 { if (_name == 'chick') { _x = _x - _root.runlvl / 150; } else { _x = _x - level / 150; } } instance of movieClip 222 { onClipEvent (load) { if (_parent._parent._name == 'chick' or _parent._name == 'chick') { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } } else { gotoAndStop(1); } } } frame 10 { if (_name == 'chick') { _x = _x - _root.runlvl / 150; } else { _x = _x - level / 150; } } instance of movieClip 222 { onClipEvent (load) { if (_parent._parent._name == 'chick' or _parent._name == 'chick') { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } } else { gotoAndStop(1); } } } frame 11 { if (_name == 'chick') { _x = _x - _root.runlvl / 150; } else { _x = _x - level / 150; } } frame 12 { _x = _x + 50; gotoAndStop(1); } instance of movieClip 222 { onClipEvent (load) { if (_parent._parent._name == 'chick' or _parent._name == 'chick') { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } } else { gotoAndStop(1); } } } instance of movieClip 109 { onClipEvent (load) { num = 0; } onClipEvent (enterFrame) { if (_parent._parent._x < 480 or _parent._parent._currentframe == 2) { if (_parent._parent._x > 160 or _parent._parent._currentframe == 1) { num = Math.round(Math.random() * 40); if (num == 5) { _parent.play(); num = 0; } if (_root.corn._x < 640) { _parent.play(); num = 0; } if (_root.corn2._x > 0) { _parent.play(); num = 0; } } } } } frame 23 { _x = _x + 70; mode = 2; stop(); } frame 30 { mode = 1; } frame 31 { stop(); } instance of movieClip 222 { onClipEvent (load) { if (_parent._parent._name == 'chick' or _parent._name == 'chick') { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } } else { gotoAndStop(1); } } } instance of movieClip 243 { onClipEvent (enterFrame) { _rotation = -_parent._rotation; } } frame 32 { stop(); } instance of movieClip 243 { } instance of movieClip 243 { } instance of movieClip 243 { } frame 66 { mode = 1; _x = _x + 70; _y = _y - 30; gotoAndStop(1); } instance of movieClip 243 { onClipEvent (enterFrame) { _rotation = -_parent._rotation; } } } instance chick2 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 100; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 100); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick4 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 100; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 100); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick3 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 100; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 100); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick of movieClip 699 { onClipEvent (load) { yspeed = 0; delay = (1750 - _root.runlvl) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - _root.runlvl) / 100; } } else { _x = _x + _root.runlvl / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + _root.flylvl) / 100; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + _root.swilvl / 100); } if (mode == 4) { _y = _y - (0.5 + _root.clilvl / 250); } } } } movieClip 702 { } movieClip 703 { instance of movieClip 702 { onClipEvent (load) { chick1 = 0; chick2 = 0; chick3 = 0; chick4 = 0; idn = 1; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) && _root.chick._currentframe > 33) { _root.chick._x = _parent._x + _x - 17; _root.chick.mode = 4; _root.chick.gotoAndStop(32); } if (this.hitTest(_root.chick) && chick1 == 0) { chick1 = 1; _root.chick._x = _parent._x + _x - 17; _root.chick.mode = 4; _root.chick.gotoAndStop(32); } if (_root.chick.mode == 4) { if (!this.hitTest(_root.chick)) { _root.chick.mode = 0; _root.chick.play(); } } if (this.hitTest(_root.chick2) && _root.chick2._currentframe > 33) { _root.chick2._x = _parent._x + _x - 17; _root.chick2.mode = 4; _root.chick2.gotoAndStop(32); } if (this.hitTest(_root.chick2) && chick2 == 0) { chick2 = 1; _root.chick2._x = _parent._x + _x - 17; _root.chick2.mode = 4; _root.chick2.gotoAndStop(32); } if (_root.chick2.mode == 4) { if (!this.hitTest(_root.chick2)) { _root.chick2.mode = 0; _root.chick2.play(); } } if (this.hitTest(_root.chick3) && _root.chick3._currentframe > 33) { _root.chick3._x = _parent._x + _x - 17; _root.chick3.mode = 4; _root.chick3.gotoAndStop(32); } if (this.hitTest(_root.chick3) && chick3 == 0) { chick3 = 1; _root.chick3._x = _parent._x + _x - 14; _root.chick3.mode = 4; _root.chick3.gotoAndStop(32); } if (_root.chick3.mode == 4) { if (!this.hitTest(_root.chick3)) { _root.chick3.mode = 0; _root.chick3.play(); } } if (this.hitTest(_root.chick4) && _root.chick4._currentframe > 33) { _root.chick4._x = _parent._x + _x - 17; _root.chick4.mode = 4; _root.chick4.gotoAndStop(32); } if (this.hitTest(_root.chick4) && chick4 == 0) { chick4 = 1; _root.chick4._x = _parent._x + _x - 17; _root.chick4.mode = 4; _root.chick4.gotoAndStop(32); } if (_root.chick4.mode == 4) { if (!this.hitTest(_root.chick4)) { _root.chick4.mode = 0; _root.chick4.play(); } } } } } instance terrain of movieClip 703 { onClipEvent (enterFrame) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } movieClip 705 { } instance of movieClip 705 { onClipEvent (load) { _root.first = 0; _root.second = 0; _root.third = 0; _root.forth = 0; one = 0; two = 0; thr = 0; fou = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) and one == 0) { one = 1; if (_root.first == 0) { _root.first = 1; } else { if (_root.second == 0) { _root.second = 1; } else { if (_root.third == 0) { _root.third = 1; } else { if (_root.forth == 0) { _root.forth = 1; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick2) and two == 0) { two = 1; if (_root.first == 0) { _root.first = 2; } else { if (_root.second == 0) { _root.second = 2; } else { if (_root.third == 0) { _root.third = 2; } else { if (_root.forth == 0) { _root.forth = 2; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick3) and thr == 0) { thr = 1; if (_root.first == 0) { _root.first = 3; } else { if (_root.second == 0) { _root.second = 3; } else { if (_root.third == 0) { _root.third = 3; } else { if (_root.forth == 0) { _root.forth = 3; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick4) and fou == 0) { fou = 1; if (_root.first == 0) { _root.first = 4; } else { if (_root.second == 0) { _root.second = 4; } else { if (_root.third == 0) { _root.third = 4; } else { if (_root.forth == 0) { _root.forth = 4; _root.nextFrame(); } } } } } } } // unknown tag 88 length 44 movieClip 710 { frame 150 { _root.go = 1; stop(); } } movieClip 712 { } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } movieClip 716 { } movieClip 717 { frame 1 { stop(); } frame 388 { _root.nextFrame(); } } movieClip 718 { instance of movieClip 325 { onClipEvent (load) { level = 1 + _root.staminalevel; clevel = level; } onClipEvent (enterFrame) { if (_root.go == 1) { if (_root.first !== 1 and _root.second !== 1 and _root.third !== 1) { this._xscale = (clevel / level) * 100; clevel -= 0.01; if (clevel <= 0) { _root.gotoAndStop(78); } } } } } instance of movieClip 716 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _alpha = 50; } onClipEvent (releaseOutside, rollOut) { _alpha = 100; } } instance of movieClip 717 { onClipEvent (enterFrame) { if (_root.first > 0) { play(); } } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } movieClip 721 { } instance of movieClip 721 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 4 and _root.music !== 0) { stopAllSounds(); gotoAndStop(4); } } } frame 27 { if (first == 1) { if (_root.race > 0) { position = '1st'; results = 'You have already won the prizes for this race'; } else { money = Number(money + 50); position = '1st'; results = 'You win 50 coins and have unlocked brown paint (go to the shop to change colour)'; game = SharedObject.getLocal('mydata'); game.data.race = 1; _root.race = 1; game.flush(); } } if (second == 1) { position = '2nd'; results = 'So close yet so far. Train up your duck then come back and try again'; } if (third == 1) { position = '3rd'; results = 'At least you wern\'t last. Train up your duck then come back and try again'; } if (forth == 1) { position = '4th'; results = 'Oh no! Train up your duck then come back and try again'; } System.security.allowDomain('server.cpmstar.com'); adclip.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=2599Q1226A4F2'); } instance of movieClip 66 { onClipEvent (enterFrame) { if (_x < -760) { _x = _x + 760; } _x = _x - _root.xspeed / 10; } } instance of movieClip 68 { onClipEvent (enterFrame) { if (_x < -760) { _x = _x + 760; } _x = _x - _root.xspeed / 2; } } instance of movieClip 349 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } } instance of movieClip 222 { onClipEvent (enterFrame) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } } } movieClip 730 { } movieClip 732 { } movieClip 734 { } movieClip 735 { instance of movieClip 222 { onClipEvent (load) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } } } } instance chick of movieClip 735 { onClipEvent (load) { if (_root.first == 1) { gotoAndStop(1); } if (_root.first == 2) { gotoAndStop(2); } if (_root.first == 3) { gotoAndStop(3); } if (_root.first == 4) { gotoAndStop(4); } } } instance chick2 of movieClip 735 { onClipEvent (load) { if (_root.second == 0) { gotoAndStop(5); } if (_root.second == 1) { gotoAndStop(1); } if (_root.second == 2) { gotoAndStop(2); } if (_root.second == 3) { gotoAndStop(3); } if (_root.second == 4) { gotoAndStop(4); } } } instance chick3 of movieClip 735 { onClipEvent (load) { if (_root.third == 0) { gotoAndStop(5); } if (_root.third == 1) { gotoAndStop(1); } if (_root.third == 2) { gotoAndStop(2); } if (_root.third == 3) { gotoAndStop(3); } if (_root.third == 4) { gotoAndStop(4); } } } instance chick4 of movieClip 735 { onClipEvent (load) { if (_root.forth == 0) { gotoAndStop(5); } if (_root.forth == 1) { gotoAndStop(1); } if (_root.forth == 2) { gotoAndStop(2); } if (_root.forth == 3) { gotoAndStop(3); } if (_root.forth == 4) { gotoAndStop(4); } } } movieClip 738 { } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } frame 28 { stop(); go = 0; enelvl = 70; } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance cam of movieClip 588 { onClipEvent (enterFrame) { _root.energy._x = _x; } } instance chick2 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 100; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 100); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick4 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 100; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 100); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick3 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 100; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 100); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick of movieClip 699 { onClipEvent (load) { yspeed = 0; delay = (1750 - _root.runlvl) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - _root.runlvl) / 100; } } else { _x = _x + _root.runlvl / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + _root.flylvl) / 100; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + _root.swilvl / 100); } if (mode == 4) { _y = _y - (0.5 + _root.clilvl / 250); } } } } instance terrain of movieClip 703 { onClipEvent (enterFrame) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } instance of movieClip 705 { onClipEvent (load) { _root.first = 0; _root.second = 0; _root.third = 0; _root.forth = 0; one = 0; two = 0; thr = 0; fou = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) and one == 0) { one = 1; if (_root.first == 0) { _root.first = 1; } else { if (_root.second == 0) { _root.second = 1; } else { if (_root.third == 0) { _root.third = 1; } else { if (_root.forth == 0) { _root.forth = 1; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick2) and two == 0) { two = 1; if (_root.first == 0) { _root.first = 2; } else { if (_root.second == 0) { _root.second = 2; } else { if (_root.third == 0) { _root.third = 2; } else { if (_root.forth == 0) { _root.forth = 2; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick3) and thr == 0) { thr = 1; if (_root.first == 0) { _root.first = 3; } else { if (_root.second == 0) { _root.second = 3; } else { if (_root.third == 0) { _root.third = 3; } else { if (_root.forth == 0) { _root.forth = 3; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick4) and fou == 0) { fou = 1; if (_root.first == 0) { _root.first = 4; } else { if (_root.second == 0) { _root.second = 4; } else { if (_root.third == 0) { _root.third = 4; } else { if (_root.forth == 0) { _root.forth = 4; _root.nextFrame(); } } } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance of movieClip 721 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 4 and _root.music !== 0) { stopAllSounds(); gotoAndStop(4); } } } frame 29 { if (first == 1) { if (_root.race > 1) { position = '1st'; results = 'You have already won the prizes for this race'; } else { money = Number(money + 50); position = '1st'; results = 'You win 50 coins and have unlocked red paint (go to the shop to change colour)'; game = SharedObject.getLocal('mydata'); game.data.race = 2; game.flush(); _root.race = 2; } } if (second == 1) { position = '2nd'; results = 'So close yet so far. Train up your duck then come back and try again'; } if (third == 1) { position = '3rd'; results = 'At least you wern\'t last. Train up your duck then come back and try again'; } if (forth == 1) { position = '4th'; results = 'Oh no! Train up your duck then come back and try again'; } System.security.allowDomain('server.cpmstar.com'); adclip.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=2599Q1226A4F2'); } instance of movieClip 66 { onClipEvent (enterFrame) { if (_x < -760) { _x = _x + 760; } _x = _x - _root.xspeed / 10; } } instance of movieClip 68 { onClipEvent (enterFrame) { if (_x < -760) { _x = _x + 760; } _x = _x - _root.xspeed / 2; } } instance of movieClip 349 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } } instance of movieClip 222 { onClipEvent (enterFrame) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } } } instance chick of movieClip 735 { onClipEvent (load) { if (_root.first == 1) { gotoAndStop(1); } if (_root.first == 2) { gotoAndStop(2); } if (_root.first == 3) { gotoAndStop(3); } if (_root.first == 4) { gotoAndStop(4); } } } instance chick2 of movieClip 735 { onClipEvent (load) { if (_root.second == 0) { gotoAndStop(5); } if (_root.second == 1) { gotoAndStop(1); } if (_root.second == 2) { gotoAndStop(2); } if (_root.second == 3) { gotoAndStop(3); } if (_root.second == 4) { gotoAndStop(4); } } } instance chick3 of movieClip 735 { onClipEvent (load) { if (_root.third == 0) { gotoAndStop(5); } if (_root.third == 1) { gotoAndStop(1); } if (_root.third == 2) { gotoAndStop(2); } if (_root.third == 3) { gotoAndStop(3); } if (_root.third == 4) { gotoAndStop(4); } } } instance chick4 of movieClip 735 { onClipEvent (load) { if (_root.forth == 0) { gotoAndStop(5); } if (_root.forth == 1) { gotoAndStop(1); } if (_root.forth == 2) { gotoAndStop(2); } if (_root.forth == 3) { gotoAndStop(3); } if (_root.forth == 4) { gotoAndStop(4); } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } frame 30 { stop(); go = 0; enelvl = 100; } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance cam of movieClip 588 { onClipEvent (enterFrame) { _x = _x + (_root.chick._x - _x) / 16; if (_x < -1650) { _x = -1650; } if (_x > 650) { _x = 650; } _root.energy._x = _x; } } instance chick2 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 100; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 100); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick4 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 100; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 100); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick3 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 100; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 100); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick of movieClip 699 { onClipEvent (load) { yspeed = 0; delay = (1750 - _root.runlvl) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - _root.runlvl) / 100; } } else { _x = _x + _root.runlvl / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + _root.flylvl) / 100; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + _root.swilvl / 100); } if (mode == 4) { _y = _y - (0.5 + _root.clilvl / 250); } } } } instance terrain of movieClip 703 { onClipEvent (enterFrame) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } instance of movieClip 705 { onClipEvent (load) { _root.first = 0; _root.second = 0; _root.third = 0; _root.forth = 0; one = 0; two = 0; thr = 0; fou = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) and one == 0) { one = 1; if (_root.first == 0) { _root.first = 1; } else { if (_root.second == 0) { _root.second = 1; } else { if (_root.third == 0) { _root.third = 1; } else { if (_root.forth == 0) { _root.forth = 1; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick2) and two == 0) { two = 1; if (_root.first == 0) { _root.first = 2; } else { if (_root.second == 0) { _root.second = 2; } else { if (_root.third == 0) { _root.third = 2; } else { if (_root.forth == 0) { _root.forth = 2; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick3) and thr == 0) { thr = 1; if (_root.first == 0) { _root.first = 3; } else { if (_root.second == 0) { _root.second = 3; } else { if (_root.third == 0) { _root.third = 3; } else { if (_root.forth == 0) { _root.forth = 3; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick4) and fou == 0) { fou = 1; if (_root.first == 0) { _root.first = 4; } else { if (_root.second == 0) { _root.second = 4; } else { if (_root.third == 0) { _root.third = 4; } else { if (_root.forth == 0) { _root.forth = 4; _root.nextFrame(); } } } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance of movieClip 721 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 4 and _root.music !== 0) { stopAllSounds(); gotoAndStop(4); } } } frame 31 { if (first == 1) { if (_root.race > 2) { position = '1st'; results = 'You have already won the prizes for this race'; } else { money = Number(money + 50); position = '1st'; maxmaxi = 50; results = 'You won 50 coins, Scotland paint, a safari hat, and the max level you can buy has been raised to 50'; game = SharedObject.getLocal('mydata'); game.data.race = 3; _root.race = 3; game.flush(); } } if (second == 1) { position = '2nd'; results = 'So close yet so far. Train up your duck then come back and try again'; } if (third == 1) { position = '3rd'; results = 'At least you wern\'t last. Train up your duck then come back and try again'; } if (forth == 1) { position = '4th'; results = 'Oh no! Train up your duck then come back and try again'; } System.security.allowDomain('server.cpmstar.com'); adclip.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=2599Q1226A4F2'); } instance of movieClip 66 { onClipEvent (enterFrame) { if (_x < -760) { _x = _x + 760; } _x = _x - _root.xspeed / 10; } } instance of movieClip 68 { onClipEvent (enterFrame) { if (_x < -760) { _x = _x + 760; } _x = _x - _root.xspeed / 2; } } instance of movieClip 349 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } } instance of movieClip 222 { onClipEvent (enterFrame) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } } } instance chick of movieClip 735 { onClipEvent (load) { if (_root.first == 1) { gotoAndStop(1); } if (_root.first == 2) { gotoAndStop(2); } if (_root.first == 3) { gotoAndStop(3); } if (_root.first == 4) { gotoAndStop(4); } } } instance chick2 of movieClip 735 { onClipEvent (load) { if (_root.second == 0) { gotoAndStop(5); } if (_root.second == 1) { gotoAndStop(1); } if (_root.second == 2) { gotoAndStop(2); } if (_root.second == 3) { gotoAndStop(3); } if (_root.second == 4) { gotoAndStop(4); } } } instance chick3 of movieClip 735 { onClipEvent (load) { if (_root.third == 0) { gotoAndStop(5); } if (_root.third == 1) { gotoAndStop(1); } if (_root.third == 2) { gotoAndStop(2); } if (_root.third == 3) { gotoAndStop(3); } if (_root.third == 4) { gotoAndStop(4); } } } instance chick4 of movieClip 735 { onClipEvent (load) { if (_root.forth == 0) { gotoAndStop(5); } if (_root.forth == 1) { gotoAndStop(1); } if (_root.forth == 2) { gotoAndStop(2); } if (_root.forth == 3) { gotoAndStop(3); } if (_root.forth == 4) { gotoAndStop(4); } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } movieClip 748 { } button 756 { on (release) { if (_root.race > 4) { gotoAndStop(37); } } } button 760 { on (release) { if (_root.race > 3) { gotoAndStop(35); } } } button 763 { on (release) { nextFrame(); } } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 3) { _visible = true; gotoAndStop(1); } if (_root.race < 3) { _visible = true; gotoAndStop(2); } if (_root.race == 3) { _visible = false; } } } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 4) { _visible = true; gotoAndStop(1); } if (_root.race < 4) { _visible = true; gotoAndStop(2); } if (_root.race == 4) { _visible = false; } } } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 5) { _visible = true; gotoAndStop(1); } if (_root.race < 5) { _visible = true; gotoAndStop(2); } if (_root.race == 5) { _visible = false; } } } frame 33 { stop(); go = 0; enelvl = 300; } instance of movieClip 66 { onClipEvent (enterFrame) { if (_x < -760) { _x = _x + 760; } _x = _x - _root.xspeed / 10; } } movieClip 766 { } movieClip 771 { } movieClip 773 { } instance of movieClip 773 { onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { _root.gotoAndStop(9); } } } instance of movieClip 705 { onClipEvent (load) { _root.first = 0; _root.second = 0; _root.third = 0; _root.forth = 0; one = 0; two = 0; thr = 0; fou = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) and one == 0) { one = 1; if (_root.first == 0) { _root.first = 1; } else { if (_root.second == 0) { _root.second = 1; } else { if (_root.third == 0) { _root.third = 1; } else { if (_root.forth == 0) { _root.forth = 1; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick2) and two == 0) { two = 1; if (_root.first == 0) { _root.first = 2; } else { if (_root.second == 0) { _root.second = 2; } else { if (_root.third == 0) { _root.third = 2; } else { if (_root.forth == 0) { _root.forth = 2; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick3) and thr == 0) { thr = 1; if (_root.first == 0) { _root.first = 3; } else { if (_root.second == 0) { _root.second = 3; } else { if (_root.third == 0) { _root.third = 3; } else { if (_root.forth == 0) { _root.forth = 3; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick4) and fou == 0) { fou = 1; if (_root.first == 0) { _root.first = 4; } else { if (_root.second == 0) { _root.second = 4; } else { if (_root.third == 0) { _root.third = 4; } else { if (_root.forth == 0) { _root.forth = 4; _root.nextFrame(); } } } } } } } movieClip 775 { } instance of movieClip 775 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick2)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick3)) { _root.chick3._x -= 1; } while (this.hitTest(_root.chick4)) { _root.chick4._x -= 1; } } } movieClip 777 { } instance of movieClip 777 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick2)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick3)) { _root.chick3._x -= 1; } while (this.hitTest(_root.chick4)) { _root.chick4._x -= 1; } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } movieClip 779 { } instance cam of movieClip 588 { onClipEvent (enterFrame) { _x = _x + (_root.chick._x - _x) / 16; if (_x < -2460) { _x = -2460; } if (_x > -1880) { _x = -1880; } _root.energy._x = _x; } } instance chick2 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick4 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick3 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick of movieClip 699 { onClipEvent (load) { yspeed = 0; delay = (1750 - _root.runlvl) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - _root.runlvl) / 100; } } else { _x = _x + _root.runlvl / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + _root.flylvl) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + _root.swilvl / 200); } if (mode == 4) { _y = _y - (0.5 + _root.clilvl / 250); } } } } movieClip 783 { } movieClip 784 { instance of movieClip 783 { onClipEvent (load) { chick1 = 0; chick2 = 0; chick3 = 0; chick4 = 0; idn = 1; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) && _root.chick._currentframe > 33) { _root.chick._x = _parent._x + _x - 17; _root.chick.mode = 4; _root.chick.gotoAndStop(32); } if (this.hitTest(_root.chick) && chick1 == 0) { chick1 = 1; _root.chick._x = _parent._x + _x - 17; _root.chick.mode = 4; _root.chick.gotoAndStop(32); } if (_root.chick.mode == 4) { if (!this.hitTest(_root.chick)) { _root.chick.mode = 0; _root.chick.play(); } } if (this.hitTest(_root.chick2) && _root.chick2._currentframe > 33) { _root.chick2._x = _parent._x + _x - 17; _root.chick2.mode = 4; _root.chick2.gotoAndStop(32); } if (this.hitTest(_root.chick2) && chick2 == 0) { chick2 = 1; _root.chick2._x = _parent._x + _x - 17; _root.chick2.mode = 4; _root.chick2.gotoAndStop(32); } if (_root.chick2.mode == 4) { if (!this.hitTest(_root.chick2)) { _root.chick2.mode = 0; _root.chick2.play(); } } if (this.hitTest(_root.chick3) && _root.chick3._currentframe > 33) { _root.chick3._x = _parent._x + _x - 17; _root.chick3.mode = 4; _root.chick3.gotoAndStop(32); } if (this.hitTest(_root.chick3) && chick3 == 0) { chick3 = 1; _root.chick3._x = _parent._x + _x - 14; _root.chick3.mode = 4; _root.chick3.gotoAndStop(32); } if (_root.chick3.mode == 4) { if (!this.hitTest(_root.chick3)) { _root.chick3.mode = 0; _root.chick3.play(); } } if (this.hitTest(_root.chick4) && _root.chick4._currentframe > 33) { _root.chick4._x = _parent._x + _x - 17; _root.chick4.mode = 4; _root.chick4.gotoAndStop(32); } if (this.hitTest(_root.chick4) && chick4 == 0) { chick4 = 1; _root.chick4._x = _parent._x + _x - 17; _root.chick4.mode = 4; _root.chick4.gotoAndStop(32); } if (_root.chick4.mode == 4) { if (!this.hitTest(_root.chick4)) { _root.chick4.mode = 0; _root.chick4.play(); } } } } } instance of movieClip 784 { onClipEvent (enterFrame) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } movieClip 787 { } instance of movieClip 787 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 4 and _root.music !== 0) { stopAllSounds(); gotoAndStop(4); } } } frame 34 { if (first == 1) { if (_root.race > 3) { position = '1st'; results = 'You have already won the prizes for this race'; } else { money = Number(money + 50); position = '1st'; results = 'You win 50 coins and have unlocked purple paint (go to the shop to change colour)'; game = SharedObject.getLocal('mydata'); game.data.race = 4; game.flush(); _root.race = 4; } } if (second == 1) { position = '2nd'; results = 'So close yet so far. Train up your duck then come back and try again'; } if (third == 1) { position = '3rd'; results = 'At least you wern\'t last. Train up your duck then come back and try again'; } if (forth == 1) { position = '4th'; results = 'Oh no! Train up your duck then come back and try again'; } System.security.allowDomain('server.cpmstar.com'); adclip.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=2599Q1226A4F2'); } instance of movieClip 349 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } } instance chick of movieClip 735 { onClipEvent (load) { if (_root.first == 1) { gotoAndStop(1); } if (_root.first == 2) { gotoAndStop(2); } if (_root.first == 3) { gotoAndStop(3); } if (_root.first == 4) { gotoAndStop(4); } } } instance chick2 of movieClip 735 { onClipEvent (load) { if (_root.second == 0) { gotoAndStop(5); } if (_root.second == 1) { gotoAndStop(1); } if (_root.second == 2) { gotoAndStop(2); } if (_root.second == 3) { gotoAndStop(3); } if (_root.second == 4) { gotoAndStop(4); } } } instance chick3 of movieClip 735 { onClipEvent (load) { if (_root.third == 0) { gotoAndStop(5); } if (_root.third == 1) { gotoAndStop(1); } if (_root.third == 2) { gotoAndStop(2); } if (_root.third == 3) { gotoAndStop(3); } if (_root.third == 4) { gotoAndStop(4); } } } instance chick4 of movieClip 735 { onClipEvent (load) { if (_root.forth == 0) { gotoAndStop(5); } if (_root.forth == 1) { gotoAndStop(1); } if (_root.forth == 2) { gotoAndStop(2); } if (_root.forth == 3) { gotoAndStop(3); } if (_root.forth == 4) { gotoAndStop(4); } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } frame 35 { stop(); go = 0; enelvl = 300; } instance of movieClip 705 { onClipEvent (load) { _root.first = 0; _root.second = 0; _root.third = 0; _root.forth = 0; one = 0; two = 0; thr = 0; fou = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) and one == 0) { one = 1; if (_root.first == 0) { _root.first = 1; } else { if (_root.second == 0) { _root.second = 1; } else { if (_root.third == 0) { _root.third = 1; } else { if (_root.forth == 0) { _root.forth = 1; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick2) and two == 0) { two = 1; if (_root.first == 0) { _root.first = 2; } else { if (_root.second == 0) { _root.second = 2; } else { if (_root.third == 0) { _root.third = 2; } else { if (_root.forth == 0) { _root.forth = 2; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick3) and thr == 0) { thr = 1; if (_root.first == 0) { _root.first = 3; } else { if (_root.second == 0) { _root.second = 3; } else { if (_root.third == 0) { _root.third = 3; } else { if (_root.forth == 0) { _root.forth = 3; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick4) and fou == 0) { fou = 1; if (_root.first == 0) { _root.first = 4; } else { if (_root.second == 0) { _root.second = 4; } else { if (_root.third == 0) { _root.third = 4; } else { if (_root.forth == 0) { _root.forth = 4; _root.nextFrame(); } } } } } } } instance of movieClip 775 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick2)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick3)) { _root.chick3._x -= 1; } while (this.hitTest(_root.chick4)) { _root.chick4._x -= 1; } } } instance of movieClip 777 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick2)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick3)) { _root.chick3._x -= 1; } while (this.hitTest(_root.chick4)) { _root.chick4._x -= 1; } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance of movieClip 787 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance chick2 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick4 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick3 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick of movieClip 699 { onClipEvent (load) { yspeed = 0; delay = (1750 - _root.runlvl) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - _root.runlvl) / 100; } } else { _x = _x + _root.runlvl / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + _root.flylvl) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + _root.swilvl / 200); } if (mode == 4) { _y = _y - (0.5 + _root.clilvl / 250); } } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance of movieClip 784 { onClipEvent (enterFrame) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } instance cam of movieClip 588 { onClipEvent (enterFrame) { _x = _x + (_root.chick._x - _x) / 16; if (_x < 1320) { _x = 1320; } if (_x > 1880) { _x = 1880; } _root.energy._x = _x; } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 4 and _root.music !== 0) { stopAllSounds(); gotoAndStop(4); } } } frame 36 { if (first == 1) { if (_root.race > 4) { position = '1st'; results = 'You have already won the prizes for this race'; } else { money = Number(money + 50); position = '1st'; results = 'You win 50 coins and have unlocked blue paint (go to the shop to change colour)'; game = SharedObject.getLocal('mydata'); game.data.race = 5; game.flush(); _root.race = 5; } } if (second == 1) { position = '2nd'; results = 'So close yet so far. Train up your duck then come back and try again'; } if (third == 1) { position = '3rd'; results = 'At least you wern\'t last. Train up your duck then come back and try again'; } if (forth == 1) { position = '4th'; results = 'Oh no! Train up your duck then come back and try again'; } System.security.allowDomain('server.cpmstar.com'); adclip.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=2599Q1226A4F2'); } instance of movieClip 349 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } } instance chick of movieClip 735 { onClipEvent (load) { if (_root.first == 1) { gotoAndStop(1); } if (_root.first == 2) { gotoAndStop(2); } if (_root.first == 3) { gotoAndStop(3); } if (_root.first == 4) { gotoAndStop(4); } } } instance chick2 of movieClip 735 { onClipEvent (load) { if (_root.second == 0) { gotoAndStop(5); } if (_root.second == 1) { gotoAndStop(1); } if (_root.second == 2) { gotoAndStop(2); } if (_root.second == 3) { gotoAndStop(3); } if (_root.second == 4) { gotoAndStop(4); } } } instance chick3 of movieClip 735 { onClipEvent (load) { if (_root.third == 0) { gotoAndStop(5); } if (_root.third == 1) { gotoAndStop(1); } if (_root.third == 2) { gotoAndStop(2); } if (_root.third == 3) { gotoAndStop(3); } if (_root.third == 4) { gotoAndStop(4); } } } instance chick4 of movieClip 735 { onClipEvent (load) { if (_root.forth == 0) { gotoAndStop(5); } if (_root.forth == 1) { gotoAndStop(1); } if (_root.forth == 2) { gotoAndStop(2); } if (_root.forth == 3) { gotoAndStop(3); } if (_root.forth == 4) { gotoAndStop(4); } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } frame 37 { stop(); go = 0; enelvl = 400; } instance of movieClip 705 { onClipEvent (load) { _root.first = 0; _root.second = 0; _root.third = 0; _root.forth = 0; one = 0; two = 0; thr = 0; fou = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) and one == 0) { one = 1; if (_root.first == 0) { _root.first = 1; } else { if (_root.second == 0) { _root.second = 1; } else { if (_root.third == 0) { _root.third = 1; } else { if (_root.forth == 0) { _root.forth = 1; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick2) and two == 0) { two = 1; if (_root.first == 0) { _root.first = 2; } else { if (_root.second == 0) { _root.second = 2; } else { if (_root.third == 0) { _root.third = 2; } else { if (_root.forth == 0) { _root.forth = 2; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick3) and thr == 0) { thr = 1; if (_root.first == 0) { _root.first = 3; } else { if (_root.second == 0) { _root.second = 3; } else { if (_root.third == 0) { _root.third = 3; } else { if (_root.forth == 0) { _root.forth = 3; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick4) and fou == 0) { fou = 1; if (_root.first == 0) { _root.first = 4; } else { if (_root.second == 0) { _root.second = 4; } else { if (_root.third == 0) { _root.third = 4; } else { if (_root.forth == 0) { _root.forth = 4; _root.nextFrame(); } } } } } } } instance of movieClip 775 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick2)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick3)) { _root.chick3._x -= 1; } while (this.hitTest(_root.chick4)) { _root.chick4._x -= 1; } } } instance of movieClip 777 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick2)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick3)) { _root.chick3._x -= 1; } while (this.hitTest(_root.chick4)) { _root.chick4._x -= 1; } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance cam of movieClip 588 { onClipEvent (enterFrame) { _x = _x + (_root.chick._x - _x) / 16; if (_x < -2460) { _x = -2460; } if (_x > 1880) { _x = 1880; } _root.energy._x = _x; } } instance chick2 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick4 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick3 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick of movieClip 699 { onClipEvent (load) { yspeed = 0; delay = (1750 - _root.runlvl) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - _root.runlvl) / 100; } } else { _x = _x + _root.runlvl / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + _root.flylvl) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + _root.swilvl / 200); } if (mode == 4) { _y = _y - (0.5 + _root.clilvl / 250); } } } } instance of movieClip 784 { onClipEvent (enterFrame) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } instance of movieClip 787 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 4 and _root.music !== 0) { stopAllSounds(); gotoAndStop(4); } } } frame 38 { if (first == 1) { if (_root.race > 5) { position = '1st'; results = 'You have already won the prizes for this race'; } else { money = Number(money + 50); position = '1st'; maxmaxi = 80; results = 'You won 50 coins, England paint, a propeller hat, and the max level you can buy has been raised to 80'; game = SharedObject.getLocal('mydata'); game.data.race = 6; _root.race = 6; game.flush(); } } if (second == 1) { position = '2nd'; results = 'So close yet so far. Train up your duck then come back and try again'; } if (second == 1) { position = '2nd'; results = 'So close yet so far. Train up your duck then come back and try again'; } if (third == 1) { position = '3rd'; results = 'At least you wern\'t last. Train up your duck then come back and try again'; } if (forth == 1) { position = '4th'; results = 'Oh no! Train up your duck then come back and try again'; } System.security.allowDomain('server.cpmstar.com'); adclip.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=2599Q1226A4F2'); } instance of movieClip 349 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } } instance chick of movieClip 735 { onClipEvent (load) { if (_root.first == 1) { gotoAndStop(1); } if (_root.first == 2) { gotoAndStop(2); } if (_root.first == 3) { gotoAndStop(3); } if (_root.first == 4) { gotoAndStop(4); } } } instance chick2 of movieClip 735 { onClipEvent (load) { if (_root.second == 0) { gotoAndStop(5); } if (_root.second == 1) { gotoAndStop(1); } if (_root.second == 2) { gotoAndStop(2); } if (_root.second == 3) { gotoAndStop(3); } if (_root.second == 4) { gotoAndStop(4); } } } instance chick3 of movieClip 735 { onClipEvent (load) { if (_root.third == 0) { gotoAndStop(5); } if (_root.third == 1) { gotoAndStop(1); } if (_root.third == 2) { gotoAndStop(2); } if (_root.third == 3) { gotoAndStop(3); } if (_root.third == 4) { gotoAndStop(4); } } } instance chick4 of movieClip 735 { onClipEvent (load) { if (_root.forth == 0) { gotoAndStop(5); } if (_root.forth == 1) { gotoAndStop(1); } if (_root.forth == 2) { gotoAndStop(2); } if (_root.forth == 3) { gotoAndStop(3); } if (_root.forth == 4) { gotoAndStop(4); } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } button 805 { on (release) { if (_root.race > 7) { gotoAndStop(44); } } } button 808 { on (release) { if (_root.race > 6) { gotoAndStop(42); } } } button 812 { on (release) { nextFrame(); } } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 6) { _visible = true; gotoAndStop(1); } if (_root.race < 6) { _visible = true; gotoAndStop(2); } if (_root.race == 6) { _visible = false; } } } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 7) { _visible = true; gotoAndStop(1); } if (_root.race < 7) { _visible = true; gotoAndStop(2); } if (_root.race == 7) { _visible = false; } } } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 8) { _visible = true; gotoAndStop(1); } if (_root.race < 8) { _visible = true; gotoAndStop(2); } if (_root.race == 8) { _visible = false; } } } // unknown tag 88 length 135 instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 4 and _root.music !== 0) { stopAllSounds(); gotoAndStop(4); } } } frame 40 { stop(); go = 0; enelvl = 600; } movieClip 817 { } instance of movieClip 817 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } movieClip 820 { } instance of movieClip 820 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } movieClip 822 { } instance of movieClip 705 { onClipEvent (load) { _root.first = 0; _root.second = 0; _root.third = 0; _root.forth = 0; one = 0; two = 0; thr = 0; fou = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) and one == 0) { one = 1; if (_root.first == 0) { _root.first = 1; gotoAndStop(2); } else { if (_root.second == 0) { _root.second = 1; } else { if (_root.third == 0) { _root.third = 1; } else { if (_root.forth == 0) { _root.forth = 1; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick2) and two == 0) { two = 1; if (_root.first == 0) { _root.first = 2; } else { if (_root.second == 0) { _root.second = 2; } else { if (_root.third == 0) { _root.third = 2; } else { if (_root.forth == 0) { _root.forth = 2; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick3) and thr == 0) { thr = 1; if (_root.first == 0) { _root.first = 3; } else { if (_root.second == 0) { _root.second = 3; } else { if (_root.third == 0) { _root.third = 3; } else { if (_root.forth == 0) { _root.forth = 3; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick4) and fou == 0) { fou = 1; if (_root.first == 0) { _root.first = 4; } else { if (_root.second == 0) { _root.second = 4; } else { if (_root.third == 0) { _root.third = 4; } else { if (_root.forth == 0) { _root.forth = 4; _root.nextFrame(); } } } } } } } instance of movieClip 721 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndStop(23); _root.chick._x -= 50; } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndStop(23); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndStop(23); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndStop(23); } } } } instance cam of movieClip 588 { onClipEvent (enterFrame) { _x = _x + (_root.chick._x - _x) / 16; if (_x < -2460) { _x = -2460; } if (_x > -1470) { _x = -1470; } _root.energy._x = _x; } } instance chick2 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick4 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick3 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick of movieClip 699 { onClipEvent (load) { yspeed = 0; delay = (1750 - _root.runlvl) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - _root.runlvl) / 100; } } else { _x = _x + _root.runlvl / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + _root.flylvl) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + _root.swilvl / 200); } if (mode == 4) { _y = _y - (0.5 + _root.clilvl / 250); } } } } movieClip 826 { } movieClip 827 { instance of movieClip 826 { onClipEvent (load) { chick1 = 0; chick2 = 0; chick3 = 0; chick4 = 0; idn = 1; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) && _root.chick._currentframe > 33) { _root.chick._x = _parent._x + _x - 17; _root.chick.mode = 4; _root.chick.gotoAndStop(32); } if (this.hitTest(_root.chick) && chick1 == 0) { chick1 = 1; _root.chick._x = _parent._x + _x - 17; _root.chick.mode = 4; _root.chick.gotoAndStop(32); } if (_root.chick.mode == 4) { if (!this.hitTest(_root.chick)) { _root.chick.mode = 0; _root.chick.play(); } } if (this.hitTest(_root.chick2) && _root.chick2._currentframe > 33) { _root.chick2._x = _parent._x + _x - 17; _root.chick2.mode = 4; _root.chick2.gotoAndStop(32); } if (this.hitTest(_root.chick2) && chick2 == 0) { chick2 = 1; _root.chick2._x = _parent._x + _x - 17; _root.chick2.mode = 4; _root.chick2.gotoAndStop(32); } if (_root.chick2.mode == 4) { if (!this.hitTest(_root.chick2)) { _root.chick2.mode = 0; _root.chick2.play(); } } if (this.hitTest(_root.chick3) && _root.chick3._currentframe > 33) { _root.chick3._x = _parent._x + _x - 17; _root.chick3.mode = 4; _root.chick3.gotoAndStop(32); } if (this.hitTest(_root.chick3) && chick3 == 0) { chick3 = 1; _root.chick3._x = _parent._x + _x - 14; _root.chick3.mode = 4; _root.chick3.gotoAndStop(32); } if (_root.chick3.mode == 4) { if (!this.hitTest(_root.chick3)) { _root.chick3.mode = 0; _root.chick3.play(); } } if (this.hitTest(_root.chick4) && _root.chick4._currentframe > 33) { _root.chick4._x = _parent._x + _x - 17; _root.chick4.mode = 4; _root.chick4.gotoAndStop(32); } if (this.hitTest(_root.chick4) && chick4 == 0) { chick4 = 1; _root.chick4._x = _parent._x + _x - 17; _root.chick4.mode = 4; _root.chick4.gotoAndStop(32); } if (_root.chick4.mode == 4) { if (!this.hitTest(_root.chick4)) { _root.chick4.mode = 0; _root.chick4.play(); } } } } } instance of movieClip 827 { onClipEvent (enterFrame) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } frame 41 { if (first == 1) { if (_root.race > 6) { position = '1st'; results = 'You have already won the prizes for this race'; } else { money = Number(money + 50); position = '1st'; results = 'You win 50 coins and have unlocked green paint (go to the shop to change colour)'; game = SharedObject.getLocal('mydata'); game.data.race = 7; _root.race = 7; game.flush(); } } if (second == 1) { position = '2nd'; results = 'So close yet so far. Train up your duck then come back and try again'; } if (third == 1) { position = '3rd'; results = 'At least you wern\'t last. Train up your duck then come back and try again'; } if (forth == 1) { position = '4th'; results = 'Oh no! Train up your duck then come back and try again'; } System.security.allowDomain('server.cpmstar.com'); adclip.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=2599Q1226A4F2'); } instance of movieClip 349 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } } instance chick of movieClip 735 { onClipEvent (load) { if (_root.first == 1) { gotoAndStop(1); } if (_root.first == 2) { gotoAndStop(2); } if (_root.first == 3) { gotoAndStop(3); } if (_root.first == 4) { gotoAndStop(4); } } } instance chick2 of movieClip 735 { onClipEvent (load) { if (_root.second == 0) { gotoAndStop(5); } if (_root.second == 1) { gotoAndStop(1); } if (_root.second == 2) { gotoAndStop(2); } if (_root.second == 3) { gotoAndStop(3); } if (_root.second == 4) { gotoAndStop(4); } } } instance chick3 of movieClip 735 { onClipEvent (load) { if (_root.third == 0) { gotoAndStop(5); } if (_root.third == 1) { gotoAndStop(1); } if (_root.third == 2) { gotoAndStop(2); } if (_root.third == 3) { gotoAndStop(3); } if (_root.third == 4) { gotoAndStop(4); } } } instance chick4 of movieClip 735 { onClipEvent (load) { if (_root.forth == 0) { gotoAndStop(5); } if (_root.forth == 1) { gotoAndStop(1); } if (_root.forth == 2) { gotoAndStop(2); } if (_root.forth == 3) { gotoAndStop(3); } if (_root.forth == 4) { gotoAndStop(4); } } } frame 42 { stop(); go = 0; enelvl = 600; } instance of movieClip 705 { onClipEvent (load) { _root.first = 0; _root.second = 0; _root.third = 0; _root.forth = 0; one = 0; two = 0; thr = 0; fou = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) and one == 0) { one = 1; if (_root.first == 0) { _root.first = 1; gotoAndStop(2); } else { if (_root.second == 0) { _root.second = 1; } else { if (_root.third == 0) { _root.third = 1; } else { if (_root.forth == 0) { _root.forth = 1; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick2) and two == 0) { two = 1; if (_root.first == 0) { _root.first = 2; } else { if (_root.second == 0) { _root.second = 2; } else { if (_root.third == 0) { _root.third = 2; } else { if (_root.forth == 0) { _root.forth = 2; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick3) and thr == 0) { thr = 1; if (_root.first == 0) { _root.first = 3; } else { if (_root.second == 0) { _root.second = 3; } else { if (_root.third == 0) { _root.third = 3; } else { if (_root.forth == 0) { _root.forth = 3; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick4) and fou == 0) { fou = 1; if (_root.first == 0) { _root.first = 4; } else { if (_root.second == 0) { _root.second = 4; } else { if (_root.third == 0) { _root.third = 4; } else { if (_root.forth == 0) { _root.forth = 4; _root.nextFrame(); } } } } } } } instance of movieClip 721 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance cam of movieClip 588 { onClipEvent (enterFrame) { _x = _x + (_root.chick._x - _x) / 16; if (_x < -810) { _x = -810; } if (_x > 700) { _x = 700; } _root.energy._x = _x; } } instance chick2 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick4 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick3 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick of movieClip 699 { onClipEvent (load) { yspeed = 0; delay = (1750 - _root.runlvl) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - _root.runlvl) / 100; } } else { _x = _x + _root.runlvl / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + _root.flylvl) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + _root.swilvl / 200); } if (mode == 4) { _y = _y - (0.5 + _root.clilvl / 250); } } } } instance of movieClip 827 { onClipEvent (enterFrame) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } instance of movieClip 817 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 820 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 4 and _root.music !== 0) { stopAllSounds(); gotoAndStop(4); } } } frame 43 { if (first == 1) { if (_root.race > 7) { position = '1st'; results = 'You have already won the prizes for this race'; } else { money = Number(money + 50); position = '1st'; results = 'You win 50 coins and have unlocked white paint (go to the shop to change colour)'; game = SharedObject.getLocal('mydata'); game.data.race = 8; _root.race = 8; game.flush(); } } if (second == 1) { position = '2nd'; results = 'So close yet so far. Train up your duck then come back and try again'; } if (third == 1) { position = '3rd'; results = 'At least you wern\'t last. Train up your duck then come back and try again'; } if (forth == 1) { position = '4th'; results = 'Oh no! Train up your duck then come back and try again'; } System.security.allowDomain('server.cpmstar.com'); adclip.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=2599Q1226A4F2'); } instance of movieClip 349 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } } instance chick of movieClip 735 { onClipEvent (load) { if (_root.first == 1) { gotoAndStop(1); } if (_root.first == 2) { gotoAndStop(2); } if (_root.first == 3) { gotoAndStop(3); } if (_root.first == 4) { gotoAndStop(4); } } } instance chick2 of movieClip 735 { onClipEvent (load) { if (_root.second == 0) { gotoAndStop(5); } if (_root.second == 1) { gotoAndStop(1); } if (_root.second == 2) { gotoAndStop(2); } if (_root.second == 3) { gotoAndStop(3); } if (_root.second == 4) { gotoAndStop(4); } } } instance chick3 of movieClip 735 { onClipEvent (load) { if (_root.third == 0) { gotoAndStop(5); } if (_root.third == 1) { gotoAndStop(1); } if (_root.third == 2) { gotoAndStop(2); } if (_root.third == 3) { gotoAndStop(3); } if (_root.third == 4) { gotoAndStop(4); } } } instance chick4 of movieClip 735 { onClipEvent (load) { if (_root.forth == 0) { gotoAndStop(5); } if (_root.forth == 1) { gotoAndStop(1); } if (_root.forth == 2) { gotoAndStop(2); } if (_root.forth == 3) { gotoAndStop(3); } if (_root.forth == 4) { gotoAndStop(4); } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } frame 44 { stop(); go = 0; enelvl = 700; } instance of movieClip 705 { onClipEvent (load) { _root.first = 0; _root.second = 0; _root.third = 0; _root.forth = 0; one = 0; two = 0; thr = 0; fou = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) and one == 0) { one = 1; if (_root.first == 0) { _root.first = 1; gotoAndStop(2); } else { if (_root.second == 0) { _root.second = 1; } else { if (_root.third == 0) { _root.third = 1; } else { if (_root.forth == 0) { _root.forth = 1; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick2) and two == 0) { two = 1; if (_root.first == 0) { _root.first = 2; } else { if (_root.second == 0) { _root.second = 2; } else { if (_root.third == 0) { _root.third = 2; } else { if (_root.forth == 0) { _root.forth = 2; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick3) and thr == 0) { thr = 1; if (_root.first == 0) { _root.first = 3; } else { if (_root.second == 0) { _root.second = 3; } else { if (_root.third == 0) { _root.third = 3; } else { if (_root.forth == 0) { _root.forth = 3; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick4) and fou == 0) { fou = 1; if (_root.first == 0) { _root.first = 4; } else { if (_root.second == 0) { _root.second = 4; } else { if (_root.third == 0) { _root.third = 4; } else { if (_root.forth == 0) { _root.forth = 4; _root.nextFrame(); } } } } } } } instance of movieClip 721 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance cam of movieClip 588 { onClipEvent (enterFrame) { _x = _x + (_root.chick._x - _x) / 16; if (_x < -2460) { _x = -2460; } if (_x > 700) { _x = 700; } _root.energy._x = _x; } } instance chick2 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick4 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick3 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick of movieClip 699 { onClipEvent (load) { yspeed = 0; delay = (1750 - _root.runlvl) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - _root.runlvl) / 100; } } else { _x = _x + _root.runlvl / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + _root.flylvl) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + _root.swilvl / 200); } if (mode == 4) { _y = _y - (0.5 + _root.clilvl / 250); } } } } instance of movieClip 827 { onClipEvent (enterFrame) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } instance of movieClip 817 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 820 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 4 and _root.music !== 0) { stopAllSounds(); gotoAndStop(4); } } } frame 45 { if (first == 1) { if (_root.race > 8) { position = '1st'; results = 'You have already won the prizes for this race'; } else { money = Number(money + 50); position = '1st'; maxmaxi = 110; results = 'You won 50 coins, Egypt paint, punk hair, and the max level you can buy has been raised to 110'; game = SharedObject.getLocal('mydata'); game.data.race = 9; _root.race = 9; game.flush(); } } if (second == 1) { position = '2nd'; results = 'So close yet so far. Train up your duck then come back and try again'; } if (third == 1) { position = '3rd'; results = 'At least you wern\'t last. Train up your duck then come back and try again'; } if (forth == 1) { position = '4th'; results = 'Oh no! Train up your duck then come back and try again'; } System.security.allowDomain('server.cpmstar.com'); adclip.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=2599Q1226A4F2'); } instance of movieClip 349 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } } instance chick of movieClip 735 { onClipEvent (load) { if (_root.first == 1) { gotoAndStop(1); } if (_root.first == 2) { gotoAndStop(2); } if (_root.first == 3) { gotoAndStop(3); } if (_root.first == 4) { gotoAndStop(4); } } } instance chick2 of movieClip 735 { onClipEvent (load) { if (_root.second == 0) { gotoAndStop(5); } if (_root.second == 1) { gotoAndStop(1); } if (_root.second == 2) { gotoAndStop(2); } if (_root.second == 3) { gotoAndStop(3); } if (_root.second == 4) { gotoAndStop(4); } } } instance chick3 of movieClip 735 { onClipEvent (load) { if (_root.third == 0) { gotoAndStop(5); } if (_root.third == 1) { gotoAndStop(1); } if (_root.third == 2) { gotoAndStop(2); } if (_root.third == 3) { gotoAndStop(3); } if (_root.third == 4) { gotoAndStop(4); } } } instance chick4 of movieClip 735 { onClipEvent (load) { if (_root.forth == 0) { gotoAndStop(5); } if (_root.forth == 1) { gotoAndStop(1); } if (_root.forth == 2) { gotoAndStop(2); } if (_root.forth == 3) { gotoAndStop(3); } if (_root.forth == 4) { gotoAndStop(4); } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } movieClip 838 { } button 844 { on (release) { if (_root.race > 10) { gotoAndStop(51); } } } button 847 { on (release) { if (_root.race > 9) { gotoAndStop(49); } } } button 851 { on (release) { if (_root.race > 8) { nextFrame(); } } } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 9) { _visible = true; gotoAndStop(1); } if (_root.race < 9) { _visible = true; gotoAndStop(2); } if (_root.race == 9) { _visible = false; } } } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 10) { _visible = true; gotoAndStop(1); } if (_root.race < 10) { _visible = true; gotoAndStop(2); } if (_root.race == 10) { _visible = false; } } } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 11) { _visible = true; gotoAndStop(1); } if (_root.race < 11) { _visible = true; gotoAndStop(2); } if (_root.race == 11) { _visible = false; } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 4 and _root.music !== 0) { stopAllSounds(); gotoAndStop(4); } } } frame 47 { stop(); go = 0; enelvl = 900; } instance chick2 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick4 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick3 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick of movieClip 699 { onClipEvent (load) { yspeed = 0; delay = (1750 - _root.runlvl) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - _root.runlvl) / 100; } } else { _x = _x + _root.runlvl / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + _root.flylvl) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + _root.swilvl / 200); } if (mode == 4) { _y = _y - (0.5 + _root.clilvl / 250); } } } } movieClip 855 { } movieClip 856 { instance of movieClip 855 { onClipEvent (load) { chick1 = 0; chick2 = 0; chick3 = 0; chick4 = 0; idn = 1; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) && _root.chick._currentframe > 33) { _root.chick._x = _parent._x + _x - 17; _root.chick.mode = 4; _root.chick.gotoAndStop(32); } if (this.hitTest(_root.chick) && chick1 == 0) { chick1 = 1; _root.chick._x = _parent._x + _x - 17; _root.chick.mode = 4; _root.chick.gotoAndStop(32); } if (_root.chick.mode == 4) { if (!this.hitTest(_root.chick)) { _root.chick.mode = 0; _root.chick.play(); } } if (this.hitTest(_root.chick2) && _root.chick2._currentframe > 33) { _root.chick2._x = _parent._x + _x - 17; _root.chick2.mode = 4; _root.chick2.gotoAndStop(32); } if (this.hitTest(_root.chick2) && chick2 == 0) { chick2 = 1; _root.chick2._x = _parent._x + _x - 17; _root.chick2.mode = 4; _root.chick2.gotoAndStop(32); } if (_root.chick2.mode == 4) { if (!this.hitTest(_root.chick2)) { _root.chick2.mode = 0; _root.chick2.play(); } } if (this.hitTest(_root.chick3) && _root.chick3._currentframe > 33) { _root.chick3._x = _parent._x + _x - 17; _root.chick3.mode = 4; _root.chick3.gotoAndStop(32); } if (this.hitTest(_root.chick3) && chick3 == 0) { chick3 = 1; _root.chick3._x = _parent._x + _x - 14; _root.chick3.mode = 4; _root.chick3.gotoAndStop(32); } if (_root.chick3.mode == 4) { if (!this.hitTest(_root.chick3)) { _root.chick3.mode = 0; _root.chick3.play(); } } if (this.hitTest(_root.chick4) && _root.chick4._currentframe > 33) { _root.chick4._x = _parent._x + _x - 17; _root.chick4.mode = 4; _root.chick4.gotoAndStop(32); } if (this.hitTest(_root.chick4) && chick4 == 0) { chick4 = 1; _root.chick4._x = _parent._x + _x - 17; _root.chick4.mode = 4; _root.chick4.gotoAndStop(32); } if (_root.chick4.mode == 4) { if (!this.hitTest(_root.chick4)) { _root.chick4.mode = 0; _root.chick4.play(); } } } } } instance of movieClip 856 { onClipEvent (enterFrame) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } instance of movieClip 838 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } movieClip 858 { } instance of movieClip 858 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 705 { onClipEvent (load) { _root.first = 0; _root.second = 0; _root.third = 0; _root.forth = 0; one = 0; two = 0; thr = 0; fou = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) and one == 0) { one = 1; if (_root.first == 0) { _root.first = 1; gotoAndStop(2); } else { if (_root.second == 0) { _root.second = 1; } else { if (_root.third == 0) { _root.third = 1; } else { if (_root.forth == 0) { _root.forth = 1; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick2) and two == 0) { two = 1; if (_root.first == 0) { _root.first = 2; } else { if (_root.second == 0) { _root.second = 2; } else { if (_root.third == 0) { _root.third = 2; } else { if (_root.forth == 0) { _root.forth = 2; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick3) and thr == 0) { thr = 1; if (_root.first == 0) { _root.first = 3; } else { if (_root.second == 0) { _root.second = 3; } else { if (_root.third == 0) { _root.third = 3; } else { if (_root.forth == 0) { _root.forth = 3; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick4) and fou == 0) { fou = 1; if (_root.first == 0) { _root.first = 4; } else { if (_root.second == 0) { _root.second = 4; } else { if (_root.third == 0) { _root.third = 4; } else { if (_root.forth == 0) { _root.forth = 4; _root.nextFrame(); } } } } } } } instance of movieClip 721 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance cam of movieClip 588 { onClipEvent (enterFrame) { _x = _x + (_root.chick._x - _x) / 16; if (_x < -2410) { _x = -2410; } if (_x > -1100) { _x = -1100; } _root.energy._x = _x; } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } frame 48 { if (first == 1) { if (_root.race > 9) { position = '1st'; results = 'You have already won the prizes for this race'; } else { money = Number(money + 50); position = '1st'; results = 'You win 50 coins and have unlocked black paint (go to the shop to change colour)'; game = SharedObject.getLocal('mydata'); game.data.race = 10; _root.race = 10; game.flush(); } } if (second == 1) { position = '2nd'; results = 'So close yet so far. Train up your duck then come back and try again'; } if (third == 1) { position = '3rd'; results = 'At least you wern\'t last. Train up your duck then come back and try again'; } if (forth == 1) { position = '4th'; results = 'Oh no! Train up your duck then come back and try again'; } System.security.allowDomain('server.cpmstar.com'); adclip.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=2599Q1226A4F2'); } instance of movieClip 349 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } } instance chick of movieClip 735 { onClipEvent (load) { if (_root.first == 1) { gotoAndStop(1); } if (_root.first == 2) { gotoAndStop(2); } if (_root.first == 3) { gotoAndStop(3); } if (_root.first == 4) { gotoAndStop(4); } } } instance chick2 of movieClip 735 { onClipEvent (load) { if (_root.second == 0) { gotoAndStop(5); } if (_root.second == 1) { gotoAndStop(1); } if (_root.second == 2) { gotoAndStop(2); } if (_root.second == 3) { gotoAndStop(3); } if (_root.second == 4) { gotoAndStop(4); } } } instance chick3 of movieClip 735 { onClipEvent (load) { if (_root.third == 0) { gotoAndStop(5); } if (_root.third == 1) { gotoAndStop(1); } if (_root.third == 2) { gotoAndStop(2); } if (_root.third == 3) { gotoAndStop(3); } if (_root.third == 4) { gotoAndStop(4); } } } instance chick4 of movieClip 735 { onClipEvent (load) { if (_root.forth == 0) { gotoAndStop(5); } if (_root.forth == 1) { gotoAndStop(1); } if (_root.forth == 2) { gotoAndStop(2); } if (_root.forth == 3) { gotoAndStop(3); } if (_root.forth == 4) { gotoAndStop(4); } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 4 and _root.music !== 0) { stopAllSounds(); gotoAndStop(4); } } } frame 49 { stop(); go = 0; enelvl = 900; } instance of movieClip 838 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 858 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 705 { onClipEvent (load) { _root.first = 0; _root.second = 0; _root.third = 0; _root.forth = 0; one = 0; two = 0; thr = 0; fou = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) and one == 0) { one = 1; if (_root.first == 0) { _root.first = 1; gotoAndStop(2); } else { if (_root.second == 0) { _root.second = 1; } else { if (_root.third == 0) { _root.third = 1; } else { if (_root.forth == 0) { _root.forth = 1; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick2) and two == 0) { two = 1; if (_root.first == 0) { _root.first = 2; } else { if (_root.second == 0) { _root.second = 2; } else { if (_root.third == 0) { _root.third = 2; } else { if (_root.forth == 0) { _root.forth = 2; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick3) and thr == 0) { thr = 1; if (_root.first == 0) { _root.first = 3; } else { if (_root.second == 0) { _root.second = 3; } else { if (_root.third == 0) { _root.third = 3; } else { if (_root.forth == 0) { _root.forth = 3; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick4) and fou == 0) { fou = 1; if (_root.first == 0) { _root.first = 4; } else { if (_root.second == 0) { _root.second = 4; } else { if (_root.third == 0) { _root.third = 4; } else { if (_root.forth == 0) { _root.forth = 4; _root.nextFrame(); } } } } } } } instance of movieClip 721 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance cam of movieClip 588 { onClipEvent (enterFrame) { _root.energy._x = _x; } } instance chick2 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick4 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick3 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick of movieClip 699 { onClipEvent (load) { yspeed = 0; delay = (1750 - _root.runlvl) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - _root.runlvl) / 100; } } else { _x = _x + _root.runlvl / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + _root.flylvl) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + _root.swilvl / 200); } if (mode == 4) { _y = _y - (0.5 + _root.clilvl / 250); } } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance of movieClip 856 { onClipEvent (enterFrame) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } frame 50 { if (first == 1) { if (_root.race > 10) { position = '1st'; results = 'You have already won the prizes for this race'; } else { money = Number(money + 50); position = '1st'; results = 'You win 50 coins and have unlocked orange paint (go to the shop to change colour)'; game = SharedObject.getLocal('mydata'); game.data.race = 11; _root.race = 11; game.flush(); } } if (second == 1) { position = '2nd'; results = 'So close yet so far. Train up your duck then come back and try again'; } if (third == 1) { position = '3rd'; results = 'At least you wern\'t last. Train up your duck then come back and try again'; } if (forth == 1) { position = '4th'; results = 'Oh no! Train up your duck then come back and try again'; } System.security.allowDomain('server.cpmstar.com'); adclip.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=2599Q1226A4F2'); } instance of movieClip 349 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } } instance chick of movieClip 735 { onClipEvent (load) { if (_root.first == 1) { gotoAndStop(1); } if (_root.first == 2) { gotoAndStop(2); } if (_root.first == 3) { gotoAndStop(3); } if (_root.first == 4) { gotoAndStop(4); } } } instance chick2 of movieClip 735 { onClipEvent (load) { if (_root.second == 0) { gotoAndStop(5); } if (_root.second == 1) { gotoAndStop(1); } if (_root.second == 2) { gotoAndStop(2); } if (_root.second == 3) { gotoAndStop(3); } if (_root.second == 4) { gotoAndStop(4); } } } instance chick3 of movieClip 735 { onClipEvent (load) { if (_root.third == 0) { gotoAndStop(5); } if (_root.third == 1) { gotoAndStop(1); } if (_root.third == 2) { gotoAndStop(2); } if (_root.third == 3) { gotoAndStop(3); } if (_root.third == 4) { gotoAndStop(4); } } } instance chick4 of movieClip 735 { onClipEvent (load) { if (_root.forth == 0) { gotoAndStop(5); } if (_root.forth == 1) { gotoAndStop(1); } if (_root.forth == 2) { gotoAndStop(2); } if (_root.forth == 3) { gotoAndStop(3); } if (_root.forth == 4) { gotoAndStop(4); } } } frame 51 { stop(); go = 0; enelvl = 1000; } instance chick2 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick4 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick3 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick of movieClip 699 { onClipEvent (load) { yspeed = 0; delay = (1750 - _root.runlvl) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0) { play(); delay = (1750 - _root.runlvl) / 100; } } else { _x = _x + _root.runlvl / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + _root.flylvl) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + _root.swilvl / 200); } if (mode == 4) { _y = _y - (0.5 + _root.clilvl / 250); } } } } instance of movieClip 856 { onClipEvent (enterFrame) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } instance of movieClip 838 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 858 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 705 { onClipEvent (load) { _root.first = 0; _root.second = 0; _root.third = 0; _root.forth = 0; one = 0; two = 0; thr = 0; fou = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) and one == 0) { one = 1; if (_root.first == 0) { _root.first = 1; gotoAndStop(2); } else { if (_root.second == 0) { _root.second = 1; } else { if (_root.third == 0) { _root.third = 1; } else { if (_root.forth == 0) { _root.forth = 1; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick2) and two == 0) { two = 1; if (_root.first == 0) { _root.first = 2; } else { if (_root.second == 0) { _root.second = 2; } else { if (_root.third == 0) { _root.third = 2; } else { if (_root.forth == 0) { _root.forth = 2; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick3) and thr == 0) { thr = 1; if (_root.first == 0) { _root.first = 3; } else { if (_root.second == 0) { _root.second = 3; } else { if (_root.third == 0) { _root.third = 3; } else { if (_root.forth == 0) { _root.forth = 3; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick4) and fou == 0) { fou = 1; if (_root.first == 0) { _root.first = 4; } else { if (_root.second == 0) { _root.second = 4; } else { if (_root.third == 0) { _root.third = 4; } else { if (_root.forth == 0) { _root.forth = 4; _root.nextFrame(); } } } } } } } instance of movieClip 721 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance cam of movieClip 588 { onClipEvent (enterFrame) { _x = _x + (_root.chick._x - _x) / 16; if (_x < -2410) { _x = -2410; } if (_x > 2820) { _x = 2820; } _root.energy._x = _x; } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndPlay(13); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndPlay(13); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndPlay(13); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndPlay(13); } } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } frame 52 { if (first == 1) { if (_root.race > 11) { position = '1st'; results = 'You have already won the prizes for this race'; } else { money = Number(money + 50); position = '1st'; maxmaxi = 150; results = 'You won 50 coins, Hawaii paint, emo hair, and the max level you can buy has been raised to 150'; game = SharedObject.getLocal('mydata'); game.data.race = 12; _root.race = 12; game.flush(); } } if (second == 1) { position = '2nd'; results = 'So close yet so far. Train up your duck then come back and try again'; } if (third == 1) { position = '3rd'; results = 'At least you wern\'t last. Train up your duck then come back and try again'; } if (forth == 1) { position = '4th'; results = 'Oh no! Train up your duck then come back and try again'; } System.security.allowDomain('server.cpmstar.com'); adclip.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=2599Q1226A4F2'); } instance of movieClip 349 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } } instance chick of movieClip 735 { onClipEvent (load) { if (_root.first == 1) { gotoAndStop(1); } if (_root.first == 2) { gotoAndStop(2); } if (_root.first == 3) { gotoAndStop(3); } if (_root.first == 4) { gotoAndStop(4); } } } instance chick2 of movieClip 735 { onClipEvent (load) { if (_root.second == 0) { gotoAndStop(5); } if (_root.second == 1) { gotoAndStop(1); } if (_root.second == 2) { gotoAndStop(2); } if (_root.second == 3) { gotoAndStop(3); } if (_root.second == 4) { gotoAndStop(4); } } } instance chick3 of movieClip 735 { onClipEvent (load) { if (_root.third == 0) { gotoAndStop(5); } if (_root.third == 1) { gotoAndStop(1); } if (_root.third == 2) { gotoAndStop(2); } if (_root.third == 3) { gotoAndStop(3); } if (_root.third == 4) { gotoAndStop(4); } } } instance chick4 of movieClip 735 { onClipEvent (load) { if (_root.forth == 0) { gotoAndStop(5); } if (_root.forth == 1) { gotoAndStop(1); } if (_root.forth == 2) { gotoAndStop(2); } if (_root.forth == 3) { gotoAndStop(3); } if (_root.forth == 4) { gotoAndStop(4); } } } // unknown tag 88 length 115 button 878 { on (release) { if (_root.race > 12) { gotoAndStop(56); } } } button 883 { on (release) { if (_root.race > 8) { nextFrame(); } } } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 12) { _visible = true; gotoAndStop(1); } if (_root.race < 12) { _visible = true; gotoAndStop(2); } if (_root.race == 12) { _visible = false; } } } instance of movieClip 616 { onClipEvent (load) { if (_root.race > 13) { _visible = true; gotoAndStop(1); } if (_root.race < 13) { _visible = true; gotoAndStop(2); } if (_root.race == 13) { _visible = false; } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 4 and _root.music !== 0) { stopAllSounds(); gotoAndStop(4); } } } frame 54 { stop(); go = 0; enelvl = 1200; } movieClip 886 { } // unknown tag 88 length 244 movieClip 904 { } instance of movieClip 904 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick2)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick3)) { _root.chick3._x -= 1; } while (this.hitTest(_root.chick4)) { _root.chick4._x -= 1; } } } movieClip 906 { } instance of movieClip 906 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick2)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick3)) { _root.chick3._x -= 1; } while (this.hitTest(_root.chick4)) { _root.chick4._x -= 1; } } } movieClip 908 { } instance of movieClip 908 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick2)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick3)) { _root.chick3._x -= 1; } while (this.hitTest(_root.chick4)) { _root.chick4._x -= 1; } } } movieClip 910 { } instance of movieClip 910 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick2)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick3)) { _root.chick3._x -= 1; } while (this.hitTest(_root.chick4)) { _root.chick4._x -= 1; } } } movieClip 912 { } instance of movieClip 912 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick2)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick3)) { _root.chick3._x -= 1; } while (this.hitTest(_root.chick4)) { _root.chick4._x -= 1; } } } movieClip 913 { } instance of movieClip 913 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick2)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick3)) { _root.chick3._x -= 1; } while (this.hitTest(_root.chick4)) { _root.chick4._x -= 1; } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndStop(23); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndStop(23); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndStop(23); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndStop(23); } } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndStop(23); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndStop(23); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndStop(23); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndStop(23); } } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndStop(23); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndStop(23); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndStop(23); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndStop(23); } } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndStop(23); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndStop(23); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndStop(23); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndStop(23); } } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndStop(23); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndStop(23); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndStop(23); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndStop(23); } } } } instance chick2 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0 and yspeed < 5) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick4 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0 and yspeed < 5) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick3 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = _root.enelvl - 50 + Math.random() * 100; level2 = _root.enelvl - 50 + Math.random() * 100; level3 = _root.enelvl - 50 + Math.random() * 100; level4 = _root.enelvl - 50 + Math.random() * 100; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0 and yspeed < 5) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick of movieClip 699 { onClipEvent (load) { yspeed = 0; delay = (1750 - _root.runlvl) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0 and yspeed < 5) { play(); delay = (1750 - _root.runlvl) / 100; } } else { _x = _x + _root.runlvl / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + _root.flylvl) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + _root.swilvl / 200); } if (mode == 4) { _y = _y - (0.5 + _root.clilvl / 250); } } } } instance cam of movieClip 588 { onClipEvent (enterFrame) { _x = _x + (_root.chick._x - _x) / 16; if (_x < -3010) { _x = -3010; } if (_x > _root.flag._x - 100) { _x = _root.flag._x - 100; } _root.energy._x = _x; } } instance flag of movieClip 705 { onClipEvent (load) { _root.first = 0; _root.second = 0; _root.third = 0; _root.forth = 0; one = 0; two = 0; thr = 0; fou = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) and one == 0) { one = 1; if (_root.first == 0) { _root.first = 1; gotoAndStop(2); } else { if (_root.second == 0) { _root.second = 1; } else { if (_root.third == 0) { _root.third = 1; } else { if (_root.forth == 0) { _root.forth = 1; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick2) and two == 0) { two = 1; if (_root.first == 0) { _root.first = 2; } else { if (_root.second == 0) { _root.second = 2; } else { if (_root.third == 0) { _root.third = 2; } else { if (_root.forth == 0) { _root.forth = 2; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick3) and thr == 0) { thr = 1; if (_root.first == 0) { _root.first = 3; } else { if (_root.second == 0) { _root.second = 3; } else { if (_root.third == 0) { _root.third = 3; } else { if (_root.forth == 0) { _root.forth = 3; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick4) and fou == 0) { fou = 1; if (_root.first == 0) { _root.first = 4; } else { if (_root.second == 0) { _root.second = 4; } else { if (_root.third == 0) { _root.third = 4; } else { if (_root.forth == 0) { _root.forth = 4; _root.nextFrame(); } } } } } } } movieClip 916 { } movieClip 917 { instance of movieClip 916 { onClipEvent (load) { chick1 = 0; chick2 = 0; chick3 = 0; chick4 = 0; idn = 1; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) and chick1 == 0) { chick1 = 1; _root.chick._x = _parent._x + _x * 2 - 25; _root.chick.mode = 4; _root.chick.gotoAndStop(32); } if (_root.chick.mode == 4) { if (!this.hitTest(_root.chick)) { _root.chick.mode = 0; _root.chick.play(); } } if (this.hitTest(_root.chick2) and chick2 == 0) { chick2 = 1; _root.chick2._x = _parent._x + _x * 2 - 25; _root.chick2.mode = 4; _root.chick2.gotoAndStop(32); } if (_root.chick2.mode == 4) { if (!this.hitTest(_root.chick2)) { _root.chick2.mode = 0; _root.chick2.play(); } } if (this.hitTest(_root.chick3) and chick3 == 0) { chick3 = 1; _root.chick3._x = _parent._x + _x * 2 - 22; _root.chick3.mode = 4; _root.chick3.gotoAndStop(32); } if (_root.chick3.mode == 4) { if (!this.hitTest(_root.chick3)) { _root.chick3.mode = 0; _root.chick3.play(); } } if (this.hitTest(_root.chick4) and chick4 == 0) { chick4 = 1; _root.chick4._x = _parent._x + _x * 2 - 25; _root.chick4.mode = 4; _root.chick4.gotoAndStop(32); } if (_root.chick4.mode == 4) { if (!this.hitTest(_root.chick4)) { _root.chick4.mode = 0; _root.chick4.play(); } } } } } instance japan of movieClip 917 { onClipEvent (enterFrame) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } movieClip 918 { } instance of movieClip 918 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } movieClip 919 { } instance of movieClip 919 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 126 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } frame 55 { if (first == 1) { if (_root.race > 12) { position = '1st'; results = 'You have already won the prizes for this race'; } else { money = Number(money + 50); position = '1st'; results = 'You win 50 coins and have unlocked pink paint (go to the shop to change colour)'; game = SharedObject.getLocal('mydata'); game.data.race = 13; game.flush(); _root.race = 13; } } if (second == 1) { position = '2nd'; results = 'So close yet so far. Train up your duck then come back and try again'; } if (third == 1) { position = '3rd'; results = 'At least you wern\'t last. Train up your duck then come back and try again'; } if (forth == 1) { position = '4th'; results = 'Oh no! Train up your duck then come back and try again'; } System.security.allowDomain('server.cpmstar.com'); adclip.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=2599Q1226A4F2'); } instance of movieClip 349 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } } instance chick of movieClip 735 { onClipEvent (load) { if (_root.first == 1) { gotoAndStop(1); } if (_root.first == 2) { gotoAndStop(2); } if (_root.first == 3) { gotoAndStop(3); } if (_root.first == 4) { gotoAndStop(4); } } } instance chick2 of movieClip 735 { onClipEvent (load) { if (_root.second == 0) { gotoAndStop(5); } if (_root.second == 1) { gotoAndStop(1); } if (_root.second == 2) { gotoAndStop(2); } if (_root.second == 3) { gotoAndStop(3); } if (_root.second == 4) { gotoAndStop(4); } } } instance chick3 of movieClip 735 { onClipEvent (load) { if (_root.third == 0) { gotoAndStop(5); } if (_root.third == 1) { gotoAndStop(1); } if (_root.third == 2) { gotoAndStop(2); } if (_root.third == 3) { gotoAndStop(3); } if (_root.third == 4) { gotoAndStop(4); } } } instance chick4 of movieClip 735 { onClipEvent (load) { if (_root.forth == 0) { gotoAndStop(5); } if (_root.forth == 1) { gotoAndStop(1); } if (_root.forth == 2) { gotoAndStop(2); } if (_root.forth == 3) { gotoAndStop(3); } if (_root.forth == 4) { gotoAndStop(4); } } } frame 56 { stop(); go = 0; enelvl = 1200; } instance of movieClip 904 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick2)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick3)) { _root.chick3._x -= 1; } while (this.hitTest(_root.chick4)) { _root.chick4._x -= 1; } } } instance of movieClip 906 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick2)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick3)) { _root.chick3._x -= 1; } while (this.hitTest(_root.chick4)) { _root.chick4._x -= 1; } } } instance of movieClip 908 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick2)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick3)) { _root.chick3._x -= 1; } while (this.hitTest(_root.chick4)) { _root.chick4._x -= 1; } } } instance of movieClip 910 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick2)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick3)) { _root.chick3._x -= 1; } while (this.hitTest(_root.chick4)) { _root.chick4._x -= 1; } } } instance of movieClip 912 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick2)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick3)) { _root.chick3._x -= 1; } while (this.hitTest(_root.chick4)) { _root.chick4._x -= 1; } } } instance of movieClip 913 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick2)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick3)) { _root.chick3._x -= 1; } while (this.hitTest(_root.chick4)) { _root.chick4._x -= 1; } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndStop(23); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndStop(23); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndStop(23); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndStop(23); } } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndStop(23); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndStop(23); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndStop(23); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndStop(23); } } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndStop(23); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndStop(23); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndStop(23); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndStop(23); } } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndStop(23); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndStop(23); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndStop(23); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndStop(23); } } } } instance of movieClip 650 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 and _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 and _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 and _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 and _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 712 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 and _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndStop(23); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 and _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndStop(23); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 and _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndStop(23); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 and _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndStop(23); } } } } instance chick2 of movieClip 699 { onClipEvent (load) { yspeed = 0; level = 1490; level2 = 1490; level3 = 1490; level4 = 1490; delay = (1750 - level) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay2 = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0 and yspeed < 5) { play(); delay = (1750 - level) / 100; } } else { _x = _x + level / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + level2) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + level3 / 200); } if (mode == 4) { _y = _y - (0.5 + level4 / 250); } } } } instance chick of movieClip 699 { onClipEvent (load) { yspeed = 0; delay = (1750 - _root.runlvl) / 100; mode = 1; } onClipEvent (enterFrame) { if (_root.go == 1) { _root.delay = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0 and yspeed < 5) { play(); delay = (1750 - _root.runlvl) / 100; } } else { _x = _x + _root.runlvl / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + _root.flylvl) / 200; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + _root.swilvl / 200); } if (mode == 4) { _y = _y - (0.5 + _root.clilvl / 250); } } } } instance cam of movieClip 588 { onClipEvent (enterFrame) { _x = _x + (_root.chick._x - _x) / 16; if (_x < -3010) { _x = -3010; } if (_x > _root.flag._x - 100) { _x = _root.flag._x - 100; } _root.energy._x = _x; } } instance flag of movieClip 705 { onClipEvent (load) { _root.first = 0; _root.second = 0; _root.third = 0; _root.forth = 0; one = 0; two = 0; thr = 0; fou = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick) and one == 0) { one = 1; if (_root.first == 0) { _root.first = 1; gotoAndStop(2); } else { if (_root.second == 0) { _root.second = 1; } else { if (_root.third == 0) { _root.third = 1; } else { if (_root.forth == 0) { _root.forth = 1; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick2) and two == 0) { two = 1; if (_root.first == 0) { _root.first = 2; } else { if (_root.second == 0) { _root.second = 2; } else { if (_root.third == 0) { _root.third = 2; } else { if (_root.forth == 0) { _root.forth = 2; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick3) and thr == 0) { thr = 1; if (_root.first == 0) { _root.first = 3; } else { if (_root.second == 0) { _root.second = 3; } else { if (_root.third == 0) { _root.third = 3; } else { if (_root.forth == 0) { _root.forth = 3; _root.nextFrame(); } } } } } if (this.hitTest(_root.chick4) and fou == 0) { fou = 1; if (_root.first == 0) { _root.first = 4; } else { if (_root.second == 0) { _root.second = 4; } else { if (_root.third == 0) { _root.third = 4; } else { if (_root.forth == 0) { _root.forth = 4; _root.nextFrame(); } } } } } if (_root.second > 0) { _root.nextFrame(); } } } instance japan of movieClip 917 { onClipEvent (enterFrame) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } instance of movieClip 918 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } instance of movieClip 919 { onClipEvent (enterFrame) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 3; } } } frame 57 { if (first == 1) { if (_root.race > 13) { position = '1st'; results = 'You have already won the prizes for this race'; } else { menub.gotoAndStop(2); money = Number(money + 50); position = '1st'; maxmaxi = 150; results = 'You won! You are now the champion, click next to see your prizes (there are a lot)'; game = SharedObject.getLocal('mydata'); game.data.race = 14; _root.race = 14; game.flush(); } } if (second == 1) { position = '2nd'; results = 'So close yet so far. Train up your duck then come back and try again'; } if (third == 1) { position = '3rd'; results = 'At least you wern\'t last. Train up your duck then come back and try again'; } if (forth == 1) { position = '4th'; results = 'Oh no! Train up your duck then come back and try again'; } System.security.allowDomain('server.cpmstar.com'); adclip.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=2599Q1226A4F2'); } instance chick of movieClip 735 { onClipEvent (load) { if (_root.first == 1) { gotoAndStop(1); } if (_root.first == 2) { gotoAndStop(6); } if (_root.first == 3) { gotoAndStop(3); } if (_root.first == 4) { gotoAndStop(4); } } } instance chick2 of movieClip 735 { onClipEvent (load) { if (_root.second == 0) { gotoAndStop(5); } if (_root.second == 1) { gotoAndStop(1); } if (_root.second == 2) { gotoAndStop(6); } if (_root.second == 3) { gotoAndStop(3); } if (_root.second == 4) { gotoAndStop(4); } } } movieClip 928 { frame 1 { stop(); } } instance menub of movieClip 928 { onClipEvent (release) { if (_currentframe == 1) { _root.gotoAndStop(9); } else { _root.nextFrame(); } } onClipEvent (rollOver) { _alpha = 50; } onClipEvent (releaseOutside, rollOut) { _alpha = 100; } } movieClip 930 { } frame 59 { _root.money = Number(_root.money + 200000); } // unknown tag 88 length 80 instance menub of movieClip 928 { onClipEvent (release) { if (_currentframe == 1) { _root.gotoAndStop(9); } else { _root.nextFrame(); } } onClipEvent (rollOver) { _alpha = 50; } onClipEvent (releaseOutside, rollOut) { _alpha = 100; } } frame 78 { if (first == 1) { money = Number(money + 50); position = 'You came first!'; results = 'You win 50 coins and have unlocked the colour "Juicy Orange" (you can purchase this in the shop for 50 coins)'; } if (second == 1) { position = 'You came second!'; results = 'So close yet so far. Train up your duck then come back and try again'; } if (third == 1) { position = 'You came third'; results = 'At least you wern\'t last. Train up your duck then come back and try again'; } if (forth == 1) { position = 'You came last'; results = 'Oh no! Train up your duck then come back and try again'; } } instance of movieClip 349 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } } instance of movieClip 222 { onClipEvent (enterFrame) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } } } movieClip 954 { } instance of movieClip 133 { onClipEvent (load) { delay = 100; } onClipEvent (enterFrame) { delay -= 1; if (delay <= 0) { game = SharedObject.getLocal('mydata'); game.data.stalvl = _root.stalvl; game.data.runlvl = _root.runlvl; game.data.flylvl = _root.flylvl; game.data.swilvl = _root.swilvl; game.data.seed = _root.seed; game.data.skill = _root.skill; game.data.money = _root.money; game.data.colour = _root.colour; game.data.hat = _root.hat; game.flush(); delay = 100; } } } movieClip 958 { } movieClip 959 { frame 1 { stop(); } instance of movieClip 958 { onClipEvent (enterFrame) { if (_root.music == 0) { stopAllSounds(); _parent.gotoAndStop(1); } } } frame 2 { _root.music = 2; stop(); } frame 3 { _root.music = 3; stop(); } frame 4 { _root.music = 4; stop(); } frame 5 { stop(); _root.music = 1; } } instance of movieClip 959 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } instance of movieClip 133 { onClipEvent (load) { _root.total = Number(_root.swimlevel) + Number(_root.staminalevel) + Number(_root.runninglevel) + Number(_root.flyinglevel); _root.totalx = Math.round((Number(_root.swilvl) + Number(_root.stalvl) + Number(_root.runlvl) + Number(_root.flylvl)) / 2); if (_root.total > 499) { _root.rank = 'Duck God'; } else { if (_root.total > 399) { _root.rank = 'King of Ducks'; } else { if (_root.total > 299) { _root.rank = 'Professional'; } else { if (_root.total > 199) { _root.rank = 'Speedy Duck'; } else { if (_root.total > 159) { _root.rank = 'Amateur'; } else { if (_root.total > 99) { _root.rank = 'Trainee'; } else { if (_root.total > 49) { _root.rank = 'Beginner'; } else { if (_root.total > 19) { _root.rank = 'Duckling'; } else { _root.rank = 'Baby Duckling'; } } } } } } } } if (_root.total499) { _root.rank2 = 'N/A'; } else { if (_root.total > 399) { _root.rank2 = 'Duck God'; } else { if (_root.total > 299) { _root.rank2 = 'King of Ducks'; } else { if (_root.total > 199) { _root.rank2 = 'Professional'; } else { if (_root.total > 159) { _root.rank2 = 'Speedy Duck'; } else { if (_root.total > 99) { _root.rank2 = 'Amateur'; } else { if (_root.total > 49) { _root.rank2 = 'Trainee'; } else { if (_root.total > 19) { _root.rank2 = 'Beginner'; } else { _root.rank2 = 'Duckling'; } } } } } } } } if (_root.stalvl > _root.flylvl and _root.stalvl > _root.runlvl and _root.stalvl > _root.swilvl) { _root.type = 'Energetic'; } else { if (_root.swilvl > _root.flylvl and _root.swilvl > _root.runlvl and _root.swilvl > _root.stalvl) { _root.type = 'Swimmer'; } else { if (_root.flylvl > _root.stalvl and _root.flylvl > _root.runlvl and _root.flylvl > _root.swilvl) { _root.type = 'Pilot'; } else { if (_root.runlvl > _root.flylvl and _root.runlvl > _root.stalvl and _root.runlvl > _root.swilvl) { _root.type = 'Sprinter'; } else { _root.type = 'Neutral'; } } } } } } movieClip 984 { } movieClip 985 { } button 992 { on (release) { gotoAndStop(9); } } movieClip 1011 { frame 1 { stop(); } } movieClip 1012 { instance colours of movieClip 1011 { onClipEvent (load) { if (_parent._parent._name == 'chick' || _parent._parent._parent._name == 'chick' || _parent._parent._parent._parent._name == 'chick' || _parent._parent._parent._parent._parent._name == 'chick') { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } if (_root.colour == 11) { gotoAndStop(12); } if (_root.colour == 12) { gotoAndStop(13); } if (_root.colour == 13) { gotoAndStop(14); } if (_root.colour == 14) { gotoAndStop(15); } if (_root.colour == 15) { gotoAndStop(16); } } } onClipEvent (enterFrame) { if (_root._currentframe == 10) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } if (_root.colour == 11) { gotoAndStop(12); } if (_root.colour == 12) { gotoAndStop(13); } if (_root.colour == 13) { gotoAndStop(14); } if (_root.colour == 14) { gotoAndStop(15); } if (_root.colour == 15) { gotoAndStop(16); } } } } } movieClip 1014 { } movieClip 1015 { instance of movieClip 1014 { onClipEvent (load) { if (_parent._parent._parent._parent._parent._parent._name == 'chick' || _parent._parent._parent._parent._parent._name == 'chick' || _parent._parent._parent._parent._name == 'chick' || _parent._parent._parent._name == 'chick' || _parent._parent._name == 'chick') { if (_root.hat == 0) { gotoAndStop(1); } else { if (_root.hat == 1) { gotoAndStop(2); } else { if (_root.hat == 2) { gotoAndStop(3); } else { if (_root.hat == 3) { gotoAndStop(4); } else { if (_root.hat == 4) { gotoAndStop(5); } else { if (_root.hat == 5) { gotoAndStop(6); } else { if (_root.hat == 6) { gotoAndStop(7); } else { if (_root.hat == 7) { gotoAndStop(8); } else { if (_root.hat == 8) { gotoAndStop(9); } else { if (_root.hat == 9) { gotoAndStop(10); } } } } } } } } } } } else { gotoAndStop(1); } } onClipEvent (enterFrame) { if (_parent._parent._parent._parent._parent._parent._name == 'chick' || _parent._parent._parent._parent._parent._name == 'chick' || _parent._parent._parent._parent._name == 'chick' || _parent._parent._parent._name == 'chick' || _parent._parent._name == 'chick') { if (_root.hat == 0) { gotoAndStop(1); } else { if (_root.hat == 1) { gotoAndStop(2); } else { if (_root.hat == 2) { gotoAndStop(3); } else { if (_root.hat == 3) { gotoAndStop(4); } else { if (_root.hat == 4) { gotoAndStop(5); } else { if (_root.hat == 5) { gotoAndStop(6); } else { if (_root.hat == 6) { gotoAndStop(7); } else { if (_root.hat == 7) { gotoAndStop(8); } else { if (_root.hat == 8) { gotoAndStop(9); } else { if (_root.hat == 9) { gotoAndStop(10); } } } } } } } } } } } else { gotoAndStop(1); } } } } movieClip 1016 { instance of movieClip 1015 { onClipEvent (load) { if (_parent._parent._currentframe == 1 || _parent._parent._parent._parent._parent._name == 'chick' || _parent._parent._parent._parent._name == 'chick' || _parent._parent._parent._name == 'chick' || _parent._parent._name == 'chick' || _parent._name == 'chick') { if (_root.hat == 0) { gotoAndStop(1); } else { if (_root.hat == 1) { gotoAndStop(2); } else { if (_root.hat == 2) { gotoAndStop(3); } else { if (_root.hat == 3) { gotoAndStop(4); } else { if (_root.hat == 4) { gotoAndStop(5); } else { if (_root.hat == 5) { gotoAndStop(6); } else { if (_root.hat == 6) { gotoAndStop(7); } else { if (_root.hat == 7) { gotoAndStop(8); } else { if (_root.hat == 8) { gotoAndStop(9); } else { if (_root.hat == 9) { gotoAndStop(10); } } } } } } } } } } } else { gotoAndStop(1); } } onClipEvent (enterFrame) { if (_parent._parent._currentframe == 1 || _parent._parent._parent._parent._parent._name == 'chick' || _parent._parent._parent._parent._name == 'chick' || _parent._parent._parent._name == 'chick' || _parent._parent._name == 'chick' || _parent._name == 'chick') { if (_root.hat == 0) { gotoAndStop(1); } else { if (_root.hat == 1) { gotoAndStop(2); } else { if (_root.hat == 2) { gotoAndStop(3); } else { if (_root.hat == 3) { gotoAndStop(4); } else { if (_root.hat == 4) { gotoAndStop(5); } else { if (_root.hat == 5) { gotoAndStop(6); } else { if (_root.hat == 6) { gotoAndStop(7); } else { if (_root.hat == 7) { gotoAndStop(8); } else { if (_root.hat == 8) { gotoAndStop(9); } else { if (_root.hat == 9) { gotoAndStop(10); } } } } } } } } } } } else { gotoAndStop(1); } } } } movieClip 1017 { } movieClip 1018 { instance of movieClip 1012 { onClipEvent (load) { if (_root.colour == 0) { gotoAndStop(1); } if (_root.colour == 1) { gotoAndStop(2); } if (_root.colour == 2) { gotoAndStop(3); } if (_root.colour == 3) { gotoAndStop(4); } if (_root.colour == 4) { gotoAndStop(5); } if (_root.colour == 5) { gotoAndStop(6); } if (_root.colour == 6) { gotoAndStop(7); } if (_root.colour == 7) { gotoAndStop(8); } if (_root.colour == 8) { gotoAndStop(9); } if (_root.colour == 9) { gotoAndStop(10); } if (_root.colour == 10) { gotoAndStop(11); } if (_root.colour == 11) { gotoAndStop(12); } if (_root.colour == 12) { gotoAndStop(13); } if (_root.colour == 13) { gotoAndStop(14); } if (_root.colour == 14) { gotoAndStop(15); } if (_root.colour == 15) { gotoAndStop(16); } } } instance of movieClip 1017 { onClipEvent (load) { num = 0; } onClipEvent (enterFrame) { if (_parent._parent._x < 530 || _parent._parent._currentframe == 2) { if (_parent._parent._x > 110 || _parent._parent._currentframe == 1) { num = Math.round(Math.random() * 40); if (num == 5) { _parent.play(); num = 0; } if (_root.corn._x < 640) { _parent.play(); num = 0; } if (_root.corn2._x > 0) { _parent.play(); num = 0; } } } } } } movieClip 1019 { frame 1 { dname = _root.namee; drun = 'Run Lvl: ' + Math.floor(_root.runlvl / 10); dswim = 'Swim Lvl: ' + Math.floor(_root.swilvl / 10); dfly = 'Fly Lvl: ' + Math.floor(_root.flylvl / 10); dclimb = 'Climb Lvl: ' + Math.floor(_root.clilvl / 10); denergy = 'Energy Lvl: ' + Math.floor(_root.stalvl / 10); } } frame 81 { _root.clears = 0; _root.clears2 = 0; } movieClip 1021 { } instance block4 of movieClip 1021 { onClipEvent (press) { drag = 1; } onClipEvent (release, releaseOutside) { drag = 0; } onClipEvent (enterFrame) { if (_root.clears == 1) { this.removeMovieClip(); } if (drag == 1) { _x = Math.round(_root._xmouse / 10) * 10; } if (drag == 1) { _y = Math.round(_root._ymouse / 10) * 10; } if (_y < 100) { _y = 100; } if (_root.go == 1) { while (this.hitTest(_root.chick._x, _root.chick._y, true)) { _root.chick._y -= 1; _root.chick.yspeed = 5; _root.chick.mode = 3; } while (this.hitTest(_root.chick2._x, _root.chick2._y, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 5; _root.chick2.mode = 3; } while (this.hitTest(_root.chick3._x, _root.chick3._y, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 5; _root.chick3.mode = 3; } while (this.hitTest(_root.chick4._x, _root.chick4._y, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 5; _root.chick4.mode = 3; } if (this.hitTest(_root.chick._x - 20, _root.chick._y - 20, true)) { _root.chick.mode = 1; } if (this.hitTest(_root.chick2._x - 20, _root.chick2._y - 20, true)) { _root.chick2.mode = 1; } } } } movieClip 1023 { } movieClip 1024 { } movieClip 1025 { } movieClip 1026 { instance of movieClip 1023 { onClipEvent (enterFrame) { if (_root.go == 1) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x + 20, _root.chick._y, true)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } if (this.hitTest(_root.chick._x + 30, _root.chick._y, true)) { _root.chick._x = _x - 130; } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x + 20, _root.chick2._y, true)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } if (this.hitTest(_root.chick2._x + 30, _root.chick2._y, true)) { _root.chick2._x = _x - 130; } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } } instance of movieClip 1024 { onClipEvent (load) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; _alpha = 0; } onClipEvent (enterFrame) { if (_root.resets == 1) { jump1 = 0; jump2 = 0; jump3 = 0; jump4 = 0; } if (this.hitTest(_root.chick)) { if (_root.chick._currentframe > 1 && _root.chick._currentframe < 5) { if (jump1 == 0) { _root.chick._y -= 2; _root.chick.gotoAndPlay(13); jump1 = 1; _root.chick.mode = 0; } } } if (this.hitTest(_root.chick2)) { if (_root.chick2._currentframe > 1 && _root.chick2._currentframe < 5) { if (jump2 == 0) { _root.chick2._y -= 2; _root.chick2.gotoAndPlay(13); jump2 = 1; _root.chick2.mode = 0; } } } if (this.hitTest(_root.chick3)) { if (_root.chick3._currentframe > 1 && _root.chick3._currentframe < 5) { if (jump3 == 0) { _root.chick3._y -= 2; _root.chick3.gotoAndPlay(13); jump3 = 1; _root.chick3.mode = 0; } } } if (this.hitTest(_root.chick4)) { if (_root.chick4._currentframe > 1 && _root.chick4._currentframe < 5) { if (jump4 == 0) { _root.chick4._y -= 2; _root.chick4.gotoAndPlay(13); jump4 = 1; _root.chick4.mode = 0; } } } } } instance of movieClip 1025 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.chick)) { if (_root.chick.mode !== 2 && _root.chick._currentframe < 13) { _root.chick.mode = 2; _root.chick.gotoAndStop(23); } } if (this.hitTest(_root.chick2)) { if (_root.chick2.mode !== 2 && _root.chick2._currentframe < 13) { _root.chick2.mode = 2; _root.chick2.gotoAndStop(23); } } if (this.hitTest(_root.chick3)) { if (_root.chick3.mode !== 2 && _root.chick3._currentframe < 13) { _root.chick3.mode = 2; _root.chick3.gotoAndStop(23); } } if (this.hitTest(_root.chick4)) { if (_root.chick4.mode !== 2 && _root.chick4._currentframe < 13) { _root.chick4.mode = 2; _root.chick4.gotoAndStop(23); } } } } } instance block2 of movieClip 1026 { onClipEvent (press) { drag = 1; } onClipEvent (release, releaseOutside) { drag = 0; } onClipEvent (enterFrame) { if (_root.clears == 1) { this.removeMovieClip(); } if (drag == 1) { _x = Math.round(_root._xmouse / 10) * 10; } if (drag == 1) { _y = Math.round(_root._ymouse / 10) * 10; } if (_y < 100) { _y = 100; } } } movieClip 1029 { } movieClip 1031 { instance of movieClip 1029 { onClipEvent (load) { chick1 = 0; chick2 = 0; chick3 = 0; chick4 = 0; idn = 1; } onClipEvent (enterFrame) { if (_root.resets == 1) { chick1 = 0; chick2 = 0; chick3 = 0; chick4 = 0; } if (this.hitTest(_root.chick) && _root.chick._currentframe > 33) { _root.chick._x = _parent._x + _x - 15; _root.chick.mode = 4; _root.chick.gotoAndStop(32); } if (this.hitTest(_root.chick) && chick1 == 0) { chick1 = 1; _root.chick._x = _parent._x + _x - 15; _root.chick.mode = 4; _root.chick.gotoAndStop(32); } if (_root.chick.mode == 4) { if (!this.hitTest(_root.chick) && chick1 == 1) { chick1 = 0; _root.chick.mode = 0; _root.chick.play(); } } if (this.hitTest(_root.chick2) && _root.chick2._currentframe > 33) { _root.chick2._x = _parent._x + _x - 15; _root.chick2.mode = 4; _root.chick2.gotoAndStop(32); } if (this.hitTest(_root.chick2) && chick1 == 0) { chick2 = 1; _root.chick2._x = _parent._x + _x - 15; _root.chick2.mode = 4; _root.chick2.gotoAndStop(32); } if (_root.chick2.mode == 4) { if (!this.hitTest(_root.chick2) && chick2 == 1) { chick2 = 0; _root.chick2.mode = 0; _root.chick2.play(); } } if (this.hitTest(_root.chick3) && _root.chick3._currentframe > 33) { _root.chick3._x = _parent._x + _x - 17; _root.chick3.mode = 4; _root.chick3.gotoAndStop(32); } if (this.hitTest(_root.chick3) && chick3 == 0) { chick3 = 1; _root.chick3._x = _parent._x + _x - 14; _root.chick3.mode = 4; _root.chick3.gotoAndStop(32); } if (_root.chick3.mode == 4) { if (!this.hitTest(_root.chick3)) { _root.chick3.mode = 0; _root.chick3.play(); } } if (this.hitTest(_root.chick4) && _root.chick4._currentframe > 33) { _root.chick4._x = _parent._x + _x - 17; _root.chick4.mode = 4; _root.chick4.gotoAndStop(32); } if (this.hitTest(_root.chick4) && chick4 == 0) { chick4 = 1; _root.chick4._x = _parent._x + _x - 17; _root.chick4.mode = 4; _root.chick4.gotoAndStop(32); } if (_root.chick4.mode == 4) { if (!this.hitTest(_root.chick4)) { _root.chick4.mode = 0; _root.chick4.play(); } } } } } instance block3 of movieClip 1031 { onClipEvent (press) { drag = 1; } onClipEvent (release, releaseOutside) { drag = 0; } onClipEvent (enterFrame) { if (_root.clears == 1) { this.removeMovieClip(); } if (drag == 1) { _x = Math.round(_root._xmouse / 10) * 10; } if (drag == 1) { _y = Math.round(_root._ymouse / 10) * 10; } if (_y < 250) { _y = 250; } if (_root.go == 1) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x + 20, _root.chick._y, true)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } if (this.hitTest(_root.chick._x + 30, _root.chick._y, true)) { _root.chick._x = _x - 130; } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x + 20, _root.chick2._y, true)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } if (this.hitTest(_root.chick2._x + 30, _root.chick2._y, true)) { _root.chick2._x = _x - 130; } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } } movieClip 1032 { frame 1 { function camControl() { parentColor.setTransform(camColor.getTransform()); var v3 = sX / this._width; var v4 = sY / this._height; _parent._x = cX - this._x * v3; _parent._y = cY - this._y * v4; _parent._xscale = 100 * v3; _parent._yscale = 100 * v4; } function resetStage() { var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; parentColor.setTransform(v2); _parent._xscale = 100; _parent._yscale = 100; _parent._x = 0; _parent._y = 0; } this._visible = false; var oldMode = Stage.scaleMode; Stage.scaleMode = 'exactFit'; var cX = Stage.width / 2; var cY = Stage.height / 2; var sX = Stage.width; var sY = Stage.height; Stage.scaleMode = oldMode; var camColor = new Color(this); var parentColor = new Color(_parent); this.onEnterFrame = camControl; camControl(); this.onUnload = resetStage; } } instance cam of movieClip 1032 { onClipEvent (enterFrame) { if (_root.go == 1) { _x = _x + (_root.chick._x - _x) / 16; } else { if (_root.starts == 1) { if (Key.isDown(39)) { _x = _x + 10; } if (Key.isDown(37)) { _x = _x - 10; } } } if (_x < 320) { _x = 320; } _root.energy._x = _x; } } movieClip 1034 { } instance block5 of movieClip 1034 { onClipEvent (press) { drag = 1; } onClipEvent (release, releaseOutside) { drag = 0; } onClipEvent (enterFrame) { if (_root.clears == 1) { this.removeMovieClip(); _root.clears = 0; } if (drag == 1) { _x = Math.round(_root._xmouse / 10) * 10; } if (drag == 1) { _y = Math.round(_root._ymouse / 10) * 10; } if (_y < 100) { _y = 100; } if (_root.go == 1) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x + 20, _root.chick._y, true)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } if (this.hitTest(_root.chick._x + 30, _root.chick._y, true)) { _root.chick._x = _x - 130; } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x + 20, _root.chick2._y, true)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } if (this.hitTest(_root.chick2._x + 30, _root.chick2._y, true)) { _root.chick2._x = _x - 130; } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } } movieClip 1036 { } instance of movieClip 1036 { onClipEvent (load) { delayer = 0; } onClipEvent (enterFrame) { if (_root.resets == 1) { delayer += 1; } if (delayer == 3) { _root.resets = 0; delayer = 0; } } } instance block6 of movieClip 1034 { onClipEvent (press) { drag = 1; } onClipEvent (release, releaseOutside) { drag = 0; } onClipEvent (enterFrame) { if (_root.clears == 1) { this.removeMovieClip(); _root.clears = 0; } if (drag == 1) { _x = Math.round(_root._xmouse / 10) * 10; } if (drag == 1) { _y = Math.round(_root._ymouse / 10) * 10; } if (_y < 100) { _y = 100; } if (_root.go == 1) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x + 20, _root.chick._y, true)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } if (this.hitTest(_root.chick._x + 30, _root.chick._y, true)) { _root.chick._x = _x - 130; } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x + 20, _root.chick2._y, true)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } if (this.hitTest(_root.chick2._x + 30, _root.chick2._y, true)) { _root.chick2._x = _x - 130; } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } } movieClip 1039 { } movieClip 1040 { } movieClip 1042 { } movieClip 1043 { } movieClip 1044 { } movieClip 1045 { } movieClip 1048 { } movieClip 1049 { } button 1053 { on (release) { _root.clears = 1; } } button 1056 { on (release) { _root.clears = 1; _root.clears2 = 1; _root.gotoAndStop(9); } } movieClip 1057 { instance of movieClip 1039 { onClipEvent (release) { var newdepth = this._parent._parent.block._parent.getNextHighestDepth(); var newname = 'copy' + newdepth; var prevname = 'copy' + (newdepth - 1); if (this._parent._parent.block._parent[prevname] == undefined) { this._parent._parent.block._parent[prevname] = this._parent._parent.block; } this._parent._parent.block.duplicateMovieClip(newname, newdepth); this._parent._parent.block._parent[newname]._x = -500; this._parent._parent.block._parent[newname]._y = -500; this._parent._parent.block._parent[newname].drag = 1; mx.behaviors.DepthControl.bringToFront(this._parent); } } instance of movieClip 1040 { onClipEvent (release) { var newdepth = this._parent._parent.block2._parent.getNextHighestDepth(); var newname = 'copy' + newdepth; var prevname = 'copy' + (newdepth - 1); if (this._parent._parent.block2._parent[prevname] == undefined) { this._parent._parent.block2._parent[prevname] = this._parent._parent.block2; } this._parent._parent.block2.duplicateMovieClip(newname, newdepth); this._parent._parent.block2._parent[newname]._x = -500; this._parent._parent.block2._parent[newname]._y = -500; this._parent._parent.block2._parent[newname].drag = 1; mx.behaviors.DepthControl.bringToFront(this._parent); } } instance of movieClip 1042 { onClipEvent (release) { var newdepth = this._parent._parent.block3._parent.getNextHighestDepth(); var newname = 'copy' + newdepth; var prevname = 'copy' + (newdepth - 1); if (this._parent._parent.block3._parent[prevname] == undefined) { this._parent._parent.block3._parent[prevname] = this._parent._parent.block3; } this._parent._parent.block3.duplicateMovieClip(newname, newdepth); this._parent._parent.block3._parent[newname]._x = -500; this._parent._parent.block3._parent[newname]._y = -500; this._parent._parent.block3._parent[newname].drag = 1; mx.behaviors.DepthControl.bringToFront(this._parent); } } instance of movieClip 1043 { onClipEvent (release) { var newdepth = this._parent._parent.block4._parent.getNextHighestDepth(); var newname = 'copy' + newdepth; var prevname = 'copy' + (newdepth - 1); if (this._parent._parent.block4._parent[prevname] == undefined) { this._parent._parent.block4._parent[prevname] = this._parent._parent.block4; } this._parent._parent.block4.duplicateMovieClip(newname, newdepth); this._parent._parent.block4._parent[newname]._x = -500; this._parent._parent.block4._parent[newname]._y = -500; this._parent._parent.block4._parent[newname].drag = 1; mx.behaviors.DepthControl.bringToFront(this._parent); } } instance of movieClip 1044 { onClipEvent (release) { var newdepth = this._parent._parent.block5._parent.getNextHighestDepth(); var newname = 'copy' + newdepth; var prevname = 'copy' + (newdepth - 1); if (this._parent._parent.block5._parent[prevname] == undefined) { this._parent._parent.block5._parent[prevname] = this._parent._parent.block5; } this._parent._parent.block5.duplicateMovieClip(newname, newdepth); this._parent._parent.block5._parent[newname]._x = -500; this._parent._parent.block5._parent[newname]._y = -500; this._parent._parent.block5._parent[newname].drag = 1; mx.behaviors.DepthControl.bringToFront(this._parent); } } instance of movieClip 1045 { onClipEvent (release) { var newdepth = this._parent._parent.block6._parent.getNextHighestDepth(); var newname = 'copy' + newdepth; var prevname = 'copy' + (newdepth - 1); if (this._parent._parent.block6._parent[prevname] == undefined) { this._parent._parent.block6._parent[prevname] = this._parent._parent.block6; } this._parent._parent.block6.duplicateMovieClip(newname, newdepth); this._parent._parent.block6._parent[newname]._x = -500; this._parent._parent.block6._parent[newname]._y = -500; this._parent._parent.block6._parent[newname].drag = 1; mx.behaviors.DepthControl.bringToFront(this._parent); } } instance of movieClip 1048 { onClipEvent (load) { _root.go = 0; } onClipEvent (enterFrame) { if (_root.go == 0) { gotoAndStop(1); } if (_root.go == 1) { gotoAndStop(2); } } onClipEvent (release) { if (_root.go == 0) { _root.go = 1; } else { if (_root.go == 1) { _root.go = 0; } } } onClipEvent (rollOver) { _alpha = 50; } onClipEvent (rollOut) { _alpha = 100; } } instance of movieClip 1049 { onClipEvent (load) { chicksx = _root.chick._x; chicksy = _root.chick._y; chicksx2 = _root.chick2._x; chicksy2 = _root.chick2._y; } onClipEvent (release) { _root.resets = 1; _root.go = 0; _root.chick._x = chicksx; _root.chick._y = chicksy; _root.chick.mode = 1; _root.chick.gotoAndStop(1); _root.chick.xspeed = 0; _root.chick.yspeed = 0; _root.chick2._x = chicksx2; _root.chick2._y = chicksy2; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); _root.chick2.xspeed = 0; _root.chick2.yspeed = 0; } onClipEvent (rollOver) { _alpha = 50; } onClipEvent (rollOut) { _alpha = 100; } } } instance energy of movieClip 1057 { onClipEvent (enterFrame) { if (_root.clears2 == 1) { this.removeMovieClip(); } } } instance chick of movieClip 699 { onClipEvent (load) { yspeed = 0; delay = 3; mode = 1; } onClipEvent (press) { if (_root.go == 0) { _root.goodstats.gotoAndStop(2); mx.behaviors.DepthControl.bringToFront(_root.goodstats); } } onClipEvent (enterFrame) { _root.cmode = mode; if (_root.go == 1) { _root.delay = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0 && yspeed < 5) { play(); delay = (1750 - _root.goodstats.runlvl) / 100; } } else { this._x += Number(_root.goodstats.runlvl / 10); } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + _root.goodstats.flylvl) / 20; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + _root.goodstats.swilvl / 20); } if (mode == 4) { _y = _y - (0.5 + _root.goodstats.clilvl / 25); } } } } movieClip 1058 { } instance block of movieClip 1058 { onClipEvent (press) { drag = 1; } onClipEvent (release, releaseOutside) { drag = 0; } onClipEvent (enterFrame) { if (_root.clears == 1) { this.removeMovieClip(); } if (drag == 1) { _x = Math.round(_root._xmouse / 10) * 10; } if (drag == 1) { _y = Math.round(_root._ymouse / 10) * 10; } if (_y < 100) { _y = 100; } if (_root.go == 1) { if (_root.chick.mode == 1) { while (this.hitTest(_root.chick._x + 20, _root.chick._y, true)) { _root.chick._x -= 1; } while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; } } if (_root.chick.mode == 2) { if (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick.mode = 0; _root.chick.yspeed = 0; _root.chick.play(); } if (this.hitTest(_root.chick._x + 30, _root.chick._y, true)) { _root.chick._x = _x - 130; } } if (_root.chick.mode == 3) { while (this.hitTest(_root.chick._x, _root.chick._y + 25, true)) { _root.chick._y -= 1; _root.chick.yspeed = 0; _root.chick.mode = 1; _root.chick.gotoAndStop(1); } } if (_root.chick2.mode == 1) { while (this.hitTest(_root.chick2._x + 20, _root.chick2._y, true)) { _root.chick2._x -= 1; } while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; } } if (_root.chick2.mode == 2) { if (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2.mode = 0; _root.chick2.yspeed = 0; _root.chick2.play(); } if (this.hitTest(_root.chick2._x + 30, _root.chick2._y, true)) { _root.chick2._x = _x - 130; } } if (_root.chick2.mode == 3) { while (this.hitTest(_root.chick2._x, _root.chick2._y + 25, true)) { _root.chick2._y -= 1; _root.chick2.yspeed = 0; _root.chick2.mode = 1; _root.chick2.gotoAndStop(1); } } if (_root.chick3.mode == 1) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; } } if (_root.chick3.mode == 2) { if (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3.mode = 0; _root.chick3.yspeed = 0; _root.chick3.play(); } } if (_root.chick3.mode == 3) { while (this.hitTest(_root.chick3._x, _root.chick3._y + 23, true)) { _root.chick3._y -= 1; _root.chick3.yspeed = 0; _root.chick3.mode = 1; _root.chick3.gotoAndStop(1); } } if (_root.chick4.mode == 1) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; } } if (_root.chick4.mode == 2) { if (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4.mode = 0; _root.chick4.yspeed = 0; _root.chick4.play(); } } if (_root.chick4.mode == 3) { while (this.hitTest(_root.chick4._x, _root.chick4._y + 30, true)) { _root.chick4._y -= 1; _root.chick4.yspeed = 0; _root.chick4.mode = 1; _root.chick4.gotoAndStop(1); } } } } } instance chick2 of movieClip 699 { onClipEvent (load) { yspeed = 0; delay = 3; mode = 1; } onClipEvent (press) { if (_root.go == 0) { _root.evilstats.gotoAndStop(2); mx.behaviors.DepthControl.bringToFront(_root.evilstats); } } onClipEvent (enterFrame) { _root.cmode = mode; if (_root.go == 1) { _root.delay = delay; if (mode == 1) { _y = _y + yspeed; yspeed += 1; if (_currentframe > 12) { gotoAndStop(1); } if (_currentframe == 1) { delay -= 1; if (delay <= 0 && yspeed < 5) { play(); delay = (1750 - _root.evilstats.runlvl) / 100; } } else { _x = _x + _root.evilstats.runlvl / 100; } } if (mode == 2) { _y = _y + 1; _x = _x + Number(20 + _root.evilstats.flylvl) / 20; } if (mode == 3) { gotoAndStop(31); _x = _x + (1 + _root.evilstats.swilvl / 20); } if (mode == 4) { _y = _y - (0.5 + _root.evilstats.clilvl / 25); } } } } button 1066 { on (release) { if (runlvl == NaN || runlvl < 0 || runlvl > 200) { runlvl = 100; } if (flylvl == NaN || flylvl < 0 || flylvl > 200) { flylvl = 100; } if (swilvl == NaN || swilvl < 0 || swilvl > 200) { swilvl = 100; } if (clilvl == NaN || clilvl < 0 || clilvl > 200) { clilvl = 100; } prevFrame(); } } movieClip 1068 { } movieClip 1069 { instance of movieClip 1068 { onClipEvent (release) { _root.evilstats.runlvl = Number(_root.evilstats.runlvl - 1); } onClipEvent (enterFrame) { if (_root.evilstats.runlvl == 0) { _visible = false; } else { _visible = true; } } } instance of movieClip 1068 { onClipEvent (release) { _root.evilstats.clilvl = Number(_root.evilstats.clilvl + 1); } onClipEvent (enterFrame) { if (_root.evilstats.clilvl == 200) { _visible = false; } else { _visible = true; } } } instance of movieClip 1068 { onClipEvent (release) { _root.evilstats.swilvl = Number(_root.evilstats.swilvl + 1); } onClipEvent (enterFrame) { if (_root.evilstats.swilvl == 200) { _visible = false; } else { _visible = true; } } } instance of movieClip 1068 { onClipEvent (release) { _root.evilstats.flylvl = Number(_root.evilstats.flylvl + 1); } onClipEvent (enterFrame) { if (_root.evilstats.flylvl == 200) { _visible = false; } else { _visible = true; } } } instance of movieClip 1068 { onClipEvent (release) { _root.evilstats.runlvl = Number(_root.evilstats.runlvl + 1); } onClipEvent (enterFrame) { if (_root.evilstats.runlvl == 200) { _visible = false; } else { _visible = true; } } } instance of movieClip 1068 { onClipEvent (release) { _root.evilstats.flylvl = Number(_root.evilstats.flylvl - 1); } onClipEvent (enterFrame) { if (_root.evilstats.flylvl == 0) { _visible = false; } else { _visible = true; } } } instance of movieClip 1068 { onClipEvent (release) { _root.evilstats.clilvl = Number(_root.evilstats.clilvl - 1); } onClipEvent (enterFrame) { if (_root.evilstats.clilvl == 0) { _visible = false; } else { _visible = true; } } } instance of movieClip 1068 { onClipEvent (release) { _root.evilstats.swilvl = Number(_root.evilstats.swilvl - 1); } onClipEvent (enterFrame) { if (_root.evilstats.swilvl == 0) { _visible = false; } else { _visible = true; } } } instance of movieClip 1068 { onClipEvent (release) { _root.evilstats.swilvl = Number(_root.evilstats.swilvl + 1); } onClipEvent (enterFrame) { if (_root.evilstats.swilvl == 200) { _visible = false; } else { _visible = true; } } } } instance evilstats of movieClip 1069 { onClipEvent (load) { stop(); runlvl = 50; flylvl = 50; swilvl = 50; clilvl = 50; } onClipEvent (enterFrame) { _x = _root.chick2._x; _y = _root.chick2._y; if (_root.go == 1) { gotoAndStop(1); } } } movieClip 1075 { instance of movieClip 1068 { onClipEvent (release) { _root.goodstats.runlvl = Number(_root.goodstats.runlvl - 1); } onClipEvent (enterFrame) { if (_root.goodstats.runlvl == 0) { _visible = false; } else { _visible = true; } } } instance of movieClip 1068 { onClipEvent (release) { _root.goodstats.runlvl = Number(_root.goodstats.runlvl + 1); } onClipEvent (enterFrame) { if (_root.goodstats.runlvl == 200) { _visible = false; } else { _visible = true; } } } instance of movieClip 1068 { onClipEvent (release) { _root.goodstats.flylvl = Number(_root.goodstats.flylvl - 1); } onClipEvent (enterFrame) { if (_root.goodstats.flylvl == 0) { _visible = false; } else { _visible = true; } } } instance of movieClip 1068 { onClipEvent (release) { _root.goodstats.flylvl = Number(_root.goodstats.flylvl + 1); } onClipEvent (enterFrame) { if (_root.goodstats.flylvl == 200) { _visible = false; } else { _visible = true; } } } instance of movieClip 1068 { onClipEvent (release) { _root.goodstats.clilvl = Number(_root.goodstats.clilvl - 1); } onClipEvent (enterFrame) { if (_root.goodstats.clilvl == 0) { _visible = false; } else { _visible = true; } } } instance of movieClip 1068 { onClipEvent (release) { _root.goodstats.clilvl = Number(_root.goodstats.clilvl + 1); } onClipEvent (enterFrame) { if (_root.goodstats.clilvl == 200) { _visible = false; } else { _visible = true; } } } instance of movieClip 1068 { onClipEvent (release) { _root.goodstats.swilvl = Number(_root.goodstats.swilvl - 1); } onClipEvent (enterFrame) { if (_root.goodstats.swilvl == 0) { _visible = false; } else { _visible = true; } } } instance of movieClip 1068 { onClipEvent (release) { _root.goodstats.swilvl = Number(_root.goodstats.swilvl + 1); } onClipEvent (enterFrame) { if (_root.goodstats.swilvl == 200) { _visible = false; } else { _visible = true; } } } } instance goodstats of movieClip 1075 { onClipEvent (load) { stop(); runlvl = 50; flylvl = 50; swilvl = 50; clilvl = 50; } onClipEvent (enterFrame) { _x = _root.chick._x; _y = _root.chick._y; if (_root.go == 1) { gotoAndStop(1); } } } movieClip 1086 { frame 1 { stop(); } frame 2 { stop(); } } instance of movieClip 1086 { onClipEvent (keyPress '<Space>') { this.nextFrame(); _root.starts = 1; } onClipEvent (press) { this.nextFrame(); _root.starts = 1; } onClipEvent (load) { this.useHandCursor = false; } } instance of movieClip 349 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } } frame 83 { } instance of movieClip 64 { onClipEvent (enterFrame) { if (_root.daytime == 1) { gotoAndStop(1); } if (_root.daytime == 2) { gotoAndStop(2); } if (_root.daytime == 3) { gotoAndStop(3); } } } instance of movieClip 19 { onClipEvent (release) { getURL('http://sims5000.newgrounds.com', ''); } } frame 84 { gotoAndStop(80); } instance of movieClip 133 { onClipEvent (load) { _root.total = Number(_root.swimlevel) + Number(_root.staminalevel) + Number(_root.runninglevel) + Number(_root.flyinglevel); _root.totalx = Math.round((Number(_root.swilvl) + Number(_root.stalvl) + Number(_root.runlvl) + Number(_root.flylvl)) / 2); if (_root.total > 499) { _root.rank = 'Duck God'; } else { if (_root.total > 399) { _root.rank = 'King of Ducks'; } else { if (_root.total > 299) { _root.rank = 'Professional'; } else { if (_root.total > 199) { _root.rank = 'Speedy Duck'; } else { if (_root.total > 159) { _root.rank = 'Amateur'; } else { if (_root.total > 99) { _root.rank = 'Trainee'; } else { if (_root.total > 49) { _root.rank = 'Beginner'; } else { if (_root.total > 19) { _root.rank = 'Duckling'; } else { _root.rank = 'Baby Duckling'; } } } } } } } } if (_root.total499) { _root.rank2 = 'N/A'; } else { if (_root.total > 399) { _root.rank2 = 'Duck God'; } else { if (_root.total > 299) { _root.rank2 = 'King of Ducks'; } else { if (_root.total > 199) { _root.rank2 = 'Professional'; } else { if (_root.total > 159) { _root.rank2 = 'Speedy Duck'; } else { if (_root.total > 99) { _root.rank2 = 'Amateur'; } else { if (_root.total > 49) { _root.rank2 = 'Trainee'; } else { if (_root.total > 19) { _root.rank2 = 'Beginner'; } else { _root.rank2 = 'Duckling'; } } } } } } } } if (_root.stalvl > _root.flylvl and _root.stalvl > _root.runlvl and _root.stalvl > _root.swilvl) { _root.type = 'Energetic'; } else { if (_root.swilvl > _root.flylvl and _root.swilvl > _root.runlvl and _root.swilvl > _root.stalvl) { _root.type = 'Swimmer'; } else { if (_root.flylvl > _root.stalvl and _root.flylvl > _root.runlvl and _root.flylvl > _root.swilvl) { _root.type = 'Pilot'; } else { if (_root.runlvl > _root.flylvl and _root.runlvl > _root.stalvl and _root.runlvl > _root.swilvl) { _root.type = 'Sprinter'; } else { _root.type = 'Neutral'; } } } } } } instance of movieClip 349 { onClipEvent (release) { _root.gotoAndStop(9); } onClipEvent (rollOver) { _rotation = 3; } onClipEvent (releaseOutside, rollOut) { _rotation = 0; } } button 1092 { on (release) { getURL('http://sims5000.newgrounds.com', '_blank'); } } button 1095 { on (release) { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1840&subid=walkthrough&action=walkthrough_1840', '_blank'); } } button 1098 { on (release) { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1840&subid=addtosite&action=addtosite', '_blank'); } } button 1101 { on (release) { getURL('http://www.myspace.com/beckywixon', '_blank'); } } button 1104 { on (release) { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1840&subid=playSomeGame&action=play_1720', '_blank'); } } instance of movieClip 133 { onClipEvent (load) { delay = 100; } onClipEvent (enterFrame) { delay -= 1; if (delay <= 0) { game = SharedObject.getLocal('mydata'); game.data.stalvl = _root.stalvl; game.data.runlvl = _root.runlvl; game.data.flylvl = _root.flylvl; game.data.swilvl = _root.swilvl; game.data.seed = _root.seed; game.data.skill = _root.skill; game.data.money = _root.money; game.data.colour = _root.colour; game.data.hat = _root.hat; game.flush(); delay = 100; } } } instance of movieClip 959 { onClipEvent (load) { if (_root.music !== 2 and _root.music !== 0) { stopAllSounds(); gotoAndStop(2); } } } movieClip 1107 { frame 1 { stop(); } } movieClip 1108 { frame 1 { this.onRollOver = function () { this.logo_ro.gotoAndStop(2); }; this.onRollOut = function () { this.logo_ro.gotoAndStop(1); }; this.onReleaseOutside = function () { this.logo_ro.gotoAndStop(1); }; } } instance of movieClip 1108 { onClipEvent (release) { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1840&subid=linksscreen', '_blank'); } }




http://swfchan.com/21/100079/info.shtml
Created: 6/1 -2019 13:19:54 Last modified: 6/1 -2019 13:19:54 Server time: 29/04 -2024 01:24:03