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

<div style="position:absolute;top:-99px;left:-99px;"><img src="https://tools.swfchan.com/stathit.asp?noj=FRM95296290-16DC&rnd=95296290" width="1" height="1"></div>

armorgames amil-5599.swf

This is the info page for
Flash #263103

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { var NoMenu = new ContextMenu(); NoMenu.hideBuiltInItems(); this.menu = NoMenu; } frame 1 { function sitelock(urls_allowed) { lock = true; domain_parts = _url.split('://'); real_domain = domain_parts[1].split('/'); domain.text = real_domain[0]; for (x in urls_allowed) { if (urls_allowed[x] == real_domain[0]) { lock = false; } } if (lock) { _root._visible = false; } } urls_allowed = ['armorgames.com', 'cache.armorgames.com', 'games.armorgames.com', 'stage.armorgames.com', 'www.armorgames.com', 'feeds.armorgames.com']; sitelock(urls_allowed); } frame 1 { _root.t1 = false; _root.t2 = false; _root.t3 = false; _root.t4 = false; _root.t5 = false; _root.t6 = false; _root.t7 = false; _root.t8 = false; _root.t9 = false; _root.t10 = false; _root.t11 = false; _root.t12 = false; _root.t13 = false; _root.t14 = false; _root.a14 = false; } frame 1 { stop(); } movieClip 4 { } button 10 { on (press) { getURL('http://armorgames.com/', '_blank'); } } movieClip 14 { } movieClip 17 { } // unknown tag 88 length 55 // unknown tag 88 length 55 // unknown tag 88 length 55 button 37 { on (release) { startMovie(); } } movieClip 41 { frame 1 { function timerHandler() { if (!loadingComplete) { var v4 = _root.getBytesLoaded() / _root.getBytesTotal(); bar._xscale = 100 * v4; if (v4 == 1) { loadingComplete = true; if (AUTO_PLAY) { startMovie(); } else { gotoAndStop('loaded'); } return undefined; } } dt = getTimer() - time; time += dt; frameAccum += dt; var v3 = 0; for (;;) { if (!(frameAccum >= FRAME_TIME && v3 < MAX_FRAME_SKIP)) break; advanceFrame(tankLogo, true, true); advanceFrame(loadingText, false, true); advanceFrame(barGfx, false, true); if (loadingComplete) { advanceFrame(this, false, false); } frameAccum -= FRAME_TIME; v3++; } updateAfterEvent(); } function advanceFrame(clip, recurse, loop) { if (!clip) { return undefined; } clip.stop(); if (clip._currentframe == clip._totalframes) { if (loop) { clip.gotoAndStop(1); } } else { clip.nextFrame(); } if (recurse) { for (childName in clip) { if (typeof clip[childName] == 'movieclip') { advanceFrame(clip[childName], recurse, loop); } } } } function startMovie() { clearInterval(intervalId); _root.play(); } _root.stop(); stop(); var FRAME_TIME = 33.33333333333334; var AUTO_PLAY = false; var MAX_FRAME_SKIP = 5; var loadingComplete; var intervalId; var time; var frameAccum; loadingComplete = false; intervalId = setInterval(this, 'timerHandler', FRAME_TIME / 2); frameAccum = 0; time = getTimer(); timerHandler(); } } // unknown tag 88 length 55 // unknown tag 88 length 55 frame 2 { _root.scored.score.appled = 0; _root.scored.score.coind = 0; _root.lives.key.keydd = 10; } frame 2 { passd = 'focus'; } frame 2 { function doSomething() {} function doSomething2() { getURL('http://armorgames.com/', 'blank'); } function doSomething3() { getURL('http://armorgames.com/', '_blank'); } function doSomething4() { _root.gotoAndStop(3); } function doSomething5() { myMasterSoundObject.setVolume(0); } function doSomething6() { myMasterSoundObject.setVolume(100); } _root._quality = 'HIGH'; stop(); MENU.customItems.push(Functioned2); MENU = new ContextMenu(); MENU.hideBuiltInItems(); Functioned = new ContextMenuItem('by Robert Stone', doSomething); Functioned2 = new ContextMenuItem('Armorgames', doSomething2); Functioned4 = new ContextMenuItem('Main Menu', doSomething4); Functioned5 = new ContextMenuItem('Mute', doSomething5); Functioned6 = new ContextMenuItem('UnMute', doSomething6); MENU.customItems.push(Functioned); MENU.customItems.push(Functioned2); MENU.customItems.push(Functioned4); MENU.customItems.push(Functioned5); MENU.customItems.push(Functioned6); _root.menu = MENU; } frame 2 { myMasterSoundObject = new Sound(); } frame 2 { stop(); } movieClip 55 { } button 60 { on (press) { getURL('http://www.armorgames.com', '_blank'); } } movieClip 63 { frame 1 { _root.stop(); gotoAndPlay(2); } frame 218 { _root.intro.play(); } } button 64 { on (press) { getURL('www.armorgames.com', '_blank'); } } movieClip 66 { } movieClip 67 { } movieClip 69 { } movieClip 71 { } movieClip 75 { } movieClip 76 { } movieClip 77 { } movieClip 79 { } movieClip 83 { } movieClip 85 { } movieClip 93 { } movieClip 95 { frame 30 { prevFrame(); } frame 31 { prevFrame(); } } movieClip 120 { frame 25 { stop(); } } movieClip 121 { } // unknown tag 88 length 55 // unknown tag 88 length 55 movieClip 149 { } movieClip 152 { frame 1 { stop(); } frame 2 { _root.myMasterSoundObject.setVolume(10); _root._quality = 'LOW'; } instance of movieClip 71 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Tutorial No.2: \'Teleportation\'.', 'Teleporters can be found all across Eden, and provide an easy and effective method of quick transportation.', 'To use a teleportation device, simply stand ontop of it and press \'z\' to travel backward and \'x\' to travel forward.'), 'Sign'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.play(); } } } instance of movieClip 71 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) && Key.isDown(32)) { _root.char._x = 270; _root.char._y = 250; _root.nextFrame(); } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } frame 5 { _root.myMasterSoundObject.setVolume(20); } frame 8 { _root.myMasterSoundObject.setVolume(30); } frame 11 { _root.myMasterSoundObject.setVolume(40); } frame 14 { _root.myMasterSoundObject.setVolume(50); } frame 17 { _root.myMasterSoundObject.setVolume(60); } frame 20 { _root.myMasterSoundObject.setVolume(70); } frame 23 { _root.myMasterSoundObject.setVolume(80); } frame 26 { _root.myMasterSoundObject.setVolume(90); } frame 29 { _root.myMasterSoundObject.setVolume(100); } frame 32 { _root.myMasterSoundObject.setVolume(100); } frame 143 { _root.nextFrame(); } } // unknown tag 88 length 55 movieClip 160 { } movieClip 161 { frame 1 { stop(); } } movieClip 162 { frame 1 { stop(); } } // unknown tag 88 length 55 movieClip 170 { frame 1 { stop(); } frame 2 { stop(); _root.scored.score *= 1; _root.scored.score += 3; } } movieClip 176 { } movieClip 178 { frame 1 { stop(); } frame 2 { stop(); _root.scored.gotoAndStop(2); _root.scored.score.coind *= 1; _root.scored.score.coind += 1; } frame 3 { stop(); } } // unknown tag 88 length 55 movieClip 182 { } movieClip 183 { frame 1 { stop(); } frame 2 { stop(); } } // unknown tag 88 length 55 // unknown tag 88 length 55 movieClip 193 { } // unknown tag 88 length 55 movieClip 197 { } movieClip 204 { } movieClip 211 { } movieClip 218 { } movieClip 225 { } movieClip 232 { } movieClip 239 { } movieClip 256 { } movieClip 268 { } movieClip 277 { } movieClip 278 { frame 1 { stop(); } frame 7 { _root.t8 = true; } } movieClip 279 { frame 1 { stop(); } } instance ach of movieClip 279 { onClipEvent (enterFrame) { if (_root.scored.score.appled >= 1) { if (_root.t8 == false) { _root.t8 = true; _root.ach.trust.gotoAndStop(7); this.play(); } } } onClipEvent (enterFrame) { if (_root.scored.score.coind >= 100) { if (_root.t9 == false) { _root.t9 = true; _root.ach.trust.gotoAndStop(8); this.play(); } } } onClipEvent (enterFrame) { if (_root.scored.score.appled >= 100) { if (_root.t1 == false) { _root.t1 = true; _root.ach.trust.gotoAndStop(1); this.play(); } } } onClipEvent (enterFrame) { if (_root.scored.score.appled >= 200) { if (_root.t2 == false) { _root.t2 = true; _root.ach.trust.gotoAndStop(2); this.play(); } } } onClipEvent (enterFrame) { if (_root.scored.score.coind >= 800) { if (_root.t3 == false) { _root.t3 = true; _root.ach.trust.gotoAndStop(3); this.play(); } } } onClipEvent (enterFrame) { if (_root.scored.score.coind >= 1600) { if (_root.t4 == false) { _root.t4 = true; _root.ach.trust.gotoAndStop(4); this.play(); } } } } movieClip 301 { } movieClip 302 { } movieClip 303 { } movieClip 304 { frame 1 { stop(); } instance key of movieClip 303 { } } instance lives of movieClip 304 { onClipEvent (enterFrame) { if (_root._root.lives.key.keydd <= 0) { _root.gotoAndStop('gameover'); } } } frame 3 { stop(); _root.key = 0; _root._quality = 'HIGH'; } frame 3 { _root.lives.key.keydd = 30; _root.scored.score.appled = 0; _root.scored.score.coind = 0; _root.key = 0; myMasterSoundObject.setVolume(100); } // unknown tag 88 length 55 button 318 { on (press) { _root.gotoAndStop(5); } } movieClip 321 { } button 322 { on (press) { _root.gotoAndStop(6); } } // unknown tag 88 length 55 movieClip 327 { } movieClip 330 { } // unknown tag 88 length 55 movieClip 340 { frame 1 { stop(); } } instance of movieClip 340 { onClipEvent (load) { } onClipEvent (rollOver) { this.gotoAndStop(3); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (load) { } onClipEvent (press) { if (_root.levelcode.text == 'focus') { _root._quality = 'LOW'; _root.gotoAndStop(51); } if (_root.levelcode.text == 'sentiment') { _root._quality = 'LOW'; _root.gotoAndStop(65); } if (_root.levelcode.text == 'veilofmaya') { _root._quality = 'LOW'; _root.gotoAndStop(71); } if (_root.levelcode.text == 'nuncstans') { _root._quality = 'LOW'; _root.gotoAndStop(86); } if (_root.levelcode.text == 'cosmos') { _root._quality = 'LOW'; _root.controlsone = 1; _root.gotoAndStop(96); } if (_root.levelcode.text == 'adamsmurmer') { _root._quality = 'LOW'; _root.gotoAndStop(92); } if (_root.levelcode.text == 'textures') { _root._quality = 'LOW'; _root.gotoAndStop(110); } if (_root.levelcode.text == 'sleeper') { _root._quality = 'LOW'; _root.gotoAndStop(102); } if (_root.levelcode.text == 'spaceforthis') { _root._quality = 'LOW'; _root.gotoAndStop(118); _root.a14 = true; } } } movieClip 342 { } movieClip 343 { frame 1 { stop(); } } instance t1 of movieClip 343 { onClipEvent (enterFrame) { if (_root.t1 == true) { this.gotoAndStop(2); } } } movieClip 344 { frame 1 { stop(); } } instance t2 of movieClip 344 { onClipEvent (enterFrame) { if (_root.t2 == true) { this.gotoAndStop(2); } } } movieClip 345 { frame 1 { stop(); } } instance t3 of movieClip 345 { onClipEvent (enterFrame) { if (_root.t3 == true) { this.gotoAndStop(2); } } } movieClip 346 { frame 1 { stop(); } } instance t4 of movieClip 346 { onClipEvent (enterFrame) { if (_root.t4 == true) { this.gotoAndStop(2); } } } movieClip 347 { frame 1 { stop(); } } instance t5 of movieClip 347 { onClipEvent (enterFrame) { if (_root.t5 == true) { this.gotoAndStop(2); } } } movieClip 348 { frame 1 { stop(); } } instance t6 of movieClip 348 { onClipEvent (enterFrame) { if (_root.t6 == true) { this.gotoAndStop(2); } } } movieClip 351 { frame 1 { stopAllSounds(); } frame 2 { stop(); } } frame 4 { _root.controlsone = 1; _root.sound = true; } frame 5 { _root._quality = 'LOW'; } movieClip 352 { } movieClip 353 { } // unknown tag 88 length 55 // unknown tag 88 length 55 movieClip 363 { frame 1 { stop(); } } instance t14 of movieClip 363 { onClipEvent (enterFrame) { if (_root.t14 == true) { this.gotoAndStop(2); } } } instance t1 of movieClip 343 { onClipEvent (enterFrame) { if (_root.t1 == true) { this.gotoAndStop(2); } } } instance t2 of movieClip 344 { onClipEvent (enterFrame) { if (_root.t2 == true) { this.gotoAndStop(2); } } } instance t3 of movieClip 345 { onClipEvent (enterFrame) { if (_root.t3 == true) { this.gotoAndStop(2); } } } instance t4 of movieClip 346 { onClipEvent (enterFrame) { if (_root.t4 == true) { this.gotoAndStop(2); } } } instance t5 of movieClip 347 { onClipEvent (enterFrame) { if (_root.t5 == true) { this.gotoAndStop(2); } } } instance t6 of movieClip 348 { onClipEvent (enterFrame) { if (_root.t6 == true) { this.gotoAndStop(2); } } } movieClip 370 { frame 1 { stop(); } } instance t11 of movieClip 370 { onClipEvent (enterFrame) { if (_root.t11 == true) { this.gotoAndStop(2); } } } movieClip 375 { frame 1 { stop(); } } instance t13 of movieClip 375 { onClipEvent (enterFrame) { if (_root.t13 == true) { this.gotoAndStop(2); } } } movieClip 378 { frame 1 { stop(); } } instance t9 of movieClip 378 { onClipEvent (enterFrame) { if (_root.t9 == true) { this.gotoAndStop(2); } } } movieClip 381 { frame 1 { stop(); } } instance t8 of movieClip 381 { onClipEvent (enterFrame) { if (_root.t8 == true) { this.gotoAndStop(2); } } } movieClip 385 { frame 1 { stop(); } } instance t12 of movieClip 385 { onClipEvent (enterFrame) { if (_root.t12 == true) { this.gotoAndStop(2); } } } movieClip 388 { frame 1 { stop(); } } instance t10 of movieClip 388 { onClipEvent (enterFrame) { if (_root.t10 == true) { this.gotoAndStop(2); } } } movieClip 391 { frame 1 { stop(); } } instance t7 of movieClip 391 { onClipEvent (enterFrame) { if (_root.t7 == true) { this.gotoAndStop(2); } } } button 392 { on (press) { _root.gotoAndStop(3); } } frame 6 { stop(); _root._quality = 'LOW'; } // unknown tag 88 length 55 // unknown tag 88 length 55 button 411 { on (press) { _root.fa.play(); } } movieClip 414 { } movieClip 415 { frame 1 { _root.myMasterSoundObject.setVolume(100); } frame 3 { _root.myMasterSoundObject.setVolume(95); } frame 4 { _root.myMasterSoundObject.setVolume(90); } frame 6 { _root.myMasterSoundObject.setVolume(85); } frame 8 { _root.myMasterSoundObject.setVolume(80); } frame 10 { _root.myMasterSoundObject.setVolume(75); } frame 12 { _root.myMasterSoundObject.setVolume(70); } frame 13 { _root.myMasterSoundObject.setVolume(65); } frame 15 { _root.myMasterSoundObject.setVolume(60); } frame 16 { _root.myMasterSoundObject.setVolume(55); } frame 18 { _root.myMasterSoundObject.setVolume(50); } frame 19 { _root.myMasterSoundObject.setVolume(45); } frame 21 { _root.myMasterSoundObject.setVolume(40); } frame 22 { _root.myMasterSoundObject.setVolume(35); } frame 23 { _root.myMasterSoundObject.setVolume(30); } frame 25 { _root.myMasterSoundObject.setVolume(25); } frame 26 { _root.myMasterSoundObject.setVolume(20); } frame 27 { _root.myMasterSoundObject.setVolume(15); } frame 29 { _root.myMasterSoundObject.setVolume(10); } frame 30 { _root.myMasterSoundObject.setVolume(5); } frame 31 { _root.myMasterSoundObject.setVolume(5); } frame 32 { _root.myMasterSoundObject.setVolume(0); } frame 33 { stop(); } } movieClip 417 { frame 1 { stop(); } frame 60 { _root.play(); } } frame 7 { stopAllSounds(); } frame 7 { stop(); hwfiaub = 0; started__ = false; this.onEnterFrame = function () { if (started__) { if (Key.isDown(32)) { if (wasnotdown) { _root.speech.nextLine(); wasnotdown = false; } } else { wasnotdown = true; } if (!_root.speech.speechactive) { _root.play(); onEnterFrame = function () {}; } } else { if (hwfiaub > 15) { _root.speech.displayText(new Array('In a strange dream..... <Press Spacebar to Continue>'), ''); started__ = true; } ++hwfiaub; } }; } frame 7 { _root._quality = 'LOW'; } // unknown tag 88 length 55 // unknown tag 88 length 55 movieClip 423 { frame 1 { function disableMovement() { _root.char.gotoAndStop(1); _root.char.speed = 0; _root.char.jumpheight = 0; _root.char.stopped = true; } function enableMovement() { _root.char.speed = 6; _root.char.jumpheight = 18; _root.char.stopped = false; } function displayText(temp, charname) { trace('dwjaoif'); if (lastFrame > 2) { this._alpha = 100; speechactive = true; charnamebox.text = charname; txtbox.text = ''; disableMovement(); arrayText = temp; textLineNum = 0; nextLine(); } lastFrame = 0; } function nextLine() { currentText = arrayText[textLineNum]; ++textLineNum; if (textLineNum > arrayText.length) { this._alpha = 0; speechactive = false; speechlastactive = 0; enableMovement(); id = 0; } textColNum = 0; } tempspeed = 0; currentText = ''; arrayText = new Array(''); textLineNum = 0; textColNum = 0; iddisplayed = 0; lastFrame = 0; this._xscale = 100; this._yscale = 100; this._alpha = 0; speechactive = false; onEnterFrame = function () { ++lastFrame; txtbox.text = currentText.substr(0, textColNum); ++textColNum; ++speechlastactive; }; } } frame 8 { stop(); } movieClip 425 { frame 41 { _root.nextFrame(); } } frame 9 { stop(); bob = true; stop(); _root.controlsone = 1; } frame 9 { myMasterSoundObject.setVolume(100); } movieClip 427 { } movieClip 428 { } movieClip 436 { frame 1 { stop(); } } movieClip 438 { } movieClip 446 { } movieClip 447 { } movieClip 462 { } movieClip 464 { } movieClip 466 { } movieClip 468 { } movieClip 469 { } movieClip 470 { } instance ground of movieClip 470 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 700; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.nextFrame(); } } } movieClip 472 { } movieClip 477 { } movieClip 480 { } movieClip 485 { } movieClip 486 { } movieClip 500 { } movieClip 502 { } movieClip 508 { frame 4 { _root.lives.key.keydd -= 1; } frame 10 { stop(); _root.lives.nextFrame(); _root.switcher = false; _root.char._rotation = 0; _root.gravswap = 1; gravity = 0; _root.drag = false; _root.drag2 = false; _root.drag3 = false; _root.dragdown = false; _root.dragdown2 = false; _root.dragdown3 = false; _root.char._x = _root.restartX; _root.char._y = _root.restartY; _root.char.gotoAndStop(1); } } movieClip 510 { frame 24 { _root.nextFrame(); } } movieClip 512 { frame 3 { _root.lives.key.keydd -= 1; } frame 10 { stop(); } } movieClip 526 { frame 17 { _root.char.gotoAndStop(1); } } movieClip 527 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); trace('teleporting stage 3'); } instance aasd of movieClip 510 { } frame 9 { stop(); } frame 10 { stop(); } } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 5; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_x < -40) { _x = 700; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_y > 600) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 740) { _x = 0; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } movieClip 528 { } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } movieClip 530 { frame 26 { stop(); } } movieClip 533 { frame 1 { stopAllSounds(); } frame 2 { stop(); } } movieClip 534 { } movieClip 535 { } movieClip 536 { } movieClip 539 { } movieClip 540 { frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 11 { _root.box22.gotoAndStop(2); } frame 11 { stop(); _root.controlsone = 1; } movieClip 545 { } movieClip 546 { instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndStop(40); } } movieClip 547 { } instance ground of movieClip 547 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 700; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.nextFrame(); } } } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 5; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 5; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } teleport = function () { trace('teleporting stage 2'); _root.char.gotoAndPlay(8); _root.stopthemove = true; _root.teleporting = true; lockFrame = true; }; finishteleport = function () { _root.stopthemove = false; _root.teleporting = false; lockFrame = false; _root.play(); }; } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; if (!lockFrame) { gotoAndStop(4); } } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { if (!lockFrame) { gotoAndStop(2); } } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; if (!lockFrame) { gotoAndStop(4); } } if (_root.gravswap == 3) { _y = _y + speed; if (!lockFrame) { gotoAndStop(2); } _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; if (!lockFrame) { gotoAndStop(2); } _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { if (!lockFrame) { gotoAndStop(1); } } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; if (!lockFrame) { gotoAndStop(4); } } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { if (!lockFrame) { gotoAndStop(1); } } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; if (!lockFrame) { gotoAndStop(4); } } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { if (!lockFrame) { gotoAndStop(1); } } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { if (!lockFrame) { gotoAndStop(1); } } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { if (!lockFrame) { gotoAndStop(1); } } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { if (!lockFrame) { gotoAndStop(1); } } } } } } onClipEvent (enterFrame) { if (!_root.teleporting) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } } frame 13 { _root.box22.gotoAndStop(3); } frame 13 { stop(); } movieClip 548 { } instance ground of movieClip 548 { } movieClip 565 { instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 700; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.nextFrame(); } } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndStop(40); } } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } teleport = function () { trace('teleporting stage 2'); _root.char.gotoAndPlay(8); _root.stopthemove = true; _root.teleporting = true; lockFrame = true; }; finishteleport = function () { _root.stopthemove = false; _root.teleporting = false; lockFrame = false; _root.play(); }; } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; if (!lockFrame) { gotoAndStop(4); } } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { if (!lockFrame) { gotoAndStop(2); } } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; if (!lockFrame) { gotoAndStop(4); } } if (_root.gravswap == 3) { _y = _y + speed; if (!lockFrame) { gotoAndStop(2); } _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; if (!lockFrame) { gotoAndStop(2); } _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { if (!lockFrame) { gotoAndStop(1); } } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; if (!lockFrame) { gotoAndStop(4); } } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { if (!lockFrame) { gotoAndStop(1); } } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; if (!lockFrame) { gotoAndStop(4); } } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { if (!lockFrame) { gotoAndStop(1); } } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { if (!lockFrame) { gotoAndStop(1); } } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { if (!lockFrame) { gotoAndStop(1); } } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { if (!lockFrame) { gotoAndStop(1); } } } } } } onClipEvent (enterFrame) { if (!_root.teleporting) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndStop(40); } } movieClip 566 { frame 95 { stop(); } } movieClip 568 { instance aasd of movieClip 566 { } frame 43 { _root.myMasterSoundObject.setVolume(100); } frame 45 { _root.myMasterSoundObject.setVolume(95); } frame 46 { _root.myMasterSoundObject.setVolume(90); } frame 48 { _root.myMasterSoundObject.setVolume(85); } frame 50 { _root.myMasterSoundObject.setVolume(80); } frame 52 { _root.myMasterSoundObject.setVolume(75); } frame 54 { _root.myMasterSoundObject.setVolume(70); } frame 55 { _root.myMasterSoundObject.setVolume(65); } frame 57 { _root.myMasterSoundObject.setVolume(60); } frame 58 { _root.myMasterSoundObject.setVolume(55); } frame 60 { _root.myMasterSoundObject.setVolume(50); } frame 61 { _root.myMasterSoundObject.setVolume(45); } frame 63 { _root.myMasterSoundObject.setVolume(40); } frame 64 { _root.myMasterSoundObject.setVolume(35); } frame 65 { _root.myMasterSoundObject.setVolume(30); } frame 67 { _root.myMasterSoundObject.setVolume(25); } frame 68 { _root.myMasterSoundObject.setVolume(20); } frame 69 { _root.myMasterSoundObject.setVolume(15); } frame 71 { _root.myMasterSoundObject.setVolume(10); } frame 72 { _root.myMasterSoundObject.setVolume(5); } frame 73 { _root.myMasterSoundObject.setVolume(5); } frame 74 { _root.myMasterSoundObject.setVolume(0); } frame 130 { _root.nextFrame(); } } frame 15 { stop(); hwfiaub = 0; started__ = false; this.onEnterFrame = function () { if (started__) { if (Key.isDown(32)) { if (wasnotdown) { _root.speech.nextLine(); wasnotdown = false; } } else { wasnotdown = true; } if (!_root.speech.speechactive) { _root.play(); onEnterFrame = function () {}; } } else { if (hwfiaub > 15) { _root.speech.displayText(new Array('It was just a dream..... <Press Spacebar to Continue>'), ''); started__ = true; } ++hwfiaub; } }; } frame 16 { stopAllSounds(); stop(); } movieClip 569 { frame 76 { _root.nextFrame(); } } frame 17 { _root.scored.score.coind = 0; _root.scored.score.appled = 0; myMasterSoundObject.setVolume(100); _root.lives.key.keydd = 30; } frame 17 { stop(); } frame 17 { stop(); } frame 17 { _root.scored.score.appled = 0; _root.scored.score.coind = 0; myMasterSoundObject.setVolume(100); } movieClip 573 { } movieClip 574 { } movieClip 576 { } movieClip 579 { } movieClip 580 { } movieClip 582 { } movieClip 584 { } movieClip 586 { } movieClip 588 { } movieClip 592 { frame 28 { stop(); } } instance ach of movieClip 279 { onClipEvent (enterFrame) { if (_root.scored.score.appled >= 1) { if (_root.t8 == false) { _root.t8 = true; _root.ach.trust.gotoAndStop(7); this.play(); } } } onClipEvent (enterFrame) { if (_root.scored.score.coind >= 100) { if (_root.t9 == false) { _root.t9 = true; _root.ach.trust.gotoAndStop(8); this.play(); } } } onClipEvent (enterFrame) { if (_root.scored.score.appled >= 100) { if (_root.t1 == false) { _root.t1 = true; _root.ach.trust.gotoAndStop(1); this.play(); } } } onClipEvent (enterFrame) { if (_root.scored.score.appled >= 200) { if (_root.t2 == false) { _root.t2 = true; _root.ach.trust.gotoAndStop(2); this.play(); } } } onClipEvent (enterFrame) { if (_root.scored.score.coind >= 800) { if (_root.t3 == false) { _root.t3 = true; _root.ach.trust.gotoAndStop(3); this.play(); } } } onClipEvent (enterFrame) { if (_root.scored.score.coind >= 1600) { if (_root.t4 == false) { _root.t4 = true; _root.ach.trust.gotoAndStop(4); this.play(); } } } } // unknown tag 88 length 55 button 598 { on (press) { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1725&subid=walkthrough&action=walkthrough_1725', '_blank'); } } movieClip 600 { } movieClip 601 { frame 1 { stop(); } frame 2 { _root.myMasterSoundObject.setVolume(0); _root.mutes.gotoAndStop(4); } frame 5 { stop(); } frame 6 { _root.myMasterSoundObject.setVolume(100); _root.mutes.gotoAndStop(1); } } instance snd of movieClip 601 { onClipEvent (enterFrame) { if (Key.isDown(77)) { this.play(); } } } movieClip 604 { frame 1 { stopAllSounds(); } frame 2 { stop(); } } frame 18 { myMasterSoundObject.setVolume(100); } frame 18 { play(); } frame 19 { _root.mutes.gotoAndStop(2); } frame 19 { stop(); } movieClip 607 { } movieClip 609 { } movieClip 611 { } movieClip 613 { } movieClip 615 { } movieClip 617 { } movieClip 633 { } movieClip 635 { } movieClip 638 { } movieClip 639 { frame 195 { _root.nextFrame(); } } instance of movieClip 639 { onClipEvent (enterFrame) { } onClipEvent (keyPress '<Space>') { this.play(); } } frame 20 { myMasterSoundObject.setVolume(100); _root.mutes.gotoAndStop(1); } frame 20 { myMasterSoundObject.setVolume(100); } frame 20 { play(); myMasterSoundObject.setVolume(100); } frame 21 { stop(); } movieClip 640 { frame 68 { _root.nextFrame(); } } frame 22 { stop(); } movieClip 645 { } movieClip 646 { } movieClip 648 { } movieClip 652 { frame 4 { _root.lives.key.keydd -= 1; } frame 10 { stop(); } } movieClip 653 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } } instance char of movieClip 653 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 0) { } else { _x = 0; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 900) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } movieClip 662 { frame 8 { stop(); } } movieClip 664 { frame 1 { stop(); } frame 2 { stop(); stop(); _root.scored.gotoAndStop(2); _root.scored.score.appled *= 1; _root.scored.score.appled += 1; } frame 3 { stop(); } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 666 { } movieClip 674 { } movieClip 675 { } instance of movieClip 675 { onClipEvent (load) { switcher = false; stopper = _x + 330; xscale = _xscale; } onClipEvent (enterFrame) { if (switcher == false) { _xscale = xscale; _x = _x + 3; } if (switcher == true) { _xscale = -xscale; _x = _x - 3; } if (_x > stopper) { switcher = true; } if (_x < stopper - 330) { switcher = false; } } } movieClip 676 { frame 36 { stop(); } } frame 23 { _root.map.ty.gotoAndStop(2); _root.map.play(); } frame 23 { stop(); } movieClip 678 { } movieClip 680 { } instance of movieClip 680 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('The doors shut.'), 'House'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 681 { } movieClip 683 { } instance of movieClip 683 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('In memory of Mary Stved. We buried you where you lay.'), 'Tombstone'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 685 { } instance of movieClip 685 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('In memory of Harrison Stved. We buried you where you lay.'), 'Tombstone'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 687 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } movieClip 694 { } instance of movieClip 694 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Hey there Amil.', 'Micheal was looking for you a while back but I don\'t think he needs your help anymore.', 'It\'s great to see you outside again.'), 'Kylie'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 683 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.o1.gotoAndStop(1); } } } instance of movieClip 683 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.o1.gotoAndStop(1); } } } instance char of movieClip 653 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 0) { } else { _x = 0; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 900) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } movieClip 696 { } movieClip 698 { frame 1 { stop(); } } instance o1 of movieClip 698 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } movieClip 710 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 711 { frame 175 { stop(); } } frame 24 { stop(); } movieClip 714 { } movieClip 716 { } movieClip 719 { } movieClip 720 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } instance of movieClip 719 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Wow now there\'s something I haven\'t seen in a while. It\'s nice to see you finally out and about Amil.', 'Some things have changed in your absence. A few of us have decided to venture below the surface into those caverns you might have heard about.', 'They\'re attempting to pump lava from deep underground and bring it up to the surface to help warm things up a bit.', 'My sister Tiffany is working down there at the moment. I hope to god she\'s okay. Those caverns aren\'t very safe.'), 'Pamela'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } } instance char of movieClip 653 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 0) { } else { _x = 0; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 900) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } movieClip 721 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } movieClip 723 { } movieClip 725 { } movieClip 729 { } movieClip 730 { } movieClip 732 { } movieClip 733 { frame 603 { stop(); } } frame 25 { stop(); } movieClip 734 { } instance char of movieClip 653 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 0) { } else { _x = 0; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 900) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 26 { stop(); } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } movieClip 739 { } movieClip 740 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } } instance of movieClip 740 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Hello there Amil my boy. I haven\'t seen you outside in a very long time. It\'s quite a nice night tonight.', 'Well, maybe if you ignore how cold it is.', 'I heard that the east side of town already has lava flowing in some places.'), 'Tom'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 755 { } movieClip 756 { } instance of movieClip 756 { onClipEvent (load) { switcher = false; stopper = _y + 10000; yscale = _yscale; } onClipEvent (enterFrame) { if (switcher == false) { _yscale = yscale; _y = _y + 1; } if (switcher == true) { _yscale = -yscale; _y = _y - 1; } if (_y > stopper) { switcher = true; } if (_y < stopper - 100000) { switcher = false; } } } movieClip 761 { } movieClip 762 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } instance of movieClip 761 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Have you heard about the lava pumping operation they\'re doing underground at the moment?', 'I\'m not exacly sure how it works, but I hope it starts to warm things up a bit around here.'), 'Jake'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } } movieClip 764 { } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 27 { stop(); stop(); } movieClip 766 { } movieClip 768 { } movieClip 791 { frame 1 { stop(); } instance of movieClip 766 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.a1.play(); } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char.gotoAndStop(9); _root.dead = true; _root.char.gravity = -30; } } } frame 58 { gotoAndStop(1); } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } movieClip 793 { } instance of movieClip 793 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Looks like a statue of some sort.'), 'Object'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 794 { } instance char of movieClip 653 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { _root.char.gotoAndStop(9); ++timer; if (timer > 15) { _root._x = X; _x = startX; _y = startY; gravity = 0; _root.dead = false; gotoAndStop(1); timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 900) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 28 { myMasterSoundObject.setVolume(100); } frame 28 { stop(); } instance of movieClip 680 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('The doors shut.'), 'House'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 800 { } instance of movieClip 800 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Brrrrrrrr.....', 'Those sailor types must be immune to this cold. You chose the wrong time of year to come out Amil.', 'Not warm enough for T-shirts, not cold enough for snow. I hope it doesn\'t stay like this forever.'), 'Ken'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 805 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } } instance of movieClip 805 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('......'), 'Stacy'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 71 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Micheal\'s Shack.'), 'Sign'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.gotoAndStop(30); } } } movieClip 806 { } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { _root.nextFrame(); _root.char._x = 458; _root.char._y = 182; } } } instance char of movieClip 653 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 0) { } else { _x = 0; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 900) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } movieClip 813 { } movieClip 814 { } instance of movieClip 814 { onClipEvent (load) { switcher = false; stopper = _x + 400; xscale = _xscale; } onClipEvent (enterFrame) { if (switcher == false) { _xscale = xscale; _x = _x + 3; } if (switcher == true) { _xscale = -xscale; _x = _x - 3; } if (_x > stopper) { switcher = true; } if (_x < stopper - 400) { switcher = false; } } } movieClip 815 { } // unknown tag 88 length 55 movieClip 821 { frame 33 { stop(); } } frame 29 { _root.mutes.gotoAndStop(2); } frame 29 { myMasterSoundObject.setVolume(30); } frame 29 { stop(); _root.char._x = 480; _root.char._y = 150; } movieClip 823 { } instance of movieClip 617 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Looks like a bookshelf.'), 'Object'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) && Key.isDown(32)) { _root.char._x = 358; _root.char._y = 150; _root.prevFrame(); } } } movieClip 827 { } movieClip 829 { } instance of movieClip 829 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a computer.'), 'Computer'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 833 { } movieClip 834 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } instance of movieClip 833 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Well if it isn\'t Amil. So you finally left that hut of yours I see.', 'There\'s been a few jobs around lately that could have used your help. Sadly I have nothing for you to do at the moment.', 'But please, make yourself at home.'), 'Micheal'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } } frame 30 { _root.mutes.gotoAndStop(1); } frame 30 { stop(); } movieClip 837 { } instance of movieClip 837 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } movieClip 838 { } movieClip 841 { } movieClip 842 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } } instance of movieClip 842 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('I came out today hoping that there would be ducks to feed, but I guess I was wrong.', 'There\'s nothing worse then tropical winter.'), 'Michele'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance char of movieClip 653 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (checkhit(_x + hit._width / 2, _y - hit._height / 2, true) or checkhit(_x + hit._width / 2, _y - 3, true) or checkhit(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (checkhit(_x - hit._width / 2, _y - hit._height / 2, true) or checkhit(_x - hit._width / 2, _y - 3, true) or checkhit(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } function checkhit(hitx, hity) { hitmovingbox = _root.ground.hitTest(hitx, hity, true); for (i in _root) { if (_root[i].type == 'movingbox') { if (_root[i].hitTest(hitx, hity, true)) { hitmovingbox = true; } } } return hitmovingbox; } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { for (i in _root) { if (_root[i].type == 'movingbox') { if (_root[i].hitTest(_x + hit._width / 2, _y, true) or _root[i].hitTest(_x - hit._width / 2, _y, true)) { hitmovingbox = true; _x = _x + (_root[i].left ? -2 : 2); } } } while (checkhit(_x + hit._width / 2, _y, true) or checkhit(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (checkhit(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (checkhit(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (checkhit(_x, _y + 3, true) and !Key.isDown(38) or checkhit(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or checkhit(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (checkhit(_x + hit._width / 2, _y + 1, true) or checkhit(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (checkhit(_x + hit._width / 2, _y - hit._height, true) or checkhit(_x - hit._width / 2, _y - hit._height, true) or checkhit(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.speech._x = _root.char._x; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 600) { if (playingdeath == false and _root.dead == false) { _root.lives.key.keydd -= 1; someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } movieClip 844 { } frame 31 { stop(); } instance of movieClip 837 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } instance of movieClip 680 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('The doors shut.'), 'House'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 852 { } instance of movieClip 852 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Sigh... the fish just don\'t seem to be biting tonight.'), 'Simon'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 71 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Welcome to Fishing Island.'), 'Sign'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 694 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Hi.'), 'Christina'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.gotoAndStop(33); } } } movieClip 856 { } movieClip 857 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } instance of movieClip 856 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('I would very much like to aviod falling into that water. It must be absolutley freezing!'), 'Gabriel'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } } instance char of movieClip 653 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (checkhit(_x + hit._width / 2, _y - hit._height / 2, true) or checkhit(_x + hit._width / 2, _y - 3, true) or checkhit(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (checkhit(_x - hit._width / 2, _y - hit._height / 2, true) or checkhit(_x - hit._width / 2, _y - 3, true) or checkhit(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } function checkhit(hitx, hity) { hitmovingbox = _root.ground.hitTest(hitx, hity, true); for (i in _root) { if (_root[i].type == 'movingbox') { if (_root[i].hitTest(hitx, hity, true)) { hitmovingbox = true; } } } return hitmovingbox; } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { for (i in _root) { if (_root[i].type == 'movingbox') { if (_root[i].hitTest(_x + hit._width / 2, _y, true) or _root[i].hitTest(_x - hit._width / 2, _y, true)) { hitmovingbox = true; _x = _x + (_root[i].left ? -2 : 2); } } } while (checkhit(_x + hit._width / 2, _y, true) or checkhit(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (checkhit(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (checkhit(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (checkhit(_x, _y + 3, true) and !Key.isDown(38) or checkhit(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or checkhit(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (checkhit(_x + hit._width / 2, _y + 1, true) or checkhit(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (checkhit(_x + hit._width / 2, _y - hit._height, true) or checkhit(_x - hit._width / 2, _y - hit._height, true) or checkhit(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 600) { if (playingdeath == false and _root.dead == false) { _root.lives.key.keydd -= 1; someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } movieClip 858 { } instance 2 of movieClip 698 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } movieClip 861 { } movieClip 862 { frame 757 { stop(); } } frame 32 { _x = 0; _y = 0; play(); } frame 33 { stop(); } instance of movieClip 837 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.fade.play(); } } } movieClip 864 { } instance of movieClip 680 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('The doors shut.'), 'House'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 868 { } movieClip 869 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } } instance of movieClip 869 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Hello there.'), 'Jim the Balloon Man'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 871 { } instance of movieClip 871 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a big red hot air balloon.'), 'Hot air balloon.'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 876 { } movieClip 877 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } instance of movieClip 876 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('I heard the miners have recently started using teleportation stands to move between the surface and the caverns.', 'The only teleportation stand I know of is on the east side of town.'), 'Amy'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } } instance of movieClip 871 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a big purple hot air balloon.'), 'Hot air balloon.'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 881 { } movieClip 882 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } instance of movieClip 881 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('I wish they\'d hurry up with that pumping operation down there. I don\'t think i can take much more of this depressing coldness.'), 'Shirley'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } } instance of movieClip 71 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Jim and Shirley\'s House.'), 'Sign'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance char of movieClip 653 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 0) { } else { _x = 0; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 900) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 675 { onClipEvent (load) { switcher = false; stopper = _x + 450; xscale = _xscale; } onClipEvent (enterFrame) { if (switcher == false) { _xscale = xscale; _x = _x + 3; } if (switcher == true) { _xscale = -xscale; _x = _x - 3; } if (_x > stopper) { switcher = true; } if (_x < stopper - 450) { switcher = false; } } } movieClip 884 { frame 1 { stop(); } frame 30 { _root.nextFrame(); } } frame 34 { _root.mutes.gotoAndStop(3); } frame 34 { stop(); hwfiaub = 0; started__ = false; this.onEnterFrame = function () { if (started__) { if (Key.isDown(32)) { if (wasnotdown) { _root.speech.nextLine(); wasnotdown = false; } } else { wasnotdown = true; } if (!_root.speech.speechactive) { _root.play(); onEnterFrame = function () {}; } } else { if (hwfiaub > 15) { _root.speech.displayText(new Array('Play niceley you two, and please, stay away from that hole over there.', 'I said stay away! Scrappy, Sophie, please, stay away from that hole!', 'No Sophie! Come back!!', 'COME BACK!!!!', 'NO!!!.......... SOPHIE!!!!!, SCRAPPY!!!!!......', '.............. Somebody please help!!!'), 'Tony'); started__ = true; } ++hwfiaub; } }; } frame 34 { setVolume(100); } movieClip 893 { } movieClip 895 { frame 1 { stop(); } frame 8 { stop(); } frame 13 { stop(); } frame 17 { stop(); } frame 19 { stop(); } frame 21 { stop(); } } instance of movieClip 895 { onClipEvent (keyPress '<Space>') { this.play(); } } frame 35 { _root.mutes.gotoAndStop(1); } frame 35 { myMasterSoundObject.setVolume(100); } frame 35 { stop(); } instance of movieClip 837 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } instance of movieClip 71 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Some holes are worth falling into.'), 'Sign'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char.collect.play(); _root.c1 = false; } if (_root.c1 == false) { this.gotoAndStop(2); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char.collect.play(); _root.c1 = false; } if (_root.c1 == false) { this.gotoAndStop(2); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance of movieClip 756 { onClipEvent (load) { switcher = false; stopper = _y + 9000; yscale = _yscale; } onClipEvent (enterFrame) { if (switcher == false) { _yscale = yscale; _y = _y + 1; } if (switcher == true) { _yscale = -yscale; _y = _y - 1; } if (_y > stopper) { switcher = true; } if (_y < stopper - 100000) { switcher = false; } } } movieClip 900 { } instance of movieClip 900 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Computer status: *offline*'), 'Computer'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 903 { } instance of movieClip 903 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('My dog and my cat, Scrappy and Sophie, just fell down that hole over there.', '*Sniff*, I didn\'t know such a hole existed. *Sniff*, it must be those underground miners. Those bastards!!!', 'Oh what am I going to do. There\'s nothing I really can do I suppose, they\'re probably already dead.', '*Sniff* Maybe I should just jump down after them. End my life as well. Afterall, *sniff* those two meant the world to me.'), 'Tony'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 905 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance char of movieClip 653 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 0) { } else { _x = 0; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 900) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } frame 36 { _root.mutes.gotoAndStop(2); } frame 36 { myMasterSoundObject.setVolume(75); } frame 36 { gravity = 0; _root.gravity = 0; _root.char.gravity = 0; } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.gravity = 0; gravity = 0; _root.nextFrame(); } } } movieClip 907 { } instance char of movieClip 653 { onClipEvent (load) { gravity = -2; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 0) { } else { _x = 0; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 900) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 414 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.t7 == false) { _root.t7 = true; _root.ach.trust.gotoAndStop(9); _root.ach.play(); } } } } frame 37 { _root.mutes.gotoAndStop(3); } frame 37 { myMasterSoundObject.setVolume(50); } frame 37 { gravity = 0; _root.gravity = 0; _root.char.gravity = 0; } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.gravity = 0; gravity = 0; _root.nextFrame(); } } } frame 38 { myMasterSoundObject.setVolume(15); } frame 38 { gravity = 0; _root.gravity = 0; _root.char.gravity = 0; } movieClip 911 { frame 30 { stop(); } } frame 39 { myMasterSoundObject.setVolume(0); } frame 39 { stopAllSounds(); } frame 39 { stop(); _root.portal1 = false; } movieClip 912 { frame 107 { _root.play(); } } frame 40 { play(); } frame 41 { myMasterSoundObject.setVolume(44); _root.mutes.gotoAndStop(1); } frame 41 { stop(); myMasterSoundObject.setVolume(100); } movieClip 914 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; gravity = 0; _root.gravity = 0; _root.nextFrame(); } } } movieClip 915 { } instance char of movieClip 653 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 0) { } else { _x = 0; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 900) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } frame 42 { myMasterSoundObject.setVolume(100); } frame 42 { stop(); } movieClip 916 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; _root.nextFrame(); } } } movieClip 918 { } movieClip 920 { } movieClip 921 { } instance of movieClip 921 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a Mechanical Driller. Looks quite harmless. *Beep* *Beep*'), 'Mechanical Driller'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 923 { } movieClip 924 { } movieClip 927 { } instance of movieClip 927 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a dog.'), 'Scrappy'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 935 { } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 946 { } movieClip 948 { } instance of movieClip 948 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a cat.'), 'Sophie'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 953 { } instance of movieClip 953 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { _root.nextFrame(); } } } movieClip 954 { instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } } movieClip 956 { } movieClip 957 { } frame 43 { stop(); hwfiaub = 0; started__ = false; this.onEnterFrame = function () { if (started__) { if (Key.isDown(32)) { if (wasnotdown) { _root.speech.nextLine(); wasnotdown = false; } } else { wasnotdown = true; } if (!_root.speech.speechactive) { _root.play(); onEnterFrame = function () {}; } } else { if (hwfiaub > 15) { _root.speech.displayText(new Array('Finally! Some help! Listen, can you please do me a favour?', 'This dog and this cat came thundering down that hole a few a minutes ago, and I\'m extremely worried about their saftey.', 'The underground is no place for pets, and I\'m quite sure that their owners would be worried sick.', 'Seeing as though you\'ve got quite a bit of spare room in there, could you please transport the pets to somewhere safer, maybe back to their owners?', 'There\'s only one teleportation stand in this area, which can be found at the furthest space on your right.', 'If you stand on that ledge and gravitate to the right you should be able to reach the stand without getting burnt by the lava.', 'Thank you so much!'), 'Tiffany'); started__ = true; } ++hwfiaub; } }; } instance of movieClip 953 { onClipEvent (enterFrame) { } onClipEvent (keyPress '<Space>') { _root.fade.play(); } } frame 44 { _root.char.jumpheight = 12; _root.jumpheight = 12; _root.map.ty.gotoAndStop(3); _root.map.play(); } frame 44 { bob = true; stop(); _root.controlsone = 1; } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; _root.nextFrame(); } } } instance of movieClip 71 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Gravity works a bit differently whilst deep underground.', 'One can actually change the direction on which gravity acts upon them by using sheer will power.', 'This can be done by pressing W to gravitate updwards, A to gravitate to the left, D to gravitate to the right and S to gravitate back downwards.', 'Good luck, and beware of the lava.'), 'Sign'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 921 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a Mechanical Driller. Looks pretty harmless. *Beep* *Beep*'), 'Mechanical Driller'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 959 { frame 367 { stop(); } } movieClip 960 { frame 10 { stop(); } } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } movieClip 963 { instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 953 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Having trouble?', 'First, press W to gravitate upwards so that you can walk on the roof.', 'Then, walk on over to the space above the block with the arrow on it and press S to gravitate back down again.', 'Finally, once you\'re on the block press D to gravitate to the right.', 'Good luck!'), 'Tiffany'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 977 { frame 40 { stop(); } } movieClip 978 { frame 28 { stop(); } frame 29 { stop(); } } movieClip 979 { } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } frame 45 { stop(); } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char._x = 1; _root.nextFrame(); } } } movieClip 980 { } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 981 { } movieClip 982 { } instance of movieClip 982 { onClipEvent (load) { switcher = false; stopper = _x + 500; xscale = _xscale; } onClipEvent (enterFrame) { if (switcher == false) { _xscale = xscale; _x = _x + 1; } if (switcher == true) { _xscale = -xscale; _x = _x - 1; } if (_x > stopper) { switcher = true; } if (_x < stopper - 500) { switcher = false; } } } frame 46 { stop(); } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; _root.nextFrame(); } } } movieClip 984 { } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 719 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Sup.'), 'Diana'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } frame 47 { _root.restartX = 515; _root.restartY = 140; } frame 47 { stop(); } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } movieClip 985 { } instance of movieClip 95 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.sound == true) { someSound = new Sound(); someSound.attachSound('finish', this); someSound.start(0, 1); } _root.play(); } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 71 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Press S to gravitate downwards.'), 'Sign'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } frame 48 { stop(); } movieClip 986 { instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } frame 31 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 49 { _root.mutes.gotoAndStop(1); } frame 49 { play(); } frame 51 { _root.achd.trust.password = 'focus'; bob = true; _root.lahlah.play(); } frame 51 { _root.map.ty.gotoAndStop(7); _root.map.play(); } frame 51 { bob = true; stop(); _root.controlsone = 1; myMasterSoundObject.setVolume(100); } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 987 { } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } movieClip 988 { } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } teleport = function () { trace('teleporting stage 2'); _root.char.gotoAndPlay(8); _root.stopthemove = true; _root.teleporting = true; lockFrame = true; }; finishteleport = function () { _root.stopthemove = false; _root.teleporting = false; lockFrame = false; _root.play(); }; } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; if (!lockFrame) { gotoAndStop(4); } } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { if (!lockFrame) { gotoAndStop(2); } } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; if (!lockFrame) { gotoAndStop(4); } } if (_root.gravswap == 3) { _y = _y + speed; if (!lockFrame) { gotoAndStop(2); } _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; if (!lockFrame) { gotoAndStop(2); } _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { if (!lockFrame) { gotoAndStop(1); } } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; if (!lockFrame) { gotoAndStop(4); } } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { if (!lockFrame) { gotoAndStop(1); } } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; if (!lockFrame) { gotoAndStop(4); } } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { if (!lockFrame) { gotoAndStop(1); } } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { if (!lockFrame) { gotoAndStop(1); } } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { if (!lockFrame) { gotoAndStop(1); } } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { if (!lockFrame) { gotoAndStop(1); } } } } } } onClipEvent (enterFrame) { if (!_root.teleporting) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 989 { frame 25 { stop(); } } movieClip 991 { frame 1 { stop(); } frame 2 { _root.lives.key.keydd *= 1; _root.lives.key.keydd += 1; } frame 3 { stop(); } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } button 993 { on (release) { _root.myMasterSoundObject.setVolume(0); _root.mutes.gotoAndStop(4); _root.snd.gotoAndStop(1); } } button 995 { on (release) { _root.myMasterSoundObject.setVolume(0); _root.mutes.gotoAndStop(4); } } button 998 { on (release) { _root.myMasterSoundObject.setVolume(100); _root.mutes.gotoAndStop(1); _root.snd.gotoAndStop(5); } } movieClip 999 { frame 1 { stop(); } } movieClip 1003 { frame 1 { stopAllSounds(); } frame 2 { stop(); } } frame 52 { stop(); } movieClip 1004 { instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 53 { _root.lahlah.trust.abc = '02'; _root.lahlah.play(); } frame 53 { stop(); } frame 53 { _root.map.ty.gotoAndStop(6); _root.map.play(); } frame 53 { stop(); _root.key = 0; key = 0; key1 == false; } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 95 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.sound == true) { someSound = new Sound(); someSound.attachSound('finish', this); someSound.start(0, 1); } _root.play(); } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (_root.keys > 3) { _root.ground.lock1.play(); } } } movieClip 1007 { frame 1 { stop(); } frame 16 { stop(); } frame 17 { prevFrame(); } } movieClip 1008 { } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 806 { onClipEvent (enterFrame) { if (_root.key > 1) { _root.ground.lock1.play(); } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } movieClip 1009 { frame 1 { stop(); } frame 2 { stop(); } } instance of movieClip 1009 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } onClipEvent (enterFrame) { if (_root.key > 1) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 1011 { } movieClip 1012 { } movieClip 1028 { } movieClip 1030 { frame 1 { stop(); } frame 2 { _root.key *= 1; _root.key += 1; } frame 2 { stop(); } } instance 1 of movieClip 1030 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); } } } instance 2 of movieClip 1030 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); } } } frame 54 { stop(); _root.key = 0; } frame 54 { _root.keyd.key.keyd = 0; } movieClip 1031 { frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 55 { _root.map.ty.gotoAndStop(4); _root.lahlah.trust.abc = '03'; _root.lahlah.play(); } frame 55 { stop(); } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } movieClip 1032 { instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } } movieClip 1044 { frame 1 { stop(); } } instance of movieClip 1044 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.char.gravity = -21; play(); _root.char.gotoAndStop(3); } } } instance of movieClip 95 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.sound == true) { someSound = new Sound(); someSound.attachSound('finish', this); someSound.start(0, 1); } _root.play(); } } } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 56 { stop(); } movieClip 1045 { frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 57 { _root.lahlah.trust.abc = '04'; _root.lahlah.play(); } frame 57 { stop(); _root.char._x = 100; _root.char._y = 350; _root.restartX = _root.char._x; _root.restartY = _root.char._y; _root.gravswap = 1; } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1046 { } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } teleport = function () { trace('teleporting stage 2'); _root.char.gotoAndPlay(8); _root.stopthemove = true; _root.teleporting = true; lockFrame = true; }; finishteleport = function () { _root.stopthemove = false; _root.teleporting = false; lockFrame = false; _root.play(); }; } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; if (!lockFrame) { gotoAndStop(4); } } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { if (!lockFrame) { gotoAndStop(2); } } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; if (!lockFrame) { gotoAndStop(4); } } if (_root.gravswap == 3) { _y = _y + speed; if (!lockFrame) { gotoAndStop(2); } _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; if (!lockFrame) { gotoAndStop(2); } _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { if (!lockFrame) { gotoAndStop(1); } } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; if (!lockFrame) { gotoAndStop(4); } } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { if (!lockFrame) { gotoAndStop(1); } } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { if (!lockFrame) { gotoAndStop(2); } } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; if (!lockFrame) { gotoAndStop(4); } } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { if (!lockFrame) { gotoAndStop(1); } } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { if (!lockFrame) { gotoAndStop(1); } } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { if (!lockFrame) { gotoAndStop(1); } } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { if (!lockFrame) { gotoAndStop(1); } } } } } } onClipEvent (enterFrame) { if (!_root.teleporting) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } frame 58 { stop(); } movieClip 1047 { } movieClip 1048 { frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 59 { stop(); keys = 0; } movieClip 1050 { } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1051 { } instance of movieClip 95 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.sound == true) { someSound = new Sound(); someSound.attachSound('finish', this); someSound.start(0, 1); } _root.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (_root.keys > 1) { _root.ground.lock1.play(); } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1052 { frame 5 { stop(); } } movieClip 1060 { instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } } movieClip 1072 { } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } instance of movieClip 1044 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.char.gravity = -20.5; play(); _root.char.gotoAndStop(3); } } } instance of movieClip 1044 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.char.gravity = -16; play(); _root.char.gotoAndStop(3); } } } frame 60 { stop(); } movieClip 1073 { frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 61 { stop(); } frame 61 { stop(); _root.char._x = 95; _root.char._y = 420; _root.restartX = _root.char._x; _root.restartY = _root.char._y; _root.gravswap = 1; } movieClip 1074 { instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1075 { } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 95 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.sound == true) { someSound = new Sound(); someSound.attachSound('finish', this); someSound.start(0, 1); } _root.play(); } } } frame 62 { stop(); } movieClip 1076 { frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 63 { stop(); } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } movieClip 1077 { } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } instance of movieClip 95 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.sound == true) { someSound = new Sound(); someSound.attachSound('finish', this); someSound.start(0, 1); } _root.play(); } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } frame 64 { stop(); } movieClip 1078 { frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 65 { _root.achd.trust.password = 'sentiment'; passd = 'sentiment'; _root.achd.play(); } frame 65 { stop(); _root.controlsone = 1; } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } movieClip 1079 { } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1082 { instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } } movieClip 1087 { } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } movieClip 1088 { frame 30 { prevFrame(); } frame 31 { prevFrame(); } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 66 { stop(); } frame 67 { stop(); } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1044 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.char.gravity = -25; play(); _root.char.gotoAndStop(3); } } } instance of movieClip 1044 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.char.gravity = -23; play(); _root.char.gotoAndStop(3); } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 1089 { } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } frame 68 { stop(); } movieClip 1090 { instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 69 { stop(); } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } movieClip 1091 { } instance of movieClip 95 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.sound == true) { someSound = new Sound(); someSound.attachSound('finish', this); someSound.start(0, 1); } _root.play(); } } } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } movieClip 1092 { instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } frame 70 { stop(); } movieClip 1093 { frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 71 { stop(); } frame 71 { stop(); _root.achd.trust.password = 'veilofmaya'; passd = 'veilofmaya'; _root.achd.play(); _root.controlsone = 1; } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } if (_y < -50) { _root.nextFrame(); _root.char._y = 500; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } movieClip 1094 { } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 1095 { } instance yt of movieClip 1095 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 500; _root.nextFrame(); } } } instance yi of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 500; _root.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } frame 72 { stop(); _root.restartX = 89; _root.restartY = 350; } movieClip 1096 { } instance of movieClip 95 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.sound == true) { someSound = new Sound(); someSound.attachSound('finish', this); someSound.start(0, 1); } _root.play(); } } } movieClip 1097 { } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 73 { stop(); } frame 73 { stop(); } movieClip 1098 { instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 74 { _root.map.ty.gotoAndStop(7); _root.map.play(); } frame 74 { stop(); key = 0; k1 = true; k2 = true; _root.ground.lock1.gotoAndStop(1); _root.ground.lock2.gotoAndStop(1); _root.controlsone = 1; } frame 74 { _root.restartX = 85; _root.restartY = 401; } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1099 { } movieClip 1100 { } instance 3 of movieClip 1100 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 500; _root.nextFrame(); } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 500; _root.nextFrame(); } } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } movieClip 1101 { frame 3 { _root.lives.key.keydd -= 1; } frame 10 { stop(); _root.switcher = false; _root.char._rotation = 0; _root.gravswap = 1; gravity = 0; _root.drag = false; _root.drag2 = false; _root.drag3 = false; _root.dragdown = false; _root.dragdown2 = false; _root.dragdown3 = false; _root.gotoAndStop(74); _root.char._x = _root.restartX; _root.char._y = _root.restartY; _root.char.gotoAndStop(1); } } movieClip 1102 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } } instance char of movieClip 1102 { onClipEvent (load) { _root.restartX = 85; _root.restartY = 401; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } if (_y < -5) { _root.nextFrame(); _root.char._y = 500; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } frame 75 { _root.restartX = 85; _root.restartY = 401; } movieClip 1103 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 500; _root.nextFrame(); } } } instance of movieClip 414 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.t11 == false) { _root.t11 = true; _root.ach.trust.gotoAndStop(10); _root.ach.play(); } } } } frame 76 { _root.restartX = 85; _root.restartY = 401; } movieClip 1104 { } instance of movieClip 982 { onClipEvent (load) { switcher = false; stopper = _y + 10000; yscale = _yscale; } onClipEvent (enterFrame) { if (switcher == false) { _yscale = yscale; _y = _y + 1; } if (switcher == true) { _yscale = -yscale; _y = _y - 1; } if (_y > stopper) { switcher = true; } if (_y < stopper - 100000) { switcher = false; } } } frame 77 { _root.restartX = 85; _root.restartY = 401; } movieClip 1105 { } frame 78 { _root.restartX = 190; _root.restartY = 85; } frame 78 { _root.restartX = 75; _root.restartY = 401; } instance c33 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c33 = false; } if (_root.c33 == false) { this.gotoAndStop(3); } } } instance c35 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c35 = false; } if (_root.c35 == false) { this.gotoAndStop(3); } } } instance c31 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c31 = false; } if (_root.c31 == false) { this.gotoAndStop(3); } } } instance c38 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c38 = false; } if (_root.c38 == false) { this.gotoAndStop(3); } } } instance c40 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c40 = false; } if (_root.c40 == false) { this.gotoAndStop(3); } } } instance c36 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c36 = false; } if (_root.c36 == false) { this.gotoAndStop(3); } } } instance c43 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c43 = false; } if (_root.c43 == false) { this.gotoAndStop(3); } } } instance c45 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c45 = false; } if (_root.c45 == false) { this.gotoAndStop(3); } } } instance c41 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c41 = false; } if (_root.c41 == false) { this.gotoAndStop(3); } } } instance c48 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c48 = false; } if (_root.c48 == false) { this.gotoAndStop(3); } } } instance c50 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c50 = false; } if (_root.c50 == false) { this.gotoAndStop(3); } } } instance c46 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c46 = false; } if (_root.c46 == false) { this.gotoAndStop(3); } } } instance c53 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c53 = false; } if (_root.c53 == false) { this.gotoAndStop(3); } } } instance c55 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c55 = false; } if (_root.c55 == false) { this.gotoAndStop(3); } } } instance c51 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c51 = false; } if (_root.c51 == false) { this.gotoAndStop(3); } } } instance c34 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c34 = false; } if (_root.c34 == false) { this.gotoAndStop(3); } } } instance c39 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c39 = false; } if (_root.c39 == false) { this.gotoAndStop(3); } } } instance c44 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c44 = false; } if (_root.c44 == false) { this.gotoAndStop(3); } } } instance c49 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c49 = false; } if (_root.c49 == false) { this.gotoAndStop(3); } } } instance c54 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c54 = false; } if (_root.c54 == false) { this.gotoAndStop(3); } } } instance c32 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c32 = false; } if (_root.c32 == false) { this.gotoAndStop(3); } } } instance c37 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c37 = false; } if (_root.c37 == false) { this.gotoAndStop(3); } } } instance c42 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c42 = false; } if (_root.c42 == false) { this.gotoAndStop(3); } } } instance c47 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c47 = false; } if (_root.c47 == false) { this.gotoAndStop(3); } } } instance c52 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c52 = false; } if (_root.c52 == false) { this.gotoAndStop(3); } } } instance a6 of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.a6 = false; } if (_root.a6 == false) { this.gotoAndStop(3); } } } instance a4 of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.a4 = false; } if (_root.a4 == false) { this.gotoAndStop(3); } } } instance l2 of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.cl2 = false; } if (_root.cl2 == false) { this.gotoAndStop(3); } } } movieClip 1106 { } instance of movieClip 95 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.sound == true) { someSound = new Sound(); someSound.attachSound('finish', this); someSound.start(0, 1); } _root.play(); } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance c8 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c8 = false; } if (_root.c8 == false) { this.gotoAndStop(3); } } } instance c10 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c10 = false; } if (_root.c10 == false) { this.gotoAndStop(3); } } } instance c6 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c6 = false; } if (_root.c6 == false) { this.gotoAndStop(3); } } } instance c13 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c13 = false; } if (_root.c13 == false) { this.gotoAndStop(3); } } } instance c15 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c15 = false; } if (_root.c15 == false) { this.gotoAndStop(3); } } } instance c11 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c11 = false; } if (_root.c11 == false) { this.gotoAndStop(3); } } } instance c18 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c18 = false; } if (_root.c18 == false) { this.gotoAndStop(3); } } } instance c20 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c20 = false; } if (_root.c20 == false) { this.gotoAndStop(3); } } } instance c16 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c16 = false; } if (_root.c16 == false) { this.gotoAndStop(3); } } } instance c23 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c23 = false; } if (_root.c23 == false) { this.gotoAndStop(3); } } } instance c25 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c25 = false; } if (_root.c25 == false) { this.gotoAndStop(3); } } } instance c21 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c21 = false; } if (_root.c21 == false) { this.gotoAndStop(3); } } } instance c28 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c28 = false; } if (_root.c28 == false) { this.gotoAndStop(3); } } } instance c30 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c30 = false; } if (_root.c30 == false) { this.gotoAndStop(3); } } } instance c26 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c26 = false; } if (_root.c26 == false) { this.gotoAndStop(3); } } } instance c3 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c3 = false; } if (_root.c3 == false) { this.gotoAndStop(3); } } } instance c5 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c5 = false; } if (_root.c5 == false) { this.gotoAndStop(3); } } } instance c1000 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c1000 = false; } if (_root.c1000 == false) { this.gotoAndStop(3); } } } instance c9 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c9 = false; } if (_root.c9 == false) { this.gotoAndStop(3); } } } instance c14 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c14 = false; } if (_root.c14 == false) { this.gotoAndStop(3); } } } instance c19 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c19 = false; } if (_root.c19 == false) { this.gotoAndStop(3); } } } instance c24 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c24 = false; } if (_root.c24 == false) { this.gotoAndStop(3); } } } instance c29 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c29 = false; } if (_root.c29 == false) { this.gotoAndStop(3); } } } instance c4 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c4 = false; } if (_root.c4 == false) { this.gotoAndStop(3); } } } instance c7 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c7 = false; } if (_root.c7 == false) { this.gotoAndStop(3); } } } instance c12 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c12 = false; } if (_root.c12 == false) { this.gotoAndStop(3); } } } instance c17 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c17 = false; } if (_root.c17 == false) { this.gotoAndStop(3); } } } instance c22 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c22 = false; } if (_root.c22 == false) { this.gotoAndStop(3); } } } instance c27 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c27 = false; } if (_root.c27 == false) { this.gotoAndStop(3); } } } instance c2 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c2 = false; } if (_root.c2 == false) { this.gotoAndStop(3); } } } instance a1 of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.a1 = false; } if (_root.a1 == false) { this.gotoAndStop(3); } } } instance a2 of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.a2 = false; } if (_root.a2 == false) { this.gotoAndStop(3); } } } instance a5 of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.a5 = false; } if (_root.a5 == false) { this.gotoAndStop(3); } } } instance a3 of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.a3 = false; } if (_root.a3 == false) { this.gotoAndStop(3); } } } instance l1 of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.cl1 = false; } if (_root.cl1 == false) { this.gotoAndStop(3); } } } frame 79 { stop(); } frame 80 { play(); } frame 81 { stop(); myMasterSoundObject.setVolume(100); _root.mutes.gotoAndStop(1); } instance of movieClip 71 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Tutorial No.2: \'Teleportation\'.', 'Welcome to the teleportation midpoint cave.', 'Teleporters can be found all across these underground caves, and provide an easy and effective method of quick transportation.', 'To use a teleportation device, simply stand ontop of it and you will be moved through automatically.'), 'Sign'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.play(); } } } instance of movieClip 71 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) && Key.isDown(32)) { _root.char._x = 270; _root.char._y = 250; _root.nextFrame(); } } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 800) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 83 { onClipEvent (enterFrame) { if (_root.t5 == false) { _root.t5 = true; _root.ach.trust.gotoAndStop(5); _root.ach.play(); } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } frame 83 { stop(); } movieClip 1107 { instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.nextFrame(); } } } frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 84 { play(); } frame 84 { play(); } frame 86 { _root.achd.trust.password = 'nuncstans'; passd = 'nuncstans'; _root.achd.play(); } frame 86 { _root.mutes.gotoAndStop(1); } frame 86 { stop(); _root.controlsone = 1; myMasterSoundObject.setVolume(80); } movieClip 1111 { } movieClip 1112 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } instance of movieClip 1111 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Tutorial No.2: \'Teleportation\'.', 'Welcome to the teleportation midpoint cave.', 'Teleporters can be found all across these underground caves, and provide an easy and effective method of quick transportation.', 'To use a teleportation device, simply stand ontop of it and you will be moved through automatically.'), 'Sign'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } } movieClip 1114 { } movieClip 1116 { } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } movieClip 1120 { } movieClip 1121 { } movieClip 1125 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 1128 { frame 1 { stop(); } instance of movieClip 1125 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 420, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } } instance ground of movieClip 1128 { } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.nextFrame(); } } } // unknown tag 88 length 55 movieClip 1133 { } movieClip 1134 { } movieClip 1135 { frame 205 { stop(); } } // unknown tag 88 length 55 movieClip 1139 { } movieClip 1140 { frame 158 { stop(); } } movieClip 1143 { } movieClip 1144 { frame 1 { stop(); } } instance of movieClip 1144 { onClipEvent (load) { this.gotoAndStop(2); } } frame 87 { stop(); } movieClip 1146 { frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 88 { stop(); } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } movieClip 1148 { instance of movieClip 956 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 170, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { } } instance ground of movieClip 1148 { } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.nextFrame(); } } } frame 89 { stop(); } movieClip 1149 { } movieClip 1150 { frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 90 { _root.map.ty.gotoAndStop(5); } frame 90 { stop(); } movieClip 1152 { } instance ground of movieClip 1152 { } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 5; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_x < -40) { _x = 700; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_y > 600) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 740) { _x = 0; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 700; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } frame 91 { stop(); } movieClip 1153 { frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 92 { _root.achd.trust.password = 'adamsmurmer'; passd = 'adamsmurmer'; _root.achd.play(); } frame 92 { stop(); _root.controlsone = 1; } movieClip 1154 { instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } } instance ground of movieClip 1154 { } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 5; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 520) { _y = 0; } if (_y < -20) { _y = 500; } if (_x < -20) { _x = 700; } if (_x > 720) { _x = 0; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 700; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 500; } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 93 { stop(); _root.key = 0; } movieClip 1155 { frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 94 { stop(); } movieClip 1156 { instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } } instance ground of movieClip 1156 { } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 5; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 540) { _y = 0; } if (_y < -40) { _y = 500; } if (_x < -40) { _x = 700; } if (_x > 720) { _x = 0; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } instance k2 of movieClip 1030 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance k1 of movieClip 1030 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (_root.key > 1) { _root.ground.lock1.play(); } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 1009 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } onClipEvent (enterFrame) { if (_root.key > 1) { this.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 700; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 500; } } } frame 95 { stop(); } movieClip 1157 { frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 96 { _root.achd.trust.password = 'cosmos'; passd = 'cosmos'; _root.achd.play(); } frame 96 { stop(); _root.controlsone = 1; } movieClip 1159 { } instance ground of movieClip 1159 { } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 97 { stop(); _root.key = 0; } movieClip 1160 { frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 98 { stop(); _root.key = 0; _root.gotoAndStop(100); } frame 99 { stop(); } frame 99 { keys = 0; } frame 100 { stop(); } instance of movieClip 546 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } movieClip 1162 { } instance ground of movieClip 1162 { } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 1165 { instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } } instance of movieClip 1165 { onClipEvent (load) { switcher = false; stopper = _y + 395; } onClipEvent (enterFrame) { if (switcher == false) { _y = _y + 5; } if (switcher == true) { _y = _y - 5; } if (_y > stopper) { switcher = true; } if (_y < stopper - 395) { switcher = false; } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 5; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 520) { _y = 0; } if (_y < -20) { _y = 500; } if (_x < -20) { _x = 700; } if (_x > 720) { _x = 0; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } frame 101 { stop(); } frame 102 { _root.achd.trust.password = 'sleeper'; passd = 'sleeper'; _root.achd.play(); } frame 102 { _root.dead == false; _root.dead = false; } frame 102 { stop(); key = 0; _root.key = 0; _root.controlsone = 1; } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 546 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 1168 { frame 1 { stop(); } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } frame 15 { stop(); } frame 16 { prevFrame(); } } movieClip 1169 { } instance ground of movieClip 1169 { } instance 3 of movieClip 1030 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance 4 of movieClip 1030 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 900) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } instance 5 of movieClip 1030 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance 2 of movieClip 1030 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance 1 of movieClip 1030 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1009 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } onClipEvent (enterFrame) { if (_root.key > 4) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1009 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } onClipEvent (enterFrame) { if (_root.key > 4) { this.nextFrame(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (_root.key > 4) { _root.ground.lock1.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 705; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = -1; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 500; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 700; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 500; } } } frame 103 { stop(); _root.key = 0; } frame 103 { keys = 0; } movieClip 1170 { frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 104 { _root.keys = 0; stop(); } movieClip 1172 { } instance ground of movieClip 1172 { } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } instance k1 of movieClip 1030 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance k2 of movieClip 1030 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (_root.key > 1) { _root.ground.lock1.play(); } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 1009 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } onClipEvent (enterFrame) { if (_root.key > 1) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } frame 105 { stop(); _root.key = 0; } frame 106 { stop(); _root.key = 0; _root.controlsone = 1; } movieClip 1174 { instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } } instance ground of movieClip 1174 { } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } instance k2 of movieClip 1030 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance k1 of movieClip 1030 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (_root.key > 1) { _root.ground.lock1.play(); } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 1009 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } onClipEvent (enterFrame) { if (_root.key > 1) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 107 { stop(); _root.key = 0; } movieClip 1175 { frame 25 { stop(); } instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 108 { stop(); } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 1177 { } instance ground of movieClip 1177 { } instance char of movieClip 527 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } if (_y < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance k2 of movieClip 1030 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance k1 of movieClip 1030 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (_root.key > 1) { _root.ground.lock1.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (_root.key > 1) { _root.ground.lock2.play(); } } } instance of movieClip 1009 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } onClipEvent (enterFrame) { if (_root.key > 1) { this.nextFrame(); } } } instance of movieClip 1009 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } onClipEvent (enterFrame) { if (_root.key > 1) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 991 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 109 { stop(); } frame 110 { passd = 'textures'; } frame 110 { stop(); _root.char.restartX = 132; _root.char.restartY = 78; _root.controlsone = 1; } movieClip 1180 { instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } } instance of movieClip 1180 { onClipEvent (load) { switcher = false; stopper = _y + 200; } onClipEvent (enterFrame) { if (switcher == false) { _y = _y + 2; } if (switcher == true) { _y = _y - 2; } if (_y > stopper) { switcher = true; } if (_y < stopper - 200) { switcher = false; } } } movieClip 1184 { instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } } instance ground of movieClip 1184 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.nextFrame(); } } } instance of movieClip 1180 { onClipEvent (load) { switcher = false; stopper = _y + 80; } onClipEvent (enterFrame) { if (switcher == false) { _y = _y + 2; } if (switcher == true) { _y = _y - 2; } if (_y > stopper) { switcher = true; } if (_y < stopper - 80) { switcher = false; } } } instance of movieClip 83 { onClipEvent (enterFrame) { if (_root.t13 == false) { _root.t13 = true; _root.ach.trust.gotoAndStop(13); _root.ach.play(); } } } movieClip 1185 { frame 3 { _root.lives.key.keydd -= 1; } frame 10 { stop(); _root.switcher = false; _root.char._rotation = 0; _root.gravswap = 1; gravity = 0; _root.drag = false; _root.drag2 = false; _root.drag3 = false; _root.dragdown = false; _root.dragdown2 = false; _root.dragdown3 = false; _root.char._x = _root.restartX; _root.char._y = _root.restartY; _root.gotoAndStop(110); _root.char.gotoAndStop(1); _root.char.restartX = 132; _root.char.restartY = 78; } } movieClip 1186 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } } instance char of movieClip 1186 { onClipEvent (load) { _root.restartX = _x; _root.restartY = _y; gravity = 0; jumpheight = 12; speed = 6; rightface = _xscale; _root.gravswap = 1; _root.hit = false; _root.drag = false; _root.stopthemove = false; if (_root.controlsone == 1) { _root.UP = 38; _root.LEFT = 37; _root.RIGHT = 39; _root.DOWN = 40; _root.gravityup = 87; _root.gravityleft = 65; _root.gravityright = 68; _root.gravitydown = 83; } if (_root.controlsone == 2) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 38; _root.gravityleft = 37; _root.gravityright = 39; _root.gravitydown = 40; } if (_root.controlsone == 3) { _root.UP = 87; _root.LEFT = 65; _root.RIGHT = 68; _root.DOWN = 83; _root.gravityup = 84; _root.gravityleft = 70; _root.gravityright = 72; _root.gravitydown = 71; } } onClipEvent (enterFrame) { if (_currentframe == 5) { gravity = 0; } if (_currentframe != 5) { if (gravity > 9) { gravity = 9; } ++gravity; if (_root.gravswap == 1) { _y = _y + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y - 10, true)) { _y = _y - 1; gravity = 0; } } if (_root.gravswap == 2) { _y = _y - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x, _y + 10, true)) { _y = _y + 1; gravity = 0; } } if (_root.gravswap == 3) { _x = _x - gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x + 10, _y, true)) { _x = _x + 1; gravity = 0; } } if (_root.gravswap == 4) { _x = _x + gravity; while (_root.ground.hitTest(_x, _y, true) and !_root.ground.hitTest(_x - 10, _y, true)) { _x = _x - 1; gravity = 0; } } if (_root.ground.hitTest(_x, _y + 3, true) and !_root.ground.hitTest(_x, _y - 10, true) and _root.gravswap == 1) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x, _y - 3, true) and !_root.ground.hitTest(_x, _y + 10, true) and _root.gravswap == 2) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x - 3, _y, true) and !_root.ground.hitTest(_x + 10, _y, true) and _root.gravswap == 3) { _root.hit = true; _root.stopthemove = false; } else { if (_root.ground.hitTest(_x + 3, _y, true) and !_root.ground.hitTest(_x - 10, _y, true) and _root.gravswap == 4) { _root.hit = true; _root.stopthemove = false; } else { _root.hit = false; } } } } if (Key.isDown(_root.UP) and _root.hit == true and _root.stopthemove == false) { _root.drag = false; _root.drag2 = false; if (_root.gravswap == 1) { _y = _y - speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.RIGHT)) { gotoAndStop(2); } } if (_root.gravswap == 4) { _y = _y - speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.LEFT)) { gotoAndStop(2); } } } if (Key.isDown(_root.DOWN) and _root.hit == true and _root.stopthemove == false) { if (_root.gravswap == 2) { _y = _y + speed; gravity = -jumpheight; gotoAndStop(4); } if (_root.gravswap == 3) { _y = _y + speed; gotoAndStop(2); _xscale = rightface; } if (_root.gravswap == 4) { _y = _y + speed; gotoAndStop(2); _xscale = -rightface; } } if (Key.isDown(_root.RIGHT) and _root.stopthemove == false) { if (_root.gravswap == 4 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 3) { _y = _y + speed; _xscale = rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 3) { _y = _y - speed; _xscale = -rightface; } if (_root.gravswap == 1) { _x = _x + speed; _xscale = rightface; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _x = _x + speed; _xscale = -rightface; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 3 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (Key.isDown(_root.LEFT) and _root.stopthemove == false) { if (_root.gravswap == 3 and _root.hit == true and !Key.isDown(_root.DOWN) and !Key.isDown(_root.UP)) { gotoAndStop(1); } _root.drag = false; _root.drag2 = false; if (Key.isDown(_root.DOWN) and _root.gravswap == 4) { _y = _y + speed; _xscale = -rightface; } if (Key.isDown(_root.UP) and _root.gravswap == 4) { _y = _y - speed; _xscale = rightface; } if (_root.gravswap == 1) { _xscale = -rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.UP)) { gotoAndStop(2); } } if (_root.gravswap == 2) { _xscale = rightface; _x = _x - speed; if (_root.hit == true and !Key.isDown(_root.DOWN)) { gotoAndStop(2); } } if (_root.gravswap == 4 and _root.hit == true) { _x = _x + 4; gravity = -jumpheight; gotoAndStop(4); } } else { if (_root.gravswap == 3 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = rightface; } else { if (_root.gravswap == 3 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = -rightface; } } if (_root.gravswap == 4 and Key.isDown(_root.DOWN) and _root.hit == false and _root.stopthemove == false) { _y = _y + 4; _xscale = -rightface; } else { if (_root.gravswap == 4 and Key.isDown(_root.UP) and _root.hit == false and _root.stopthemove == false) { _y = _y - 4; _xscale = rightface; } } if (_root.hit == true and !Key.isDown(_root.UP) and _root.gravswap == 1) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.DOWN) and _root.gravswap == 2) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.RIGHT) and _root.gravswap == 3 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } if (_root.hit == true and !Key.isDown(_root.LEFT) and _root.gravswap == 4 and !Key.isDown(_root.UP) and !Key.isDown(_root.DOWN)) { gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_currentframe != 5) { if (_rotation != -90 and _root.gravswap == 4) { _rotation = _rotation - 10; } if (_rotation != 90 and _root.gravswap == 3) { _rotation = _rotation + 10; } if (_rotation != 180 and _root.gravswap == 2) { _rotation = _rotation + 10; } if (_rotation != 0 and _root.gravswap == 1) { _rotation = _rotation - 10; } if (Key.isDown(_root.gravityup) and !Key.isDown(_root.UP) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 2; _root.stopthemove = true; } } if (Key.isDown(_root.gravitydown) and !Key.isDown(_root.DOWN) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 1; _root.stopthemove = true; } } if (Key.isDown(_root.gravityleft) and !Key.isDown(_root.LEFT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 3; _root.stopthemove = true; } } if (Key.isDown(_root.gravityright) and !Key.isDown(_root.RIGHT) and _root.drag == false and rotatedright == true) { if (_root.hit == true) { _root.gravswap = 4; _root.stopthemove = true; } } if (_y > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } if (_y > 520) { _root.nextFrame(); _y = 0; } if (_y < -20) { _root.prevFrame(); _y = 500; } if (_x < -100) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_x > 800) { _root.gravswap = 1; _rotation = 0; gravity = 0; _root.drag = false; _root.drag2 = false; _x = _root.restartX; _y = _root.restartY; } if (_rotation == 0 or _rotation == 90 or _rotation == 180 or _rotation == -90) { rotatedright = true; } else { rotatedright = false; } } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } frame 111 { _root.achd.trust.password = 'textures'; passd = 'textures'; _root.achd.play(); } movieClip 1187 { instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } } instance ground of movieClip 1187 { } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } movieClip 1188 { instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } } instance 3 of movieClip 1188 { onClipEvent (load) { switcher = false; stopper = _y + 400; } onClipEvent (enterFrame) { if (switcher == false) { _y = _y + 3; } if (switcher == true) { _y = _y - 3; } if (_y > stopper) { switcher = true; } if (_y < stopper - 400) { switcher = false; } } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } movieClip 1190 { instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } } instance ground of movieClip 1190 { } instance of movieClip 1074 { onClipEvent (load) { this.gotoAndStop(15); } } instance 3 of movieClip 1180 { onClipEvent (load) { switcher = false; stopper = _y + 400; } onClipEvent (enterFrame) { if (switcher == false) { _y = _y + 2; } if (switcher == true) { _y = _y - 2; } if (_y > stopper) { switcher = true; } if (_y < stopper - 400) { switcher = false; } } } instance c61 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c61 = false; } if (_root.c61 == false) { this.gotoAndStop(3); } } } instance c56 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c56 = false; } if (_root.c56 == false) { this.gotoAndStop(3); } } } instance c62 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c62 = false; } if (_root.c62 == false) { this.gotoAndStop(3); } } } instance c57 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c57 = false; } if (_root.c57 == false) { this.gotoAndStop(3); } } } instance c63 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c63 = false; } if (_root.c63 == false) { this.gotoAndStop(3); } } } instance c58 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c58 = false; } if (_root.c58 == false) { this.gotoAndStop(3); } } } instance c65 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c65 = false; } if (_root.c65 == false) { this.gotoAndStop(3); } } } instance c59 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c59 = false; } if (_root.c59 == false) { this.gotoAndStop(3); } } } instance c64 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c64 = false; } if (_root.c64 == false) { this.gotoAndStop(3); } } } instance c60 of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c60 = false; } if (_root.c60 == false) { this.gotoAndStop(3); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 1191 { instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } } instance ground of movieClip 1191 { } instance of movieClip 85 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.char._rotation == 0 and _root.gravswap == 1 or _root.char._rotation == 180 and _root.gravswap == 2 or _root.char._rotation == 90 and _root.gravswap == 3 or _root.char._rotation == -90 and _root.gravswap == 4) { _root.char.gotoAndStop(5); } } } } frame 114 { stop(); } movieClip 1192 { } movieClip 1194 { instance char of movieClip 527 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } frame 54 { _root.gotoAndStop(118); } } frame 115 { gotoAndStop(110); } frame 115 { nextFrame(); myMasterSoundObject.setVolume(0); } frame 116 { stop(); gotoAndStop(110); } movieClip 1197 { frame 30 { _root.play(); } } frame 117 { pass = _root.achd.trust.password; } frame 117 { stop(); stopAllSounds(); _root._quality = 'HIGH'; } // unknown tag 88 length 55 button 1211 { on (press) { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1725&subid=walkthrough&action=walkthrough_1725', '_blank'); } } movieClip 1213 { instance of movieClip 685 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a Tombstone. Rest in Peace.'), 'Object'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 683 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a Memorial Cross. Rest in Peace.'), 'Object'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 683 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a Memorial Cross. Rest in Peace.'), 'Object'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } } frame 118 { _root.mutes.gotoAndStop(1); } frame 118 { stop(); myMasterSoundObject.setVolume(100); } instance of movieClip 837 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 0) { } else { _x = 0; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 900) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 71 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Down you go.'), 'Sign'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } instance of movieClip 83 { onClipEvent (enterFrame) { if (_root.t12 == false) { _root.t12 = true; _root.ach.trust.gotoAndStop(12); _root.ach.play(); } } } frame 119 { _root.achd.trust.password = 'spaceforthis'; passd = 'spaceforthis'; _root.achd.play(); } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1225 { frame 1 { stop(); } } movieClip 1226 { } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a1.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a2.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a3.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a4.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a5.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a6.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a7.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a8.play(); } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char.gravity = -30; _root.char.gotoAndStop(9); _root.dead = true; } } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 15) { _root._x = X; _x = startX; _y = startY; gravity = 0; _root.dead = false; gotoAndStop(1); timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 450) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } movieClip 1229 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a1.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a2.play(); } } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 15) { _root._x = X; _x = startX; _y = startY; gravity = 0; _root.dead = false; gotoAndStop(1); timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 9000) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 414 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { if (_root.t10 == false) { _root.t10 = true; _root.ach.trust.gotoAndStop(11); _root.ach.play(); } } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 664 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 1232 { } instance a1 of movieClip 791 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { this.play(); } } } movieClip 1233 { frame 1 { stop(); } instance of movieClip 766 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.a2.play(); } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char.gravity = -30; _root.char.gotoAndStop(9); _root.dead = true; } } } } instance a2 of movieClip 1233 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { this.play(); } } } movieClip 1234 { frame 1 { stop(); } instance of movieClip 766 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.a3.play(); } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char.gravity = -30; _root.char.gotoAndStop(9); _root.dead = true; } } } frame 58 { gotoAndStop(1); } } instance a3 of movieClip 1234 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { this.play(); } } } movieClip 1236 { } movieClip 1237 { } movieClip 1238 { frame 1 { stop(); } instance of movieClip 1236 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.s1.play(); } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char.gravity = -30; _root.char.gotoAndStop(9); _root.dead = true; } } } } instance s1 of movieClip 1238 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { this.play(); } } } instance of movieClip 814 { onClipEvent (load) { switcher = false; stopper = _x + 300; xscale = _xscale; } onClipEvent (enterFrame) { if (switcher == false) { _xscale = xscale; _x = _x + 2; } if (switcher == true) { _xscale = -xscale; _x = _x - 2; } if (_x > stopper) { switcher = true; } if (_x < stopper - 300) { switcher = false; } } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 15) { _root._x = X; _x = startX; _y = startY; gravity = 0; _root.dead = false; gotoAndStop(1); timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 9000) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } frame 122 { _root.t1.gotoAndStop(1); _root.s1.gotoAndPlay(1); _root.s2.gotoAndPlay(1); _root.s3.gotoAndPlay(1); } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(hit) and _root.dead == false) { _root.char.gravity = -30; _root.char.gotoAndStop(4); _root.dead = true; } } } movieClip 1240 { } instance t1 of movieClip 791 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { this.play(); } } } movieClip 1241 { instance of movieClip 1236 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.s2.gotoAndPlay(24); } } } frame 23 { gotoAndPlay(1); } instance of movieClip 528 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char.gravity = -30; _root.char.gotoAndStop(9); _root.dead = true; } } } } movieClip 1242 { instance of movieClip 1236 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.s3.gotoAndPlay(24); } } } frame 23 { gotoAndPlay(1); } instance of movieClip 528 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char.gravity = -30; _root.char.gotoAndStop(9); _root.dead = true; } } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a1.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a2.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a3.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a4.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a5.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a6.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a7.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a8.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a9.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a10.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a11.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a12.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a13.play(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a14.play(); } } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 15) { _root._x = X; _x = startX; _y = startY; gravity = 0; _root.dead = false; gotoAndStop(1); timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 900) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 528 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char.gravity = -30; _root.char.gotoAndStop(9); _root.dead = true; } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1245 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a1.play(); } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char.gravity = -30; _root.char.gotoAndStop(9); _root.dead = true; } } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 15) { _root._x = X; _x = startX; _y = startY; gravity = 0; _root.dead = false; gotoAndStop(1); timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 900) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 837 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } movieClip 1250 { } instance of movieClip 1250 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Sure, they\'ve managed to warm things up a bit, but isn\'t having all this lava around seem a bit dangerous to you?', 'Having all those unstable boxes around the place just makes things worse.'), 'Diana'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 528 { onClipEvent (enterFrame) { if (_root.char.hitTest(hit) and _root.dead == false) { _root.char.gravity = -30; _root.char.gotoAndStop(4); _root.dead = true; } } } movieClip 1252 { } instance of movieClip 528 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char.gravity = -30; _root.char.gotoAndStop(9); _root.dead = true; } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a14.play(); } } } movieClip 1256 { } movieClip 1257 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } } instance of movieClip 1257 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('They say that lava starts out as strange purple liquid before it transforms into the hot orange stuff we know.'), 'David'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 15) { _root._x = X; _x = startX; _y = startY; gravity = 0; _root.dead = false; gotoAndStop(1); timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 450) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 756 { onClipEvent (load) { switcher = false; stopper = _x + 260; xscale = _xscale; } onClipEvent (enterFrame) { if (switcher == false) { _xscale = xscale; _x = _x + 1; } if (switcher == true) { _xscale = -xscale; _x = _x - 1; } if (_x > stopper) { switcher = true; } if (_x < stopper - 300) { switcher = false; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.nextFrame(); _root.char._x = 10; } } } instance of movieClip 83 { onClipEvent (enterFrame) { if (_root.lives.key.keydd >= 44) { if (_root.t14 == false) { _root.t14 = true; _root.ach.trust.gotoAndStop(14); _root.ach.play(); } } } } instance of movieClip 837 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } movieClip 1259 { } movieClip 1261 { } movieClip 1263 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 685; _root.prevFrame(); } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.gotoAndStop(127); } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) && Key.isDown(32)) { _root.nextFrame(); } } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 450) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } frame 126 { _root.char._x = 285; _root.char._y = 170; fatman = false; fatman2 = false; } instance of movieClip 617 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a bookshelf.'), 'Object'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 1265 { } instance of movieClip 1265 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a peice of furniture with a few draws and a mirror.'), 'Object'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) && Key.isDown(32)) { _root.char._x = 375; _root.char._y = 80; _root.prevFrame(); } } } instance of movieClip 613 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a grandfather clock.'), 'Object'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 617 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a bookshelf.'), 'Object'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } frame 127 { stop(); } instance of movieClip 837 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } movieClip 1267 { } instance of movieClip 1267 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('The door\'s shut. '), 'House'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.gotoAndStop(26); } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.gotoAndStop(130); } } } movieClip 1272 { } instance of movieClip 1272 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Hmmm..... Watch yourself.'), 'Simon'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 1273 { } instance of movieClip 806 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) && Key.isDown(32)) { _root.char._x = 416; _root.char._y = 316; _root.gotoAndStop(129); } } } instance of movieClip 675 { onClipEvent (load) { switcher = false; stopper = _x + 500; xscale = _xscale; } onClipEvent (enterFrame) { if (switcher == false) { _xscale = xscale; _x = _x + 3; } if (switcher == true) { _xscale = -xscale; _x = _x - 3; } if (_x > stopper) { switcher = true; } if (_x < stopper - 500) { switcher = false; } } } movieClip 1278 { } movieClip 1279 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } } instance of movieClip 1279 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('I hope you remember to empty yourself out when you get home Amil. Those two have probably left quite a mess in there.'), 'Jeremy'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 1281 { frame 1 { stop(); } frame 3 { _root.char._x = 318; _root.char._y = 150; } frame 15 { stop(); } frame 16 { stop(); } frame 17 { prevFrame(); } frame 18 { prevFrame(); } } instance of movieClip 1281 { onClipEvent (enterFrame) { if (_root.fatman == true) { _root.fatman = false; this.play(); _root.char._x = 318; _root.char._y = 150; } } } frame 128 { _root.char._x = 450; _root.char._y = 150; } frame 129 { _root.char._x = 480; _root.char._y = 150; } frame 129 { _root.fatman = true; } movieClip 1284 { } movieClip 1286 { } instance of movieClip 1286 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a couch. And it\'s blue.'), 'Object'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 1265 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a peice of furniture with a few draws and a mirror.'), 'Object'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 1290 { } instance of movieClip 1290 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Those animals you\'re carrying must be heavy. Please don\'t hurt yourself.'), 'Catherine'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 1292 { } instance of movieClip 85 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) && Key.isDown(32)) { _root.gotoAndStop(127); _root.char._x = 330; _root.char._y = 80; } } } frame 130 { stop(); } instance of movieClip 837 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } movieClip 1295 { } movieClip 1298 { } instance of movieClip 1298 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Isn\'t it ironic having a graveyard next to one of those lava pits.', 'Luckily no one has died from them yet.'), 'Taylor'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 71 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Watch your step.'), 'Sign'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 1299 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.gotoAndStop(32); } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char._x = 0; _root.nextFrame(); } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 15) { _root._x = X; _x = startX; _y = startY; gravity = 0; _root.dead = false; gotoAndStop(1); timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 450) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char.gravity = -30; _root.char.gotoAndStop(9); _root.dead = true; } } } movieClip 1300 { } instance of movieClip 683 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a Memorial Cross. Rest in Peace.'), 'Object'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 685 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a Tombstone. Rest in Peace.'), 'Object'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 685 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a Tombstone. Rest in Peace.'), 'Object'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 685 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a Tombstone. Rest in Peace.'), 'Object'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 685 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a Tombstone. Rest in Peace.'), 'Object'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 683 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a Memorial Cross. Rest in Peace.'), 'Object'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 1302 { } movieClip 1304 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } movieClip 1305 { } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 600) { if (playingdeath == false and _root.dead == false) { someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } frame 132 { gravity = 0; _root.gravity = 0; _root.char.gravity = 0; } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 600) { if (playingdeath == false and _root.dead == false) { someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } frame 133 { gravity = 0; _root.gravity = 0; _root.char.gravity = 0; } movieClip 1307 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance of movieClip 675 { onClipEvent (load) { switcher = false; stopper = _x + 250; xscale = _xscale; } onClipEvent (enterFrame) { if (switcher == false) { _xscale = xscale; _x = _x + 3; } if (switcher == true) { _xscale = -xscale; _x = _x - 3; } if (_x > stopper) { switcher = true; } if (_x < stopper - 250) { switcher = false; } } } instance of movieClip 1272 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('This area is off limits. Please leave.'), 'Hoa'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 1311 { } instance of movieClip 1311 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('*Beep* *Beep*'), 'Robot'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 600) { if (playingdeath == false and _root.dead == false) { someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } frame 134 { gravity = 0; _root.gravity = 0; _root.char.gravity = 0; } movieClip 1314 { instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 600) { if (playingdeath == false and _root.dead == false) { someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } movieClip 1315 { } instance of movieClip 71 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Some signs can prove to be quite useless.'), 'Sign'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 1317 { } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (checkhit(_x + hit._width / 2, _y - hit._height / 2, true) or checkhit(_x + hit._width / 2, _y - 3, true) or checkhit(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (checkhit(_x - hit._width / 2, _y - hit._height / 2, true) or checkhit(_x - hit._width / 2, _y - 3, true) or checkhit(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } function checkhit(hitx, hity) { hitmovingbox = _root.ground.hitTest(hitx, hity, true); for (i in _root) { if (_root[i].type == 'movingbox') { if (_root[i].hitTest(hitx, hity, true)) { hitmovingbox = true; } } } return hitmovingbox; } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { for (i in _root) { if (_root[i].type == 'movingbox') { if (_root[i].hitTest(_x + hit._width / 2, _y, true) or _root[i].hitTest(_x - hit._width / 2, _y, true)) { hitmovingbox = true; _x = _x + (_root[i].left ? -2 : 2); } } } while (checkhit(_x + hit._width / 2, _y, true) or checkhit(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (checkhit(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (checkhit(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (checkhit(_x, _y + 3, true) and !Key.isDown(38) or checkhit(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or checkhit(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (checkhit(_x + hit._width / 2, _y + 1, true) or checkhit(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (checkhit(_x + hit._width / 2, _y - hit._height, true) or checkhit(_x - hit._width / 2, _y - hit._height, true) or checkhit(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 1390) { } else { _x = 1390; } nothing; _root.speech._x = _root.char._x; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 450) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } frame 136 { nextFrame(); } frame 137 { _x = 0; _y = 0; } instance of movieClip 837 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1319 { instance of movieClip 414 { onClipEvent (mouseMove) { if (_root.char.hitTest(this) and _currentframe == 2) { _root.char._x = this._x; } } onClipEvent (enterFrame) { if (_root.drag2 == true) { _root.char._x = this._x; } } onClipEvent (load) { left = _x; } onClipEvent (press) { startDrag(this, true, left, this._y, left + 220, _y); gotoAndStop(2); if (_root.char.hitTest(this)) { _root.drag2 = true; } if (_root.t11 == false) { _root.t11 = true; _root.ach.trust.gotoAndStop(11); _root.ach.play(); } } onClipEvent (mouseUp) { stopDrag(); gotoAndStop(1); if (_root.char.hitTest(this)) { _root.drag2 = false; } } onClipEvent (releaseOutside) { if (_root.drag2 == true) { stopDrag(); gotoAndStop(1); } } } } instance of movieClip 528 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char.gravity = -30; _root.char.gotoAndStop(9); _root.dead = true; } } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 15) { _root._x = X; _x = startX; _y = startY; gravity = 0; _root.dead = false; gotoAndStop(1); timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 450) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } frame 138 { stop(); } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1320 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 15) { _root._x = X; _x = startX; _y = startY; gravity = 0; _root.dead = false; gotoAndStop(1); timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 9000) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } frame 139 { stop(); } movieClip 1321 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char._y = 1; _root.gravity = 0; _root.prevFrame(); } } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 15) { _root._x = X; _x = startX; _y = startY; gravity = 0; _root.dead = false; gotoAndStop(1); timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 9000) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } frame 140 { stop(); } movieClip 1323 { } movieClip 1324 { } frame 141 { stop(); } instance of movieClip 680 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('The doors shut.'), 'House'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1326 { } instance of movieClip 852 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It just isn\'t the same having lava here instead of water. Still, can\'t complain about the cold anymore. '), 'Shuan'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 935 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 528 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char.gravity = -30; _root.char.gotoAndStop(9); _root.dead = true; } } } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } movieClip 1328 { } frame 142 { stop(); } instance of movieClip 71 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Sam\'s Cavern. First floor: Sam\'s Space. Fourth floor: Tony\'s house.'), 'Sign'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 1329 { } movieClip 1332 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } } movieClip 1333 { } instance of movieClip 1333 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Tony\'s House? Just down that hole there.'), 'James'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 1335 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 900) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } frame 143 { stop(); } movieClip 1339 { } movieClip 1340 { } instance of movieClip 1340 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Wow, it\'s Sophie and Scrappy. I thought those two were dead!', 'You\'ve got to find Tony right away! His house is at the bottom of this cavern.'), 'Sam'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 71 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('Sam\'s Space.'), 'Sign'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 1342 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.nextFrame(); _root.char._x = 10; } } } instance of movieClip 71 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) && Key.isDown(32)) { _root.char._x = 270; _root.char._y = 250; _root.nextFrame(); } } } instance of movieClip 675 { onClipEvent (load) { switcher = false; stopper = _x + 500; xscale = _xscale; } onClipEvent (enterFrame) { if (switcher == false) { _xscale = xscale; _x = _x + 3; } if (switcher == true) { _xscale = -xscale; _x = _x - 3; } if (_x > stopper) { switcher = true; } if (_x < stopper - 500) { switcher = false; } } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 800) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } frame 144 { stop(); stop(); } movieClip 1345 { } instance of movieClip 77 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 900) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } movieClip 1348 { } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 800) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } frame 146 { stop(); stop(); } movieClip 1351 { } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 800) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } instance of movieClip 756 { onClipEvent (load) { switcher = false; stopper = _x + 300; xscale = _xscale; } onClipEvent (enterFrame) { if (switcher == false) { _xscale = xscale; _x = _x + 1; } if (switcher == true) { _xscale = -xscale; _x = _x - 1; } if (_x > stopper) { switcher = true; } if (_x < stopper - 300) { switcher = false; } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 178 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } frame 147 { stop(); } instance of movieClip 683 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('In memory of my Cat Sophie. I will always love you.'), 'Memorial Cross'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 683 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('In memory of my dog Scrappy. I will always love you.'), 'Memorial Cross'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 580 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) && Key.isDown(32)) { _root.char._x = 270; _root.char._y = 250; _root.nextFrame(); } } } movieClip 1354 { } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 800) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } frame 148 { stop(); } instance of movieClip 903 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { _root.nextFrame(); } } } instance char of movieClip 527 { onClipEvent (load) { gravity = 0; speed = 6; jumpheight = 18; scale = _xscale; _root.dead = false; timer = 0; timeron = false; X = _root._x; startX = _x; startY = _y; playingdeath = false; } onClipEvent (enterFrame) { function checkrightwall() { if (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x + hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true)) { _x = _x - speed; } } function checkleftwall() { if (_root.ground.hitTest(_x - hit._width / 2, _y - hit._height / 2, true) or _root.ground.hitTest(_x - hit._width / 2, _y - 3, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true)) { _x = _x + speed; } } if (_root.dead == true) { ++timer; if (timer > 80) { _root._x = X; _x = startX; _y = startY; gravity = 0; gotoAndStop(1); _root.dead = false; timer = 0; playingdeath = false; someSound = new Sound(); someSound.attachSound('theme', this); someSound.start(0, 99999); } } gravity += 2; _y = _y + gravity; if (this._currentframe != 4) { while (_root.ground.hitTest(_x + hit._width / 2, _y, true) or _root.ground.hitTest(_x - hit._width / 2, _y, true)) { _y = _y - 1; gravity = 0; } if (Key.isDown(39) && !_root.speech.speechactive) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkrightwall(); } else { if (Key.isDown(37) && !_root.speech.speechactive) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { gotoAndStop(2); } checkleftwall(); } else { if (_root.ground.hitTest(_x, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x + _width / 2, _y + 3, true) and !Key.isDown(38) or _root.ground.hitTest(_x - _width / 2, _y + 3, true) and !Key.isDown(38)) { gotoAndStop(1); } } } if (Key.isDown(38) && !_root.speech.speechactive) { if (_root.ground.hitTest(_x + hit._width / 2, _y + 1, true) or _root.ground.hitTest(_x - hit._width / 2, _y + 1, true)) { gravity = -jumpheight; gotoAndStop(3); someSound = new Sound(); someSound.attachSound('jump', this); someSound.start(0, 1); } } while (_root.ground.hitTest(_x + hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x - hit._width / 2, _y - hit._height, true) or _root.ground.hitTest(_x, _y - hit._height, true)) { gravity = 6; _y = _y + 5; } if (_x >= 10) { } else { _x = 10; } nothing; if (_x <= 720) { } else { _x = 720; } nothing; _root.ROBERTSMENU._x = _root.char._x - Stage.width / 2; if (_root.char._x > Stage.width / 2 and _root.char._x < 250) { _root._x = -_x + Stage.width / 2; } if (Key.isDown(32)) { if (speekable) { if (_root.speech.speechactive) { _root.speech.nextLine(); } } speekable = false; } else { speekable = true; } if (timeron == true) { ++timer; } } if (_y > 450) { if (playingdeath == false and _root.dead == false) { stopAllSounds(); someSound = new Sound(); someSound.attachSound('death', this); someSound.start(0, 1); playingdeath = true; } _root.dead = true; } } } frame 149 { stopAllSounds(); } frame 149 { myMasterSoundObject.setVolume(100); } frame 149 { stop(); hwfiaub = 0; started__ = false; this.onEnterFrame = function () { if (started__) { if (Key.isDown(32)) { if (wasnotdown) { _root.speech.nextLine(); wasnotdown = false; } } else { wasnotdown = true; } if (!_root.speech.speechactive) { _root.play(); onEnterFrame = function () {}; } } else { if (hwfiaub > 15) { _root.speech.displayText(new Array('....... Who goes there?', 'Hey.... it\'s you! How did you get....', 'Sophie!!! Scrappy!!! My goodness you\'re Alive!! But how did get out of that hole?', 'Nevermind that. This is freaking a miracle! I\'m so happy too see you all alive again.'), 'Tony'); started__ = true; } ++hwfiaub; } }; } frame 150 { stopAllSounds(); } frame 150 { nextFrame(); } frame 151 { _root.mutes.gotoAndStop(1); } frame 151 { stop(); hwfiaub = 0; started__ = false; this.onEnterFrame = function () { if (started__) { if (Key.isDown(32)) { if (wasnotdown) { _root.speech.nextLine(); wasnotdown = false; } } else { wasnotdown = true; } if (!_root.speech.speechactive) { _root.play(); onEnterFrame = function () {}; } } else { if (hwfiaub > 15) { _root.speech.displayText(new Array('I cannot thankyou enough for your efforts Amil. I wish there was something I could give you in return. ', 'In fact, there is something I can give you. Here, please take this trophy as a symbol of my gratitude.', 'It\'s not much, but it\'s all I can really spare at the moment. Again, I thank you for saving my Sophie and Scrappy.', 'I don\'t think I could have bared much more of life without them, after all, they mean the world to me.', 'Again, thankyou. I bid you farewell, and wish you the best of luck with the journey home.', 'Cya!! :D ..... ', ' <Press Spacebar to Continue> ', ' <Press Spacebar to Continue> ', ' <Press Spacebar to Continue>', '', '', ''), 'Tony'); started__ = true; } ++hwfiaub; } }; } frame 151 { myMasterSoundObject.setVolume(100); } movieClip 1357 { } movieClip 1361 { } movieClip 1363 { } movieClip 1367 { } movieClip 1369 { instance of movieClip 927 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { if (temp) { if (!(_root.speech.speechactive || _root.speech.speechlastactive < 10)) { _root.speech.displayText(new Array('It\'s a dog. Probably the dog \'Scrappy\' that Tony was wimpering about.'), 'Scrappy'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } frame 35 { stop(); } frame 53 { stop(); } frame 61 { stop(); _root.ach.trust.gotoAndStop(6); _root.ach.play(); _root.t6 = true; } frame 102 { stop(); } frame 117 { stop(); } frame 132 { stop(); } frame 166 { _root.nextFrame(); } } instance b of movieClip 1369 { onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.b.play(); } } } frame 152 { myMasterSoundObject.setVolume(100); } frame 152 { play(); } frame 153 { _root.mutes.gotoAndStop(1); } frame 153 { stop(); hwfiaub = 0; started__ = false; this.onEnterFrame = function () { if (started__) { if (Key.isDown(32)) { if (wasnotdown) { _root.speech.nextLine(); wasnotdown = false; } } else { wasnotdown = true; } if (!_root.speech.speechactive) { _root.play(); onEnterFrame = function () {}; } } else { if (hwfiaub > 15) { _root.speech.displayText(new Array('And so after a much shorter journey, Amil finally arrived back home.', 'Almost entirely succumbed with exhaustion, Amil decided to settle back down to the floor of his hut.', 'Where he slept, waiting patiently for the next call for help.', ' ', ' ', ' ', ' '), 'Narrator'); started__ = true; } ++hwfiaub; } }; } frame 153 { myMasterSoundObject.setVolume(100); } movieClip 1371 { frame 1 { stop(); } frame 19 { stop(); } frame 71 { stop(); } frame 172 { stop(); _root.fade.play(); } frame 218 { stop(); } frame 219 { stop(); } frame 220 { stop(); } frame 221 { stop(); } frame 222 { stop(); stop(); } frame 223 { stop(); } frame 224 { stop(); } } instance of movieClip 1371 { onClipEvent (enterFrame) { } onClipEvent (keyPress '<Space>') { this.play(); } } movieClip 1373 { frame 1 { stop(); } frame 30 { _root.nextFrame(); } } frame 154 { stop(); } movieClip 1381 { } button 1384 { on (press) { _root.gotoAndStop(2); } } movieClip 1399 { } movieClip 1417 { frame 553 { myMasterSoundObject.setVolume(95); } frame 555 { myMasterSoundObject.setVolume(90); } frame 557 { myMasterSoundObject.setVolume(85); } frame 559 { myMasterSoundObject.setVolume(80); } frame 561 { myMasterSoundObject.setVolume(75); } frame 563 { myMasterSoundObject.setVolume(70); } frame 565 { myMasterSoundObject.setVolume(65); } frame 567 { myMasterSoundObject.setVolume(60); } frame 569 { myMasterSoundObject.setVolume(55); } frame 571 { myMasterSoundObject.setVolume(50); } frame 573 { myMasterSoundObject.setVolume(45); } frame 575 { myMasterSoundObject.setVolume(40); } frame 577 { myMasterSoundObject.setVolume(35); } frame 579 { myMasterSoundObject.setVolume(30); } frame 581 { myMasterSoundObject.setVolume(25); } frame 583 { myMasterSoundObject.setVolume(20); } frame 585 { myMasterSoundObject.setVolume(15); } frame 587 { myMasterSoundObject.setVolume(10); } frame 589 { myMasterSoundObject.setVolume(5); } frame 591 { myMasterSoundObject.setVolume(0); } frame 593 { stopAllSounds(); } frame 594 { myMasterSoundObject.setVolume(100); } frame 594 { _root.gotoAndStop(2); } }




https://swfchan.com/53/263103/info.shtml
Created: 16/3 -2026 14:16:33 Last modified: 16/3 -2026 14:16:33 Server time: 16/03 -2026 16:13:34