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

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

Look out Mr. Johnson.swf

This is the info page for
Flash #48916

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


ActionScript [AS1/AS2]
Combined Code
movieClip 11 fps { frame 1 { fps = 30; var timeinit = new Date(); var lasttime = timeinit.getMilliseconds(); onEnterFrame = function () { var v1 = new Date(); timepassed = v1.getMilliseconds() - lasttime >= 0 ? v1.getMilliseconds() - lasttime : 1000 + (v1.getMilliseconds() - lasttime); fps = Math.round(10000 / timepassed) / 10; lasttime = v1.getMilliseconds(); }; } } frame 1 { Mouse.show(); menures = false; } frame 1 { totalBytes = Math.round(getBytesTotal() / 1024); loadedBytes = Math.round(getBytesLoaded() / 1024); percentDone = Math.round((loadedBytes / totalBytes) * 100); if (_root._framesloaded >= _root._totalframes) { gotoAndStop('start'); } } movieClip 16 { frame 1 { stop(); } } movieClip 24 { } button 26 { on (release) { getURL('http://www.newgrounds.com', '_blank'); } } movieClip 27 { } movieClip 30 { } movieClip 34 { } movieClip 35 { } movieClip 37 { } button 39 { on (release) { getURL('http://www.newgrounds.com/collection/halloween2008', '_blank'); } } button 44 { on (release) { getURL('http://www.exotworking.com', '_blank'); } } movieClip 48 { } movieClip 54 { } instance of movieClip 54 { onClipEvent (enterFrame) { _xscale = _root.percentDone; } } frame 2 { gotoAndPlay(1); } movieClip 57 { } instance of movieClip 57 { onClipEvent (enterFrame) { if (_root.menures == true) { _root.removeMovieClip(_root.ghost); _root.ghost.removeMovieClip(); } } } movieClip 60 { } button 61 { on (release) { play(); } } movieClip 63 { } movieClip 66 { } movieClip 69 { } movieClip 83 { } frame 77 { _root.ghost._x = 400; _root.ghost._y = 400; _root.gate._x = 400; _root.ghate._y = 400; _root.castlbg._x = 400; _root.castlbg._y = 400; _root.shdws._x = 400; _root.shdws._y = 400; _root.nextscreen._x = 400; _root.nextscreen._y = 400; _root.gameover._x = 400; _root.gameover._y = 400; stopAllSounds(); } frame 78 { removeMovieClip(_root.ghost); _root.ghost.removeMovieClip(); _root.shdws.removeMovieClip(); _root.gate.removeMovieClip(); _root.castlbg.removeMovieClip(); _root.nextscreen.removeMovieClip(); _root.gameover.removeMovieClip(); } frame 79 { menures = true; } frame 81 { stop(); } frame 81 { _root.Mouse.show(); Mouse.show(); } button 90 { on (release) { getURL('http://www.newgrounds.com/collection/halloween2008', '_blank'); } } movieClip 93 { frame 1 { stop(); } } button 98 { on (rollOver) { Mouse.hide(); _root.lomj.gotoAndStop(2); _root.pbtn.gotoAndStop(2); _root.moar.gotoAndStop(2); _root.bbbbg.gotoAndStop(2); _root.mse._alpha = 100; } on (rollOut) { Mouse.show(); _root.lomj.gotoAndStop(1); _root.pbtn.gotoAndStop(1); _root.moar.gotoAndStop(1); _root.bbbbg.gotoAndStop(1); _root.mse._alpha = 0; } } movieClip 100 { frame 1 { stop(); } } button 101 { on (release) { getURL('http://www.exotworking.com', '_blank'); } } button 105 { on (rollOver) { Mouse.hide(); _root.lomj.gotoAndStop(2); _root.cbtn.gotoAndStop(2); _root.moar.gotoAndStop(2); _root.bbbbg.gotoAndStop(2); _root.mse._alpha = 100; } on (rollOut) { Mouse.show(); _root.lomj.gotoAndStop(1); _root.cbtn.gotoAndStop(1); _root.moar.gotoAndStop(1); _root.bbbbg.gotoAndStop(1); _root.mse._alpha = 0; } } movieClip 107 { frame 1 { stop(); } } movieClip 111 { frame 1 { stop(); } } movieClip 113 { } movieClip 114 { frame 8 { stop(); } } movieClip 115 { frame 6 { stop(); } } button 117 { on (release) { gotoAndStop(104); } } movieClip 122 { frame 1 { stop(); } } movieClip 124 { } movieClip 125 { frame 8 { stop(); } } movieClip 126 { frame 6 { stop(); } } button 128 { on (release) { play(); } } movieClip 131 { frame 1 { stop(); } } frame 85 { stop(); } movieClip 135 { } button 136 { on (release) { gotoAndStop('menuuu'); } } frame 104 { mus_0 = new Sound(_root.musiccc); mus_0.attachSound('music_0'); mus_0.setVolume(60); mus_0.start(0, 200); } frame 104 { _root.nextscreen.swapDepths(5009); _root.gameover.swapDepths(5008); _root.dte._alpha = 0; } frame 104 { stop(); fall = 0; xmove = 7; xmovem = 0; jump = false; jumpp = false; boost = 0; jumpnex = 0; stop(); goscreen = 0; level = 0; tutorial = false; absmove = 6; xmove = absmove; randv = 0; _quality = 'medium'; jdeath = false; akeypress = false; keyact = 0; Mouse.hide(); hero.onEnterFrame = function () {}; diefall = 0; diefalll = false; gameover.onEnterFrame = function () { this._x = _root.camera._x; }; shriek = true; gfall = 5; ghost.onEnterFrame = function () {}; knightpuzz = 0; spaawn = 1; i = 50; sidess = 0; eat = false; leftt = 0; upp = 0; duck = false; _root.espawn._x = -50000; resettt = false; _root.camera._x = -2350; transmit = false; clickkk = false; clickact = 0; ghost.onMouseDown = function () { _root.clickkk = true; }; ghost.onMouseUp = function () { _root.clickkk = false; }; espawn.onEnterFrame = function () { if (_root.ground.hitTest(_root.hero._x, _root.hero._y + 30, true)) { _root.jwalk.play(); } _root.randv = random(16) + 2; _root.nextscreen._x = _root.camera._x; _root.nextscreen._y = _root.camera._y; if (_root.clickkk == true) { ++clickact; } if (_root.clickkk == false) { clickact = 0; } if (level == 0 && _root.hero._x > -1600 && transmit == false) { _root.nextscreen.gotoAndPlay(2); transmit = true; } if (Key.isDown(65)) { akeypress = true; } else { akeypress = false; } if (akeypress == true) { ++keyact; } if (akeypress == false) { keyact = 0; } _root.tutorialll._x = _root.camera._x - 150; _root.cambg._x = _root.camera._x; if (_root.hero._x > -2350 && _root.hero._x < -2011) { _root.camera._x = _root.hero._x; } if (jdeath == false) { gfall = -10; _root.ghost._x = _root._xmouse; _root.ghost._y = _root._ymouse; } else { _root.ghost._y += gfall; ++gfall; _root.ghost.gotoAndStop('gameover'); } if (_root.movee.lleft.hitTest(_xmouse, _ymouse, true)) { _root.ghost.gotoAndStop('lleft'); leftt = 1; sidess = 1; } if (_root.movee.lleft.hitTest(_xmouse, _ymouse, true) && _root.clickact == 1) { _root.jvoice.gotoAndStop(_root.randv); _root.ghvoice.gotoAndStop(random(7) + 2); _root.xmove = _root.absmove; _root.hero._xscale = 100; _root.ghost.side.gotoAndPlay('scream'); _root.hero.jrun.gotoAndPlay(1); } if (_root.movee.rright.hitTest(_xmouse, _ymouse, true)) { _root.ghost.gotoAndStop('rright'); leftt = 0; sidess = 1; } if (_root.movee.rright.hitTest(_xmouse, _ymouse, true) && _root.clickact == 1) { _root.jvoice.gotoAndStop(_root.randv); _root.ghvoice.gotoAndStop(random(7) + 2); _root.hero._xscale = -100; _root.xmove = -_root.absmove; _root.ghost.side.gotoAndPlay('scream'); _root.hero.jrun.gotoAndPlay(1); } if (_root.movee.dwn.hitTest(_xmouse, _ymouse, true)) { _root.ghost.gotoAndStop('dwn'); upp = 0; } if (_root.movee.dwn.hitTest(_xmouse, _ymouse, true) && _root.clickact == 1) { _root.jvoice.gotoAndStop(_root.randv); _root.ghvoice.gotoAndStop(random(7) + 2); _root.jumpp = true; _root.ghost.below.gotoAndPlay('scream'); } if (_root.movee.upp.hitTest(_xmouse, _ymouse, true)) { _root.ghost.gotoAndStop('up'); upp = 1; } if (_root.movee.upp.hitTest(_xmouse, _ymouse, true) && _root.clickact == 1) { _root.jvoice.gotoAndStop(_root.randv); _root.ghvoice.gotoAndStop(random(7) + 2); if (_root.duck == false) { _root.ghost.top.gotoAndPlay('scream'); _root.hero.jrun.gotoAndPlay('duck'); } } if (_root.ghost._x > _root.hero._x) { } if (jdeath == false) { _root.movee._x = _root.hero._x; _root.movee._y = _root.hero._y; _root.hero._x += xmove + xmovem; _root.hero._y += fall + boost; while (_root.ground.hitTest(_root.hero._x, _root.hero._y, true)) { _root.hero._y -= 1.0e-006; fall = 0; jump = true; } while (_root.stairs.hitTest(_root.hero._x, _root.hero._y, true)) { _root.hero._y -= 1.0e-006; fall = 0; jump = true; } if (_root.ground.hitTest(_root.hero._x, _root.hero._y + 30, true) && jumpp == false) { _root.hero.jrun.play(); } if (_root.ground.hitTest(_root.hero._x + 20, _root.hero._y - 30, true)) { xmove = -absmove; _root.hero._xscale = -100; } else { if (_root.ground.hitTest(_root.hero._x - 20, _root.hero._y - 20, true)) { xmove = absmove; _root.hero._xscale = 100; } else { ++fall; } } while (_root.ground.hitTest(_root.hero._x, _root.hero._y - 10, true)) { _root.hero._y += 1; } while (_root.ground.hitTest(_root.hero._x, _root.hero._y - 35, true)) { _root.hero._y += 1; fall = 5; } ++jumpnex; if (jumpp == true && jumpnex > 25) { _root.hero.jrun.gotoAndPlay('jump'); fall = -11; jumpnex = 0; jumpp = false; } else { jumpp = false; } } }; } movieClip 138 { } movieClip 140 { } movieClip 141 { } movieClip 143 { } button 145 { on (press) { _root.level = 4; gotoAndStop(109); } } movieClip 147 { } movieClip 151 { frame 1 { stop(); } } movieClip 152 { } movieClip 156 { } movieClip 158 { } movieClip 163 { } movieClip 166 { } button 167 { on (keyPress '<Space>') { _parent.nextFrame(); _parent.ttt._alpha = 100; play(); } } movieClip 168 { frame 7 { stop(); } } button 171 { on (rollOver) { Mouse.show(); _root.ghost._alpha = 0; } on (rollOut) { Mouse.hide(); _root.ghost._alpha = 100; } on (release) { Mouse.hide(); _root.ghost._alpha = 100; _root.nextFrame(); } } movieClip 177 { } movieClip 179 { } movieClip 180 { } movieClip 182 { } movieClip 185 { frame 1 { _root.ground.block2.gotoAndStop(2); } frame 1 { stop(); } instance ttt of movieClip 163 { onClipEvent (load) { this._alpha = 0; } onClipEvent (enterFrame) { } } frame 2 { _root.gti._alpha = 100; _root.gtii._alpha = 100; _root.jti._alpha = 100; } frame 4 { _root.gti._alpha = 0; _root.gtii._alpha = 0; _root.jti._alpha = 0; } frame 6 { _root.clicky._alpha = 100; } frame 7 { _root.tenemy._y = 280; _root.tenemy.fall = -15; _root.tenemy.gotoAndPlay(1); _root.tenemy2._y = 250; _root.tenemy2.fall = -10; _root.tenemy2.gotoAndPlay(1); _root.tenemy4._y = 250; _root.tenemy4.fall = -10; _root.tenemy4.gotoAndPlay(1); } frame 7 { _root.clicky._alpha = 0; } frame 8 { _root.crates1._y = 280; _root.crates1.fall = -15; _root.ground.block.gotoAndStop(2); _root.crates1.ccc.gotoAndPlay(1); } frame 9 { _root.dte._alpha = 100; } } movieClip 187 { } movieClip 189 { } movieClip 191 { } button 192 { on (rollOver) { _root.ghost.interact.gotoAndStop(2); } on (rollOut) { _root.ghost.interact.gotoAndStop(1); } } movieClip 196 { } movieClip 204 { frame 18 { stop(); } } movieClip 208 { frame 4 { stop(); } instance of movieClip 191 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true) && _root.keyact == 1) { _root.eat = true; _root.ghost.interact.gotoAndStop(1); _root.ghost.side.gotoAndPlay('eat'); _root.ghost.top.gotoAndPlay('eat'); _root.ghost.below.gotoAndPlay('eat'); _parent.gotoAndPlay('death'); } } } frame 12 { gotoAndStop(6); } instance of movieClip 204 { onClipEvent (load) { if (_root.leftt == 1) { this._xscale = -100; this._x = 20; } } } frame 36 { stop(); } } instance tenemy of movieClip 208 { onClipEvent (load) { var fall = 0; var xmove = 0.3; var turn = 0; this._xscale = 100; var death = false; var dead = false; var anothersss = true; } onClipEvent (enterFrame) { if (dead == false) { this._y += fall; } if (fall < 10) { ++fall; } if (_root.ground.hitTest(this._x, this._y - 5, true) && anothersss == true) { fall = -3; this.gotoAndPlay(7); anothersss = false; } if (this.hit.hitTest(_root.hero._x, _root.hero._y, true)) { _root.deadsign.showw = 10; } while (_root.ground.hitTest(this._x, this._y - 10, true)) { this._y -= 0.1; jjump = true; } while (_root.ground.hitTest(this._x, this._y - 10, true)) { this._y += 1; } } } instance tenemy4 of movieClip 208 { onClipEvent (load) { var fall = 0; var xmove = 0.3; var turn = 0; this._xscale = 100; var death = false; var dead = false; var anothersss = true; } onClipEvent (enterFrame) { if (dead == false) { this._y += fall; } if (fall < 10) { ++fall; } if (_root.ground.hitTest(this._x, this._y - 5, true) && anothersss == true) { fall = -3; this.gotoAndPlay(7); anothersss = false; } if (this.hit.hitTest(_root.hero._x, _root.hero._y, true)) { _root.deadsign.showw = 10; } while (_root.ground.hitTest(this._x, this._y - 10, true)) { this._y -= 0.1; jjump = true; } while (_root.ground.hitTest(this._x, this._y - 10, true)) { this._y += 1; } } } instance tenemy2 of movieClip 208 { onClipEvent (load) { var fall = 0; var xmove = 0.3; var turn = 0; this._xscale = 100; var death = false; var dead = false; var anothersss = true; } onClipEvent (enterFrame) { if (dead == false) { this._y += fall; } if (fall < 10) { ++fall; } if (_root.ground.hitTest(this._x, this._y - 5, true) && anothersss == true) { fall = -3; this.gotoAndPlay(7); anothersss = false; } if (this.hit.hitTest(_root.hero._x, _root.hero._y, true)) { _root.deadsign.showw = 10; } while (_root.ground.hitTest(this._x, this._y - 10, true)) { this._y -= 0.1; jjump = true; } while (_root.ground.hitTest(this._x, this._y - 10, true)) { this._y += 1; } } } movieClip 210 { } movieClip 211 { } movieClip 214 { frame 5 { stop(); } instance of movieClip 191 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true) && _root.keyact == 1) { _root.eat = true; _root.ghost.interact.gotoAndStop(1); _root.ghost.side.gotoAndPlay('eat'); _root.ghost.top.gotoAndPlay('eat'); _root.ghost.below.gotoAndPlay('eat'); _parent.gotoAndPlay('death'); } } } frame 9 { _root.ground.block.gotoAndStop(1); } frame 32 { stop(); } } movieClip 215 { } instance crates1 of movieClip 215 { onClipEvent (load) { var fall = 0; var xmove = 0.3; var turn = 0; this._xscale = 100; var death = false; var dead = false; var anothersss = true; } onClipEvent (enterFrame) { if (dead == false) { this._y += fall; } if (fall < 10) { ++fall; } if (_root.ggground.hitTest(this._x, this._y + 25, true) && anothersss == true) { fall = -3; anothersss = false; } while (_root.ggground.hitTest(this._x, this._y + 20, true)) { this._y -= 0.1; jjump = true; } } } movieClip 217 { } movieClip 219 { } instance jti of movieClip 219 { onClipEvent (load) { this._alpha = 0; } onClipEvent (enterFrame) { this._x = _root.hero._x + _root.xmove * 1.9; this._y = _root.hero._y - 40; } } movieClip 221 { } instance gti of movieClip 221 { onClipEvent (load) { this._alpha = 0; } onClipEvent (enterFrame) { this._x = _root.camera._x; } } movieClip 223 { } instance gtii of movieClip 223 { onClipEvent (load) { this._alpha = 0; } onClipEvent (enterFrame) { this._rotation = Math.atan2(_root._ymouse - _y, _root._xmouse - _x) * 57.29578; this._x = _root.camera._x; } } movieClip 225 { } instance deadsign of movieClip 225 { onClipEvent (load) { this._alpha = 0; var showw = 0; } onClipEvent (enterFrame) { if (showw > 0) { this._alpha = 100; --showw; } if (showw == 0) { this._alpha = 0; } this._x = _root.hero._x + _root.xmove * 1.9; this._y = _root.hero._y - 40; } } movieClip 229 { frame 1 { stop(); } instance of movieClip 191 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true) && _root.keyact == 1) { _root.eat = true; _root.ghost.interact.gotoAndStop(1); _root.ghost.side.gotoAndPlay('eat'); _root.ghost.top.gotoAndPlay('eat'); _root.ghost.below.gotoAndPlay('eat'); _parent.gotoAndPlay('death'); } } } frame 2 { _root.ghost.interact.gotoAndStop(1); } frame 9 { _root.ground.block2.gotoAndStop(1); } frame 30 { stop(); } } movieClip 231 { } movieClip 234 { } movieClip 235 { instance of movieClip 234 { onClipEvent (enterFrame) { if (_root.hero._xscale == 100) { this._x = 63; } if (_root.hero._xscale == -100) { this._x = -233; } } } } instance clicky of movieClip 235 { onClipEvent (load) { this._alpha = 0; } onClipEvent (enterFrame) { this._x = _root.hero._x + _root.xmove; this._y = _root.hero._y - 20; } } movieClip 238 { } movieClip 240 { } movieClip 241 { } movieClip 242 { } movieClip 243 { frame 1 { gotoAndStop(random(5) + 2); } } movieClip 244 { frame 1 { stop(); } frame 2 { _root._quality = 'Low'; } frame 7 { _root.nextFrame(); } frame 12 { _root._quality = 'Medium'; } } movieClip 246 { } movieClip 249 { } movieClip 253 { } movieClip 255 { } movieClip 257 { } movieClip 258 { frame 1 { stop(); } } movieClip 262 { } movieClip 278 { } movieClip 280 { } movieClip 307 { } movieClip 345 { } movieClip 348 { } movieClip 361 { frame 1 { _root.duck = false; } frame 16 { gotoAndPlay(12); } frame 17 { _root.duck = false; } frame 30 { gotoAndPlay(12); } frame 35 { _root.duck = true; } frame 51 { _root.duck = false; } frame 53 { gotoAndPlay(12); } frame 87 { gotoAndPlay(12); } frame 89 { gotoAndPlay(12); } } movieClip 364 { } movieClip 369 { frame 6 { stop(); } } movieClip 372 { } movieClip 390 { frame 28 { stop(); } } movieClip 395 { frame 1 { stop(); } frame 16 { gotoAndPlay(14); } } movieClip 397 { frame 2 { stop(); } } movieClip 404 { frame 6 { stop(); } } movieClip 424 { frame 39 { stop(); } } movieClip 426 { } movieClip 430 { } movieClip 433 { frame 1 { stop(); } } movieClip 437 { frame 1 { stop(); } } movieClip 440 { frame 1 { stop(); } } movieClip 441 { frame 1 { stop(); } } movieClip 455 { instance of movieClip 426 { onClipEvent (load) { _parent.hatt.hatter.gotoAndStop(2); _parent.hatt.crowner.gotoAndStop(2); _parent.hatt.vkingg.gotoAndStop(2); } onClipEvent (enterFrame) { _parent.hatt.hatter.gotoAndStop(2); _parent.hatt.crowner.gotoAndStop(2); _parent.hatt.vkingg.gotoAndStop(2); } } frame 17 { gotoAndPlay(1); } instance of movieClip 426 { onClipEvent (load) { _parent.hatt.hatter.gotoAndStop(1); _parent.hatt.crowner.gotoAndStop(1); _parent.hatt.vkingg.gotoAndStop(1); } onClipEvent (enterFrame) { _parent.hatt.hatter.gotoAndStop(1); _parent.hatt.crowner.gotoAndStop(1); _parent.hatt.vkingg.gotoAndStop(1); } } instance of movieClip 426 { onClipEvent (load) { _parent.hatt.hatter.gotoAndStop(2); _parent.hatt.crowner.gotoAndStop(2); _parent.hatt.vkingg.gotoAndStop(2); } onClipEvent (enterFrame) { _parent.hatt.hatter.gotoAndStop(2); _parent.hatt.crowner.gotoAndStop(2); _parent.hatt.vkingg.gotoAndStop(2); } } frame 40 { gotoAndPlay(1); } instance of movieClip 426 { onClipEvent (load) { _parent.hatt.hatter.gotoAndStop(1); _parent.hatt.crowner.gotoAndStop(1); _parent.hatt.vkingg.gotoAndStop(1); } onClipEvent (enterFrame) { _parent.hatt.hatter.gotoAndStop(1); _parent.hatt.crowner.gotoAndStop(1); _parent.hatt.vkingg.gotoAndStop(1); } } instance of movieClip 426 { onClipEvent (load) { _parent.hatt.hatter.gotoAndStop(2); _parent.hatt.crowner.gotoAndStop(2); _parent.hatt.vkingg.gotoAndStop(2); } onClipEvent (enterFrame) { _parent.hatt.hatter.gotoAndStop(2); _parent.hatt.crowner.gotoAndStop(2); _parent.hatt.vkingg.gotoAndStop(2); } } } movieClip 464 { frame 8 { _parent.nextFrame(); } } movieClip 476 { frame 12 { gotoAndPlay(1); } } movieClip 479 { } movieClip 481 { } movieClip 483 { } movieClip 485 { } movieClip 487 { } movieClip 489 { } movieClip 491 { } movieClip 496 { } movieClip 497 { frame 1 { stop(); } frame 1 { _root.tunnel = false; } instance of movieClip 395 { onClipEvent (load) { if (_root.jdeath == true && _root.secret1 == 2) { this.play(); } if (_root.jdeath == true && _root.secret4 == 2) { this.play(); } if (_root.jdeath == true && _root.secret6 == 2) { this.play(); } if (_root.jdeath == true && _root.secret8 == 2) { this.play(); } } onClipEvent (enterFrame) { if (_root.jdeath == true && _root.secret1 == 2) { this.play(); } if (_root.jdeath == true && _root.secret4 == 2) { this.play(); } if (_root.jdeath == true && _root.secret6 == 2) { this.play(); } if (_root.jdeath == true && _root.secret8 == 2) { this.play(); } } } instance of movieClip 397 { onClipEvent (enterFrame) { this._rotation += 5; } } instance of movieClip 404 { onClipEvent (enterFrame) { this._rotation += 3; } } instance of movieClip 404 { onClipEvent (enterFrame) { this._rotation -= 3; } } instance of movieClip 395 { onClipEvent (load) { if (_root.jdeath == true && _root.secret1 == 2) { this.play(); } if (_root.jdeath == true && _root.secret4 == 2) { this.play(); } if (_root.jdeath == true && _root.secret6 == 2) { this.play(); } if (_root.jdeath == true && _root.secret8 == 2) { this.play(); } } onClipEvent (enterFrame) { if (_root.jdeath == true && _root.secret1 == 2) { this.play(); } if (_root.jdeath == true && _root.secret4 == 2) { this.play(); } if (_root.jdeath == true && _root.secret6 == 2) { this.play(); } if (_root.jdeath == true && _root.secret8 == 2) { this.play(); } } } frame 9 { _root.tunnel = true; } frame 12 { gotoAndPlay(10); } } movieClip 501 { } movieClip 502 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 505 { frame 1 { stop(); } } movieClip 508 { } movieClip 511 { frame 1 { stop(); } } movieClip 519 { } movieClip 521 { } movieClip 523 { } movieClip 545 { instance of movieClip 505 { onClipEvent (load) { if (_root.upp == 1) { this.gotoAndStop(2); } if (_root.upp == 2) { this.gotoAndStop(1); } } } frame 4 { stop(); } frame 5 { _root.shriek = false; } instance of movieClip 523 { onClipEvent (load) { if (_root.tunnel == false) { _root.hero.jrun.gotoAndPlay(1); } } } frame 11 { _root.shriek = true; } frame 21 { gotoAndStop(3); } frame 22 { play(); } frame 23 { play(); } frame 24 { _parent.interact.gotoAndStop(1); play(); } frame 25 { play(); } frame 26 { play(); } frame 27 { play(); } frame 34 { gotoAndStop(4); } } movieClip 549 { } movieClip 553 { } movieClip 555 { } movieClip 557 { } movieClip 560 { frame 1 { stop(); } } button 563 { on (release) { play(); } } movieClip 569 { } movieClip 572 { } movieClip 574 { } movieClip 588 { instance of movieClip 553 { onClipEvent (load) { if (_root.leftt == 0) { this._xscale = -100; this._x = 40; } else { if (_root.leftt == 1) { this._xscale = 100; this._x = 30; } } } } frame 5 { stop(); } frame 6 { _root.shriek = false; } instance of movieClip 574 { onClipEvent (load) { if (_root.jumpp == true) { _root.hero.jrun.gotoAndPlay('jump'); } } } frame 11 { _root.shriek = true; } frame 23 { gotoAndStop(5); } frame 34 { gotoAndStop(5); } } movieClip 601 { frame 14 { gotoAndStop(5); } } movieClip 602 { instance of movieClip 553 { onClipEvent (load) { if (_root.leftt == 0) { this._xscale = -100; this._x = 40; } else { if (_root.leftt == 1) { this._xscale = 100; this._x = 30; } } } } frame 5 { stop(); } frame 6 { _root.shriek = false; _root.hero.jrun.gotoAndPlay('duck'); } frame 11 { _root.shriek = true; } frame 23 { gotoAndStop(5); } frame 35 { gotoAndStop(5); } } movieClip 610 { frame 10 { _root.eat = false; } } movieClip 616 { } movieClip 621 { frame 13 { stop(); } } movieClip 622 { frame 1 { stop(); } frame 1 { } frame 2 { side._xscale = 100; side._x = -30; } frame 3 { side._xscale = -100; side._x = 30; } instance death of movieClip 621 { onClipEvent (enterFrame) { this._rotation += 10; if (_root.resettt == true) { _parent.gotoAndStop('rright'); } } } } instance ghost of movieClip 622 { onClipEvent (load) { this.swapDepths(5006); } } button 625 { on (rollOver) { _root.ghost._alpha = 0; _root.clickact = 5; Mouse.show(); } on (rollOut) { _root.ghost._alpha = 100; _root.clickact = 0; Mouse.hide(); } on (press) { gotoAndPlay(2); } } button 626 { on (rollOver) { _root.ghost._alpha = 0; _root.clickact = 5; Mouse.show(); } on (rollOut) { _root.ghost._alpha = 100; _root.clickact = 0; Mouse.hide(); } on (press) { gotoAndStop(1); } } movieClip 628 { } movieClip 629 { frame 1 { stop(); } frame 1 { _root.mus_0.setVolume(60); _root.mus_1.setVolume(50); _root.mus_3.setVolume(50); _root.mus_4.setVolume(70); _root.mus_e.setVolume(40); } frame 2 { _root.mus_0.setVolume(0); _root.mus_1.setVolume(0); _root.mus_4.setVolume(0); _root.mus_e.setVolume(0); } instance of movieClip 628 { onClipEvent (enterFrame) { _root.musiccc.setVolume(0); _root.musiccc1.setVolume(0); _root.musiccc2.setVolume(0); _root.musiccc3.setVolume(0); _root.musiccc4.setVolume(0); _root.musiccc5.setVolume(0); } } } instance of movieClip 629 { onClipEvent (enterFrame) { this._x = _root.camera._x - 300; this._y = _root.camera._y + 200; } } movieClip 631 { 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; parentColor.setTransform(camColor.getTransform()); } } movieClip 640 { } button 644 { on (release) { _root.ghost.gotoAndStop(3); _root.remoov = true; _root.resettt = true; _root.resetty = true; Mouse.hide(); play(); } } movieClip 649 { } button 657 { on (release) { _root.gotoAndStop('backtomenu'); _root.resettt = true; play(); } } movieClip 659 { frame 1 { stop(); } frame 4 { Mouse.show(); } instance of movieClip 649 { onClipEvent (enterFrame) { Mouse.show(); } } frame 13 { stop(); } } movieClip 662 { frame 4 { _parent.gotoAndStop(1); } } movieClip 664 { frame 4 { _parent.gotoAndStop(1); } } movieClip 666 { frame 4 { _parent.gotoAndStop(1); } } movieClip 668 { frame 4 { _parent.gotoAndStop(1); } } movieClip 669 { frame 5 { _parent.gotoAndStop(1); } } movieClip 670 { frame 1 { stop(); } } movieClip 673 { frame 4 { _parent.gotoAndStop(1); } } movieClip 675 { frame 4 { _parent.gotoAndStop(1); } } movieClip 677 { frame 4 { _parent.gotoAndStop(1); } } movieClip 679 { frame 4 { _parent.gotoAndStop(1); } } movieClip 681 { frame 4 { _parent.gotoAndStop(1); } } movieClip 682 { frame 1 { stop(); } frame 2 { stop(); } frame 5 { stop(); } frame 8 { stop(); } frame 11 { stop(); } frame 14 { stop(); } } frame 105 { _root.zombiet._y = 500000; _root.zombiet._x = -500000; _root.zombieg._y = 500000; _root.zombieg._x = -500000; _root.zombieh._y = 500000; _root.zombieh._x = -500000; _root.zombiep1._x = -500000; _root.zombiep2._x = -500000; _root.espawn._x = -50000; } frame 105 { mus_0.stop(); mus_1 = new Sound(_root.musiccc2); mus_1.attachSound('music_1'); mus_1.setVolume(50); mus_1.start(0, 200); } frame 105 { secretbar.onEnterFrame = function () { if (_root.secret1 == 1 && _root.secretbar.secr1.acttt == false) { _root.secretbar.secr1.gotoAndStop(2); } if (_root.secret8 == 1 && _root.secretbar.secr8.acttt == false) { _root.secretbar.secr8.gotoAndStop(2); } if (_root.secret4 == 1 && _root.secretbar.secr4.acttt == false) { _root.secretbar.secr4.gotoAndStop(2); } if (_root.secret6 == 1 && _root.secretbar.secr6.acttt == false) { _root.secretbar.secr6.gotoAndStop(2); } if (_root.secret2 == 1 && _root.secretbar.secr2.acttt == false) { _root.secretbar.secr2.gotoAndStop(2); } if (_root.secret3 == 1 && _root.secretbar.secr3.acttt == false) { _root.secretbar.secr3.gotoAndStop(2); } if (_root.secret5 == 1 && _root.secretbar.secr5.acttt == false) { _root.secretbar.secr5.gotoAndStop(2); } if (_root.secret7 == 1 && _root.secretbar.secr7.acttt == false) { _root.secretbar.secr7.gotoAndStop(2); } if (_root.secretd == 1 && _root.secretbar.secrd.acttt == false) { _root.secretbar.secrd.gotoAndStop(2); } if (_root.secret9 == 1 && _root.secretbar.secr9.acttt == false) { _root.secretbar.secr9.gotoAndStop(2); } if (_root.secret0 == 1 && _root.secretbar.secr0.acttt == false) { _root.secretbar.secr0.gotoAndStop(2); } this._x = _root.camera._x + _root.xmove; }; secret1 = 0; secret2 = 0; secret3 = 0; secret4 = 0; secret5 = 0; secret6 = 0; secret7 = 0; secret8 = 0; secret9 = 0; secret0 = 0; secretd = 0; _root.bird1._visible = false; _root.bird2._visible = false; } frame 105 { _root.camera._x = -2343; _root.ghost.gotoAndStop(3); _root.diestyle = 0; jackpoint = false; l1act.onEnterFrame = function () { if (level == 1) { if (_root.spaawn == 1) { } else { if (_root.spaawn == 1.5) { lvl1zombiet(); } else { if (_root.spaawn == 2) { lvl1zombiet(); } else { if (_root.spaawn == 3) { lvl1zombiet(); } else { if (_root.spaawn == 4) { } else { if (_root.spaawn == 4.6) { lvl1zombieh(); } else { if (_root.spaawn == 5) { lvl1zombieh(); } else { if (_root.spaawn == 6) { } else { if (_root.spaawn == 6.5) { lvl1zombieg(); } else { if (_root.spaawn == 7) { lvl1zombieg(); } } } } } } } } } } } if (level == 1 && jackpoint == false && _root.hero._x > -180 && _root.hero._y > 400) { jackpoint = true; } if (_root.spaawn == 9) { lvl1zombiep1(); } else { if (_root.spaawn == 10) { lvl1zombiep1(); } else { if (_root.spaawn == 11) { lvl1zombiep1(); } else { if (_root.spaawn == 12) { lvl1zombiep2(); } else { if (_root.spaawn == 13) { lvl1zombiet(); } else { if (_root.spaawn == 14) { } else { if (_root.spaawn == 15) { lvl1zombieg(); } else { if (_root.spaawn == 16) { lvl1zombieg(); } else { if (_root.spaawn == 17) { lvl1zombieh(); } else { if (_root.spaawn == 18) { lvl1zombieh(); } else { if (_root.spaawn == 19) { lvl1zombiet(); } } } } } } } } } } } if (enemieshouse == false && _root.camera._x > -1400 && level == 1) { spaawn = 9; enemieshouse = true; } if (enemiesout == false && _root.camera._x > -200 && level == 1) { spaawn = 15; enemiesout = true; } if (_root.hero.hitTest(_root.nextlv) && level == 1 || _root.hero._x > 2350) { transremov = true; spaawn = 1; _root.camera._x = -2343; _root.hero._x = -2500; _root.hero._y = 50000000; level2in = 1; _root.level = 2; diefall = false; _root.zombiep1.sett = true; _root.zombiep2.sett = true; _root.zombieg.sett = true; _root.zombieh.sett = true; _root.zombiet.sett = true; _root.nextscreen.gotoAndPlay(2); } if (levelreset1 == true && level == 1) { _root.jdeath = false; _root.ghost.gotoAndStop(3); _root.crates22.gotoAndStop(1); _root.intvis1.gotoAndStop(1); _root.ground.iact1.gotoAndStop(1); _root.hero.gotoAndStop(1); if (jackpoint == false) { _root.hero._x = -2626; _root.hero._y = 252; _root.camera._x = -2346; } if (jackpoint == true) { _root.hero._x = -180; _root.hero._y = 480; _root.camera._x = -180; _root.hero._xscale = 100; _root.xmove = 6; _root.fall = 0; } _root.hero._xscale = 100; _root.xmove = 6; _root.fall = 0; _root.spaawn = 1; _root.greenbeast.gotoAndStop(1); _root.ground.block2.gotoAndStop(2); i += 50; goscreen = 0; _root.remoov = false; _root.zombiep1.sett = true; _root.zombiep2.sett = true; enemieshouse = false; enemiesout = false; _root.zombieg.sett = true; _root.zombieh.sett = true; _root.zombiet.sett = true; _root.zombieh.xmove = -0.3; _root.zombiet.xmove = -0.3; _root.zombieg.xmove = 0.3; levelreset1 = false; } }; } frame 105 { function lvl1zombiet() { duplicateMovieClip(_root.zombiet, 'zombiet' + i, i); ++i; } function lvl1zombieh() { duplicateMovieClip(_root.zombieh, 'zombiet' + i, i); ++i; } function lvl1zombieg() { duplicateMovieClip(_root.zombieg, 'zombiet' + i, i); ++i; } function lvl1zombiep1() { duplicateMovieClip(_root.zombiep1, 'zombiet' + i, i); ++i; } function lvl1zombiep2() { duplicateMovieClip(_root.zombiep2, 'zombiet' + i, i); ++i; } } frame 105 { fall = 0; xmove = 7; xmovem = 0; jump = false; jumpp = false; boost = 0; jumpnex = 0; _root.zombieh._y = 5000; _root.zombieg._y = 5000; _root.zombiet._y = 5000; stop(); goscreen = 0; level = 1; tutorial = false; absmove = 6; xmove = absmove; jdeath = false; Mouse.hide(); level2in = 0; transremov = false; ladder = false; _root.ghost._alpha = 100; hero.onEnterFrame = function () { _root.fpsc.fff = _root.jackpoint; }; _root.fpsc.fff = _root.jackpoint; diefall = 0; diefalll = false; gameover.onEnterFrame = function () { _root.ghost.hat.gotoAndStop(2); this._x = _root.camera._x; this._y = _root.camera._y - 150; }; shriek = true; gfall = 5; tunnel = false; levelreset1 = false; levelreset2 = false; levelreset3 = false; levelreset35 = false; levelreset4 = false; levelresetb = false; ghost.onEnterFrame = function () {}; knightpuzz = 0; spaawn = 1; i = 50; remoov = false; enemieshouse = false; enemiesout = false; sidess = 0; eat = false; leftt = 0; upp = 0; duck = false; _root.espawn._x = -50000; resettt = false; diestyle = 0; akeypress = false; keyact = 0; transmit = false; clickkk = false; clickact = 0; _root.hero._x = -2626; _root.hero._y = 252; _root.hero._xscale = -100; _root.ground.block2.gotoAndStop(2); ghost.onMouseDown = function () { _root.clickkk = true; }; ghost.onMouseUp = function () { _root.clickkk = false; }; espawn.onEnterFrame = function () { if (_root.ground.hitTest(_root.hero._x, _root.hero._y + 30, true)) { _root.jwalk.play(); } _root.randv = random(16) + 2; if (_root.hero._y > 600 && jdeath == true) { xmove = 0; } if (_root.clickkk == true) { ++clickact; } if (_root.clickkk == false) { clickact = 0; } _root.nextscreen._x = _root.camera._x; _root.nextscreen._y = _root.camera._y; if (Key.isDown(65)) { akeypress = true; } else { akeypress = false; } if (akeypress == true) { ++keyact; } if (akeypress == false) { keyact = 0; } _root.fpsc._x = _root.hero._x; _root.fpsc._y = _root.hero._y + 20; if (_root.resettt == true) { _root.ghost.gotoAndStop(3); _root.levelreset1 = true; _root.levelreset2 = true; _root.levelreset3 = true; _root.levelreset35 = true; _root.levelreset4 = true; _root.levelresetb = true; _root.resettt = false; } if (_root.hero._x > 2400 && spaawn == 53) { spaawn = 60; } _root.cambg._x = _root.camera._x; if (jdeath == false) { if (_root.hero._x > -2343 && level == 2 && _root.hero._x < 2072) { _root.camera._x = _root.hero._x; } else { if (_root.hero._x > -2343 && level == 1 && _root.hero._x < 2030) { _root.camera._x = _root.hero._x; } else { if (_root.hero._x > -2470 && level == 3 && _root.hero._x < 3200) { _root.camera._x = _root.hero._x; } else { if (_root.hero._x > -2543 && level == 4 && _root.hero._x < 3050) { _root.camera._x = _root.hero._x; } else { if (_root.hero._x > -2543 && level == 5) { _root.camera._x = _root.hero._x; } } } } } } if (jdeath == true) { _root.movee._x = 50000; ++goscreen; if (diestyle == 50) { } if (diestyle == 1) { if (diefall < 20) { ++diefall; } _root.hero._y += diefall; _root.hero.gotoAndStop('death2'); } if (diestyle == 2) { _root.hero.gotoAndStop('death'); } if (diestyle == 3) { if (diefall < 30) { ++diefall; } _root.hero._xscale = 100; _root.hero._x += diemove; diemove = 5; _root.hero._y += diefall; _root.hero.gotoAndStop('death3'); } if (diestyle == 4) { _root.hero.gotoAndStop('death4'); } if (diestyle == 5) { _root.hero.gotoAndStop('death5'); } if (diestyle == 6) { if (diefall < 20) { ++diefall; } _root.hero._xscale = 100; _root.hero._x += diemove; diemove = -5; _root.hero._y += diefall; _root.hero.gotoAndStop('death6'); } if (diestyle == 5 || diestyle == 4 || diestyle == 2) { boost *= 0.7; if (fall < 20) { ++fall; } _root.hero._y += fall * 1.3 + boost; while (_root.ground.hitTest(_root.hero._x, _root.hero._y, true)) { _root.hero._y -= 1.0e-006; fall = 0; jump = true; } } } if (goscreen == 30) { _root.gameover.gotoAndPlay(2); } if (_root.hero._y < _root.secure._y) { _root.ground.addd.gotoAndStop(2); } else { _root.ground.addd.gotoAndStop(1); } if (jdeath == false) { gfall = -10; _root.ghost._x = _root._xmouse; _root.ghost._y = _root._ymouse; } else { _root.ghost._y += gfall; ++gfall; _root.ghost.gotoAndStop('gameover'); } if (_root.movee.lleft.hitTest(_xmouse, _ymouse, true)) { _root.ghost.gotoAndStop('lleft'); leftt = 1; sidess = 1; } if (_root.movee.rright.hitTest(_xmouse, _ymouse, true)) { _root.ghost.gotoAndStop('rright'); leftt = 0; sidess = 1; } if (_root.movee.dwn.hitTest(_xmouse, _ymouse, true)) { _root.ghost.gotoAndStop('dwn'); upp = 0; } if (_root.movee.upp.hitTest(_xmouse, _ymouse, true)) { _root.ghost.gotoAndStop('up'); upp = 1; } if (ladder == false) { if (_root.movee.lleft.hitTest(_xmouse, _ymouse, true) && _root.clickact == 1) { _root.ghvoice.gotoAndStop(random(7) + 2); _root.jvoice.gotoAndStop(_root.randv); _root.hero.jrun.gotoAndPlay(1); _root.hero.jrun.gotoAndPlay(1); _root.hero.jrun.gotoAndPlay(1); _root.xmove = _root.absmove; _root.hero._xscale = 100; _root.ghost.side.gotoAndPlay('scream'); } if (_root.movee.rright.hitTest(_xmouse, _ymouse, true) && _root.clickact == 1) { _root.ghvoice.gotoAndStop(random(7) + 2); _root.jvoice.gotoAndStop(_root.randv); _root.hero.jrun.gotoAndPlay(1); _root.hero.jrun.gotoAndPlay(1); _root.hero.jrun.gotoAndPlay(1); _root.hero._xscale = -100; _root.xmove = -_root.absmove; _root.ghost.side.gotoAndPlay('scream'); } if (_root.movee.dwn.hitTest(_xmouse, _ymouse, true) && _root.clickact == 1 && tunnel == false) { _root.ghvoice.gotoAndStop(random(7) + 2); _root.jvoice.gotoAndStop(_root.randv); _root.jumpp = true; _root.ghost.below.gotoAndPlay('scream'); } if (_root.movee.upp.hitTest(_xmouse, _ymouse, true) && _root.clickact == 1) { _root.ghvoice.gotoAndStop(random(7) + 2); _root.jvoice.gotoAndStop(_root.randv); if (_root.duck == false) { _root.hero.jrun.gotoAndPlay('duck'); _root.ghost.top.gotoAndPlay('scream'); } } } if (ladder == true) { if (_root.movee.lleft.hitTest(_xmouse, _ymouse, true) && _root.clickact == 1) { _root.ghvoice.gotoAndStop(random(7) + 2); _root.jvoice.gotoAndStop(_root.randv); _root.ghost.side.gotoAndPlay('scream'); _root.hero.laddder.gotoAndPlay('rightt'); } if (_root.movee.rright.hitTest(_xmouse, _ymouse, true) && _root.clickact == 1) { _root.ghvoice.gotoAndStop(random(7) + 2); _root.jvoice.gotoAndStop(_root.randv); _root.ghost.side.gotoAndPlay('scream'); _root.hero.laddder.gotoAndPlay('leftt'); } if (_root.movee.dwn.hitTest(_xmouse, _ymouse, true) && _root.clickact == 1) { _root.ghvoice.gotoAndStop(random(7) + 2); _root.jvoice.gotoAndStop(_root.randv); ladderboost = -15; _root.ghost.below.gotoAndPlay('scream'); } if (_root.movee.upp.hitTest(_xmouse, _ymouse, true) && _root.clickact == 1) { _root.ghvoice.gotoAndStop(random(7) + 2); _root.jvoice.gotoAndStop(_root.randv); ladderboost = 15; _root.ghost.top.gotoAndPlay('scream'); } } if (jdeath == false) { _root.movee._x = _root.hero._x; _root.movee._y = _root.hero._y; _root.hero._x += xmove + xmovem; _root.hero._y += fall + boost; if (_root.ground.hitTest(_root.hero._x, _root.hero._y, true)) { fall = 0; } if (_root.stairs.hitTest(_root.hero._x, _root.hero._y, true)) { fall = 0; } while (_root.ground.hitTest(_root.hero._x, _root.hero._y, true)) { _root.hero._y -= 1; jump = true; } while (_root.stairs.hitTest(_root.hero._x, _root.hero._y, true)) { _root.hero._y -= 1; jump = true; } if (_root.ground.hitTest(_root.hero._x, _root.hero._y + 30, true) && jumpp == false) { _root.hero.jrun.play(); } if (_root.ground.hitTest(_root.hero._x + 20, _root.hero._y - 30, true)) { xmove = -absmove; _root.hero._xscale = -100; } else { if (_root.ground.hitTest(_root.hero._x - 20, _root.hero._y - 20, true)) { xmove = absmove; _root.hero._xscale = 100; } else { if (fall < 30) { ++fall; } } } while (_root.ground.hitTest(_root.hero._x, _root.hero._y - 10, true)) { _root.hero._y += 1; } while (_root.ground.hitTest(_root.hero._x, _root.hero._y - 35, true)) { _root.hero._y += 1; fall = 5; } ++jumpnex; if (jumpp == true && jumpnex > 25) { _root.hero.jrun.gotoAndPlay('jump'); fall = -11; jumpnex = 0; jumpp = false; } else { jumpp = false; } } }; diemove = 0; } movieClip 684 { } movieClip 686 { } movieClip 689 { } movieClip 693 { } movieClip 696 { } movieClip 700 { } movieClip 703 { } movieClip 704 { } movieClip 706 { } movieClip 707 { } movieClip 709 { } movieClip 710 { } movieClip 712 { } movieClip 713 { } movieClip 715 { } movieClip 716 { } movieClip 718 { } movieClip 719 { } movieClip 726 { } movieClip 728 { } button 729 { on (rollOver) { _root.ghost.interact.gotoAndStop(2); yaa = true; } on (rollOut) { yaa = false; _root.ghost.interact.gotoAndStop(1); } } movieClip 737 { frame 1 { stop(); yaa = false; } instance hit of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diestyle = 2; _root.jdeath = true; } } } instance of movieClip 191 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true) && _root.keyact == 1 && _parent.yaa == true) { _root.eat = true; _root.ghost.interact.gotoAndStop(1); _root.ghost.side.gotoAndPlay('eat'); _root.ghost.top.gotoAndPlay('eat'); _root.ghost.below.gotoAndPlay('eat'); _parent.play(); } } } frame 2 { death = true; } frame 6 { death = false; } frame 20 { stop(); } frame 20 { remov = true; } } instance zombieg of movieClip 737 { onClipEvent (load) { var fall = 0; var xmove = 0.3; var turn = 0; this._xscale = 100; var death = false; var dead = false; var nextwalk = 0; var changedir = 0; var sett = true; var walkchange = random(30) + 10; } onClipEvent (enterFrame) { if (dead == false) { this._y += fall; this._x += xmove; if (xmove > 0) { this._xscale = -100; } if (xmove < 0) { this._xscale = 100; } } if (this._x < -2526) { this._x += 100; } if (fall < 10) { ++fall; } if (this._x > -2400) { ++turn; ++nextwalk; } if (this._x < -2400) { this._xscale = -100; this.xmove = 0.3; } if (nextwalk > walkchange && dead == false) { changedir = random(2) + 1; if (changedir == 1) { this.hedg.idle.gotoAndPlay(1); xmove = 0.3; walkchange = random(300) + 100; nextwalk = 0; turn = 0; } else { if (changedir == 2) { this.hedg.idle.gotoAndPlay(1); xmove = -0.3; walkchange = random(300) + 100; nextwalk = 0; turn = 0; } } } while (_root.ground.hitTest(this._x, this._y, true)) { this._y -= 1; } if (_root.ground.hitTest(this._x + 20, this._y - 20, true)) { xmove = -0.3; this._xscale = 100; } else { if (_root.ground.hitTest(this._x - 20, this._y - 20, true)) { xmove = 0.3; this._xscale = -100; } } if (_root.level == 1) { if (_root.spaawn == 6 && sett == true) { _root.spaawn = 6.5; sett = false; } if (_root.spaawn == 6.5 && sett == true) { this._x = -1790; this._y = 320; _root.spaawn = 7; sett = false; } if (_root.spaawn == 7 && sett == true) { this._x = -1540; this._y = 100; _root.spaawn = 8; sett = false; } if (_root.spaawn == 15 && sett == true) { this._x = 257; this._y = 60; _root.spaawn = 16; sett = false; } if (_root.spaawn == 16 && sett == true) { this._x = 970; this._y = 60; _root.spaawn = 17; sett = false; } } if (_root.level == 2) { if (_root.spaawn == 1 && sett == true) { _root.spaawn = 1.5; sett = false; } if (_root.spaawn == 1.5 && sett == true) { this._x = -1785; this._y = 170; _root.spaawn = 2; sett = false; } if (_root.spaawn == 2 && sett == true) { this._x = -1309; this._y = 20; _root.spaawn = 3; sett = false; } } if (_root.remoov == true && this._x > -2400) { this._y = 10; } if (this.remov == true) { this._y = 10; } if (this._y < 15 || _root.transremov == true) { removeMovieClip(this); } } } movieClip 739 { } movieClip 741 { } movieClip 744 { } movieClip 745 { } movieClip 751 { } movieClip 753 { } movieClip 754 { } movieClip 755 { } movieClip 757 { } movieClip 759 { } movieClip 760 { } movieClip 762 { } movieClip 773 { frame 1 { stop(); yaa = false; } instance of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diestyle = 2; _root.jdeath = true; } } } instance of movieClip 191 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true) && _root.keyact == 1 && _parent.yaa == true) { _root.eat = true; _root.ghost.interact.gotoAndStop(1); _root.ghost.side.gotoAndPlay('eat'); _root.ghost.top.gotoAndPlay('eat'); _root.ghost.below.gotoAndPlay('eat'); _parent.play(); } } } frame 2 { death = true; } frame 6 { death = false; } frame 18 { remov = true; } frame 20 { stop(); } } instance zombiet of movieClip 773 { onClipEvent (load) { var fall = 0; var xmove = -0.3; this._xscale = -100; var turn = 0; var death = false; var dead = false; var nextwalk = 0; var changedir = 0; var sett = true; var walkchange = random(30) + 10; } onClipEvent (enterFrame) { if (dead == false) { this._y += fall; this._x += xmove; if (xmove > 0) { this._xscale = -100; } if (xmove < 0) { this._xscale = 100; } } if (this._x < -2526) { this._x += 100; } if (fall < 10) { ++fall; } if (this._x > -2400) { ++turn; ++nextwalk; } if (this._x < -2400) { this._xscale = 100; this.xmove = -0.3; } if (this._x > 2400 && _root.level == 1) { this._x -= 10; } if (this._y > 5000) { } if (nextwalk > walkchange && dead == false) { changedir = random(2) + 1; if (changedir == 1) { this.hedg.idle.gotoAndPlay(1); xmove = -0.3; walkchange = random(300) + 100; nextwalk = 0; turn = 0; } else { if (changedir == 2) { this.hedg.idle.gotoAndPlay(1); xmove = 0.3; walkchange = random(300) + 100; nextwalk = 0; turn = 0; } } } if (_root.hero.knhit.hitTest(this) && dead == false) { this.gotoAndPlay(2); dead = true; } if (_root.ground.hitTest(this._x, this._y, true)) { fall = 0; } while (_root.ground.hitTest(this._x, this._y, true)) { this._y -= 1; } if (_root.ground.hitTest(this._x + 20, this._y - 20, true)) { xmove = -0.3; this._xscale = 100; } else { if (_root.ground.hitTest(this._x - 20, this._y - 20, true)) { xmove = 0.3; this._xscale = -100; } } if (_root.level == 1) { if (_root.spaawn == 1 && sett == true) { _root.spaawn = 1.5; sett = false; } if (_root.spaawn == 1.5 && sett == true) { this._x = -2179; this._y = 320; _root.spaawn = 2; sett = false; } if (_root.spaawn == 2 && sett == true) { this._x = -2100; this._y = 320; _root.spaawn = 3; sett = false; } if (_root.spaawn == 3 && sett == true) { this._x = -1200; this._y = 100; _root.spaawn = 4; sett = false; } if (_root.spaawn == 13 && sett == true) { this._x = -650; this._y = 250; _root.spaawn = 13.5; sett = false; } if (_root.spaawn == 19 && sett == true) { this._x = 2200; this._y = 50; _root.spaawn = 20; sett = false; } } if (_root.level == 2) { if (_root.spaawn == 3 && sett == true) { _root.spaawn = 3.5; sett = false; } if (_root.spaawn == 3.5 && sett == true) { this._x = -1505; this._y = 170; _root.spaawn = 4; sett = false; } if (_root.spaawn == 5 && sett == true) { this._x = -735; this._y = 50; _root.spaawn = 6; sett = false; } } if (_root.remoov == true && this._x > -2400) { this._y = 10; } if (this.remov == true) { this._y = 10; } if (this._y < 15 || _root.transremov == true) { removeMovieClip(this); } } } movieClip 776 { } movieClip 777 { } movieClip 779 { } movieClip 780 { } movieClip 782 { } movieClip 783 { } movieClip 785 { } movieClip 786 { } movieClip 788 { } movieClip 789 { } movieClip 795 { } movieClip 796 { } movieClip 804 { frame 1 { stop(); yaa = false; } instance of movieClip 191 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true) && _root.keyact == 1 && _parent.yaa == true) { _root.eat = true; _root.ghost.interact.gotoAndStop(1); _root.ghost.side.gotoAndPlay('eat'); _root.ghost.top.gotoAndPlay('eat'); _root.ghost.below.gotoAndPlay('eat'); _parent.play(); } } } instance hit of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diestyle = 2; _root.jdeath = true; } } } frame 2 { death = true; } frame 6 { death = false; } frame 20 { remov = true; } frame 20 { stop(); } } instance zombieh of movieClip 804 { onClipEvent (load) { var fall = 0; var xmove = -0.3; this._xscale = -100; var turn = 0; var death = false; var dead = false; var nextwalk = 0; var sett = true; var changedir = 0; var walkchange = random(200) + 50; } onClipEvent (enterFrame) { if (dead == false) { this._y += fall; this._x += xmove; if (xmove > 0) { this._xscale = -100; } if (xmove < 0) { this._xscale = 100; } } if (this._x < -2526) { this._x += 100; } if (fall < 10) { ++fall; } if (this._x > -2400) { ++turn; ++nextwalk; } if (this._x < -2400) { this._xscale = 100; this.xmove = -0.3; } if (nextwalk > walkchange && dead == false) { changedir = random(2) + 1; if (changedir == 1) { this.hedg.idle.gotoAndPlay(1); xmove = -0.3; walkchange = random(300) + 100; nextwalk = 0; turn = 0; } else { if (changedir == 2) { this.hedg.idle.gotoAndPlay(1); xmove = 0.3; walkchange = random(300) + 100; nextwalk = 0; turn = 0; } } } if (_root.hero.knhit.hitTest(this) && dead == false) { this.gotoAndPlay(2); dead = true; } while (_root.ground.hitTest(this._x, this._y, true)) { this._y -= 1; } if (_root.ground.hitTest(this._x + 20, this._y - 20, true)) { xmove = -0.3; this._xscale = 100; } else { if (_root.ground.hitTest(this._x - 20, this._y - 20, true)) { xmove = 0.3; this._xscale = -100; } } if (_root.level == 1) { if (_root.spaawn == 4 && sett == true) { _root.spaawn = 4.6; sett = false; } if (_root.spaawn == 4.6 && sett == true) { this._x = -2150; this._y = 320; _root.spaawn = 5; sett = false; } if (_root.spaawn == 5 && sett == true) { this._x = -1690; this._y = 100; _root.spaawn = 6; sett = false; } if (_root.spaawn == 17 && sett == true) { this._x = 350; this._y = 60; _root.spaawn = 18; sett = false; } if (_root.spaawn == 18 && sett == true) { this._x = 2100; this._y = 60; _root.spaawn = 19; sett = false; } } if (_root.level == 2) { if (_root.spaawn == 4 && sett == true) { _root.spaawn = 4.6; sett = false; } if (_root.spaawn == 4.6 && sett == true) { this._x = -856; this._y = 60; _root.spaawn = 5; sett = false; } } if (_root.remoov == true && this._x > -2400) { this._y = 10; } if (this.remov == true) { this._y = 10; } if (this._y < 15 || _root.transremov == true) { removeMovieClip(this); } } } instance of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.jdeath = true; } } } instance hit of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.jdeath = true; } } } instance of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.jdeath = true; } } } movieClip 809 { } movieClip 814 { } movieClip 816 { } movieClip 817 { instance hit of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diestyle = 4; _root.jdeath = true; } } } } instance of movieClip 817 { onClipEvent (load) { var fall = 0; var xmove = 0.3; this._xscale = 100; var turn = 0; var death = false; var dead = false; var nextwalk = 0; var changedir = 0; var sett = true; var walkchange = random(30) + 10; } onClipEvent (enterFrame) { if (dead == false) { this._y += fall; this._x += xmove; if (xmove > 0) { this._xscale = -100; } if (xmove < 0) { this._xscale = 100; } } if (fall < 10) { ++fall; } if (this._x > -2400) { ++turn; ++nextwalk; } if (this._x < 1500) { xmove = 0.3; nextwalk = 0; } if (this._x > 1868) { xmove = -0.3; nextwalk = 0; } if (nextwalk > walkchange && dead == false) { changedir = random(2) + 1; if (xmove > 0) { this.hedg.idle.gotoAndPlay(1); xmove = -0.3; walkchange = 200; nextwalk = 0; turn = 0; } else { if (xmove < 0) { this.hedg.idle.gotoAndPlay(1); xmove = 0.3; walkchange = 200; nextwalk = 0; turn = 0; } } } if (_root.hero.knhit.hitTest(this) && dead == false) { this.gotoAndPlay(2); dead = true; } while (_root.ground.hitTest(this._x, this._y, true)) { this._y -= 1; fall = 0; } if (_root.ground.hitTest(this._x + 20, this._y - 20, true)) { xmove = -0.3; this._xscale = 100; } else { if (_root.ground.hitTest(this._x - 20, this._y - 20, true)) { xmove = 0.3; this._xscale = -100; } } if (this._y < 15 || _root.transremov == true) { removeMovieClip(this); } } } instance of movieClip 817 { onClipEvent (load) { var fall = 0; var xmove = -0.3; this._xscale = 100; var turn = 0; var death = false; var dead = false; var nextwalk = 0; var changedir = 0; var sett = true; var walkchange = 200; } onClipEvent (enterFrame) { if (dead == false) { this._y += fall; this._x += xmove; if (xmove > 0) { this._xscale = -100; } if (xmove < 0) { this._xscale = 100; } } if (fall < 10) { ++fall; } if (this._x > -2400) { ++turn; ++nextwalk; } if (this._x < 1400) { xmove = 0.3; nextwalk = 0; } if (this._x > 1868) { xmove = -0.3; nextwalk = 0; } if (this._x < -2400) { this._xscale = 100; this.xmove = -0.3; } if (nextwalk > walkchange && dead == false) { changedir = random(2) + 1; if (xmove > 0) { this.hedg.idle.gotoAndPlay(1); xmove = -0.3; walkchange = 200; nextwalk = 0; turn = 0; } else { if (xmove < 0) { this.hedg.idle.gotoAndPlay(1); xmove = 0.3; walkchange = 200; nextwalk = 0; turn = 0; } } } if (_root.hero.knhit.hitTest(this) && dead == false) { this.gotoAndPlay(2); dead = true; } while (_root.ground.hitTest(this._x, this._y, true)) { this._y -= 1; fall = 0; } if (_root.ground.hitTest(this._x + 20, this._y - 20, true)) { xmove = -0.3; this._xscale = 100; } else { if (_root.ground.hitTest(this._x - 20, this._y - 20, true)) { xmove = 0.3; this._xscale = -100; } } if (this._y < 15 || _root.transremov == true) { removeMovieClip(this); } } } movieClip 821 { } movieClip 824 { } instance zombiep1 of movieClip 737 { onClipEvent (load) { var xmove = 0.3; var turn = 0; var death = false; var dead = false; var nextwalk = 0; var sett = true; var changedir = 0; var walkchange = random(30) + 10; } onClipEvent (enterFrame) { if (dead == false) { this._y += fall; this._x += xmove; if (xmove > 0) { this._xscale = -100; } if (xmove < 0) { this._xscale = 100; } } if (this._x > -2400) { ++turn; ++nextwalk; } if (this._x < -2400) { this._xscale = -100; this.xmove = 0.3; } if (nextwalk > walkchange && dead == false) { changedir = random(2) + 1; if (changedir == 1) { this.hedg.idle.gotoAndPlay(1); xmove = 0.3; walkchange = random(300) + 100; nextwalk = 0; turn = 0; } else { if (changedir == 2) { this.hedg.idle.gotoAndPlay(1); xmove = -0.3; walkchange = random(300) + 100; nextwalk = 0; turn = 0; } } } if (_root.hero.knhit.hitTest(this) && dead == false) { this.gotoAndPlay(2); dead = true; } if (_root.upstor.hitTest(this._x + 20, this._y - 20, true)) { xmove = -0.3; } else { if (_root.upstor.hitTest(this._x - 20, this._y - 20, true)) { xmove = 0.3; } } if (_root.spaawn == 8 && sett == true) { _root.spaawn = 8.5; sett = false; } if (_root.spaawn == 9 && sett == true) { this._x = -928; _root.spaawn = 10; sett = false; } if (_root.spaawn == 10 && sett == true) { this._x = -277; _root.spaawn = 11; sett = false; } if (_root.spaawn == 11 && sett == true) { this._x = 17; _root.spaawn = 12; sett = false; } if (_root.remoov == true && this._x > -2400) { this._y = 10; } if (this.remov == true) { this._y = 10; } if (this._y < 15 || _root.transremov == true) { removeMovieClip(this); } } } instance zombiep2 of movieClip 804 { onClipEvent (load) { var xmove = -0.3; var turn = 0; var death = false; var dead = false; var sett = true; var nextwalk = 0; var changedir = 0; var walkchange = random(30) + 50; } onClipEvent (enterFrame) { if (dead == false) { this._y += fall; this._x += xmove; if (xmove > 0) { this._xscale = -100; } if (xmove < 0) { this._xscale = 100; } } if (this._x > -2400) { ++turn; ++nextwalk; } if (this._x < -2400) { this._xscale = 100; this.xmove = -0.3; } if (nextwalk > walkchange && dead == false) { changedir = random(2) + 1; if (changedir == 1) { this.hedg.idle.gotoAndPlay(1); xmove = -0.3; walkchange = random(300) + 100; nextwalk = 0; turn = 0; } else { if (changedir == 2) { this.hedg.idle.gotoAndPlay(1); xmove = 0.3; walkchange = random(300) + 100; nextwalk = 0; turn = 0; } } } if (_root.hero.knhit.hitTest(this) && dead == false) { this.gotoAndPlay(2); dead = true; } if (_root.upstor.hitTest(this._x + 20, this._y - 20, true)) { xmove = -0.3; } else { if (_root.upstor.hitTest(this._x - 20, this._y - 20, true)) { xmove = 0.3; } } if (_root.spaawn == 8.5 && sett == true) { sett = false; } if (_root.spaawn == 12 && sett == true) { this._x = -226; _root.spaawn = 13; sett = false; } if (_root.remoov == true && this._x > -2400) { this._y = 10; } if (this.remov == true) { this._y = 10; } if (this._y < 15 || _root.transremov == true) { removeMovieClip(this); } } } movieClip 826 { } movieClip 828 { } movieClip 831 { frame 1 { stop(); } } movieClip 834 { frame 1 { stop(); } } movieClip 835 { } movieClip 836 { } movieClip 851 { frame 1 { stop(); } instance of movieClip 191 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true) && _root.keyact == 1) { _root.eat = true; _root.ghost.interact.gotoAndStop(1); _root.ghost.side.gotoAndPlay('eat'); _root.ghost.top.gotoAndPlay('eat'); _root.ghost.below.gotoAndPlay('eat'); _parent.gotoAndPlay('death'); } } } frame 2 { _root.ground.iact1.gotoAndStop(2); } frame 22 { stop(); } } movieClip 855 { } movieClip 857 { } movieClip 870 { frame 1 { stop(); } instance of movieClip 857 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diestyle = 5; _parent.play(); _root.jdeath = true; } } } frame 29 { stop(); } } movieClip 872 { } movieClip 875 { } movieClip 878 { } movieClip 879 { } movieClip 880 { } movieClip 888 { } movieClip 890 { frame 1 { stop(); } frame 8 { stop(); } } instance sec1 of movieClip 890 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false && _root.secret1 == 0) { _root.secret1 = 1; _root.secretbar.uppp = false; _root.secretbar.buff = 0; this.gotoAndPlay('collect'); } } } instance sec35 of movieClip 890 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false && _root.secret3 == 0) { _root.secret3 = 1; _root.secret5 = 1; _root.secretbar.uppp = false; _root.secretbar.buff = 0; this.gotoAndPlay('collect'); } } } instance sec9 of movieClip 890 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false && _root.secret9 == 0) { _root.secret9 = 1; _root.secretbar.uppp = false; _root.secretbar.buff = 0; this.gotoAndPlay('collect'); } } } instance sec4 of movieClip 890 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false && _root.secret4 == 0) { _root.secret4 = 1; _root.secretbar.uppp = false; _root.secretbar.buff = 0; this.gotoAndPlay('collect'); } } } movieClip 897 { } movieClip 898 { } instance bird1 of movieClip 898 { onClipEvent (enterFrame) { this._x += (_root.hero._x - _root.hero._xscale / 4 - this._x) * 0.5; this._y += (_root.hero._y - 60 - this._y) * 0.5; this._xscale = _root.hero._xscale; if (_root.resettt == true) { this._y = _root.hero._y - 90; this._x = _root.hero._x - 100; _root.bird2._y = _root.hero._y - 90; _root.bird2._x = _root.hero._x - 100; } } } movieClip 903 { } movieClip 904 { } instance bird2 of movieClip 904 { onClipEvent (enterFrame) { this._x += (_root.hero._x - _root.hero._xscale / 4 - this._x) * 0.5; this._y += (_root.hero._y - 60 - this._y) * 0.5; this._xscale = _root.hero._xscale; if (_root.resettt == true) { this._y = _root.hero._y - 90; this._x = _root.hero._x - 100; _root.bird2._y = _root.hero._y - 90; _root.bird2._x = _root.hero._x - 100; } } } movieClip 907 { } movieClip 910 { } movieClip 914 { } movieClip 916 { } movieClip 918 { } movieClip 920 { frame 91 { stop(); } } movieClip 921 { frame 1 { stop(); acttt = false; } frame 2 { acttt = true; stop(); partay = 0; } instance of movieClip 918 { onClipEvent (enterFrame) { if (Key.isDown(49) && _root.secret1 == 1 && _parent.partay > 10) { _root.secret1 = 2; if (_root.secret6 == 2) { _root.secret6 = 1; } if (_root.secret8 == 2) { _root.secret8 = 1; } if (_root.secret4 == 2) { _root.secret4 = 1; } _root.hero.jrun.hatt.gotoAndStop(2); _parent.partay = 0; } else { if (Key.isDown(49) && _root.secret1 == 2 && _parent.partay > 10) { _root.secret1 = 1; _root.hero.jrun.hatt.gotoAndStop(1); _parent.partay = 0; } } ++_parent.partay; if (_root.secret1 == 2) { if (_root.secret6 == 2) { _root.secret6 = 1; } if (_root.secret8 == 2) { _root.secret8 = 1; } if (_root.secret4 == 2) { _root.secret4 = 1; } _root.hero.jrun.hatt.gotoAndStop(2); _root.hero.laddder.hatt.gotoAndStop(2); } } } } movieClip 923 { frame 91 { stop(); } } movieClip 925 { } movieClip 926 { frame 1 { stop(); acttt = false; } frame 2 { acttt = true; stop(); partay = 0; } instance of movieClip 918 { onClipEvent (enterFrame) { if (Key.isDown(50) && _root.secret2 == 1 && _parent.partay > 10) { _root.secret2 = 2; if (_root.secret3 == 2) { _root.secret3 = 1; } if (_root.secret5 == 2) { _root.secret5 = 1; } if (_root.secret7 == 2) { _root.secret7 = 1; } _root.ghost.side.hattt.gotoAndStop(2); _root.ghost.top.hattt.gotoAndStop(2); _root.ghost.below.hattt.gotoAndStop(2); _root.ghost.death.hattt.gotoAndStop(2); _parent.partay = 0; } else { if (Key.isDown(50) && _root.secret2 == 2 && _parent.partay > 10) { _root.secret2 = 1; _root.ghost.side.hattt.gotoAndStop(1); _root.ghost.top.hattt.gotoAndStop(1); _root.ghost.below.hattt.gotoAndStop(1); _root.ghost.death.hattt.gotoAndStop(1); _parent.partay = 0; } } ++_parent.partay; if (_root.secret2 == 2) { if (_root.secret3 == 2) { _root.secret3 = 1; } if (_root.secret5 == 2) { _root.secret5 = 1; } if (_root.secret7 == 2) { _root.secret7 = 1; } _root.ghost.side.hattt.gotoAndStop(2); _root.ghost.top.hattt.gotoAndStop(2); _root.ghost.below.hattt.gotoAndStop(2); if (_root.jdeath == true) { _root.ghost.death.hattt.gotoAndStop(2); } } } } } movieClip 928 { frame 91 { stop(); } } movieClip 929 { frame 1 { stop(); acttt = false; } frame 2 { acttt = true; stop(); partay = 0; } instance of movieClip 918 { onClipEvent (enterFrame) { if (Key.isDown(51) && _root.secret3 == 1 && _parent.partay > 10) { _root.secret3 = 2; if (_root.secret2 == 2) { _root.secret2 = 1; } if (_root.secret5 == 2) { _root.secret5 = 1; } if (_root.secret7 == 2) { _root.secret7 = 1; } _root.ghost.side.hattt.gotoAndStop(3); _root.ghost.top.hattt.gotoAndStop(3); _root.ghost.below.hattt.gotoAndStop(3); _root.ghost.death.hattt.gotoAndStop(3); _parent.partay = 0; } else { if (Key.isDown(51) && _root.secret3 == 2 && _parent.partay > 10) { _root.secret3 = 1; _root.ghost.side.hattt.gotoAndStop(1); _root.ghost.top.hattt.gotoAndStop(1); _root.ghost.below.hattt.gotoAndStop(1); _root.ghost.death.hattt.gotoAndStop(1); _parent.partay = 0; } } ++_parent.partay; if (_root.secret3 == 2) { if (_root.secret2 == 2) { _root.secret2 = 1; } if (_root.secret5 == 2) { _root.secret5 = 1; } if (_root.secret7 == 2) { _root.secret7 = 1; } _root.ghost.side.hattt.gotoAndStop(3); _root.ghost.top.hattt.gotoAndStop(3); _root.ghost.below.hattt.gotoAndStop(3); if (_root.jdeath == true) { _root.ghost.death.hattt.gotoAndStop(3); } } } } } movieClip 931 { frame 91 { stop(); } } movieClip 932 { frame 1 { stop(); acttt = false; } frame 2 { acttt = true; stop(); partay = 0; } instance of movieClip 918 { onClipEvent (enterFrame) { if (Key.isDown(52) && _root.secret4 == 1 && _parent.partay > 10) { _root.secret4 = 2; if (_root.secret6 == 2) { _root.secret6 = 1; } if (_root.secret8 == 2) { _root.secret8 = 1; } if (_root.secret1 == 2) { _root.secret1 = 1; } _root.hero.jrun.hatt.gotoAndStop(4); _parent.partay = 0; } else { if (Key.isDown(52) && _root.secret4 == 2 && _parent.partay > 10) { _root.secret4 = 1; _root.hero.jrun.hatt.gotoAndStop(1); _parent.partay = 0; } } ++_parent.partay; if (_root.secret4 == 2) { if (_root.secret6 == 2) { _root.secret6 = 1; } if (_root.secret8 == 2) { _root.secret8 = 1; } if (_root.secret1 == 2) { _root.secret1 = 1; } _root.hero.jrun.hatt.gotoAndStop(4); _root.hero.laddder.hatt.gotoAndStop(4); } } } } movieClip 934 { frame 1 { stop(); acttt = false; } frame 2 { acttt = true; stop(); partay = 0; } instance of movieClip 918 { onClipEvent (enterFrame) { if (Key.isDown(53) && _root.secret5 == 1 && _parent.partay > 10) { _root.secret5 = 2; if (_root.secret3 == 2) { _root.secret3 = 1; } if (_root.secret2 == 2) { _root.secret2 = 1; } if (_root.secret7 == 2) { _root.secret7 = 1; } _root.ghost.side.hattt.gotoAndStop(4); _root.ghost.top.hattt.gotoAndStop(4); _root.ghost.below.hattt.gotoAndStop(4); _root.ghost.death.hattt.gotoAndStop(4); _parent.partay = 0; } else { if (Key.isDown(53) && _root.secret5 == 2 && _parent.partay > 10) { _root.secret5 = 1; _root.ghost.side.hattt.gotoAndStop(1); _root.ghost.top.hattt.gotoAndStop(1); _root.ghost.below.hattt.gotoAndStop(1); _root.ghost.death.hattt.gotoAndStop(1); _parent.partay = 0; } } ++_parent.partay; if (_root.secret5 == 2) { if (_root.secret3 == 2) { _root.secret3 = 1; } if (_root.secret2 == 2) { _root.secret2 = 1; } if (_root.secret7 == 2) { _root.secret7 = 1; } _root.ghost.side.hattt.gotoAndStop(4); _root.ghost.top.hattt.gotoAndStop(4); _root.ghost.below.hattt.gotoAndStop(4); if (_root.jdeath == true) { _root.ghost.death.hattt.gotoAndStop(4); } } } } } movieClip 935 { frame 1 { stop(); acttt = false; } frame 2 { acttt = true; stop(); partay = 0; } instance of movieClip 918 { onClipEvent (enterFrame) { if (Key.isDown(54) && _root.secret6 == 1 && _parent.partay > 10) { _root.secret6 = 2; if (_root.secret4 == 2) { _root.secret4 = 1; } if (_root.secret8 == 2) { _root.secret8 = 1; } if (_root.secret1 == 2) { _root.secret1 = 1; } _root.hero.jrun.hatt.gotoAndStop(5); _parent.partay = 0; } else { if (Key.isDown(54) && _root.secret6 == 2 && _parent.partay > 10) { _root.secret6 = 1; _root.hero.jrun.hatt.gotoAndStop(1); _parent.partay = 0; } } ++_parent.partay; if (_root.secret6 == 2) { if (_root.secret4 == 2) { _root.secret4 = 1; } if (_root.secret8 == 2) { _root.secret8 = 1; } if (_root.secret1 == 2) { _root.secret1 = 1; } _root.hero.jrun.hatt.gotoAndStop(5); _root.hero.laddder.hatt.gotoAndStop(5); } } } } movieClip 937 { frame 91 { stop(); } } movieClip 939 { frame 1 { stop(); acttt = false; } frame 2 { acttt = true; stop(); partay = 0; } instance of movieClip 918 { onClipEvent (enterFrame) { if (Key.isDown(55) && _root.secret7 == 1 && _parent.partay > 10) { _root.secret7 = 2; if (_root.secret3 == 2) { _root.secret3 = 1; } if (_root.secret5 == 2) { _root.secret5 = 1; } if (_root.secret2 == 2) { _root.secret2 = 1; } _root.ghost.side.hattt.gotoAndStop(5); _root.ghost.top.hattt.gotoAndStop(5); _root.ghost.below.hattt.gotoAndStop(5); _root.ghost.death.hattt.gotoAndStop(5); _parent.partay = 0; } else { if (Key.isDown(55) && _root.secret7 == 2 && _parent.partay > 10) { _root.secret7 = 1; _root.ghost.side.hattt.gotoAndStop(1); _root.ghost.top.hattt.gotoAndStop(1); _root.ghost.below.hattt.gotoAndStop(1); _root.ghost.death.hattt.gotoAndStop(1); _parent.partay = 0; } } ++_parent.partay; if (_root.secret7 == 2) { if (_root.secret3 == 2) { _root.secret3 = 1; } if (_root.secret5 == 2) { _root.secret5 = 1; } if (_root.secret2 == 2) { _root.secret2 = 1; } _root.ghost.side.hattt.gotoAndStop(5); _root.ghost.top.hattt.gotoAndStop(5); _root.ghost.below.hattt.gotoAndStop(5); if (_root.jdeath == true) { _root.ghost.death.hattt.gotoAndStop(5); } } } } } movieClip 941 { frame 91 { stop(); } } movieClip 942 { frame 1 { stop(); acttt = false; } frame 2 { acttt = true; stop(); partay = 0; } instance of movieClip 918 { onClipEvent (enterFrame) { if (Key.isDown(56) && _root.secret8 == 1 && _parent.partay > 10) { _root.secret8 = 2; if (_root.secret1 == 2) { _root.secret1 = 1; } if (_root.secret4 == 2) { _root.secret4 = 1; } if (_root.secret5 == 2) { _root.secret5 = 1; } _root.hero.jrun.hatt.gotoAndStop(3); _parent.partay = 0; } else { if (Key.isDown(56) && _root.secret8 == 2 && _parent.partay > 10) { _root.secret8 = 1; _root.hero.jrun.hatt.gotoAndStop(1); _parent.partay = 0; } } ++_parent.partay; if (_root.secret8 == 2) { if (_root.secret1 == 2) { _root.secret1 = 1; } if (_root.secret4 == 2) { _root.secret4 = 1; } if (_root.secret5 == 2) { _root.secret5 = 1; } _root.hero.jrun.hatt.gotoAndStop(3); _root.hero.laddder.hatt.gotoAndStop(3); } } } } movieClip 944 { frame 91 { stop(); } } movieClip 946 { frame 1 { stop(); acttt = false; } frame 2 { acttt = true; stop(); partay = 0; } instance of movieClip 918 { onClipEvent (enterFrame) { if (Key.isDown(57) && _root.secret9 == 1 && _parent.partay > 10) { _root.secret9 = 2; if (_root.secret0 == 2) { _root.secret0 = 1; } _root.bird1.activ = true; _root.bird2.activ = false; _root.bird1._visible = true; _root.bird2._visible = false; _parent.partay = 0; } else { if (Key.isDown(57) && _root.secret9 == 2 && _parent.partay > 10) { _root.bird1._visible = false; _root.secret9 = 1; _parent.partay = 0; } } ++_parent.partay; } } } movieClip 948 { frame 91 { stop(); } } movieClip 950 { frame 1 { stop(); acttt = false; } frame 2 { acttt = true; stop(); partay = 0; } instance of movieClip 918 { onClipEvent (enterFrame) { if (Key.isDown(48) && _root.secret0 == 1 && _parent.partay > 10) { _root.secret0 = 2; if (_root.secret9 == 2) { _root.secret0 = 1; } _root.bird1.activ = true; _root.bird2.activ = false; _root.bird2._visible = true; _root.bird1._visible = false; _parent.partay = 0; } else { if (Key.isDown(48) && _root.secret0 == 2 && _parent.partay > 10) { _root.bird2._visible = false; _root.secret0 = 1; _parent.partay = 0; } } ++_parent.partay; } } } movieClip 952 { frame 1 { stop(); acttt = false; } frame 2 { acttt = true; stop(); partay = 0; } instance of movieClip 918 { onClipEvent (enterFrame) { if (Key.isDown(68) && _root.secretd == 1 && _parent.partay > 10 && _root.tunnel == false && _root.duck == false) { _root.hero.jrun.gotoAndPlay('danceee'); _parent.partay = 0; } ++_parent.partay; } } } movieClip 953 { frame 1 { _root.secretbar._y = _root.camera._y - 400; } frame 1 { backkk = 0; buff = 0; uppp = true; } frame 1 { stop(); } instance of movieClip 182 { onClipEvent (enterFrame) { if (Key.isDown(32) && _parent.uppp == false && _parent.buff > 10) { _parent.uppp = true; _parent.buff = 0; } if (_parent.uppp == true) { _root.secretbar._y = _root.camera._y - 40000; } if (_parent.uppp == false) { _root.secretbar._y = _root.camera._y - 280; } if (Key.isDown(32) && _parent.uppp == true && _parent.buff > 10) { _parent.uppp = false; _parent.buff = 0; } ++_parent.buff; if (_parent.buff > 90 && _parent.uppp == false) { _parent.uppp = true; _parent.buff = 0; } } } } frame 106 { fall = 0; spaawn = 1; jackpoint = false; _root.xmove = 6; _root.ghost.gotoAndStop(3); _root.zombieh.sett = true; _root.zombieg.sett = true; _root.zombiet.sett = true; _root.hero._xscale = 100; l2act.onEnterFrame = function () { if (_root.level == 2 && _root.jackpoint == false && _root.hero._x > -320) { _root.jackpoint = true; } if (level == 2) { if (_root.level2in > 0) { ++_root.level2in; } if (_root.level2in == 4) { _root.transremov = false; } if (_root.level2in < 30 && _root.level2in > 1) { _root.hero._x = -5000; _root.fall = 0; } if (_root.level2in == 31) { _root.hero._x = -2620; _root.hero._y = 30; _root.hero._xscale = 100; } } if (level == 2 && _root.level2in > 10) { if (_root.spaawn == 1) { } else { if (_root.spaawn == 1.5) { lvl1zombieg(); } else { if (_root.spaawn == 2) { lvl1zombieg(); } else { if (_root.spaawn == 3) { } else { if (_root.spaawn == 3.5) { lvl1zombiet(); } else { if (_root.spaawn == 4) { } else { if (_root.spaawn == 4.6) { lvl1zombieh(); } else { if (_root.spaawn == 5) { lvl1zombiet(); } } } } } } } } } if (_root.levelreset2 == true && level == 2) { _root.jdeath = false; _root.ghost.gotoAndStop(3); _root.hero.gotoAndStop(1); if (_root.jackpoint == false) { _root.hero._x = -2620; _root.hero._y = 30; _root.camera._x = -2343; } if (_root.jackpoint == true) { _root.hero._x = -320; _root.hero._y = 60; _root.camera._x = -320; } _root.hero._xscale = 100; _root.fall = 0; _root.pinkbeast.gotoAndStop(1); _root.xmove = 6; _root.spaawn = 1; i += 50; goscreen = 0; _root.remoov = false; _root.zombiep1.sett = true; _root.zombiep2.sett = true; _root.zombieg.sett = true; _root.zombieh.sett = true; _root.zombiet.sett = true; _root.zombieh.xmove = -0.3; _root.zombiet.xmove = -0.3; _root.zombieg.xmove = 0.3; levelreset2 = false; } if (_root.hero.hitTest(_root.nextlv) && level == 2) { _root.level2in = 1; _root.spaawn = 1; _root.xmove = 0; _root.transremov = true; _root.diefall = false; _root.nextscreen.gotoAndPlay(2); _root.level = 3; } if (_root.hero._x > 2100 && _root.hero._y > 700 && level == 2) { _root.level2in = 1; _root.spaawn = 1; _root.xmove = 0; _root.camera._x = -2343; _root.transremov = true; _root.diefall = false; _root.nextscreen.gotoAndPlay(2); _root.jackpoint = false; _root.level = 3; } if (_root.hero._x > 2100 && _root.hero._y > 600 && level == 2) { _root.xmove = 0; _root.hero._xscale = 100; } }; } frame 106 { function lvl1zombiet() { duplicateMovieClip(_root.zombiet, 'zombiet' + i, i); ++i; } function lvl1zombieh() { duplicateMovieClip(_root.zombieh, 'zombiet' + i, i); ++i; } function lvl1zombieg() { duplicateMovieClip(_root.zombieg, 'zombiet' + i, i); ++i; } function lvl1zombiep1() { duplicateMovieClip(_root.zombiep1, 'zombiet' + i, i); ++i; } function lvl1zombiep2() { duplicateMovieClip(_root.zombiep2, 'zombiet' + i, i); ++i; } } movieClip 956 { } movieClip 958 { } movieClip 960 { } movieClip 964 { } movieClip 966 { } movieClip 969 { } movieClip 972 { } movieClip 977 { } movieClip 978 { frame 1 { stop(); } instance of movieClip 857 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _parent.play(); } } } frame 4 { _root.diestyle = 5; _root.jdeath = true; } frame 13 { stop(); } } movieClip 980 { } movieClip 993 { frame 1 { fire = 0; } frame 1 { stop(); } instance of movieClip 980 { onClipEvent (enterFrame) { ++_parent.fire; if (_parent.fire > 30) { _parent.play(); } } } frame 2 { fire = 0; } instance hit of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diestyle = 4; _root.jdeath = true; } } } } movieClip 996 { } movieClip 998 { } movieClip 999 { } movieClip 1001 { } movieClip 1002 { instance of movieClip 1001 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diestyle = 4; _root.jdeath = true; } } } } movieClip 1005 { } movieClip 1008 { } movieClip 1010 { } movieClip 1013 { } movieClip 1019 { } movieClip 1026 { instance hit of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diestyle = 2; _root.jdeath = true; } } } } movieClip 1033 { } movieClip 1035 { } movieClip 1036 { } instance sec8 of movieClip 890 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false && _root.secret8 == 0) { _root.secret8 = 1; _root.secretbar.uppp = false; _root.secretbar.buff = 0; this.gotoAndPlay('collect'); } } } instance sec26 of movieClip 890 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false && _root.secret2 == 0) { _root.secret2 = 1; _root.secret6 = 1; _root.secretbar.uppp = false; _root.secretbar.buff = 0; this.gotoAndPlay('collect'); } } } frame 107 { mus_1.stop(); mus_3 = new Sound(_root.musiccc3); mus_3.attachSound('music_3'); mus_3.setVolume(70); mus_3.start(0, 200); } frame 107 { function lvl3golddigger() { duplicateMovieClip(_root.golddigger_p, 'golddigger' + i, i); ++i; } function lvl3golddigger2() { duplicateMovieClip(_root.golddigger_a, 'golddigger' + i, i); ++i; } function thrdynamite() { duplicateMovieClip(_root.dynamite, 'dynamite' + i, i); ++i; } function fumee() { duplicateMovieClip(_root.fume, 'fumee' + i, i); ++i; } fall = 0; _root.camera._x = -2343; _root.ghost.gotoAndStop(3); _root.hero._xscale = 100; _root.jackpoint = false; l3act.onEnterFrame = function () { if (_root.level == 3 && _root.jackpoint == false && _root.hero._x > -160 && _root.level2in > 69) { _root.spaawn = 50; _root.jackpoint = true; } _root.golddigger_a._x = -2900; _root.golddigger_p._x = -2950; _root.golddigger_a._y = 6000; _root.golddigger_p._y = 6000; if (_root.hero._x > 3340 && level == 3) { _root.hero._x = 3361; _root.hero.gotoAndStop('ladder'); _root.xmove = 0; _root.fall = -5; } if (_root.secret1 == 2) { _root.mineintr.hatt.gotoAndStop(2); } if (_root.secret8 == 2) { _root.mineintr.hatt.gotoAndStop(3); } if (_root.secret4 == 2) { _root.mineintr.hatt.gotoAndStop(4); } if (_root.secret6 == 2) { _root.mineintr.hatt.gotoAndStop(5); } if (level == 3 && _root.level2in > 10) { if (_root.spaawn == 1) { } else { if (_root.spaawn == 1.6) { lvl3golddigger(); } else { if (_root.spaawn == 2) { } else { if (_root.spaawn == 2.6) { lvl3golddigger2(); } else { if (_root.spaawn == 3) { lvl3golddigger2(); } } } } } if (_root.spaawn == 50) { lvl3golddigger2(); } else { if (_root.spaawn == 51) { lvl3golddigger(); } else { if (_root.spaawn == 52) { lvl3golddigger(); } } } if (_root.spaawn == 60) { lvl3golddigger2(); } else { if (_root.spaawn == 61) { lvl3golddigger(); } } } if (level == 3) { if (_root.level2in > 0) { ++_root.level2in; } if (_root.level2in == 4) { _root.transremov = false; } if (_root.level2in < 30 && _root.level2in > 1) { xmove = 0; fall = 0; _root.hero._x = -5000; } if (_root.level2in == 63) { _root.hero._x = -2343; _root.hero._y = 350; xmove = 7; } } if (_root.hero.hitTest(_root.nextlv) && level == 3) { _root.hero._x = -5000; _root.level2in = 1; _root.spaawn = 1; _root.transremov = true; _root.diefall = false; _root.level = 3.5; _root.nextscreen.gotoAndPlay(2); } if (_root.hero._y < -100 && level == 3) { _root.hero._x = -5000; _root.level2in = 1; _root.spaawn = 1; _root.transremov = true; _root.diefall = false; _root.level = 3.5; _root.nextscreen.gotoAndPlay(2); } if (levelreset3 == true && level == 3) { _root.jdeath = false; _root.ghost.gotoAndStop(3); _root.hero._xscale = 100; _root.fall = 0; _root.xmove = 7; i += 50; goscreen = 0; _root.remoov = false; _root.hero.gotoAndStop(1); if (_root.jackpoint == false) { _root.spaawn = 1; _root.camera._x = -2343; _root.hero._x = -2343; _root.hero._y = 350; _root.cart1.gotoAndStop(1); _root.cart2.gotoAndStop(1); _root.cart3.gotoAndStop(1); _root.cartx.gotoAndStop(1); } if (_root.jackpoint == true) { _root.spaawn = 50; _root.camera._x = -310; _root.hero._x = -310; _root.hero._y = 370; } _root.golddigger_a.sett = true; _root.golddigger_a.fall = 0; _root.golddigger_a.xmove = -0.3; _root.golddigger_p.xmove = -0.3; _root.golddigger_p.sett = true; _root.golddigger_p.fall = 0; levelreset3 = false; } }; } movieClip 1038 { } movieClip 1042 { } movieClip 1043 { } movieClip 1045 { } movieClip 1049 { } movieClip 1051 { instance of movieClip 857 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diestyle = 3; _root.diefall = -15; _root.jdeath = true; } } } } movieClip 1070 { frame 1 { stop(); } instance of movieClip 1045 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero)) { _parent.play(); } } } frame 58 { stop(); } } movieClip 1080 { frame 19 { stop(); } } movieClip 1087 { frame 1 { stop(); } instance of movieClip 1045 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero)) { _parent.play(); } } } frame 61 { stop(); } } movieClip 1088 { } movieClip 1089 { } movieClip 1094 { frame 1 { stop(); } instance of movieClip 1045 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero)) { _parent.play(); } } } frame 70 { stop(); } } movieClip 1096 { } movieClip 1097 { } movieClip 1098 { frame 1 { stop(); } instance of movieClip 1045 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero)) { _parent.play(); } } } frame 59 { stop(); } } movieClip 1101 { } movieClip 1103 { } movieClip 1106 { } movieClip 1108 { } instance of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.jdeath = true; } } } instance of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.jdeath = true; } } } instance of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.jdeath = true; } } } instance of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.jdeath = true; } } } movieClip 1109 { } movieClip 1112 { } movieClip 1114 { } movieClip 1116 { } movieClip 1118 { } movieClip 1120 { } movieClip 1122 { } movieClip 1129 { } movieClip 1131 { } movieClip 1133 { } movieClip 1137 { frame 1 { attack = false; } frame 38 { gotoAndPlay(1); } instance of movieClip 1129 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diestyle = 2; _root.jdeath = true; } } } frame 72 { attack = false; } } movieClip 1144 { frame 1 { stop(); yaa = false; } instance of movieClip 191 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true) && _root.keyact == 1 && _parent.yaa == true) { _root.eat = true; _root.ghost.interact.gotoAndStop(1); if (_root.sidess == 1) { _root.ghost.side.gotoAndPlay('eat'); } _parent.play(); } } } frame 20 { stop(); } } instance golddigger_p of movieClip 1144 { onClipEvent (load) { var fall = 0; var xmove = -0.3; var turn = 0; var death = false; var dead = false; var nextwalk = 0; var sett = true; var changedir = 0; var walkchange = random(200) + 50; } onClipEvent (enterFrame) { if (dead == false && this.anim.attack == false) { this._y += fall; this._x += xmove; if (xmove > 0) { this._xscale = -100; } if (xmove < 0) { this._xscale = 100; } } if (fall < 10) { ++fall; } if (_root.hero._x > this._x - 100 && _root.hero._x < this._x + 100 && _root.hero._x < this._x && this.anim.attack == false) { this.anim.gotoAndPlay('attack'); this._xscale = 100; this.anim.attack = true; } if (_root.hero._x > this._x - 100 && _root.hero._x < this._x + 100 && _root.hero._x > this._x && this.anim.attack == false) { this.anim.gotoAndPlay('attack'); this._xscale = -100; this.anim.attack = true; } if (this._x > -2800) { ++turn; ++nextwalk; } if (this._x < -2800) { this._xscale = 100; this.xmove = -0.3; } if (nextwalk > walkchange && dead == false && this.anim.attack == false) { changedir = random(2) + 1; if (changedir == 1) { this.hedg.idle.gotoAndPlay(1); xmove = -0.3; walkchange = random(300) + 100; nextwalk = 0; turn = 0; } else { if (changedir == 2) { this.hedg.idle.gotoAndPlay(1); xmove = 0.3; walkchange = random(300) + 100; nextwalk = 0; turn = 0; } } } if (_root.hero.knhit.hitTest(this) && dead == false) { this.gotoAndPlay(2); dead = true; } while (_root.ground.hitTest(this._x, this._y, true)) { this._y -= 0.1; jjump = true; } if (_root.ground.hitTest(this._x + 20, this._y - 20, true)) { xmove = -0.3; } else { if (_root.ground.hitTest(this._x - 20, this._y - 20, true)) { xmove = 0.3; } } if (_root.level == 3) { if (_root.spaawn == 1 && sett == true) { if (_root.jackpoint == false) { _root.spaawn = 1.6; } sett = false; } if (_root.spaawn == 1.6 && sett == true) { this._x = -2500; this._y = 350; _root.spaawn = 2; sett = false; } if (_root.spaawn == 51 && sett == true) { this._x = 700; this._y = 250; _root.spaawn = 52; sett = false; } if (_root.spaawn == 52 && sett == true) { this._x = 850; this._y = 250; _root.spaawn = 53; sett = false; } if (_root.spaawn == 61 && sett == true) { this._x = 3200; this._y = 250; _root.spaawn = 999; sett = false; } } if (_root.remoov == true && this._x > -2800) { this._y = 10; } if (this.remov == true) { this._y = 10; } if (this._y < 15 || _root.transremov == true) { removeMovieClip(this); } if (this._x < -2800) { fall = 0; } } } movieClip 1146 { } movieClip 1148 { } movieClip 1150 { } movieClip 1153 { } movieClip 1154 { } movieClip 1156 { } movieClip 1163 { } movieClip 1165 { } movieClip 1169 { } movieClip 1170 { } movieClip 1173 { } movieClip 1175 { } movieClip 1181 { frame 1 { attack = false; } frame 38 { gotoAndPlay(1); } instance hitter of movieClip 1173 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diestyle = 2; _root.jdeath = true; } } } frame 62 { attack = false; } } button 1182 { on (rollOver) { _root.ghost.interact.gotoAndStop(2); yaa = true; } on (rollOut) { yaa = false; _root.ghost.interact.gotoAndStop(1); } } movieClip 1189 { frame 1 { stop(); yaa = false; } instance of movieClip 191 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true) && _root.keyact == 1 && _parent.yaa == true) { _root.eat = true; _root.ghost.interact.gotoAndStop(1); if (_root.sidess == 1) { _root.ghost.side.gotoAndPlay('eat'); } _parent.play(); } } } frame 20 { stop(); } } instance golddigger_a of movieClip 1189 { onClipEvent (load) { var fall = 0; var xmove = -0.3; var turn = 0; var death = false; var dead = false; var nextwalk = 0; var sett = true; var changedir = 0; var walkchange = random(200) + 50; } onClipEvent (enterFrame) { if (dead == false && this.anim.attack == false) { this._y += fall; this._x += xmove; if (xmove > 0) { this._xscale = -100; } if (xmove < 0) { this._xscale = 100; } } if (fall < 10) { ++fall; } if (_root.hero._x > this._x - 100 && _root.hero._x < this._x + 100 && _root.hero._x < this._x && this.anim.attack == false) { this.anim.gotoAndPlay('attack'); this._xscale = 100; this.anim.attack = true; } if (_root.hero._x > this._x - 100 && _root.hero._x < this._x + 100 && _root.hero._x > this._x && this.anim.attack == false) { this.anim.gotoAndPlay('attack'); this._xscale = -100; this.anim.attack = true; } if (this._x > -2800) { ++turn; ++nextwalk; } if (this._x < -2800) { this._xscale = 100; this.xmove = -0.3; } if (nextwalk > walkchange && dead == false && this.anim.attack == false) { changedir = random(2) + 1; if (changedir == 1) { this.hedg.idle.gotoAndPlay(1); xmove = -0.3; walkchange = random(300) + 100; nextwalk = 0; turn = 0; } else { if (changedir == 2) { this.hedg.idle.gotoAndPlay(1); xmove = 0.3; walkchange = random(300) + 100; nextwalk = 0; turn = 0; } } } if (_root.hero.knhit.hitTest(this) && dead == false) { this.gotoAndPlay(2); dead = true; } while (_root.ground.hitTest(this._x, this._y, true)) { this._y -= 0.1; jjump = true; } while (_root.ground.hitTest(this._x, this._y - 10, true)) { this._y += 1; } if (_root.ground.hitTest(this._x + 20, this._y - 20, true)) { xmove = -0.3; } else { if (_root.ground.hitTest(this._x - 20, this._y - 20, true)) { xmove = 0.3; } } if (_root.level == 3) { if (_root.spaawn == 2 && sett == true) { if (_root.jackpoint == false) { _root.spaawn = 2.6; } sett = false; } if (_root.spaawn == 2.6 && sett == true) { this._x = -1591; this._y = 250; _root.spaawn = 3; sett = false; } if (_root.spaawn == 3 && sett == true) { this._x = -2580; this._y = 350; _root.spaawn = 3.1; sett = false; } if (_root.spaawn == 50 && sett == true) { this._x = 500; this._y = 400; _root.spaawn = 51; sett = false; } if (_root.spaawn == 60 && sett == true) { this._x = 2850; this._y = 250; _root.spaawn = 61; sett = false; } } if (_root.remoov == true && this._x > -2800) { this._y = 10; } if (this.remov == true) { this._y = 10; } if (this._y < 15 || _root.transremov == true) { removeMovieClip(this); } if (this._x < -2800) { fall = 0; } } } movieClip 1194 { } movieClip 1196 { } movieClip 1198 { } movieClip 1200 { } movieClip 1207 { } movieClip 1225 { frame 1 { attack = false; } frame 3 { attack = true; } frame 22 { _root.thrdynamite(); } } movieClip 1226 { } instance digboss of movieClip 1226 { onClipEvent (load) { var fall = 0; var xmove = -0.3; var turn = 0; var death = false; var dead = false; var nextwalk = 0; var changedir = 0; var walkchange = random(200) + 50; } onClipEvent (enterFrame) { if (dead == false) { this._y += fall; this._x += xmove; } if (fall < 10) { ++fall; } if (_root.hero._x > this._x - 300 && _root.hero._x < this._x + 300 && this.anim.attack == false) { this.anim.gotoAndPlay('attack'); } if (_root.hero._x > this._x) { this._xscale = -100; } if (_root.hero._x < this._x) { this._xscale = 100; } if (this._x > -2400) { ++turn; ++nextwalk; } if (this._x < -2400) { this._xscale = 100; this.xmove = -0.3; } if (nextwalk > walkchange && dead == false) { changedir = random(2) + 1; if (changedir == 1) { xmove = -0.3; walkchange = random(300) + 100; nextwalk = 0; turn = 0; } else { if (changedir == 2) { xmove = 0.3; walkchange = random(300) + 100; nextwalk = 0; turn = 0; } } } if (this._x < 1550) { xmove = 0.3; nextwalk = 0; } if (this._x > 1750) { xmove = -0.3; nextwalk = 0; } while (_root.ground.hitTest(this._x, this._y, true)) { this._y -= 0.1; jjump = true; } while (_root.ground.hitTest(this._x, this._y - 10, true)) { this._y += 1; } if (_root.ground.hitTest(this._x + 20, this._y - 20, true)) { xmove = -0.3; } else { if (_root.ground.hitTest(this._x - 20, this._y - 20, true)) { xmove = 0.3; } } if (this._x < -2500) { fall = 0; } } } button 1229 { on (rollOver) { _root.ghost.interact.gotoAndStop(2); } on (rollOut) { _root.ghost.interact.gotoAndStop(1); } } movieClip 1230 { frame 1 { jump = false; } instance of movieClip 191 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true) && _root.keyact == 1) { _root.eat = true; _root.ghost.interact.gotoAndStop(1); if (_root.sidess == 1) { _root.ghost.side.gotoAndPlay('eat'); } _parent.jump = true; } } } } movieClip 1237 { instance of movieClip 1129 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diestyle = 2; _root.jdeath = true; } } } frame 14 { stop(); } } movieClip 1238 { frame 6 { gotoAndPlay(2); } } instance dynamite of movieClip 1238 { onClipEvent (load) { this._y = _root.digboss._y - 40; var xmove = -(random(9) + 5) * 0.7; var ymove = -(random(8) + 4) * 0.7; var explode = 0; var sett = true; } onClipEvent (enterFrame) { if (_root.hero._x > _root.digboss._x && sett == true) { this._x = _root.digboss._x + 50; xmove *= -1; sett = false; } if (_root.hero._x < _root.digboss._x && sett == true) { this._x = _root.digboss._x - 50; sett = false; } this._rotation += xmove; this._x += xmove; this._y += ymove; ++ymove; if (_root.ground.hitTest(this._x, this._y, true)) { ymove *= -0.6; this._y -= 10; if (explode == 0) { explode = 1; } } while (_root.ground.hitTest(this._x, this._y, true)) { this._y -= 0.1; } if (_root.ground.hitTest(this._x - 20, this._y - 5, true)) { xmove *= -1; this._x += 10; } if (_root.ground.hitTest(this._x + 20, this._y - 5, true)) { xmove *= -1; this._x -= 10; } if (explode > 0) { ++explode; if (explode > 10) { this.gotoAndStop(7); xmove = 0; this._rotation = 0; ymove = 0; } if (explode == 40) { this._y = -400; } if (this._y < -200) { removeMovieClip(this); } } if (this.jumper.jump == true) { _root.fumee(); removeMovieClip(this); jumper.jump = false; } } } movieClip 1244 { frame 16 { stop(); } } movieClip 1245 { } instance fume of movieClip 1245 { onClipEvent (load) { this._x = _root._xmouse; this._y = _root._ymouse; var removeee = 0; } onClipEvent (enterFrame) { ++removeee; if (removeee == 30) { this._y = 10; } if (this._y < 30) { removeMovieClip(this); } } } movieClip 1248 { } movieClip 1251 { } movieClip 1253 { } movieClip 1273 { } movieClip 1276 { frame 63 { stop(); } } movieClip 1277 { } instance sec0d of movieClip 890 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false && _root.secret0 == 0) { _root.secret0 = 1; _root.secretd = 1; _root.secretbar.uppp = false; _root.secretbar.buff = 0; this.gotoAndPlay('collect'); } } } frame 108 { function adskel() { duplicateMovieClip(_root.fskel, 'fskellll' + i, i); ++i; } function addspid() { duplicateMovieClip(_root.spiderr, 'spiderrr' + i, i); ++i; } _root.camera._x = 300; _root.shdws._x = 300; _root.hero._y = 550; _root.hero.gotoAndStop('ladder'); _root.shdws.swapDepths(5015); ladderboost = 0; ladder = true; remoov = false; jdeath = false; transremov = false; levelreset35 = false; diestyle = 0; goscreen = 0; _root.hero._x = 286; _root.hero._xscale = 100; _root.spiderr._y = 1500; poo.onEnterFrame = function () { _root.fskel._x = 300; _root.fskel._y = 800; if (_root.camera._y > -1870 && _root.hero._y < 350) { _root.camera._y -= 3; } if (_root.hero._y > 350 || _root.hero._y < -1750) { _root.addskells.gotoAndStop(1); _root.addspider.gotoAndStop(1); } if (_root.hero._y < -2250) { ladder = false; _root.jdeath = false; _root.hero.gotoAndStop(1); _root.camera._y = 250; _root.hero._y = 1000; _root.hero._x = -5000; _root.level2in = 1; _root.spaawn = 1; _root.transremov = true; _root.diefall = false; _root.level = 4; _root.nextscreen.gotoAndPlay(2); } if (jdeath == false) { _root.hero._y -= 3; _root.hero._x = 286; } if (levelreset35 == true) { _root.jdeath = false; _root.hero.gotoAndStop('ladder'); _root.ghost.gotoAndStop(3); _root.hero._x = 286; _root.hero._y = 350; goscreen = 0; _root.remoov = false; _root.camera._y = 250; levelreset35 = false; } fall = 0; _root.shdws._y = _root.camera._y; _root.hero._y += ladderboost; if (!ladderboost == 0) { ladderboost *= 0.7; } ladderboost = int(ladderboost); }; } movieClip 1280 { } movieClip 1282 { } movieClip 1284 { } movieClip 1285 { frame 1 { stop(); } } instance shdws of movieClip 1285 { onClipEvent (enterFrame) { if (_root.level == 3.5) { this.gotoAndStop(1); } if (_root.level == 4) { this.gotoAndStop(2); } } } movieClip 1287 { frame 1 { play(); } frame 47 { _root.adskel(); } } movieClip 1290 { } movieClip 1294 { } movieClip 1296 { } movieClip 1297 { } instance fskel of movieClip 1297 { onClipEvent (load) { this._y = _root.hero._y - (random(250) + 50); this._alpha = 0; sett = false; xmove = 0; sidee = random(2) + 1; } onClipEvent (enterFrame) { this._x += xmove; if (sett == false && sidee == 1) { this._alpha = 100; this._x = 650; xmove = -5; sett = true; } if (sett == false && sidee == 2) { this._alpha = 100; this._x = -50; xmove = 5; sett = true; } if (this.hittt.hitTest(_root.hero.laddder.hit) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.jdeath = true; } if (_root.remoov == true) { removeMovieClip(this); } if (_root.transremov == true) { removeMovieClip(this); } if (xmove > 0 && this._x > 650) { removeMovieClip(this); } if (xmove < 0 && this._x < -50) { removeMovieClip(this); } if (xmove > 0) { this._xscale = 100; } if (xmove < 0) { this._xscale = -100; } } } movieClip 1299 { frame 1 { _root.fskel.sett = true; } frame 2 { _root.fskel.xmove = -5; _root.fskel._xscale = -100; _root.fskel.sidee = 1; } frame 3 { stop(); } } movieClip 1304 { } movieClip 1309 { } movieClip 1310 { } movieClip 1311 { } instance spiderr of movieClip 1311 { onClipEvent (load) { this._y = _root.hero._y - 400 - (random(300) + 100); this._alpha = 0; sett = false; ymove = 5; sidee = random(2) + 1; } onClipEvent (enterFrame) { this._y += ymove; if (sett == false && sidee == 1) { this._alpha = 100; this._x = 250; sett = true; } if (sett == false && sidee == 2) { this._alpha = 100; this._x = 280; sett = true; } if (this.hittt.hitTest(_root.hero.laddder.hit) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.jdeath = true; } if (_root.remoov == true) { removeMovieClip(this); } if (_root.transremov == true) { removeMovieClip(this); } if (this._y > 550) { removeMovieClip(this); } } } movieClip 1314 { } movieClip 1316 { frame 1 { play(); } frame 147 { _root.addspid(); } } movieClip 1318 { frame 4 { _root.spiderr._y = 5000; } frame 5 { stop(); } } movieClip 1320 { } frame 109 { mus_3.stop(); mus_4 = new Sound(_root.musiccc4); mus_4.attachSound('music_4'); mus_4.setVolume(60); mus_4.start(0, 200); } frame 109 { _root.knight1._x = -500000; _root.knight2._x = -500000; } frame 109 { function knightt1() { duplicateMovieClip(_root.knight1, 'goodnite' + i, i); ++i; } function knightt2() { duplicateMovieClip(_root.knight2, 'goodnitee' + i, i); ++i; } function smokee() { duplicateMovieClip(_root.clouds, 'smokeee' + i, i); ++i; } function barrel() { duplicateMovieClip(_root.barrell, 'barrel' + i, i); ++i; } fall = 0; stop(); _root.camera._x = -2543; _root.gate.swapDepths(4997); _root.ghost.gotoAndStop(3); _root.knight1._y = 5000; _root.knight2._y = 5000; jackpoint = false; procc = false; l4act.onEnterFrame = function () { if (_root.level == 4 && _root.jackpoint == false && _root.hero._x > 300) { _root.jackpoint = true; } _root.knight1._y = -5000; _root.knight2._y = -5000; if (_root.hero.hitTest(_root.nextlv) && level == 4 && level2in > 30 && _root.jdeath == false) { _root.hero._x = -2350; _root.hero._y = 350; _root.level = 5; diefall = 0; _root.nextFrame(); } if (_root.secret1 == 2) { _root.cstlintr.hatt.gotoAndStop(2); } if (_root.secret8 == 2) { _root.cstlintr.hatt.gotoAndStop(3); } if (_root.secret4 == 2) { _root.cstlintr.hatt.gotoAndStop(4); } if (_root.secret6 == 2) { _root.cstlintr.hatt.gotoAndStop(5); } if (_root.hero._x > 3240 && _root.jdeath == false) { _root.hero._x = -2350; _root.hero._y = 350; _root.level = 5; diefall = 0; _root.nextFrame(); } if (level == 4) { if (_root.level2in > 0) { ++_root.level2in; } if (_root.level2in == 4) { _root.transremov = false; } if (_root.level2in < 30 && _root.level2in > 1) { _root.hero._x = -5000; } if (_root.level2in == 47) { _root.hero._x = -2615; _root.hero._y = 400; xmove = 7; fall = -10; } } if (levelreset4 == true && level == 4) { _root.jdeath = false; _root.hero.gotoAndStop(1); if (_root.jackpoint == false) { _root.hero._x = -2615; _root.hero._y = 400; _root.camera._x = -2545; } if (_root.jackpoint == true) { _root.hero._x = 175; _root.hero._y = 290; _root.camera._x = 175; } _root.ghost.gotoAndStop(3); _root.hero._xscale = 100; _root.xmove = 7; _root.fall = 0; _root.spaawn = 1; knightpuzz = 0; i += 50; goscreen = 0; _root.machinery.gotoAndStop(1); _root.remoov = false; _root.ground.mach.gotoAndStop(1); _root.ground.monk.gotoAndStop(1); _root.doormonk.gotoAndStop(1); levelreset4 = false; } if (level == 4 && knightpuzz == 0 && level2in > 46) { _root.knightset.gotoAndPlay(2); knightpuzz = 1; } if (_root.hero._x > 1360 && _root.hero._x < 1745 && _root.duck == false && crunchhh == false) { _root.hero.gotoAndStop('crunchhhh'); crunchhh = true; } if (_root.hero._x > 1360 && _root.hero._x < 1745 && _root.duck == true) { _root.hero.gotoAndPlay('crunchh'); crunchhh = true; } if (_root.hero._x < 1360 && crunchhh == true || _root.hero._x > 1745 && crunchhh == true) { _root.hero.gotoAndStop(1); duck = false; if (crunchhh == true) { _root.hero.jrun.gotoAndPlay(51); crunchhh = false; } } if (_root.hero._x > 2090 && _root.hero._x < 2200 && _root.duck == false && crunchhh2 == false) { _root.hero.gotoAndStop('crunchhhh'); crunchhh2 = true; } if (_root.hero._x > 2090 && _root.hero._x < 2200 && _root.duck == true) { _root.hero.gotoAndPlay('crunchh'); crunchhh2 = true; } if (_root.hero._x < 2090 && crunchhh2 == true || _root.hero._x > 2200 && crunchhh2 == true) { _root.hero.gotoAndStop(1); duck = false; if (crunchhh2 == true) { _root.hero.jrun.gotoAndPlay(51); crunchhh2 = false; } } }; crunchhh = false; crunchhh2 = false; } frame 109 { removeMovieClip(_root.shdws); } movieClip 1323 { } movieClip 1326 { } movieClip 1329 { frame 1 { stop(); } } movieClip 1331 { frame 1 { stop(); } } movieClip 1332 { } movieClip 1334 { } movieClip 1337 { } movieClip 1338 { } movieClip 1341 { } movieClip 1344 { } movieClip 1346 { } movieClip 1348 { } movieClip 1349 { } movieClip 1352 { } movieClip 1353 { } movieClip 1355 { } instance castlbg of movieClip 1355 { onClipEvent (load) { this.swapDepths(4999); } } movieClip 1358 { } movieClip 1361 { } movieClip 1362 { } movieClip 1366 { } movieClip 1368 { } movieClip 1370 { } movieClip 1372 { } movieClip 1374 { } movieClip 1376 { } button 1378 { on (rollOver) { _root.ghost.interact.gotoAndStop(2); } on (rollOut) { _root.ghost.interact.gotoAndStop(1); } } movieClip 1379 { } movieClip 1390 { } movieClip 1397 { frame 1 { stop(); } instance mm of movieClip 1362 { onClipEvent (load) { var rote = 0; } onClipEvent (enterFrame) { if (rote > 0.1) { rote *= 0.95; } this._rotation += rote; } } instance mm5 of movieClip 1366 { onClipEvent (load) { var rote = 0; } onClipEvent (enterFrame) { if (rote > 0.1) { rote *= 0.7; } this._rotation += rote; } } instance mm6 of movieClip 1368 { onClipEvent (load) { var rote = 0; } onClipEvent (enterFrame) { if (rote > 0.1) { rote *= 0.99; } this._rotation += rote; } } instance mm1 of movieClip 1370 { onClipEvent (load) { var rote = 0; } onClipEvent (enterFrame) { if (rote > 0.1) { rote *= 0.8; } this._rotation += rote; } } instance mm2 of movieClip 1372 { onClipEvent (load) { var rote = 0; } onClipEvent (enterFrame) { if (rote > 0.1) { rote *= 0.7; } this._rotation += rote; } } instance mm3 of movieClip 1374 { onClipEvent (load) { var rote = 0; } onClipEvent (enterFrame) { if (rote > 0.1) { rote *= 0.8; } this._rotation += rote; } } instance mm4 of movieClip 1376 { onClipEvent (load) { var rote = 0; } onClipEvent (enterFrame) { if (rote > 0.1) { rote *= 0.7; } this._rotation += rote; } } instance of movieClip 1379 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true) && _root.keyact == 1) { _root.eat = true; _root.ghost.interact.gotoAndStop(1); _root.ghost.side.gotoAndPlay('eat'); _root.ghost.top.gotoAndPlay('eat'); _root.ghost.below.gotoAndPlay('eat'); _parent.play(); } } } frame 5 { mm1.rote = 50; mm.rote = 50; _root.ground.mach.gotoAndStop(2); } frame 11 { mm2.rote = 30; mm3.rote = 50; } frame 15 { mm4.rote = 50; } frame 17 { mm5.rote = 50; } frame 21 { mm6.rote = 60; } frame 23 { stop(); } } movieClip 1400 { } movieClip 1402 { } movieClip 1404 { } movieClip 1405 { instance of movieClip 857 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diestyle = 6; _root.diefall = -15; _root.jdeath = true; } } } frame 5 { gotoAndPlay(1); } } instance barrell of movieClip 1405 { onClipEvent (load) { this._x = _root.luther._x - 50; this._y = _root.luther._y - 30; var xmove = -5; var ymove = -3; } onClipEvent (enterFrame) { this._x += xmove; this._y += ymove; ++ymove; if (this._y > 500) { removeMovieClip(this); } if (_root.stairs.hitTest(this._x, this._y, true)) { ymove *= -0.8; this._y -= 10; } if (this.jumper.jump == true) { ymove = -12; _root.smokee(); this.gotoAndPlay(6); this.jumper.jump = false; } } } movieClip 1409 { } movieClip 1415 { } movieClip 1425 { frame 67 { _root.barrel(); } } movieClip 1426 { } movieClip 1432 { } movieClip 1434 { } movieClip 1436 { } movieClip 1438 { } movieClip 1440 { } movieClip 1442 { } movieClip 1444 { } movieClip 1446 { } movieClip 1448 { } movieClip 1457 { } movieClip 1458 { instance of movieClip 857 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diestyle = 3; _root.diefall = -15; _root.jdeath = true; } } } } instance knight1 of movieClip 1458 { onClipEvent (load) { this._x = -2830; this._y = 320; var xmove = 8; var ymove = -2; } onClipEvent (enterFrame) { this._x += xmove; this._y += ymove; ++ymove; if (this._y > 700) { removeMovieClip(this); } if (_root.ground.hitTest(this._x, this._y, true)) { ymove = -7; this._y -= 10; } if (_root.stairs.hitTest(this._x, this._y, true)) { ymove = -7; this._y -= 10; } if (_root.stoppy.hitTest(this._x, this._y, true)) { xmove *= 0.4; this._rotation += 5; } } } movieClip 1461 { } movieClip 1463 { } movieClip 1464 { } movieClip 1466 { } movieClip 1467 { } movieClip 1469 { } movieClip 1470 { } movieClip 1472 { } movieClip 1473 { } movieClip 1475 { } movieClip 1477 { } movieClip 1478 { } movieClip 1479 { instance of movieClip 857 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diestyle = 3; _root.diefall = -15; _root.jdeath = true; } } } } instance knight2 of movieClip 1479 { onClipEvent (load) { var xmove = 9; var ymove = -2; this._x = -2830; this._y = 330; } onClipEvent (enterFrame) { if (_root.jackpoint == false) { this._x += xmove; this._y += ymove; } if (ymove < 20) { ++ymove; } if (this._y > 700) { removeMovieClip(this); } if (_root.ground.hitTest(this._x, this._y + 5, true)) { ymove = 0; } if (_root.stairs.hitTest(this._x, this._y + 5, true)) { ymove = 0; } while (_root.ground.hitTest(this._x, this._y + 5, true)) { this._y -= 1; } while (_root.stairs.hitTest(this._x, this._y + 5, true)) { this._y -= 1; } if (_root.stoppy.hitTest(this._x, this._y, true)) { xmove *= 0.4; this._rotation += 5; } } } movieClip 1481 { frame 1 { stop(); } frame 2 { _root.knightt1(); } frame 8 { _root.knightt1(); } frame 13 { _root.knightt2(); } frame 18 { _root.knightt1(); } frame 23 { _root.knightt2(); } } button 1488 { on (press) { _root.ghost.interact.gotoAndStop(1); play(); } on (rollOver) { _root.ghost.interact.gotoAndStop(2); } on (rollOut) { _root.ghost.interact.gotoAndStop(1); } } movieClip 1519 { } movieClip 1522 { } movieClip 1538 { } movieClip 1559 { frame 1 { stop(); } instance of movieClip 191 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true) && _root.keyact == 1 && _parent.yaa == true) { _root.eat = true; _root.ghost.interact.gotoAndStop(1); _root.ghost.side.gotoAndPlay('eat'); _root.ghost.top.gotoAndPlay('eat'); _root.ghost.below.gotoAndPlay('eat'); _parent.play(); } } } frame 128 { _root.ground.monk.gotoAndStop(2); } frame 129 { stop(); } } movieClip 1562 { } movieClip 1571 { frame 22 { stop(); } } instance clouds of movieClip 1571 { onClipEvent (load) { this._x = _root._xmouse; this._y = _root._ymouse; var removeee = 0; } onClipEvent (enterFrame) { ++removeee; if (removeee == 30) { this._y = 10; } if (this._y < 30) { removeMovieClip(this); } } } movieClip 1573 { } movieClip 1575 { } instance of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.diefalll = true; _root.jdeath = true; } } } instance of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.diefalll = true; _root.jdeath = true; } } } instance of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.diefalll = true; _root.jdeath = true; } } } instance of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.diefalll = true; _root.jdeath = true; } } } instance of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diestyle = 2; _root.jdeath = true; } } } instance of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diestyle = 2; _root.jdeath = true; } } } instance of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false) { _root.diestyle = 2; _root.jdeath = true; } } } movieClip 1583 { frame 47 { stop(); } } instance sec7 of movieClip 890 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false && _root.secret7 == 0) { _root.secret7 = 1; _root.secretbar.uppp = false; _root.secretbar.buff = 0; this.gotoAndPlay('collect'); } } } frame 110 { _root.musiccc4.setVolume(0); } frame 110 { _root.camera._x = 300; _root.camera._y = 250; procc = true; cutscene.onEnterFrame = function () { _root.camera._x = this._x; if (procc == true) { ++_root.proceed; } if (_root.proceed > 20) { } }; proceed = 0; } frame 110 { _root.gate.removeMovieClip(); } movieClip 1593 { } movieClip 1595 { } movieClip 1598 { } button 1600 { on (release) { gotoAndPlay(237); } } movieClip 1609 { } movieClip 1614 { } movieClip 1616 { } movieClip 1619 { } movieClip 1621 { } movieClip 1622 { } movieClip 1623 { } movieClip 1624 { frame 1 { _root.ghost._visible = false; Mouse.show(); } frame 250 { _root.ghost._visible = true; } frame 250 { _root.nextFrame(); Mouse.hide(); } frame 251 { _root.nextFrame(); } frame 252 { _root.nextFrame(); } } frame 111 { _root.musiccc4.setVolume(60); } frame 111 { function archerr() { duplicateMovieClip(_root.archerrr, 'archer' + i, i); ++i; } function bknight() { duplicateMovieClip(_root.bknightt, ' bknightt' + i, i); ++i; } function shotty() { duplicateMovieClip(_root.shotttt, 'shottttt' + i, i); ++i; } procc = false; level2in = 1; spaawn = 999999; cheer = false; sawppp = false; levelreset5 = false; _root.ghost.gotoAndStop(3); l5act.onEnterFrame = function () { if (_root.hero.hitTest(_root.nextlv) && level == 5 && _root.jdeath == false) { _root.level = 6; swappp = true; _root.nextFrame(); } if (_root.hero._x > 3400 && level == 5 && _root.jdeath == false) { _root.level = 6; swappp = true; _root.nextFrame(); } if (_root.cheer == true) { _root.hero.jrun.gotoAndStop('cheer'); _root.xmove = 0; _root.fall = 0; } if (_root.levelreset5 == true) { _root.cheer = false; _root.jdeath = false; _root.ghost.gotoAndStop(3); _root.diestyle = 0; _root.hero.gotoAndStop(1); _root.hero.jrun.gotoAndPlay(1); _root.hero._xscale = -100; _root.xmove = 7; _root.fall = 0; _root.archerrr.sett = true; _root.bknightt.sett = true; _root.spaawn = 1; _root.hero._x = -2750; _root.hero._y = 142; _root.camera._x = -2433; _root.hero.jrun.rifle.nextshot = 0; _root.goscreen = 0; _root.remoov = false; _root.camera._x = -2433; _root.levelreset5 = false; } if (_root.level == 5 && _root.level2in > 6) { if (_root.spaawn == 1) { } else { if (_root.spaawn == 1.6) { _root.archerr(); } else { if (_root.spaawn == 2) { _root.archerr(); } else { if (_root.spaawn == 3) { _root.archerr(); } else { if (_root.spaawn == 4) { _root.archerr(); } else { if (_root.spaawn == 5) { _root.bknight(); } else { if (_root.spaawn == 5.1) { _root.bknight(); } else { if (_root.spaawn == 5.2) { _root.bknight(); } else { if (_root.spaawn == 5.3) { _root.bknight(); } else { if (_root.spaawn == 5.4) { _root.bknight(); } } } } } } } } } } if (_root.spaawn == 6) { _root.archerr(); } else { if (_root.spaawn == 6.1) { _root.archerr(); } else { if (_root.spaawn == 8) { _root.archerr(); } else { if (_root.spaawn == 9) { _root.archerr(); } else { if (_root.spaawn == 10) { _root.archerr(); } else { if (_root.spaawn == 10.1) { _root.bknight(); } else { if (_root.spaawn == 10.2) { _root.bknight(); } else { if (_root.spaawn == 10.3) { _root.bknight(); } else { if (_root.spaawn == 10.4) { _root.bknight(); } else { if (_root.spaawn == 10.5) { _root.bknight(); } else { if (_root.spaawn == 10.6) { _root.bknight(); } } } } } } } } } } } } if (_root.hero._x > -850 && _root.spaawn == 5.5) { _root.spaawn = 6; } if (level == 5) { if (_root.level2in > 0) { ++_root.level2in; } if (_root.level2in == 4) { _root.transremov = false; } if (_root.level2in == 5) { _root.spaawn = 1; } if (_root.level2in < 30 && _root.level2in > 1) { xmove = 0; fall = 0; _root.hero.jrun.rifle.nextshot = 0; _root.hero._x = -50000; } if (_root.level2in == 63) { _root.hero._x = -2750; _root.hero._y = 182; _root.hero.jrun.rifle.nextshot = 0; fall = 0; xmove = 7; } } }; } frame 111 { shoo = false; hitj = true; diestyle = 0; shottt = false; hero.onEnterFrame = function () {}; gameover.onEnterFrame = function () { this._x = _root.camera._x; }; levelreset1 = false; levelreset2 = false; levelreset3 = false; levelreset4 = false; ghost.onEnterFrame = function () {}; clickkk = false; clickact = 0; ghost.onMouseDown = function () { _root.clickkk = true; }; ghost.onMouseUp = function () { _root.clickkk = false; }; keyact = 0; diestyle = 0; Mouse.hide(); akeypress = false; espawn.onEnterFrame = function () { if (_root.hero._y > 600 && jdeath == true) { xmove = 0; } if (_root.clickkk == true) { ++clickact; } if (_root.clickkk == false) { clickact = 0; } if (Key.isDown(65)) { akeypress = true; } else { akeypress = false; } if (akeypress == true) { ++keyact; } if (akeypress == false) { keyact = 0; } if (_root.shoo == true) { if (_root._xmouse > _root.hero._x && jdeath == false) { _root.hero._xscale = 100; } if (_root._xmouse < _root.hero._x && jdeath == false) { _root.hero._xscale = -100; } } if (_root.resettt == true) { _root.levelreset1 = true; _root.levelreset2 = true; _root.levelreset3 = true; _root.levelreset4 = true; _root.resettt = false; } _root.cambg._x = _root.camera._x; if (jdeath == true) { _root.movee._x = 50000; ++goscreen; _root.alert._alpha = 0; if (diestyle == 1) { if (diefall < 20) { ++diefall; } _root.hero._y += diefall; _root.hero.gotoAndStop('death2'); } if (diestyle == 2) { _root.hero.gotoAndStop('death'); } if (diestyle == 3) { if (diefall < 20) { ++diefall; } _root.hero._xscale = 100; _root.hero._x += diemove; diemove = 5; _root.hero._y += diefall; _root.hero.gotoAndStop('death3'); } if (diestyle == 4) { _root.hero.gotoAndStop('death4'); } if (diestyle == 5) { _root.hero.gotoAndStop('death5'); } if (diestyle == 5 || diestyle == 4 || diestyle == 2) { boost *= 0.7; if (fall < 20) { ++fall; } _root.hero._y += fall * 1.3 + boost; while (_root.ground.hitTest(_root.hero._x, _root.hero._y, true)) { _root.hero._y -= 1.0e-006; fall = 0; jump = true; } } } if (goscreen == 30) { _root.gameover.gotoAndPlay(2); } if (_root.hero._y < _root.secure._y) { _root.ground.addd.gotoAndStop(2); } else { _root.ground.addd.gotoAndStop(1); } if (_root.hero._x > 166 && level == 3 && spaawn == 3) { spaawn = 50; } if (jdeath == false) { gfall = -10; _root.ghost._x = _root._xmouse; _root.ghost._y = _root._ymouse; } else { _root.ghost._y += gfall; ++gfall; _root.ghost.gotoAndStop('gameover'); } if (_root.movee.lleft.hitTest(_xmouse, _ymouse, true)) { _root.ghost.gotoAndStop('lleft'); leftt = 1; sidess = 1; } if (_root.movee.lleft.hitTest(_xmouse, _ymouse, true) && _root.clickact == 1 && shoo == false) { _root.ghvoice.gotoAndStop(random(7) + 2); _root.jvoice.gotoAndStop(_root.randv); _root.xmove = _root.absmove; _root.hero._xscale = 100; _root.ghost.side.gotoAndPlay('scream'); _root.hero.jrun.gotoAndPlay(1); } if (_root.movee.rright.hitTest(_xmouse, _ymouse, true)) { _root.ghost.gotoAndStop('rright'); leftt = 0; sidess = 1; } if (_root.movee.rright.hitTest(_xmouse, _ymouse, true) && _root.clickact == 1 && shoo == false) { _root.ghvoice.gotoAndStop(random(7) + 2); _root.jvoice.gotoAndStop(_root.randv); _root.hero._xscale = -100; _root.xmove = -_root.absmove; _root.ghost.side.gotoAndPlay('scream'); _root.hero.jrun.gotoAndPlay(1); } if (_root.movee.dwn.hitTest(_xmouse, _ymouse, true)) { _root.ghost.gotoAndStop('dwn'); upp = 0; } if (_root.movee.dwn.hitTest(_xmouse, _ymouse, true) && _root.clickact == 1) { _root.ghvoice.gotoAndStop(random(7) + 2); _root.jvoice.gotoAndStop(_root.randv); _root.jumpp = true; _root.ghost.below.gotoAndPlay('scream'); } if (_root.movee.upp.hitTest(_xmouse, _ymouse, true)) { _root.ghost.gotoAndStop('up'); upp = 1; } if (_root.movee.upp.hitTest(_xmouse, _ymouse, true) && _root.clickact == 1 && shoom == false) { _root.ghvoice.gotoAndStop(random(7) + 2); _root.jvoice.gotoAndStop(_root.randv); if (_root.duck == false) { _root.ghost.top.gotoAndPlay('scream'); _root.hero.jrun.gotoAndPlay('duck'); } } if (_root.ghost._x > _root.hero._x) { } _root.knight1._y = -5000; _root.knight2._y = -5000; if (jdeath == false) { _root.movee._x = _root.hero._x; _root.movee._y = _root.hero._y; _root.hero._x += xmove + xmovem; _root.hero._y += fall + boost; while (_root.ground.hitTest(_root.hero._x, _root.hero._y, true)) { _root.hero._y -= 1.0e-006; fall = 0; jump = true; } while (_root.stairs.hitTest(_root.hero._x, _root.hero._y, true)) { _root.hero._y -= 1.0e-006; fall = 0; jump = true; } if (_root.ground.hitTest(_root.hero._x, _root.hero._y + 30, true) && jumpp == false) { _root.hero.jrun.play(); } if (_root.ground.hitTest(_root.hero._x + 20, _root.hero._y - 30, true)) { xmove = -absmove; _root.hero._xscale = -100; } else { if (_root.ground.hitTest(_root.hero._x - 20, _root.hero._y - 20, true)) { xmove = absmove; _root.hero._xscale = 100; } else { ++fall; } } while (_root.ground.hitTest(_root.hero._x, _root.hero._y - 10, true)) { _root.hero._y += 1; } while (_root.ground.hitTest(_root.hero._x, _root.hero._y - 35, true)) { _root.hero._y += 1; fall = 5; } ++jumpnex; if (jumpp == true && jumpnex > 25) { _root.hero.jrun.gotoAndPlay('jump'); fall = -11; jumpnex = 0; jumpp = false; } else { jumpp = false; } } if (jdeath == false) { if (_root.hero._x > -2433 && level == 5 && _root.hero._x < 2930) { _root.camera._x = _root.hero._x; } } if (_root.resetty == true) { _root.levelreset5 = true; _root.resetty = false; } }; jdeath = false; level = 5; _root.camera._x = -2433; resetty = false; remoov = false; } movieClip 1628 { } movieClip 1631 { } movieClip 1634 { } movieClip 1637 { } movieClip 1640 { } movieClip 1642 { } movieClip 1644 { } movieClip 1649 { } movieClip 1660 { instance of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false && _root.cheer == false) { _root.diefall = -15; _root.diestyle = 1; _root.jdeath = true; } } } } movieClip 1670 { frame 1 { stop(); arw = false; } frame 2 { arw = true; } } movieClip 1672 { } movieClip 1679 { frame 1 { stop(); dead = false; yaa = false; rightt = true; poop = false; } frame 2 { poop = true; } frame 20 { dead = true; } frame 20 { stop(); } } instance archerrr of movieClip 1679 { onClipEvent (load) { var xmove = 0; var ymove = 1; var sett = true; var death = false; var nexshot = random(100) + 50; var trueshot = 0; } onClipEvent (enterFrame) { if (trueshot + 15 > nexshot) { this.wout._alpha = 100; } else { this.wout._alpha = 0; } if (trueshot > nexshot) { this.guyy.gotoAndPlay('shooot'); nexshot = random(100) + 50; trueshot = 0; } if (_root.hero._x > this._x - 550 && _root.hero._x < this._x + 550 && this._x < 3400 && this.dead == false && this.poop == false && this.guyy.arw == false) { this._x += xmove * 0.8; ++trueshot; } if (_root.swappp == true) { this._y = 550; } this._y += ymove; if (ymove < 20) { ++ymove; } this._xscale = xmove * 50; if (_root.hero._x > this._x && _root.jdeath == false && this.guyy.arw == false) { xmove = 2; this.rightt = true; } if (_root.hero._x < this._x && _root.jdeath == false && this.guyy.arw == false) { xmove = -2; this.rightt = false; } if (this.dead == true || _root.remoov == true) { if (this._x < 3000) { this._y = 700; } } if (this.dead == true) { this._y = 700; } if (this._y > 500) { removeMovieClip(this); } if (_root.ground.hitTest(this._x, this._y, true)) { ymove = 0; } while (_root.ground.hitTest(this._x, this._y, true)) { this._y -= 0.1; } if (_root.ground.hitTest(this._x - 10, this._y - 40, true)) { xmove = 2; this._x += 5; } if (_root.ground.hitTest(this._x + 10, this._y - 40, true)) { xmove = -2; this._x -= 5; } if (_root.level == 5) { if (_root.spaawn == 1 && sett == true) { _root.spaawn = 1.7; sett = false; } if (_root.spaawn == 1.6 && sett == true) { this._x = -2758; this._y = 360; _root.spaawn = 2; sett = false; } if (_root.spaawn == 2 && sett == true) { this._x = -2120; this._y = 360; _root.spaawn = 3; sett = false; } if (_root.spaawn == 3 && sett == true) { this._x = -1342; this._y = 360; _root.spaawn = 4; sett = false; } if (_root.spaawn == 4 && sett == true) { this._x = -1522; this._y = 360; _root.spaawn = 5; sett = false; } if (_root.spaawn == 6 && sett == true) { this._x = 260; this._y = 360; _root.spaawn = 6.1; sett = false; } if (_root.spaawn == 6.1 && sett == true) { this._x = 460; this._y = 360; _root.spaawn = 8; sett = false; } if (_root.spaawn == 8 && sett == true) { this._x = 1300; this._y = 360; _root.spaawn = 9; sett = false; } if (_root.spaawn == 9 && sett == true) { this._x = 1600; this._y = 360; _root.spaawn = 10; sett = false; } if (_root.spaawn == 10 && sett == true) { this._x = 2100; this._y = 360; _root.spaawn = 10.1; sett = false; } } if (_root.level == 6) { this._y = 5000; } } } movieClip 1684 { } movieClip 1687 { } movieClip 1690 { } movieClip 1691 { } movieClip 1697 { frame 1 { stop(); dead = false; yaa = false; poop = false; } instance of movieClip 728 { onClipEvent (enterFrame) { if (this.hitTest(_root.hero.jrun.hit) && _root.jdeath == false && _root.cheer == false) { _root.diestyle = 2; _root.jdeath = true; } } } instance of movieClip 191 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true) && _root.keyact == 1 && _parent.yaa == true) { _root.eat = true; _root.ghost.interact.gotoAndStop(1); _root.ghost.side.gotoAndPlay('eat'); _root.ghost.top.gotoAndPlay('eat'); _root.ghost.below.gotoAndPlay('eat'); _parent.play(); } } } frame 2 { poop = true; } frame 20 { dead = true; stop(); } } instance bknightt of movieClip 1697 { onClipEvent (load) { var xmove = 0; var ymove = 1; var sett = true; var death = false; } onClipEvent (enterFrame) { if (_root.hero._x > this._x - 650 && _root.hero._x < this._x + 650 && this.poop == false) { this._x += xmove * 0.8; } this._y += ymove; if (ymove < 20) { ++ymove; } this._xscale = xmove * 50; if (_root.hero._x > this._x && _root.jdeath == false) { xmove = 2; } if (_root.hero._x < this._x && _root.jdeath == false) { xmove = -2; } if (this.dead == true || _root.remoov == true) { if (this._x < 3000) { this._y = 700; } } if (_root.swappp == true) { this._y = 550; } if (this._y > 500) { removeMovieClip(this); } if (_root.stairs.hitTest(this._x, this._y, true)) { ymove = 0; } while (_root.stairs.hitTest(this._x, this._y, true)) { this._y -= 0.1; } if (_root.ground.hitTest(this._x, this._y, true)) { ymove = 0; } while (_root.ground.hitTest(this._x, this._y, true)) { this._y -= 0.1; } if (_root.ground.hitTest(this._x - 30, this._y - 60, true)) { xmove = 0; this._x += 5; } if (_root.ground.hitTest(this._x + 30, this._y - 60, true)) { xmove = 0; this._x -= 5; } if (_root.level == 5) { if (_root.spaawn == 1.7 && sett == true) { _root.spaawn = 1.6; sett = false; } if (_root.spaawn == 5 && sett == true) { this._x = -2224; this._y = 260; _root.spaawn = 5.1; sett = false; } if (_root.spaawn == 5.1 && sett == true) { this._x = -1893; this._y = 60; _root.spaawn = 5.2; sett = false; } if (_root.spaawn == 5.2 && sett == true) { this._x = -1342; this._y = 60; _root.spaawn = 5.3; sett = false; } if (_root.spaawn == 5.3 && sett == true) { this._x = -1140; this._y = 60; _root.spaawn = 5.4; sett = false; } if (_root.spaawn == 5.4 && sett == true) { this._x = -490; this._y = 60; _root.spaawn = 5.5; sett = false; } if (_root.spaawn == 10.1 && sett == true) { this._x = -400; this._y = 260; _root.spaawn = 10.2; sett = false; } if (_root.spaawn == 10.2 && sett == true) { this._x = 20; this._y = 60; _root.spaawn = 10.3; sett = false; } if (_root.spaawn == 10.3 && sett == true) { this._x = 800; this._y = 60; _root.spaawn = 10.4; sett = false; } if (_root.spaawn == 10.4 && sett == true) { this._x = 1000; this._y = 60; _root.spaawn = 10.5; sett = false; } if (_root.spaawn == 10.5 && sett == true) { this._x = 1800; this._y = 60; _root.spaawn = 10.6; sett = false; } if (_root.spaawn == 10.6 && sett == true) { this._x = 2500; this._y = 60; _root.spaawn = 10.7; sett = false; } } } } movieClip 1700 { frame 5 { gotoAndPlay(1); } frame 13 { _root.alert._alpha = 0; } } instance alert of movieClip 1700 { onClipEvent (load) { this._alpha = 0; this.swapDepths(5000000); } onClipEvent (enterFrame) { this._x = _root.hero._x + _root.xmove * 1.9; this._y = _root.hero._y - 40; } } movieClip 1706 { } movieClip 1708 { } movieClip 1710 { } movieClip 1717 { } movieClip 1718 { frame 1 { _root.hitj = true; _parent.gdeath = false; } frame 1 { aimmm = true; } frame 1 { stop(); } frame 2 { _root.shotty(); } frame 2 { _parent._parent.gotoAndPlay('shoot'); _root.alert.gotoAndPlay('OHNO'); _root.shottt = true; _root.fall = -4; } frame 14 { _root.shotty(); } frame 14 { _parent._parent.gotoAndPlay('shoot'); _root.fall = -4; } frame 19 { aimmm = false; } frame 19 { _root.shoo = false; } frame 20 { _parent.gotoAndStop(1); } } movieClip 1719 { frame 1 { gdeath = false; } frame 1 { _root.shoo = false; _root.alert._alpha = 0; } frame 1 { stop(); nextshot = 0; } instance of movieClip 1706 { onClipEvent (enterFrame) { if (_root.hero._x > -2700 && _root.level == 5) { ++_parent.nextshot; } if (_parent.nextshot == 70 && _root.level == 5) { _parent.gotoAndStop(2); } if (_parent.nextshot == 90 && _root.level == 5) { _parent._parent.gotoAndPlay('shoot'); _parent.riflee.gotoAndPlay('shot'); } } } instance of movieClip 1708 { onClipEvent (load) { if (_root.xmove > 0) { _root.hero._xscale = 100; } if (_root.xmove < 0) { _root.hero._xscale = -100; } } } frame 2 { _root.shoo = true; _root.alert._alpha = 100; } frame 2 { stop(); } instance riflee of movieClip 1718 { onClipEvent (enterFrame) { if (this.aimmm == true) { Xpos = _parent._xmouse; Ypos = _parent._ymouse; thisXpos = this._x; thisYpos = this._y; x = Xpos - thisXpos; y = Ypos - thisYpos; r = Math.sqrt(x * x + y * y); sinTheta = y / r; theta = Math.asin(sinTheta); myRotation = this._rotation; if (Xpos < thisXpos) { this._rotation = 180 - theta / 0.0175; } else { if (Xpos > thisXpos) { this._rotation = theta / 0.0175; } } } } } } movieClip 1784 { } movieClip 1785 { frame 1 { _root.duck = false; } frame 16 { gotoAndPlay(12); } frame 17 { _root.duck = false; } frame 30 { gotoAndPlay(12); } frame 35 { _root.duck = true; } frame 51 { _root.duck = false; } frame 53 { gotoAndPlay(12); } frame 64 { gotoAndPlay(12); } frame 66 { stop(); } } movieClip 1786 { frame 1 { stop(); } instance of movieClip 395 { onClipEvent (load) { if (_root.jdeath == true && _root.secret1 == 2) { this.play(); } if (_root.jdeath == true && _root.secret4 == 2) { this.play(); } if (_root.jdeath == true && _root.secret6 == 2) { this.play(); } if (_root.jdeath == true && _root.secret8 == 2) { this.play(); } } onClipEvent (enterFrame) { if (_root.jdeath == true && _root.secret1 == 2) { this.play(); } if (_root.jdeath == true && _root.secret4 == 2) { this.play(); } if (_root.jdeath == true && _root.secret6 == 2) { this.play(); } if (_root.jdeath == true && _root.secret8 == 2) { this.play(); } } } instance of movieClip 397 { onClipEvent (enterFrame) { this._rotation += 5; } } instance of movieClip 404 { onClipEvent (enterFrame) { this._rotation += 3; } } instance of movieClip 404 { onClipEvent (enterFrame) { this._rotation -= 3; } } } movieClip 1788 { } movieClip 1792 { } movieClip 1796 { } movieClip 1797 { frame 7 { stop(); } } instance shotttt of movieClip 1797 { onClipEvent (load) { speed = 12; moving = true; rotate = 0; death = false; _x = _root.hero._x; _y = _root.hero._y - 30; sett = true; _rotation = Math.atan2(_root._ymouse - _y, _root._xmouse - _x) * 57.29578; } onClipEvent (enterFrame) { if (_root.ghost.hitTest(this._x, this._y, true) && _root.jdeath == false && _root.level == 5) { _root.ghost.gotoAndStop('gameover'); _root.diestyle = 50; _root.xmove = 0; _root.fall = 0; _root.cheer = true; _root.alert._alpha = 0; shoo = false; death = true; _root.jdeath = true; } if (death == true) { removeMovieClip(this); } if (moving == true) { _x = _x + Math.cos(_rotation * Math.PI / 180) * speed; _y = _y + Math.sin(_rotation * Math.PI / 180) * speed; } if (_root.level == 6) { this._visible = false; } } } movieClip 1799 { frame 3 { _root.shotttt._x = 5000; } frame 4 { stop(); } } frame 112 { mus_4.stop(); mus_e = new Sound(_root.musiccc5); mus_e.attachSound('music_e'); mus_e.setVolume(30); mus_e.start(0, 200); } frame 112 { _root.camera._x = 300; _root.camera._y = 250; _root.ghost._visible = false; procc = true; proceed = 0; swappp = false; level = 6; woooble.swapDepths(5000); cutscenee.onEnterFrame = function () { if (procc == true) { ++_root.proceed; } if (_root.proceed > 180) { } }; } movieClip 1802 { } button 1803 { on (release) { gotoAndPlay(221); } } movieClip 1806 { } movieClip 1808 { } movieClip 1810 { } movieClip 1812 { } movieClip 1814 { } movieClip 1818 { } movieClip 1821 { } movieClip 1827 { frame 8 { stop(); } } movieClip 1830 { } movieClip 1835 { } movieClip 1846 { } movieClip 1849 { } movieClip 1852 { } movieClip 1855 { } movieClip 1858 { } movieClip 1860 { } movieClip 1862 { } movieClip 1863 { frame 1 { _root.ghost._visible = false; Mouse.show(); } frame 309 { _root.ghost._visible = true; Mouse.hide(); } frame 310 { _root.nextFrame(); } frame 311 { _root.nextFrame(); } } frame 113 { function shot1() { duplicateMovieClip(_root.bossshot1, 'bosshot' + i, i); ++i; } function spitt() { duplicateMovieClip(_root.spit, 'spit' + i, i); ++i; } function snott() { duplicateMovieClip(_root.snot, 'snot' + i, i); ++i; } function snottp() { duplicateMovieClip(_root.snotp, 'snotp' + i, i); ++i; } function batt() { duplicateMovieClip(_root.batttt, 'batttt' + i, i); ++i; } function smokeeeee() { duplicateMovieClip(_root.cloudsss, 'smokeee' + i, i); ++i; } function shoooot() { duplicateMovieClip(_root.shooot, 'smokeeedfsttt' + i, i); ++i; } function bsplashhh() { duplicateMovieClip(_root.bsplash, 'bsplashhh' + i, i); ++i; } levelresetb = false; jdeath = false; health = 200; diefall = 0; fall = 0; pan = 0; procc = false; _root._x = 0; _root._y = 0; _root.gameover._x = 300; _root.gameover._y = 100; _root.eendhero._x = _root._xmouse; _root.eendhero._y = _root._ymouse; _root.shooot._visible = false; _root.cloudsss._visible = false; _root.bsplash._visible = false; _root.bossshot1._visible = false; _root.batttt._visible = false; _root.alert._visible = false; pooo.onEnterFrame = function () { ++pan; if (health < 0 && jdeath == false) { _root.nextFrame(); } if (pan == 2) { _root.shooot._x = 50000; _root.cloudsss._x = 5000; _root.bossshot1._x = 50000; _root.batttt._x = 5000; } if (levelresetb == true && level == 6) { jdeath = false; nextshottt = 0; diefall = 0; health = 200; nextactionnn = random(120) + 1; actionnn = 1; animationn = false; _root.bosss.gotoAndStop(1); splashy = 0; i += 50; goscreen = 0; _root.remoov = false; levelresetb = false; } if (_root.resettt == true) { _root.ghost.gotoAndStop(3); _root.levelresetb = true; _root.resettt = false; } if (jdeath == false) { fall = 0; _root.hero._visible = false; _root.ghost._visible = false; _root.eendhero._visible = true; _root.hero._x = _root._root.eendhero._x; _root.hero._y = _root._root.eendhero._y; _root.ghost._x = _root._xmouse - 20; _root.ghost._y = _root._ymouse; } if (jdeath == true) { _root.clicker.gotoAndPlay(4); _root.hero._visible = true; _root.ghost._visible = true; _root.eendhero._visible = false; } if (jdeath == true) { if (diestyle == 1) { _root.rfll._y += diefall / 1.3; } } if (_root.bosss.hitTest(_root.eendhero._x, _root.eendhero._y, true) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.jdeath = true; } }; i = 1; nextshottt = 0; nextactionnn = random(120) + 1; actionnn = 1; animationn = false; splashy = 0; bosss.onEnterFrame = function () { if (pan > 60) { if (animationn == false) { ++nextshottt; } } if (pan < 60) { this.shoter.gotoAndPlay(2); } if (nextshottt < nextactionnn) { actionnn = random(5) + 1; } if (nextshottt > nextactionnn) { nextshottt = 0; nextactionnn = random(140) + 90; if (actionnn == 2) { this.gotoAndPlay('tongue'); } if (actionnn == 3) { this.gotoAndPlay('snot'); } if (actionnn == 4) { this.gotoAndPlay('dive'); } if (actionnn == 5) { this.gotoAndPlay('bellow'); } } }; Mouse.hide(); eendhero.onEnterFrame = function () { this._x = _root._xmouse; this._y = _root._ymouse; }; } movieClip 1867 { } movieClip 1869 { } movieClip 1870 { } movieClip 1872 { } movieClip 1874 { } movieClip 1879 { frame 1 { stop(); } } movieClip 1880 { instance of movieClip 1867 { onClipEvent (load) { nextact = random(90) + 30; } onClipEvent (enterFrame) { --nextact; } } } movieClip 1883 { } movieClip 1888 { } movieClip 1897 { } movieClip 1899 { } movieClip 1902 { frame 1 { _root.spitt(); } frame 6 { _root.spitt(); } frame 11 { _root.spitt(); } frame 16 { _root.shot1(); } } movieClip 1907 { } movieClip 1909 { } movieClip 1911 { } movieClip 1921 { } movieClip 1923 { } movieClip 1925 { } movieClip 1927 { } movieClip 1928 { } movieClip 1940 { } movieClip 1949 { } movieClip 1951 { } movieClip 1985 { } movieClip 1988 { } movieClip 1990 { } movieClip 2004 { frame 13 { stop(); } } movieClip 2006 { } movieClip 2011 { } movieClip 2013 { } movieClip 2015 { } movieClip 2017 { } movieClip 2019 { } movieClip 2021 { } movieClip 2023 { } movieClip 2025 { } movieClip 2036 { frame 1 { _root.animation = false; _root.bbg.mooon.moon.gotoAndStop(1); } frame 4 { gotoAndPlay(1); _root.snot._x = 50000; } frame 5 { _root.animation = true; _root.bbg.mooon.moon.gotoAndStop(2); } frame 19 { _root.batt(); } frame 25 { _root.batt(); } frame 30 { _root.batt(); } frame 40 { _root.animation = false; _root.bbg.mooon.moon.gotoAndStop(3); } frame 41 { gotoAndPlay(1); } frame 41 { gotoAndPlay(1); } frame 42 { _root.animation = true; } frame 87 { _root.tproj1.gotoAndPlay(2); } frame 94 { _root.tproj2.gotoAndPlay(2); } frame 102 { _root.tproj3.gotoAndPlay(2); } frame 130 { _root.animation = false; _root.bbg.mooon.moon.gotoAndStop(4); } frame 131 { gotoAndPlay(1); } frame 132 { _root.animation = true; } frame 148 { _root.snott(); _root.snottp(); _root.snottp(); _root.snottp(); _root.snottp(); _root.snottp(); _root.snottp(); } frame 149 { _root.snottp(); } frame 150 { _root.snottp(); _root.snottp(); } frame 166 { _root.snott(); _root.snottp(); _root.snottp(); _root.snottp(); _root.snottp(); _root.snottp(); _root.snottp(); } frame 167 { _root.snottp(); } frame 168 { _root.snottp(); _root.snottp(); } frame 188 { _root.snott(); _root.snottp(); _root.snottp(); _root.snottp(); _root.snottp(); _root.snottp(); _root.snottp(); } frame 189 { _root.snottp(); } frame 190 { _root.snottp(); _root.snottp(); } frame 209 { _root.animation = false; _root.bbg.mooon.moon.gotoAndStop(5); } frame 210 { gotoAndPlay(1); } frame 211 { _root.animation = true; } frame 311 { _root.animation = false; } } movieClip 2041 { frame 11 { gotoAndPlay(7); } } movieClip 2042 { frame 7 { stop(); } } instance bossshot1 of movieClip 2042 { onClipEvent (load) { this._x = _root.origin._x; this._y = _root.origin._y; speed = 5; moving = true; rotate = 0; this._rotation = random(60) - 30; } onClipEvent (enterFrame) { if (moving == true) { _x = _x + Math.cos(_rotation * Math.PI / 180) * speed; _y = _y + Math.sin(_rotation * Math.PI / 180) * speed; this.tail.gotoAndStop(2); } else { this.tail.gotoAndStop(1); } if (_root.eendhero.hitTest(this._x, this._y, true) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.jdeath = true; removeMovieClip(this); } if (this._x > 650) { removeMovieClip(this); } if (_root.remoov == true) { this._y = 10; } if (this._y < 15 || _root.transremov == true) { removeMovieClip(this); } if (_root.level == 7) { this._x = 5000; } } } movieClip 2044 { } instance spit of movieClip 2044 { onClipEvent (load) { this._x = _root.origin._x; this._y = _root.origin._y; xspeed = random(7) - 2; yspeed = -5; moving = true; rotate = 0; scal = random(10) + 6; var slowdown = false; } onClipEvent (enterFrame) { this._xscale = scal * 10; this._yscale = scal * 10; this._x += xspeed; this._y += yspeed; yspeed += 0.5; if (xspeed > 0) { slowdown = true; } if (slowdown == true) { xspeed -= 0.1; } if (this._y > 450) { removeMovieClip(this); } } } movieClip 2049 { frame 9 { gotoAndPlay(5); } } movieClip 2054 { frame 11 { stop(); } } movieClip 2055 { frame 1 { stop(); } } instance snot of movieClip 2055 { onClipEvent (load) { this._x = _root.originsnot._x; this._y = _root.originsnot._y; speed = 7; moving = true; rotate = 0; xspeed = 8; yspeed = -4; aimm = 0; this._rotation = 0; } onClipEvent (enterFrame) { ++aimm; if (aimm < 20) { Xpos = this._x + xspeed; Ypos = this._y + yspeed; thisXpos = this._x; thisYpos = this._y; x = Xpos - thisXpos; y = Ypos - thisYpos; r = Math.sqrt(x * x + y * y); sinTheta = y / r; theta = Math.asin(sinTheta); myRotation = this._rotation; if (Xpos < thisXpos) { this._rotation = 180 - theta / 0.0175; } else { if (Xpos > thisXpos) { this._rotation = theta / 0.0175; } } } if (aimm < 20) { this._x += xspeed; this._y += yspeed; yspeed += 0.7; } if (aimm > 20 && aimm < 90) { _rotation = Math.atan2(_root._ymouse - _y, _root._xmouse - _x) * 57.29578; if (moving == true) { _x = _x + Math.cos(_rotation * Math.PI / 180) * speed; _y = _y + Math.sin(_rotation * Math.PI / 180) * speed; } } if (_root.eendhero.hitTest(this._x, this._y, true) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.jdeath = true; aimm = 92; } if (aimm > 90 || _root.jdeath == true) { this.gotoAndStop('splat'); this._rotation = 0; } if (aimm > 100) { removeMovieClip(this); } if (_root.remoov == true) { this._y = 10; } if (this._y < 15 || _root.transremov == true) { removeMovieClip(this); } } } movieClip 2057 { } instance snotp of movieClip 2057 { onClipEvent (load) { this._x = _root.originsnot._x; this._y = _root.originsnot._y; xspeed = random(7) + 2; yspeed = -(random(5) + 3); moving = true; rotate = 0; scal = random(8) + 4; var slowdown = false; } onClipEvent (enterFrame) { this._xscale = scal * 10; this._yscale = scal * 10; this._x += xspeed; this._y += yspeed; yspeed += 0.5; if (xspeed > 0) { slowdown = true; } if (slowdown == true) { xspeed -= 0.1; } if (this._y > 450) { removeMovieClip(this); } if (_root.remoov == true) { this._y = 10; } if (this._y < 15 || _root.transremov == true) { removeMovieClip(this); } } } movieClip 2064 { } movieClip 2070 { } movieClip 2075 { frame 1 { stop(); } } instance tproj1 of movieClip 2075 { onClipEvent (enterFrame) { if (this.hitTest(_root.eendhero._x, _root.eendhero._y, true) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.jdeath = true; } } } instance tproj2 of movieClip 2075 { onClipEvent (enterFrame) { if (this.hitTest(_root.eendhero._x, _root.eendhero._y, true) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.jdeath = true; } } } instance tproj3 of movieClip 2075 { onClipEvent (enterFrame) { if (this.hitTest(_root.eendhero._x, _root.eendhero._y, true) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.jdeath = true; } } } movieClip 2077 { } movieClip 2079 { } movieClip 2080 { } movieClip 2081 { frame 60 { stop(); } } instance batttt of movieClip 2081 { onClipEvent (load) { this._x = _root.origin._x + 70; this._y = _root.origin._y; speed = 10; moving = true; rotate = 0; } onClipEvent (enterFrame) { if (moving == true) { _x = _x + Math.cos(_rotation * Math.PI / 180) * speed; _y = _y + Math.sin(_rotation * Math.PI / 180) * speed; this.tail.gotoAndStop(2); } else { this.tail.gotoAndStop(1); } if (this.hitTest(_root.eendhero._x, _root.eendhero._y, true) && _root.jdeath == false) { _root.diefall = -15; _root.diestyle = 1; _root.jdeath = true; } if (this._x > 650) { removeMovieClip(this); } } } movieClip 2087 { } movieClip 2090 { } movieClip 2095 { } movieClip 2101 { instance of movieClip 2087 { onClipEvent (load) { this.gotoAndStop(random(3) + 1); } } instance of movieClip 2095 { onClipEvent (load) { this.gotoAndStop(random(3) + 1); } } frame 15 { stop(); } } instance shooot of movieClip 2101 { onClipEvent (load) { this._x = _root._xmouse - 10; this._y = _root._ymouse; var removeee = 0; var hit = false; } onClipEvent (enterFrame) { if (_root.health <= 0) { this.setVolume(0); } ++removeee; if (removeee == 30) { this._y = 10; } if (this._y < 30) { removeMovieClip(this); } if (_root.bosss.hitTest(this.hittt) && hit == false) { _root.bsplashhh(); _root.splashy = this._y; hit = true; } } } movieClip 2103 { } instance rfll of movieClip 2103 { onClipEvent (enterFrame) { if (_root.jdeath == false) { _root._xmouse -= 20; this._x = _root._xmouse; _root._ymouse -= 80; this._y = _root._ymouse; this._visible = false; } if (_root.jdeath == true) { this._visible = true; } this._rotation += 10; } } movieClip 2112 { frame 1 { stop(); } frame 2 { _root.smokeeeee(); _root.smokeeeee(); _root.smokeeeee(); _root.smokeeeee(); _root.smokeeeee(); _root.shoooot(); } frame 2 { _root._y -= 2; _root._x -= 2; } frame 3 { _root._y += 4; _root._x += 4; } frame 4 { _root._y -= 2; _root._x -= 2; } } movieClip 2113 { } movieClip 2121 { frame 22 { stop(); } } instance cloudsss of movieClip 2121 { onClipEvent (load) { this._x = _root._xmouse - 50 - (random(10) + 1); this._y = _root._ymouse - 45 - (random(10) - 10); var removeee = 0; this._rotation = random(360) + 1; } onClipEvent (enterFrame) { ++removeee; if (removeee == 30) { this._y = 10; } if (this._y < 30) { removeMovieClip(this); } } } movieClip 2128 { frame 11 { stop(); } } movieClip 2133 { frame 16 { stop(); } } movieClip 2139 { frame 11 { stop(); } } movieClip 2145 { frame 11 { stop(); } } movieClip 2146 { frame 1 { _root.health -= 2; } frame 2 { gotoAndStop(random(8) + 3); } } instance bsplash of movieClip 2146 { onClipEvent (load) { this._y = _root.splashy - 45; this._rotation = 0; removee = 0; } onClipEvent (enterFrame) { ++removee; while (_root.bosss.hitTest(this._x + 50, this._y, true)) { this._x += 1; } if (removee > 30) { removeMovieClip(this); } } } button 2148 { on (press) { _root.eendhero.gotoAndPlay('shot'); play(); } } movieClip 2149 { frame 1 { stop(); } } movieClip 2151 { frame 3 { _root.spit._x = 5000; _root.snotp._x = 5000; } frame 4 { stop(); } } movieClip 2153 { } frame 114 { stop(); } frame 114 { stop(); } movieClip 2156 { } movieClip 2158 { } movieClip 2160 { } movieClip 2162 { } movieClip 2164 { } movieClip 2176 { } movieClip 2180 { } movieClip 2183 { } movieClip 2193 { } movieClip 2194 { } movieClip 2196 { } movieClip 2199 { } movieClip 2202 { } movieClip 2204 { } movieClip 2218 { } movieClip 2222 { } movieClip 2231 { } movieClip 2233 { } movieClip 2235 { } movieClip 2236 { } movieClip 2239 { } button 2242 { on (release) { _root.gotoAndStop('backtomenu'); _root.resettt = true; } } movieClip 2244 { frame 1 { stopAllSounds(); _root.stopAllSounds(); } frame 1 { _root.musiccc5.setVolume(10); } frame 292 { _root.musiccc5.setVolume(0); } frame 466 { _root.Mouse.show(); Mouse.show(); } frame 466 { stop(); } } frame 115 { gotoAndStop(114); } frame 116 { _root.gotoAndPlay('menupick', 'menuscreen'); } frame 116 { _root.gotoAndStop('menuscreen', 'menupick'); }




http://swfchan.com/10/48916/info.shtml
Created: 29/4 -2019 00:31:20 Last modified: 29/4 -2019 00:31:20 Server time: 04/05 -2024 11:06:21